Searched refs:st (Results 76 - 100 of 1036) sorted by relevance

1234567891011>>

/macosx-10.10/bash-94.1.2/bash-3.2/examples/loadables/
H A Dfinfo.c132 static struct stat st; local
142 r = fstat(fd, &st);
145 r = lstat(f, &st);
147 r = stat(f, &st);
153 return (&st);
160 struct stat *st; local
162 st = getstat(f);
163 return (st ? printst(st) : 1);
244 printst(st)
285 struct stat *st; local
[all...]
/macosx-10.10/libarchive-30/libarchive/libarchive/test/
H A Dtest_write_disk_secure.c42 struct stat st;
127 assertEqualInt(0, lstat("link_to_dir3", &st));
128 assert(S_ISLNK(st.st_mode));
149 assertEqualInt(0, lstat("link_to_dir4", &st));
150 assert(S_ISDIR(st.st_mode));
177 assertEqualInt(0, lstat("link_to_dir5", &st));
178 assert(S_ISDIR(st.st_mode));
184 assert(0 == lstat("dir", &st));
185 failure("dir: st.st_mode=%o", st
[all...]
/macosx-10.10/ruby-106/ruby/ext/-test-/st/update/
H A Dupdate.c2 #include <ruby/st.h>
31 VALUE st = rb_define_class_under(rb_define_module("Bug"), "StTable", rb_cHash); local
32 rb_define_method(st, "st_update", test_st_update, 1);
/macosx-10.10/dcerpc-61/dcerpc/ncklib/
H A Dcomp.h344 #define RPC_AUTHN_CHECK_SUPPORTED(id, st) \
352 *(st) = rpc_s_unknown_auth_protocol; \
357 #define RPC_AUTHN_CHECK_SUPPORTED_RPC_PROT(id, rpc_id, st) \
359 RPC_AUTHN_CHECK_SUPPORTED(id, st); \
362 *(st) = rpc_s_proto_unsupp_by_auth; \
397 #define RPC_BINDING_VALIDATE(binding_rep, st) \
403 *(st) = rpc_s_invalid_binding; \
407 rpc__binding_cross_fork(binding_rep, st); \
410 *(st) = rpc_s_ok; \
419 #define RPC_BINDING_VALIDATE_SERVER(binding_rep, st) \
[all...]
H A Dgssauthcn.c107 unsigned32 /* out */ * /*st*/
113 unsigned32 /* out */ * /*st*/
119 unsigned32 /* out */ * /*st*/
125 unsigned32 /* out */ * /*st*/
131 unsigned32 /* out */ * /*st*/
135 unsigned32 /* out */ * /*st*/
140 unsigned32 /* out */ * /*st*/
151 unsigned32 /* out */ * /*st*/
172 unsigned32 /* out */ * /*st*/
180 unsigned32 /* in/out */ * /*st*/
[all...]
H A Dcnassoc.c177 unsigned32 * /*st*/);
190 unsigned32 * /*st*/);
215 unsigned32 * /*st*/);
230 unsigned32 * /*st*/);
238 unsigned32 * /*st*/);
342 ** st The return status of this routine.
368 unsigned32 *st
400 CODING_ERROR (st);
433 st);
434 if (*st !
1383 unsigned32 st; local
4143 unsigned32 st; local
4543 error_status_t st; local
4750 error_status_t st; local
5166 unsigned32 st; local
5767 unsigned32 st; local
[all...]
H A Dcomauth.c155 *st = rpc_s_ss_bad_buffer; \
716 unsigned32 *st
721 authn_protocol = rpc__auth_cvt_id_wire_to_api(dce_rpc_authn_protocol, st);
722 if (*st != rpc_s_ok)
729 (princ_name_size, princ_name, st);
785 unsigned32 *st
794 CODING_ERROR (st);
799 RPC_BINDING_VALIDATE_CLIENT(binding_rep, st);
800 if (*st != rpc_s_ok)
814 RPC_AUTHN_CHECK_SUPPORTED_RPC_PROT(authn_protocol, binding_rep->protocol_id, st);
[all...]
H A Ddgclive.c159 unsigned32 *st
165 *st = rpc_s_ok;
177 if (rpc__naf_addr_compare(maint->shand->rpc_addr, binding_r->rpc_addr, st))
207 (rpc_binding_handle_t *) &maint->shand, st);
225 rpc_c_authz_none, st);
253 unsigned32 *st
283 rpc_binding_free((rpc_binding_handle_t *)&maint->shand, st);
286 *st = rpc_s_ok;
294 *st = -1; /*!!! didn't find it, need real error value here */
307 unsigned32 *st
397 unsigned32 st; local
445 unsigned32 st; local
[all...]
H A Dcnassm.h115 #define RPC_CN_ASSOC_CHECK_ST(assoc, st)\
119 if (*(st) != rpc_s_ok)\
121 (assoc)->assoc_local_status = *(st);\
124 return (*(st));\
198 #define RPC_CN_ASSOC_EVAL_NETWORK_EVENT(assoc, event_id, fragbuf, st)\
201 st = rpc__cn_sm_eval_event ((event_id),\
223 #define RPC_CN_ASSOC_EVAL_USER_EVENT(assoc, event_id, event_param, st)\
226 st = assoc->assoc_status;\
227 if (st == rpc_s_ok)\
229 st
[all...]
/macosx-10.10/gnutar-453/gnutar/src/
H A Dcreate.c500 file_dumpable_p (struct tar_stat_info *st)
503 return totals_option && sparse_option && ST_IS_SPARSE (st->stat);
504 return !(st->archive_file_size == 0
505 && (st->stat.st_mode & MODE_R) == MODE_R);
554 write_short_name (struct tar_stat_info *st)
558 tar_name_copy_str (header->header.name, st->file_name, NAME_FIELD_SIZE);
569 write_gnu_long_link (struct tar_stat_info *st, const char *p, char type)
592 finish_header (st, header, -1);
659 write_long_link (struct tar_stat_info *st)
664 xheader_store ("linkpath", st, NUL
498 file_dumpable_p(struct tar_stat_info *st) argument
551 write_short_name(struct tar_stat_info *st) argument
566 write_gnu_long_link(struct tar_stat_info *st, const char *p, char type) argument
656 write_long_link(struct tar_stat_info *st) argument
683 write_long_name(struct tar_stat_info *st) argument
717 write_extended(bool global, struct tar_stat_info *st, union block *old_header) argument
746 write_header_name(struct tar_stat_info *st) argument
767 start_header(struct tar_stat_info *st) argument
992 finish_header(struct tar_stat_info *st, union block *header, off_t block_ordinal) argument
1030 dump_regular_file(int fd, struct tar_stat_info *st) argument
1100 dump_dir0(char *directory, struct tar_stat_info *st, int top_level, dev_t parent_device) argument
1257 dump_dir(int fd, struct tar_stat_info *st, int top_level, dev_t parent_device) argument
1383 dump_hard_link(struct tar_stat_info *st) argument
1428 file_count_links(struct tar_stat_info *st) argument
1483 dump_file0(struct tar_stat_info *st, const char *p, int top_level, dev_t parent_device) argument
1797 struct tar_stat_info st; local
[all...]
H A Dxheader.c232 xheader_format_name (struct tar_stat_info *st, const char *fmt, size_t n)
255 if (st)
258 dirp = dir_name (st->orig_file_name);
265 if (st)
267 base = last_component (st->orig_file_name);
343 xheader_xhdr_name (struct tar_stat_info *st)
347 return xheader_format_name (st, exthdr_name, 0);
555 run_override_list (struct keyword_list *kp, struct tar_stat_info *st)
561 t->decoder (st, t->keyword, kp->value, strlen (kp->value));
569 struct tar_stat_info *st
230 xheader_format_name(struct tar_stat_info *st, const char *fmt, size_t n) argument
341 xheader_xhdr_name(struct tar_stat_info *st) argument
552 run_override_list(struct keyword_list *kp, struct tar_stat_info *st) argument
566 struct tar_stat_info *st = data; local
581 xheader_decode(struct tar_stat_info *st) argument
627 xheader_store(char const *keyword, struct tar_stat_info *st, void const *data) argument
1005 atime_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1012 atime_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1023 gid_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1030 gid_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1041 gname_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1048 gname_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size __attribute__((unused))) argument
1057 linkpath_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1064 linkpath_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size __attribute__((unused))) argument
1073 ctime_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1080 ctime_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1091 mtime_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1099 mtime_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1110 path_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1117 path_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size __attribute__((unused))) argument
1128 size_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1135 size_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1146 uid_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1153 uid_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1164 uname_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1171 uname_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size __attribute__((unused))) argument
1180 sparse_size_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1187 sparse_size_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1198 sparse_numblocks_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data __attribute__ ((unused))) argument
1206 sparse_numblocks_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1221 sparse_offset_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1229 sparse_offset_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1246 sparse_numbytes_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1254 sparse_numbytes_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1271 sparse_map_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size __attribute__((unused))) argument
1343 dumpdir_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1350 dumpdir_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size) argument
1360 volume_label_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1367 volume_label_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size __attribute__((unused))) argument
1376 volume_size_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1384 volume_size_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size) argument
1395 volume_offset_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1403 volume_offset_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size) argument
1413 volume_filename_decoder(struct tar_stat_info *st, char const *keyword __attribute__((unused)), char const *arg, size_t size __attribute__((unused))) argument
1422 sparse_major_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1429 sparse_major_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size) argument
1440 sparse_minor_coder(struct tar_stat_info const *st, char const *keyword, struct xheader *xhdr, void const *data) argument
1447 sparse_minor_decoder(struct tar_stat_info *st, char const *keyword, char const *arg, size_t size) argument
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/
H A Dstubs.c219 ruby_tcl_create_ip_and_stubs_init(int *st) argument
221 ruby_tcl_create_ip_and_stubs_init(st)
222 int *st;
227 if (st) *st = 0;
233 if (st) *st = FAIL_CreateInterp;
250 if (st) *st = ret;
258 if (st) *s
290 int st; local
402 int st; local
505 ruby_tcl_create_ip_and_stubs_init(int *st) argument
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Deaccess.c53 struct stat st;
71 if (stat(path, &st))
76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
80 else if (euid == st.st_uid)
89 else if (egid == st.st_gid)
120 if (groups[n] == st.st_gid)
130 if ((st.st_mode & mode) == mode)
H A Drmdir.c39 struct stat st;
44 if (stat(path, &st) < 0) return(-1);
45 if (!S_ISDIR(st.st_mode))
/macosx-10.10/postfix-255/postfix/src/util/
H A Dload_file.c56 struct stat st; local
69 if (fstat(vstream_fileno(fp), &st) < 0)
74 if (st.st_mtime < before - 1 || st.st_mtime > after)
H A Dlstat_as.c10 /* int lstat_as(path, st, euid, egid)
12 /* struct stat *st;
51 int lstat_as(const char *path, struct stat * st, uid_t euid, gid_t egid) argument
65 status = lstat(path, st);
H A Dmake_dirs.c58 struct stat st; local
80 if ((ret = stat(saved_path, &st)) >= 0) {
81 if (!S_ISDIR(st.st_mode)) {
86 saved_mode = st.st_mode;
116 if ((ret = stat(saved_path, &st)) < 0)
118 if (!S_ISDIR(st.st_mode)) {
129 if ((ret = stat(saved_path, &st)) < 0) {
135 if (st.st_gid != egid && (ret = chown(saved_path, -1, egid)) < 0) {
H A Dstat_as.c10 /* int stat_as(path, st, euid, egid)
12 /* struct stat *st;
51 int stat_as(const char *path, struct stat * st, uid_t euid, gid_t egid) argument
65 status = stat(path, st);
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-SystemConfiguration/PyObjCTest/
H A Dtest_SCDynamicStoreCopyDHCPInfo.py8 def callback(st, keys, info):
11 st = SCDynamicStoreCreate(None, "pyobjc.test", callback, None)
12 self.assertTrue(isinstance(st, SCDynamicStoreRef))
23 info = SCDynamicStoreCopyDHCPInfo(st, None)
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Djdarith.c106 arith_decode (j_decompress_ptr cinfo, unsigned char *st) argument
151 sv = *st;
165 *st = (sv & 0x80) ^ nm; /* Estimate_after_MPS */
168 *st = (sv & 0x80) ^ nl; /* Estimate_after_LPS */
174 *st = (sv & 0x80) ^ nl; /* Estimate_after_LPS */
177 *st = (sv & 0x80) ^ nm; /* Estimate_after_MPS */
246 unsigned char *st; local
269 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
272 if (arith_decode(cinfo, st) == 0)
277 sign = arith_decode(cinfo, st
325 unsigned char *st; local
401 unsigned char *st; local
436 unsigned char *st; local
508 unsigned char *st; local
[all...]
/macosx-10.10/libarchive-30/libarchive/libarchive/
H A Darchive_write_open_fd.c84 struct stat st; local
88 if (fstat(mine->fd, &st) != 0) {
96 if (S_ISREG(st.st_mode))
97 archive_write_set_skip_file(a, st.st_dev, st.st_ino);
107 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
108 S_ISFIFO(st.st_mode) || (mine->fd == 1))
/macosx-10.10/ksh-23/ksh/src/lib/libast/path/
H A Dpathshell.c58 struct stat st; local
66 if (stat(sh, &st))
68 if (ru != st.st_uid && !strmatch(sh, "?(/usr)?(/local)/?([ls])bin/?([[:lower:]])sh?(.exe)"))
84 if (stat(s, &st))
86 if (ru != eu && st.st_uid == ru)
88 if (rg != eg && st.st_gid == rg)
/macosx-10.10/OpenSSH-189/openssh/
H A Dauth-rhosts.c62 struct stat st; local
67 if (fstat(fd, &st) == -1) {
71 if (!S_ISREG(st.st_mode)) {
201 struct stat st; local
220 if (stat(buf, &st) >= 0)
228 stat(_PATH_RHOSTS_EQUIV, &st) < 0 &&
229 stat(_PATH_SSH_HOSTS_EQUIV, &st) < 0)
251 if (stat(pw->pw_dir, &st) < 0) {
259 ((st.st_uid != 0 && st
[all...]
/macosx-10.10/postfix-255/postfix/src/global/
H A Dmbox_open.c16 /* MBOX *mbox_open(path, flags, mode, st, user, group, lock_style,
21 /* struct stat *st;
38 /* The \fBpath, flags, mode, st, user, group, why\fR arguments
105 MBOX *mbox_open(const char *path, int flags, mode_t mode, struct stat * st, argument
115 if (st == 0)
116 st = &local_statbuf;
140 && (stat(path, st) < 0 || S_ISREG(st->st_mode))) {
163 if ((fp = safe_open(path, flags | O_NONBLOCK, mode, st,
181 if (S_ISREG(st
[all...]
/macosx-10.10/zsh-61/zsh/Src/
H A Dcond.c55 struct stat *st; local
331 return !((st = getstat(left)) && !!(st->st_size));
350 return !((st = getstat(left)) && st->st_uid == geteuid());
352 return !((st = getstat(left)) && st->st_gid == getegid());
355 if (!(st = getstat(left)))
357 return (st->st_atime == st
421 static struct stat st; variable in typeref:struct:stat
[all...]

Completed in 275 milliseconds

1234567891011>>