Searched refs:sb (Results 26 - 50 of 731) sorted by relevance

1234567891011>>

/macosx-10.10.1/file_cmds-242/pax/
H A Dfile_subs.c103 file_mode = arcn->sb.st_mode & FILEBITS;
144 if (nodirs || chk_path(path_to_open,arcn->sb.st_uid,arcn->sb.st_gid,
184 res = set_ids(arcn->name, arcn->sb.st_uid,
185 arcn->sb.st_gid);
195 arcn->sb.st_mode &= ~(SETBITS);
197 set_pmode(arcn->name, arcn->sb.st_mode);
199 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0);
213 struct stat sb; local
292 struct stat sb; local
329 struct stat sb; local
406 struct stat sb; local
598 struct stat sb; local
654 struct stat sb; local
756 struct stat sb; local
799 struct stat sb; local
1138 struct stat sb; local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/widget/
H A Dscrollw.tcl184 upvar 0 $varname sb
185 if {$sb(auto)} {
186 if {!$sb(lock)} {
188 if {$vmin == $sb(lastmin) && $vmax == $sb(lastmax)} {
191 set sb(lastmin) $vmin
192 set sb(lastmax) $vmax
194 if {$sb(packed) && $vmin == 0 && $vmax == 1} {
195 if {!$sb(lock)} {
196 set sb(packe
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/libtommath/
H A Dbn_mp_sub.c22 int sa, sb, res; local
25 sb = b->sign;
27 if (sa != sb) {
/macosx-10.10.1/patch_cmds-17/patch/
H A Dmkpath.c45 struct stat sb; local
58 if (stat(path, &sb)) {
64 } else if (!S_ISDIR(sb.st_mode)) {
/macosx-10.10.1/tcl-105/tcl/tcl/libtommath/
H A Dbn_mp_sub.c22 int sa, sb, res; local
25 sb = b->sign;
27 if (sa != sb) {
/macosx-10.10.1/tcl-105/tk/tk/tests/ttk/
H A Dscrollbar.test14 ttk::scrollbar .sb -command "yadda"
15 list [winfo class .sb] [.sb cget -command]
17 destroy .sb
25 ttk::scrollbar .sb -command "yadda" -style Custom.TScrollbar
26 list [winfo class .sb] [.sb cget -command] [.sb cget -style]
28 destroy .sb
34 ttk::scrollbar .sb
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/db/internal/
H A DDbUtil.java126 StringBuffer sb = new StringBuffer();
129 sb.append('x');
132 sb.append((char) ('0' + val));
134 sb.append((char) ('a' + val - 10));
138 sb.append((char) ('0' + val));
140 sb.append((char) ('a' + val - 10));
143 return sb.toString();
158 StringBuffer sb = new StringBuffer();
161 sb.append("\n " + name + "[" + i + "]:\n");
162 sb
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/os/
H A Dos_stat.c26 struct stat sb; local
38 RETRY_CHK((stat(CHAR_STAR_CAST path, &sb)), ret);
51 *isdirp = S_ISDIR(sb.st_mode);
71 struct stat sb; local
80 RETRY_CHK((fstat(fhp->fd, &sb)), ret);
88 *mbytesp = (u_int32_t)(sb.st_size / MEGABYTE);
90 *bytesp = (u_int32_t)(sb.st_size % MEGABYTE);
100 if (iosizep != NULL && (*iosizep = sb.st_blksize) == 0)
H A Dos_dir.c30 struct stat sb; local
52 RETRY_CHK(stat(buf, &sb), ret);
66 if (!S_ISREG(sb.st_mode) && !S_TYPEISSHM(&sb)) {
68 if (!S_ISREG(sb.st_mode)) {
70 if (!returndir || !S_ISDIR(sb.st_mode))
/macosx-10.10.1/Libinfo-459/gen.subproj/
H A Dconfiguration_profile.c61 struct stat sb; local
84 memset(&sb, 0, sizeof(struct stat));
85 if (fstat(fd, &sb) < 0)
91 data = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
92 if (data != NULL) out = xpc_create_from_plist(data, sb.st_size);
94 munmap(data, sb.st_size);
/macosx-10.10.1/file_cmds-242/ln/
H A Dln.c72 struct stat sb; local
149 if (hflag && lstat(sourcedir, &sb) == 0 && S_ISLNK(sb.st_mode)) {
157 if (stat(sourcedir, &sb))
159 if (!S_ISDIR(sb.st_mode))
169 struct stat sb; local
177 if (stat(target, &sb)) {
182 if (S_ISDIR(sb.st_mode)) {
194 (lstat(source, &sb) == 0 && S_ISDIR(sb
[all...]
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/
H A DttkScrollbar.c55 Scrollbar *sb = recordPtr; local
56 sb->scrollbar.first = 0.0;
57 sb->scrollbar.last = 1.0;
59 TtkTrackElementState(&sb->core);
65 Scrollbar *sb = recordPtr; local
67 interp, theme, recordPtr, sb->scrollbar.orientObj);
75 * Sets sb->troughBox and sb->minSize.
79 Scrollbar *sb = recordPtr; local
80 WidgetCore *corePtr = &sb
209 Scrollbar *sb = recordPtr; local
249 Scrollbar *sb = recordPtr; local
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/rand/
H A Drandfile.c114 struct stat sb; local
126 memset(&sb, 0, sizeof(sb));
129 if (stat(file,&sb) < 0) return(0);
130 RAND_add(&sb,sizeof(sb),0.0);
140 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
182 struct stat sb; local
184 i=stat(file,&sb);
270 struct stat sb; local
[all...]
/macosx-10.10.1/lsof-53/lsof/dialects/darwin/kmem/
H A Ddmnt.c61 struct stat sb; local
111 if (statsafely(dn, &sb)) {
122 (void) bzero((char *)&sb, sizeof(sb));
123 sb.st_dev = (dev_t)mb->f_fsid.val[0];
124 sb.st_mode = S_IFDIR | 0777;
128 sb.st_dev);
140 mtp->dev = sb.st_dev;
141 mtp->rdev = sb.st_rdev;
142 mtp->inode = (INODETYPE)sb
[all...]
/macosx-10.10.1/lsof-53/lsof/lib/
H A Drmnt.c97 struct stat sb; local
147 if (statsafely(dn, &sb)) {
157 (void) zeromem(&sb, sizeof(sb));
158 if ((opte = x2dev(opt + 4, (dev_t *)&sb.st_dev))) {
159 sb.st_mode = S_IFDIR | 0777;
188 mtp->dev = RMNT_EXPDEV(sb.st_dev);
189 mtp->rdev = RMNT_EXPDEV(sb.st_rdev);
190 mtp->inode = (INODETYPE)sb.st_ino;
191 mtp->mode = sb
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tclvfs/tclvfs/library/
H A Dtarvfs.tcl76 vfs::tar::_stat $tarfd $name sb
77 array get sb
106 vfs::tar::_stat $tarfd $name sb
112 seek $tarfd $sb(start) start
113 vfs::tar::_data $tarfd sb data
239 upvar 1 $arr sb
242 seek $fd $sb(size) current
245 set data [read $fd $sb(size)]
255 upvar 1 $arr sb
259 set sb(nitem
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Ddumpdata.c61 struct stat sb; local
70 if (fstat(fd, &sb) != 0){
74 if (sb.st_size > (off_t)(SIZE_T_MAX >> 1)) {
78 *buf = malloc((size_t)sb.st_size);
83 *size = (size_t)sb.st_size;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblber/
H A Ddtest.c61 Sockbuf *sb; local
78 sb = ber_sockbuf_alloc();
80 ber_sockbuf_add_io( sb, &ber_sockbuf_io_fd, LBER_SBIOD_LEVEL_PROVIDER,
90 tag = ber_get_next( sb, &len, ber);
119 ber_sockbuf_free( sb );
H A Dsockbuf.c58 Sockbuf *sb; local
60 sb = LBER_CALLOC( 1, sizeof( Sockbuf ) );
62 if( sb == NULL ) return NULL;
64 ber_int_sb_init( sb );
65 return sb;
69 ber_sockbuf_free( Sockbuf *sb )
71 assert( sb != NULL );
72 assert( SOCKBUF_VALID( sb ) );
74 ber_int_sb_close( sb );
75 ber_int_sb_destroy( sb );
83 ber_sockbuf_ctrl( Sockbuf *sb, int opt, void *arg ) argument
176 ber_sockbuf_add_io( Sockbuf *sb, Sockbuf_IO *sbio, int layer, void *arg ) argument
214 ber_sockbuf_remove_io( Sockbuf *sb, Sockbuf_IO *sbio, int layer ) argument
413 ber_int_sb_read( Sockbuf *sb, void *buf, ber_len_t len ) argument
435 ber_int_sb_write( Sockbuf *sb, void *buf, ber_len_t len ) argument
[all...]
/macosx-10.10.1/basic_cmds-55/mesg/
H A Dmesg.c67 struct stat sb; local
84 if (stat(tty, &sb) < 0)
88 if (sb.st_mode & S_IWGRP) {
98 if (chmod(tty, sb.st_mode | S_IWGRP) < 0)
102 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0)
/macosx-10.10.1/file-46/file/src/
H A Dfsmagic.c103 file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb) argument
124 ret = lstat(fn, sb);
127 ret = stat(fn, sb); /* don't merge into if; see "ret =" above */
133 ret = lstat(fn, sb);
150 if (sb->st_mode & S_ISUID)
155 if (sb->st_mode & S_ISGID)
160 if (sb->st_mode & S_ISVTX)
166 switch (sb->st_mode & S_IFMT) {
190 major(sb->st_rdev), dv_unit(sb
[all...]
/macosx-10.10.1/bless-103/libbless/Misc/
H A DBLMiscUtilities.c60 struct stat sb; local
68 ret = stat(path, &sb);
73 dev = devname(sb.st_dev, S_IFBLK);
/macosx-10.10.1/bless-103/
H A Dminibless.c53 struct statfs sb; local
61 if(0 != statfs(mountpath, &sb)) {
65 device = sb.f_mntfromname;
/macosx-10.10.1/vim-55/src/proto/
H A Dgui_athena.pro22 void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
23 void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
24 void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
25 void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
26 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
27 void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb));
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c/detail/
H A Dprocess.c64 stream_prepare_init(stream_prepare_t *sp, const atf_process_stream_t *sb) argument
68 const int type = atf_process_stream_type(sb);
70 sp->m_sb = sb;
108 stream_is_valid(const atf_process_stream_t *sb) argument
110 return (sb->m_type == atf_process_stream_type_capture) ||
111 (sb->m_type == atf_process_stream_type_connect) ||
112 (sb->m_type == atf_process_stream_type_inherit) ||
113 (sb->m_type == atf_process_stream_type_redirect_fd) ||
114 (sb->m_type == atf_process_stream_type_redirect_path);
118 atf_process_stream_init_capture(atf_process_stream_t *sb) argument
127 atf_process_stream_init_connect(atf_process_stream_t *sb, const int src_fd, const int tgt_fd) argument
143 atf_process_stream_init_inherit(atf_process_stream_t *sb) argument
152 atf_process_stream_init_redirect_fd(atf_process_stream_t *sb, const int fd) argument
163 atf_process_stream_init_redirect_path(atf_process_stream_t *sb, const atf_fs_path_t *path) argument
174 atf_process_stream_fini(atf_process_stream_t *sb) argument
180 atf_process_stream_type(const atf_process_stream_t *sb) argument
[all...]

Completed in 164 milliseconds

1234567891011>>