Searched refs:rest (Results 1 - 25 of 69) sorted by relevance

123

/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dsdn.c144 char * rest; local
171 sdn.val = strtod(str, &rest);
178 while (*rest && *rest == ' ')
179 rest++;
181 switch (*rest) {
185 *p_after = rest;
189 sdn.sc = *rest++;
191 *p_after = rest;
H A Dset_charset.c75 char *rest, local
96 && 0 <= (cs = strtol(char_set + 2, &rest, 10)) && cs <= 63
97 && !*rest
H A Dset_pitch.c69 char *rest, local
107 xpi = strtod(str, &rest);
150 switch (*rest) {
H A Dset_size.c84 char *rest, local
136 size = strtod(str, &rest);
140 switch (*rest) {
/illumos-gate/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);
[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);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c185 char *rest, ch; local
228 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++);
230 *rest = 0;
247 *rest = ch;
261 *rest = ch;
286 *(dirname = rest) = ch;
H A Dfsys_ufs2.c209 char *rest, ch; local
253 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++);
255 *rest = 0;
268 *rest = ch;
282 *rest = ch;
307 *(dirname = rest) = ch;
H A Dfsys_minix.c311 char * rest; local
442 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/';
443 rest++);
446 /* invariant: rest points to slash after the next filename component */
447 *rest = 0;
453 printf ("dirname=`%s', rest=`%s', loc=%d\n", dirname, rest, loc);
469 *rest = ch;
488 *rest
[all...]
H A Dfsys_fat.c295 char *rest, ch, dir_buf[FAT_DIRENTRY_LENGTH]; local
344 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++);
346 *rest = 0;
371 *rest = ch;
477 *(dirname = rest) = ch;
H A Dfsys_ext2fs.c561 char *rest; local
745 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/';
746 rest++);
749 /* invariant: rest points to slash after the next filename component */
750 *rest = 0;
757 printf ("dirname=%s, rest=%s, loc=%d\n", dirname, rest, loc);
773 *rest = ch;
792 *rest
[all...]
H A Dfsys_jfs.c275 char *ptr, *rest, ch; local
332 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++);
333 *rest = 0;
370 *(dirname = rest) = ch;
379 *rest = ch;
/illumos-gate/usr/src/cmd/sh/
H A Dword.c89 /* Pick up rest of multibyte character */
338 int rest; local
339 if ((rest = f->fend - f->fnxt) < i) {
347 (f->fsiz == 1) ? 1 : (f->fsiz - rest),
348 rest);
394 readb(struct fileblk *f, int toread, int rest) argument
399 if (rest) {
401 * copies the remaining 'rest' bytes from f->fnxt
404 (void) memcpy(f->fbuf, f->fnxt, rest);
406 f->fend = f->fnxt + rest;
[all...]
H A Dname.c308 unsigned char *pc, *rest; local
342 rest = readw(d);
344 while(*pc++ = *rest++);
372 rest = readw(d);
374 while(*pc++ = *rest++);
383 rest = readw(d);
384 while(d = *rest++) {
408 rest = readw(d);
410 while(*pc++ = *rest++);
/illumos-gate/usr/src/tools/scripts/
H A Dcstyle.pl750 # The rest of this file contains the code for the continuation checking
790 my ($pre_tabs, $label, $rest) = ($1, $2, $3);
795 $_ .= ("\t" x (length($label) / 8)).$rest;
878 my $rest = $_; # keeps the remainder of the line
892 # rest contains the remainder of the line
894 $rest =~ s/^$rxp//;
919 if ($rest =~ /^\s*{?$/) {
923 if ($rest =~ /^\s*;$/) {
942 if ($rest =~ /^$/) {
960 if ($rest
[all...]
/illumos-gate/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) {
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dengine.c381 const char *rest; /* start of rest of string */ local
382 const char *tail; /* string unmatched by rest of RE */
433 rest = slow(m, sp, stp, ss, es);
434 assert(rest != NULL); /* it did match */
435 /* could the rest match the rest? */
436 tail = slow(m, rest, stop, es, stopst);
440 stp = rest - 1;
446 if (slow(m, sp, rest, ssu
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c53 static char *tackon(char *sys, char *rest);
151 tackon(char *sys, char *rest) argument
153 while (*rest == '!')
154 rest++;
155 if (!ishost(sys, rest)) {
156 char *r = (char *)salloc(strlen(sys) + strlen(rest) + 2);
157 sprintf(r, "%s!%s", sys, rest);
158 rest = r;
160 return rest;
167 ishost(char *sys, char *rest) argument
[all...]
/illumos-gate/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 o
[all...]
/illumos-gate/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
/illumos-gate/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
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/etc/init.d/
H A Dpppd81 while read intf rest; do
/illumos-gate/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
/illumos-gate/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"
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Drdform.c61 char * rest; local
194 (i = strtol(p, &rest, 10)) <= 0
195 || *rest

Completed in 138 milliseconds

123