Lines Matching refs:key

3787 ** Prior data with the same key is NOT overwritten */
3801 /* An existing entry with the same key is found. */
3843 /* Return a pointer to data assigned to the given key. Return NULL
3844 ** if no such key. */
3845 char *Strsafe_find(key)
3846 char *key;
3852 h = strhash(key) & (x1a->size-1);
3855 if( strcmp(np->data,key)==0 ) break;
3921 char *key; /* The key */
3949 ** Prior data with the same key is NOT overwritten */
3950 int Symbol_insert(data,key)
3952 char *key;
3959 ph = strhash(key);
3963 if( strcmp(np->key,key)==0 ){
3964 /* An existing entry with the same key is found. */
3984 h = strhash(oldnp->key) & (size-1);
3988 newnp->key = oldnp->key;
3999 np->key = key;
4008 /* Return a pointer to data assigned to the given key. Return NULL
4009 ** if no such key. */
4010 struct symbol *Symbol_find(key)
4011 char *key;
4017 h = strhash(key) & (x2a->size-1);
4020 if( strcmp(np->key,key)==0 ) break;
4127 struct config *key; /* The key */
4155 ** Prior data with the same key is NOT overwritten */
4156 int State_insert(data,key)
4158 struct config *key;
4165 ph = statehash(key);
4169 if( statecmp(np->key,key)==0 ){
4170 /* An existing entry with the same key is found. */
4190 h = statehash(oldnp->key) & (size-1);
4194 newnp->key = oldnp->key;
4205 np->key = key;
4214 /* Return a pointer to data assigned to the given key. Return NULL
4215 ** if no such key. */
4216 struct state *State_find(key)
4217 struct config *key;
4223 h = statehash(key) & (x3a->size-1);
4226 if( statecmp(np->key,key)==0 ) break;
4301 ** Prior data with the same key is NOT overwritten */
4315 /* An existing entry with the same key is found. */
4357 /* Return a pointer to data assigned to the given key. Return NULL
4358 ** if no such key. */
4359 struct config *Configtable_find(key)
4360 struct config *key;
4366 h = confighash(key) & (x4a->size-1);
4369 if( Configcmp(np->data,key)==0 ) break;