Searched refs:pathend (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 774 pathend->w_at = 0; in glob2() 780 pathend->w_at = 0; in glob2() 782 pathend->w_at = 0; in glob2() 808 q = pathend; in glob2() 819 pathend = q; in glob2() 857 pathend->w_at = 0; in glob3() 858 pathend->w_wc = EOS; in glob3() 890 pathend->w_at = 0; in glob3() 892 pathend->w_at = 0; in glob3() 901 dc = pathend; in glob3() [all …]
|
/illumos-gate/usr/src/cmd/rm/ |
H A D | rm.c | 63 int pathend; /* Offset of name end in the pathbuffer */ member 188 p = pathbuf + cur->up->pathend; in pushfilename() 204 cur->pathend = p - pathbuf; in pushfilename() 276 pathbuf[cur->up->pathend] = '\0'; in popdir() 487 entry = &pathbuf[caller->up->pathend + 1]; in rm()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 699 char *pathend = NULL; in pci_cfg_ap_path() local 774 pathend = pathptr; in pci_cfg_ap_path() 810 if (chasflag && pathend != NULL) { in pci_cfg_ap_path() 811 if ((strncmp(pathend + iob_pre_len, AP_PATH_IOB_SEP, in pci_cfg_ap_path() 813 (strlen(pathend) < ap_pathsz)) { in pci_cfg_ap_path() 814 (void) strlcpy(ap_path, pathend, ap_pathsz); in pci_cfg_ap_path()
|
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 366 char *path, *pathp, *pathend; in parse_path() local 382 pathend = &path[pathlen - 1]; in parse_path() 412 if (pathp < pathend) { in parse_path()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 104 char *pathend; in renameit() local 115 if ((pathend = strrchr(from, '/')) != NULL) { in renameit() 116 strncpy(tobuf, from, pathend - from + 1); in renameit() 117 tobuf[pathend - from + 1] = '\0'; in renameit()
|
/illumos-gate/usr/src/uts/intel/io/vmm/intel/ |
H A D | vtd.c | 195 char *end, *pathend; in vtd_device_scope() local 235 pathend = (char *)device_scope + device_scope->Length; in vtd_device_scope() 240 (pathend - pathrem); in vtd_device_scope()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | backend.c | 655 char *pathend; in backend_backup_get_prev() local 669 pathend = pathname + pathlen; in backend_backup_get_prev() 670 b_end = *pathend; in backend_backup_get_prev() 671 *pathend = '\0'; in backend_backup_get_prev() 676 assert(pathend > pathname && basename < pathend); in backend_backup_get_prev() 777 *pathend = b_end; in backend_backup_get_prev()
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 4351 expand_libmacro(char *tail, char *path, char *pathend) in expand_libmacro() argument 4392 (void) strcpy(pathend, tail); in expand_libmacro() 4405 bcopy(tail, pathend, diff); in expand_libmacro() 4406 pathend += diff; in expand_libmacro() 4407 *(pathend) = '\0'; in expand_libmacro() 4408 return (expand_libmacro(p2, path, pathend)); in expand_libmacro() 4427 bcopy(tail, pathend, diff); in expand_libmacro() 4428 path2 = pathend + diff; in expand_libmacro()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 9296 char *pathend; in writeconf() local 9304 pathend = strrchr(dstpath, '/'); in writeconf() 9308 if (pathend == NULL) { in writeconf() 9318 } else if (pathend == dstpath) { in writeconf() 9329 *pathend = '\0'; in writeconf() 9338 *pathend = '/'; in writeconf()
|