| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
| H A D | stat.t | 12 eval { my @n = stat "TEST" }; 18 our @stat = stat "TEST"; # This is the function stat. 19 unless (@stat) { plan skip_all => "1..0 # Skip: no file TEST"; exit 0 } 26 my $stat = File::stat::stat( "TEST" ); # This is the OO stat. 27 ok( ref($stat), 'should build a stat object' ); 29 is( $stat->dev, $stat[0], "device number in position 0" ); 34 is( $stat->ino, $stat[1], "inode number in position 1" ); 37 is( $stat->mode, $stat[2], "file mode in position 2" ); 39 is( $stat->nlink, $stat[3], "number of links in position 3" ); 41 is( $stat->uid, $stat[4], "owner uid in position 4" ); [all …]
|
| /onnv-gate/usr/src/lib/smbsrv/libsmb/common/ |
| H A D | smb_idmap.c | 35 smb_idmap_check(const char *s, idmap_stat stat) in smb_idmap_check() argument 37 if (stat != IDMAP_SUCCESS) { in smb_idmap_check() 41 syslog(LOG_ERR, "%s: %s", s, idmap_stat2string(stat)); in smb_idmap_check() 54 idmap_stat stat; in smb_idmap_getsid() local 56 stat = smb_idmap_batch_create(&sib, 1, SMB_IDMAP_ID2SID); in smb_idmap_getsid() 57 if (stat != IDMAP_SUCCESS) in smb_idmap_getsid() 58 return (stat); in smb_idmap_getsid() 60 stat = smb_idmap_batch_getsid(sib.sib_idmaph, &sib.sib_maps[0], in smb_idmap_getsid() 63 if (stat != IDMAP_SUCCESS) { in smb_idmap_getsid() 65 return (stat); in smb_idmap_getsid() [all …]
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | wait.h | 78 #define WLOBYTE(stat) ((int)((stat)&0377)) argument 79 #define WHIBYTE(stat) ((int)(((stat)>>8)&0377)) argument 80 #define WWORD(stat) ((int)((stat))&0177777) argument 82 #define WIFCONTINUED(stat) (WWORD(stat) == WCONTFLG) argument 83 #define WCOREDUMP(stat) ((stat)&WCOREFLG) argument 87 #define WIFEXITED(stat) ((int)((stat)&0xFF) == 0) argument 88 #define WIFSIGNALED(stat) ((int)((stat)&0xFF) > 0 && \ argument 89 (int)((stat)&0xFF00) == 0) 90 #define WIFSTOPPED(stat) ((int)((stat)&0xFF) == 0177 && \ argument 91 (int)((stat)&0xFF00) != 0) [all …]
|
| /onnv-gate/usr/src/ucbhead/sys/ |
| H A D | wait.h | 133 #define WLOBYTE(stat) ((int)((stat)&0377)) argument 134 #define WHIBYTE(stat) ((int)(((stat)>>8)&0377)) argument 135 #define WWORD(stat) ((int)((stat))&0177777) argument 137 #define WIFEXITED(stat) (WLOBYTE(stat) == 0) argument 138 #define WIFSIGNALED(stat) (WLOBYTE(stat) > 0 && WHIBYTE(stat) == 0) argument 139 #define WIFSTOPPED(stat) (WLOBYTE(stat) == WSTOPFLG&&WHIBYTE(stat) != 0) argument 140 #define WIFCONTINUED(stat) (WWORD(stat) == WCONTFLG) argument 142 #define WEXITSTATUS(stat) WHIBYTE(stat) argument 143 #define WTERMSIG(stat) (WLOBYTE(stat)&WSIGMASK) argument 144 #define WSTOPSIG(stat) WHIBYTE(stat) argument [all …]
|
| /onnv-gate/usr/src/lib/libnisdb/ |
| H A D | ldap_op.c | 184 int numLocDN, stat = 0, count = 0; in createLdapRequest() local 217 mit_ldap, mit_nisplus, rv, !fromLDAP, &stat); in createLdapRequest() 220 if (stat == NP_LDAP_RULES_NO_VALUE) in createLdapRequest() 222 stat = 0; in createLdapRequest() 443 int stat; in exclusiveLC() local 448 stat = mutex_trylock(&lc->mutex); in exclusiveLC() 449 if (stat == EBUSY && lc->owner != me) in exclusiveLC() 459 int stat; in assertExclusive() local 464 stat = mutex_trylock(&lc->mutex); in assertExclusive() 466 if (stat == 0) { in assertExclusive() [all …]
|
| H A D | db_mindex2.cc | 164 db_status stat; in updateMappingObj() local 166 nis_object *o = dbFindObject(objName, &stat); in updateMappingObj() 170 if (stat != DB_NOTFOUND) { in updateMappingObj() 173 myself, stat, NIL(objName)); in updateMappingObj() 253 int stat = LDAP_SUCCESS; in selectMapping() local 364 stat = LDAP_PARAM_ERROR; in selectMapping() 369 stat = LDAP_PARAM_ERROR; in selectMapping() 381 stat = LDAP_OPERATIONS_ERROR; in selectMapping() 426 *statP = stat; in selectMapping() 450 int stat, freeObj = 0; in updateTableEntry() local [all …]
|
| H A D | db_mindex3.cc | 100 int stat; in entriesFromLDAP() local 130 stat = pthread_kill(table->mapping.enumTid, 0); in entriesFromLDAP() 131 if (stat == ESRCH) { in entriesFromLDAP() 151 } else if (stat == 0) { in entriesFromLDAP() 156 stat = LDAP_SUCCESS; in entriesFromLDAP() 161 myself, stat, table->mapping.enumTid, in entriesFromLDAP() 164 stat = LDAP_OPERATIONS_ERROR; in entriesFromLDAP() 172 return (stat); in entriesFromLDAP() 211 stat = pthread_create(&tid, &attr, entriesFromLDAPthread, arg); in entriesFromLDAP() 212 if (stat != 0) { in entriesFromLDAP() [all …]
|
| /onnv-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
| H A D | token.c | 124 OM_uint32 stat; in __make_ap_token() local 127 if ((stat = __alloc_sig(get_qop(token), in __make_ap_token() 130 return (stat); in __make_ap_token() 193 if ((stat = __xdr_encode_token(&xdrs, NULL, token, keys)) in __make_ap_token() 202 return (stat); in __make_ap_token() 220 OM_uint32 stat; in __make_token() local 223 if ((stat = __alloc_sig(get_qop(token), in __make_token() 226 return (stat); in __make_token() 246 if ((stat = __xdr_encode_token(&xdrs, msg, token, keys)) in __make_token() 254 return (stat); in __make_token() [all …]
|
| H A D | crypto.c | 112 int i, j, stat; in __desN_crypt() local 124 stat = cbc_crypt(keys[j].c, buf, len, m | flags, ivec); in __desN_crypt() 128 if (DES_FAILED(stat)) in __desN_crypt() 129 return (stat); in __desN_crypt() 142 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec); in __desN_crypt() 148 return (stat); in __desN_crypt() 160 int stat = DESERR_BADPARAM; in __dh_desN_crypt() local 180 stat = __desN_crypt(keys->dh_key_set_val, keys->dh_key_set_len, in __dh_desN_crypt() 184 if (DES_FAILED(stat)) in __dh_desN_crypt() 196 int stat = DESERR_BADPARAM; in __dh_des_crypt() local [all …]
|
| /onnv-gate/usr/src/uts/common/rpc/sec/ |
| H A D | key_call.c | 99 enum clnt_stat stat; in key_encryptsession() local 107 if ((stat = key_call(KEY_ENCRYPT, xdr_cryptkeyarg, (char *)&arg, in key_encryptsession() 111 RPCLOG(1, "rpc status %d ", stat); in key_encryptsession() 112 RPCLOG(1, "(%s)\n", clnt_sperrno(stat)); in key_encryptsession() 113 return (stat); in key_encryptsession() 131 enum clnt_stat stat; in key_decryptsession() local 139 if ((stat = key_call(KEY_DECRYPT, xdr_cryptkeyarg, (char *)&arg, in key_decryptsession() 142 RPCLOG(1, "rpc status %d ", stat); in key_decryptsession() 143 RPCLOG(1, "(%s)\n", clnt_sperrno(stat)); in key_decryptsession() 144 return (stat); in key_decryptsession() [all …]
|
| /onnv-gate/usr/src/lib/libast/common/features/ |
| H A D | fs | 2 …t,__fxstat,_lxstat,__lxstat,_xmknod,__xmknod,_xstat,__xstat,lstat,mknod,sync sys/types.h sys/stat.h 3 …t64,__fxstat64,_lxstat64,__lxstat64,_xstat64,__xstat64 -D_LARGEFILE64_SOURCE sys/types.h sys/stat.h 4 mac fstat,lstat,stat,mknod sys/types.h sys/stat.h 8 #include <sys/stat.h> 11 extern int stat(const char* path, struct stat* st) 13 int stat(path, st) 15 struct stat* st; 27 struct stat st; 28 return stat(".",&st) < 0; 34 #include <sys/stat.h> [all …]
|
| /onnv-gate/usr/src/uts/intel/sys/ |
| H A D | stat_impl.h | 45 extern int fstat(int, struct stat *); 46 extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); 50 extern int fstatat(int, const char *, struct stat *, int); 54 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); 61 extern int stat(); 84 extern int _fxstat(const int, int, struct stat *); 85 extern int _xstat(const int, const char *, struct stat *); 86 extern int _lxstat(const int, const char *, struct stat *);
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| H A D | wait.c | 247 int stat = (status & 0377); in wstat() local 251 stat <<= 8; in wstat() 254 stat = maptooldsig(stat); in wstat() 256 stat |= WCOREFLG; in wstat() 259 stat |= WCOREFLG; in wstat() 263 stat = maptooldsig(stat); in wstat() 264 stat <<= 8; in wstat() 265 stat |= _WSTOPPED; in wstat() 268 return (stat); in wstat() 274 int stat = old & 0xFF; in mapstatus() local [all …]
|
| /onnv-gate/usr/src/uts/common/io/atge/ |
| H A D | atge_l1e.c | 695 atge_l1e_smb_t *stat; in atge_l1e_gather_stats() local 703 stat = (atge_l1e_smb_t *)atgep->atge_hw_stats; in atge_l1e_gather_stats() 729 stat->rx_frames += smb->rx_frames; in atge_l1e_gather_stats() 730 stat->rx_bcast_frames += smb->rx_bcast_frames; in atge_l1e_gather_stats() 731 stat->rx_mcast_frames += smb->rx_mcast_frames; in atge_l1e_gather_stats() 732 stat->rx_pause_frames += smb->rx_pause_frames; in atge_l1e_gather_stats() 733 stat->rx_control_frames += smb->rx_control_frames; in atge_l1e_gather_stats() 734 stat->rx_crcerrs += smb->rx_crcerrs; in atge_l1e_gather_stats() 735 stat->rx_lenerrs += smb->rx_lenerrs; in atge_l1e_gather_stats() 736 stat->rx_bytes += smb->rx_bytes; in atge_l1e_gather_stats() [all …]
|
| H A D | atge_l1.c | 454 atge_l1_smb_t *stat; in atge_l1_gather_stats() local 462 stat = (atge_l1_smb_t *)atgep->atge_hw_stats; in atge_l1_gather_stats() 466 stat->rx_frames += smb->rx_frames; in atge_l1_gather_stats() 467 stat->rx_bcast_frames += smb->rx_bcast_frames; in atge_l1_gather_stats() 468 stat->rx_mcast_frames += smb->rx_mcast_frames; in atge_l1_gather_stats() 469 stat->rx_pause_frames += smb->rx_pause_frames; in atge_l1_gather_stats() 470 stat->rx_control_frames += smb->rx_control_frames; in atge_l1_gather_stats() 471 stat->rx_crcerrs += smb->rx_crcerrs; in atge_l1_gather_stats() 472 stat->rx_lenerrs += smb->rx_lenerrs; in atge_l1_gather_stats() 473 stat->rx_bytes += smb->rx_bytes; in atge_l1_gather_stats() [all …]
|
| /onnv-gate/usr/src/grub/grub-0.97/ |
| H A D | depcomp | 95 stat=$? 96 if test $stat -eq 0; then : 99 exit $stat 118 stat=$? 119 if test $stat -eq 0; then : 122 exit $stat 160 stat=$? 161 if test $stat -eq 0; then : 164 exit $stat 211 stat=$? [all …]
|
| /onnv-gate/usr/src/cmd/sendmail/db/mp/ |
| H A D | mp_fget.c | 159 R_ADDR(dbmfp, *pgnoaddr * mfp->stat.st_pagesize); 160 ++mp->stat.st_map; 161 ++mfp->stat.st_map; 236 ++mp->stat.st_cache_hit; 237 ++mfp->stat.st_cache_hit; 244 sizeof(u_int8_t) + mfp->stat.st_pagesize, NULL, &bhp)) != 0) 284 memset(bhp->buf, 0, mfp->stat.st_pagesize); 289 mfp->stat.st_pagesize - mfp->clear_len); 293 ++mp->stat.st_page_create; 294 ++mfp->stat.st_page_create; [all …]
|
| /onnv-gate/usr/src/cmd/krb5/kadmin/kdcmgr/ |
| H A D | klookup.c | 57 struct __res_state stat; in main() local 99 (void) memset(&stat, 0, sizeof (stat)); in main() 101 if (res_ninit(&stat) == -1) in main() 105 len = res_nsearch(&stat, name, C_IN, rr_type, answer, anslen); in main() 108 res_ndestroy(&stat); in main() 122 res_ndestroy(&stat); in main() 129 res_ndestroy(&stat); in main() 136 res_ndestroy(&stat); in main() 153 res_ndestroy(&stat); in main() 162 res_ndestroy(&stat); in main() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
| H A D | ckconfig.c | 56 struct stat sbuf; in main() 86 if ((stat(_PATH_FTPUSERS, &sbuf)) < 0) in main() 95 if ((stat(_PATH_FTPSERVERS, &sbuf)) < 0) in main() 113 if (stat(accesspath, &sbuf) == 0) { in main() 131 if ((stat(_PATH_FTPACCESS, &sbuf)) < 0) in main() 141 if ((stat(buf, &sbuf)) < 0) { in main() 151 if ((stat(_PATH_CVT, &sbuf)) < 0) in main() 158 if ((stat(_PATH_XFERLOG, &sbuf)) < 0) { in main() 168 if ((stat(_PATH_PRIVATE, &sbuf)) < 0) { in main() 178 if ((stat(_PATH_FTPHOSTS, &sbuf)) < 0) { in main()
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
| H A D | stat.c | 34 int stat(path, buf) in stat() function 36 struct stat *buf; 43 struct stat *buf; 49 if ((buf == (struct stat*)0) || (buf == (struct stat*)-1)) { 59 struct stat *buf; 66 struct stat *buf;
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
| H A D | stat.c | 32 int stat(path, buf) in stat() function 34 struct stat *buf; 42 struct stat *buf; 48 if ((buf == (struct stat*)0) || (buf == (struct stat*)-1)) { 58 struct stat *buf; 65 struct stat *buf;
|
| /onnv-gate/usr/src/cmd/oplhpd/ |
| H A D | scf_notify.c | 138 cfga_list_data_t *stat = NULL; /* slot info. */ in scf_get_slotinfo() local 145 rv = config_list_ext(1, (char *const *)&ap_pid, &stat, &nlist, NULL, in scf_get_slotinfo() 164 sizeof (stat->ap_log_id), stat->ap_log_id, in scf_get_slotinfo() 165 sizeof (stat->ap_phys_id), stat->ap_phys_id, in scf_get_slotinfo() 166 stat->ap_r_state, in scf_get_slotinfo() 167 stat->ap_o_state, in scf_get_slotinfo() 168 stat->ap_cond, in scf_get_slotinfo() 169 stat->ap_busy, in scf_get_slotinfo() 170 asctime(localtime(&stat->ap_status_time)), in scf_get_slotinfo() 171 sizeof (stat->ap_info), stat->ap_info, in scf_get_slotinfo() [all …]
|
| /onnv-gate/usr/src/lib/pam_modules/authtok_check/ |
| H A D | dict.c | 57 struct stat st; in lock_db() 61 if (stat(path, &st) == -1) { in lock_db() 123 struct stat st; in database_present() 136 if (stat(dict_hwm, &st) == -1 || in database_present() 137 (stat(dict_pwd, &st) == -1 || st.st_size == 0) || in database_present() 138 stat(dict_pwi, &st) == -1) in database_present() 170 struct stat st_db; in update_dict_database() 171 struct stat st_file; in update_dict_database() 180 if (stat(dbase_pwd, &st_db) == -1) in update_dict_database() 190 if (stat(buf, &st_file) == -1) { in update_dict_database() [all …]
|
| /onnv-gate/usr/src/uts/sparc/sys/ |
| H A D | stat_impl.h | 47 extern int fstat(int, struct stat *); 48 extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); 51 extern int fstatat(int, const char *, struct stat *, int); 55 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); 61 extern int fstat(), stat();
|
| /onnv-gate/usr/src/cmd/cron/ |
| H A D | atrm.c | 66 int getjoblist(struct dirent ***, struct stat ***, int (*)()); 67 int removentry(char *, struct stat *, uid_t); 78 struct stat **statlist; in main() 247 removentry(char *filename, struct stat *statptr, uid_t user) in removentry() 313 struct stat statb; in powner() 316 if (stat(file, &statb) < 0) { in powner() 328 getjoblist(struct dirent ***namelistp, struct stat ***statlistp, in getjoblist() 334 struct stat *statptr; /* pointer to file stat structure */ in getjoblist() 335 struct stat **statlist; in getjoblist() 347 (struct stat **)malloc(numjobs * sizeof (struct stat ***))) in getjoblist() [all …]
|