Searched refs:od (Results 1 - 25 of 46) sorted by relevance

12

/freebsd-current/contrib/ntp/sntp/libopts/
H A Dboolean.c40 * arg: + tOptDesc * + od + the descriptor for this arg +
48 optionBooleanVal(tOptions * opts, tOptDesc * od) argument
53 if (INQUERY_CALL(opts, od))
56 if (od->optArg.argString == NULL) {
57 od->optArg.argBool = false;
61 switch (*(od->optArg.argString)) {
64 long val = strtol(od->optArg.argString, &pz, 0);
77 if (od->optArg.argString[1] != 'f')
82 if (od->fOptState & OPTST_ALLOC_ARG) {
83 AGFREE(od
[all...]
H A Dtime.c35 * arg: + tOptDesc * + od + the descriptor for this arg +
41 optionTimeVal(tOptions * opts, tOptDesc * od) argument
45 if (INQUERY_CALL(opts, od))
48 val = parse_duration(od->optArg.argString);
50 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString);
55 if (od->fOptState & OPTST_ALLOC_ARG) {
56 AGFREE(od->optArg.argString);
57 od->fOptState &= ~OPTST_ALLOC_ARG;
60 od->optArg.argInt = (long)val;
68 * arg: + tOptDesc * + od
74 optionTimeDate(tOptions * opts, tOptDesc * od) argument
[all...]
H A Dnumeric.c101 * arg: + tOptDesc * + od + the descriptor for this arg +
107 optionNumericVal(tOptions * opts, tOptDesc * od) argument
116 if (INQUERY_CALL(opts, od) || (od->optArg.argString == NULL))
122 * emitted by passing a NULL od pointer. Also bail out
125 if ( (od == NULL)
126 || (od->optArg.argString == NULL)
127 || ((od->fOptState & OPTST_RESET) != 0)
132 val = strtol(od->optArg.argString, &pz, 0);
133 if ((pz == od
[all...]
H A Dstack.c42 * arg: + tOptDesc * + od + the descriptor for this arg +
48 optionUnstackArg(tOptions * opts, tOptDesc * od) argument
52 if (INQUERY_CALL(opts, od))
55 arg_list = (tArgList *)od->optCookie;
62 od->fOptState &= OPTST_PERSISTENT_MASK;
63 if ((od->fOptState & OPTST_INITENABLED) == 0)
64 od->fOptState |= OPTST_DISABLED;
73 if (regcomp(&re, od->optArg.argString, REG_NOSUB) != 0)
137 if (strcmp(pzSrc, od->optArg.argString) == 0) {
165 od
234 optionStackArg(tOptions * opts, tOptDesc * od) argument
[all...]
H A Dsave.c210 * @param[in] od the option descriptor to print
215 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg, save_flags_mask_t save_fl) argument
220 fprintf(fp, ao_name_use_fmt, od->pz_Name, od->pzText);
221 if (UNUSED_OPT(od) && (save_fl & SVFL_DEFAULT))
232 (od->pz_DisableName == NULL)
233 ? od->pz_Name
234 : (DISABLED_OPT(od)
235 ? od->pz_DisableName
236 : ((od
294 prt_value(FILE * fp, int depth, tOptDesc * od, tOptionValue const * ovp) argument
443 prt_nested(FILE * fp, tOptDesc * od, save_flags_mask_t save_fl) argument
685 prt_str_arg(FILE * fp, tOptDesc * od, save_flags_mask_t save_fl) argument
719 prt_enum_arg(FILE * fp, tOptDesc * od, save_flags_mask_t save_fl) argument
745 prt_set_arg(FILE * fp, tOptDesc * od, save_flags_mask_t save_fl) argument
767 prt_file_arg(FILE * fp, tOptDesc * od, tOptions * opts, save_flags_mask_t save_fl) argument
824 tOptDesc * od; local
[all...]
H A Dautoopts.c108 tOptDesc * od = o_st->pOD; local
109 tOptProc * opt_proc = od->pOptProc;
110 if (od->fOptState & OPTST_ALLOC_ARG)
111 AGFREE(od->optArg.argString);
113 od->optArg.argString = o_st->pzOptArg;
120 && ((od->fOptState & OPTST_NO_INIT) != 0)
128 * entry. (It may not be od->optChar[0], if this is an
132 if (od->optEquivIndex != NO_EQUIVALENT) {
133 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex;
140 if ((od
364 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; local
[all...]
H A Dusage.c238 tOptDesc * od = opts->pOptDesc + ix; local
239 while (od->optUsage != AOUSE_HELP) {
242 od++;
247 help[1] = od->optValue;
254 strncpy(help + 2, od->pz_Name, 20);
258 strncpy(help, od->pz_Name, 20);
586 * @param od the option descriptor
589 prt_conflicts(tOptions * opts, tOptDesc * od) argument
597 if (od->pOptMust != NULL) {
598 opt_no = od
649 prt_one_vendor(tOptions * opts, tOptDesc * od, arg_types_t * argtp, char const * usefmt) argument
721 tOptDesc * od = opts->pOptDesc; local
766 prt_extd_usage(tOptions * opts, tOptDesc * od, char const * title) argument
946 prt_preamble(tOptions * opts, tOptDesc * od, arg_types_t * at) argument
979 prt_one_usage(tOptions * opts, tOptDesc * od, arg_types_t * at) argument
1042 tOptDesc * od = opts->pOptDesc; local
1154 tOptDesc * od = opts->pOptDesc; local
[all...]
H A Dalias.c35 too_many_occurrences(tOptions * opts, tOptDesc * od) argument
38 char const * eqv = (od->optEquivIndex != NO_EQUIVALENT) ? zequiv : zNil;
42 if (od->optMaxCt > 1)
43 fprintf(stderr, zat_most, od->optMaxCt, od->pz_Name, eqv);
45 fprintf(stderr, zonly_one, od->pz_Name, eqv);
H A Denum.c232 tOptDesc od = { 0 }; local
233 od.optArg.argEnum = enum_val;
235 (*(pOD->pOptProc))(OPTPROC_RETURN_VALNAME, &od );
236 return od.optArg.argString;
344 set_memb_names(tOptions * opts, tOptDesc * od, char const * const * nm_list, argument
349 uintptr_t bits = (uintptr_t)od->optCookie & mask;
364 od->optArg.argString = pz = AGALOC(len, "enum");
365 bits = (uintptr_t)od->optCookie & mask;
399 * @param od the set membership option description
406 check_membership_start(tOptDesc * od, cha argument
465 find_member_bit(tOptions * opts, tOptDesc * od, char const * pz, int len, char const * const * nm_list, unsigned int nm_ct) argument
495 optionMemberList(tOptDesc * od) argument
522 optionSetMembers(tOptions * opts, tOptDesc * od, char const * const * nm_list, unsigned int nm_ct) argument
[all...]
H A Dcheck.c35 has_conflict(tOptions * pOpts, tOptDesc * od) argument
37 if (od->pOptMust != NULL) {
38 int const * must = od->pOptMust;
45 od->pz_Name, ood->pz_Name);
51 if (od->pOptCant != NULL) {
52 int const * cant = od->pOptCant;
59 od->pz_Name, ood->pz_Name);
H A Dversion.c138 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) argument
150 if ( (od->fOptState & OPTST_ARG_OPTIONAL)
151 && (od->optArg.argString != NULL)
152 && (od->optArg.argString[0] != NUL))
154 ch = od->optArg.argString[0];
156 else if (OPTST_GET_ARGTYPE(od->fOptState) == OPARG_TYPE_STATIC) {
157 ch = od->optArg.argString[0];
188 * arg: + tOptDesc * + od + the descriptor for this arg +
194 optionPrintVersion(tOptions * opts, tOptDesc * od) argument
196 print_ver(opts, od, print_exi
212 optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od) argument
228 optionVersionStderr(tOptions * opts, tOptDesc * od) argument
[all...]
H A Dmakeshell.c247 * @param[in] od for TT_VERSION, it is the version option
250 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od) argument
294 if (od->fOptState & OPTST_ALLOC_ARG) {
295 AGFREE(od->optArg.argString);
296 od->fOptState &= ~OPTST_ALLOC_ARG;
298 od->optArg.argString = "c";
299 optionPrintVersion(opts, od);
399 tOptDesc * od = opts->pOptDesc; local
404 for (;opt_ct > 0; od++, --opt_ct) {
409 if (SKIP_OPT(od) || (o
433 tOptDesc * od = opts->pOptDesc; local
496 emit_action(tOptions * opts, tOptDesc * od) argument
546 emit_inaction(tOptions * opts, tOptDesc * od) argument
571 tOptDesc * od = opts->pOptDesc; local
606 tOptDesc * od = opts->pOptDesc; local
677 tOptDesc * od = opts->pOptDesc; local
[all...]
H A Dproto.h14 too_many_occurrences(tOptions * opts, tOptDesc * od);
41 has_conflict(tOptions * pOpts, tOptDesc * od);
126 set_memb_names(tOptions * opts, tOptDesc * od, char const * const * nm_list,
130 check_membership_start(tOptDesc * od, char const ** argp, bool * invert);
133 find_member_bit(tOptions * opts, tOptDesc * od, char const * pz, int len,
266 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od);
278 emit_action(tOptions * opts, tOptDesc * od);
281 emit_inaction(tOptions * opts, tOptDesc * od);
459 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg, save_flags_mask_t save_fl);
462 prt_value(FILE * fp, int depth, tOptDesc * od, tOptionValu
[all...]
H A Dpgusage.c102 * arg: + tOptDesc * + od + the descriptor for this arg +
110 optionPagedUsage(tOptions * opts, tOptDesc * od) argument
113 if ((od->fOptState & OPTST_RESET) != 0)
129 if ((od->fOptState & OPTST_RESET) != 0)
H A Dinit.c190 tOptDesc * od = NULL; local
202 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1;
203 if (DISABLED_OPT(od))
224 if ((od != NULL) && ! DISABLED_OPT(od))
/freebsd-current/usr.bin/hexdump/tests/
H A Dod_test.sh40 od -c d_od_cflag.in
43 od -c d_od_cflag.in
/freebsd-current/stand/common/
H A Ddisk.c84 struct open_disk *od; local
87 od = (struct open_disk *)dev->dd.d_opendata;
94 offset *= (od->sectorsize / 512);
100 blocks * od->sectorsize, (char *)buf, NULL));
108 struct open_disk *od; local
116 od = (struct open_disk *)pa->dev->dd.d_opendata;
117 sectsize = od->sectorsize;
165 struct open_disk *od; local
169 od = (struct open_disk *)dev->dd.d_opendata;
173 return (ptable_iterate(od
179 struct open_disk *od; local
192 struct open_disk *od; local
205 struct open_disk *od = dev->dd.d_opendata; local
231 struct open_disk *od; local
377 struct open_disk *od; local
[all...]
/freebsd-current/crypto/openssh/
H A Dsftp-glob.c65 fudge_readdir(struct SFTP_OPENDIR *od) argument
74 if (od->dir[od->offset] == NULL)
84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN);
86 strlcpy(ret->d_name, od->dir[od->offset++]->filename,
104 fudge_closedir(struct SFTP_OPENDIR *od) argument
106 sftp_free_dirents(od->dir);
107 free(od);
[all...]
/freebsd-current/usr.bin/hexdump/
H A DMakefile6 MAN= hexdump.1 od.1
8 LINKS= ${BINDIR}/hexdump ${BINDIR}/od
/freebsd-current/contrib/netbsd-tests/lib/libppath/
H A Dt_ppath.c432 prop_dictionary_t d, od; local
442 od = prop_dictionary_copy(d);
444 if (!dictionary_equals(od, d)) {
445 oext = prop_dictionary_externalize(od);
510 if (!dictionary_equals(od, d)) {
511 oext = prop_dictionary_externalize(od);
519 if (dictionary_equals(od, nd)) {
520 oext = prop_dictionary_externalize(od);
528 rc = ppath_set_bool(od, p, false);
531 rc = ppath_set_string(od, p
571 prop_dictionary_t d, od; local
702 prop_dictionary_t d, od; local
796 prop_dictionary_t d, od; local
[all...]
/freebsd-current/tests/sys/geom/class/uzip/
H A D1_test.sh7 ret=$(echo I | tr -d "[:space:]" | od -to2 | head -n1 | awk '{print $2}' | cut -c6)
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dztest.c2591 ztest_lookup(ztest_ds_t *zd, ztest_od_t *od, int count) argument
2599 for (i = 0; i < count; i++, od++) {
2600 od->od_object = 0;
2601 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name,
2602 sizeof (uint64_t), 1, &od->od_object);
2605 ASSERT0(od->od_object);
2612 ASSERT3U(od->od_object, !=, 0);
2615 ztest_object_lock(zd, od->od_object, ZTRL_READER);
2616 VERIFY0(dmu_bonus_hold(zd->zd_os, od
2633 ztest_create(ztest_ds_t *zd, ztest_od_t *od, int count) argument
2678 ztest_remove(ztest_ds_t *zd, ztest_od_t *od, int count) argument
2898 ztest_od_init(ztest_od_t *od, uint64_t id, const char *tag, uint64_t index, dmu_object_type_t type, uint64_t blocksize, uint64_t dnodesize, uint64_t gen) argument
2926 ztest_object_init(ztest_ds_t *zd, ztest_od_t *od, size_t size, boolean_t remove) argument
4972 ztest_od_t *od; local
5033 ztest_od_t *od; local
5323 ztest_od_t *od; local
5560 ztest_od_t *od; local
5585 ztest_od_t *od; local
5635 ztest_od_t *od; local
5780 ztest_od_t *od; local
5823 ztest_od_t *od; local
6017 ztest_od_t *od; local
7579 ztest_od_t *od; local
7887 ztest_od_t od; local
[all...]
/freebsd-current/contrib/elftoolchain/elfcopy/
H A Dsections.c824 Elf_Data *od; local
829 if (gelf_get##REL(od, i, &REL) != &REL) \
834 if (!gelf_update_##REL(od, i, &REL)) \
847 if ((od = elf_getdata(s->os, NULL)) == NULL)
863 Elf_Data *od; local
873 if ((od = elf_newdata(s->os)) == NULL)
876 od->d_align = 1;
877 od->d_off = s->sz;
878 od->d_buf = s->pad;
879 od
1239 Elf_Data *id, *od; local
1296 Elf_Data *od; local
[all...]
/freebsd-current/share/examples/netgraph/
H A Dvirtual.chain231 M4=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \
233 M5=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \
235 M6=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \
H A Dvirtual.lan224 M4=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \
226 M5=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \
228 M6=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \

Completed in 295 milliseconds

12