Searched defs:rest (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dset_pitch.c69 char *rest, local
107 xpi = strtod(str, &rest);
150 switch (*rest) {
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_size.c84 char *rest, local
136 size = strtod(str, &rest);
140 switch (*rest) {
/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 Dmacro.c516 unsigned char *rest; local
519 rest = readw(d);
523 while(d = *rest++) {
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/cmd/lp/lib/forms/
H A Drdform.c61 char * rest; local
194 (i = strtol(p, &rest, 10)) <= 0
195 || *rest
/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_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_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;
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_xfs.c544 char *rest, *name, ch; local
591 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++);
592 *rest = 0;
608 *(dirname = rest) = ch;
617 *rest = ch;
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_local.c67 char *rest; local
75 rest = strstr(name, "/dsk/");
76 if (rest == NULL) {
77 if ((rest = strstr(name, "/rdsk/")) == NULL)
84 char_name[strlen(name) - strlen(rest)] = 0;
86 strcat(char_name, rest + 5);
542 * enough for the new string, or bcopying the rest of the list
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc53 entryp ep, db_index_entry_p rest)
60 next = rest;
52 db_index_entry(unsigned long hval, item* k, entryp ep, db_index_entry_p rest) argument
/illumos-gate/usr/src/cmd/zlook/
H A Dzlook.c186 uint_t rest = bits >> 1; local
189 if (rest)
193 bits = rest;
/illumos-gate/usr/src/cmd/bnu/
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);
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...]
/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/libsldap/common/
H A Dns_confmgr.c288 char *attr, *attrName, *attrVal, *rest; local
301 attr = strtok_r(config, DOORLINESEP, &rest);
351 } while (attr = strtok_r(NULL, DOORLINESEP, &rest));
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c152 char * rest; local
196 (void)strtol (optarg, &rest, 10);
197 if (!rest || (!*rest && rest != optarg))
262 alert.Q = strtol(optarg, &rest, 10);
267 if (rest && *rest) {
285 alert.W = strtol(optarg, &rest, 10);
290 if (rest
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_srvr.c681 char *name, *rest, tmp[MAX_NTOP]; local
691 rest = name + strcspn(name, space);
692 if (*rest != '\0') {
693 *rest++ = '\0';
694 rest += strspn(rest, space);
703 (*verb->func)(ctx, sess, verb, rest, 0, NULL, ctx->uctx);
708 strlen(name) + strlen(rest) > sizeof buf)
713 name, rest);
/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...]

Completed in 136 milliseconds

12