/system/core/libnl_2/ |
H A D | dbg.c | 6 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/ |
H A D | alias.c | 67 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 D | error.c | 125 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 D | output.c | 213 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 D | trap.c | 135 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 D | miscbltin.c | 91 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 D | options.c | 275 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 D | arith.y | 143 char **ap; 153 ap = argv + 2; 157 if ((p = *ap++) == NULL)
|
H A D | input.c | 79 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 D | exec.c | 221 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 D | show.c | 359 trargs(char **ap) argument 364 while (*ap) { 365 trstring(*ap++); 366 if (*ap)
|
H A D | expand.c | 799 char *ap; local 806 ap = arg0; 808 ap = shellparam.p[num - 1]; 810 if (nulok && (ap == NULL || *ap == '\0')) 829 char **ap; local 870 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) { 872 if (*ap) 883 for (ap [all...] |
H A D | parser.c | 291 union node *ap, **app; local 366 app = ≈ 376 n1->nfor.args = ap; 428 *app = ap = (union node *)stalloc(sizeof (struct narg)); 429 ap->type = NARG; 430 ap->narg.text = wordtext; 431 ap->narg.backquote = backquotelist; 434 app = &ap->narg.next; 437 ap->narg.next = NULL; 721 struct alias *ap; local [all...] |
/system/core/sh/bltin/ |
H A D | echo.c | 61 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/libcutils/ |
H A D | klog.c | 55 va_list ap; local 61 va_start(ap, fmt); 62 vsnprintf(buf, LOG_BUF_MAX, fmt, ap); 64 va_end(ap);
|
/system/core/liblog/ |
H A D | logd_write.c | 205 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument 209 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); 216 va_list ap; local 219 va_start(ap, fmt); 220 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); 221 va_end(ap); 228 va_list ap; local 231 va_start(ap, fmt); 232 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); 233 va_end(ap); 244 va_list ap; local [all...] |
/system/core/debuggerd/ |
H A D | utility.c | 57 va_list ap; local 58 va_start(ap, fmt); 67 vsnprintf(buf, sizeof(buf), fmt, ap); 77 __android_log_vprint(ANDROID_LOG_INFO, "DEBUG", fmt, ap); 86 va_end(ap);
|
/system/core/include/android/ |
H A D | log.h | 110 const char *fmt, va_list ap);
|
/system/core/init/ |
H A D | parser.c | 53 va_list ap; local 61 va_start(ap, fmt); 62 vsnprintf(buf + off, 128 - off, fmt, ap); 63 va_end(ap);
|
/system/core/fastboot/ |
H A D | engine.c | 62 va_list ap; local 64 va_start(ap, fmt); 65 vsprintf(buf, fmt, ap); 66 va_end(ap); 194 va_list ap; local 200 va_start(ap, fmt); 201 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap); 202 va_end(ap);
|
/system/core/cpio/ |
H A D | mkbootfs.c | 28 va_list ap; local 30 va_start(ap, why); 32 vfprintf(stderr, why, ap); 34 va_end(ap);
|
/system/core/libnetutils/ |
H A D | dhcpclient.c | 67 va_list ap; local 69 va_start(ap, fmt); 70 vsnprintf(errmsg, sizeof(errmsg), fmt, ap); 71 va_end(ap);
|
/system/core/adb/ |
H A D | fdevent.c | 49 va_list ap; local 50 va_start(ap, fmt); 52 vfprintf(stderr, fmt, ap); 53 va_end(ap);
|
H A D | adb.c | 61 va_list ap; local 62 va_start(ap, fmt); 64 vfprintf(stderr, fmt, ap); 66 va_end(ap); 72 va_list ap; local 73 va_start(ap, fmt); 75 vfprintf(stderr, fmt, ap); 77 va_end(ap);
|
/system/core/toolbox/ |
H A D | dd.c | 1057 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);
|