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