Home
last modified time | relevance | path

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

12345678910>>...33

/external/tcpdump/
Dprint-arp.c83 #define ar_sha(ap) (((const u_char *)((ap)+1))+0) argument
84 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln) argument
85 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln) argument
86 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln) argument
91 #define HRD(ap) EXTRACT_16BITS(&(ap)->ar_hrd) argument
92 #define HRD_LEN(ap) ((ap)->ar_hln) argument
93 #define PROTO_LEN(ap) ((ap)->ar_pln) argument
94 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op) argument
95 #define PRO(ap) EXTRACT_16BITS(&(ap)->ar_pro) argument
96 #define SHA(ap) (ar_sha(ap)) argument
[all …]
Dprint-aodv.c85 aodv_rreq(const union aodv *ap, const u_char *dat, u_int length) in aodv_rreq() argument
94 if (i < sizeof(ap->rreq)) { in aodv_rreq()
98 i -= sizeof(ap->rreq); in aodv_rreq()
101 ap->rreq.rreq_type & RREQ_JOIN ? "[J]" : "", in aodv_rreq()
102 ap->rreq.rreq_type & RREQ_REPAIR ? "[R]" : "", in aodv_rreq()
103 ap->rreq.rreq_type & RREQ_GRAT ? "[G]" : "", in aodv_rreq()
104 ap->rreq.rreq_type & RREQ_DEST ? "[D]" : "", in aodv_rreq()
105 ap->rreq.rreq_type & RREQ_UNKNOWN ? "[U] " : " ", in aodv_rreq()
106 ap->rreq.rreq_hops, in aodv_rreq()
107 (unsigned long)EXTRACT_32BITS(&ap->rreq.rreq_id), in aodv_rreq()
[all …]
Dprint-arcnet.c61 const struct arc_header *ap; in arcnet_print() local
65 ap = (const struct arc_header *)bp; in arcnet_print()
70 ap->arc_shost, in arcnet_print()
71 ap->arc_dhost, in arcnet_print()
76 arctypename = tok2str(arctypemap, "%02x", ap->arc_type); in arcnet_print()
80 ap->arc_shost, ap->arc_dhost, arctypename, in arcnet_print()
87 ap->arc_shost, ap->arc_dhost, arctypename, seqid, in arcnet_print()
95 ap->arc_shost, ap->arc_dhost, arctypename, seqid, in arcnet_print()
100 ap->arc_shost, ap->arc_dhost, arctypename, seqid, in arcnet_print()
115 const struct arc_header *ap; in arcnet_if_print() local
[all …]
Dprint-tipc.c165 print_payload(netdissect_options *ndo, const struct payload_tipc_pkthdr *ap) in print_payload() argument
181 ND_TCHECK(ap->dest_port); in print_payload()
182 w0 = EXTRACT_32BITS(&ap->w0); in print_payload()
186 w1 = EXTRACT_32BITS(&ap->w1); in print_payload()
188 prev_node = EXTRACT_32BITS(&ap->prev_node); in print_payload()
189 orig_port = EXTRACT_32BITS(&ap->orig_port); in print_payload()
190 dest_port = EXTRACT_32BITS(&ap->dest_port); in print_payload()
200 ND_TCHECK(ap->dest_node); in print_payload()
201 orig_node = EXTRACT_32BITS(&ap->orig_node); in print_payload()
202 dest_node = EXTRACT_32BITS(&ap->dest_node); in print_payload()
[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/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 …]
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
Dparse-utils.c28 void __vdie(const char *fmt, va_list ap) in __vdie() argument
38 vfprintf(stderr, fmt, ap); in __vdie()
46 va_list ap; in __die() local
48 va_start(ap, fmt); in __die()
49 __vdie(fmt, ap); in __die()
50 va_end(ap); in __die()
55 va_list ap; in die() local
57 va_start(ap, fmt); in die()
58 __vdie(fmt, ap); in die()
59 va_end(ap); in die()
[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/chromium_org/third_party/libevent/
Dlog.c66 va_list ap);
72 va_list ap; in event_err() local
74 va_start(ap, fmt); in event_err()
75 _warn_helper(_EVENT_LOG_ERR, errno, fmt, ap); in event_err()
76 va_end(ap); in event_err()
83 va_list ap; in event_warn() local
85 va_start(ap, fmt); in event_warn()
86 _warn_helper(_EVENT_LOG_WARN, errno, fmt, ap); in event_warn()
87 va_end(ap); in event_warn()
93 va_list ap; in event_errx() local
[all …]
/external/chromium_org/base/strings/
Dstringprintf.cc44 va_list ap) { in StringAppendVT() argument
51 GG_VA_COPY(ap_copy, ap); in StringAppendVT()
97 GG_VA_COPY(ap_copy, ap); in StringAppendVT()
112 va_list ap; in StringPrintf() local
113 va_start(ap, format); in StringPrintf()
115 StringAppendV(&result, format, ap); in StringPrintf()
116 va_end(ap); in StringPrintf()
122 va_list ap; in StringPrintf() local
123 va_start(ap, format); in StringPrintf()
125 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.c29 va_list ap; in varargs_vec_2i() local
31 va_start(ap, fixed); in varargs_vec_2i()
32 __int2 c3 = va_arg(ap, __int2); in varargs_vec_2i()
34 va_end(ap); in varargs_vec_2i()
55 va_list ap; in varargs_vec_3c() local
57 va_start(ap, fixed); in varargs_vec_3c()
58 __char3 c3 = va_arg(ap, __char3); in varargs_vec_3c()
60 va_end(ap); in varargs_vec_3c()
86 va_list ap; in varargs_vec_5c() local
88 va_start(ap, fixed); in varargs_vec_5c()
[all …]
Dppc64-align-struct.c41 va_list ap; in test1va() local
42 va_start(ap, x); in test1va()
43 y = va_arg (ap, struct test1); in test1va()
44 va_end(ap); in test1va()
60 va_list ap; in test2va() local
61 va_start(ap, x); in test2va()
62 y = va_arg (ap, struct test2); in test2va()
63 va_end(ap); in test2va()
79 va_list ap; in test3va() local
80 va_start(ap, x); in test3va()
[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 …]
/external/chromium_org/third_party/webrtc/modules/audio_processing/
Decho_cancellation_impl_unittest.cc22 scoped_ptr<AudioProcessing> ap(AudioProcessing::Create(0)); in TEST() local
23 EXPECT_TRUE(ap->echo_cancellation()->aec_core() == NULL); in TEST()
25 EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true)); in TEST()
26 EXPECT_TRUE(ap->echo_cancellation()->is_enabled()); in TEST()
28 AecCore* aec_core = ap->echo_cancellation()->aec_core(); in TEST()
35 ap->SetExtraOptions(config); in TEST()
39 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
43 ap->SetExtraOptions(config); in TEST()
47 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
52 scoped_ptr<AudioProcessing> ap(AudioProcessing::Create(0)); in TEST() local
[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/mksh/src/
Dlalloc.c37 ainit(Area *ap) in ainit() argument
40 ap->next = NULL; in ainit()
44 findptr(ALLOC_ITEM **lpp, char *ptr, Area *ap) in findptr() argument
59 while (ap->next != lp) in findptr()
60 if ((ap = ap->next) == NULL) { in findptr()
66 (size_t)ptr, (size_t)ap); in findptr()
73 return (ap); in findptr()
77 aresize2(void *ptr, size_t fac1, size_t fac2, Area *ap) in aresize2() argument
81 return (aresize(ptr, fac1 * fac2, ap)); in aresize2()
85 aresize(void *ptr, size_t numb, Area *ap) in aresize() argument
[all …]
/external/ceres-solver/internal/ceres/
Dstringprintf.cc53 void StringAppendV(string* dst, const char* format, va_list ap) { in StringAppendV() argument
61 va_copy(backup_ap, ap); in StringAppendV()
75 va_copy(backup_ap, ap); in StringAppendV()
92 va_copy(backup_ap, ap); in StringAppendV()
105 va_list ap; in StringPrintf() local
106 va_start(ap, format); in StringPrintf()
108 StringAppendV(&result, format, ap); in StringPrintf()
109 va_end(ap); in StringPrintf()
114 va_list ap; in SStringPrintf() local
115 va_start(ap, format); in SStringPrintf()
[all …]
/external/regex-re2/util/
Dstringprintf.cc9 static void StringAppendV(string* dst, const char* format, va_list ap) { in StringAppendV() argument
17 va_copy(backup_ap, ap); in StringAppendV()
40 va_copy(backup_ap, ap); in StringAppendV()
55 va_list ap; in StringPrintf() local
56 va_start(ap, format); in StringPrintf()
58 StringAppendV(&result, format, ap); in StringPrintf()
59 va_end(ap); in StringPrintf()
64 va_list ap; in SStringPrintf() local
65 va_start(ap, format); in SStringPrintf()
67 StringAppendV(dst, format, ap); in SStringPrintf()
[all …]
/external/chromium_org/third_party/re2/util/
Dstringprintf.cc9 static void StringAppendV(string* dst, const char* format, va_list ap) { in StringAppendV() argument
17 va_copy(backup_ap, ap); in StringAppendV()
40 va_copy(backup_ap, ap); in StringAppendV()
55 va_list ap; in StringPrintf() local
56 va_start(ap, format); in StringPrintf()
58 StringAppendV(&result, format, ap); in StringPrintf()
59 va_end(ap); in StringPrintf()
64 va_list ap; in SStringPrintf() local
65 va_start(ap, format); in SStringPrintf()
67 StringAppendV(dst, format, ap); in SStringPrintf()
[all …]
/external/libedit/src/
Deln.c106 va_list ap; in el_set() local
111 va_start(ap, op); in el_set()
116 el_pfunc_t p = va_arg(ap, el_pfunc_t); in el_set()
122 el_zfunc_t p = va_arg(ap, el_zfunc_t); in el_set()
123 void *arg = va_arg(ap, void *); in el_set()
129 ret = el_wset(el, op, va_arg(ap, char *)); in el_set()
133 ret = el_wset(el, op, ct_decode_string(va_arg(ap, char *), in el_set()
141 ret = el_wset(el, op, va_arg(ap, int)); in el_set()
153 if ((argv[i] = va_arg(ap, char *)) == NULL) in el_set()
201 args[0] = va_arg(ap, const char *); in el_set()
[all …]
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.c206 va_list ap; in wpa_printf() local
208 va_start(ap, fmt); in wpa_printf()
212 ANDROID_LOG_NAME, fmt, ap); in wpa_printf()
216 vsyslog(syslog_priority(level), fmt, ap); in wpa_printf()
222 vfprintf(out_file, fmt, ap); in wpa_printf()
226 vprintf(fmt, ap); in wpa_printf()
236 va_end(ap); in wpa_printf()
240 va_start(ap, fmt); in wpa_printf()
242 vfprintf(wpa_debug_tracing_file, fmt, ap); in wpa_printf()
245 va_end(ap); in wpa_printf()
[all …]
/external/chromium_org/third_party/icu/source/io/
Duprintf.c107 va_list ap; in u_fprintf() local
110 va_start(ap, patternSpecification); in u_fprintf()
111 count = u_vfprintf(f, patternSpecification, ap); in u_fprintf()
112 va_end(ap); in u_fprintf()
121 va_list ap; in u_printf() local
123 va_start(ap, patternSpecification); in u_printf()
124 count = u_vfprintf(u_get_stdout(), patternSpecification, ap); in u_printf()
125 va_end(ap); in u_printf()
134 va_list ap; in u_fprintf_u() local
137 va_start(ap, patternSpecification); in u_fprintf_u()
[all …]
/external/icu/icu4c/source/io/
Duprintf.c107 va_list ap; in u_fprintf() local
110 va_start(ap, patternSpecification); in u_fprintf()
111 count = u_vfprintf(f, patternSpecification, ap); in u_fprintf()
112 va_end(ap); in u_fprintf()
121 va_list ap; in u_printf() local
123 va_start(ap, patternSpecification); in u_printf()
124 count = u_vfprintf(u_get_stdout(), patternSpecification, ap); in u_printf()
125 va_end(ap); in u_printf()
134 va_list ap; in u_fprintf_u() local
137 va_start(ap, patternSpecification); in u_fprintf_u()
[all …]

12345678910>>...33