/system/core/libcutils/ |
socket_local.h | 37 struct sockaddr_un *p_addr, socklen_t *alen);
|
socket_local_server.c | 56 socklen_t alen; local 60 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 80 if(bind(s, (struct sockaddr *) &addr, alen) < 0) {
|
socket_local_client.c | 46 struct sockaddr_un *p_addr, socklen_t *alen) 111 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; 128 socklen_t alen; local 132 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 138 if(connect(fd, (struct sockaddr *) &addr, alen) < 0) {
|
socket_inaddr_any_server.c | 39 size_t alen; local
|
socket_loopback_client.c | 40 socklen_t alen; local
|
socket_loopback_server.c | 39 size_t alen; local
|
socket_network_client.c | 43 socklen_t alen; local
|
/external/iproute2/lib/ |
ll_map.c | 34 unsigned short alen; member in struct:ll_cache 83 int alen; local 84 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]); 85 if (alen > sizeof(im->addr)) 86 alen = sizeof(im->addr); 87 memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen); 89 im->alen = 0; 145 unsigned alen) 154 if (alen > sizeof(im->addr) [all...] |
ll_addr.c | 32 const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen) 37 if (alen == 4 && 41 if (alen == 16 && type == ARPHRD_TUNNEL6) { 45 for (i=0; i<alen; i++) {
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
packsingle.h | 170 #define __GLX_SINGLE_GET_VOID_ARRAY(a,alen) \ 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) \ 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) \ 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) \ [all...] |
packrender.h | 207 #define __GLX_PUT_CHAR_ARRAY(offset,a,alen) \ 208 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT8) 211 #define __GLX_PUT_SHORT_ARRAY(offset,a,alen) \ 212 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT16) 214 #define __GLX_PUT_LONG_ARRAY(offset,a,alen) \ 215 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT32) 217 #define __GLX_PUT_FLOAT_ARRAY(offset,a,alen) \ 218 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT32) 220 #define __GLX_PUT_DOUBLE_ARRAY(offset,a,alen) \ 221 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT64 [all...] |
/external/mesa3d/src/glx/ |
packsingle.h | 170 #define __GLX_SINGLE_GET_VOID_ARRAY(a,alen) \ 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) \ 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) \ 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) \ [all...] |
packrender.h | 207 #define __GLX_PUT_CHAR_ARRAY(offset,a,alen) \ 208 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT8) 211 #define __GLX_PUT_SHORT_ARRAY(offset,a,alen) \ 212 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT16) 214 #define __GLX_PUT_LONG_ARRAY(offset,a,alen) \ 215 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT32) 217 #define __GLX_PUT_FLOAT_ARRAY(offset,a,alen) \ 218 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT32) 220 #define __GLX_PUT_DOUBLE_ARRAY(offset,a,alen) \ 221 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT64 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_arrays.py | 17 alen = len(init) 18 int_array = ARRAY(fmt, alen) 22 self.assertEqual(len(ia), alen) 30 new_values = range(42, 42+alen) 31 [setitem(ia, n, new_values[n]) for n in range(alen)] 41 self.assertRaises(IndexError, int_array, *range(alen*2)) 69 alen = 5 71 numarray = ARRAY(c_int, alen) 74 values = [na[i] for i in range(alen)] 75 self.assertEqual(values, [0] * alen) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_arrays.py | 17 alen = len(init) 18 int_array = ARRAY(fmt, alen) 22 self.assertEqual(len(ia), alen) 30 new_values = range(42, 42+alen) 31 [setitem(ia, n, new_values[n]) for n in range(alen)] 41 self.assertRaises(IndexError, int_array, *range(alen*2)) 69 alen = 5 71 numarray = ARRAY(c_int, alen) 74 values = [na[i] for i in range(alen)] 75 self.assertEqual(values, [0] * alen) [all...] |
/external/iproute2/include/ |
ll_map.h | 13 unsigned alen);
|
rt_names.h | 24 const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.c | 501 size_t alen, plen, i, list_len; local 528 alen = pos[1] * 4 - 2; 530 apos, alen); 536 alen -= 2; 537 if ((!aka && (alen % GSM_RAND_LEN)) || 538 (aka && alen != EAP_AKA_RAND_LEN)) { 541 (unsigned long) alen); 545 attr->num_chal = alen / GSM_RAND_LEN; 555 alen -= 2; 556 if (alen != EAP_AKA_AUTN_LEN) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/modes/ |
ccm128.c | 105 const unsigned char *aad,size_t alen) 109 if (alen==0) return; 115 if (alen<(0x10000-0x100)) { 116 ctx->cmac.c[0] ^= (u8)(alen>>8); 117 ctx->cmac.c[1] ^= (u8)alen; 120 else if (sizeof(alen)==8 && alen>=(size_t)1<<(32%(sizeof(alen)*8))) { 123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8))) [all...] |
/external/openssl/crypto/modes/ |
ccm128.c | 105 const unsigned char *aad,size_t alen) 109 if (alen==0) return; 115 if (alen<(0x10000-0x100)) { 116 ctx->cmac.c[0] ^= (u8)(alen>>8); 117 ctx->cmac.c[1] ^= (u8)alen; 120 else if (sizeof(alen)==8 && alen>=(size_t)1<<(32%(sizeof(alen)*8))) { 123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8))) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gpsk.c | 242 u16 alen; local 261 alen = WPA_GET_BE16(pos); 263 if (end - pos < alen) { 270 data->id_peer = os_malloc(alen); 273 "%d-octet ID_Peer", alen); 276 os_memcpy(data->id_peer, pos, alen); 277 data->id_peer_len = alen; 280 pos += alen; 288 alen = WPA_GET_BE16(pos); 290 if (end - pos < alen) { 460 u16 alen; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
perfect.c | 26 The key is hashed to a pair (a,b) where a in 0..*alen*-1 and b in 196 ub4 alen, /* (a,b) has a in 0..alen-1, a power of 2 */ 203 if (phash_log2(alen)+phash_log2(blen) > UB4BITS) 212 mykey->a_k = state[0]&(alen-1); 224 alen-1, blen-1); 228 ub4 loga = phash_log2(alen); /* log based 2 of blen */ 247 UB4BITS-phash_log2(alen), blen-1); 252 UB4BITS-phash_log2(alen), blen-1); 262 ub4 alen, /* (a,b) has a in 0..alen-1, a power of 2 * [all...] |
perfect.h | 124 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/ |
guest_amd64_toIR.c | 4006 Int alen; local 4457 Int alen; local 4502 Int alen; local 6847 Int alen, size; local 8304 Int alen; local 8359 Int alen; local 8395 Int alen; local 8433 Int alen; local 8466 Int alen; local 8510 Int alen; local 8555 Int alen; local 8709 Int alen; local 8784 Int alen, size; local 9512 Int alen = 0; local 9555 Int alen = 0; local 9600 Int alen = 0; local 9741 Int alen = 0; local 9789 Int alen = 0; local 9840 Int alen = 0; local 9875 Int alen = 0; local 9916 Int alen = 0; local 9961 Int alen = 0; local 10011 Int alen = 0; local 10063 Int alen = 0; local 10118 Int alen = 0; local 10172 Int alen = 0; local 10220 Int alen = 0; local 10677 Int alen = 0; local 10770 Int alen = 0; local 10805 Int alen = 0; local 10837 Int alen = 0; local 11131 Int alen = 0; local 14027 Int alen = 0; local 14057 Int alen = 0; local 14089 Int alen = 0; local 14123 Int alen = 0; local 14200 Int alen = 0; local 14474 Int alen = 0; local 14576 Int alen = 0; local 15096 Int alen = 0; local 15223 Int alen = 0; local 15414 Int alen = 0; local 15453 Int alen = 0; local 15592 Int alen = 0; local 15645 Int alen = 0; local 15703 Int alen = 0; local 15745 Int alen = 0; local 15784 Int alen = 0; local 15817 Int alen = 0; local 15854 Int alen = 0; local 15901 Int alen = 0; local 15944 Int alen = 0; local 15977 Int alen = 0; local 16015 Int alen = 0; local 16055 Int alen = 0; local 16149 Int alen = 0; local 16220 Int alen = 0; local 16731 Int alen = 0; local 16786 Int alen = 0; local 16835 Int alen = 0; local 16890 Int alen = 0; local 17118 Int alen = 0; local 17287 Int alen = 0; local 17367 Int alen = 0; local 18065 Int alen = 0; local 19667 Int alen = 0; local 20460 Int alen = 0; local 20593 Int alen = 0; local 20669 Int alen, size; local 20808 Int alen; local 20851 Int alen; local 20898 Int alen; local 20945 Int alen; local 21003 Int alen; local 21113 Int alen; local 21182 Int alen; local 21214 Int alen; local 21255 Int alen = 0; local 21332 Int alen; local 21360 Int alen = 0; local 21396 Int alen = 0; local 21444 Int alen = 0; local 24534 Int alen = 0; local 25278 Int alen = 0; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
dhtest.c | 103 int i,alen,blen,aout,bout,ret=1; local 166 alen=DH_size(a); 167 abuf=(unsigned char *)OPENSSL_malloc(alen);
|