Searched refs:sb (Results 51 - 75 of 731) sorted by relevance

1234567891011>>

/macosx-10.10.1/file_cmds-242/pax/
H A Dtar.c398 arcn->sb.st_nlink = 1;
410 arcn->sb.st_mode = (mode_t)(asc_ul(hd->mode,sizeof(hd->mode),OCT) &
412 arcn->sb.st_uid = (uid_t)asc_ul(hd->uid, sizeof(hd->uid), OCT);
413 arcn->sb.st_gid = (gid_t)asc_ul(hd->gid, sizeof(hd->gid), OCT);
415 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT);
417 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
419 arcn->sb.st_mtime = (time_t)asc_ul(hd->mtime, sizeof(hd->mtime), OCT);
420 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb
[all...]
/macosx-10.10.1/vim-55/src/proto/
H A Dgui_gtk.pro10 void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
11 void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
12 void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
13 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
/macosx-10.10.1/bless-103/libbless/EFI/
H A DBLInterpretEFIXMLRepresentationAsLegacyDevice.c166 struct statfs *sb = &buf[i]; local
169 if(!(sb->f_flags & MNT_LOCAL))
172 if(0 != strncmp(sb->f_mntfromname, "/dev/", 5))
176 i, sb->f_mntfromname, sb->f_mntonname);
179 sb->f_mntfromname + 5,
183 sb->f_mntfromname);
192 if(0 == strcmp("ntfs", sb->f_fstypename)
193 || 0 == strcmp("msdos", sb->f_fstypename)) {
195 strlcpy(bsdName, sb
[all...]
/macosx-10.10.1/file_cmds-242/compress/
H A Dcompress.c204 struct stat isb, sb; local
209 exists = !stat(out, &sb);
210 if (!force && exists && S_ISREG(sb.st_mode) && !cat && !permission(out)) {
214 isreg = oreg = !exists || S_ISREG(sb.st_mode);
250 if (stat(out, &sb)) {
255 if (!force && sb.st_size >= isb.st_size) {
272 if (isb.st_size > sb.st_size)
274 ((float)sb.st_size / isb.st_size) * 100.0);
277 ((float)isb.st_size / sb.st_size) * 100.0);
295 struct stat sb; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/os/
H A Dos_fid.c32 struct stat sb; local
47 RETRY_CHK((stat(CHAR_STAR_CAST fname, &sb)), ret);
79 tmp = (u_int32_t)sb.st_ino;
83 tmp = (u_int32_t)sb.st_dev;
/macosx-10.10.1/Libc-1044.1.2/gen/
H A Ddevname.c75 struct stat sb; local
86 if (lstat(_buf, &sb))
88 if (dev != sb.st_rdev)
90 if (type != (sb.st_mode & S_IFMT))
/macosx-10.10.1/expat-12/expat/xmlwf/
H A Dreadfilemap.c51 struct stat sb; local
59 if (fstat(fd, &sb) < 0) {
63 if (!S_ISREG(sb.st_mode)) {
67 nbytes = sb.st_size;
H A Dunixfilemap.c27 struct stat sb; local
35 if (fstat(fd, &sb) < 0) {
40 if (!S_ISREG(sb.st_mode)) {
46 nbytes = sb.st_size;
/macosx-10.10.1/tcl-105/tcl_ext/tclxml/tclxml/expat/xmlwf/
H A Dreadfilemap.c70 struct stat sb; local
78 if (fstat(fd, &sb) < 0) {
82 if (!S_ISREG(sb.st_mode)) {
86 nbytes = sb.st_size;
H A Dunixfilemap.c51 struct stat sb; local
59 if (fstat(fd, &sb) < 0) {
64 if (!S_ISREG(sb.st_mode)) {
70 nbytes = sb.st_size;
/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/library/xml/TclExpat-1.1/
H A Dreadfilemap.c52 struct stat sb; local
60 if (fstat(fd, &sb) < 0) {
64 if (!S_ISREG(sb.st_mode)) {
68 nbytes = sb.st_size;
H A Dunixfilemap.c41 struct stat sb; local
49 if (fstat(fd, &sb) < 0) {
54 if (!S_ISREG(sb.st_mode)) {
60 nbytes = sb.st_size;
/macosx-10.10.1/bless-103/libbless/Misc/
H A DBLCreateFile.c57 struct stat sb; local
61 err = lstat(rsrcpath, &sb);
63 if(!S_ISREG(sb.st_mode)) {
69 if(sb.st_flags & UF_IMMUTABLE) {
70 uint32_t newflags = sb.st_flags & ~UF_IMMUTABLE;
133 err = stat(rsrcpath, &sb);
140 err = chflags(rsrcpath, sb.st_flags | UF_IMMUTABLE);
/macosx-10.10.1/ruby-106/ruby/test/ruby/enc/
H A Dtest_utf32.rb61 sb = "a\0".force_encoding("utf-32be")
63 assert_equal(sb, sb.chomp)
68 sb = "\0\0\0a".force_encoding("utf-32be")
70 assert_equal("a".ord, sb.ord)
88 sb = "\0\0\0a".force_encoding("utf-32be")
90 assert_equal(sb, "a".ord.chr("utf-32be"))
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dttyname.c86 struct stat sb; local
89 if (_fstat(fd, &sb) < 0)
95 if (!S_ISCHR(sb.st_mode))
105 if (_fstat(fd, &sb))
107 if (!S_ISCHR(sb.st_mode)) {
119 if (devname_r(sb.st_rdev, S_IFCHR,
184 struct stat sb; local
191 if (_fstat(fd, &sb))
193 if (!S_ISCHR(sb.st_mode)) {
205 if (devname_r(sb
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dpassfile.c51 struct stat sb; local
52 if ( fstat( fileno( f ), &sb ) == 0 ) {
53 if( sb.st_mode & 006 ) {
59 if ( sb.st_size )
60 passwd->bv_len = sb.st_size;
/macosx-10.10.1/sudo-73/src/
H A Dsudo_edit.c77 struct stat sb; local
94 if (stat(_PATH_VARTMP, &sb) == 0 && S_ISDIR(sb.st_mode))
97 else if (stat(_PATH_USRTMP, &sb) == 0 && S_ISDIR(sb.st_mode))
119 zero_bytes(&sb, sizeof(sb)); /* new file */
123 rc = fstat(ofd, &sb);
125 rc = stat(tf[j].ofile, &sb);
130 if (rc || (ofd != -1 && !S_ISREG(sb
[all...]
/macosx-10.10.1/gpt-12/
H A Dboot.c116 struct stat sb; local
144 if (bfd < 0 || fstat(bfd, &sb) < 0) {
148 if (sb.st_size != secsz) {
167 if (bfd < 0 || fstat(bfd, &sb) < 0) {
176 if (gptboot->map_size * secsz < sb.st_size) {
181 } else if (bsize * secsz < sb.st_size) {
199 bsize = (sb.st_size + secsz - 1) / secsz * secsz;
201 nbytes = read(bfd, buf, sb.st_size);
206 if (nbytes != sb.st_size) {
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/
H A Drealpath.c84 struct stat sb; local
117 if (stat("/", &sb) < 0) {
126 rootdev = sb.st_dev;
158 if (stat(resolved, &sb) < 0) {
161 lastdev = sb.st_dev;
233 if ((useattrs = lstat(resolved, &sb)) == 0) {
234 islink = S_ISLNK(sb.st_mode);
235 dev = sb.st_dev;
236 inode = sb.st_ino;
261 if (statfs(resolved, &sfs) == 0 && lstat(sfs.f_mntonname, &sb)
[all...]
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/
H A Dutf8.c93 SecondByte sb; member in struct:__anon2787
130 SecondByte sb; local
163 * We detect if the first byte is illegal, and set sb to
170 sb = sb_00_00;
175 sb = sb_80_BF;
181 sb = sb_A0_BF;
184 sb = sb_80_9F;
187 sb = sb_80_BF;
196 sb = sb_90_BF;
199 sb
[all...]
/macosx-10.10.1/zlib-55/zlib/contrib/iostream3/
H A Dzfstream.cc375 : std::istream(NULL), sb()
376 { this->init(&sb); }
381 : std::istream(NULL), sb()
383 this->init(&sb);
390 : std::istream(NULL), sb()
392 this->init(&sb);
401 if (!sb.open(name, mode | std::ios_base::in))
412 if (!sb.attach(fd, mode | std::ios_base::in))
422 if (!sb.close())
430 : std::ostream(NULL), sb()
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblber/
H A Detest.c71 Sockbuf *sb; local
96 sb = ber_sockbuf_alloc();
97 ber_sockbuf_add_io( sb, &ber_sockbuf_io_fd, LBER_SBIOD_LEVEL_PROVIDER,
100 if( sb == NULL ) {
174 if ( ber_flush2( sb, ber, LBER_FLUSH_FREE_ALWAYS ) == -1 ) {
179 ber_sockbuf_free( sb );
/macosx-10.10.1/bash-94.1.2/bash-3.2/examples/loadables/
H A Dmkdir.c123 struct stat sb; local
126 if (stat (path, &sb) == 0)
128 if (S_ISDIR (sb.st_mode) == 0)
156 if (stat (npath, &sb) != 0)
166 else if (S_ISDIR (sb.st_mode) == 0)
180 if (stat (npath, &sb) && mkdir (npath, nmode))
/macosx-10.10.1/libutil-38/tzlinkd/
H A Dtzlinkd.c167 struct stat sb; local
169 if (lstat(path, &sb) != 0) {
176 if (!S_ISREG(sb.st_mode)) {
181 if (sb.st_uid != 0 || sb.st_gid != 0) {
186 if ((sb.st_mode & ACCESSPERMS) != 0644) {
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tinfo/
H A Daccess.c136 struct stat sb; local
138 if (stat(path, &sb) == 0
139 && (sb.st_mode & S_IFMT) == S_IFDIR) {
149 struct stat sb; local
151 if (stat(path, &sb) == 0
152 && (sb.st_mode & S_IFMT) == S_IFREG) {

Completed in 155 milliseconds

1234567891011>>