Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 110) sorted by relevance

12345

/titanic_50/usr/src/cmd/bnu/
H A Duux.c96 char syspart[MAXFULLNAME], rest[BUFSIZ]; local
338 (void) split(prm, xsys, CNULL, rest);
548 ret = split(prm, syspart, CNULL, rest);
550 DEBUG(4, "rest -> %s, ", rest);
557 APPCMD(rest);
589 if (rest[0] != '~')
590 if (ckexpf(rest))
592 ASSERT(fprintf(fprx, "%c %s %s\n", redir, rest,
607 APPCMD(rest);
618 if (ckexpf(rest))
[all …]
H A Dgrades.c338 char rest[SMBUF]; local
344 lcase(climit, rest, SMBUF);
346 if (!(p = strchr(rest, 'k')) && (!(p = strchr(rest, 'm')))) {
368 *nlimit = (long) (atof(rest) * ONE_K);
372 *nlimit = (long) (atof(rest) * ONE_MEG);
/titanic_50/usr/src/cmd/lp/lib/lp/
H A Dsdn.c144 char * rest; in _getsdn() local
171 sdn.val = strtod(str, &rest); in _getsdn()
178 while (*rest && *rest == ' ') in _getsdn()
179 rest++; in _getsdn()
181 switch (*rest) { in _getsdn()
185 *p_after = rest; in _getsdn()
189 sdn.sc = *rest++; in _getsdn()
191 *p_after = rest; in _getsdn()
H A Dset_pitch.c69 char *rest, local
107 xpi = strtod(str, &rest);
150 switch (*rest) {
H A Dset_charset.c75 char *rest, local
96 && 0 <= (cs = strtol(char_set + 2, &rest, 10)) && cs <= 63
97 && !*rest
/titanic_50/usr/src/tools/scripts/
H A Dcstyle.pl790 my ($pre_tabs, $label, $rest) = ($1, $2, $3);
795 $_ .= ("\t" x (length($label) / 8)).$rest;
878 my $rest = $_; # keeps the remainder of the line
894 $rest =~ s/^$rxp//;
919 if ($rest =~ /^\s*\{?$/) {
923 if ($rest =~ /^\s*;$/) {
942 if ($rest =~ /^$/) {
960 if ($rest =~ /^$/) {
964 if ($rest =~ /^\s*special/) {
972 err("stuff after {") if ($rest =~ /[^\s}]/);
[all …]
/titanic_50/usr/src/cmd/sh/
H A Dword.c338 int rest; in readwc() local
339 if ((rest = f->fend - f->fnxt) < i) { in readwc()
347 (f->fsiz == 1) ? 1 : (f->fsiz - rest), in readwc()
348 rest); in readwc()
394 readb(struct fileblk *f, int toread, int rest) in readb() argument
399 if (rest) { in readb()
404 (void) memcpy(f->fbuf, f->fnxt, rest); in readb()
406 f->fend = f->fnxt + rest; in readb()
408 f->endoff = rest; in readb()
409 if (f->fbuf[rest - 1] == '\n') { in readb()
[all …]
H A Dname.c308 unsigned char *pc, *rest; in readvar() local
342 rest = readw(d); in readvar()
344 while(*pc++ = *rest++); in readvar()
372 rest = readw(d); in readvar()
374 while(*pc++ = *rest++); in readvar()
383 rest = readw(d); in readvar()
384 while(d = *rest++) { in readvar()
408 rest = readw(d); in readvar()
410 while(*pc++ = *rest++); in readvar()
/titanic_50/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c185 char *rest, ch; in ffs_dir() local
228 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in ffs_dir()
230 *rest = 0; in ffs_dir()
247 *rest = ch; in ffs_dir()
261 *rest = ch; in ffs_dir()
286 *(dirname = rest) = ch; in ffs_dir()
H A Dfsys_ufs2.c209 char *rest, ch; in ufs2_dir() local
253 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in ufs2_dir()
255 *rest = 0; in ufs2_dir()
268 *rest = ch; in ufs2_dir()
282 *rest = ch; in ufs2_dir()
307 *(dirname = rest) = ch; in ufs2_dir()
H A Dfsys_minix.c311 char * rest; in minix_dir() local
442 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; in minix_dir()
443 rest++); in minix_dir()
447 *rest = 0; in minix_dir()
453 printf ("dirname=`%s', rest=`%s', loc=%d\n", dirname, rest, loc); in minix_dir()
469 *rest = ch; in minix_dir()
488 *rest = ch; in minix_dir()
529 *(dirname = rest) = ch; in minix_dir()
H A Dfsys_fat.c295 char *rest, ch, dir_buf[FAT_DIRENTRY_LENGTH]; in fat_dir() local
344 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in fat_dir()
346 *rest = 0; in fat_dir()
371 *rest = ch; in fat_dir()
477 *(dirname = rest) = ch; in fat_dir()
H A Dfsys_ext2fs.c561 char *rest; in ext2fs_dir() local
745 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; in ext2fs_dir()
746 rest++); in ext2fs_dir()
750 *rest = 0; in ext2fs_dir()
757 printf ("dirname=%s, rest=%s, loc=%d\n", dirname, rest, loc); in ext2fs_dir()
773 *rest = ch; in ext2fs_dir()
792 *rest = ch; in ext2fs_dir()
832 *(dirname = rest) = ch; in ext2fs_dir()
H A Dfsys_jfs.c275 char *ptr, *rest, ch; in jfs_dir() local
332 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in jfs_dir()
333 *rest = 0; in jfs_dir()
370 *(dirname = rest) = ch; in jfs_dir()
379 *rest = ch; in jfs_dir()
H A Dfsys_xfs.c544 char *rest, *name, ch; in xfs_dir() local
591 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in xfs_dir()
592 *rest = 0; in xfs_dir()
608 *(dirname = rest) = ch; in xfs_dir()
617 *rest = ch; in xfs_dir()
/titanic_50/usr/src/cmd/lp/cmd/lpadmin/
H A Doptions.c154 *rest, local
230 (void)strtol(optarg, &rest, 10);
231 if (!rest || !*rest)
436 Q = strtol(optarg, &rest, 10);
441 if (rest && *rest) {
499 t = strtol(optarg, &rest, 10);
504 if (rest && *rest) {
546 W = strtol(optarg, &rest, 10);
551 if (rest && *rest) {
/titanic_50/usr/src/lib/libc/port/locale/
H A Dengine.c381 const char *rest; /* start of rest of string */ in dissect() local
433 rest = slow(m, sp, stp, ss, es); in dissect()
434 assert(rest != NULL); /* it did match */ in dissect()
436 tail = slow(m, rest, stop, es, stopst); in dissect()
440 stp = rest - 1; in dissect()
446 if (slow(m, sp, rest, ssub, esub) != NULL) { in dissect()
447 dp = dissect(m, sp, rest, ssub, esub); in dissect()
448 assert(dp == rest); in dissect()
453 assert(sp == rest); in dissect()
454 sp = rest; in dissect()
[all …]
/titanic_50/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm1213 my ($abi, $e_machine, $type, $wordsize, $endian, $rest);
1257 $rest = $';
1258 if ($rest =~ /^(\d+)-bit\s+/) {
1260 $rest = $';
1262 if ($rest =~ /^(LSB|MSB)\s+/) {
1264 $rest = $';
1266 if ($rest =~ /SPARC/) {
1267 if ($rest =~ /\bSPARC\b/) {
1270 } elsif ($rest =~ /\bSPARC32PLUS\b/) {
1273 } elsif ($rest =~ /\bSPARCV9\b/) {
[all …]
/titanic_50/usr/src/cmd/mailx/
H A Doptim.c53 static char *tackon(char *sys, char *rest);
151 tackon(char *sys, char *rest) in tackon() argument
153 while (*rest == '!') in tackon()
154 rest++; in tackon()
155 if (!ishost(sys, rest)) { in tackon()
156 char *r = (char *)salloc(strlen(sys) + strlen(rest) + 2); in tackon()
157 sprintf(r, "%s!%s", sys, rest); in tackon()
158 rest = r; in tackon()
160 return rest; in tackon()
167 ishost(char *sys, char *rest) in ishost() argument
[all …]
/titanic_50/usr/src/lib/libbc/libc/crt/sparc/
H A Dmisalign.s101 lduh [%i0+2],%o1 ! rest of short aligned case
149 lduh [%i0+2],%o1 ! rest of short aligned case
160 ld [%i0+4],%f1 ! rest of long aligned case
190 sth %o4,[%o1] ! rest of short aligned case
224 sth %o0,[%i1] ! rest of short aligned case
271 2: ! rest of short aligned case
281 1: ! rest of long aligned case
312 1: ! rest of short aligned case
353 2: ! rest of short aligned case
360 1: ! rest of long aligned case
/titanic_50/usr/src/lib/brand/solaris10/cmd/
H A Ds10_net_physical.sh121 read one rest < /etc/hostname.$1
150 read one rest < /etc/hostname6.$1
435 /sbin/ifconfig -a4uD | while read intf addr rest; do
443 /sbin/ifconfig -au6 | while read intf addr rest; do
/titanic_50/usr/src/cmd/lp/cmd/
H A Dlpforms.c152 char * rest; in main() local
196 (void)strtol (optarg, &rest, 10); in main()
197 if (!rest || (!*rest && rest != optarg)) in main()
262 alert.Q = strtol(optarg, &rest, 10); in main()
267 if (rest && *rest) { in main()
285 alert.W = strtol(optarg, &rest, 10); in main()
290 if (rest && *rest) { in main()
/titanic_50/usr/src/cmd/svc/milestone/
H A Dnet-physical184 read one rest < /etc/hostname.$intf_name
218 read one rest < /etc/hostname6.$intf_name
527 /sbin/ifconfig -a4u | while read intf addr rest; do
538 /sbin/ifconfig -au6 | while read intf addr rest; do
/titanic_50/usr/src/lib/libdscfg/common/
H A Dcfg_local.c67 char *rest; in get_bsize() local
75 rest = strstr(name, "/dsk/"); in get_bsize()
76 if (rest == NULL) { in get_bsize()
77 if ((rest = strstr(name, "/rdsk/")) == NULL) in get_bsize()
84 char_name[strlen(name) - strlen(rest)] = 0; in get_bsize()
86 strcat(char_name, rest + 5); in get_bsize()
/titanic_50/usr/src/cmd/svc/shell/
H A Dnet_include.sh376 while read one rest; do
392 ifcmds="$one $rest"
444 while read one rest; do
449 ifcmds="$one $rest"

12345