MCPcopy Index your code
hub / github.com/MapServer/MapServer / msLookupHashTable

Function msLookupHashTable

maphash.c:155–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155char *msLookupHashTable(hashTableObj *table, const char *key)
156{
157 struct hashObj *tp;
158
159 if (!table || !key) {
160 return(NULL);
161 }
162
163 for (tp=table->items[hash(key)]; tp!=NULL; tp=tp->next)
164 if (strcasecmp(key, tp->key) == 0)
165 return(tp->data);
166
167 return NULL;
168}
169
170int msRemoveHashTable(hashTableObj *table, const char *key)
171{

Callers 15

msSLDParseNamedLayerFunction · 0.85
msSLDParseTextParamsFunction · 0.85
msSLDGetGraphicSLDFunction · 0.85
msSLDGenerateSLDLayerFunction · 0.85
msDrawLabelCacheFunction · 0.85
msBuildURLFromWMSParamsFunction · 0.85
msBuildWMSLayerURLFunction · 0.85
msPrepareWMSLayerRequestFunction · 0.85
computeLabelStyleFunction · 0.85
msDrawLineSymbolFunction · 0.85
msDrawShadeSymbolFunction · 0.85
msDrawMarkerSymbolFunction · 0.85

Calls 2

hashFunction · 0.85
strcasecmpFunction · 0.85

Tested by

no test coverage detected