| /src/external/bsd/ntp/dist/sntp/libopts/ |
| boolean.c | 42 * arg: + tOptDesc * + od + the descriptor for this arg + 50 optionBooleanVal(tOptions * opts, tOptDesc * od) 55 if (INQUERY_CALL(opts, od)) 58 if (od->optArg.argString == NULL) { 59 od->optArg.argBool = false; 63 switch (*(od->optArg.argString)) { 66 long val = strtol(od->optArg.argString, &pz, 0); 79 if (od->optArg.argString[1] != 'f') 84 if (od->fOptState & OPTST_ALLOC_ARG) { 85 AGFREE(od->optArg.argString) [all...] |
| time.c | 37 * arg: + tOptDesc * + od + the descriptor for this arg + 43 optionTimeVal(tOptions * opts, tOptDesc * od) 47 if (INQUERY_CALL(opts, od)) 50 val = parse_duration(od->optArg.argString); 52 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString); 57 if (od->fOptState & OPTST_ALLOC_ARG) { 58 AGFREE(od->optArg.argString); 59 od->fOptState &= ~OPTST_ALLOC_ARG; 62 od->optArg.argInt = (long)val; 70 * arg: + tOptDesc * + od + the descriptor for this arg [all...] |
| numeric.c | 103 * arg: + tOptDesc * + od + the descriptor for this arg + 109 optionNumericVal(tOptions * opts, tOptDesc * od) 118 if (INQUERY_CALL(opts, od) || (od->optArg.argString == NULL)) 124 * emitted by passing a NULL od pointer. Also bail out 127 if ( (od == NULL) 128 || (od->optArg.argString == NULL) 129 || ((od->fOptState & OPTST_RESET) != 0) 134 val = strtol(od->optArg.argString, &pz, 0); 135 if ((pz == od->optArg.argString) || (errno != 0) [all...] |
| stack.c | 44 * arg: + tOptDesc * + od + the descriptor for this arg + 50 optionUnstackArg(tOptions * opts, tOptDesc * od) 54 if (INQUERY_CALL(opts, od)) 57 arg_list = (tArgList *)od->optCookie; 64 od->fOptState &= OPTST_PERSISTENT_MASK; 65 if ((od->fOptState & OPTST_INITENABLED) == 0) 66 od->fOptState |= OPTST_DISABLED; 75 if (regcomp(&re, od->optArg.argString, REG_NOSUB) != 0) 139 if (strcmp(pzSrc, od->optArg.argString) == 0) { 167 od->fOptState &= OPTST_PERSISTENT_MASK [all...] |
| save.c | 212 * @param[in] od the option descriptor to print 217 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg, save_flags_mask_t save_fl) 222 fprintf(fp, ao_name_use_fmt, od->pz_Name, od->pzText); 223 if (UNUSED_OPT(od) && (save_fl & SVFL_DEFAULT)) 234 (od->pz_DisableName == NULL) 235 ? od->pz_Name 236 : (DISABLED_OPT(od) 237 ? od->pz_DisableName 238 : ((od->optEquivIndex == NO_EQUIVALENT 826 tOptDesc * od; local [all...] |
| autoopts.c | 110 tOptDesc * od = o_st->pOD; local 111 tOptProc * opt_proc = od->pOptProc; 112 if (od->fOptState & OPTST_ALLOC_ARG) 113 AGFREE(od->optArg.argString); 115 od->optArg.argString = o_st->pzOptArg; 122 && ((od->fOptState & OPTST_NO_INIT) != 0) 130 * entry. (It may not be od->optChar[0], if this is an 134 if (od->optEquivIndex != NO_EQUIVALENT) { 135 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; 142 if ((od->fOptState & OPTST_DEFINED) != 0) 366 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; local [all...] |
| alias.c | 37 too_many_occurrences(tOptions * opts, tOptDesc * od) 40 char const * eqv = (od->optEquivIndex != NO_EQUIVALENT) ? zequiv : zNil; 44 if (od->optMaxCt > 1) 45 fprintf(stderr, zat_most, od->optMaxCt, od->pz_Name, eqv); 47 fprintf(stderr, zonly_one, od->pz_Name, eqv);
|
| usage.c | 240 tOptDesc * od = opts->pOptDesc + ix; local 241 while (od->optUsage != AOUSE_HELP) { 244 od++; 249 help[1] = od->optValue; 256 strncpy(help + 2, od->pz_Name, 20); 260 strncpy(help, od->pz_Name, 20); 588 * @param od the option descriptor 591 prt_conflicts(tOptions * opts, tOptDesc * od) 599 if (od->pOptMust != NULL) { 600 opt_no = od->pOptMust 723 tOptDesc * od = opts->pOptDesc; local 1044 tOptDesc * od = opts->pOptDesc; local 1156 tOptDesc * od = opts->pOptDesc; local [all...] |
| check.c | 37 has_conflict(tOptions * pOpts, tOptDesc * od) 39 if (od->pOptMust != NULL) { 40 int const * must = od->pOptMust; 47 od->pz_Name, ood->pz_Name); 53 if (od->pOptCant != NULL) { 54 int const * cant = od->pOptCant; 61 od->pz_Name, ood->pz_Name);
|
| enum.c | 234 tOptDesc od = { .optIndex = 0 }; local 235 od.optArg.argEnum = enum_val; 237 (*(pOD->pOptProc))(OPTPROC_RETURN_VALNAME, &od ); 238 return od.optArg.argString; 346 set_memb_names(tOptions * opts, tOptDesc * od, char const * const * nm_list, 351 uintptr_t bits = (uintptr_t)od->optCookie & mask; 366 od->optArg.argString = pz = AGALOC(len, "enum"); 367 bits = (uintptr_t)od->optCookie & mask; 401 * @param od the set membership option description 408 check_membership_start(tOptDesc * od, char const ** argp, bool * invert [all...] |
| version.c | 140 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) 152 if ( (od->fOptState & OPTST_ARG_OPTIONAL) 153 && (od->optArg.argString != NULL) 154 && (od->optArg.argString[0] != NUL)) 156 ch = od->optArg.argString[0]; 158 else if (OPTST_GET_ARGTYPE(od->fOptState) == OPARG_TYPE_STATIC) { 159 ch = od->optArg.argString[0]; 190 * arg: + tOptDesc * + od + the descriptor for this arg + 196 optionPrintVersion(tOptions * opts, tOptDesc * od) 198 print_ver(opts, od, print_exit ? stderr : stdout, true) [all...] |
| makeshell.c | 249 * @param[in] od for TT_VERSION, it is the version option 252 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od) 296 if (od->fOptState & OPTST_ALLOC_ARG) { 297 AGFREE(od->optArg.argString); 298 od->fOptState &= ~OPTST_ALLOC_ARG; 300 od->optArg.argString = "c"; 301 optionPrintVersion(opts, od); 401 tOptDesc * od = opts->pOptDesc; local 406 for (;opt_ct > 0; od++, --opt_ct) { 411 if (SKIP_OPT(od) || (od->pz_NAME == NULL) 435 tOptDesc * od = opts->pOptDesc; local 573 tOptDesc * od = opts->pOptDesc; local 608 tOptDesc * od = opts->pOptDesc; local 679 tOptDesc * od = opts->pOptDesc; local [all...] |
| /src/sys/arch/atari/stand/tostools/libtos/ |
| sysinfo.c | 58 sys_info(osdsc_t *od) 63 od->cputype = 0; 71 od->cputype |= ATARI_CLKBROKEN; 76 if (od->stmem_size <= 0) 77 od->stmem_size = *ADDR_PHYSTOP; 79 if (od->ttmem_size) 80 od->ttmem_start = TTRAM_BASE; 83 od->ttmem_size = *ADDR_RAMTOP; 84 if (od->ttmem_size > TTRAM_BASE) { 85 od->ttmem_size -= TTRAM_BASE [all...] |
| aout.c | 80 aout_load(int fd, osdsc_t *od, char **errp, int loadsyms) 104 od->k_esym = 0; 105 od->ksize = textsz + ehdr.a_data + ehdr.a_bss; 106 od->kentry = ehdr.a_entry; 119 od->ksize += ehdr.a_syms + sizeof(long) + stringsz; 123 if ((od->kstart = (u_char *)MALLOC(od->ksize)) == NULL) 130 if ((read(fd, (char *)(od->kstart), ehdr.a_text) != ehdr.a_text) 131 ||(read(fd,(char *)(od->kstart+textsz),ehdr.a_data) != ehdr.a_data)) 133 memset(od->kstart + textsz + ehdr.a_data, 0, ehdr.a_bss) [all...] |
| /src/sys/arch/atari/stand/tostools/loadbsd/ |
| loadbsd.c | 76 osdsc_t *od; local 81 od = &kernelparms; 82 od->boothowto = RB_SINGLE; 87 od->boothowto &= ~(RB_SINGLE); 88 od->boothowto |= RB_AUTOBOOT; 91 od->boothowto |= RB_ASKNAME; 94 od->boothowto |= RB_KDB; 112 od->stmem_size = atoi(optarg); 118 od->ttmem_size = atoi(optarg); 143 get_sys_info(od); [all...] |
| /src/sys/arch/atari/stand/bootxx/ |
| bootxx.c | 59 osdsc_t *od = &os_desc; local 72 od->rootfs = 0; /* partition a */ 73 od->osname = "/netbsd"; 74 od->ostype = &od->osname[1]; 75 od->boothowto = (RB_RDONLY); 80 od->boothowto = (RB_RDONLY|RB_SINGLE); 81 pref = usr_info(od); 89 if (init_dskio(readsector, disklabel, od->rootfs)) 92 if (load_booter(od)) [all...] |
| /src/sys/arch/atari/stand/bootxxx/ |
| bootxxx.c | 50 bootxxx(void *readsector, void *disklabel, osdsc_t *od) 63 if (init_dskio(readsector, disklabel, od->rootfs)) 66 sys_info(od); 67 if (!(od->cputype & ATARI_ANYCPU)) { 72 if ((fd = open(od->osname, 0)) < 0) { 73 printf("Cannot open kernel '%s'\n", od->osname); 77 if (elf_load(fd, od, &errmsg, 1) != 0) 80 boot_BSD(&od->kp);
|
| /src/sys/arch/evbmips/alchemy/ |
| obio.c | 80 const struct obiodev *od; local 87 for (od = board->ab_devices; od->od_name != NULL; od++) { 88 oa.oba_name = od->od_name; 89 oa.oba_addr = od->od_addr; 90 oa.oba_irq = od->od_irq;
|
| /src/usr.bin/hexdump/ |
| Makefile | 6 MAN= hexdump.1 od.1 12 LINKS= ${BINDIR}/hexdump ${BINDIR}/od
|
| /src/crypto/external/bsd/openssh/dist/ |
| sftp-glob.c | 66 fudge_readdir(struct SFTP_OPENDIR *od) 70 if (od->dir[od->offset] == NULL) 74 strlcpy(ret.d_name, od->dir[od->offset++]->filename, 81 fudge_closedir(struct SFTP_OPENDIR *od) 83 sftp_free_dirents(od->dir); 84 free(od);
|
| /src/sys/arch/mips/adm5120/ |
| adm5120_obio.c | 131 obio_attach_args_create(struct obio_attach_args *oa, const struct obiodev *od, 134 oa->oba_name = od->od_name; 135 oa->oba_addr = od->od_addr; 136 oa->oba_irq = od->od_irq; 140 oa->oba_gpio_mask = od->od_gpio_mask; 148 const struct obiodev *od; local 156 for (od = obiodevs; od->od_name != NULL; od++) { 158 obio_attach_args_create(&oa, od, ma->ma_gpio, ma->ma_dmat [all...] |
| /src/external/gpl3/binutils/dist/opcodes/ |
| ip2k-opc.h | 110 #define CGEN_INIT_PARSE(od) \ 113 #define CGEN_INIT_INSERT(od) \ 116 #define CGEN_INIT_EXTRACT(od) \ 119 #define CGEN_INIT_PRINT(od) \
|
| lm32-opc.h | 96 #define CGEN_INIT_PARSE(od) \ 99 #define CGEN_INIT_INSERT(od) \ 102 #define CGEN_INIT_EXTRACT(od) \ 105 #define CGEN_INIT_PRINT(od) \
|
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| ip2k-opc.h | 110 #define CGEN_INIT_PARSE(od) \ 113 #define CGEN_INIT_INSERT(od) \ 116 #define CGEN_INIT_EXTRACT(od) \ 119 #define CGEN_INIT_PRINT(od) \
|
| lm32-opc.h | 96 #define CGEN_INIT_PARSE(od) \ 99 #define CGEN_INIT_INSERT(od) \ 102 #define CGEN_INIT_EXTRACT(od) \ 105 #define CGEN_INIT_PRINT(od) \
|