Searched refs:sb (Results 151 - 175 of 731) sorted by relevance

1234567891011>>

/macosx-10.10.1/bless-103/libbless/EFI/
H A DBLCreateEFIXMLRepresentationForPath.c64 struct statfs sb; local
91 ret = blsustatfs(fullpath, &sb);
98 if(0 != strncmp(fullpath, sb.f_mntonname, strlen(sb.f_mntonname))) {
104 if(0 != strcmp(fullpath, sb.f_mntonname)) {
106 if(strlen(sb.f_mntonname) > 1) {
107 memmove(fullpath, fullpath+strlen(sb.f_mntonname),
108 strlen(fullpath)-strlen(sb.f_mntonname)+1);
134 ret = addMatchingInfoForBSDName(context, masterPort, dict, sb.f_mntfromname+strlen("/dev/"), shortForm);
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Drealpath.c54 struct stat sb; local
138 if (lstat(resolved, &sb) != 0) {
145 if (S_ISLNK(sb.st_mode)) {
H A Dmktemp.c52 struct stat sb; local
78 if (lstat(path, &sb) != 0)
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dpathcanon.c79 struct stat sb; local
83 l = stat (path, &sb) == 0 && S_ISDIR (sb.st_mode);
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/tile/themes/blue/
H A Dblue.tcl119 style element create Horizontal.Scrollbar.thumb image $I(sb-thumb) \
120 -map [list {pressed !disabled} $I(sb-thumb-p)] -border 3
122 style element create Vertical.Scrollbar.thumb image $I(sb-vthumb) \
123 -map [list {pressed !disabled} $I(sb-vthumb-p)] -border 3
143 image $I(sb-thumb) -border 2
145 image $I(sb-vthumb) -border 2
/macosx-10.10.1/tcl-105/tcl84/tcl/tools/
H A Dman2help2.tcl63 set state(sb) 0
133 if {$state(sb)} {
134 puts $file "\\sb$state(sb)"
135 set state(sb) 0
288 set state(sb) 80
295 set state(sb) 80
316 set state(sb) 80
329 set state(sb) 120
352 set state(sb) 8
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dos-ip.c490 ldap_int_connect_cbs(LDAP *ld, Sockbuf *sb, ber_socket_t *s, LDAPURLDesc *srv, struct sockaddr *addr) argument
497 ber_sockbuf_ctrl( sb, LBER_SB_OPT_SET_FD, s );
503 rc = cb->lc_add( ld, sb, srv, addr, cb );
511 cb->lc_del( ld, sb, cb );
514 ber_sockbuf_ctrl( sb, LBER_SB_OPT_GET_FD, s );
521 rc = cb->lc_add( ld, sb, srv, addr, cb );
526 cb->lc_del( ld, sb, cb );
531 cb->lc_del( ld, sb, cb );
533 ber_sockbuf_ctrl( sb, LBER_SB_OPT_GET_FD, s );
541 ldap_connect_to_host(LDAP *ld, Sockbuf *sb, argument
756 ldap_host_connected_to( Sockbuf *sb, const char *host ) argument
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblber/
H A Doptions.c37 const Sockbuf *sb; local
76 sb = item;
125 Sockbuf *sb; local
193 sb = item;
/macosx-10.10.1/bless-103/
H A Dfirmwaresyncd.c206 struct stat sb; local
230 if (0 != lstat(kFirmwareFileOSPath, &sb) || !S_ISREG(sb.st_mode)) {
461 struct stat sb, sb2; local
466 if (0 != lstat(kFirmwareFileOSPath, &sb)) {
471 if (!S_ISREG(sb.st_mode)) {
503 TIMESPEC_TO_TIMEVAL(&filetime, &sb.st_mtimespec);
526 struct statfs sb; local
537 ret = statfs("/", &sb);
543 if (0 != strncmp(sb
704 struct stat sb; local
[all...]
/macosx-10.10.1/shell_cmds-179/lastcomm/
H A Dlastcomm.c79 struct stat sb; local
102 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
109 size = sb.st_size - sb.st_size % sizeof(struct acct);
/macosx-10.10.1/BerkeleyDB-21/db/docs_src/ref/transapp/
H A Denv_open.cs46 struct stat sb;
53 if (stat(ENV_DIRECTORY, &sb) == 0)
/macosx-10.10.1/Libc-1044.1.2/sys/
H A Dposix_spawn.c85 struct stat sb; local
165 if (stat(bp, &sb) != 0)
/macosx-10.10.1/system_cmds-643.1.1/vifs.tproj/
H A Dvifs.c48 struct stat sb; local
64 if (stat(_PATH_FSTAB, &sb) < 0) {
/macosx-10.10.1/BerkeleyDB-21/db/test/scr016/src/com/sleepycat/db/test/
H A DPartialGetTest.java137 StringBuffer sb = new StringBuffer(1024*100);
139 sb.append("abcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()_+-=");
140 sb.append("abcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()_+-=");
142 Database db = setupDb1(key, sb.toString().getBytes());
161 if (!MatchData(sb.substring(0, 2048), partialData.getString(), 2048))
170 if (!MatchData(sb.substring(10, 2048+10), partialData.getString(), 12))
/macosx-10.10.1/Heimdal-398.1.2/lib/asn1/
H A Dcheck-asn1-fuzzer.c155 struct stat sb; local
166 if (fstat(fd, &sb) != 0)
168 if (!S_ISREG(sb.st_mode)) {
173 if (sb.st_size > (off_t)(SIZE_T_MAX >> 1))
176 buf = malloc((size_t)sb.st_size);
179 size = (size_t)sb.st_size;
/macosx-10.10.1/text_cmds-88/look/
H A Dlook.c97 struct stat sb; local
144 if ((fd = open(file, O_RDONLY, 0)) < 0 || fstat(fd, &sb))
146 if (sb.st_size > SIZE_T_MAX)
148 if (sb.st_size == 0) {
152 if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED)
154 back = front + sb.st_size;
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/
H A DttkClamTheme.c587 ScrollbarElement *sb = elementRecord; local
588 GC gcb = Ttk_GCForColor(tkwin,sb->borderColorObj,d);
589 GC gct = Ttk_GCForColor(tkwin,sb->troughColorObj,d);
606 ScrollbarElement *sb = elementRecord; local
608 Tcl_GetIntFromObj(NULL, sb->arrowSizeObj, &size);
616 ScrollbarElement *sb = elementRecord; local
623 sb->borderColorObj, sb->lightColorObj, sb->darkColorObj);
625 Tk_Display(tkwin), d, BackgroundGC(tkwin, sb
671 ScrollbarElement *sb = elementRecord; local
714 ScrollbarElement *sb = elementRecord; local
744 ScrollbarElement *sb = elementRecord; local
755 ScrollbarElement *sb = elementRecord; local
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/dlz/drivers/
H A Ddlz_filesystem_driver.c369 struct stat sb; local
475 if (stat(tmp, &sb) == 0 ) {
477 if ((sb.st_mode & S_IFDIR) != 0) {
588 struct stat sb; local
600 if (stat(path, &sb) != 0) {
605 if ((sb.st_mode & S_IFREG) != 0) {
627 struct stat sb; local
657 if (stat(basepath, &sb) != 0) {
662 if ((sb.st_mode & S_IFDIR) == 0) {
742 struct stat sb; local
781 struct stat sb; local
[all...]
/macosx-10.10.1/vim-55/src/proto/
H A Dgui_w16.pro12 void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
13 void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
14 void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
45 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
63 void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
H A Dgui_w32.pro12 void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
13 void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
14 void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
45 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
65 void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dsys_socket.c373 struct stat *sb = (struct stat *)0; local
387 sb = (struct stat *)ub;
388 bzero((caddr_t)sb, sizeof (*sb));
403 sb->st_mode = S_IFSOCK;
406 sb->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
408 sb->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
409 sb->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
410 sb->st_uid = kauth_cred_getuid(so->so_cred);
411 sb
[all...]
/macosx-10.10.1/file_cmds-242/gzip/
H A Dgzip.c259 #define unlink_input(f, sb) unlink(f)
1095 struct stat sb; local
1108 sb = *sbp;
1111 if (fchown(fd, sb.st_uid, sb.st_gid) < 0) {
1114 sb.st_mode &= ~(S_ISUID|S_ISGID);
1118 sb.st_mode &= S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO;
1119 if (fchmod(fd, sb.st_mode) < 0)
1123 TIMESPEC_TO_TIMEVAL(&times[0], &sb.st_atimespec);
1124 TIMESPEC_TO_TIMEVAL(&times[1], &sb
1176 struct stat sb; local
1202 unlink_input(const char *file, const struct stat *sb) argument
1819 struct stat sb; local
1867 struct stat sb; local
[all...]
/macosx-10.10.1/groff-38/groff/src/libs/libbib/
H A Dindex.cpp152 struct stat sb; local
153 if (fstat(fd, &sb) < 0) {
157 if (!S_ISREG(sb.st_mode)) {
161 mtime = sb.st_mtime;
162 int size = int(sb.st_size);
368 struct stat sb; local
369 if (fstat(fd, &sb) < 0) {
374 time_t mtime = sb.st_mtime;
393 if (fstat(fileno(fp), &sb) < 0) {
397 else if (!S_ISREG(sb
629 struct stat sb; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/examples_java/src/persist/
H A DEventExample.java92 StringBuilder sb = new StringBuilder();
93 sb.append(" price=").append(price);
94 sb.append(" customerName=").append(customerName);
95 sb.append(" reps=");
97 sb.append("none");
100 sb.append(rep).append(" ");
103 return sb.toString();
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/
H A Drune.c134 struct stat sb; local
137 if (_fstat(fileno(fp), &sb) < 0)
140 if (sb.st_size < SIZEOF32_RUNELOCALE) {
149 if ((data = (struct __xlocale_st_runelocale *)malloc(sizeof(struct __xlocale_st_runelocale) - sizeof(_RuneLocale) + sb.st_size)) == NULL)
169 if (fread(rl, sb.st_size, 1, fp) != 1)
179 lastp = (char *)rl + sb.st_size;
216 int extra = sb.st_size - SIZEOF32_RUNELOCALE - count * SIZEOF32_RUNEENTRY - rl->__ncharclasses * sizeof(_RuneCharClass);

Completed in 197 milliseconds

1234567891011>>