Searched refs:sb (Results 126 - 150 of 731) sorted by relevance

1234567891011>>

/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/saslauthd/
H A Dkrbtf.c124 struct stat sb; /* stat() work area */
140 if ((rc = lstat(tf_dir, &sb)) == 0) {
141 if (sb.st_mode & S_IFLNK) {
123 struct stat sb; /* stat() work area */ local
/macosx-10.10.1/xnu-2782.1.97/SETUP/installfile/
H A Dinstallfile.c43 struct stat sb; local
89 ret = fstat(srcfd, &sb);
93 if (!S_ISREG(sb.st_mode))
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/edit/
H A Dhexpand.c57 * if "old" not specified, keep sb->str[0]
58 * if "new" not specified, set sb->str[1] to empty string
65 static char *parse_subst(const char *s, struct subst *sb)
74 if(sb->str[1])
75 free(sb->str[1]);
76 sb->str[1] = strdup("");
92 if(sb->str[n])
93 free(sb->str[n]);
94 sb->str[n] = strdup(stakptr(off));
118 else if(*cp == '&' && n == 1 && sb
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/
H A Dtkballoonhelp.rb156 sb = TkScrollbox.new.pack(:fill=>:x)
157 sb.insert(:end, *%w(aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm))
160 bh = Tk::RbWidget::BalloonHelp.new(sb, :interval=>500,
163 y = TkWinfo.pointery(sb) - TkWinfo.rooty(sb)
164 bh.text "current index == #{sb.nearest(y)}"
169 bh = Tk::RbWidget::BalloonHelp.new(sb, :interval=>500,
172 bh.text "current index == #{sb.nearest(y)}"
177 Tk::RbWidget::BalloonHelp.new(sb, :interval=>500,
180 bhelp.text "current index == #{sb
[all...]
/macosx-10.10.1/uucp-11/uucp/unix/
H A Defopen.c107 struct stat sb; local
108 o = stat(zfile, &sb);
111 getuid(), sb.st_uid, sb.st_mode);
/macosx-10.10.1/xnu-2782.1.97/SETUP/replacecontents/
H A Dreplacecontents.c42 struct stat sb; local
82 ret = fstat(dstfd, &sb);
86 if (!S_ISREG(sb.st_mode))
89 if (sb.st_size != newcontentlength) {
/macosx-10.10.1/file_cmds-242/pax/
H A Dpax_format.c884 arcn->sb.st_nlink = 1;
926 arcn->sb.st_mode = (mode_t)(asc_ul(hd->mode, sizeof(hd->mode), OCT) &
929 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT);
931 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
933 arcn->sb.st_mtime = (time_t)asc_ul(hd->mtime, sizeof(hd->mtime), OCT);
934 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime;
943 if (gid_name(hd->gname, &(arcn->sb.st_gid)) < 0)
944 arcn->sb
[all...]
H A Dftree.c459 memcpy(&arcn->sb, ftent->fts_statp, sizeof(arcn->sb));
471 switch (S_IFMT & arcn->sb.st_mode) {
476 add_atdir(ftent->fts_path, arcn->sb.st_dev,
477 arcn->sb.st_ino, arcn->sb.st_mtime,
478 arcn->sb.st_atime);
494 arcn->skip = arcn->sb.st_size;
/macosx-10.10.1/vim-55/src/
H A Dgui_athena.c94 scrollbar_T *sb, *sb_info; local
97 sb = gui_find_scrollbar((long)client_data);
99 if (sb == NULL)
101 else if (sb->wp != NULL) /* Left or right scrollbar */
108 sb_info = &sb->wp->w_scrollbars[0];
111 sb_info = sb;
117 gui_drag_scrollbar(sb, value, TRUE);
129 scrollbar_T *sb, *sb_info; local
134 sb = gui_find_scrollbar((long)client_data);
136 if (sb
[all...]
/macosx-10.10.1/file_cmds-242/rm/
H A Drm.c335 struct stat sb; local
345 if (lstat(f, &sb)) {
347 sb.st_mode = S_IFWHT|S_IWUSR|S_IRUSR;
361 if (S_ISDIR(sb.st_mode) && !dflag) {
366 if (!fflag && !S_ISWHT(sb.st_mode) && !check(f, f, &sb))
370 (sb.st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
371 !(sb.st_flags & (SF_APPEND|SF_IMMUTABLE)))
372 rval = chflags(f, sb.st_flags & ~(UF_APPEND|UF_IMMUTABLE));
374 if (S_ISWHT(sb
417 struct stat sb; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dsocket_info.c51 static void fill_sockbuf_info(struct sockbuf *sb, struct sockbuf_info *sbi);
55 fill_sockbuf_info(struct sockbuf *sb, struct sockbuf_info *sbi) argument
57 sbi->sbi_cc = sb->sb_cc;
58 sbi->sbi_hiwat = sb->sb_hiwat;
59 sbi->sbi_mbcnt = sb->sb_mbcnt;
60 sbi->sbi_mbmax = sb->sb_mbmax;
61 sbi->sbi_lowat = sb->sb_lowat;
62 sbi->sbi_flags = sb->sb_flags;
63 sbi->sbi_timeo = (u_int32_t)(sb->sb_timeo.tv_sec * hz) +
64 sb
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/examples_java/src/persist/
H A DEventExampleDPL.java94 StringBuilder sb = new StringBuilder();
95 sb.append("time=").append(time);
96 sb.append(" price=").append(price);
97 sb.append(" customerName=").append(customerName);
98 sb.append(" reps=");
100 sb.append("none");
103 sb.append(rep).append(" ");
106 return sb.toString();
/macosx-10.10.1/bash-94.1.2/bash-3.2/examples/loadables/
H A Drealpath.c49 struct stat sb; local
88 if (cflag && (stat(realbuf, &sb) < 0)) {
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/readline/examples/
H A Drl.c86 struct stat sb; local
135 if (fstat (fd, &sb) < 0)
/macosx-10.10.1/diskdev_cmds-576/vndevice.tproj/
H A Dvndevice.c64 struct stat sb; local
98 if (stat(argv[3], &sb) < 0) {
/macosx-10.10.1/shell_cmds-179/whereis/
H A Dwhereis.c68 struct stat sb; local
113 if (!stat(path, &sb))
/macosx-10.10.1/OpenSSL098-52/src/ssl/
H A Dbio_ssl.c143 BIO_SSL *sb; local
149 sb=(BIO_SSL *)b->ptr;
150 ssl=sb->ssl;
174 if (sb->renegotiate_count > 0)
176 sb->byte_count+=ret;
177 if (sb->byte_count > sb->renegotiate_count)
179 sb->byte_count=0;
180 sb->num_renegotiates++;
185 if ((sb
[all...]
/macosx-10.10.1/Libc-1044.1.2/posix1e/
H A Dacl_file.c76 struct stat sb; local
86 if (fstatx_np(fd, &sb, fsec) == 0)
97 struct stat sb; local
107 if ((follow ? statx_np(path, &sb, fsec) : lstatx_np(path, &sb, fsec)) == 0)
/macosx-10.10.1/lukemftp-14/tnftp/src/
H A Dmain.c846 char *sb = stringbase; local
850 if (*sb == '!' || *sb == '$') { /* recognize ! as a token for shell */
855 return ((*sb == '!') ? "!" : "$");
867 switch (*sb) {
874 INC_CHKCURSOR(sb);
884 altarg = sb;
893 switch (*sb) {
901 INC_CHKCURSOR(sb);
905 INC_CHKCURSOR(sb);
[all...]
/macosx-10.10.1/vim-55/src/proto/
H A Dgui_photon.pro19 void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, int val, int size, int max));
20 void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
21 void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
22 void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
23 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblber/
H A Dio.c209 ber_flush( Sockbuf *sb, BerElement *ber, int freeit ) argument
211 return ber_flush2( sb, ber,
217 ber_flush2( Sockbuf *sb, BerElement *ber, int freeit ) argument
222 assert( sb != NULL );
224 assert( SOCKBUF_VALID( sb ) );
232 if ( sb->sb_debug ) {
233 ber_log_printf( LDAP_DEBUG_TRACE, sb->sb_debug,
235 towrite, (long) sb->sb_fd,
237 ber_log_bprint( LDAP_DEBUG_BER, sb->sb_debug,
244 rc = ber_int_sb_write( sb, be
476 ber_get_next( Sockbuf *sb, ber_len_t *len, BerElement *ber ) argument
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-ldap/
H A Dinit.c202 slap_bindconf sb = { BER_BVNULL }; local
222 ber_str2bv( li->li_uri, 0, 0, &sb.sb_uri );
223 sb.sb_version = li->li_version;
224 sb.sb_method = LDAP_AUTH_SIMPLE;
225 BER_BVSTR( &sb.sb_binddn, "" );
228 rc = slap_discover_feature( &sb,
237 rc = slap_discover_feature( &sb,
/macosx-10.10.1/sudo-73/src/
H A Dvisudo.c291 struct stat sb; /* stat buffer */ local
294 if (fstat(sp->fd, &sb) == -1)
296 if (stat(sp->path, &sb) == -1)
299 orig_size = sb.st_size;
300 mtim_get(&sb, &orig_mtim);
401 if (stat(sp->tpath, &sb) < 0) {
406 if (sb.st_size == 0 && orig_size != 0) {
419 mtim_get(&sb, &tv);
420 if (orig_size == sb.st_size && timevalcmp(&orig_mtim, &tv, ==)) {
535 struct stat sb; local
763 struct stat sb; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dtls2.c41 #define HAS_TLS( sb ) ber_sockbuf_ctrl( sb, LBER_SB_OPT_HAS_IO, \
335 update_flags( Sockbuf *sb, tls_session * ssl, int rc ) argument
337 sb->sb_trans_needs_read = 0;
338 sb->sb_trans_needs_write = 0;
340 return tls_imp->ti_session_upflags( sb, ssl, rc );
359 Sockbuf *sb = conn->lconn_sb; local
363 if ( HAS_TLS( sb )) {
364 ber_sockbuf_ctrl( sb, LBER_SB_OPT_GET_SSL, (void *)&ssl );
376 ber_sockbuf_add_io( sb,
440 ldap_pvt_tls_accept( Sockbuf *sb, void *ctx_arg ) argument
496 Sockbuf *sb = NULL; local
717 Sockbuf *sb = conn->lconn_sb; local
898 Sockbuf *sb; local
[all...]
/macosx-10.10.1/adv_cmds-158/finger/
H A Dutil.c305 struct stat sb; local
311 error = stat(tbuf, &sb);
326 touched = sb.st_atime;
334 w->writable = ((sb.st_mode & TALKABLE) == TALKABLE);
342 struct stat sb; local
387 if (stat(tbuf, &sb) < 0) {
392 } else if (sb.st_size != 0) {
393 pn->mailrecv = sb.st_mtime;
394 pn->mailread = sb.st_atime;

Completed in 258 milliseconds

1234567891011>>