OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:optArg
(Results
1 - 25
of
26
) sorted by relevancy
1
2
/src/external/bsd/ntp/dist/sntp/libopts/
boolean.c
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')
85
AGFREE(od->
optArg
.argString);
88
od->
optArg
.argBool = res;
time.c
50
val = parse_duration(od->
optArg
.argString);
52
fprintf(stderr, zNotDuration, opts->pzProgName, od->
optArg
.argString);
58
AGFREE(od->
optArg
.argString);
62
od->
optArg
.argInt = (long)val;
114
if (getdate_r(od->
optArg
.argString, &stm) != 0) {
116
od->
optArg
.argString);
125
AGFREE(od->
optArg
.argString);
129
od->
optArg
.argInt = tm;
137
if (od->
optArg
.argInt != BAD_TIME)
138
od->
optArg
.argInt += (long)time(NULL)
[
all
...]
file.c
45
char const * fname = pOD->
optArg
.argString;
106
int fd = open(pOD->
optArg
.argString, mode.file_flags);
108
fserr_exit(pOpts->pzProgName, "open", pOD->
optArg
.argString);
112
pOD->optCookie = VOIDP(pOD->
optArg
.argString);
114
AGDUPSTR(pOD->optCookie, pOD->
optArg
.argString, "file name");
116
pOD->
optArg
.argFd = fd;
130
FILE * fp = fopen(pOD->
optArg
.argString, mode.file_mode);
132
fserr_exit(pOpts->pzProgName, "fopen", pOD->
optArg
.argString);
136
pOD->optCookie = VOIDP(pOD->
optArg
.argString);
138
AGDUPSTR(pOD->optCookie, pOD->
optArg
.argString, "file name")
[
all
...]
numeric.c
63
pOD->pz_Name, pOD->
optArg
.argInt);
118
if (INQUERY_CALL(opts, od) || (od->
optArg
.argString == NULL))
128
|| (od->
optArg
.argString == NULL)
134
val = strtol(od->
optArg
.argString, &pz, 0);
135
if ((pz == od->
optArg
.argString) || (errno != 0))
158
AGFREE(od->
optArg
.argString);
162
od->
optArg
.argInt = val;
167
fprintf( stderr, zNotNumber, opts->pzProgName, od->
optArg
.argString );
172
od->
optArg
.argInt = ~0;
putshell.c
262
uintptr_t e_val = pOD->
optArg
.argEnum;
269
printf(QUOT_ARG_FMT, pOD->
optArg
.argString);
271
AGFREE(pOD->
optArg
.argString);
272
pOD->
optArg
.argEnum = e_val;
280
char const * svstr = pOD->
optArg
.argString;
288
pz = pOD->
optArg
.argString;
305
AGFREE(pOD->
optArg
.argString);
306
pOD->
optArg
.argString = svstr;
386
p->
optArg
= pOD->
optArg
;
[
all
...]
enum.c
52
pOD->
optArg
.argString, pOD->pz_Name);
235
od.
optArg
.argEnum = enum_val;
238
return od.
optArg
.argString;
254
* doc: This converts the
optArg
.argString string from the option description
280
unsigned int ix = (unsigned int)pOD->
optArg
.argEnum;
294
unsigned int ix = (unsigned int)pOD->
optArg
.argEnum;
301
pOD->
optArg
.argString = paz_names[ix];
309
res = find_name(pOD->
optArg
.argString, pOpts, pOD, paz_names, name_ct);
312
AGFREE(pOD->
optArg
.argString);
314
pOD->
optArg
.argString = NULL
[
all
...]
alias.c
87
new_od->
optArg
.argString = old_od->
optArg
.argString;
restore.c
62
AGDUPSTR(q->
optArg
.argString, pOD->
optArg
.argString, "arg");
181
AGFREE(p->
optArg
.argString);
182
p->
optArg
.argString = NULL;
191
p->
optArg
.argString = ".*";
stack.c
75
if (regcomp(&re, od->
optArg
.argString, REG_NOSUB) != 0)
139
if (strcmp(pzSrc, od->
optArg
.argString) == 0) {
255
if (od->
optArg
.argString == NULL)
258
AGDUPSTR(pz, od->
optArg
.argString, "stack arg");
version.c
153
&& (od->
optArg
.argString != NULL)
154
&& (od->
optArg
.argString[0] != NUL))
156
ch = od->
optArg
.argString[0];
159
ch = od->
optArg
.argString[0];
reset.c
41
pOD->
optArg
.argString =
81
char const * pzArg = pOD->
optArg
.argString;
save.c
52
dir = opts->pOptDesc[ opts->specOptIdx.save_opts ].
optArg
.argString;
315
uintptr_t val = od->
optArg
.argEnum;
326
if (od->
optArg
.argString != NULL) {
327
fputs(od->
optArg
.argString, fp);
333
AGFREE(od->
optArg
.argString);
337
od->
optArg
.argEnum = val;
690
char const * arg = od->
optArg
.argString;
723
uintptr_t val = od->
optArg
.argEnum;
730
prt_entry(fp, od, VOIDP(od->
optArg
.argString), save_fl);
732
od->
optArg
.argEnum = val
[
all
...]
autoopts.c
113
AGFREE(od->
optArg
.argString);
115
od->
optArg
.argString = o_st->pzOptArg;
180
eqv_od->
optArg
.argString = od->
optArg
.argString;
genshell.h
101
#define GENSHELL_OPT_ARG(n) (GENSHELL_DESC(n).
optArg
.argString)
configfile.c
1115
* odesc->
optArg
.argString.
1135
if (stat(odesc->
optArg
.argString, &sb) != 0) {
1139
fserr_exit(opts->pzProgName, "stat", odesc->
optArg
.argString);
1147
fserr_exit(opts->pzProgName, "stat", odesc->
optArg
.argString);
1151
file_preset(opts, odesc->
optArg
.argString, DIRECTION_CALLED);
find.c
292
char const * vopt_str = pOD->
optArg
.argString;
644
o_st->pzOptArg = o_st->pOD->
optArg
.argString;
/src/external/bsd/ntp/dist/sntp/
sntp-opts.h
117
#define OPT_ARG(n) (DESC(n).
optArg
.argString)
260
#define OPT_VALUE_AUTHENTICATION (DESC(AUTHENTICATION).
optArg
.argInt)
266
#define OPT_VALUE_SET_DEBUG_LEVEL (DESC(SET_DEBUG_LEVEL).
optArg
.argInt)
269
#define OPT_VALUE_GAP (DESC(GAP).
optArg
.argInt)
275
#define OPT_VALUE_STEPLIMIT (DESC(STEPLIMIT).
optArg
.argInt)
278
#define OPT_VALUE_NTPVERSION (DESC(NTPVERSION).
optArg
.argInt)
284
#define OPT_VALUE_TIMEOUT (DESC(TIMEOUT).
optArg
.argInt)
295
DESC(WAIT).
optArg
.argString = NULL )
309
DESC(SAVE_OPTS).
optArg
.argString = (char const*)(a))
sntp-opts.c
935
if (pOptDesc->
optArg
.argInt < rng[ix].rmin)
937
if (pOptDesc->
optArg
.argInt == rng[ix].rmin)
941
if (pOptDesc->
optArg
.argInt <= rng[ix].rmax)
971
if (pOptDesc->
optArg
.argInt < rng[ix].rmin)
973
if (pOptDesc->
optArg
.argInt == rng[ix].rmin)
977
if (pOptDesc->
optArg
.argInt <= rng[ix].rmax)
/src/external/bsd/ntp/dist/util/
ntp-keygen-opts.h
120
#define OPT_ARG(n) (DESC(n).
optArg
.argString)
276
#define OPT_VALUE_IMBITS (DESC(IMBITS).
optArg
.argInt)
283
#define OPT_VALUE_SET_DEBUG_LEVEL (DESC(SET_DEBUG_LEVEL).
optArg
.argInt)
291
#define OPT_VALUE_LIFETIME (DESC(LIFETIME).
optArg
.argInt)
295
#define OPT_VALUE_MODULUS (DESC(MODULUS).
optArg
.argInt)
306
#define OPT_VALUE_MV_PARAMS (DESC(MV_PARAMS).
optArg
.argInt)
310
#define OPT_VALUE_MV_KEYS (DESC(MV_KEYS).
optArg
.argInt)
325
DESC(SAVE_OPTS).
optArg
.argString = (char const*)(a))
ntp-keygen-opts.c
1045
if (pOptDesc->
optArg
.argInt < rng[ix].rmin)
1047
if (pOptDesc->
optArg
.argInt == rng[ix].rmin)
1051
if (pOptDesc->
optArg
.argInt <= rng[ix].rmax)
1104
if (pOptDesc->
optArg
.argInt < rng[ix].rmin)
1106
if (pOptDesc->
optArg
.argInt == rng[ix].rmin)
1110
if (pOptDesc->
optArg
.argInt <= rng[ix].rmax)
/src/external/bsd/ntp/dist/ntpq/
ntpq-opts.h
111
#define OPT_ARG(n) (DESC(n).
optArg
.argString)
226
#define OPT_VALUE_SET_DEBUG_LEVEL (DESC(SET_DEBUG_LEVEL).
optArg
.argInt)
237
#define OPT_VALUE_REFID (DESC(REFID).
optArg
.argEnum)
253
DESC(SAVE_OPTS).
optArg
.argString = (char const*)(a))
/src/external/bsd/ntp/dist/ntpsnmpd/
ntpsnmpd-opts.h
102
#define OPT_ARG(n) (DESC(n).
optArg
.argString)
182
DESC(SAVE_OPTS).
optArg
.argString = (char const*)(a))
/src/external/bsd/ntp/dist/ntpdc/
ntpdc-opts.h
110
#define OPT_ARG(n) (DESC(n).
optArg
.argString)
220
#define OPT_VALUE_SET_DEBUG_LEVEL (DESC(SET_DEBUG_LEVEL).
optArg
.argInt)
240
DESC(SAVE_OPTS).
optArg
.argString = (char const*)(a))
/src/external/bsd/ntp/dist/ntpd/
ntpd-opts.h
132
#define OPT_ARG(n) (DESC(n).
optArg
.argString)
365
#define OPT_VALUE_SET_DEBUG_LEVEL (DESC(SET_DEBUG_LEVEL).
optArg
.argInt)
380
#define OPT_VALUE_PRIORITY (DESC(PRIORITY).
optArg
.argInt)
389
#define OPT_VALUE_UPDATEINTERVAL (DESC(UPDATEINTERVAL).
optArg
.argInt)
394
#define OPT_VALUE_WAIT_SYNC (DESC(WAIT_SYNC).
optArg
.argInt)
/src/external/bsd/ntp/dist/sntp/libopts/autoopts/
options.h
495
/// Compatibility define: \a pzLastArg is now \a
optArg
.argString
496
#define pzLastArg
optArg
.argString
546
opt_arg_union_t
optArg
;
Completed in 138 milliseconds
1
2
Indexes created Tue Aug 11 00:25:38 UTC 2026