Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/cmd/bnu/
H A Duux.c557 APPCMD(rest);
589 if (rest[0] != '~')
590 if (ckexpf(rest))
607 APPCMD(rest);
618 if (ckexpf(rest))
627 APPCMD(rest);
640 if (ckexpf(rest))
709 if (ckexpf(rest))
759 if (ckexpf(rest))
871 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);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dsdn.c142 char * rest; in _getsdn() local
169 sdn.val = strtod(str, &rest); in _getsdn()
176 while (*rest && *rest == ' ') in _getsdn()
177 rest++; in _getsdn()
179 switch (*rest) { in _getsdn()
183 *p_after = rest; in _getsdn()
187 sdn.sc = *rest++; in _getsdn()
189 *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.c73 char *rest, local
94 && 0 <= (cs = strtol(char_set + 2, &rest, 10)) && cs <= 63
95 && !*rest
H A Dset_size.c84 char *rest, local
136 size = strtod(str, &rest);
140 switch (*rest) {
/illumos-gate/usr/src/tools/scripts/
H A Dcstyle.pl810 my ($pre_tabs, $label, $rest) = ($1, $2, $3);
815 $_ .= ("\t" x (length($label) / 8)).$rest;
914 $rest =~ s/^$rxp//;
939 if ($rest =~ /^\s*\{?$/) {
943 if ($rest =~ /^\s*;$/) {
962 if ($rest =~ /^$/) {
980 if ($rest =~ /^$/) {
984 if ($rest =~ /^\s*special/) {
992 err("stuff after {") if ($rest =~ /[^\s}]/);
998 if ($rest =~ /^$/) {
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dword.c337 int rest; in readwc() local
338 if ((rest = f->fend - f->fnxt) < i) { in readwc()
347 rest); in readwc()
398 if (rest) { in readb()
405 f->fend = f->fnxt + rest; in readb()
407 f->endoff = rest; in readb()
408 if (f->fbuf[rest - 1] == '\n') { in readb()
413 return (rest); in readb()
451 f->fend = f->fnxt + (len + rest); in readb()
453 f->endoff = len + rest; 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()
/illumos-gate/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()
/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) {
546 W = strtol(optarg, &rest, 10);
551 if (rest && *rest) {
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dengine.c476 stp = rest - 1; in dissect()
484 assert(dp == rest); in dissect()
486 assert(sp == rest); in dissect()
487 sp = rest; in dissect()
500 stp = rest - 1; in dissect()
523 sp = rest; in dissect()
536 stp = rest - 1; in dissect()
543 if (walk(m, sp, rest, ssub, esub, in dissect()
544 false) == rest) in dissect()
558 assert(dp == rest); in dissect()
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm1257 $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/) {
1278 if ($rest =~ /\bAMD64\b/ ||
1901 my ($lib, $sym, $rest);
1909 ($lib, $sym, $rest) =
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c148 tackon(char *sys, char *rest) in tackon() argument
150 while (*rest == '!') in tackon()
151 rest++; in tackon()
152 if (!ishost(sys, rest)) { in tackon()
154 sprintf(r, "%s!%s", sys, rest); in tackon()
155 rest = r; in tackon()
157 return rest; in tackon()
164 ishost(char *sys, char *rest) in ishost() argument
166 while (*sys && *sys == *rest) in ishost()
167 sys++, rest++; in ishost()
[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/test/smbclient-tests/include/
H A Dsmbmount_common.ksh86 typeset res on mp tp mtype opts rest
88 while read res on mp tp mtype opts rest
/illumos-gate/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()
/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/svc/milestone/
H A Dnet-physical233 read one rest < /etc/hostname.$intf_name
267 read one rest < /etc/hostname6.$intf_name
576 /sbin/ifconfig -a4u | while read intf addr rest; do
587 /sbin/ifconfig -au6 | while read intf addr rest; do

12345