Searched refs:sb (Results 1 - 12 of 12) sorted by relevance

/ast/src/cmd/tests/vmalloc/
H A Dtrandom.c59 Vmstat_t sb; local
86 { if(vmstat(Vmregion, &sb) < 0)
89 sb.n_busy,sb.s_busy, sb.n_free,sb.s_free,
90 sb.extent, sb.n_seg);
93 if(vmstat(Vmregion, &sb) < 0)
96 sb
[all...]
/ast/src/cmd/coshell/
H A Dmisc.c140 * compare the string value vp with the string (sb,se-1)
144 misccmp(char* vp, int op, char* sb, char* se) argument
155 r = (strmatch(vp, sb) || strchr(vp, '|') && strmatch(sb, vp)) == (op == EQ);
158 r = strcoll(vp, sb) < 0;
161 r = strcoll(vp, sb) <= 0;
164 r = strcoll(vp, sb) >= 0;
167 r = strcoll(vp, sb) > 0;
197 char* sb; local
210 sb
[all...]
/ast/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...]
/ast/src/lib/libcs/
H A Dcsaddr.c201 char* sb; local
211 sb = s;
216 if (s - sb >= CS_MNT_MAX)
229 sb = s;
/ast/src/lib/libz/
H A Dminigzip.c140 struct stat sb; local
143 if (fstat(ifd, &sb) < 0) return Z_ERRNO;
144 buf_len = sb.st_size;
/ast/src/lib/libast/vmalloc/
H A Dmalloc.c950 Vmstat_t sb; local
955 if(vmstat(Vmregion,&sb) >= 0)
956 { mi.arena = sb.extent;
957 mi.ordblks = sb.n_busy+sb.n_free;
958 mi.uordblks = sb.s_busy;
959 mi.fordblks = sb.s_free;
972 Vmstat_t sb; local
977 if(vmstat(Vmregion,&sb) >= 0)
978 { ms.bytes_total = sb
[all...]
/ast/src/lib/libbz/
H A Dblocksort.c389 Int32 i, j, k, ss, sb; local
515 sb = (ss << 8) + j;
516 if ( ! (ftab[sb] & SETMASK) ) {
517 Int32 lo = ftab[sb] & CLEARMASK;
518 Int32 hi = (ftab[sb+1] & CLEARMASK) - 1;
528 ftab[sb] |= SETMASK;
/ast/src/lib/libtk/library/
H A Dconsole.tcl31 text .console -yscrollcommand ".sb set" -setgrid true
32 scrollbar .sb -command ".console yview"
33 pack .sb -side right -fill both
37 .sb configure -bg white
/ast/src/lib/libast/misc/
H A Dfts.c468 struct stat sb; local
496 return (verify && (stat(".", &sb) < 0 || !SAME(&sb, f->fts_statp))) ? -1 : 0;
550 struct stat sb; local
558 else if (stat(path, &sb) >= 0)
560 *sp = sb;
835 struct stat sb; local
1140 || stat(".", &sb) < 0
1141 || !SAME(&sb, fts->dotdot->fts_statp)
/ast/src/lib/libdll/
H A Ddllscan.c41 char** sb; \
345 scan->sp = scan->sb = (scan->lib ? scan->lib : info->sibling);
404 scan->sp = scan->sb;
/ast/src/cmd/3d/
H A Dlib.c489 struct stat sb; local
492 if (!force && (f->flags & FILE_ERROR) || !st && FSTAT(fd, st = &sb) || (ffd = FCNTL(fd, F_GETFD, NiL)) == -1 || (ffl = FCNTL(fd, F_GETFL, NiL)) == -1)
/ast/src/cmd/ksh93/sh/
H A Dio.c1352 struct stat sb; local
1353 if(stat(fname,&sb)>=0)
1356 if(S_ISREG(sb.st_mode)&&
1357 (!shp->gd->lim.fs3d || iview(&sb)==0))
1359 if(S_ISREG(sb.st_mode))

Completed in 26 milliseconds