/third_party/mesa3d/src/glx/ |
D | packsingle.h | 121 #define __GLX_SINGLE_GET_VOID_ARRAY(a,alen) \ argument 123 GLint slop = alen*__GLX_SIZE_INT8 & 3; \ 124 _XRead(dpy,(char *)a,alen*__GLX_SIZE_INT8); \ 128 #define __GLX_SINGLE_GET_CHAR_ARRAY(a,alen) \ argument 130 GLint slop = alen*__GLX_SIZE_INT8 & 3; \ 131 _XRead(dpy,(char *)a,alen*__GLX_SIZE_INT8); \ 136 #define __GLX_SINGLE_GET_SHORT_ARRAY(a,alen) \ argument 138 GLint slop = (alen*__GLX_SIZE_INT16) & 3; \ 139 _XRead(dpy,(char *)a,alen*__GLX_SIZE_INT16); \ 143 #define __GLX_SINGLE_GET_LONG_ARRAY(a,alen) \ argument [all …]
|
D | packrender.h | 187 #define __GLX_PUT_CHAR_ARRAY(offset,a,alen) \ argument 188 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT8) 190 #define __GLX_PUT_SHORT_ARRAY(offset,a,alen) \ argument 191 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT16) 193 #define __GLX_PUT_LONG_ARRAY(offset,a,alen) \ argument 194 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT32) 196 #define __GLX_PUT_FLOAT_ARRAY(offset,a,alen) \ argument 197 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT32) 199 #define __GLX_PUT_DOUBLE_ARRAY(offset,a,alen) \ argument 200 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT64)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_sim_common.c | 499 size_t alen, plen, i, list_len; in eap_sim_parse_attr() local 526 alen = pos[1] * 4 - 2; in eap_sim_parse_attr() 528 apos, alen); in eap_sim_parse_attr() 534 alen -= 2; in eap_sim_parse_attr() 535 if ((!aka && (alen % GSM_RAND_LEN)) || in eap_sim_parse_attr() 536 (aka && alen != EAP_AKA_RAND_LEN)) { in eap_sim_parse_attr() 539 (unsigned long) alen); in eap_sim_parse_attr() 543 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr() 553 alen -= 2; in eap_sim_parse_attr() 554 if (alen != EAP_AKA_AUTN_LEN) { in eap_sim_parse_attr() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_sim_common.c | 499 size_t alen, plen, i, list_len; in eap_sim_parse_attr() local 526 alen = pos[1] * 4 - 2; in eap_sim_parse_attr() 528 apos, alen); in eap_sim_parse_attr() 534 alen -= 2; in eap_sim_parse_attr() 535 if ((!aka && (alen % GSM_RAND_LEN)) || in eap_sim_parse_attr() 536 (aka && alen != EAP_AKA_RAND_LEN)) { in eap_sim_parse_attr() 539 (unsigned long) alen); in eap_sim_parse_attr() 543 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr() 553 alen -= 2; in eap_sim_parse_attr() 554 if (alen != EAP_AKA_AUTN_LEN) { in eap_sim_parse_attr() [all …]
|
/third_party/node/deps/cares/src/lib/ |
D | ares_expand_name.c | 33 int alen, int is_hostname); 118 int alen, char **s, long *enclen, in ares__expand_name_validated() argument 129 nlen.sig = name_length(encoded, abuf, alen, is_hostname); in ares__expand_name_validated() 213 int alen, char **s, long *enclen) in ares_expand_name() argument 215 return ares__expand_name_validated(encoded, abuf, alen, s, enclen, 0); in ares_expand_name() 222 int alen, int is_hostname) in name_length() argument 227 if (encoded >= abuf + alen) in name_length() 236 if (encoded + 1 >= abuf + alen) in name_length() 239 if (offset >= alen) in name_length() 247 if (indir > alen || indir > MAX_INDIRS) in name_length() [all …]
|
D | ares_parse_soa_reply.c | 38 ares_parse_soa_reply(const unsigned char *abuf, int alen, in ares_parse_soa_reply() argument 48 if (alen < HFIXEDSZ) in ares_parse_soa_reply() 63 status = ares__expand_name_for_response(aptr, abuf, alen, &qname, &len, 0); in ares_parse_soa_reply() 67 if (alen <= len + HFIXEDSZ + 1) in ares_parse_soa_reply() 74 if (aptr + QFIXEDSZ > abuf + alen) in ares_parse_soa_reply() 86 status = ares__expand_name_for_response (aptr, abuf, alen, &rr_name, &len, 0); in ares_parse_soa_reply() 94 if ( aptr + RRFIXEDSZ > abuf + alen ) in ares_parse_soa_reply() 104 if (aptr + rr_len > abuf + alen) in ares_parse_soa_reply() 122 status = ares__expand_name_for_response(aptr, abuf, alen, &soa->nsname, in ares_parse_soa_reply() 132 status = ares__expand_name_for_response(aptr, abuf, alen, in ares_parse_soa_reply() [all …]
|
D | ares_parse_naptr_reply.c | 38 ares_parse_naptr_reply (const unsigned char *abuf, int alen, in ares_parse_naptr_reply() argument 54 if (alen < HFIXEDSZ) in ares_parse_naptr_reply() 67 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_naptr_reply() 71 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_naptr_reply() 82 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_naptr_reply() 88 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_naptr_reply() 97 if (aptr + rr_len > abuf + alen) in ares_parse_naptr_reply() 138 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->flags, &len); in ares_parse_naptr_reply() 143 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->service, &len); in ares_parse_naptr_reply() 148 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->regexp, &len); in ares_parse_naptr_reply() [all …]
|
D | ares_parse_txt_reply.c | 42 ares__parse_txt_reply (const unsigned char *abuf, int alen, in ares__parse_txt_reply() argument 60 if (alen < HFIXEDSZ) in ares__parse_txt_reply() 73 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares__parse_txt_reply() 77 if (aptr + len + QFIXEDSZ > abuf + alen) in ares__parse_txt_reply() 88 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares__parse_txt_reply() 94 if (aptr + RRFIXEDSZ > abuf + alen) in ares__parse_txt_reply() 103 if (aptr + rr_len > abuf + alen) in ares__parse_txt_reply() 202 ares_parse_txt_reply (const unsigned char *abuf, int alen, in ares_parse_txt_reply() argument 205 return ares__parse_txt_reply(abuf, alen, 0, (void **) txt_out); in ares_parse_txt_reply() 210 ares_parse_txt_reply_ext (const unsigned char *abuf, int alen, in ares_parse_txt_reply_ext() argument [all …]
|
D | ares__parse_into_addrinfo.c | 43 int alen, int cname_only_is_enodata, in ares__parse_into_addrinfo() argument 58 if (alen < HFIXEDSZ) in ares__parse_into_addrinfo() 70 status = ares__expand_name_for_response(aptr, abuf, alen, &question_hostname, &len, 0); in ares__parse_into_addrinfo() 73 if (aptr + len + QFIXEDSZ > abuf + alen) in ares__parse_into_addrinfo() 87 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len, 0); in ares__parse_into_addrinfo() 95 if (aptr + RRFIXEDSZ > abuf + alen) in ares__parse_into_addrinfo() 105 if (aptr + rr_len > abuf + alen) in ares__parse_into_addrinfo() 116 if (aptr + sizeof(struct in_addr) > abuf + alen) in ares__parse_into_addrinfo() 131 if (aptr + sizeof(struct ares_in6_addr) > abuf + alen) in ares__parse_into_addrinfo() 145 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares__parse_into_addrinfo() [all …]
|
D | ares_parse_ns_reply.c | 39 int ares_parse_ns_reply( const unsigned char* abuf, int alen, in ares_parse_ns_reply() argument 54 if ( alen < HFIXEDSZ ) in ares_parse_ns_reply() 65 status = ares__expand_name_for_response( aptr, abuf, alen, &hostname, &len, 0); in ares_parse_ns_reply() 68 if ( aptr + len + QFIXEDSZ > abuf + alen ) in ares_parse_ns_reply() 88 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_name, &len, 0); in ares_parse_ns_reply() 92 if ( aptr + RRFIXEDSZ > abuf + alen ) in ares_parse_ns_reply() 102 if (aptr + rr_len > abuf + alen) in ares_parse_ns_reply() 112 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_data, in ares_parse_ns_reply() 138 if ( aptr > abuf + alen ) in ares_parse_ns_reply()
|
D | ares_parse_mx_reply.c | 38 ares_parse_mx_reply (const unsigned char *abuf, int alen, in ares_parse_mx_reply() argument 54 if (alen < HFIXEDSZ) in ares_parse_mx_reply() 67 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_mx_reply() 71 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_mx_reply() 82 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_mx_reply() 88 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_mx_reply() 97 if (aptr + rr_len > abuf + alen) in ares_parse_mx_reply() 134 status = ares_expand_name (vptr, abuf, alen, &mx_curr->host, &len); in ares_parse_mx_reply()
|
D | ares_parse_srv_reply.c | 38 ares_parse_srv_reply (const unsigned char *abuf, int alen, in ares_parse_srv_reply() argument 54 if (alen < HFIXEDSZ) in ares_parse_srv_reply() 67 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_srv_reply() 71 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_srv_reply() 82 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_srv_reply() 88 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_srv_reply() 97 if (aptr + rr_len > abuf + alen) in ares_parse_srv_reply() 138 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()
|
D | ares_parse_ptr_reply.c | 37 int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, in ares_parse_ptr_reply() argument 55 if (alen < HFIXEDSZ) in ares_parse_ptr_reply() 66 status = ares__expand_name_for_response(aptr, abuf, alen, &ptrname, &len, 0); in ares_parse_ptr_reply() 69 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_ptr_reply() 87 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len, 0); in ares_parse_ptr_reply() 91 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_ptr_reply() 101 if (aptr + rr_len > abuf + alen) in ares_parse_ptr_reply() 112 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply() 148 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply() 161 if (aptr > abuf + alen) in ares_parse_ptr_reply()
|
D | ares_parse_uri_reply.c | 43 ares_parse_uri_reply (const unsigned char *abuf, int alen, in ares_parse_uri_reply() argument 59 if (alen < HFIXEDSZ){ in ares_parse_uri_reply() 75 status = ares_expand_name (aptr, abuf, alen, &uri_str, &len); in ares_parse_uri_reply() 79 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_uri_reply() 90 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_uri_reply() 96 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_uri_reply() 108 if (aptr + rr_len > abuf + alen) in ares_parse_uri_reply()
|
D | ares_parse_caa_reply.c | 41 ares_parse_caa_reply (const unsigned char *abuf, int alen, in ares_parse_caa_reply() argument 58 if (alen < HFIXEDSZ) in ares_parse_caa_reply() 71 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_caa_reply() 75 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_caa_reply() 86 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_caa_reply() 92 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_caa_reply() 101 if (aptr + rr_len > abuf + alen) in ares_parse_caa_reply()
|
/third_party/python/Lib/ctypes/test/ |
D | test_arrays.py | 21 alen = len(init) 22 int_array = ARRAY(fmt, alen) 26 self.assertEqual(len(ia), alen) 29 values = [ia[i] for i in range(alen)] 33 with self.assertRaises(IndexError): ia[alen] 34 with self.assertRaises(IndexError): ia[-alen-1] 38 new_values = list(range(42, 42+alen)) 39 [setitem(ia, n, new_values[n]) for n in range(alen)] 40 values = [ia[i] for i in range(alen)] 45 values = [ia[i] for i in range(alen)] [all …]
|
/third_party/node/deps/cares/src/tools/ |
D | adig.c | 143 unsigned char *abuf, int alen); 146 int alen); 148 const unsigned char *abuf, int alen); 387 unsigned char *abuf, int alen) in callback() argument 411 if (alen < HFIXEDSZ) in callback() 444 aptr = display_question(aptr, abuf, alen); in callback() 453 aptr = display_rr(aptr, abuf, alen); in callback() 462 aptr = display_rr(aptr, abuf, alen); in callback() 471 aptr = display_rr(aptr, abuf, alen); in callback() 479 int alen) in display_question() argument [all …]
|
/third_party/openssl/crypto/modes/ |
D | ccm128.c | 69 const unsigned char *aad, size_t alen) in CRYPTO_ccm128_aad() argument 74 if (alen == 0) in CRYPTO_ccm128_aad() 80 if (alen < (0x10000 - 0x100)) { in CRYPTO_ccm128_aad() 81 ctx->cmac.c[0] ^= (u8)(alen >> 8); in CRYPTO_ccm128_aad() 82 ctx->cmac.c[1] ^= (u8)alen; in CRYPTO_ccm128_aad() 84 } else if (sizeof(alen) == 8 in CRYPTO_ccm128_aad() 85 && alen >= (size_t)1 << (32 % (sizeof(alen) * 8))) { in CRYPTO_ccm128_aad() 88 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() 89 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() 90 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() [all …]
|
/third_party/iowow/src/utils/ |
D | iwconv.c | 255 int alen = asiz, blen = bsiz; in iwafcmp() local 260 while (alen > 0 && (*arp <= ' ' || *arp == 0x7f)) { in iwafcmp() 262 alen--; in iwafcmp() 264 if (alen > 0 && *arp == '-') { in iwafcmp() 266 alen--; in iwafcmp() 269 while (alen > 0) { in iwafcmp() 274 alen--; in iwafcmp() 298 if ((alen > 1 && *arp == '.') || (blen > 1 && *brp == '.')) { in iwafcmp() 301 if (alen > 1 && *arp == '.') { in iwafcmp() 303 alen--; in iwafcmp() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_gpsk.c | 244 u16 alen; in eap_gpsk_process_gpsk_2() local 263 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2() 265 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 272 data->id_peer = os_memdup(pos, alen); in eap_gpsk_process_gpsk_2() 275 "%d-octet ID_Peer", alen); in eap_gpsk_process_gpsk_2() 278 data->id_peer_len = alen; in eap_gpsk_process_gpsk_2() 281 pos += alen; in eap_gpsk_process_gpsk_2() 289 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2() 291 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 297 if (alen != sm->server_id_len || in eap_gpsk_process_gpsk_2() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_gpsk.c | 244 u16 alen; in eap_gpsk_process_gpsk_2() local 263 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2() 265 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 272 data->id_peer = os_memdup(pos, alen); in eap_gpsk_process_gpsk_2() 275 "%d-octet ID_Peer", alen); in eap_gpsk_process_gpsk_2() 278 data->id_peer_len = alen; in eap_gpsk_process_gpsk_2() 281 pos += alen; in eap_gpsk_process_gpsk_2() 289 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2() 291 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 297 if (alen != sm->cfg->server_id_len || in eap_gpsk_process_gpsk_2() [all …]
|
/third_party/node/deps/cares/include/ |
D | ares.h | 295 int alen); 498 int alen, 504 int alen, 647 int alen, 653 int alen, 659 int alen, 663 int alen, 670 int alen, 674 int alen, 678 int alen, [all …]
|
/third_party/toybox/toys/pending/ |
D | host.c | 71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0, in host_main() local 133 alen = recv(s, abuf, abuf_len, 0); in host_main() 134 } else alen = res_send(qbuf, qlen, abuf, abuf_len); in host_main() 136 if (alen < 12) error_exit("Host not found."); in host_main() 156 p += dn_expand(abuf, abuf+alen, p, rrname, MAXDNAME); in host_main() 170 dn_expand(abuf, abuf+alen, p, plname, sizeof(plname)); in host_main() 176 i = dn_expand(abuf, abuf+alen, p, plname, sizeof(plname) - 1); in host_main() 178 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname), in host_main() 193 dn_expand(abuf, abuf+alen, p+2, plname+strlen(plname), in host_main() 199 dn_expand(abuf, abuf+alen, p+6, plname+strlen(plname), in host_main()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-async-dns/ |
D | main.c | 126 int ctr = 0, alen; in cb1() local 141 alen = 4; in cb1() 145 alen = 16; in cb1() 148 lws_write_numeric_address(addr, alen, buf, sizeof(buf)); in cb1() 150 lwsl_warn("%s: %d: %s %d %s\n", __func__, ctr++, ads, alen, buf); in cb1() 160 alen = 4; in cb1() 165 alen = 16; in cb1() 170 if (alen == adt[dtest - 1].addrlen && in cb1() 171 !memcmp(adt[dtest - 1].ads, addr, (unsigned int)alen)) { in cb1()
|
/third_party/ffmpeg/libavformat/ |
D | rtpdec_qt.c | 59 int packing_scheme, has_payload_desc, has_packet_info, alen, in qt_rtp_parse_packet() local 178 alen = len - avio_tell(&pb); in qt_rtp_parse_packet() 179 if (alen <= 0) in qt_rtp_parse_packet() 186 if ((err = av_reallocp(&qt->pkt->data, qt->pkt->size + alen + in qt_rtp_parse_packet() 194 qt->pkt->data = av_realloc(NULL, alen + AV_INPUT_BUFFER_PADDING_SIZE); in qt_rtp_parse_packet() 200 memcpy(qt->pkt->data + qt->pkt->size, buf + avio_tell(&pb), alen); in qt_rtp_parse_packet() 201 qt->pkt->size += alen; in qt_rtp_parse_packet() 218 alen % qt->bytes_per_frame != 0) in qt_rtp_parse_packet() 220 qt->remaining = (alen / qt->bytes_per_frame) - 1; in qt_rtp_parse_packet()
|