/external/mesa3d/src/glx/ |
H A D | packsingle.h | 121 #define __GLX_SINGLE_GET_VOID_ARRAY(a,alen) \ 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) \ 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) \ 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) \ [all...] |
H A D | packrender.h | 187 #define __GLX_PUT_CHAR_ARRAY(offset,a,alen) \ 188 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT8) 190 #define __GLX_PUT_SHORT_ARRAY(offset,a,alen) \ 191 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT16) 193 #define __GLX_PUT_LONG_ARRAY(offset,a,alen) \ 194 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT32) 196 #define __GLX_PUT_FLOAT_ARRAY(offset,a,alen) \ 197 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT32) 199 #define __GLX_PUT_DOUBLE_ARRAY(offset,a,alen) \ 200 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT6 [all...] |
/external/strace/tests/ |
H A D | sendfile64.c | 71 const unsigned int alen = file_size - blen; local 89 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) 90 == (long) alen); 92 sv[1], reg_in, alen, alen); 94 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) 95 == (long) alen); 97 sv[1], reg_in, alen, alen, alen); [all...] |
H A D | sendfile.c | 71 const unsigned int alen = file_size - blen; local 89 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) 90 == (long) alen); 92 sv[1], reg_in, alen, alen); 95 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { 97 sv[1], reg_in, (unsigned long) p_off, alen); 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) 101 == (long) alen); [all...] |
/external/strace/tests-m32/ |
H A D | sendfile64.c | 71 const unsigned int alen = file_size - blen; local 89 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) 90 == (long) alen); 92 sv[1], reg_in, alen, alen); 94 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) 95 == (long) alen); 97 sv[1], reg_in, alen, alen, alen); [all...] |
H A D | sendfile.c | 71 const unsigned int alen = file_size - blen; local 89 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) 90 == (long) alen); 92 sv[1], reg_in, alen, alen); 95 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { 97 sv[1], reg_in, (unsigned long) p_off, alen); 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) 101 == (long) alen); [all...] |
/external/strace/tests-mx32/ |
H A D | sendfile64.c | 71 const unsigned int alen = file_size - blen; local 89 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) 90 == (long) alen); 92 sv[1], reg_in, alen, alen); 94 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) 95 == (long) alen); 97 sv[1], reg_in, alen, alen, alen); [all...] |
H A D | sendfile.c | 71 const unsigned int alen = file_size - blen; local 89 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) 90 == (long) alen); 92 sv[1], reg_in, alen, alen); 95 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { 97 sv[1], reg_in, (unsigned long) p_off, alen); 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) 101 == (long) alen); [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
H A D | test_arrays.py | 19 alen = len(init) 20 int_array = ARRAY(fmt, alen) 24 self.assertEqual(len(ia), alen) 27 values = [ia[i] for i in range(alen)] 31 with self.assertRaises(IndexError): ia[alen] 32 with self.assertRaises(IndexError): ia[-alen-1] 36 new_values = range(42, 42+alen) 37 [setitem(ia, n, new_values[n]) for n in range(alen)] 38 values = [ia[i] for i in range(alen)] 43 values = [ia[i] for i in range(alen)] [all...] |
/external/syslinux/com32/lib/syslinux/ |
H A D | floadfile.c | 50 size_t alen, clen, rlen, xlen; local 52 clen = alen = 0; 61 clen = alen = prefix_len; 70 alen += INCREMENTAL_CHUNK; 71 dp = realloc(data, alen); 76 rlen = fread((char *)data + clen, 1, alen - clen, f); 78 } while (clen == alen);
|
/external/syslinux/com32/libupload/ |
H A D | upload_srec.c | 12 static int write_srecord(unsigned int len, unsigned int alen, argument 21 switch (alen) { 32 csum = (len+alen+1) + addr + (addr >> 8) + (addr >> 16) + (addr >> 24); 37 p += sprintf(p, "S%c%02X%0*X", type, len+alen+1, alen*2, addr);
|
/external/python/cpython3/Lib/ctypes/test/ |
H A D | test_arrays.py | 19 alen = len(init) 20 int_array = ARRAY(fmt, alen) 24 self.assertEqual(len(ia), alen) 27 values = [ia[i] for i in range(alen)] 31 with self.assertRaises(IndexError): ia[alen] 32 with self.assertRaises(IndexError): ia[-alen-1] 36 new_values = list(range(42, 42+alen)) 37 [setitem(ia, n, new_values[n]) for n in range(alen)] 38 values = [ia[i] for i in range(alen)] 43 values = [ia[i] for i in range(alen)] [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_sim_common.c | 499 size_t alen, plen, i, list_len; local 526 alen = pos[1] * 4 - 2; 528 apos, alen); 534 alen -= 2; 535 if ((!aka && (alen % GSM_RAND_LEN)) || 536 (aka && alen != EAP_AKA_RAND_LEN)) { 539 (unsigned long) alen); 543 attr->num_chal = alen / GSM_RAND_LEN; 553 alen -= 2; 554 if (alen ! [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_sim_common.c | 499 size_t alen, plen, i, list_len; local 526 alen = pos[1] * 4 - 2; 528 apos, alen); 534 alen -= 2; 535 if ((!aka && (alen % GSM_RAND_LEN)) || 536 (aka && alen != EAP_AKA_RAND_LEN)) { 539 (unsigned long) alen); 543 attr->num_chal = alen / GSM_RAND_LEN; 553 alen -= 2; 554 if (alen ! [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_sim_common.c | 499 size_t alen, plen, i, list_len; local 526 alen = pos[1] * 4 - 2; 528 apos, alen); 534 alen -= 2; 535 if ((!aka && (alen % GSM_RAND_LEN)) || 536 (aka && alen != EAP_AKA_RAND_LEN)) { 539 (unsigned long) alen); 543 attr->num_chal = alen / GSM_RAND_LEN; 553 alen -= 2; 554 if (alen ! [all...] |
/external/iproute2/lib/ |
H A D | mpls_pton.c | 45 int mpls_pton(int af, const char *src, void *addr, size_t alen) argument 47 unsigned int maxlabels = alen / sizeof(struct mpls_label);
|
H A D | ll_addr.c | 31 const char *ll_addr_n2a(const unsigned char *addr, int alen, int type, char *buf, int blen) argument 36 if (alen == 4 && 40 if (alen == 16 && type == ARPHRD_TUNNEL6) { 44 for (i = 1, l = 2; i < alen && l < blen; i++, l += 3)
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_gpsk.c | 244 u16 alen; local 263 alen = WPA_GET_BE16(pos); 265 if (end - pos < alen) { 272 data->id_peer = os_memdup(pos, alen); 275 "%d-octet ID_Peer", alen); 278 data->id_peer_len = alen; 281 pos += alen; 289 alen = WPA_GET_BE16(pos); 291 if (end - pos < alen) { 297 if (alen ! 476 u16 alen; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_gpsk.c | 244 u16 alen; local 263 alen = WPA_GET_BE16(pos); 265 if (end - pos < alen) { 272 data->id_peer = os_memdup(pos, alen); 275 "%d-octet ID_Peer", alen); 278 data->id_peer_len = alen; 281 pos += alen; 289 alen = WPA_GET_BE16(pos); 291 if (end - pos < alen) { 297 if (alen ! 476 u16 alen; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_gpsk.c | 244 u16 alen; local 263 alen = WPA_GET_BE16(pos); 265 if (end - pos < alen) { 272 data->id_peer = os_memdup(pos, alen); 275 "%d-octet ID_Peer", alen); 278 data->id_peer_len = alen; 281 pos += alen; 289 alen = WPA_GET_BE16(pos); 291 if (end - pos < alen) { 297 if (alen ! 476 u16 alen; local [all...] |
/external/toybox/toys/pending/ |
H A D | host.c | 71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0; local 131 alen = recv(s, abuf, sizeof abuf, 0); 132 } else alen = res_send(qbuf, qlen, abuf, sizeof abuf); 134 if (alen < 12) error_exit("Host not found."); 154 p += dn_expand(abuf, abuf+alen, p, rrname, sizeof(rrname)); 168 dn_expand(abuf, abuf+alen, p, plname, sizeof plname); 174 i = dn_expand(abuf, abuf+alen, p, plname, sizeof plname - 1); 176 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname), 191 dn_expand(abuf, abuf+alen, p+2, plname+strlen(plname), 197 dn_expand(abuf, abuf+alen, [all...] |
/external/libnfnetlink/src/ |
H A D | iftable.c | 32 u_int32_t alen; member in struct:ifindex_node 90 unsigned int alen; local 91 this->alen = alen = RTA_PAYLOAD(cb[IFLA_ADDRESS]); 92 if (alen > sizeof(this->addr)) 93 alen = sizeof(this->addr); 94 memcpy(this->addr, RTA_DATA(cb[IFLA_ADDRESS]), alen); 96 this->alen = 0;
|
/external/valgrind/VEX/priv/ |
H A D | guest_amd64_toIR.c | 4287 Int alen; local 4328 IRTemp addr = disAMode ( &alen, vbi, pfx, delta, dis_buf, 0 ); 4355 delta += alen; 4789 Int alen; local 4801 IRTemp addr = disAMode( &alen, vbi, pfx, delta0, dis_buf, 0 ); 4820 return alen+delta0; 4834 Int alen; local 4848 IRTemp addr = disAMode( &alen, vbi, pfx, delta, dis_buf, 4851 delta += alen; 7329 Int alen, siz local 8908 Int alen; local 8976 Int alen; local 9012 Int alen; local 9050 Int alen; local 9092 Int alen; local 9136 Int alen; local 9181 Int alen; local 9348 Int alen; local 9423 Int alen, size; local 10178 Int alen = 0; local 10221 Int alen = 0; local 10266 Int alen = 0; local 10311 Int alen = 0; local 10448 Int alen = 0; local 10496 Int alen = 0; local 10547 Int alen = 0; local 10582 Int alen = 0; local 10623 Int alen = 0; local 10668 Int alen = 0; local 10718 Int alen = 0; local 10770 Int alen = 0; local 10825 Int alen = 0; local 10879 Int alen = 0; local 10927 Int alen = 0; local 11454 Int alen = 0; local 11509 Int alen = 0; local 11595 Int alen = 0; local 11630 Int alen = 0; local 11662 Int alen = 0; local 11852 Int alen = 0; local 11896 Int alen = 0; local 12107 Int alen = 0; local 12177 Int alen = 0; local 12460 Int alen = 0; local 15227 Int alen = 0; local 15257 Int alen = 0; local 15289 Int alen = 0; local 15323 Int alen = 0; local 15404 Int alen = 0; local 15693 Int alen = 0; local 15767 Int alen = 0; local 15885 Int alen = 0; local 16405 Int alen = 0; local 16532 Int alen = 0; local 16783 Int alen = 0; local 16822 Int alen = 0; local 16961 Int alen = 0; local 17014 Int alen = 0; local 17072 Int alen = 0; local 17115 Int alen = 0; local 17155 Int alen = 0; local 17194 Int alen = 0; local 17233 Int alen = 0; local 17265 Int alen = 0; local 17301 Int alen = 0; local 17337 Int alen = 0; local 17377 Int alen = 0; local 17424 Int alen = 0; local 17477 Int alen = 0; local 17520 Int alen = 0; local 17567 Int alen = 0; local 17600 Int alen = 0; local 17646 Int alen = 0; local 17685 Int alen = 0; local 17729 Int alen = 0; local 17769 Int alen = 0; local 17861 Int alen = 0; local 17930 Int alen = 0; local 18460 Int alen = 0; local 18515 Int alen = 0; local 18564 Int alen = 0; local 18750 Int alen = 0; local 18996 Int alen = 0; local 19172 Int alen = 0; local 19252 Int alen = 0; local 19950 Int alen = 0; local 21675 Int alen = 0; local 22646 Int alen = 0; local 22812 Int alen = 0; local 22897 Int alen, size; local 22971 Int alen, size; local 23047 Int alen, size, i; local 23278 Int alen; local 23321 Int alen; local 23368 Int alen; local 23415 Int alen; local 23473 Int alen; local 23583 Int alen; local 23652 Int alen; local 23684 Int alen; local 23731 Int alen = 0; local 23833 Int alen; local 23865 Int alen; local 23893 Int alen = 0; local 23929 Int alen = 0; local 24063 Int alen = 0; local 27677 Int alen; local 27718 Int alen = 0; local 27862 Int alen, i; local 27932 Int alen, i, vscale, count1, count2; local 28034 Int alen = 0; local 30244 Int alen = 0; local 30400 Int alen = 0; local [all...] |
H A D | guest_x86_toIR.c | 2966 Int alen; local 3004 IRTemp addr = disAMode ( &alen, sorb, delta, dis_buf ); 3031 delta += alen; 3328 Int alen; local 3340 IRTemp addr = disAMode( &alen, sorb, delta0, dis_buf ); 3358 return alen+delta0; 3370 Int d32, alen; local 3384 IRTemp addr = disAMode( &alen, sorb, delta, dis_buf ); 3386 delta += alen; 5709 Int alen, siz local 7001 Int alen; local 7064 Int alen; local 7099 Int alen; local 7136 Int alen; local 7177 Int alen; local 7220 Int alen; local 7264 Int alen; local 7348 Int alen, imm8; local 7411 Int alen, size; local 8086 Int alen; local [all...] |
/external/iproute2/include/ |
H A D | rt_names.h | 25 const char *ll_addr_n2a(const unsigned char *addr, int alen,
|