Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/titanic_44/usr/src/lib/libadm/common/
H A Dcktime.c140 int valid = 1; /* time of day string is valid for format */ in cktime_val() local
148 while (*fmt && valid) { in cktime_val()
154 valid = 0; in cktime_val()
160 valid = 0; in cktime_val()
166 valid = 0; in cktime_val()
172 valid = 0; in cktime_val()
178 valid = 0; in cktime_val()
183 valid = 0; in cktime_val()
188 valid = 0; in cktime_val()
193 valid = 0; in cktime_val()
[all …]
H A Dckdate.c305 int valid = 1; /* time of day string is valid for format */ in ckdate_val() local
313 while (*fmt && valid) { in ckdate_val()
320 valid = 0; in ckdate_val()
326 valid = 0; in ckdate_val()
332 valid = 0; in ckdate_val()
338 valid = 0; in ckdate_val()
344 valid = 0; in ckdate_val()
350 valid = 0; in ckdate_val()
355 valid = 0; in ckdate_val()
360 valid = 0; in ckdate_val()
[all …]
H A Dckstr.c89 int i, valid; in ckstr_val() local
91 valid = 1; in ckstr_val()
97 valid = 0; in ckstr_val()
98 for (i = 0; !valid && regexp[i]; ++i) { in ckstr_val()
101 valid = __step(input, expbuf); in ckstr_val()
103 if (!valid) in ckstr_val()
107 valid = 0; in ckstr_val()
109 return (valid == 0); in ckstr_val()
H A Dckkeywd.c68 int valid, i, n; in ckkeywd() local
108 valid = 1; in ckkeywd()
110 valid = !match(input, keyword); in ckkeywd()
112 if (!valid) { in ckkeywd()
H A Dckrange.c90 int valid, n; in ckrange() local
142 valid = ((value >= lower) && (value <= upper)); in ckrange()
144 valid = 0; in ckrange()
145 if (!valid) { in ckrange()
H A Dckgid.c102 int valid; in ckgid_val() local
105 valid = (getgrnam(grpnm) ? 0 : 1); in ckgid_val()
107 return (valid); in ckgid_val()
H A Dckuid.c102 int valid; in ckuid_val() local
105 valid = (getpwnam(usrnm) ? 0 : 1); in ckuid_val()
107 return (valid); in ckuid_val()
/titanic_44/usr/src/lib/libast/common/comp/
H A Dre_comp.c32 #undef valid
38 int valid; member
48 if (state.valid) in re_comp()
54 if (state.valid) in re_comp()
56 state.valid = 0; in re_comp()
61 state.valid = 1; in re_comp()
72 if (state.valid && subject) in re_exec()
/titanic_44/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c571 char *cp, *valid; in validloginshell() local
595 for (valid = getusershell(); valid; valid = getusershell()) in validloginshell()
596 if (strcmp(pw_shell, valid) == 0) in validloginshell()
599 if (valid == NULL && !privileged) { in validloginshell()
618 for (valid = getusershell(); valid; valid = getusershell()) { in validloginshell()
620 cp = valid; in validloginshell()
622 cp = strrchr(valid, '/'); in validloginshell()
624 cp = valid; in validloginshell()
632 if (valid == 0) { in validloginshell()
640 valid = newshell; in validloginshell()
[all …]
/titanic_44/usr/src/uts/common/sys/scsi/adapters/
H A Dmpapi_scsi_vhci.h94 int valid; member
105 int valid; member
121 int valid; member
134 int valid; member
145 int valid; member
/titanic_44/usr/src/common/smbsrv/
H A Dsmb_oem.c70 boolean_t valid; member
276 if (!oemcpg_table[cpid].valid) { in oem_get_oempage()
279 if (!oemcpg_table[cpid].valid) in oem_get_oempage()
295 if (!oemcpg_table[cpid].valid) { in oem_get_ucspage()
298 if (!oemcpg_table[cpid].valid) in oem_get_ucspage()
346 if (oemcpg->valid) in oem_codepage_setup()
374 oemcpg->valid = B_TRUE; in oem_codepage_setup()
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c60 int valid; /* Is this entry valid ? */ member
120 if (!(rcp->valid && in rpc_call()
128 rcp->valid = 0; in rpc_call()
155 rcp->valid = 1; in rpc_call()
157 rcp->valid = 0; in rpc_call()
168 rcp->valid = 0; in rpc_call()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dverify_checksum.c39 const krb5_checksum *cksum, krb5_boolean *valid) in krb5_c_verify_checksum() argument
59 *valid = 0; in krb5_c_verify_checksum()
64 context, key, usage, 0, data, &indata, valid)); in krb5_c_verify_checksum()
82 *valid = (memcmp(computed.contents, cksum->contents, hashsize) == 0); in krb5_c_verify_checksum()
/titanic_44/usr/src/lib/libnisdb/
H A Ddb_mindex.cc156 db_mindex::satisfy_query(db_query *q, long *count, bool_t *valid) { in satisfy_query() argument
157 return (satisfy_query(q, count, valid, FALSE)); in satisfy_query()
161 db_mindex::satisfy_query(db_query *q, long *count, bool_t *valid, in satisfy_query() argument
168 if (valid == NULL) in satisfy_query()
169 valid = &validRequest; in satisfy_query()
173 *valid = FALSE; in satisfy_query()
215 ret = satisfy_query_dbonly(q, count, fromLDAP ? TRUE : FALSE, valid); in satisfy_query()
221 } else if (ret == NULL && !(*valid)) { in satisfy_query()
246 ret = satisfy_query_dbonly(q, count, TRUE, valid); in satisfy_query()
248 ret = satisfy_query_dbonly(q, count, FALSE, valid); in satisfy_query()
[all …]
/titanic_44/usr/src/lib/libshare/common/
H A Dissubdir.c75 static int valid; local
92 valid = 0;
128 valid = index;
149 for (index = 0; index < valid; index++) {
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dlocale.h152 #define valid(ptr) (ptr != (char *) NULL) macro
153 #define nl_init(lang) ((valid(lang) && *lang) ? \
154 (valid(setlocale (LC_ALL, lang) ) ? 0 : -1) \
/titanic_44/usr/src/lib/libprtdiag/common/
H A Dmemory.c236 new->valid = (mc_decode >> 63); in add_bank_node()
302 if (bank->valid) in display_us3_banks()
330 if (tmp_bank->valid == 0) { in display_us3_banks()
358 if (tmp_bank->valid == 0) { in display_us3_banks()
397 if (bank->valid == 0) in display_us3_banks()
435 if (bank->valid != 1) in add_seg_node()
509 if ((bank->valid == 0) && in display_us3_failed_banks()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_safe.c60 krb5_boolean valid; in krb5_rd_safe_basic() local
129 scratch, his_cksum, &valid); in krb5_rd_safe_basic()
134 if (!valid) { in krb5_rd_safe_basic()
141 &safe_body, his_cksum, &valid); in krb5_rd_safe_basic()
142 if (!valid) { in krb5_rd_safe_basic()
/titanic_44/usr/src/uts/common/io/i40e/core/
H A Di40e_hmc.c76 if (!sd_entry->valid) { in i40e_add_sd_table_entry()
172 if (!pd_entry->valid) { in i40e_add_pd_table_entry()
201 pd_entry->valid = TRUE; in i40e_add_pd_table_entry()
258 pd_entry->valid = FALSE; in i40e_remove_pd_bp()
297 sd_entry->valid = FALSE; in i40e_prep_remove_sd_bp()
344 sd_entry->valid = FALSE; in i40e_prep_remove_pd_page()
/titanic_44/usr/src/cmd/bnu/
H A Dconn.c397 protoString(valid) in protoString() argument
398 char *valid; in protoString()
402 save =strdup(valid);
406 addProto(_ProtoSys, valid);
408 addProto(_ProtoDev, valid);
410 addProto(_ProtoCfg, valid);
413 (void) strcpy(valid, save);
431 addProto (desired, valid) in addProto() argument
433 char *valid;
444 removeProto(valid, *protoPtr);
[all …]
/titanic_44/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.TraceIDs44 * RESULT: not a valid id range
48 * RESULT: not a valid id range
52 * RESULT: not a valid id range
56 * RESULT: not a valid id range
H A Dman.ListProbesWithProviders48 * RESULT: not a valid probe description
52 * RESULT: not a valid probe description.
68 * RESULT: not a valid probe description.
81 * RESULT: not a valid probe description.
/titanic_44/usr/src/tools/onbld/Checks/
H A DCmtBlk.py47 for actual, valid in map(lambda x, y: (x and x.lstrip(CmntChrs), y),
49 if actual != valid:
50 raise CmtBlkError(line, actual, valid)
/titanic_44/usr/src/cmd/hal/utils/
H A Dfsutils.c125 boolean_t valid; in walk_partitions() local
144 valid = B_TRUE; in walk_partitions()
150 valid = B_FALSE; in walk_partitions()
153 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_hw.h448 uint32_t valid:1; member
450 uint32_t valid:1;
520 uint32_t valid:1; member
538 uint32_t valid:1;
560 uint32_t valid:1; member
583 uint32_t valid:1;
908 uint32_t valid:1; member
939 uint32_t valid:1;
1015 uint32_t valid:1; member
1045 uint32_t valid:1;
[all …]

12345678910>>...13