Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 25 of 68) sorted by relevance

123

/external/mesa3d/src/glx/
Dpacksingle.h170 #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 …]
Dpackrender.h207 #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/chromium_org/third_party/mesa/src/src/glx/
Dpacksingle.h170 #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 …]
Dpackrender.h207 #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/iproute2/lib/
Dll_map.c34 unsigned short alen; member
83 int alen; in ll_remember_index() local
84 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]); in ll_remember_index()
85 if (alen > sizeof(im->addr)) in ll_remember_index()
86 alen = sizeof(im->addr); in ll_remember_index()
87 memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen); in ll_remember_index()
89 im->alen = 0; in ll_remember_index()
145 unsigned alen) in ll_index_to_addr() argument
154 if (alen > sizeof(im->addr)) in ll_index_to_addr()
155 alen = sizeof(im->addr); in ll_index_to_addr()
[all …]
Dll_addr.c32 const char *ll_addr_n2a(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()
Dlibnetlink.c554 int alen) in addattr_l() argument
556 int len = RTA_LENGTH(alen); in addattr_l()
566 memcpy(RTA_DATA(rta), data, alen); in addattr_l()
635 const void *data, int alen) in rta_addattr_l() argument
638 int len = RTA_LENGTH(alen); in rta_addattr_l()
647 memcpy(RTA_DATA(subrta), data, alen); in rta_addattr_l()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c501 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/openssl/crypto/modes/
Dccm128.c105 const unsigned char *aad,size_t alen) in CRYPTO_ccm128_aad() argument
109 if (alen==0) return; in CRYPTO_ccm128_aad()
115 if (alen<(0x10000-0x100)) { in CRYPTO_ccm128_aad()
116 ctx->cmac.c[0] ^= (u8)(alen>>8); in CRYPTO_ccm128_aad()
117 ctx->cmac.c[1] ^= (u8)alen; in CRYPTO_ccm128_aad()
120 else if (sizeof(alen)==8 && alen>=(size_t)1<<(32%(sizeof(alen)*8))) { in CRYPTO_ccm128_aad()
123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
124 ctx->cmac.c[3] ^= (u8)(alen>>(48%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
125 ctx->cmac.c[4] ^= (u8)(alen>>(40%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
126 ctx->cmac.c[5] ^= (u8)(alen>>(32%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_gpsk.c242 u16 alen; in eap_gpsk_process_gpsk_2() local
261 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2()
263 if (end - pos < alen) { in eap_gpsk_process_gpsk_2()
270 data->id_peer = os_malloc(alen); in eap_gpsk_process_gpsk_2()
273 "%d-octet ID_Peer", alen); in eap_gpsk_process_gpsk_2()
276 os_memcpy(data->id_peer, pos, alen); in eap_gpsk_process_gpsk_2()
277 data->id_peer_len = alen; in eap_gpsk_process_gpsk_2()
280 pos += alen; in eap_gpsk_process_gpsk_2()
288 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2()
290 if (end - pos < alen) { in eap_gpsk_process_gpsk_2()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
Dperfect.c196 ub4 alen, /* (a,b) has a in 0..alen-1, a power of 2 */ in initnorm() argument
203 if (phash_log2(alen)+phash_log2(blen) > UB4BITS) in initnorm()
212 mykey->a_k = state[0]&(alen-1); in initnorm()
224 alen-1, blen-1); in initnorm()
228 ub4 loga = phash_log2(alen); /* log based 2 of blen */ in initnorm()
247 UB4BITS-phash_log2(alen), blen-1); in initnorm()
252 UB4BITS-phash_log2(alen), blen-1); in initnorm()
262 ub4 alen, /* (a,b) has a in 0..alen-1, a power of 2 */ in initinl() argument
269 ub4 amask = alen-1; in initinl()
283 mykey->a_k = (alen > 1) ? (hash & amask) : 0; in initinl()
[all …]
Dperfect.h124 void findhash(bstuff **tabb, hstuff **tabh, ub4 *alen, ub4 *blen, ub4 *salt,
129 int inithex(key *keys, ub4 nkeys, ub4 alen, ub4 blen, ub4 smax, ub4 salt,
/external/valgrind/main/VEX/priv/
Dguest_amd64_toIR.c4170 Int alen; in dis_Grp4() local
4211 IRTemp addr = disAMode ( &alen, vbi, pfx, delta, dis_buf, 0 ); in dis_Grp4()
4238 delta += alen; in dis_Grp4()
4672 Int alen; in dis_mul_E_G() local
4684 IRTemp addr = disAMode( &alen, vbi, pfx, delta0, dis_buf, 0 ); in dis_mul_E_G()
4703 return alen+delta0; in dis_mul_E_G()
4717 Int alen; in dis_imul_I_E_G() local
4731 IRTemp addr = disAMode( &alen, vbi, pfx, delta, dis_buf, in dis_imul_I_E_G()
4734 delta += alen; in dis_imul_I_E_G()
7191 Int alen, size; in dis_MMX_shiftG_byE() local
[all …]
Dguest_x86_toIR.c2964 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/wpa_supplicant_8/src/eap_peer/
Deap_gpsk.c148 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 …]
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c322 size_t alen; local
363 alen = ntohs(attr->lorv);
366 if (tlen < alen) {
375 s_isakmp_cfg_type(type), alen);
439 attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen);
440 tlen -= (sizeof(*attr) + alen);
472 alen = ntohs(attrpl->h.len) - sizeof(*attrpl);
473 if ((buf = vmalloc(alen)) == NULL) {
495 size_t alen; local
548 alen = ntohs(attr->lorv);
[all …]
Disakmp_unity.c208 int alen = ntohs(attr->lorv); local
217 if (alen)
218 count = alen / sizeof(struct unity_network);
231 if (alen)
232 count = alen / sizeof(struct unity_network);
/external/openssl/crypto/dh/
Ddhtest.c103 int i,alen,blen,aout,bout,ret=1; in main() local
166 alen=DH_size(a); in main()
167 abuf=(unsigned char *)OPENSSL_malloc(alen); in main()
/external/wpa_supplicant_8/src/utils/
Dcommon.c751 int reslen, alen, i; in int_array_concat() local
755 alen = int_array_len(a); in int_array_concat()
757 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int)); in int_array_concat()
763 for (i = 0; i <= alen; i++) in int_array_concat()
784 int alen; in int_array_sort_unique() local
790 alen = int_array_len(a); in int_array_sort_unique()
791 qsort(a, alen, sizeof(int), freq_cmp); in int_array_sort_unique()
/external/chromium_org/third_party/leveldatabase/src/db/
Dc_test.c117 static int CmpCompare(void* arg, const char* a, size_t alen, in CmpCompare() argument
119 int n = (alen < blen) ? alen : blen; in CmpCompare()
122 if (alen < blen) r = -1; in CmpCompare()
123 else if (alen > blen) r = +1; in CmpCompare()
/external/openssl/crypto/ecdh/
Decdhtest.c131 int i,alen,blen,aout,bout,ret=0; in test_ecdh_curve() local
209 alen=KDF1_SHA1_len; in test_ecdh_curve()
210 abuf=(unsigned char *)OPENSSL_malloc(alen); in test_ecdh_curve()
211 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1); in test_ecdh_curve()
/external/ltrace/testsuite/ltrace.main/
Dparameters-lib.c103 int alen; member
119 for (i = 0; i < x->alen; i++) { in func_struct()
121 if (i < x->alen - 1) in func_struct()
/external/libnl/lib/
Dmsg.c932 int padlen, alen = nla_len(nla); in dump_attrs() local
937 alen); in dump_attrs()
940 dump_attrs(ofd, nla_data(nla), alen, prefix+1); in dump_attrs()
942 dump_hex(ofd, nla_data(nla), alen, prefix); in dump_attrs()
944 padlen = nla_padlen(alen); in dump_attrs()
949 dump_hex(ofd, nla_data(nla) + alen, in dump_attrs()
/external/tcpdump/
Dprint-bgp.c2149 u_int aflags, atype, alenlen, alen; in bgp_attr_print() local
2162 alen = bgp_attr_len(aflags, tptr); in bgp_attr_print()
2171 alen); in bgp_attr_print()
2184 if (!bgp_attr_print(atype, tptr, alen)) in bgp_attr_print()
2186 tptr += alen; in bgp_attr_print()
2187 len -= alen; in bgp_attr_print()
2442 int aflags, atype, alenlen, alen; in bgp_update_print() local
2460 alen = bgp_attr_len(aflags, p); in bgp_update_print()
2470 alen); in bgp_update_print()
2482 if (len < alen) in bgp_update_print()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/dh/
Ddh_test.c94 int i, alen, blen, aout, bout, ret = 1; in main() local
155 alen = DH_size(a); in main()
156 abuf = (unsigned char *)OPENSSL_malloc(alen); in main()

123