| /freebsd-13.1/contrib/ntp/sntp/libopts/ |
| H A D | makeshell.c | 447 if (SKIP_OPT(od) || (od->pz_NAME == NULL)) in emit_wrapup() 461 int min = (od->optMinCt == 0) ? 1 : od->optMinCt; in emit_wrapup() 483 if (SKIP_OPT(od) || (od->pz_NAME == NULL)) in emit_setup() 496 (*(od->pOptProc))(OPTPROC_EMIT_SHELL, od ); in emit_setup() 560 od->pz_NAME, od->optMaxCt); in emit_action() 591 od->pz_NAME, od->pz_DisablePfx); in emit_inaction() 594 od->pz_NAME, od->pz_DisablePfx); in emit_inaction() 616 if (SKIP_OPT(od) || ! IS_GRAPHIC_CHAR(od->optValue)) in emit_flag() 653 if ((od == cod) || SKIP_OPT(od)) in emit_match_expr() 730 emit_match_expr(od->pz_Name, od, opts); in emit_long() [all …]
|
| H A D | usage.c | 293 od++; in print_offer_usage() 671 if (od->pOptCant == NULL) in prt_conflicts() 674 opt_no = od->pOptCant; in prt_conflicts() 794 od = opts->pOptDesc; in prt_vendor_opts() 829 if ((od->pOptMust != NULL) || (od->pOptCant != NULL)) in prt_extd_usage() 850 (*(od->pOptProc))(OPTPROC_EMIT_USAGE, od); in prt_extd_usage() 855 (*(od->pOptProc))(OPTPROC_EMIT_USAGE, od); in prt_extd_usage() 872 && (od->optEquivIndex != od->optActualIndex ) ) { in prt_extd_usage() 919 od->optMinCt, od->optMaxCt); in prt_extd_usage() 1115 (od->pzText == NULL) ? zDisabledWhy : od->pzText; in prt_opt_usage() [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() 112 od->optArg.argString); in optionTimeDate() 121 AGFREE(od->optArg.argString); in optionTimeDate() 125 od->optArg.argInt = tm; in optionTimeDate() 132 optionTimeVal(opts, od); in optionTimeDate() [all …]
|
| H A D | autoopts.c | 114 tOptDesc * od = o_st->pOD; in handle_opt() local 115 tOptProc * opt_proc = od->pOptProc; in handle_opt() 116 if (od->fOptState & OPTST_ALLOC_ARG) in handle_opt() 117 AGFREE(od->optArg.argString); in handle_opt() 119 od->optArg.argString = o_st->pzOptArg; in handle_opt() 185 od = eqv_od; in handle_opt() 188 od->optActualValue = od->optValue; in handle_opt() 189 od->optActualIndex = od->optIndex; in handle_opt() 200 && (++od->optOccCt > od->optMaxCt) ) in handle_opt() 206 (*opt_proc)(opts, od); in handle_opt() [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 | save.c | 290 (! DISABLED_OPT(od) || (od->optEquivIndex != NO_EQUIVALENT)) in prt_entry() 291 ? od->pz_Name in prt_entry() 631 (*(od->pOptProc))(OPTPROC_RETURN_VALNAME, od); in prt_enum_arg() 632 prt_entry(fp, od, VOIDP(od->optArg.argString)); in prt_enum_arg() 654 prt_entry(fp, od, buf); in prt_set_arg() 675 prt_entry(fp, od, od->optCookie); in prt_file_arg() 684 prt_entry(fp, od, od->optArg.argString); in prt_file_arg() 720 tOptDesc * od; in optionSaveFile() local 731 od = opts->pOptDesc; in optionSaveFile() 751 && (od->optEquivIndex != od->optIndex)) in optionSaveFile() [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() 131 val = strtol(od->optArg.argString, &pz, 0); in optionNumericVal() 154 if (od->fOptState & OPTST_ALLOC_ARG) { in optionNumericVal() 155 AGFREE(od->optArg.argString); in optionNumericVal() 156 od->fOptState &= ~OPTST_ALLOC_ARG; in optionNumericVal() 159 od->optArg.argInt = val; in optionNumericVal() [all …]
|
| H A D | enum.c | 256 tOptDesc od = { 0 }; in optionKeywordName() local 257 od.optArg.argEnum = enum_val; in optionKeywordName() 260 return od.optArg.argString; in optionKeywordName() 389 bits = (uintptr_t)od->optCookie & mask; in set_memb_names() 519 optionMemberList(tOptDesc * od) in optionMemberList() argument 521 uintptr_t sv = od->optArg.argIntptr; in optionMemberList() 523 (*(od->pOptProc))(OPTPROC_RETURN_VALNAME, od); in optionMemberList() 524 res = VOIDP(od->optArg.argString); in optionMemberList() 525 od->optArg.argIntptr = sv; in optionMemberList() 637 od->optCookie = VOIDP(res); in optionSetMembers() [all …]
|
| H A D | version.c | 138 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) in print_ver() argument 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() 191 optionPrintVersion(tOptions * opts, tOptDesc * od) in optionPrintVersion() argument 193 print_ver(opts, od, print_exit ? stderr : stdout, true); in optionPrintVersion() 209 optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od) in optionPrintVersionAndReturn() argument 211 print_ver(opts, od, print_exit ? stderr : stdout, false); in optionPrintVersionAndReturn() 225 optionVersionStderr(tOptions * opts, tOptDesc * od) in optionVersionStderr() argument [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 | 194 tOptDesc * od = NULL; in do_presets() local 206 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets() 207 if (DISABLED_OPT(od)) in do_presets() 228 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()
|
| /freebsd-13.1/stand/common/ |
| H A D | disk.c | 86 struct open_disk *od; in ptblread() local 110 struct open_disk *od; in ptable_print() local 167 struct open_disk *od; in disk_print() local 181 struct open_disk *od; in disk_read() local 194 struct open_disk *od; in disk_write() local 209 if (od == NULL) in disk_ioctl() 220 *(uint64_t *)data = od->entrysize * od->sectorsize; in disk_ioctl() 244 if (od == NULL) { in disk_open() 249 od->entrysize = 0; in disk_open() 364 free(od); in disk_open() [all …]
|
| /freebsd-13.1/sys/mips/cavium/cryptocteon/ |
| H A D | cavium_crypto.c | 325 struct octo_sess *od, in octo_aes_cbc_encrypt() argument 348 CVMX_PREFETCH0(od->octo_enckey); in octo_aes_cbc_encrypt() 354 if (od->octo_encklen == 16) { in octo_aes_cbc_encrypt() 393 struct octo_sess *od, in octo_aes_cbc_decrypt() argument 416 CVMX_PREFETCH0(od->octo_enckey); in octo_aes_cbc_decrypt() 422 if (od->octo_encklen == 16) { in octo_aes_cbc_decrypt() 464 struct octo_sess *od, in octo_null_sha1_encrypt() argument 565 struct octo_sess *od, in octo_aes_cbc_sha1_encrypt() argument 605 if (od->octo_encklen == 16) { in octo_aes_cbc_sha1_encrypt() 756 struct octo_sess *od, in octo_aes_cbc_sha1_decrypt() argument [all …]
|
| H A D | cryptocteon.c | 248 struct octo_sess *od; in cryptocteon_process() local 262 od = crypto_get_driver_session(crp->crp_session); in cryptocteon_process() 350 od->octo_iov[iovcnt].iov_len = m->m_len; in cryptocteon_process() 353 iovlen += od->octo_iov[iovcnt++].iov_len; in cryptocteon_process() 362 iovlen += od->octo_iov[iovcnt].iov_len; in cryptocteon_process() 367 od->octo_iov[0].iov_base = crp->crp_buf.cb_buf; in cryptocteon_process() 379 memcpy(od->octo_enckey, crp->crp_cipher_key, od->octo_encklen); in cryptocteon_process() 384 (*od->octo_encrypt)(od, od->octo_iov, iovcnt, iovlen, in cryptocteon_process() 387 (*od->octo_decrypt)(od, od->octo_iov, iovcnt, iovlen, in cryptocteon_process() 393 od->octo_mlen, icv2); in cryptocteon_process() [all …]
|
| /freebsd-13.1/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 free_sftp_dirents(od->dir); in fudge_closedir() 107 free(od); in fudge_closedir()
|
| /freebsd-13.1/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-13.1/sys/mips/ingenic/ |
| H A D | jz4780_clk_pll.c | 119 uint32_t reg, m, n, od; in jz4780_clk_pll_recalc_freq() local 136 od = REG_GET(reg, CGU_PLL_OD) + 1; in jz4780_clk_pll_recalc_freq() 139 if (m == 0 || n == 0 || od == 0) { in jz4780_clk_pll_recalc_freq() 144 *freq = ((*freq / n) * m) / od; in jz4780_clk_pll_recalc_freq() 169 uint32_t reg, m, n, od; in jz4780_clk_pll_set_freq() local 175 od = 1; in jz4780_clk_pll_set_freq() 185 (*fout != (((fin / n) * m) / od))) in jz4780_clk_pll_set_freq() 188 *fout = ((fin / n) * m) / od; in jz4780_clk_pll_set_freq() 198 reg = REG_SET(reg, CGU_PLL_OD, od - 1); in jz4780_clk_pll_set_freq() 213 *fout = ((fin / n) * m) / od; in jz4780_clk_pll_set_freq()
|
| /freebsd-13.1/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-13.1/sys/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 2531 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, in ztest_lookup() 2595 od->od_type = od->od_crtype; in ztest_create() 2596 od->od_blocksize = od->od_crblocksize; in ztest_create() 2597 od->od_gen = od->od_crgen; in ztest_create() 2842 od->od_gen = 0; in ztest_od_init() 2865 zd->zd_od = od; in ztest_object_init() 4602 ztest_od_t *od; in ztest_dmu_object_alloc_free() local 4659 ztest_od_t *od; in ztest_dmu_read_write() local 4945 ztest_od_t *od; in ztest_dmu_read_write_zcopy() local 5183 ztest_od_t *od; in ztest_dmu_write_parallel() local [all …]
|
| /freebsd-13.1/usr.sbin/prometheus_sysctl_exporter/ |
| H A D | prometheus_sysctl_exporter.c | 462 oid_get_description(const struct oid *o, struct oiddescription *od) in oid_get_description() argument 471 odlen = sizeof(od->description); in oid_get_description() 472 if (sysctl(lookup, 2 + o->len, &od->description, &odlen, 0, 0) != 0) { in oid_get_description() 478 newline = strchr(od->description, '\n'); in oid_get_description() 482 return (*od->description != '\0'); in oid_get_description() 487 oiddescription_print(const struct oiddescription *od, FILE *fp) in oiddescription_print() argument 490 fprintf(fp, "%s", od->description); in oiddescription_print() 499 struct oiddescription od; in oid_print() local 521 oid_get_description(o, &od)) { in oid_print() 525 oiddescription_print(&od, fp); in oid_print()
|
| /freebsd-13.1/usr.bin/hexdump/tests/ |
| H A D | od_test.sh | 41 od -c d_od_cflag.in 44 od -c d_od_cflag.in
|
| /freebsd-13.1/usr.bin/hexdump/ |
| H A D | Makefile | 8 MAN= hexdump.1 od.1 10 LINKS= ${BINDIR}/hexdump ${BINDIR}/od
|