Searched refs:sfp (Results 1 - 9 of 9) sorted by relevance

/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dclock.c38 clock_t_to_secs (t, sp, sfp)
41 int *sfp;
48 *sfp = t % clk_tck;
49 *sfp = (*sfp * 1000) / clk_tck;
54 if (*sfp >= 1000)
57 *sfp -= 1000;
H A Dtimeval.c104 timeval_to_secs (tvp, sp, sfp)
107 int *sfp;
113 *sfp = tvp->tv_usec % 1000000; /* pretty much a no-op */
114 rest = *sfp % 1000;
115 *sfp = (*sfp * 1000) / 1000000;
117 *sfp += 1;
120 if (*sfp >= 1000)
123 *sfp -= 1000;
/macosx-10.10.1/text_cmds-88/ed/
H A Dbuf.c38 FILE *sfp; /* scratch file pointer */ variable
59 if (fseeko(sfp, sfseek, SEEK_SET) < 0) {
67 if ((ct = fread(sfbuf, sizeof(char), len, sfp)) < 0 || ct != len) {
102 if (fseeko(sfp, (off_t)0, SEEK_END) < 0) {
107 sfseek = ftello(sfp);
111 if ((ct = fwrite(cs, sizeof(char), len, sfp)) < 0 || ct != len) {
201 (sfp = fdopen(fd, "w+")) == NULL) {
218 if (sfp) {
219 if (fclose(sfp) < 0) {
224 sfp
[all...]
/macosx-10.10.1/diskdev_cmds-576/mount.tproj/
H A Dmount.c472 prmount(sfp)
473 struct statfs *sfp;
479 (void)printf("%s on %s (%s", sfp->f_mntfromname, sfp->f_mntonname,
480 sfp->f_fstypename);
482 flags = sfp->f_flags & MNT_VISFLAGMASK;
488 if (sfp->f_owner) {
490 if ((pw = getpwuid(sfp->f_owner)) != NULL)
493 (void)printf("%d", sfp->f_owner);
/macosx-10.10.1/lsof-53/lsof/
H A Darg.c140 struct sfile *sfp; local
252 if (!(sfp = (struct sfile *)malloc(sizeof(struct sfile)))) {
256 sfp->next = Sfile;
257 Sfile = sfp;
258 sfp->f = 0;
259 if ((sfp->type = ftype)) {
279 Sfile = sfp->next;
280 (void) free((FREE_P *)sfp);
290 sfp->i = (INODETYPE)sb.st_ino;
291 sfp
[all...]
H A Dmain.c81 struct sfile *sfp; local
1383 for (sfp = Sfile; sfp; sfp = sfp->next) {
1388 if (sfp->f)
1393 sfp->type ? "" : " system");
1394 safestrprt(sfp->aname, stdout, 1);
/macosx-10.10.1/ruby-106/ruby/test/rubygems/
H A Dtest_gem_spec_fetcher.rb172 sfp = errors.first
174 assert_kind_of Gem::SourceFetchProblem, sfp
175 assert_equal src, sfp.source
176 assert_equal "bad news from the internet (#{@gem_repo})", sfp.error.message
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-ntp.c205 p_sfix(register const struct s_fixedpt *sfp) argument
211 i = EXTRACT_16BITS(&sfp->int_part);
212 f = EXTRACT_16BITS(&sfp->fraction);
H A Dprint-nfs.c1470 struct nfsv3_fsinfo *sfp; local
1482 sfp = (struct nfsv3_fsinfo *)dp;
1483 TCHECK(*sfp);
1485 EXTRACT_32BITS(&sfp->fs_rtmax),
1486 EXTRACT_32BITS(&sfp->fs_rtpref),
1487 EXTRACT_32BITS(&sfp->fs_wtmax),
1488 EXTRACT_32BITS(&sfp->fs_wtpref),
1489 EXTRACT_32BITS(&sfp->fs_dtpref));
1492 EXTRACT_32BITS(&sfp->fs_rtmult),
1493 EXTRACT_32BITS(&sfp
[all...]

Completed in 274 milliseconds