MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getId

Method getId

src/common/TimeZoneUtil.cpp:184–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 bool getId(string name, USHORT& id)
185 {
186 USHORT index;
187 name.upper();
188
189 if (nameIdMap.get(name, index))
190 {
191 id = MAX_USHORT - index;
192 return true;
193 }
194 else
195 return false;
196 }
197
198 private:
199 bool initFromFile()

Callers 1

parseRegionMethod · 0.45

Calls 2

upperMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected