Lines Matching refs:datalen
170 uint16_t datalen; // Length currently in use member
192 txtRec->datalen = 0; in TXTRecordCreate()
218 if (txtRec->datalen + keyvalsize > txtRec->buflen) in TXTRecordSetValue()
221 unsigned long newlen = txtRec->datalen + keyvalsize; in TXTRecordSetValue()
225 memcpy(newbuf, txtRec->buffer, txtRec->datalen); in TXTRecordSetValue()
231 start = txtRec->buffer + txtRec->datalen; in TXTRecordSetValue()
242 txtRec->datalen += p - start; in TXTRecordSetValue()
253 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, &keylen); in TXTRecordRemoveValue()
256 remainder = (unsigned long)((txtRec->buffer + txtRec->datalen) - (item + itemlen)); in TXTRecordRemoveValue()
259 txtRec->datalen -= itemlen; in TXTRecordRemoveValue()
263 uint16_t DNSSD_API TXTRecordGetLength (const TXTRecordRef *txtRecord) { return(txtRec->datalen); } in TXTRecordGetLength()