Home | History | Annotate | Download | only in mDNSShared

Lines Matching refs:keylen

76 	unsigned long    *keylen
81 *keylen = (unsigned long) strlen(key);
86 if (p <= e && *keylen <= x[0] && !strncasecmp(key, (char*)x+1, *keylen))
87 if (*keylen == x[0] || x[1+*keylen] == '=') return(x);
252 unsigned long keylen, itemlen, remainder;
253 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, &keylen);
279 unsigned long keylen;
280 return (InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen) ? 1 : 0);
291 unsigned long keylen;
292 uint8_t *item = InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen);
293 if (!item || item[0] <= keylen) return(NULL); // If key not found, or found with no value, return NULL
294 *valueLen = (uint8_t)(item[0] - (keylen + 1));
295 return (item + 1 + keylen + 1);