Lines Matching refs:c_str
66 return fnmatch(name_.c_str(), Basename(path).data(), 0) == 0; in IsTrue()
262 path->c_str(), srdt.conflicted().c_str()); in RunFind()
368 FIND_WARN_LOC(loc, "FindEmulator: find: `%s': %s", path->c_str(), in RunFind()
375 LOG("FindEmulator does not support %s", path->c_str()); in RunFind()
616 long d = strtol(depth_str.c_str(), &endptr, 10); in ParseFind()
684 long d = strtol(mindepth_str.c_str(), &endptr, 10); in ParseFindLeaves()
797 cmd.c_str()); in HandleFind()
815 cmd.c_str()); in HandleFind()
821 cmd.c_str()); in HandleFind()
831 cmd.c_str()); in HandleFind()
850 LOG("FindEmulator: Cannot handle find dir (%s): %s", finddir.c_str(), in HandleFind()
851 cmd.c_str()); in HandleFind()
864 ConcatDir(fc.chdir, finddir).c_str()); in HandleFind()
872 LOG("FindEmulator: RunFind failed: %s", cmd.c_str()); in HandleFind()
922 if (lstat(path.c_str(), &st)) { in GetDtType()
923 PERROR("stat for %s", path.c_str()); in GetDtType()
929 DIR* dir = opendir(path.empty() ? "." : path.c_str()); in ConstructDirectoryTree()
932 LOG("opendir failed: %s", path.c_str()); in ConstructDirectoryTree()
935 PERROR("opendir failed: %s", path.c_str()); in ConstructDirectoryTree()
987 ssize_t len = readlink(path.c_str(), buf, PATH_MAX); in ResolveSymlinks()
989 WARN("readlink failed: %s", path.c_str()); in ResolveSymlinks()
996 if (stat(path.c_str(), &st) == 0) { in ResolveSymlinks()
1000 LOG("stat failed: %s: %s", path.c_str(), strerror(errno)); in ResolveSymlinks()