Searched refs:argbuf (Results 1 – 13 of 13) sorted by relevance
/openbsd/sys/arch/octeon/dev/ |
H A D | octboot.c | 99 char *argbuf = NULL, *argptr; in octboot_kexec() local 109 argbuf = malloc(PAGE_SIZE, M_TEMP, M_NOWAIT); in octboot_kexec() 110 if (argbuf == NULL) { in octboot_kexec() 114 argptr = argbuf; in octboot_kexec() 116 len = argbuf + PAGE_SIZE - argptr; in octboot_kexec() 285 if (argptr > argbuf) { in octboot_kexec() 286 size = roundup(argptr - argbuf, BOOTMEM_BLOCK_ALIGN); in octboot_kexec() 291 memcpy((caddr_t)PHYS_TO_CKSEG0(maxp), argbuf, argptr - argbuf); in octboot_kexec() 293 KASSERT(kargs->argv[i] >= argbuf); in octboot_kexec() 294 KASSERT(kargs->argv[i] < argbuf + PAGE_SIZE); in octboot_kexec() [all …]
|
/openbsd/usr.bin/mg/ |
H A D | interpreter.c | 451 multiarg(char *cmdp, char *argbuf, int numparams) in multiarg() argument 459 argp = argbuf; in multiarg() 463 for (p = argbuf; *p != '\0'; p++) { in multiarg() 625 char excbuf[BUFSIZE], argbuf[BUFSIZE]; in expandvals() local 635 if (strlcpy(argbuf, p, sizeof(argbuf)) >= sizeof(argbuf)) in expandvals() 637 argp = argbuf; in expandvals() 641 for (p = argbuf; *p != '\0'; p++) { in expandvals() 684 argbuf[0] = ' '; in expandvals() 685 argbuf[1] = '\0'; in expandvals() 686 (void)(strlcat(argbuf, varbuf, in expandvals() [all …]
|
H A D | log.c | 259 const char* const argbuf, in mglog_isvar() argument 266 argbuf, in mglog_isvar() 281 const char* const argbuf, in mglog_execbuf() argument 294 argbuf, in mglog_execbuf()
|
/openbsd/gnu/gcc/gcc/ |
H A D | gcc.c | 1862 static const char **argbuf; variable 1936 argbuf = xrealloc (argbuf, (argbuf_length *= 2) * sizeof (const char *)); in store_arg() 1938 argbuf[argbuf_index++] = arg; in store_arg() 1939 argbuf[argbuf_index] = 0; in store_arg() 2812 commands[0].argv = &argbuf[0]; in execute() 2834 argbuf[argbuf_index] = 0; in execute() 4512 if (argbuf[i][0] != '-') in do_self_spec() 4516 sw->part1 = &argbuf[i][1]; in do_self_spec() 5431 save_argbuf = argbuf; in eval_spec_function() 5455 free (argbuf); in eval_spec_function() [all …]
|
/openbsd/usr.bin/cvs/ |
H A D | trigger.c | 227 char argbuf[2] = { '\0', '\0' }; in parse_cmd() local 314 argbuf[0] = *p; in parse_cmd() 315 args = argbuf; in parse_cmd()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | gcc.c | 1715 static const char **argbuf; variable 1780 argbuf 1784 argbuf[argbuf_index++] = arg; 1785 argbuf[argbuf_index] = 0; 2605 commands[0].argv = &argbuf[0]; in execute() 2627 argbuf[argbuf_index] = 0; in execute() 4192 if (argbuf[i][0] != '-') 4196 sw->part1 = &argbuf[i][1]; 5296 save_argbuf = argbuf; 5320 free (argbuf); [all …]
|
H A D | ChangeLog.3 | 2906 * gcc.c: Constify argbuf; arguments to store_arg,
|
/openbsd/lib/libkvm/ |
H A D | kvm_private.h | 57 char *argspc, *argbuf; /* (dynamic) storage for argv strings */ member
|
H A D | kvm_proc.c | 287 pargbuf = &kd->argbuf; in kvm_argv() 481 pargbuf = &kd->argbuf; in kvm_arg_sysctl()
|
H A D | kvm.c | 194 kd->argbuf = 0; in _kvm_open() 660 free(kd->argbuf); in kvm_close()
|
/openbsd/usr.bin/ftp/ |
H A D | ftp_var.h | 188 extern char argbuf[FTPBUFLEN]; /* argument storage buffer */
|
H A D | main.c | 174 char argbuf[FTPBUFLEN]; variable 863 argbase = argbuf; /* store from first of buffer */ in makeargv()
|
/openbsd/gnu/usr.bin/perl/ |
H A D | Configure | 17994 struct semid_ds argbuf; 17995 arg.buf = &argbuf; 18060 struct semid_ds argbuf; 18066 arg.buf = &argbuf;
|