Home
last modified time | relevance | path

Searched full:od (Results 1 – 25 of 148) sorted by relevance

123456

/freebsd/contrib/ntp/sntp/libopts/
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) in text_to_var() argument
294 if (od->fOptState & OPTST_ALLOC_ARG) { in text_to_var()
295 AGFREE(od->optArg.argString); in text_to_var()
296 od->fOptState &= ~OPTST_ALLOC_ARG; in text_to_var()
298 od->optArg.argString = "c"; in text_to_var()
299 optionPrintVersion(opts, od); in text_to_var()
399 tOptDesc * od = opts->pOptDesc; in emit_wrapup() local
404 for (;opt_ct > 0; od++, --opt_ct) { in emit_wrapup()
409 if (SKIP_OPT(od) || (od->pz_NAME == NULL)) in emit_wrapup()
[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) in prt_entry() argument
220 fprintf(fp, ao_name_use_fmt, od->pz_Name, od->pzText); in prt_entry()
221 if (UNUSED_OPT(od) && (save_fl & SVFL_DEFAULT)) in prt_entry()
232 (od->pz_DisableName == NULL) in prt_entry()
233 ? od->pz_Name in prt_entry()
234 : (DISABLED_OPT(od) in prt_entry()
235 ? od->pz_DisableName in prt_entry()
236 : ((od->optEquivIndex == NO_EQUIVALENT) in prt_entry()
237 ? od->pz_Name : od->pz_DisableName) in prt_entry()
[all …]
H A Dusage.c238 tOptDesc * od = opts->pOptDesc + ix; in print_offer_usage() local
239 while (od->optUsage != AOUSE_HELP) { in print_offer_usage()
242 od++; in print_offer_usage()
247 help[1] = od->optValue; in print_offer_usage()
254 strncpy(help + 2, od->pz_Name, 20); in print_offer_usage()
258 strncpy(help, od->pz_Name, 20); in print_offer_usage()
586 * @param od the option descriptor
589 prt_conflicts(tOptions * opts, tOptDesc * od) in prt_conflicts() argument
597 if (od->pOptMust != NULL) { in prt_conflicts()
598 opt_no = od->pOptMust; in prt_conflicts()
[all …]
H A Dtime.c35 * arg: + tOptDesc * + od + the descriptor for this arg +
41 optionTimeVal(tOptions * opts, tOptDesc * od) in optionTimeVal() argument
45 if (INQUERY_CALL(opts, od)) in optionTimeVal()
48 val = parse_duration(od->optArg.argString); in optionTimeVal()
50 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString); 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()
68 * arg: + tOptDesc * + od + the descriptor for this arg +
[all …]
H A Dautoopts.c108 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()
120 && ((od->fOptState & OPTST_NO_INIT) != 0) in handle_opt()
128 * entry. (It may not be od->optChar[0], if this is an in handle_opt()
132 if (od->optEquivIndex != NO_EQUIVALENT) { in handle_opt()
133 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt()
140 if ((od->fOptState & OPTST_DEFINED) != 0) { in handle_opt()
[all …]
H A Dstack.c42 * arg: + tOptDesc * + od + the descriptor for this arg +
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()
63 if ((od->fOptState & OPTST_INITENABLED) == 0) in optionUnstackArg()
64 od->fOptState |= OPTST_DISABLED; in optionUnstackArg()
73 if (regcomp(&re, od->optArg.argString, REG_NOSUB) != 0) in optionUnstackArg()
137 if (strcmp(pzSrc, od->optArg.argString) == 0) { in optionUnstackArg()
165 od->fOptState &= OPTST_PERSISTENT_MASK; in optionUnstackArg()
[all …]
H A Dnumeric.c101 * arg: + tOptDesc * + od + the descriptor for this arg +
107 optionNumericVal(tOptions * opts, tOptDesc * od) in optionNumericVal() argument
116 if (INQUERY_CALL(opts, od) || (od->optArg.argString == NULL)) in optionNumericVal()
122 * emitted by passing a NULL od pointer. Also bail out 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()
133 if ((pz == od->optArg.argString) || (errno != 0)) in optionNumericVal()
136 if ((od->fOptState & OPTST_SCALED_NUM) != 0) in optionNumericVal()
[all …]
H A Dboolean.c40 * arg: + tOptDesc * + od + the descriptor for this arg +
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()
[all …]
H A Denum.c232 tOptDesc od = { 0 }; in optionKeywordName() local
233 od.optArg.argEnum = enum_val; in optionKeywordName()
235 (*(pOD->pOptProc))(OPTPROC_RETURN_VALNAME, &od ); in optionKeywordName()
236 return od.optArg.argString; in optionKeywordName()
344 set_memb_names(tOptions * opts, tOptDesc * od, char const * const * nm_list, in set_memb_names() argument
349 uintptr_t bits = (uintptr_t)od->optCookie & mask; in set_memb_names()
364 od->optArg.argString = pz = AGALOC(len, "enum"); in set_memb_names()
365 bits = (uintptr_t)od->optCookie & mask; in set_memb_names()
399 * @param od the set membership option description
406 check_membership_start(tOptDesc * od, char const ** argp, bool * invert) in check_membership_start() argument
[all …]
H A Dversion.c138 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()
156 else if (OPTST_GET_ARGTYPE(od->fOptState) == OPARG_TYPE_STATIC) { in print_ver()
157 ch = od->optArg.argString[0]; in print_ver()
188 * arg: + tOptDesc * + od + the descriptor for this arg +
194 optionPrintVersion(tOptions * opts, tOptDesc * od) in optionPrintVersion() argument
196 print_ver(opts, od, print_exit ? stderr : stdout, true); in optionPrintVersion()
[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, tOptionValue const * ovp);
[all …]
H A Dalias.c35 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 Dcheck.c35 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 Dpgusage.c102 * arg: + tOptDesc * + od + the descriptor for this arg +
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/stand/common/
H A Ddisk.c84 struct open_disk *od; in ptblread() local
87 od = (struct open_disk *)dev->dd.d_opendata; in ptblread()
94 offset *= (od->sectorsize / 512); in ptblread()
100 blocks * od->sectorsize, (char *)buf, NULL)); in ptblread()
108 struct open_disk *od; in ptable_print() local
116 od = (struct open_disk *)pa->dev->dd.d_opendata; in ptable_print()
117 sectsize = od->sectorsize; in ptable_print()
165 struct open_disk *od; in disk_print() local
169 od = (struct open_disk *)dev->dd.d_opendata; in disk_print()
173 return (ptable_iterate(od->table, &pa, ptable_print)); in disk_print()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/mediatek/
H A Dmediatek,od.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml#
14 Mediatek display overdrive, namely OD, increases the transition values
16 OD device node must be siblings to the central MMSYS_CONFIG node.
25 - mediatek,mt2712-disp-od
26 - mediatek,mt8173-disp-od
28 - const: mediatek,mt6795-disp-od
29 - const: mediatek,mt8173-disp-od
39 - description: OD Clock
56 od@14023000 {
57 compatible = "mediatek,mt8173-disp-od";
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dst-pincfg.h19 #define OD (1 << 25) macro
30 /* oe = 0, pu = 0, od = 0 */
32 /* oe = 0, pu = 1, od = 0 */
34 /* oe = 1, pu = 0, od = 0 */
36 /* oe = 1, pu = 0, od = 1 */
37 #define BIDIR (OE | OD)
38 /* oe = 1, pu = 1, od = 1 */
39 #define BIDIR_PU (OE | PU | OD)
/freebsd/contrib/netbsd-tests/lib/libppath/
H A Dt_ppath.c432 prop_dictionary_t d, od; in ATF_TC_BODY() local
442 od = prop_dictionary_copy(d); in ATF_TC_BODY()
444 if (!dictionary_equals(od, d)) { in ATF_TC_BODY()
445 oext = prop_dictionary_externalize(od); in ATF_TC_BODY()
510 if (!dictionary_equals(od, d)) { in ATF_TC_BODY()
511 oext = prop_dictionary_externalize(od); in ATF_TC_BODY()
519 if (dictionary_equals(od, nd)) { in ATF_TC_BODY()
520 oext = prop_dictionary_externalize(od); in ATF_TC_BODY()
528 rc = ppath_set_bool(od, p, false); in ATF_TC_BODY()
531 rc = ppath_set_string(od, p2, "Martha Doe"); in ATF_TC_BODY()
[all …]
/freebsd/crypto/openssh/
H A Dsftp-glob.c65 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/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h39 /// ([bd,An],Xn,od)
40 /// ([bd,An,Xn],od)
47 /// ([bd,PC],Xn,od)
48 /// ([bd,PC,Xn],od)
60 u, // ([bd,An],Xn.L,SCALE,od)
61 U, // ([bd,An],Xn.W,SCALE,od)
62 v, // ([bd,An,Xn.L,SCALE],od)
63 V, // ([bd,An,Xn.W,SCALE],od)
71 x, // ([bd,PC],Xn.L,SCALE,od)
72 X, // ([bd,PC],Xn.W,SCALE,od)
[all...]
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c2599 ztest_lookup(ztest_ds_t *zd, ztest_od_t *od, int count) in ztest_lookup() argument
2607 for (i = 0; i < count; i++, od++) { in ztest_lookup()
2608 od->od_object = 0; in ztest_lookup()
2609 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, in ztest_lookup()
2610 sizeof (uint64_t), 1, &od->od_object); in ztest_lookup()
2613 ASSERT0(od->od_object); in ztest_lookup()
2620 ASSERT3U(od->od_object, !=, 0); in ztest_lookup()
2623 ztest_object_lock(zd, od->od_object, ZTRL_READER); in ztest_lookup()
2624 VERIFY0(dmu_bonus_hold(zd->zd_os, od->od_object, in ztest_lookup()
2629 od->od_type = doi.doi_type; in ztest_lookup()
[all …]
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsections.c824 Elf_Data *od; in update_reloc() local
829 if (gelf_get##REL(od, i, &REL) != &REL) \ in update_reloc()
834 if (!gelf_update_##REL(od, i, &REL)) \ in update_reloc()
847 if ((od = elf_getdata(s->os, NULL)) == NULL) in update_reloc()
863 Elf_Data *od; in pad_section() local
873 if ((od = elf_newdata(s->os)) == NULL) in pad_section()
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()
879 od->d_type = ELF_T_BYTE; in pad_section()
[all …]
/freebsd/usr.bin/vi/catalog/
H A Dpolish.UTF-8.base71 077 "Poszukiwanie od początku"
87 094 "Drugi adres jest mniejszy od pierwszego"
90 097 "Odniesienie do linii o numerze mniejszym od 0"
113 120 "Plik zmodyfikowany od ostatniego zapisu; zapisz lub użyj ! żeby wymusić"
252 262 "Plik zmodyfikowany od ostatniego zapisu; zapisz lub użyj ! żeby wymusić"
253 263 "Plik zmodyfikowany od ostatniego zapisu; zapisz lub użyj :edit! żeby wymusić"
254 264 "Plik zmodyfikowany od ostatniego zapisu; zapisz lub użyj ! żeby wymusić"
292 303 "Plik zmodyfikowany od ostatniego zapisu"
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrFormats.td25 /// 14 M68020 ([bd,An],Xn.L,SCALE,od) u memory indirect postindexed mode
26 /// 13 M68020 ([bd,An],Xn.W,SCALE,od) U memory indirect postindexed mode
27 /// 16 M68020 ([bd,An,Xn.L,SCALE],od) v memory indirect preindexed mode
28 /// 15 M68020 ([bd,An,Xn.W,SCALE],od) V memory indirect preindexed mode
36 /// 27 M68020 ([bd,PC],Xn.L,SCALE,od) x program counter memory indirect postindexed mode
37 /// 26 M68020 ([bd,PC],Xn.W,SCALE,od) X program counter memory indirect postindexed mode
38 /// 31 M68020 ([bd,PC,Xn.L,SCALE],od) y program counter memory indirect preindexed mode
39 /// 30 M68020 ([bd,PC,Xn.W,SCALE],od) Y program counter memory indirect preindexed mode
/freebsd/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c458 oid_get_description(const struct oid *o, struct oiddescription *od) in oid_get_description() argument
467 odlen = sizeof(od->description); in oid_get_description()
468 if (sysctl(lookup, 2 + o->len, &od->description, &odlen, 0, 0) != 0) { in oid_get_description()
474 newline = strchr(od->description, '\n'); in oid_get_description()
478 return (*od->description != '\0'); in oid_get_description()
483 oiddescription_print(const struct oiddescription *od, FILE *fp) in oiddescription_print() argument
486 fprintf(fp, "%s", od->description); in oiddescription_print()
495 struct oiddescription od; in oid_print() local
511 has_desc = oid_get_description(o, &od); in oid_print()
516 if (has_desc && strnstr(od.description, "(LEGACY)", BUFSIZ) != NULL) in oid_print()
[all …]

123456