| /freebsd-14.2/contrib/ntp/sntp/libopts/ |
| H A D | makeshell.c | 409 if (SKIP_OPT(od) || (od->pz_NAME == NULL)) in emit_wrapup() 423 int min = (od->optMinCt == 0) ? 1 : od->optMinCt; in emit_wrapup() 445 if (SKIP_OPT(od) || (od->pz_NAME == NULL)) in emit_setup() 458 (*(od->pOptProc))(OPTPROC_EMIT_SHELL, od ); in emit_setup() 522 od->pz_NAME, od->optMaxCt); in emit_action() 553 od->pz_NAME, od->pz_DisablePfx); in emit_inaction() 556 od->pz_NAME, od->pz_DisablePfx); in emit_inaction() 578 if (SKIP_OPT(od) || ! IS_GRAPHIC_CHAR(od->optValue)) in emit_flag() 615 if ((od == cod) || SKIP_OPT(od)) in emit_match_expr() 692 emit_match_expr(od->pz_Name, od, opts); in emit_long() [all …]
|
| H A D | save.c | 220 fprintf(fp, ao_name_use_fmt, od->pz_Name, od->pzText); in prt_entry() 237 ? od->pz_Name : od->pz_DisableName) in prt_entry() 323 (*(od->pOptProc))(OPTPROC_RETURN_VALNAME, od ); in prt_value() 450 fprintf(fp, ao_name_use_fmt, od->pz_Name, od->pzText); in prt_nested() 727 (*(od->pOptProc))(OPTPROC_RETURN_VALNAME, od); in prt_enum_arg() 728 prt_entry(fp, od, VOIDP(od->optArg.argString), save_fl); in prt_enum_arg() 774 prt_entry(fp, od, od->optCookie, save_fl); in prt_file_arg() 786 prt_entry(fp, od, od->optArg.argString, save_fl); in prt_file_arg() 789 fprintf(fp, ao_name_use_fmt, od->pz_Name, od->pzText); in prt_file_arg() 879 && (od->optEquivIndex != od->optIndex)) in optionSaveFile() [all …]
|
| H A D | usage.c | 242 od++; in print_offer_usage() 620 if (od->pOptCant == NULL) in prt_conflicts() 623 opt_no = od->pOptCant; in prt_conflicts() 743 od = opts->pOptDesc; in prt_vendor_opts() 778 if ((od->pOptMust != NULL) || (od->pOptCant != NULL)) in prt_extd_usage() 799 (*(od->pOptProc))(OPTPROC_EMIT_USAGE, od); in prt_extd_usage() 804 (*(od->pOptProc))(OPTPROC_EMIT_USAGE, od); in prt_extd_usage() 821 && (od->optEquivIndex != od->optActualIndex ) ) { in prt_extd_usage() 868 od->optMinCt, od->optMaxCt); in prt_extd_usage() 1064 (od->pzText == NULL) ? zDisabledWhy : od->pzText; in prt_opt_usage() [all …]
|
| H A D | autoopts.c | 108 tOptDesc * od = o_st->pOD; in handle_opt() local 109 tOptProc * opt_proc = od->pOptProc; in handle_opt() 110 if (od->fOptState & OPTST_ALLOC_ARG) in handle_opt() 111 AGFREE(od->optArg.argString); in handle_opt() 113 od->optArg.argString = o_st->pzOptArg; in handle_opt() 179 od = eqv_od; in handle_opt() 182 od->optActualValue = od->optValue; in handle_opt() 183 od->optActualIndex = od->optIndex; in handle_opt() 194 && (++od->optOccCt > od->optMaxCt) ) in handle_opt() 200 (*opt_proc)(opts, od); in handle_opt() [all …]
|
| H A D | time.c | 45 if (INQUERY_CALL(opts, od)) in optionTimeVal() 55 if (od->fOptState & OPTST_ALLOC_ARG) { in optionTimeVal() 56 AGFREE(od->optArg.argString); in optionTimeVal() 57 od->fOptState &= ~OPTST_ALLOC_ARG; in optionTimeVal() 60 od->optArg.argInt = (long)val; in optionTimeVal() 77 if (INQUERY_CALL(opts, od)) in optionTimeDate() 114 od->optArg.argString); in optionTimeDate() 123 AGFREE(od->optArg.argString); in optionTimeDate() 127 od->optArg.argInt = tm; in optionTimeDate() 134 optionTimeVal(opts, od); in optionTimeDate() [all …]
|
| H A D | stack.c | 48 optionUnstackArg(tOptions * opts, tOptDesc * od) in optionUnstackArg() argument 52 if (INQUERY_CALL(opts, od)) in optionUnstackArg() 55 arg_list = (tArgList *)od->optCookie; in optionUnstackArg() 62 od->fOptState &= OPTST_PERSISTENT_MASK; in optionUnstackArg() 64 od->fOptState |= OPTST_DISABLED; in optionUnstackArg() 167 od->fOptState |= OPTST_DISABLED; in optionUnstackArg() 169 od->optCookie = NULL; in optionUnstackArg() 238 if (INQUERY_CALL(opts, od)) in optionStackArg() 241 if ((od->fOptState & OPTST_RESET) != 0) { in optionStackArg() 242 tArgList * arg_list = od->optCookie; in optionStackArg() [all …]
|
| H A D | boolean.c | 48 optionBooleanVal(tOptions * opts, tOptDesc * od) in optionBooleanVal() argument 53 if (INQUERY_CALL(opts, od)) in optionBooleanVal() 56 if (od->optArg.argString == NULL) { in optionBooleanVal() 57 od->optArg.argBool = false; in optionBooleanVal() 61 switch (*(od->optArg.argString)) { in optionBooleanVal() 64 long val = strtol(od->optArg.argString, &pz, 0); in optionBooleanVal() 77 if (od->optArg.argString[1] != 'f') in optionBooleanVal() 82 if (od->fOptState & OPTST_ALLOC_ARG) { in optionBooleanVal() 83 AGFREE(od->optArg.argString); in optionBooleanVal() 84 od->fOptState &= ~OPTST_ALLOC_ARG; in optionBooleanVal() [all …]
|
| H A D | numeric.c | 107 optionNumericVal(tOptions * opts, tOptDesc * od) in optionNumericVal() argument 116 if (INQUERY_CALL(opts, od) || (od->optArg.argString == NULL)) in optionNumericVal() 125 if ( (od == NULL) in optionNumericVal() 126 || (od->optArg.argString == NULL) in optionNumericVal() 127 || ((od->fOptState & OPTST_RESET) != 0) in optionNumericVal() 132 val = strtol(od->optArg.argString, &pz, 0); in optionNumericVal() 155 if (od->fOptState & OPTST_ALLOC_ARG) { in optionNumericVal() 156 AGFREE(od->optArg.argString); in optionNumericVal() 157 od->fOptState &= ~OPTST_ALLOC_ARG; in optionNumericVal() 160 od->optArg.argInt = val; in optionNumericVal() [all …]
|
| H A D | enum.c | 232 tOptDesc od = { 0 }; in optionKeywordName() local 233 od.optArg.argEnum = enum_val; in optionKeywordName() 236 return od.optArg.argString; in optionKeywordName() 365 bits = (uintptr_t)od->optCookie & mask; in set_memb_names() 495 optionMemberList(tOptDesc * od) in optionMemberList() argument 497 uintptr_t sv = od->optArg.argIntptr; in optionMemberList() 499 (*(od->pOptProc))(OPTPROC_RETURN_VALNAME, od); in optionMemberList() 500 res = VOIDP(od->optArg.argString); in optionMemberList() 501 od->optArg.argIntptr = sv; in optionMemberList() 613 od->optCookie = VOIDP(res); in optionSetMembers() [all …]
|
| H A D | version.c | 150 if ( (od->fOptState & OPTST_ARG_OPTIONAL) in print_ver() 151 && (od->optArg.argString != NULL) in print_ver() 152 && (od->optArg.argString[0] != NUL)) in print_ver() 154 ch = od->optArg.argString[0]; in print_ver() 157 ch = od->optArg.argString[0]; in print_ver() 194 optionPrintVersion(tOptions * opts, tOptDesc * od) in optionPrintVersion() argument 196 print_ver(opts, od, print_exit ? stderr : stdout, true); in optionPrintVersion() 212 optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od) in optionPrintVersionAndReturn() argument 214 print_ver(opts, od, print_exit ? stderr : stdout, false); in optionPrintVersionAndReturn() 228 optionVersionStderr(tOptions * opts, tOptDesc * od) in optionVersionStderr() argument [all …]
|
| H A D | proto.h | 14 too_many_occurrences(tOptions * opts, tOptDesc * od); 41 has_conflict(tOptions * pOpts, tOptDesc * od); 266 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od); 278 emit_action(tOptions * opts, tOptDesc * od); 281 emit_inaction(tOptions * opts, tOptDesc * od); 471 prt_nested(FILE * fp, tOptDesc * od, save_flags_mask_t save_fl); 483 prt_str_arg(FILE * fp, tOptDesc * od, save_flags_mask_t save_fl); 567 prt_conflicts(tOptions * opts, tOptDesc * od); 570 prt_one_vendor(tOptions * opts, tOptDesc * od, 584 prt_preamble(tOptions * opts, tOptDesc * od, arg_types_t * at); [all …]
|
| H A D | alias.c | 35 too_many_occurrences(tOptions * opts, tOptDesc * od) in too_many_occurrences() argument 38 char const * eqv = (od->optEquivIndex != NO_EQUIVALENT) ? zequiv : zNil; in too_many_occurrences() 42 if (od->optMaxCt > 1) in too_many_occurrences() 43 fprintf(stderr, zat_most, od->optMaxCt, od->pz_Name, eqv); in too_many_occurrences() 45 fprintf(stderr, zonly_one, od->pz_Name, eqv); in too_many_occurrences()
|
| H A D | check.c | 35 has_conflict(tOptions * pOpts, tOptDesc * od) in has_conflict() argument 37 if (od->pOptMust != NULL) { in has_conflict() 38 int const * must = od->pOptMust; in has_conflict() 45 od->pz_Name, ood->pz_Name); in has_conflict() 51 if (od->pOptCant != NULL) { in has_conflict() 52 int const * cant = od->pOptCant; in has_conflict() 59 od->pz_Name, ood->pz_Name); in has_conflict()
|
| H A D | init.c | 190 tOptDesc * od = NULL; in do_presets() local 202 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets() 203 if (DISABLED_OPT(od)) in do_presets() 224 if ((od != NULL) && ! DISABLED_OPT(od)) in do_presets()
|
| H A D | pgusage.c | 110 optionPagedUsage(tOptions * opts, tOptDesc * od) in optionPagedUsage() argument 113 if ((od->fOptState & OPTST_RESET) != 0) in optionPagedUsage() 129 if ((od->fOptState & OPTST_RESET) != 0) in optionPagedUsage()
|
| H A D | nested.c | 793 optionNestedVal(tOptions * opts, tOptDesc * od) in optionNestedVal() argument 798 if (od->fOptState & OPTST_RESET) { in optionNestedVal() 799 tArgList * arg_list = od->optCookie; in optionNestedVal() 813 AGFREE(od->optCookie); in optionNestedVal() 817 od->optArg.argString, od->pz_Name, strlen(od->pz_Name)); in optionNestedVal() 820 addArgListEntry(&(od->optCookie), VOIDP(opt_val)); in optionNestedVal()
|
| /freebsd-14.2/stand/common/ |
| H A D | disk.c | 84 struct open_disk *od; in ptblread() local 108 struct open_disk *od; in ptable_print() local 165 struct open_disk *od; in disk_print() local 179 struct open_disk *od; in disk_read() local 192 struct open_disk *od; in disk_write() local 207 if (od == NULL) in disk_ioctl() 218 *(uint64_t *)data = od->entrysize * od->sectorsize; in disk_ioctl() 242 if (od == NULL) { in disk_open() 247 od->entrysize = 0; in disk_open() 362 free(od); in disk_open() [all …]
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | sftp-glob.c | 65 fudge_readdir(struct SFTP_OPENDIR *od) in fudge_readdir() argument 74 if (od->dir[od->offset] == NULL) in fudge_readdir() 84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir() 86 strlcpy(ret->d_name, od->dir[od->offset++]->filename, in fudge_readdir() 104 fudge_closedir(struct SFTP_OPENDIR *od) in fudge_closedir() argument 106 sftp_free_dirents(od->dir); in fudge_closedir() 107 free(od); in fudge_closedir()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libppath/ |
| H A D | t_ppath.c | 432 prop_dictionary_t d, od; in ATF_TC_BODY() local 442 od = prop_dictionary_copy(d); in ATF_TC_BODY() 547 prop_object_release(od); in ATF_TC_BODY() 571 prop_dictionary_t d, od; in ATF_TC_BODY() local 581 od = prop_dictionary_copy(d); in ATF_TC_BODY() 681 prop_object_release(od); in ATF_TC_BODY() 702 prop_dictionary_t d, od; in ATF_TC_BODY() local 711 od = prop_dictionary_copy(d); in ATF_TC_BODY() 775 prop_object_release(od); in ATF_TC_BODY() 796 prop_dictionary_t d, od; in ATF_TC_BODY() local [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/display/mediatek/ |
| H A D | mediatek,od.yaml | 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml# 25 - mediatek,mt2712-disp-od 26 - mediatek,mt8173-disp-od 53 od@14023000 { 54 compatible = "mediatek,mt8173-disp-od";
|
| /freebsd-14.2/contrib/elftoolchain/elfcopy/ |
| H A D | sections.c | 824 Elf_Data *od; in update_reloc() local 863 Elf_Data *od; in pad_section() local 876 od->d_align = 1; in pad_section() 877 od->d_off = s->sz; in pad_section() 878 od->d_buf = s->pad; in pad_section() 1239 Elf_Data *id, *od; in copy_data() local 1263 od->d_off = 0; in copy_data() 1286 od->d_align = 1; in copy_data() 1296 Elf_Data *od; in create_external_section() local 1334 od->d_off = 0; in create_external_section() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 2520 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, in ztest_lookup() 2584 od->od_type = od->od_crtype; in ztest_create() 2585 od->od_blocksize = od->od_crblocksize; in ztest_create() 2586 od->od_gen = od->od_crgen; in ztest_create() 2831 od->od_gen = 0; in ztest_od_init() 2833 (void) snprintf(od->od_name, sizeof (od->od_name), in ztest_od_init() 2855 zd->zd_od = od; in ztest_object_init() 4624 ztest_od_t *od; in ztest_dmu_object_alloc_free() local 4686 ztest_od_t *od; in ztest_dmu_read_write() local 4976 ztest_od_t *od; in ztest_dmu_read_write_zcopy() local [all …]
|
| /freebsd-14.2/usr.sbin/prometheus_sysctl_exporter/ |
| H A D | prometheus_sysctl_exporter.c | 459 oid_get_description(const struct oid *o, struct oiddescription *od) in oid_get_description() argument 468 odlen = sizeof(od->description); in oid_get_description() 469 if (sysctl(lookup, 2 + o->len, &od->description, &odlen, 0, 0) != 0) { in oid_get_description() 475 newline = strchr(od->description, '\n'); in oid_get_description() 479 return (*od->description != '\0'); in oid_get_description() 484 oiddescription_print(const struct oiddescription *od, FILE *fp) in oiddescription_print() argument 487 fprintf(fp, "%s", od->description); in oiddescription_print() 496 struct oiddescription od; in oid_print() local 512 has_desc = oid_get_description(o, &od); in oid_print() 517 if (has_desc && strnstr(od.description, "(LEGACY)", BUFSIZ) != NULL) in oid_print() [all …]
|
| /freebsd-14.2/usr.bin/hexdump/tests/ |
| H A D | od_test.sh | 40 od -c d_od_cflag.in 43 od -c d_od_cflag.in
|
| /freebsd-14.2/usr.bin/hexdump/ |
| H A D | Makefile | 7 MAN= hexdump.1 od.1 9 LINKS= ${BINDIR}/hexdump ${BINDIR}/od
|