Home
last modified time | relevance | path

Searched refs:lastcomp (Results 1 – 3 of 3) sorted by relevance

/third_party/ntfs-3g/libfuse-lite/
Dmount_util.c156 char *lastcomp; in fuse_mnt_resolve_path() local
171 lastcomp = NULL; in fuse_mnt_resolve_path()
178 lastcomp = copy; in fuse_mnt_resolve_path()
181 lastcomp = tmp + 1; in fuse_mnt_resolve_path()
185 if (strcmp(lastcomp, ".") == 0 || strcmp(lastcomp, "..") == 0) { in fuse_mnt_resolve_path()
186 lastcomp = NULL; in fuse_mnt_resolve_path()
198 if (lastcomp == NULL) in fuse_mnt_resolve_path()
201 dst = (char *) malloc(strlen(buf) + 1 + strlen(lastcomp) + 1); in fuse_mnt_resolve_path()
205 sprintf(dst, "%s%s", buf, lastcomp); in fuse_mnt_resolve_path()
207 sprintf(dst, "%s/%s", buf, lastcomp); in fuse_mnt_resolve_path()
[all …]
/third_party/libfuse/lib/
Dmount_util.c283 char *lastcomp; in fuse_mnt_resolve_path() local
299 lastcomp = NULL; in fuse_mnt_resolve_path()
306 lastcomp = copy; in fuse_mnt_resolve_path()
309 lastcomp = tmp + 1; in fuse_mnt_resolve_path()
313 if (strcmp(lastcomp, ".") == 0 || strcmp(lastcomp, "..") == 0) { in fuse_mnt_resolve_path()
314 lastcomp = NULL; in fuse_mnt_resolve_path()
326 if (lastcomp == NULL) in fuse_mnt_resolve_path()
329 dst = (char *) malloc(strlen(buf) + 1 + strlen(lastcomp) + 1); in fuse_mnt_resolve_path()
333 sprintf(dst, "%s%s", buf, lastcomp); in fuse_mnt_resolve_path()
335 sprintf(dst, "%s/%s", buf, lastcomp); in fuse_mnt_resolve_path()
/third_party/pcre2/pcre2/src/
Dpcre2grep.c3177 char *lastcomp; in grep_or_recurse() local
3211 lastcomp = strrchr(pathname, FILESEP); in grep_or_recurse()
3212 lastcomp = (lastcomp == NULL)? pathname : lastcomp + 1; in grep_or_recurse()
3260 !test_incexc(lastcomp, include_dir_patterns, exclude_dir_patterns)) in grep_or_recurse()
3370 !test_incexc(lastcomp, include_patterns, exclude_patterns)) in grep_or_recurse()