Searched refs:valid (Results 1 - 25 of 210) sorted by relevance

123456789

/illumos-gate/usr/src/uts/common/io/
H A Dpseudo.conf40 name="zconsnex" parent="/pseudo" instance=1 valid-children="zcons";
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dre_comp.c32 #undef valid macro
38 int valid; member in struct:__anon2607
48 if (state.valid)
54 if (state.valid)
56 state.valid = 0;
61 state.valid = 1;
72 if (state.valid && subject)
/illumos-gate/usr/src/lib/libadm/common/
H A Dcktime.c140 int valid = 1; /* time of day string is valid for format */ local
148 while (*fmt && valid) {
154 valid = 0;
160 valid = 0;
166 valid = 0;
172 valid = 0;
178 valid = 0;
183 valid = 0;
188 valid
[all...]
H A Dckstr.c89 int i, valid; local
91 valid = 1;
97 valid = 0;
98 for (i = 0; !valid && regexp[i]; ++i) {
101 valid = __step(input, expbuf);
103 if (!valid)
107 valid = 0;
109 return (valid == 0);
H A Dckdate.c59 * All digits are valid for a YY year format
305 int valid = 1; /* time of day string is valid for format */ local
313 while (*fmt && valid) {
320 valid = 0;
326 valid = 0;
332 valid = 0;
338 valid = 0;
344 valid = 0;
350 valid
[all...]
H A Dckkeywd.c68 int valid, i, n; local
108 valid = 1;
110 valid = !match(input, keyword);
112 if (!valid) {
H A Dckrange.c90 int valid, n; local
142 valid = ((value >= lower) && (value <= upper));
144 valid = 0;
145 if (!valid) {
H A Dckgid.c102 int valid; local
105 valid = (getgrnam(grpnm) ? 0 : 1);
107 return (valid);
H A Dckuid.c102 int valid; local
105 valid = (getpwnam(usrnm) ? 0 : 1);
107 return (valid);
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dmpapi_scsi_vhci.h94 int valid; member in struct:mpapi_initiator_data
105 int valid; member in struct:mpapi_lu_data
114 * The valid flag is set to 0 when the path is neither online
115 * nor standby state. When hide flag is set the valid flag set
121 int valid; member in struct:mpapi_path_data
134 int valid; member in struct:mpapi_tpg_data
145 int valid; member in struct:mpapi_tport_data
/illumos-gate/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) \
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dverify_checksum.c39 const krb5_checksum *cksum, krb5_boolean *valid)
59 *valid = 0;
64 context, key, usage, 0, data, &indata, valid));
82 *valid = (memcmp(computed.contents, cksum->contents, hashsize) == 0);
37 krb5_c_verify_checksum(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *data, const krb5_checksum *cksum, krb5_boolean *valid) argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c60 int valid; /* Is this entry valid ? */ member in struct:rpc_call_private
120 if (!(rcp->valid &&
128 rcp->valid = 0;
155 rcp->valid = 1;
157 rcp->valid = 0;
168 rcp->valid = 0;
/illumos-gate/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++) {
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c571 char *cp, *valid; local
595 for (valid = getusershell(); valid; valid = getusershell())
596 if (strcmp(pw_shell, valid) == 0)
599 if (valid == NULL && !privileged) {
600 syslog(LOG_ERR, "yppasswdd: Current shell is not valid: %s\n",
618 for (valid = getusershell(); valid; valid
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Disapnp.c90 * Get the device's serial number. Returns 1 if the serial is valid.
95 int i, bit, valid = 0, sum = 0x6a; local
107 valid = valid || bit;
116 valid = valid && (data[8] == sum);
118 return valid;
/illumos-gate/usr/src/tools/onbld/Checks/
H A DCmtBlk.py29 # Check that source files contain a valid comment block
47 for actual, valid in map(lambda x, y: (x and x.lstrip(CmntChrs), y),
49 if actual != valid:
50 raise CmtBlkError(line, actual, valid)
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_hmc.c78 if (!sd_entry->valid) {
138 * 3. Mark the entry valid in i40e_hmc_pd_entry structure
174 if (!pd_entry->valid) {
192 /* Set page address and valid bit */
203 pd_entry->valid = TRUE;
260 pd_entry->valid = FALSE;
299 sd_entry->valid = FALSE;
346 sd_entry->valid = FALSE;
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dmemory.c236 new->valid = (mc_decode >> 63);
301 /* If bank is not valid, set size to zero incase it's garbage */
302 if (bank->valid)
330 if (tmp_bank->valid == 0) {
358 if (tmp_bank->valid == 0) {
397 if (bank->valid == 0)
435 if (bank->valid != 1)
509 if ((bank->valid == 0) &&
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex.cc153 * Return in 'valid' FALSE if query is not well formed.
156 db_mindex::satisfy_query(db_query *q, long *count, bool_t *valid) { argument
157 return (satisfy_query(q, count, valid, FALSE));
161 db_mindex::satisfy_query(db_query *q, long *count, bool_t *valid, argument
167 /* Make sure we have somewhere to store the "request valid" status */
168 if (valid == NULL)
169 valid = &validRequest;
173 *valid = FALSE;
215 ret = satisfy_query_dbonly(q, count, fromLDAP ? TRUE : FALSE, valid);
221 } else if (ret == NULL && !(*valid)) {
264 satisfy_query_dbonly(db_query *q, long *count, bool_t checkExpire, bool_t *valid) argument
924 bool_t valid; local
[all...]
H A Ddb_mindex_c.x133 % Return in 'valid' FALSE if query is not well formed. */
134 % db_index_entry_p satisfy_query(db_query *, long *, bool_t *valid,
136 % db_index_entry_p satisfy_query(db_query *, long *, bool_t *valid = NULL);
142 % Returns an empty query if 'obj' is not a valid entry.
151 % Returns NULL if recnum is not a valid entry.
181 % bool_t *valid = NULL);
183 %/* Returns whether there table is valid (i.e. has scheme). */
245 % is valid and next entry is found; DB_NOTFOUND otherwise. Sets 'where'
252 % is valid and next entry is found; DB_NOTFOUND otherwise. Sets 'where'
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_safe.c60 krb5_boolean valid; local
129 scratch, his_cksum, &valid);
134 if (!valid) {
141 &safe_body, his_cksum, &valid);
142 if (!valid) {
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_mmu.c253 prom_translate_virt(caddr_t virt, int *valid, argument
260 *valid = 0;
272 ci[7] = 0; /* Res2: sr1: valid */
286 *mode = p1275_cell2int(ci[8]); /* Res3: sr2: mode, if valid */
289 *valid = -1; /* Indicate valid result */
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_zonecfg.sh86 expect_success valid-no-config <<EOF
90 expect_success valid-full-config <<EOF
99 expect_success valid-partial-config <<EOF
/illumos-gate/usr/src/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c57 static int ttl, valid; local
64 printf("valid DOF #%d\n", valid++);
133 * Let's see if that managed to get us valid DOF...
137 * Success! This will be our new base for valid DOF.

Completed in 94 milliseconds

123456789