Searched defs:ap (Results 1 - 25 of 30) sorted by relevance

12

/system/core/libnl_2/
H A Ddbg.c6 va_list ap; local
9 va_start(ap, format);
10 __android_log_vprint(level, "libnl_2", format, ap);
11 va_end(ap);
/system/core/sh/bltin/
H A Decho.c61 char **ap; local
68 ap = argv;
70 ap++;
72 if ((p = *ap) != NULL) {
75 ap++;
78 ap++;
82 while ((p = *ap++) != NULL) {
110 if (*ap)
/system/core/debuggerd/
H A Dutility.c37 va_list ap; local
38 va_start(ap, fmt);
42 vsnprintf(buf, sizeof(buf), fmt, ap);
48 __android_log_vprint(ANDROID_LOG_INFO, "DEBUG", fmt, ap);
50 va_end(ap);
/system/core/init/
H A Dparser.c53 va_list ap; local
61 va_start(ap, fmt);
62 vsnprintf(buf + off, 128 - off, fmt, ap);
63 va_end(ap);
/system/core/libcutils/
H A Dklog.c50 va_list ap; local
55 va_start(ap, fmt);
56 vsnprintf(buf, LOG_BUF_MAX, fmt, ap);
58 va_end(ap);
H A Dtzstrftime.c736 const char ** ap; local
757 for (ap = (const char **) &localebuf;
758 ap < (const char **) (&localebuf + 1);
759 ++ap)
760 *ap = p += strlen(p) + 1;
805 for (ap = (const char **) &localebuf;
806 ap < (const char **) (&localebuf + 1);
807 ++ap) {
810 *ap = p;
/system/core/sh/
H A Dalias.c67 struct alias *ap, **app; local
70 for (ap = *app; ap; ap = ap->next) {
71 if (equal(name, ap->name)) {
73 ckfree(ap->val);
74 ap->val = savestr(val);
81 ap = ckmalloc(sizeof (struct alias));
82 ap
119 struct alias *ap, **app; local
160 struct alias *ap, *tmp; local
181 struct alias *ap = *hashalias(name); local
197 struct alias *ap; local
213 struct alias *ap; local
[all...]
H A Derror.c125 exvwarning(int sv_errno, const char *msg, va_list ap) argument
138 doformat(&errout, msg, ap);
154 exverror(int cond, const char *msg, va_list ap) argument
162 TRACEV((msg, ap));
168 exvwarning(-1, msg, ap);
179 va_list ap; local
181 va_start(ap, msg);
182 exverror(EXERROR, msg, ap);
184 va_end(ap);
191 va_list ap; local
213 va_list ap; local
222 sh_verr(int status, const char *fmt, va_list ap) argument
231 va_list ap; local
240 sh_verrx(int status, const char *fmt, va_list ap) argument
249 va_list ap; local
257 sh_vwarn(const char *fmt, va_list ap) argument
265 va_list ap; local
273 sh_vwarnx(const char *fmt, va_list ap) argument
[all...]
H A Dmiscbltin.c91 char **ap; local
117 if (*(ap = argptr) == NULL)
178 if (ap[1] == NULL) {
186 setvar(*ap, stackblock(), 0);
187 ap++;
203 setvar(*ap, stackblock(), 0);
206 while (*++ap != NULL)
207 setvar(*ap, nullstr, 0);
216 char *ap; local
230 if ((ap
[all...]
H A Dshow.c359 trargs(char **ap) argument
364 while (*ap) {
365 trstring(*ap++);
366 if (*ap)
H A Dinput.c79 struct alias *ap; /* if push was associated with an alias */ member in struct:strpush
386 pushstring(char *s, int len, void *ap) argument
401 sp->ap = (struct alias *)ap;
402 if (ap)
403 ((struct alias *)ap)->flag |= ALIASINUSE;
419 if (sp->ap)
420 sp->ap->flag &= ~ALIASINUSE;
H A Doptions.c275 char **ap; local
279 ap = newparam = ckmalloc((nparam + 1) * sizeof *ap);
281 *ap++ = savestr(*argv++);
283 *ap = NULL;
299 char **ap; local
302 for (ap = param->p ; *ap ; ap++)
303 ckfree(*ap);
[all...]
H A Doutput.c213 va_list ap; local
215 va_start(ap, fmt);
216 doformat(file, fmt, ap);
217 va_end(ap);
224 va_list ap; local
226 va_start(ap, fmt);
227 doformat(out1, fmt, ap);
228 va_end(ap);
234 va_list ap; local
236 va_start(ap, fm
245 va_list ap; local
280 doformat(struct output *dest, const char *f, va_list ap) argument
[all...]
H A Dtrap.c135 char **ap; local
148 ap = argv + 1;
152 if (strcmp(*ap, "--") == 0)
153 if (*++ap == NULL)
156 if (signame_to_signum(*ap) == -1) {
157 if ((*ap)[0] == '-') {
158 if ((*ap)[1] == '\0')
159 ap++;
160 else if ((*ap)[1] == 'l' && (*ap)[
[all...]
H A Dexec.c221 char **ap; local
229 ap = newargs;
237 if (ap == &newargs[NEWARGS])
245 *ap++ = grabstackstr(outp);
247 if (ap == newargs + 1) { /* if no args, maybe no exec is needed */
262 i = (char *)ap - (char *)newargs; /* size in bytes */
267 ap = newargs, ap2 = new;
269 *ap2++ = *ap++;
270 ap = argv;
271 while (*ap2++ = *ap
953 struct alias *ap; local
[all...]
H A Deval.c168 char **ap; local
174 ap = argv + 2;
178 if ((p = *ap++) == NULL)
H A Dvar.c709 char **ap; local
724 for (ap = argptr; *ap ; ap++) {
726 ret |= unsetfunc(*ap);
728 ret |= unsetvar(*ap, flg_var == 'e');
/system/core/liblog/
H A Dlogd_write.c192 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
196 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
203 va_list ap; local
206 va_start(ap, fmt);
207 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
208 va_end(ap);
215 va_list ap; local
218 va_start(ap, fmt);
219 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
220 va_end(ap);
231 va_list ap; local
[all...]
/system/core/cpio/
H A Dmkbootfs.c28 va_list ap; local
30 va_start(ap, why);
32 vfprintf(stderr, why, ap);
34 va_end(ap);
/system/core/adb/
H A Dfdevent.c49 va_list ap; local
50 va_start(ap, fmt);
52 vfprintf(stderr, fmt, ap);
53 va_end(ap);
H A Dadb.c58 va_list ap; local
59 va_start(ap, fmt);
61 vfprintf(stderr, fmt, ap);
63 va_end(ap);
69 va_list ap; local
70 va_start(ap, fmt);
72 vfprintf(stderr, fmt, ap);
74 va_end(ap);
/system/core/libnetutils/
H A Ddhcpclient.c67 va_list ap; local
69 va_start(ap, fmt);
70 vsnprintf(errmsg, sizeof(errmsg), fmt, ap);
71 va_end(ap);
/system/core/fastboot/
H A Dengine.c63 va_list ap; local
65 va_start(ap, fmt);
66 vsprintf(buf, fmt, ap);
67 va_end(ap);
195 va_list ap; local
201 va_start(ap, fmt);
202 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
203 va_end(ap);
H A Dfastboot.c81 va_list ap; local
82 va_start(ap, fmt);
84 vfprintf(stderr, fmt, ap);
86 va_end(ap);
/system/core/toolbox/
H A Ddd.c1057 struct arg *ap, tmp; local
1075 if (!(ap = (struct arg *)bsearch(&tmp, args,
1082 if (ddflags & ap->noset) {
1089 ddflags |= ap->set;
1090 ap->f(arg);

Completed in 149 milliseconds

12