Lines Matching defs:keylen
115 unsigned long *keylen
120 *keylen = (unsigned long) strlen(key);
125 if (p <= e && *keylen <= x[0] && !strncmp(key, (char*)x+1, *keylen))
126 if (*keylen == x[0] || x[1+*keylen] == '=') return(x);
277 unsigned long keylen, itemlen, remainder;
278 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, &keylen);
304 unsigned long keylen;
305 return (InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen) ? 1 : 0);
316 unsigned long keylen;
317 uint8_t *item = InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen);
318 if (!item || item[0] <= keylen) return(NULL); // If key not found, or found with no value, return NULL
319 *valueLen = (uint8_t)(item[0] - (keylen + 1));
320 return (item + 1 + keylen + 1);