Lines Matching defs:slash
700 const char *file, *slash;
703 slash = strrchr(path, '/');
706 if ((slash != NULL && backslash != NULL && backslash > slash) ||
707 (slash == NULL && backslash != NULL))
708 slash = backslash;
710 if (slash == path) {
711 file = ++slash;
713 } else if (slash != NULL) {
714 file = ++slash;
715 dir = isc_mem_allocate(mctx, slash - path);
717 strlcpy(dir, path, slash - path);