Searched defs:valid (Results 1 - 25 of 146) sorted by relevance

123456

/illumos-gate/usr/src/lib/libast/common/comp/
H A Dre_comp.c32 #undef valid macro
38 int valid; member in struct:__anon2722
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/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/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/tools/ndrgen/
H A Dndr_print.c190 * of the array, that contains valid data, which is done by associating
201 static char *valid = "*/%+-&|^"; local
225 else if (strchr(valid, *operator) == NULL)
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_hw.h103 unsigned valid; member in struct:__anon6463
/illumos-gate/usr/src/lib/libadm/common/
H A Dckkeywd.c68 int valid, i, n; local
108 valid = 1;
110 valid = !match(input, keyword);
112 if (!valid) {
H A Dckgid.c102 int valid; local
105 valid = (getgrnam(grpnm) ? 0 : 1);
107 return (valid);
H A Dckrange.c90 int valid, n; local
142 valid = ((value >= lower) && (value <= upper));
144 valid = 0;
145 if (!valid) {
H A Dckuid.c102 int valid; local
105 valid = (getpwnam(usrnm) ? 0 : 1);
107 return (valid);
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);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dk5_md5des.c159 krb5_boolean *valid)
263 *valid = (memcmp(plaintext+CONFLENGTH, digest, sizeof(digest)) == 0);
265 *valid = (memcmp(plaintext, digest, sizeof(digest)) == 0);
153 k5_md5des_verify(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_const krb5_data *hash, krb5_boolean *valid) argument
/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/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.
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk5_kmd5des.c160 krb5_boolean *valid)
248 *valid = !bcmp((const void *)(plaintext+CONFLENGTH),
251 *valid = !bcmp((const void *)plaintext,
154 k5_md5des_verify(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_const krb5_data *hash, krb5_boolean *valid) argument
/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/lib/libnsl/rpc/
H A Dclnt_simple.c58 int valid; /* Is this entry valid ? */ member in struct:rpc_call_private
118 if (!(rcp->valid &&
126 rcp->valid = 0;
153 rcp->valid = 1;
155 rcp->valid = 0;
166 rcp->valid = 0;
/illumos-gate/usr/src/uts/common/sys/
H A Dhotkey_drv.h54 int valid; /* the device state is valid */ member in struct:acpi_drv_dev
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_oem.c63 * valid True if the codepage has been initialized.
70 boolean_t valid; member in struct:oem_codepage
276 if (!oemcpg_table[cpid].valid) {
279 if (!oemcpg_table[cpid].valid)
295 if (!oemcpg_table[cpid].valid) {
298 if (!oemcpg_table[cpid].valid)
346 if (oemcpg->valid)
374 oemcpg->valid = B_TRUE;
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/hsi_repository/
H A Decore_hsi_init_func.h102 u8 valid /* indicates if the mapping entry is valid */; member in struct:init_nig_pri_tc_map_entry
121 u8 active_phys_tcs /* Vector of valid bits for active TCs used by this port */;
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_hsi_init_func.h102 u8 valid /* indicates if the mapping entry is valid */; member in struct:init_nig_pri_tc_map_entry
121 u8 active_phys_tcs /* Vector of valid bits for active TCs used by this port */;
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_bos.c106 * After we finish that up, go through and save all of the valid BOS
161 boolean_t valid; local
171 valid = B_FALSE;
174 valid = usba_bos_parse_usb2ext(buf, dev.bLength,
178 valid = usba_bos_parse_superspeed(buf, dev.bLength,
182 valid = usba_bos_parse_container(buf, dev.bLength,
186 valid = usba_bos_parse_precision_time(buf, dev.bLength,
197 valid = B_TRUE;
201 if (valid) {
/illumos-gate/usr/src/boot/sys/boot/common/
H A Disapnp.c89 * Get the device's serial number. Returns 1 if the serial is valid.
94 int i, bit, valid = 0, sum = 0x6a; local
106 valid = valid || bit;
116 valid = valid && (data[8] == sum);
118 return (valid);
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Dlibprtdiag.h165 ushort_t valid; member in struct:memory_bank
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dold_api_glue.c254 krb5_boolean valid; local
265 &valid)))
268 if (!valid)
/illumos-gate/usr/src/cmd/mdb/intel/modules/amd_opteron/
H A Dao.c93 int valid = 1; local
99 valid = 0;
117 if (valid) {

Completed in 273 milliseconds

123456