/bootable/bootloader/legacy/libc/ |
strstr.c | 34 int l2 = strlen(s2); local 36 while (l1 >= l2) { 37 if (memcmp(s1, s2, l2) == 0) {
|
/external/clang/test/CodeGen/ |
libcalls.c | 21 long double l2 = sqrtl(a2); local 44 long double l2 = powl(a2, a2); local 67 long double l2 = fmal(a2, a2, a2); local
|
/external/dropbear/libtomcrypt/testprof/ |
base64_test.c | 6 unsigned long x, l1, l2; local 12 l2 = sizeof(tmp); 13 DO(base64_decode(out, l1, tmp, &l2)); 14 if (l2 != x || memcmp(tmp, in, x)) { 15 fprintf(stderr, "base64 failed %lu %lu %lu", x, l1, l2);
|
pkcs_1_test.c | 9 unsigned long x, y, l1, l2, l3, i1, i2, lparamlen, saltlen, modlen; local 44 l2 = sizeof(buf[2]); 45 DO(pkcs_1_oaep_decode(buf[1], l1, lparam, lparamlen, modlen, hash_idx, buf[2], &l2, &res1)); 47 if (res1 != 1 || l2 != l3 || memcmp(buf[2], buf[0], l3) != 0) { 48 fprintf(stderr, "Outsize == %lu, should have been %lu, res1 = %d, lparamlen = %lu, msg contents follow.\n", l2, l3, res1, lparamlen); 54 for (x = 0; x < l2; x++) {
|
/external/libffi/testsuite/libffi.call/ |
return_sl.c | 9 static long return_sl(long l1, long l2) 11 return l1 - l2; 20 unsigned long l1, l2; local 25 values[1] = &l2; 31 l2 = 1073741824L; 34 printf("res: %ld, %ld\n", (long)res, l1 - l2);
|
/external/clang/test/CXX/over/over.match/over.match.best/over.ics.rank/ |
p3-0x.cpp | 16 float &l2 = g2(f2()); member in namespace:std_example
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
Locator2Impl.java | 52 Locator2 l2 = (Locator2) locator; local 54 version = l2.getXMLVersion (); 55 encoding = l2.getEncoding ();
|
/external/openssl/crypto/x509/ |
x509_obj.c | 70 int n,lold,l,l1,l2,num,j,type; local 148 for (l2=j=0; j<num; j++) 151 l2++; 153 if ((q[j] < ' ') || (q[j] > '~')) l2+=3; 156 (os_toascii[q[j]] > os_toascii['~'])) l2+=3; 161 l+=1+l1+1+l2;
|
/external/wpa_supplicant/ |
l2_packet_none.c | 36 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 38 os_memcpy(addr, l2->own_addr, ETH_ALEN); 43 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 46 if (l2 == NULL) 51 * whether l2->l2_hdr is set). 60 struct l2_packet_data *l2 = eloop_ctx; local 68 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */, 79 struct l2_packet_data *l2; local 81 l2 = os_zalloc(sizeof(struct l2_packet_data)) [all...] |
l2_packet_linux.c | 38 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 40 os_memcpy(addr, l2->own_addr, ETH_ALEN); 45 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 49 if (l2 == NULL) 51 if (l2->l2_hdr) { 52 ret = send(l2->fd, buf, len, 0); 59 ll.sll_ifindex = l2->ifindex; 63 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll, 74 struct l2_packet_data *l2 = eloop_ctx; local 89 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res) 99 struct l2_packet_data *l2; local [all...] |
preauth_test.c | 239 struct l2_packet_data *l2; local 274 l2 = l2_packet_init(wpa_s->ifname, NULL, ETH_P_RSN_PREAUTH, NULL, 276 assert(l2 != NULL); 277 if (l2_packet_get_own_addr(l2, wpa_s->own_addr)) { 278 wpa_printf(MSG_WARNING, "Failed to get own L2 address\n"); 281 l2_packet_deinit(l2);
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_none.c | 36 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 38 os_memcpy(addr, l2->own_addr, ETH_ALEN); 43 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 46 if (l2 == NULL) 51 * whether l2->l2_hdr is set). 60 struct l2_packet_data *l2 = eloop_ctx; local 68 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */, 79 struct l2_packet_data *l2; local 81 l2 = os_zalloc(sizeof(struct l2_packet_data)) [all...] |
l2_packet_linux.c | 38 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 40 os_memcpy(addr, l2->own_addr, ETH_ALEN); 45 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 49 if (l2 == NULL) 51 if (l2->l2_hdr) { 52 ret = send(l2->fd, buf, len, 0); 59 ll.sll_ifindex = l2->ifindex; 63 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll, 74 struct l2_packet_data *l2 = eloop_ctx; local 89 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res) 99 struct l2_packet_data *l2; local [all...] |
l2_packet_privsep.c | 35 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, 49 msg.msg_name = &l2->priv_addr; 50 msg.msg_namelen = sizeof(l2->priv_addr); 52 if (sendmsg(l2->fd, &msg, 0) < 0) { 53 perror("L2: sendmsg(cmd)"); 61 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 63 os_memcpy(addr, l2->own_addr, ETH_ALEN); 68 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 87 msg.msg_name = &l2->priv_addr; 88 msg.msg_namelen = sizeof(l2->priv_addr) 101 struct l2_packet_data *l2 = eloop_ctx; local 138 struct l2_packet_data *l2; local [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_none.c | 36 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 38 os_memcpy(addr, l2->own_addr, ETH_ALEN); 43 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 46 if (l2 == NULL) 51 * whether l2->l2_hdr is set). 60 struct l2_packet_data *l2 = eloop_ctx; local 68 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */, 79 struct l2_packet_data *l2; local 81 l2 = os_zalloc(sizeof(struct l2_packet_data)) [all...] |
l2_packet_linux.c | 38 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 40 os_memcpy(addr, l2->own_addr, ETH_ALEN); 45 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 49 if (l2 == NULL) 51 if (l2->l2_hdr) { 52 ret = send(l2->fd, buf, len, 0); 60 ll.sll_ifindex = l2->ifindex; 64 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll, 77 struct l2_packet_data *l2 = eloop_ctx; local 93 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res) 103 struct l2_packet_data *l2; local [all...] |
l2_packet_privsep.c | 35 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, 49 msg.msg_name = &l2->priv_addr; 50 msg.msg_namelen = sizeof(l2->priv_addr); 52 if (sendmsg(l2->fd, &msg, 0) < 0) { 53 perror("L2: sendmsg(cmd)"); 61 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) 63 os_memcpy(addr, l2->own_addr, ETH_ALEN); 68 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, 87 msg.msg_name = &l2->priv_addr; 88 msg.msg_namelen = sizeof(l2->priv_addr) 101 struct l2_packet_data *l2 = eloop_ctx; local 138 struct l2_packet_data *l2; local [all...] |
/external/elfutils/libdw/ |
dwarf_getloclist.c | 40 const struct loc_s *l2 = (const struct loc_s *) p2; local 42 if ((uintptr_t) l1->addr < (uintptr_t) l2->addr) 44 if ((uintptr_t) l1->addr > (uintptr_t) l2->addr)
|
/external/webkit/Source/JavaScriptCore/runtime/ |
UString.cpp | 239 const unsigned l2 = s2.length(); local 240 const unsigned lmin = l1 < l2 ? l1 : l2; 252 return (l1 < l2); 258 const unsigned l2 = s2.length(); 259 const unsigned lmin = l1 < l2 ? l1 : l2; 271 return (l1 > l2);
|
/external/wpa_supplicant_8/src/ap/ |
preauth_auth.c | 41 struct l2_packet_data *l2; member in struct:rsn_preauth_interface 119 piface->l2 = l2_packet_init(piface->ifname, NULL, ETH_P_PREAUTH, 121 if (piface->l2 == NULL) { 148 l2_packet_deinit(prev->l2); 265 if (l2_packet_send(piface->l2, sta->addr, ETH_P_PREAUTH, (u8 *) ethhdr,
|
/system/extras/tests/bionic/libstdc++/ |
test_climits.cpp | 61 volatile long l2 = LONG_MIN; local
|
/external/e2fsprogs/intl/ |
localcharset.c | 149 size_t l1, l2; local 172 l2 = strlen (buf2); 175 res_size = l1 + 1 + l2 + 1; 180 res_size += l1 + 1 + l2 + 1; 189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); 190 strcpy (res_ptr + res_size - (l2 + 1), buf2);
|
/external/icu4c/test/intltest/ |
aliastst.cpp | 71 const char* l2 = c2->getLocaleID(ULOC_VALID_LOCALE, status); local 75 if (strcmp(l1, l2)!=0) { 76 errln("CalendarTest: l1!=l2: l1= "+UnicodeString(l1) +" l2= "+UnicodeString(l2)); 81 logln("Calendar(getLocale) old:"+UnicodeString(l1)+" new:"+UnicodeString(l2)); 104 const char* l2 = df2->getLocaleID(ULOC_VALID_LOCALE, status); local 108 if (strcmp(l1, l2)!=0) { 109 errln("TestDateFormat: l1!=l2: l1= "+UnicodeString(l1) +" l2= "+UnicodeString(l2)) 137 Locale l2 = c2->getLocale(ULOC_VALID_LOCALE, status); local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
preauth_test.c | 232 struct l2_packet_data *l2; local 266 l2 = l2_packet_init(wpa_s->ifname, NULL, ETH_P_RSN_PREAUTH, NULL, 268 assert(l2 != NULL); 269 if (l2_packet_get_own_addr(l2, wpa_s->own_addr)) { 270 wpa_printf(MSG_WARNING, "Failed to get own L2 address\n"); 273 l2_packet_deinit(l2);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
preauth_test.c | 233 struct l2_packet_data *l2; local 268 l2 = l2_packet_init(wpa_s->ifname, NULL, ETH_P_RSN_PREAUTH, NULL, 270 assert(l2 != NULL); 271 if (l2_packet_get_own_addr(l2, wpa_s->own_addr)) { 272 wpa_printf(MSG_WARNING, "Failed to get own L2 address\n"); 275 l2_packet_deinit(l2);
|