Lines Matching refs:s1
226 char *s,*s1; in vmsify() local
241 char *s1; in vmsify() local
246 s1 = strchr (s+1, '['); in vmsify()
254 if ((type == 1) && (s1 != 0) && (s2 == 0)) in vmsify()
266 if ((type == 1) && (s1 != 0) && (s2 == 0)) in vmsify()
283 s1 = strchr (s+1, '['); in vmsify()
284 if (s1 == 0) in vmsify()
296 s1--; in vmsify()
297 if (*s1 != ']') in vmsify()
311 strncpy (vptr, s, s1-s); /* copy up to but not including ']' */ in vmsify()
312 vptr += s1-s; in vmsify()
313 if (*s1 == 0) in vmsify()
315 s = s1 + 1; /* s -> char behind ']' */ in vmsify()
321 s1 = strchr (s, ']'); in vmsify()
322 if (s1 == 0) /* no closing ] */ in vmsify()
323 s1 = s + strlen (s); in vmsify()
412 s1 = getcwd(cwdbuf, MAXPATHLEN); in vmsify()
413 if (s1 == 0) in vmsify()
417 s = strchr (s1, ':'); in vmsify()
422 strncpy (vptr, s1, s-s1+1); in vmsify()
423 vptr += s-s1+1; in vmsify()
447 s1 = trnlog (s); in vmsify()
448 if (*s1 != 0) in vmsify()
453 s2 = s1 + strlen (s1) - 1; in vmsify()
456 s2 = trnlog (s1); in vmsify()
457 free (s1); in vmsify()
463 s1 = s2; in vmsify()
475 strcpy (vmsname, s1); in vmsify()
484 free (s1); in vmsify()
501 s1 = vptr-1; in vmsify()
505 s1 = 0; in vmsify()
534 && (s1 != 0) in vmsify()
539 *s1 = ']'; in vmsify()
702 s1 = vptr; in vmsify()
705 s1--; in vmsify()
706 if (*s1 == '.') /* one back */ in vmsify()
708 vptr = s1; in vmsify()
712 if (*s1 == '[') /* top level reached */ in vmsify()
716 strcpy (s1, "[000000]"); in vmsify()
717 vptr = s1 + 8; in vmsify()
724 vptr = s1+1; in vmsify()
796 s1 = getcwd(cwdbuf, MAXPATHLEN); in vmsify()
797 if (s1 == 0) in vmsify()
801 strcpy (vptr, s1); in vmsify()
853 s1 = getcwd(cwdbuf, MAXPATHLEN); in vmsify()
854 if (s1 == 0) in vmsify()
858 strcpy (vptr, s1); in vmsify()