Searched refs:stb (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-9.3-release/contrib/amd/amd/
H A Dinfo_ndbm.c83 struct stat stb; local
90 error = stat(dbfilename, &stb);
92 error = fstat(dbm_pagfno(db), &stb);
94 if (!error && *tp < stb.st_mtime) {
95 *tp = stb.st_mtime;
114 struct stat stb; local
121 error = stat(dbfilename, &stb);
123 error = fstat(dbm_pagfno(db), &stb);
128 *tp = stb.st_mtime;
H A Damfs_linkx.c89 struct stat stb; local
102 if (lstat(ln, &stb) < 0)
H A Damfs_toplvl.c172 struct stat stb; local
182 if (stat(mp->am_path, &stb) < 0) {
184 } else if ((stb.st_mode & S_IFMT) != S_IFDIR) {
256 struct stat stb; local
273 if (lstat(mp->am_path, &stb) < 0) {
278 if ((stb.st_mode & S_IFMT) != S_IFDIR) {
H A Damfs_nfsl.c102 struct stat stb; local
122 } else if (lstat(cp, &stb) < 0) {
218 struct stat stb; local
230 if (!STRCEQ(ho, am_get_hostname()) || lstat(cp, &stb) < 0) {
H A Dinfo_file.c198 struct stat stb; local
199 if (fstat(fileno(mapf), &stb) < 0)
202 *tp = stb.st_mtime;
/freebsd-9.3-release/contrib/gdb/gdb/cli/
H A Dcli-setshow.c261 struct ui_stream *stb;
264 stb = ui_out_stream_new (uiout);
265 old_chain = make_cleanup_ui_out_stream_delete (stb);
284 fputstr_filtered (*(unsigned char **) c->var, '"', stb->stream);
292 fputs_filtered (*(char **) c->var, stb->stream);
296 fputs_filtered (*(int *) c->var ? "on" : "off", stb->stream);
302 fputs_filtered ("on", stb->stream);
305 fputs_filtered ("off", stb->stream);
308 fputs_filtered ("auto", stb->stream);
319 fputs_filtered ("unlimited", stb
259 struct ui_stream *stb; local
[all...]
/freebsd-9.3-release/bin/rcp/
H A Dutil.c72 struct stat stb; local
74 if (!stat(cp, &stb)) {
75 if (S_ISDIR(stb.st_mode))
132 struct stat stb; local
135 if (fstat(fd, &stb) < 0) {
139 size = roundup(stb.st_blksize, blksize);
H A Drcp.c354 struct stat stb; local
365 if (fstat(fd, &stb)) {
369 switch (stb.st_mode & S_IFMT) {
374 rsource(name, &stb);
392 (long)stb.st_mtim.tv_sec,
393 (long)stb.st_atim.tv_sec);
400 stb.st_mode & MODEMASK, (intmax_t)stb.st_size, last);
411 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
413 if (i + amt > stb
493 struct stat stb; local
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/rcp/
H A Dutil.c68 struct stat stb; local
70 if (!stat(cp, &stb)) {
71 if (S_ISDIR(stb.st_mode))
138 struct stat stb; local
142 if (fstat(fd, &stb) < 0) {
146 size = roundup(stb.st_blksize, blksize);
H A Drcp.c288 struct stat stb; local
299 if (fstat(fd, &stb)) {
303 switch (stb.st_mode & S_IFMT) {
308 rsource(name, &stb);
326 (long)stb.st_mtime,
327 (long)stb.st_atime);
335 stb.st_mode & MODEMASK,
336 (unsigned long)stb.st_size,
347 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
349 if (i + amt > stb
429 struct stat stb; local
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddisasm.c90 int how_many, struct ui_stream *stb)
136 ui_file_rewind (stb->stream);
138 ui_out_field_stream (uiout, "inst", stb);
139 ui_file_rewind (stb->stream);
156 int how_many, struct ui_stream *stb)
279 how_many, stb);
301 int how_many, struct ui_stream *stb)
308 num_displayed = dump_insns (uiout, di, low, high, how_many, stb);
357 struct ui_stream *stb = ui_out_stream_new (uiout); local
358 struct cleanup *cleanups = make_cleanup_ui_out_stream_delete (stb);
88 dump_insns(struct ui_out *uiout, struct disassemble_info * di, CORE_ADDR low, CORE_ADDR high, int how_many, struct ui_stream *stb) argument
151 do_mixed_source_and_assembly(struct ui_out *uiout, struct disassemble_info *di, int nlines, struct linetable_entry *le, CORE_ADDR low, CORE_ADDR high, struct symtab *symtab, int how_many, struct ui_stream *stb) argument
299 do_assembly_only(struct ui_out *uiout, struct disassemble_info * di, CORE_ADDR low, CORE_ADDR high, int how_many, struct ui_stream *stb) argument
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/
H A Dtst.branch.s41 stb %g0, [%fp - 4]
H A Dtst.embedded.s41 stb %g0, [%fp - 4]
H A Dtst.br.s68 stb %g0, [%fp - 4]
/freebsd-9.3-release/contrib/gdb/gdb/mi/
H A Dmi-cmd-stack.c237 static struct ui_stream *stb = NULL; local
240 stb = ui_out_stream_new (uiout);
306 type_print (sym2->type, "", stb->stream, -1);
307 ui_out_field_stream (uiout, "type", stb);
312 print_variable_value (sym2, fi, stb->stream);
313 ui_out_field_stream (uiout, "value", stb);
318 print_variable_value (sym2, fi, stb->stream);
319 ui_out_field_stream (uiout, "value", stb);
331 ui_out_stream_delete (stb);
/freebsd-9.3-release/usr.sbin/pkg_install/create/
H A Dpl.c145 struct stat stb; local
164 if (stat(".", &stb) == 0)
165 curdir = stb.st_dev;
191 if (lstat(fn, &stb) == 0 && stb.st_dev == curdir &&
192 S_ISREG(stb.st_mode)) {
245 if (lstat(fn, &stb) == 0 && stb.st_dev == curdir &&
246 S_ISREG(stb.st_mode)) {
/freebsd-9.3-release/contrib/sendmail/libsmutil/
H A Dsafefile.c693 struct stat stb; local
722 sff, smode, &stb);
725 sff, smode, &stb);
731 if (stb.st_mode == ST_MODE_NOFILE && bitset(SFF_CREAT, sff))
749 if (filechanged(fn, fd, &stb))
856 ** stb -- stat structure from before open.
864 filechanged(fn, fd, stb)
867 struct stat *stb;
871 if (stb->st_mode == ST_MODE_NOFILE)
875 if (lstat(fn, stb) <
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dscp.c746 struct stat stb; local
767 if (fstat(fd, &stb) < 0) {
771 if (stb.st_size < 0) {
776 switch (stb.st_mode & S_IFMT) {
781 rsource(name, &stb);
795 if (do_times(remout, verbose_mode, &stb) < 0)
800 (u_int) (stb.st_mode & FILEMODEMASK),
801 (long long)stb.st_size, last);
816 start_progress_meter(curfile, stb.st_size, &statbytes);
818 for (haderr = i = 0; i < stb
905 struct stat stb; local
1268 struct stat stb; local
1314 struct stat stb; local
[all...]
/freebsd-9.3-release/contrib/bmake/
H A Ddir.c903 struct stat stb; /* Buffer for stat, if necessary */ local
920 if (stat(file, &stb) == 0) {
921 if (stb.st_mtime == 0)
922 stb.st_mtime = 1;
928 fprintf(debug_file, " Caching %s for %s\n", Targ_FmtTime(stb.st_mtime),
932 Hash_SetTimeValue(entry, stb.st_mtime);
1063 struct stat stb; /* Buffer for stat, if necessary */ local
1315 } else if (stat(name, &stb) == 0) {
1316 if (stb.st_mtime == 0)
1317 stb
1435 struct stat stb; /* buffer for finding the mod time */ local
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Druserpass.c96 struct stat stb; local
163 fstat(fileno(cfile), &stb) >= 0 &&
164 (stb.st_mode & 077) != 0) {
175 if (fstat(fileno(cfile), &stb) >= 0
176 && (stb.st_mode & 077) != 0) {
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c112 struct stat stb; local
176 fstat(fileno(cfile), &stb) >= 0 &&
177 (stb.st_mode & 077) != 0) {
187 if (fstat(fileno(cfile), &stb) >= 0
188 && (stb.st_mode & 077) != 0) {
/freebsd-9.3-release/usr.bin/make/
H A Ddir.c638 struct stat stb; /* Buffer for stat, if necessary */ local
769 if (stat(file, &stb) == 0) {
795 Targ_FmtTime(stb.st_mtime), file));
799 (void *)(long)stb.st_mtime);
844 } else if (stat (name, &stb) == 0) {
847 Targ_FmtTime(stb.st_mtime), name));
848 Hash_SetValue(entry, (void *)(long)stb.st_mtime);
952 struct stat stb; /* buffer for finding the mod time */ local
976 stb.st_mtime = (time_t)(long)Hash_GetValue(entry);
978 } else if (stat(fullName, &stb) <
[all...]
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Dprintjob.c159 struct stat stb; local
200 statok = stat(pp->lock_file, &stb);
201 if (statok == 0 && (stb.st_mode & LFM_PRINT_DIS))
215 * been created by open(). Update &stb to match that new file.
218 statok = stat(pp->lock_file, &stb);
246 if (stb.st_mode & LFM_RESET_QUE) { /* reset queue flag */
247 if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE) < 0)
275 if (stat(q->job_cfname, &stb) < 0)
293 if (fstat(lfd, &stb) == 0) {
295 if (stb
624 struct stat stb; local
1004 struct stat stb; local
1563 struct stat stb; local
[all...]
/freebsd-9.3-release/contrib/opie/
H A Dglob.c362 struct stat stb; local
375 if (fstat(dirp->dd_fd, &stb) < 0)
377 if (!isdir(stb)) {
403 struct stat stb; local
427 if (stat(gpath, &stb) >= 0) {
556 struct stat stb; local
627 if (stat(gpath, &stb) == 0 && isdir(stb))
/freebsd-9.3-release/libexec/comsat/
H A Dcomsat.c164 struct stat stb; local
179 if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) {
199 switch (stb.st_mode & (S_IXUSR | S_IXGRP)) {

Completed in 309 milliseconds

123