Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 25 of 734) sorted by relevance

12345678910>>...30

/external/tcpdump/
Dprint-arp.c80 #define ar_sha(ap) (((const u_char *)((ap)+1))+0) argument
81 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln) argument
82 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln) argument
83 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln) argument
88 #define HRD(ap) EXTRACT_16BITS(&(ap)->ar_hrd) argument
89 #define HRD_LEN(ap) ((ap)->ar_hln) argument
90 #define PROTO_LEN(ap) ((ap)->ar_pln) argument
91 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op) argument
92 #define PRO(ap) EXTRACT_16BITS(&(ap)->ar_pro) argument
93 #define SHA(ap) (ar_sha(ap)) argument
[all …]
Dprint-aodv.c210 const struct aodv_rreq *ap = (const struct aodv_rreq *)dat; in aodv_rreq() local
212 ND_TCHECK(*ap); in aodv_rreq()
213 if (length < sizeof(*ap)) in aodv_rreq()
217 ap->rreq_type & RREQ_JOIN ? "[J]" : "", in aodv_rreq()
218 ap->rreq_type & RREQ_REPAIR ? "[R]" : "", in aodv_rreq()
219 ap->rreq_type & RREQ_GRAT ? "[G]" : "", in aodv_rreq()
220 ap->rreq_type & RREQ_DEST ? "[D]" : "", in aodv_rreq()
221 ap->rreq_type & RREQ_UNKNOWN ? "[U] " : " ", in aodv_rreq()
222 ap->rreq_hops, in aodv_rreq()
223 (unsigned long)EXTRACT_32BITS(&ap->rreq_id), in aodv_rreq()
[all …]
/external/wpa_supplicant_8/src/ap/
Dap_list.c31 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) in ap_list_beacon_olbc() argument
37 iface->conf->channel != ap->channel) in ap_list_beacon_olbc()
40 if (ap->erp != -1 && (ap->erp & ERP_INFO_NON_ERP_PRESENT)) in ap_list_beacon_olbc()
44 int rate = (ap->supported_rates[i] & 0x7f) * 5; in ap_list_beacon_olbc()
53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) in ap_get_ap() argument
57 s = iface->ap_hash[STA_HASH(ap)]; in ap_get_ap()
58 while (s != NULL && os_memcmp(s->addr, ap, ETH_ALEN) != 0) in ap_get_ap()
64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) in ap_ap_list_add() argument
67 ap->prev = iface->ap_list->prev; in ap_ap_list_add()
68 iface->ap_list->prev = ap; in ap_ap_list_add()
[all …]
/external/autotest/server/cros/ap_configurators/
Dap_configurator_test.py56 self.ap = ap_batch[0]
58 self.ap.webdriver_port = 9516
61 self.ap._power_up_router()
64 self.ap.router_on = True
72 self.ap._power_down_router()
77 bands = self.ap.get_supported_bands()
78 self.ap.set_band(bands[0]['band'])
79 self.ap.apply_settings()
84 for band in self.ap.get_supported_bands():
85 self.ap.set_band(band['band'])
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_er.c28 static void wps_er_ap_process(struct wps_er_ap *ap, struct wpabuf *msg);
29 static int wps_er_send_get_device_info(struct wps_er_ap *ap,
30 void (*m1_handler)(struct wps_er_ap *ap,
59 static struct wps_er_sta * wps_er_sta_get(struct wps_er_ap *ap, const u8 *addr, in wps_er_sta_get() argument
63 dl_list_for_each(sta, &ap->sta, struct wps_er_sta, list) { in wps_er_sta_get()
76 wps_er_sta_event(sta->ap->er->wps, sta, WPS_EV_ER_ENROLLEE_REMOVE); in wps_er_sta_free()
91 static void wps_er_sta_remove_all(struct wps_er_ap *ap) in wps_er_sta_remove_all() argument
94 dl_list_for_each_safe(sta, prev, &ap->sta, struct wps_er_sta, list) in wps_er_sta_remove_all()
103 struct wps_er_ap *ap; in wps_er_ap_get() local
104 dl_list_for_each(ap, &er->ap, struct wps_er_ap, list) { in wps_er_ap_get()
[all …]
/external/clang/test/Sema/
Dvarargs.c6 __builtin_va_list ap; in f1() local
8 __builtin_va_start(ap, a, a); // expected-error {{too many arguments to function}} in f1()
9 __builtin_va_start(ap, a); // expected-error {{'va_start' used in function with fixed args}} in f1()
14 __builtin_va_list ap; in f2() local
16 …__builtin_va_start(ap, 10); // expected-warning {{second parameter of 'va_start' not last named ar… in f2()
17 …__builtin_va_start(ap, a); // expected-warning {{second parameter of 'va_start' not last named arg… in f2()
18 __builtin_va_start(ap, b); in f2()
23 __builtin_va_list ap; in f3() local
25 __builtin_va_start(ap, a); in f3()
26 __builtin_va_start(ap, (a)); in f3()
[all …]
Dvarargs-x86-64.c10 __builtin_ms_va_list ap; in f2() local
11 …__builtin_ms_va_start(ap, a); // expected-error {{'__builtin_ms_va_start' used in System V ABI fun… in f2()
15 __builtin_ms_va_list ap; in g1() local
17 __builtin_ms_va_start(ap, a, a); // expected-error {{too many arguments to function}} in g1()
18 __builtin_ms_va_start(ap, a); // expected-error {{'va_start' used in function with fixed args}} in g1()
22 __builtin_ms_va_list ap; in g2() local
24 …__builtin_ms_va_start(ap, 10); // expected-warning {{second parameter of 'va_start' not last named… in g2()
25 …__builtin_ms_va_start(ap, a); // expected-warning {{second parameter of 'va_start' not last named … in g2()
26 __builtin_ms_va_start(ap, b); in g2()
30 __builtin_ms_va_list ap; in g3() local
[all …]
/external/bison/lib/
Dprintf-args.c39 argument *ap; in PRINTF_FETCHARGS() local
41 for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) in PRINTF_FETCHARGS()
42 switch (ap->type) in PRINTF_FETCHARGS()
45 ap->a.a_schar = va_arg (args, /*signed char*/ int); in PRINTF_FETCHARGS()
48 ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); in PRINTF_FETCHARGS()
51 ap->a.a_short = va_arg (args, /*short*/ int); in PRINTF_FETCHARGS()
54 ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); in PRINTF_FETCHARGS()
57 ap->a.a_int = va_arg (args, int); in PRINTF_FETCHARGS()
60 ap->a.a_uint = va_arg (args, unsigned int); in PRINTF_FETCHARGS()
63 ap->a.a_longint = va_arg (args, long int); in PRINTF_FETCHARGS()
[all …]
/external/libevent/
Dlog.c60 va_list ap);
87 va_list ap; in event_err() local
89 va_start(ap, fmt); in event_err()
90 _warn_helper(_EVENT_LOG_ERR, strerror(errno), fmt, ap); in event_err()
91 va_end(ap); in event_err()
98 va_list ap; in event_warn() local
100 va_start(ap, fmt); in event_warn()
101 _warn_helper(_EVENT_LOG_WARN, strerror(errno), fmt, ap); in event_warn()
102 va_end(ap); in event_warn()
108 va_list ap; in event_sock_err() local
[all …]
/external/avahi/avahi-core/
Dlog.c41 void avahi_log_ap(AvahiLogLevel level, const char*format, va_list ap) { in avahi_log_ap() argument
44 vsnprintf(txt, sizeof(txt), format, ap); in avahi_log_ap()
57 va_list ap; in avahi_log() local
58 va_start(ap, format); in avahi_log()
59 avahi_log_ap(level, format, ap); in avahi_log()
60 va_end(ap); in avahi_log()
64 va_list ap; in avahi_log_error() local
65 va_start(ap, format); in avahi_log_error()
66 avahi_log_ap(AVAHI_LOG_ERROR, format, ap); in avahi_log_error()
67 va_end(ap); in avahi_log_error()
[all …]
/external/dhcpcd-6.8.2/
Dipv6.c405 const struct ipv6_addr *ap; in ipv6_makeaddr() local
429 if ((ap = ipv6_linklocal(ifp)) == NULL) { in ipv6_makeaddr()
438 addr->s6_addr32[2] = ap->addr.s6_addr32[2]; in ipv6_makeaddr()
439 addr->s6_addr32[3] = ap->addr.s6_addr32[3]; in ipv6_makeaddr()
586 struct ipv6_addr *ap; in ipv6_checkaddrflags() local
589 ap = arg; in ipv6_checkaddrflags()
590 ifa_flags = if_addrflags6(&ap->addr, ap->iface); in ipv6_checkaddrflags()
592 logger(ap->iface->ctx, LOG_ERR, in ipv6_checkaddrflags()
593 "%s: if_addrflags6: %m", ap->iface->name); in ipv6_checkaddrflags()
595 ipv6_handleifa(ap->iface->ctx, RTM_NEWADDR, in ipv6_checkaddrflags()
[all …]
/external/libchrome/base/strings/
Dstringprintf.cc49 va_list ap) { in StringAppendVT() argument
56 va_copy(ap_copy, ap); in StringAppendVT()
102 va_copy(ap_copy, ap); in StringAppendVT()
117 va_list ap; in StringPrintf() local
118 va_start(ap, format); in StringPrintf()
120 StringAppendV(&result, format, ap); in StringPrintf()
121 va_end(ap); in StringPrintf()
127 va_list ap; in StringPrintf() local
128 va_start(ap, format); in StringPrintf()
130 StringAppendV(&result, format, ap); in StringPrintf()
[all …]
/external/e2fsprogs/intl/
Dprintf-args.c33 argument *ap; in printf_fetchargs() local
35 for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) in printf_fetchargs()
36 switch (ap->type) in printf_fetchargs()
39 ap->a.a_schar = va_arg (args, /*signed char*/ int); in printf_fetchargs()
42 ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); in printf_fetchargs()
45 ap->a.a_short = va_arg (args, /*short*/ int); in printf_fetchargs()
48 ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); in printf_fetchargs()
51 ap->a.a_int = va_arg (args, int); in printf_fetchargs()
54 ap->a.a_uint = va_arg (args, unsigned int); in printf_fetchargs()
57 ap->a.a_longint = va_arg (args, long int); in printf_fetchargs()
[all …]
/external/clang/test/CodeGen/
Darm-abi-vector.c40 va_list ap; in varargs_vec_2i() local
42 va_start(ap, fixed); in varargs_vec_2i()
43 __int2 c3 = va_arg(ap, __int2); in varargs_vec_2i()
45 va_end(ap); in varargs_vec_2i()
72 va_list ap; in varargs_vec_3c() local
74 va_start(ap, fixed); in varargs_vec_3c()
75 __char3 c3 = va_arg(ap, __char3); in varargs_vec_3c()
77 va_end(ap); in varargs_vec_3c()
115 va_list ap; in varargs_vec_5c() local
117 va_start(ap, fixed); in varargs_vec_5c()
[all …]
Darm64-abi-vector.c21 va_list ap; in varargs_vec_3c() local
23 va_start(ap, fixed); in varargs_vec_3c()
24 __char3 c3 = va_arg(ap, __char3); in varargs_vec_3c()
26 va_end(ap); in varargs_vec_3c()
41 va_list ap; in varargs_vec_4c() local
43 va_start(ap, fixed); in varargs_vec_4c()
44 __char4 c4 = va_arg(ap, __char4); in varargs_vec_4c()
46 va_end(ap); in varargs_vec_4c()
61 va_list ap; in varargs_vec_5c() local
63 va_start(ap, fixed); in varargs_vec_5c()
[all …]
Dppc64-align-struct.c63 va_list ap; in test1va() local
64 va_start(ap, x); in test1va()
65 y = va_arg (ap, struct test1); in test1va()
66 va_end(ap); in test1va()
86 va_list ap; in test2va() local
87 va_start(ap, x); in test2va()
88 y = va_arg (ap, struct test2); in test2va()
89 va_end(ap); in test2va()
109 va_list ap; in test3va() local
110 va_start(ap, x); in test3va()
[all …]
Dms_abi.c33 __builtin_ms_va_list ap; in f4() local
34 __builtin_ms_va_start(ap, a); in f4()
39 int b = __builtin_va_arg(ap, int); in f4()
48 double _Complex c = __builtin_va_arg(ap, double _Complex); in f4()
57 struct foo d = __builtin_va_arg(ap, struct foo); in f4()
67 __builtin_ms_va_copy(ap2, ap); in f4()
72 __builtin_ms_va_end(ap); in f4()
80 __builtin_va_list ap; in f5() local
81 __builtin_va_start(ap, a); in f5()
84 int b = __builtin_va_arg(ap, int); in f5()
[all …]
/external/autotest/server/cros/network/
Dchaos_clique_utils.py92 for ap in aps:
93 ap.power_down_router()
94 cartridge.push_configurator(ap)
106 for ap in aps:
107 ap.set_using_ap_spec(ap_spec)
108 cartridge.push_configurator(ap)
112 def is_dut_healthy(client, ap): argument
126 client.wifi_if, ssids=[ap.ssid])
132 def is_conn_worker_healthy(conn_worker, ap, assoc_params, job): argument
149 job.run_test('network_WiFi_ChaosConfigFailure', ap=ap,
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Decho_cancellation_impl_unittest.cc21 rtc::scoped_ptr<AudioProcessing> ap(AudioProcessing::Create()); in TEST() local
22 EXPECT_TRUE(ap->echo_cancellation()->aec_core() == NULL); in TEST()
24 EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true)); in TEST()
25 EXPECT_TRUE(ap->echo_cancellation()->is_enabled()); in TEST()
27 AecCore* aec_core = ap->echo_cancellation()->aec_core(); in TEST()
34 ap->SetExtraOptions(config); in TEST()
38 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
42 ap->SetExtraOptions(config); in TEST()
46 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
51 rtc::scoped_ptr<AudioProcessing> ap(AudioProcessing::Create()); in TEST() local
[all …]
/external/pdfium/third_party/libtiff/
Dtif_dir.c90 setExtraSamples(TIFFDirectory* td, va_list ap, uint32* v) in setExtraSamples() argument
98 *v = (uint16) va_arg(ap, uint16_vap); in setExtraSamples()
101 va = va_arg(ap, uint16*); in setExtraSamples()
156 _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap) in _TIFFVSetField() argument
181 td->td_subfiletype = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
184 td->td_imagewidth = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
187 td->td_imagelength = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
190 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
214 v = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
235 td->td_photometric = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
[all …]
Dtif_aux.c170 TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap) in TIFFVGetFieldDefaulted() argument
174 if (TIFFVGetField(tif, tag, ap)) in TIFFVGetFieldDefaulted()
178 *va_arg(ap, uint32 *) = td->td_subfiletype; in TIFFVGetFieldDefaulted()
181 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
184 *va_arg(ap, uint16 *) = td->td_threshholding; in TIFFVGetFieldDefaulted()
187 *va_arg(ap, uint16 *) = td->td_fillorder; in TIFFVGetFieldDefaulted()
190 *va_arg(ap, uint16 *) = td->td_orientation; in TIFFVGetFieldDefaulted()
193 *va_arg(ap, uint16 *) = td->td_samplesperpixel; in TIFFVGetFieldDefaulted()
196 *va_arg(ap, uint32 *) = td->td_rowsperstrip; in TIFFVGetFieldDefaulted()
199 *va_arg(ap, uint16 *) = td->td_minsamplevalue; in TIFFVGetFieldDefaulted()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_dir.c90 setExtraSamples(TIFFDirectory* td, va_list ap, uint32* v) in setExtraSamples() argument
98 *v = (uint16) va_arg(ap, uint16_vap); in setExtraSamples()
101 va = va_arg(ap, uint16*); in setExtraSamples()
156 _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap) in _TIFFVSetField() argument
179 td->td_subfiletype = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
182 td->td_imagewidth = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
185 td->td_imagelength = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
188 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
212 v = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
233 td->td_photometric = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
[all …]
Dtif_aux.c170 TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap) in TIFFVGetFieldDefaulted() argument
174 if (TIFFVGetField(tif, tag, ap)) in TIFFVGetFieldDefaulted()
178 *va_arg(ap, uint32 *) = td->td_subfiletype; in TIFFVGetFieldDefaulted()
181 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
184 *va_arg(ap, uint16 *) = td->td_threshholding; in TIFFVGetFieldDefaulted()
187 *va_arg(ap, uint16 *) = td->td_fillorder; in TIFFVGetFieldDefaulted()
190 *va_arg(ap, uint16 *) = td->td_orientation; in TIFFVGetFieldDefaulted()
193 *va_arg(ap, uint16 *) = td->td_samplesperpixel; in TIFFVGetFieldDefaulted()
196 *va_arg(ap, uint32 *) = td->td_rowsperstrip; in TIFFVGetFieldDefaulted()
199 *va_arg(ap, uint16 *) = td->td_minsamplevalue; in TIFFVGetFieldDefaulted()
[all …]
/external/blktrace/btt/
Daqd.c35 struct aqd_info *ap; in aqd_alloc() local
39 ap = malloc(sizeof(*ap)); in aqd_alloc()
40 ap->na = 0; in aqd_alloc()
44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { in aqd_alloc()
48 add_file(ap->fp, oname); in aqd_alloc()
50 return ap; in aqd_alloc()
62 struct aqd_info *ap = info; in aqd_issue() local
64 fprintf(ap->fp, "%lf %d\n%lf %d\n", ts, ap->na, ts, ap->na + 1); in aqd_issue()
65 ap->na += 1; in aqd_issue()
72 struct aqd_info *ap = info; in aqd_complete() local
[all …]
/external/llvm/test/CodeGen/X86/
Dx86-64-ms_abi-vararg.ll14 %ap = alloca i8*, align 8 ; <i8**> [#uses=1]
15 %ap.0 = bitcast i8** %ap to i8*
16 call void @llvm.va_start(i8* %ap.0)
29 %ap = alloca i8*, align 8
30 %ap.0 = bitcast i8** %ap to i8*
31 call void @llvm.va_start(i8* %ap.0)
32 ret i8** %ap
40 %ap = alloca i8*, align 8
41 %ap.0 = bitcast i8** %ap to i8*
42 call void @llvm.va_start(i8* %ap.0)
[all …]

12345678910>>...30