Searched refs:fOptState (Results 1 - 25 of 45) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libopts/
H A Dboolean.c52 if ((pOD->fOptState & OPTST_RESET) != 0)
81 if (pOD->fOptState & OPTST_ALLOC_ARG) {
83 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Dtime.c62 if ((pOD->fOptState & OPTST_RESET) != 0)
69 if (pOD->fOptState & OPTST_ALLOC_ARG) {
71 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Dstack.c56 if ((pOptDesc->fOptState & OPTST_RESET) != 0)
65 pOptDesc->fOptState &= OPTST_PERSISTENT_MASK;
66 if ( (pOptDesc->fOptState & OPTST_INITENABLED) == 0)
67 pOptDesc->fOptState |= OPTST_DISABLED;
166 pOptDesc->fOptState &= OPTST_PERSISTENT_MASK;
167 if ( (pOptDesc->fOptState & OPTST_INITENABLED) == 0)
168 pOptDesc->fOptState |= OPTST_DISABLED;
241 if ((pOD->fOptState & OPTST_RESET) != 0) {
H A Dnumeric.c64 if (pOD->fOptState & OPTST_SCALED_NUM)
128 || ((pOD->fOptState & OPTST_RESET) != 0))
136 if ((pOD->fOptState & OPTST_SCALED_NUM) != 0)
155 if (pOD->fOptState & OPTST_ALLOC_ARG) {
157 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Drestore.c51 switch (OPTST_GET_ARGTYPE(pOD->fOptState)) {
53 if (pOD->fOptState & OPTST_STACKED) {
57 if (pOD->fOptState & OPTST_ALLOC_ARG) {
186 if (p->fOptState & OPTST_ALLOC_ARG) {
189 p->fOptState &= ~OPTST_ALLOC_ARG;
192 switch (OPTST_GET_ARGTYPE(p->fOptState)) {
195 if ( (p->fOptState & OPTST_STACKED)
H A Dreset.c32 pOD->fOptState &= OPTST_PERSISTENT_MASK;
33 pOD->fOptState |= OPTST_RESET;
39 pOD->fOptState &= OPTST_PERSISTENT_MASK;
H A Dgenshell.h87 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
95 DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
96 if ( (DESC(n).fOptState & OPTST_INITENABLED) == 0) \
97 DESC(n).fOptState |= OPTST_DISABLED; \
H A Dpgusage.c52 if ((pOD->fOptState & OPTST_RESET) != 0)
68 if ((pOD->fOptState & OPTST_RESET) != 0)
H A Dfile.c65 if ((pOD->fOptState & OPTST_RESET) != 0) {
135 if ((pOD->fOptState & OPTST_ALLOC_ARG) != 0)
141 pOD->fOptState &= ~OPTST_ALLOC_ARG;
155 if ((pOD->fOptState & OPTST_ALLOC_ARG) != 0)
161 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Dusage.c227 || ((pOptions->pOptDesc->fOptState & OPTST_DOCUMENT) == 0) )
334 switch (OPTST_GET_ARGTYPE(pOD->fOptState)) {
355 if (pOD->fOptState & OPTST_INITENABLED)
376 if ( ((pOD->fOptState & OPTST_NO_INIT) != 0)
388 if (OPTST_GET_ARGTYPE(pOD->fOptState) == OPARG_TYPE_MEMBERSHIP)
521 if (pOD->fOptState & OPTST_ARG_OPTIONAL) {
524 } else switch (OPTST_GET_ARGTYPE(pOD->fOptState)) {
542 switch (OPTST_GET_ARGTYPE(pOD->fOptState)) {
571 if ((pOD->fOptState & OPTST_NO_USAGE_MASK) != 0) {
579 if ( (pOD->fOptState
[all...]
H A Denvironment.c122 os->flags = OPTST_PRESET | OPTST_ALLOC_ARG | os->pOD->fOptState;
159 if (OPTST_GET_ARGTYPE(os->pOD->fOptState) == OPARG_TYPE_NONE) {
161 } else if ( (os->pOD->fOptState & OPTST_ARG_OPTIONAL)
208 if ( ((st.pOD->fOptState & OPTST_NO_INIT) != 0)
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/sntp/libopts/
H A Dboolean.c53 if ((pOD->fOptState & OPTST_RESET) != 0)
82 if (pOD->fOptState & OPTST_ALLOC_ARG) {
84 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Dtime.c45 if ((pOD->fOptState & OPTST_RESET) != 0)
55 if (pOD->fOptState & OPTST_ALLOC_ARG) {
57 pOD->fOptState &= ~OPTST_ALLOC_ARG;
117 if (pOD->fOptState & OPTST_ALLOC_ARG) {
119 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Dstack.c56 if ((pOptDesc->fOptState & OPTST_RESET) != 0)
65 pOptDesc->fOptState &= OPTST_PERSISTENT_MASK;
66 if ((pOptDesc->fOptState & OPTST_INITENABLED) == 0)
67 pOptDesc->fOptState |= OPTST_DISABLED;
166 pOptDesc->fOptState &= OPTST_PERSISTENT_MASK;
167 if ((pOptDesc->fOptState & OPTST_INITENABLED) == 0)
168 pOptDesc->fOptState |= OPTST_DISABLED;
241 if ((pOD->fOptState & OPTST_RESET) != 0) {
H A Dnumeric.c67 if (pOD->fOptState & OPTST_SCALED_NUM)
120 || ((pOD->fOptState & OPTST_RESET) != 0))
128 if ((pOD->fOptState & OPTST_SCALED_NUM) != 0)
147 if (pOD->fOptState & OPTST_ALLOC_ARG) {
149 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Drestore.c52 switch (OPTST_GET_ARGTYPE(pOD->fOptState)) {
54 if (pOD->fOptState & OPTST_STACKED) {
58 if (pOD->fOptState & OPTST_ALLOC_ARG) {
187 if (p->fOptState & OPTST_ALLOC_ARG) {
190 p->fOptState &= ~OPTST_ALLOC_ARG;
193 switch (OPTST_GET_ARGTYPE(p->fOptState)) {
196 if ( (p->fOptState & OPTST_STACKED)
H A Dreset.c33 pOD->fOptState &= OPTST_PERSISTENT_MASK;
34 pOD->fOptState |= OPTST_RESET;
40 pOD->fOptState &= OPTST_PERSISTENT_MASK;
H A Dgenshell.h86 #define STATE_GENSHELL_OPT(n) (GENSHELL_DESC(n).fOptState & OPTST_SET_MASK)
94 GENSHELL_DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
95 if ((GENSHELL_DESC(n).fOptState & OPTST_INITENABLED) == 0) \
96 GENSHELL_DESC(n).fOptState |= OPTST_DISABLED; \
H A Dpgusage.c51 if ((pOD->fOptState & OPTST_RESET) != 0)
67 if ((pOD->fOptState & OPTST_RESET) != 0)
H A Dfile.c66 if ((pOD->fOptState & OPTST_RESET) != 0) {
138 if ((pOD->fOptState & OPTST_ALLOC_ARG) != 0)
144 pOD->fOptState &= ~OPTST_ALLOC_ARG;
158 if ((pOD->fOptState & OPTST_ALLOC_ARG) != 0)
164 pOD->fOptState &= ~OPTST_ALLOC_ARG;
H A Denvironment.c122 os->flags = OPTST_PRESET | OPTST_ALLOC_ARG | os->pOD->fOptState;
158 if (OPTST_GET_ARGTYPE(os->pOD->fOptState) == OPARG_TYPE_NONE) {
169 if ((os->pOD->fOptState & OPTST_ARG_OPTIONAL) == 0)
216 if ( ((st.pOD->fOptState & OPTST_NO_INIT) != 0)
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpsnmpd/
H A Dntpsnmpd-opts.h76 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
84 DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
85 if ((DESC(n).fOptState & OPTST_INITENABLED) == 0) \
86 DESC(n).fOptState |= OPTST_DISABLED; \
132 DESC(SAVE_OPTS).fOptState &= OPTST_PERSISTENT_MASK; \
133 DESC(SAVE_OPTS).fOptState |= OPTST_SET; \
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpdc/
H A Dntpdc-opts.h83 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
91 DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
92 if ((DESC(n).fOptState & OPTST_INITENABLED) == 0) \
93 DESC(n).fOptState |= OPTST_DISABLED; \
181 DESC(SAVE_OPTS).fOptState &= OPTST_PERSISTENT_MASK; \
182 DESC(SAVE_OPTS).fOptState |= OPTST_SET; \
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpq/
H A Dntpq-opts.h82 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
90 DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
91 if ((DESC(n).fOptState & OPTST_INITENABLED) == 0) \
92 DESC(n).fOptState |= OPTST_DISABLED; \
174 DESC(SAVE_OPTS).fOptState &= OPTST_PERSISTENT_MASK; \
175 DESC(SAVE_OPTS).fOptState |= OPTST_SET; \
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/sntp/
H A Dsntp-opts.h85 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
93 DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
94 if ((DESC(n).fOptState & OPTST_INITENABLED) == 0) \
95 DESC(n).fOptState |= OPTST_DISABLED; \
199 DESC(SAVE_OPTS).fOptState &= OPTST_PERSISTENT_MASK; \
200 DESC(SAVE_OPTS).fOptState |= OPTST_SET; \

Completed in 295 milliseconds

12