/external/mesa3d/src/glx/ |
D | packsingle.h | 170 #define __GLX_SINGLE_GET_VOID_ARRAY(a,alen) \ argument 172 GLint slop = alen*__GLX_SIZE_INT8 & 3; \ 173 _XRead(dpy,(char *)a,alen*__GLX_SIZE_INT8); \ 177 #define __GLX_SINGLE_GET_CHAR_ARRAY(a,alen) \ argument 179 GLint slop = alen*__GLX_SIZE_INT8 & 3; \ 180 _XRead(dpy,(char *)a,alen*__GLX_SIZE_INT8); \ 185 #define __GLX_SINGLE_GET_SHORT_ARRAY(a,alen) \ argument 187 GLint slop = (alen*__GLX_SIZE_INT16) & 3; \ 188 _XRead(dpy,(char *)a,alen*__GLX_SIZE_INT16); \ 192 #define __GLX_SINGLE_GET_LONG_ARRAY(a,alen) \ argument [all …]
|
D | packrender.h | 207 #define __GLX_PUT_CHAR_ARRAY(offset,a,alen) \ argument 208 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT8) 211 #define __GLX_PUT_SHORT_ARRAY(offset,a,alen) \ argument 212 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT16) 214 #define __GLX_PUT_LONG_ARRAY(offset,a,alen) \ argument 215 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT32) 217 #define __GLX_PUT_FLOAT_ARRAY(offset,a,alen) \ argument 218 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT32) 220 #define __GLX_PUT_DOUBLE_ARRAY(offset,a,alen) \ argument 221 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT64) [all …]
|
/external/strace/tests/ |
D | sendfile.c | 66 const size_t alen = stb.st_size - blen; in main() local 86 if (syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) != (long) alen) in main() 89 sv[1], reg_in, (unsigned long) alen, in main() 90 (unsigned long) alen); in main() 93 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 96 (unsigned long) alen); in main() 98 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 99 != (long) alen) in main() 103 sv[1], reg_in, (unsigned long) alen, in main() 104 (unsigned long) alen, (unsigned long) alen); in main() [all …]
|
D | sendfile64.c | 66 const size_t alen = stb.st_size - blen; in main() local 86 if (syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) != (long) alen) in main() 89 sv[1], reg_in, (unsigned long) alen, in main() 90 (unsigned long) alen); in main() 93 if (syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) != (long) alen) in main() 96 sv[1], reg_in, (unsigned long) alen, in main() 97 (unsigned long) alen, (unsigned long) alen); in main() 103 sv[1], reg_in, (unsigned long) alen, in main()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 501 size_t alen, plen, i, list_len; in eap_sim_parse_attr() local 528 alen = pos[1] * 4 - 2; in eap_sim_parse_attr() 530 apos, alen); in eap_sim_parse_attr() 536 alen -= 2; in eap_sim_parse_attr() 537 if ((!aka && (alen % GSM_RAND_LEN)) || in eap_sim_parse_attr() 538 (aka && alen != EAP_AKA_RAND_LEN)) { in eap_sim_parse_attr() 541 (unsigned long) alen); in eap_sim_parse_attr() 545 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr() 555 alen -= 2; in eap_sim_parse_attr() 556 if (alen != EAP_AKA_AUTN_LEN) { in eap_sim_parse_attr() [all …]
|
/external/c-ares/ |
D | ares_expand_name.c | 39 int alen); 66 int alen, char **s, long *enclen) in ares_expand_name() argument 76 nlen.sig = name_length(encoded, abuf, alen); in ares_expand_name() 144 int alen) in name_length() argument 149 if (encoded == abuf + alen) in name_length() 157 if (encoded + 1 >= abuf + alen) in name_length() 160 if (offset >= alen) in name_length() 167 if (++indir > alen) in name_length() 173 if (encoded + offset + 1 >= abuf + alen) in name_length() 193 const unsigned char *abuf, int alen, in ares__expand_name_for_response() argument [all …]
|
D | adig.c | 184 unsigned char *abuf, int alen); 187 int alen); 189 const unsigned char *abuf, int alen); 413 unsigned char *abuf, int alen) in callback() argument 437 if (alen < HFIXEDSZ) in callback() 470 aptr = display_question(aptr, abuf, alen); in callback() 479 aptr = display_rr(aptr, abuf, alen); in callback() 488 aptr = display_rr(aptr, abuf, alen); in callback() 497 aptr = display_rr(aptr, abuf, alen); in callback() 505 int alen) in display_question() argument [all …]
|
D | ares_parse_ns_reply.c | 50 int ares_parse_ns_reply( const unsigned char* abuf, int alen, in ares_parse_ns_reply() argument 65 if ( alen < HFIXEDSZ ) in ares_parse_ns_reply() 76 status = ares__expand_name_for_response( aptr, abuf, alen, &hostname, &len); in ares_parse_ns_reply() 79 if ( aptr + len + QFIXEDSZ > abuf + alen ) in ares_parse_ns_reply() 99 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_name, &len ); in ares_parse_ns_reply() 103 if ( aptr + RRFIXEDSZ > abuf + alen ) in ares_parse_ns_reply() 117 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_data, in ares_parse_ns_reply() 143 if ( aptr > abuf + alen ) in ares_parse_ns_reply()
|
D | ares_parse_a_reply.c | 54 int ares_parse_a_reply(const unsigned char *abuf, int alen, in ares_parse_a_reply() argument 77 if (alen < HFIXEDSZ) in ares_parse_a_reply() 88 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); in ares_parse_a_reply() 91 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_a_reply() 129 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_a_reply() 133 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_a_reply() 151 if (aptr + sizeof(struct in_addr) > abuf + alen) in ares_parse_a_reply() 162 if (aptr + sizeof(struct in_addr) > abuf + alen) in ares_parse_a_reply() 185 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_a_reply() 200 if (aptr > abuf + alen) in ares_parse_a_reply()
|
D | ares_parse_aaaa_reply.c | 56 int ares_parse_aaaa_reply(const unsigned char *abuf, int alen, in ares_parse_aaaa_reply() argument 79 if (alen < HFIXEDSZ) in ares_parse_aaaa_reply() 90 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); in ares_parse_aaaa_reply() 93 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_aaaa_reply() 129 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_aaaa_reply() 133 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_aaaa_reply() 151 if (aptr + sizeof(struct ares_in6_addr) > abuf + alen) in ares_parse_aaaa_reply() 162 if (aptr + sizeof(struct ares_in6_addr) > abuf + alen) in ares_parse_aaaa_reply() 185 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_aaaa_reply() 200 if (aptr > abuf + alen) in ares_parse_aaaa_reply()
|
D | ares_parse_mx_reply.c | 49 ares_parse_mx_reply (const unsigned char *abuf, int alen, in ares_parse_mx_reply() argument 65 if (alen < HFIXEDSZ) in ares_parse_mx_reply() 78 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_mx_reply() 82 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_mx_reply() 93 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_mx_reply() 99 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_mx_reply() 140 status = ares_expand_name (vptr, abuf, alen, &mx_curr->host, &len); in ares_parse_mx_reply()
|
D | ares_parse_ptr_reply.c | 47 int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, in ares_parse_ptr_reply() argument 64 if (alen < HFIXEDSZ) in ares_parse_ptr_reply() 75 status = ares__expand_name_for_response(aptr, abuf, alen, &ptrname, &len); in ares_parse_ptr_reply() 78 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_ptr_reply() 96 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_ptr_reply() 100 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_ptr_reply() 115 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply() 150 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply() 163 if (aptr > abuf + alen) in ares_parse_ptr_reply()
|
D | ares_parse_srv_reply.c | 54 ares_parse_srv_reply (const unsigned char *abuf, int alen, in ares_parse_srv_reply() argument 70 if (alen < HFIXEDSZ) in ares_parse_srv_reply() 83 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_srv_reply() 87 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_srv_reply() 98 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_srv_reply() 104 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_srv_reply() 149 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()
|
D | ares_parse_txt_reply.c | 54 ares_parse_txt_reply (const unsigned char *abuf, int alen, in ares_parse_txt_reply() argument 72 if (alen < HFIXEDSZ) in ares_parse_txt_reply() 85 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_txt_reply() 89 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_txt_reply() 100 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_txt_reply() 106 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_txt_reply()
|
D | ares.h | 281 int alen); 416 int alen, 422 int alen, 478 int alen, 484 int alen, 490 int alen, 497 int alen, 501 int alen, 505 int alen, 509 int alen,
|
D | ares_expand_string.c | 43 int alen, in ares_expand_string() argument 53 if (encoded == abuf+alen) in ares_expand_string() 57 if (encoded+elen.sig+1 > abuf+alen) in ares_expand_string()
|
D | ares_search.c | 48 unsigned char *abuf, int alen); 50 unsigned char *abuf, int alen); 144 unsigned char *abuf, int alen) in search_callback() argument 155 end_squery(squery, status, abuf, alen); in search_callback() 206 unsigned char *abuf, int alen) in end_squery() argument 208 squery->callback(squery->arg, status, squery->timeouts, abuf, alen); in end_squery()
|
D | ares_query.c | 44 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen); 144 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) in qcallback() argument 151 qquery->callback(qquery->arg, status, timeouts, abuf, alen); in qcallback() 180 qquery->callback(qquery->arg, status, timeouts, abuf, alen); in qcallback()
|
D | ares_process.c | 86 int alen, int whichserver, int tcp, 97 const unsigned char *abuf, int alen); 100 unsigned char *abuf, int alen); 536 int alen, int whichserver, int tcp, in process_answer() argument 547 if (alen < HFIXEDSZ) in process_answer() 568 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen)) in process_answer() 581 if ((tc || alen > PACKETSZ) && !tcp && !(channel->flags & ARES_FLAG_IGNTC)) in process_answer() 594 if (alen > PACKETSZ && !tcp) in process_answer() 595 alen = PACKETSZ; in process_answer() 611 end_query(channel, query, ARES_SUCCESS, abuf, alen); in process_answer() [all …]
|
/external/wpa_supplicant_8/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_malloc(alen); in eap_gpsk_process_gpsk_2() 275 "%d-octet ID_Peer", alen); in eap_gpsk_process_gpsk_2() 278 os_memcpy(data->id_peer, pos, alen); in eap_gpsk_process_gpsk_2() 279 data->id_peer_len = alen; in eap_gpsk_process_gpsk_2() 282 pos += alen; in eap_gpsk_process_gpsk_2() 290 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2() 292 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() [all …]
|
/external/toybox/toys/pending/ |
D | host.c | 71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0; in host_main() local 131 alen = recv(s, abuf, sizeof abuf, 0); in host_main() 132 } else alen = res_send(qbuf, qlen, abuf, sizeof abuf); in host_main() 134 if (alen < 12) error_exit("Host not found."); in host_main() 154 p += dn_expand(abuf, abuf+alen, p, rrname, sizeof(rrname)); in host_main() 168 dn_expand(abuf, abuf+alen, p, plname, sizeof plname); in host_main() 174 i = dn_expand(abuf, abuf+alen, p, plname, sizeof plname - 1); in host_main() 176 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname), in host_main() 191 dn_expand(abuf, abuf+alen, p+2, plname+strlen(plname), in host_main() 197 dn_expand(abuf, abuf+alen, p+6, plname+strlen(plname), in host_main()
|
/external/valgrind/VEX/priv/ |
D | guest_amd64_toIR.c | 4177 Int alen; in dis_Grp4() local 4218 IRTemp addr = disAMode ( &alen, vbi, pfx, delta, dis_buf, 0 ); in dis_Grp4() 4245 delta += alen; in dis_Grp4() 4679 Int alen; in dis_mul_E_G() local 4691 IRTemp addr = disAMode( &alen, vbi, pfx, delta0, dis_buf, 0 ); in dis_mul_E_G() 4710 return alen+delta0; in dis_mul_E_G() 4724 Int alen; in dis_imul_I_E_G() local 4738 IRTemp addr = disAMode( &alen, vbi, pfx, delta, dis_buf, in dis_imul_I_E_G() 4741 delta += alen; in dis_imul_I_E_G() 7218 Int alen, size; in dis_MMX_shiftG_byE() local [all …]
|
D | guest_x86_toIR.c | 2964 Int alen; in dis_Grp4() local 3002 IRTemp addr = disAMode ( &alen, sorb, delta, dis_buf ); in dis_Grp4() 3029 delta += alen; in dis_Grp4() 3326 Int alen; in dis_mul_E_G() local 3338 IRTemp addr = disAMode( &alen, sorb, delta0, dis_buf ); in dis_mul_E_G() 3356 return alen+delta0; in dis_mul_E_G() 3368 Int d32, alen; in dis_imul_I_E_G() local 3382 IRTemp addr = disAMode( &alen, sorb, delta, dis_buf ); in dis_imul_I_E_G() 3384 delta += alen; in dis_imul_I_E_G() 5707 Int alen, size; in dis_MMX_shiftG_byE() local [all …]
|
/external/iproute2/lib/ |
D | ll_addr.c | 32 const char *ll_addr_n2a(const unsigned char *addr, int alen, int type, char *buf, int blen) in ll_addr_n2a() argument 37 if (alen == 4 && in ll_addr_n2a() 41 if (alen == 16 && type == ARPHRD_TUNNEL6) { in ll_addr_n2a() 45 for (i=0; i<alen; i++) { in ll_addr_n2a()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_gpsk.c | 148 u16 alen; in eap_gpsk_process_id_server() local 154 alen = WPA_GET_BE16(pos); in eap_gpsk_process_id_server() 156 if (end - pos < alen) { in eap_gpsk_process_id_server() 161 data->id_server = os_malloc(alen); in eap_gpsk_process_id_server() 166 os_memcpy(data->id_server, pos, alen); in eap_gpsk_process_id_server() 167 data->id_server_len = alen; in eap_gpsk_process_id_server() 170 pos += alen; in eap_gpsk_process_id_server() 523 u16 alen; in eap_gpsk_validate_pd_payload_2() local 533 alen = WPA_GET_BE16(pos); in eap_gpsk_validate_pd_payload_2() 535 if (end - pos < alen) { in eap_gpsk_validate_pd_payload_2() [all …]
|