Searched refs:l2 (Results 1 - 25 of 473) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dconst-label-addr.c10 // CHECK: @b.ar = internal global {{.*}} sub (i{{..}} ptrtoint (i8* blockaddress(@b, %l2) to i{{..}}), i{{..}} ptrtoint (i8* blockaddress(@b, %l1) to i{{..}}))
12 static int ar = &&l2 - &&l1;
15 l2:
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_none.c30 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
32 os_memcpy(addr, l2->own_addr, ETH_ALEN);
37 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
40 if (l2 == NULL)
45 * whether l2->l2_hdr is set).
54 struct l2_packet_data *l2 = eloop_ctx; local
62 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */,
73 struct l2_packet_data *l2; local
75 l2
106 l2_packet_deinit(struct l2_packet_data *l2) argument
120 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
127 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
133 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_winpcap.c65 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
67 os_memcpy(addr, l2->own_addr, ETH_ALEN);
72 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
78 if (l2 == NULL)
81 if (l2->l2_hdr) {
82 ret = pcap_sendpacket(l2->pcap, buf, len);
90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
105 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
112 if (l2
130 struct l2_packet_data *l2 = arg; local
153 struct l2_packet_data *l2 = eloop_data; local
161 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
204 struct l2_packet_data *l2; local
265 struct l2_packet_data *l2 = eloop_ctx; local
285 l2_packet_deinit(struct l2_packet_data *l2) argument
307 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
343 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
[all...]
H A Dl2_packet_pcap.c43 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
45 os_memcpy(addr, l2->own_addr, ETH_ALEN);
51 static int l2_packet_init_libdnet(struct l2_packet_data *l2) argument
55 l2->eth = eth_open(l2->ifname);
56 if (!l2->eth) {
59 l2->ifname, strerror(errno));
63 if (eth_get(l2->eth, &own_addr) < 0) {
66 l2->ifname, strerror(errno));
67 eth_close(l2
78 l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, const u8 *buf, size_t len) argument
120 struct l2_packet_data *l2 = eloop_ctx; local
150 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
177 struct l2_packet_data *l2 = eloop_ctx; local
197 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
285 struct l2_packet_data *l2; local
327 l2_packet_deinit(struct l2_packet_data *l2) argument
345 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
381 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
396 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_privsep.c29 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, argument
43 msg.msg_name = &l2->priv_addr;
44 msg.msg_namelen = sizeof(l2->priv_addr);
46 if (sendmsg(l2->fd, &msg, 0) < 0) {
55 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
57 os_memcpy(addr, l2->own_addr, ETH_ALEN);
62 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
81 msg.msg_name = &l2->priv_addr;
82 msg.msg_namelen = sizeof(l2->priv_addr);
84 if (sendmsg(l2
96 struct l2_packet_data *l2 = eloop_ctx; local
134 struct l2_packet_data *l2; local
246 l2_packet_deinit(struct l2_packet_data *l2) argument
266 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
273 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
279 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_linux.c88 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
90 os_memcpy(addr, l2->own_addr, ETH_ALEN);
95 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
102 if (l2 == NULL)
104 if (l2->l2_hdr) {
105 ret = send(l2->fd, buf, len, 0);
113 ll.sll_ifindex = l2->ifindex;
117 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll,
130 struct l2_packet_data *l2 = eloop_ctx; local
150 if (l2
198 struct l2_packet_data *l2 = eloop_ctx; local
254 struct l2_packet_data *l2; local
322 struct l2_packet_data *l2; local
400 l2_packet_deinit(struct l2_packet_data *l2) argument
421 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
454 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
459 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_none.c30 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
32 os_memcpy(addr, l2->own_addr, ETH_ALEN);
37 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
40 if (l2 == NULL)
45 * whether l2->l2_hdr is set).
54 struct l2_packet_data *l2 = eloop_ctx; local
62 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */,
73 struct l2_packet_data *l2; local
75 l2
106 l2_packet_deinit(struct l2_packet_data *l2) argument
120 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
127 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
133 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_winpcap.c65 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
67 os_memcpy(addr, l2->own_addr, ETH_ALEN);
72 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
78 if (l2 == NULL)
81 if (l2->l2_hdr) {
82 ret = pcap_sendpacket(l2->pcap, buf, len);
90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
105 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
112 if (l2
130 struct l2_packet_data *l2 = arg; local
153 struct l2_packet_data *l2 = eloop_data; local
161 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
204 struct l2_packet_data *l2; local
265 struct l2_packet_data *l2 = eloop_ctx; local
285 l2_packet_deinit(struct l2_packet_data *l2) argument
307 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
343 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
[all...]
H A Dl2_packet_pcap.c43 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
45 os_memcpy(addr, l2->own_addr, ETH_ALEN);
51 static int l2_packet_init_libdnet(struct l2_packet_data *l2) argument
55 l2->eth = eth_open(l2->ifname);
56 if (!l2->eth) {
59 l2->ifname, strerror(errno));
63 if (eth_get(l2->eth, &own_addr) < 0) {
66 l2->ifname, strerror(errno));
67 eth_close(l2
78 l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, const u8 *buf, size_t len) argument
120 struct l2_packet_data *l2 = eloop_ctx; local
150 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
177 struct l2_packet_data *l2 = eloop_ctx; local
197 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
285 struct l2_packet_data *l2; local
327 l2_packet_deinit(struct l2_packet_data *l2) argument
345 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
381 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
396 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_privsep.c29 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, argument
43 msg.msg_name = &l2->priv_addr;
44 msg.msg_namelen = sizeof(l2->priv_addr);
46 if (sendmsg(l2->fd, &msg, 0) < 0) {
55 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
57 os_memcpy(addr, l2->own_addr, ETH_ALEN);
62 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
81 msg.msg_name = &l2->priv_addr;
82 msg.msg_namelen = sizeof(l2->priv_addr);
84 if (sendmsg(l2
96 struct l2_packet_data *l2 = eloop_ctx; local
134 struct l2_packet_data *l2; local
246 l2_packet_deinit(struct l2_packet_data *l2) argument
266 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
273 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
279 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_linux.c88 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
90 os_memcpy(addr, l2->own_addr, ETH_ALEN);
95 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
102 if (l2 == NULL)
104 if (l2->l2_hdr) {
105 ret = send(l2->fd, buf, len, 0);
113 ll.sll_ifindex = l2->ifindex;
117 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll,
130 struct l2_packet_data *l2 = eloop_ctx; local
150 if (l2
198 struct l2_packet_data *l2 = eloop_ctx; local
254 struct l2_packet_data *l2; local
322 struct l2_packet_data *l2; local
400 l2_packet_deinit(struct l2_packet_data *l2) argument
421 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
454 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
459 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_none.c30 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
32 os_memcpy(addr, l2->own_addr, ETH_ALEN);
37 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
40 if (l2 == NULL)
45 * whether l2->l2_hdr is set).
54 struct l2_packet_data *l2 = eloop_ctx; local
62 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */,
73 struct l2_packet_data *l2; local
75 l2
106 l2_packet_deinit(struct l2_packet_data *l2) argument
120 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
127 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
133 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_winpcap.c65 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
67 os_memcpy(addr, l2->own_addr, ETH_ALEN);
72 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
78 if (l2 == NULL)
81 if (l2->l2_hdr) {
82 ret = pcap_sendpacket(l2->pcap, buf, len);
90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
105 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
112 if (l2
130 struct l2_packet_data *l2 = arg; local
153 struct l2_packet_data *l2 = eloop_data; local
161 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
204 struct l2_packet_data *l2; local
265 struct l2_packet_data *l2 = eloop_ctx; local
285 l2_packet_deinit(struct l2_packet_data *l2) argument
307 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
343 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
[all...]
H A Dl2_packet_pcap.c43 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
45 os_memcpy(addr, l2->own_addr, ETH_ALEN);
51 static int l2_packet_init_libdnet(struct l2_packet_data *l2) argument
55 l2->eth = eth_open(l2->ifname);
56 if (!l2->eth) {
59 l2->ifname, strerror(errno));
63 if (eth_get(l2->eth, &own_addr) < 0) {
66 l2->ifname, strerror(errno));
67 eth_close(l2
78 l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, const u8 *buf, size_t len) argument
120 struct l2_packet_data *l2 = eloop_ctx; local
150 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
177 struct l2_packet_data *l2 = eloop_ctx; local
197 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
285 struct l2_packet_data *l2; local
327 l2_packet_deinit(struct l2_packet_data *l2) argument
345 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
381 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
396 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_privsep.c29 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, argument
43 msg.msg_name = &l2->priv_addr;
44 msg.msg_namelen = sizeof(l2->priv_addr);
46 if (sendmsg(l2->fd, &msg, 0) < 0) {
55 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
57 os_memcpy(addr, l2->own_addr, ETH_ALEN);
62 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
81 msg.msg_name = &l2->priv_addr;
82 msg.msg_namelen = sizeof(l2->priv_addr);
84 if (sendmsg(l2
96 struct l2_packet_data *l2 = eloop_ctx; local
134 struct l2_packet_data *l2; local
246 l2_packet_deinit(struct l2_packet_data *l2) argument
266 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
273 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
279 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_linux.c88 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
90 os_memcpy(addr, l2->own_addr, ETH_ALEN);
95 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
102 if (l2 == NULL)
104 if (l2->l2_hdr) {
105 ret = send(l2->fd, buf, len, 0);
113 ll.sll_ifindex = l2->ifindex;
117 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll,
130 struct l2_packet_data *l2 = eloop_ctx; local
150 if (l2
198 struct l2_packet_data *l2 = eloop_ctx; local
254 struct l2_packet_data *l2; local
322 struct l2_packet_data *l2; local
400 l2_packet_deinit(struct l2_packet_data *l2) argument
421 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
454 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
459 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
/external/libcxx/test/std/containers/sequences/list/list.cons/
H A Dcopy.pass.cpp26 std::list<int> l2 = l; local
27 assert(l2 == l);
31 std::list<int, test_allocator<int> > l2 = l; local
32 assert(l2 == l);
33 assert(l2.get_allocator() == l.get_allocator());
38 std::list<int, other_allocator<int> > l2 = l; local
39 assert(l2 == l);
40 assert(l2.get_allocator() == other_allocator<int>(-2));
44 std::list<int, min_allocator<int>> l2 = l; local
45 assert(l2
49 std::list<int, min_allocator<int> > l2 = l; local
[all...]
H A Dassign_copy.pass.cpp23 std::list<int, test_allocator<int> > l2(l, test_allocator<int>(3));
24 l2 = l;
25 assert(l2 == l);
26 assert(l2.get_allocator() == test_allocator<int>(3));
30 std::list<int, other_allocator<int> > l2(l, other_allocator<int>(3));
31 l2 = l;
32 assert(l2 == l);
33 assert(l2.get_allocator() == other_allocator<int>(5));
38 std::list<int, min_allocator<int> > l2(l, min_allocator<int>());
39 l2
[all...]
H A Dcopy_alloc.pass.cpp24 std::list<int, test_allocator<int> > l2(l, test_allocator<int>(3));
25 assert(l2 == l);
26 assert(l2.get_allocator() == test_allocator<int>(3));
30 std::list<int, other_allocator<int> > l2(l, other_allocator<int>(3));
31 assert(l2 == l);
32 assert(l2.get_allocator() == other_allocator<int>(3));
37 std::list<int, min_allocator<int> > l2(l, min_allocator<int>());
38 assert(l2 == l);
39 assert(l2.get_allocator() == min_allocator<int>());
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dassign_copy.pass.cpp23 std::vector<int, test_allocator<int> > l2(l, test_allocator<int>(3));
24 l2 = l;
25 assert(l2 == l);
26 assert(l2.get_allocator() == test_allocator<int>(3));
30 std::vector<int, other_allocator<int> > l2(l, other_allocator<int>(3));
31 l2 = l;
32 assert(l2 == l);
33 assert(l2.get_allocator() == other_allocator<int>(5));
38 std::vector<int, min_allocator<int> > l2(l, min_allocator<int>());
39 l2
[all...]
/external/libcxx/test/std/containers/sequences/vector.bool/
H A Dassign_copy.pass.cpp23 std::vector<bool, test_allocator<bool> > l2(l, test_allocator<bool>(3));
24 l2 = l;
25 assert(l2 == l);
26 assert(l2.get_allocator() == test_allocator<bool>(3));
30 std::vector<bool, other_allocator<bool> > l2(l, other_allocator<bool>(3));
31 l2 = l;
32 assert(l2 == l);
33 assert(l2.get_allocator() == other_allocator<bool>(5));
38 std::vector<bool, min_allocator<bool> > l2(l, min_allocator<bool>());
39 l2
[all...]
/external/libcxx/test/libcxx/strings/basic.string/string.modifiers/
H A Derase_iter_iter_db3.pass.cpp29 std::string l2("123");
30 std::string::iterator i = l1.erase(l2.cbegin(), l2.cbegin()+1);
37 S l2("123");
38 S::iterator i = l1.erase(l2.cbegin(), l2.cbegin()+1);
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
H A Dtry_lock.pass.cpp133 L0 l2; local
134 assert(std::try_lock(l0, l1, l2) == -1);
137 assert(l2.locked());
142 L1 l2; local
143 assert(std::try_lock(l0, l1, l2) == 0);
146 assert(!l2.locked());
152 L2 l2; local
155 (void)std::try_lock(l0, l1, l2);
162 assert(!l2.locked());
168 L2 l2; local
178 L1 l2; local
187 L0 l2; local
196 L0 l2; local
206 L2 l2; local
222 L0 l2; local
238 L0 l2; local
255 L0 l2; local
264 L1 l2; local
273 L1 l2; local
283 L2 l2; local
292 L1 l2; local
301 L1 l2; local
317 L0 l2; local
333 L2 l2; local
349 L2 l2; local
365 L1 l2; local
381 L2 l2; local
397 L2 l2; local
406 L1 l2; local
422 L2 l2; local
431 L0 l2; local
440 L1 l2; local
456 L0 l2; local
473 L0 l2; local
484 L0 l2; local
495 L0 l2; local
506 L1 l2; local
517 L0 l2; local
[all...]
/external/libffi/testsuite/libffi.call/
H A Dreturn_sl.c9 static long return_sl(long l1, long l2) argument
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/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
H A Dreturn_sl.c9 static long return_sl(long l1, long l2) argument
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);

Completed in 392 milliseconds

1234567891011>>