Lines Matching defs:keylen
62 int keylen;
92 makenode(char *domain, char *map, int keylen, int vallen)
104 ((n->key = malloc(keylen)) == 0) ||
118 in_cache(char *domain, char *map, char *key, int keylen, char **val,
134 if ((c->keylen == keylen) &&
135 (memcmp(key, c->key, (size_t)keylen) == 0) &&
172 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val,
195 (key == NULL) || (keylen == 0))
199 found_it = in_cache(domain, map, key, keylen, &my_val, &my_vallen);
223 reason = domatch(domain, map, key, keylen, pdomb,
250 in_cache(domain, map, key, keylen, &my_val, &my_vallen)) {
268 c = makenode(domain, map, keylen, savesize);
272 c->keylen = keylen;
274 (void) memcpy(c->key, key, (size_t)keylen);
290 rsvdreason = yp_match_rsvdport(domain, map, key, keylen, val,
303 int keylen,
309 return (__yp_match_cflookup(domain, map, key, keylen, val, vallen, 1));
354 int keylen,
379 (key == NULL) || (keylen == 0))
383 found_it = in_cache(domain, map, key, keylen, &my_val, &my_vallen);
407 reason = domatch(domain, map, key, keylen,
445 in_cache(domain, map, key, keylen, &my_val, &my_vallen)) {
463 c = makenode(domain, map, keylen, savesize);
467 c->keylen = keylen;
469 (void) memcpy(c->key, key, (size_t)keylen);
488 int keylen,
493 return (__yp_match_rsvdport_cflookup(domain, map, key, keylen, val,
502 domatch(char *domain, char *map, char *key, int keylen,
513 req.keydat.dsize = keylen;