Home
last modified time | relevance | path

Searched refs:txt_len (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/dns/bind-tools/bind-9.16.27/lib/dns/rdata/generic/
H A Dtxt_16.c143 REQUIRE(txt->txt != NULL && txt->txt_len != 0); in generic_fromstruct_txt()
149 region.length = txt->txt_len; in generic_fromstruct_txt()
173 txt->txt_len = r.length; in generic_tostruct_txt()
284 REQUIRE(txt->txt != NULL || txt->txt_len == 0); in generic_txt_first()
286 if (txt->txt_len == 0) { in generic_txt_first()
302 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_next()
304 r.length = txt->txt_len - txt->offset; in generic_txt_next()
308 if (txt->offset == txt->txt_len) { in generic_txt_next()
321 REQUIRE(txt->offset < txt->txt_len); in generic_txt_current()
323 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_current()
[all …]
/dports/dns/bind916/bind-9.16.27/lib/dns/rdata/generic/
H A Dtxt_16.c143 REQUIRE(txt->txt != NULL && txt->txt_len != 0); in generic_fromstruct_txt()
149 region.length = txt->txt_len; in generic_fromstruct_txt()
173 txt->txt_len = r.length; in generic_tostruct_txt()
284 REQUIRE(txt->txt != NULL || txt->txt_len == 0); in generic_txt_first()
286 if (txt->txt_len == 0) { in generic_txt_first()
302 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_next()
304 r.length = txt->txt_len - txt->offset; in generic_txt_next()
308 if (txt->offset == txt->txt_len) { in generic_txt_next()
321 REQUIRE(txt->offset < txt->txt_len); in generic_txt_current()
323 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_current()
[all …]
/dports/dns/bind911/bind-9.11.37/lib/dns/rdata/generic/
H A Dtxt_16.c151 region.length = txt->txt_len; in generic_fromstruct_txt()
176 txt->txt_len = r.length; in generic_tostruct_txt()
291 REQUIRE(txt->txt != NULL || txt->txt_len == 0); in generic_txt_first()
293 if (txt->txt_len == 0) in generic_txt_first()
306 REQUIRE(txt->txt != NULL && txt->txt_len != 0); in generic_txt_next()
308 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_next()
310 r.length = txt->txt_len - txt->offset; in generic_txt_next()
314 if (txt->offset == txt->txt_len) in generic_txt_next()
326 REQUIRE(txt->offset < txt->txt_len); in generic_txt_current()
328 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_current()
[all …]
/dports/dns/samba-nsupdate/bind-9.16.5/lib/dns/rdata/generic/
H A Dtxt_16.c142 REQUIRE(txt->txt != NULL && txt->txt_len != 0); in generic_fromstruct_txt()
148 region.length = txt->txt_len; in generic_fromstruct_txt()
172 txt->txt_len = r.length; in generic_tostruct_txt()
283 REQUIRE(txt->txt != NULL || txt->txt_len == 0); in generic_txt_first()
285 if (txt->txt_len == 0) { in generic_txt_first()
301 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_next()
303 r.length = txt->txt_len - txt->offset; in generic_txt_next()
307 if (txt->offset == txt->txt_len) { in generic_txt_next()
320 REQUIRE(txt->offset < txt->txt_len); in generic_txt_current()
322 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_current()
[all …]
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/lib/dns/rdata/generic/
H A Dtxt_16.c141 REQUIRE(txt->txt != NULL && txt->txt_len != 0); in generic_fromstruct_txt()
147 region.length = txt->txt_len; in generic_fromstruct_txt()
171 txt->txt_len = r.length; in generic_tostruct_txt()
283 REQUIRE(txt->txt != NULL || txt->txt_len == 0); in generic_txt_first()
285 if (txt->txt_len == 0) { in generic_txt_first()
301 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_next()
303 r.length = txt->txt_len - txt->offset; in generic_txt_next()
307 if (txt->offset == txt->txt_len) { in generic_txt_next()
320 REQUIRE(txt->offset < txt->txt_len); in generic_txt_current()
322 INSIST(txt->offset + 1 <= txt->txt_len); in generic_txt_current()
[all …]
/dports/devel/efl/efl-1.25.1/src/lib/elementary/
H A Delm_util.c23 int txt_len = strlen(txt); in _str_append() local
25 if (txt_len <= 0) return str; in _str_append()
26 if ((*len + txt_len) >= *alloc) in _str_append()
31 alloc2 = *alloc + txt_len + 128; in _str_append()
38 *len += txt_len; in _str_append()
/dports/net-im/telepathy-salut/telepathy-salut-0.8.1/src/
H A Dbonjour-contact.c495 uint8_t txt_len; in _bonjour_getaddr_cb() local
547 "msg", &txt_len); in _bonjour_getaddr_cb()
554 "nick", &txt_len); in _bonjour_getaddr_cb()
557 "1st", &txt_len); in _bonjour_getaddr_cb()
560 "last", &txt_len); in _bonjour_getaddr_cb()
572 "hash", &txt_len); in _bonjour_getaddr_cb()
576 "node", &txt_len); in _bonjour_getaddr_cb()
580 "ver", &txt_len); in _bonjour_getaddr_cb()
581 ver = g_strndup (tmp, txt_len); in _bonjour_getaddr_cb()
591 "email", &txt_len); in _bonjour_getaddr_cb()
[all …]
/dports/net/libdmapsharing/libdmapsharing-2.9.41/libdmapsharing/
H A Ddmap-mdns-publisher-dnssd.c68 _build_txt_record(gboolean password_required, gchar **txt_records, uint16_t *txt_len) in _build_txt_record() argument
70 *txt_len = 0; in _build_txt_record()
74 *txt_len += strlen(*_txt_records) + 1; // + 1 for req. len. in _build_txt_record()
84 *txt_len += password_size; in _build_txt_record()
87 gchar *txt_record = g_malloc(*txt_len); in _build_txt_record()
120 uint16_t txt_len = 0; in dmap_mdns_publisher_publish() local
125 txt_record = _build_txt_record(password_required, txt_records, &txt_len); in dmap_mdns_publisher_publish()
136 txt_len, in dmap_mdns_publisher_publish()
/dports/net/ldapsdk/mozldap-6.0.7/c-sdk/ldap/libraries/libldap/
H A Dgetdxbyname.c202 int i, n, pref, txt_len; in decode_answer() local
208 txt_len = *q - 3; in decode_answer()
212 --txt_len; in decode_answer()
219 --txt_len; in decode_answer()
226 --txt_len; in decode_answer()
235 (char *)NSLDAPI_CALLOC( 1, txt_len + 1 )) in decode_answer()
240 SAFEMEMCPY( dxs[ dx_count ], r, txt_len ); in decode_answer()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/ldap/c-sdk/libraries/libldap/
H A Dgetdxbyname.c195 int i, n, pref, txt_len; in decode_answer() local
201 txt_len = *q - 3; in decode_answer()
205 --txt_len; in decode_answer()
212 --txt_len; in decode_answer()
219 --txt_len; in decode_answer()
227 (dxs[dx_count] = (char*)NSLDAPI_CALLOC(1, txt_len + 1)) == NULL) { in decode_answer()
231 SAFEMEMCPY(dxs[dx_count], r, txt_len); in decode_answer()
/dports/devel/binutils/binutils-2.37/binutils/
H A Dwindmc.c586 rc_uint_type txt_len; in mc_generate_bin_item() local
588 txt_len = unichar_len (n->message); in mc_generate_bin_item()
591 while (txt_len > 0 && ht[txt_len - 1] > 0 && ht[txt_len - 1] < 0x20) in mc_generate_bin_item()
592 ht[--txt_len] = 0; in mc_generate_bin_item()
594 txt_len *= sizeof (unichar); in mc_generate_bin_item()
600 txt_len = 0; in mc_generate_bin_item()
604 txt_len += 2; in mc_generate_bin_item()
609 rc_uint_type txt_len, l; in mc_generate_bin_item() local
615 txt_len = strlen (cvt_txt); in mc_generate_bin_item()
618 while (txt_len > 0 && cvt_txt[txt_len - 1] > 0 && cvt_txt[txt_len - 1] < 0x20) in mc_generate_bin_item()
[all …]
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/binutils/
H A Dwindmc.c586 rc_uint_type txt_len; in mc_generate_bin_item() local
588 txt_len = unichar_len (n->message); in mc_generate_bin_item()
591 while (txt_len > 0 && ht[txt_len - 1] > 0 && ht[txt_len - 1] < 0x20) in mc_generate_bin_item()
592 ht[--txt_len] = 0; in mc_generate_bin_item()
594 txt_len *= sizeof (unichar); in mc_generate_bin_item()
600 txt_len = 0; in mc_generate_bin_item()
604 txt_len += 2; in mc_generate_bin_item()
609 rc_uint_type txt_len, l; in mc_generate_bin_item() local
615 txt_len = strlen (cvt_txt); in mc_generate_bin_item()
618 while (txt_len > 0 && cvt_txt[txt_len - 1] > 0 && cvt_txt[txt_len - 1] < 0x20) in mc_generate_bin_item()
[all …]
/dports/devel/arm-elf-binutils/binutils-2.37/binutils/
H A Dwindmc.c586 rc_uint_type txt_len; in mc_generate_bin_item() local
588 txt_len = unichar_len (n->message); in mc_generate_bin_item()
591 while (txt_len > 0 && ht[txt_len - 1] > 0 && ht[txt_len - 1] < 0x20) in mc_generate_bin_item()
592 ht[--txt_len] = 0; in mc_generate_bin_item()
594 txt_len *= sizeof (unichar); in mc_generate_bin_item()
600 txt_len = 0; in mc_generate_bin_item()
604 txt_len += 2; in mc_generate_bin_item()
609 rc_uint_type txt_len, l; in mc_generate_bin_item() local
615 txt_len = strlen (cvt_txt); in mc_generate_bin_item()
618 while (txt_len > 0 && cvt_txt[txt_len - 1] > 0 && cvt_txt[txt_len - 1] < 0x20) in mc_generate_bin_item()
[all …]
/dports/devel/gnulibiberty/binutils-2.37/binutils/
H A Dwindmc.c586 rc_uint_type txt_len; in mc_generate_bin_item() local
588 txt_len = unichar_len (n->message); in mc_generate_bin_item()
591 while (txt_len > 0 && ht[txt_len - 1] > 0 && ht[txt_len - 1] < 0x20) in mc_generate_bin_item()
592 ht[--txt_len] = 0; in mc_generate_bin_item()
594 txt_len *= sizeof (unichar); in mc_generate_bin_item()
600 txt_len = 0; in mc_generate_bin_item()
604 txt_len += 2; in mc_generate_bin_item()
609 rc_uint_type txt_len, l; in mc_generate_bin_item() local
615 txt_len = strlen (cvt_txt); in mc_generate_bin_item()
618 while (txt_len > 0 && cvt_txt[txt_len - 1] > 0 && cvt_txt[txt_len - 1] < 0x20) in mc_generate_bin_item()
[all …]
/dports/lang/gnatdroid-binutils/binutils-2.27/binutils/
H A Dwindmc.c586 rc_uint_type txt_len; in mc_generate_bin_item() local
588 txt_len = unichar_len (n->message); in mc_generate_bin_item()
591 while (txt_len > 0 && ht[txt_len - 1] > 0 && ht[txt_len - 1] < 0x20) in mc_generate_bin_item()
592 ht[--txt_len] = 0; in mc_generate_bin_item()
594 txt_len *= sizeof (unichar); in mc_generate_bin_item()
600 txt_len = 0; in mc_generate_bin_item()
604 txt_len += 2; in mc_generate_bin_item()
609 rc_uint_type txt_len, l; in mc_generate_bin_item() local
615 txt_len = strlen (cvt_txt); in mc_generate_bin_item()
618 while (txt_len > 0 && cvt_txt[txt_len - 1] > 0 && cvt_txt[txt_len - 1] < 0x20) in mc_generate_bin_item()
[all …]
/dports/lang/sdcc/sdcc-4.0.0/support/sdbinutils/binutils/
H A Dwindmc.c586 rc_uint_type txt_len; in mc_generate_bin_item() local
588 txt_len = unichar_len (n->message); in mc_generate_bin_item()
591 while (txt_len > 0 && ht[txt_len - 1] > 0 && ht[txt_len - 1] < 0x20) in mc_generate_bin_item()
592 ht[--txt_len] = 0; in mc_generate_bin_item()
594 txt_len *= sizeof (unichar); in mc_generate_bin_item()
600 txt_len = 0; in mc_generate_bin_item()
604 txt_len += 2; in mc_generate_bin_item()
609 rc_uint_type txt_len, l; in mc_generate_bin_item() local
615 txt_len = strlen (cvt_txt); in mc_generate_bin_item()
618 while (txt_len > 0 && cvt_txt[txt_len - 1] > 0 && cvt_txt[txt_len - 1] < 0x20) in mc_generate_bin_item()
[all …]
/dports/news/golded+/golded-plus/golded+/goldlib/gmb3/
H A Dgmosmb1.cpp358 uint32_t txt_len = 1; in load_msg() local
374 txt_len+=outlen; in load_msg()
381 txt_len+=outlen; in load_msg()
419 txt_len+=outlen; in load_msg()
435 txt_len++; in load_msg()
464 txt_len += outlen; in load_msg()
465 msg->txt[txt_len-1] = NUL; in load_msg()
485 txt_len+=outlen; in load_msg()
1061 uint32_t txt_len = 1; in make_dump_msg() local
1075 txt_len++; in make_dump_msg()
[all …]
/dports/security/snort3/snort3-3.1.19.0/src/service_inspectors/dns/
H A Ddns.cc285 uint16_t bytes_required = dnsSessionData->curr_txt.txt_len - in ParseDNSName()
298 dnsSessionData->curr_txt.txt_len = (uint8_t)*data; in ParseDNSName()
302 if (dnsSessionData->curr_txt.txt_len == 0) in ParseDNSName()
311 if ((dnsSessionData->curr_txt.txt_len & DNS_RR_PTR) == DNS_RR_PTR) in ParseDNSName()
316 bytes_required = dnsSessionData->curr_txt.txt_len = 1; in ParseDNSName()
322 bytes_required = dnsSessionData->curr_txt.txt_len; in ParseDNSName()
575 uint16_t bytes_required = dnsSessionData->curr_txt.txt_len - in CheckRRTypeTXTVuln()
597 dnsSessionData->curr_txt.txt_len = (uint8_t)*data; in CheckRRTypeTXTVuln()
601 dnsSessionData->curr_txt.total_txt_len += dnsSessionData->curr_txt.txt_len + 1; in CheckRRTypeTXTVuln()
620 if (dnsSessionData->curr_txt.txt_len > 0) in CheckRRTypeTXTVuln()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/output_stream/src/c/
H A Dmsgstxt.c19 int C2F(msgstxt)(char *txt, long int txt_len) in C2F()
23 C2F(basout)(&io, &out, txt, txt_len); in C2F()
/dports/net/zerotier/ZeroTierOne-1.8.3/attic/historic/anode/libanode/impl/
H A Ddns_txt.c37 int Anode_sync_resolve_txt(const char *host,char *txt,unsigned int txt_len) in Anode_sync_resolve_txt() argument
77 if (txt_len < (len + 1)) in Anode_sync_resolve_txt()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/dns/
H A Dspp_dns.c720 …uint16_t bytes_required = dnsSessionData->curr_txt.txt_len - dnsSessionData->curr_txt.txt_bytes_se… in ParseDNSName()
732 dnsSessionData->curr_txt.txt_len = (uint8_t)*data; in ParseDNSName()
736 if (dnsSessionData->curr_txt.txt_len == 0) in ParseDNSName()
745 if ((dnsSessionData->curr_txt.txt_len & DNS_RR_PTR) == DNS_RR_PTR) in ParseDNSName()
749 dnsSessionData->curr_txt.offset = (dnsSessionData->curr_txt.txt_len & ~0xC0) << 8; in ParseDNSName()
750 bytes_required = dnsSessionData->curr_txt.txt_len = 1; in ParseDNSName()
756 bytes_required = dnsSessionData->curr_txt.txt_len; in ParseDNSName()
1044 …uint16_t bytes_required = dnsSessionData->curr_txt.txt_len - dnsSessionData->curr_txt.txt_bytes_se… in CheckRRTypeTXTVuln()
1067 dnsSessionData->curr_txt.txt_len = (uint8_t)*data; in CheckRRTypeTXTVuln()
1091 if (dnsSessionData->curr_txt.txt_len > 0) in CheckRRTypeTXTVuln()
[all …]
/dports/dns/knot3-lib/knot-3.1.5/src/libknot/yparser/
H A Dyptrafo.h46 size_t txt_len,
68 size_t *txt_len,
/dports/dns/knot3/knot-3.1.5/src/libknot/yparser/
H A Dyptrafo.h46 size_t txt_len,
68 size_t *txt_len,
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/tui/
H A Dtui_widget_inputline.c157 uint32_t txt_len = string_measure ( w -> txt, NULL ); in clip_cursor_pos() local
158 if ( w -> ints[ IL_CUR_POS ] > txt_len ) in clip_cursor_pos()
159 w -> ints[ IL_CUR_POS ] = txt_len; in clip_cursor_pos()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/tui/
H A Dtui_widget_inputline.c157 uint32_t txt_len = string_measure ( w -> txt, NULL ); in clip_cursor_pos() local
158 if ( w -> ints[ IL_CUR_POS ] > txt_len ) in clip_cursor_pos()
159 w -> ints[ IL_CUR_POS ] = txt_len; in clip_cursor_pos()

1234567