Home
last modified time | relevance | path

Searched refs:pathBuf (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/PC/
Dimport_nt.c20 char *pathBuf, in PyWin_FindRegisteredModule() argument
58 regStat = RegQueryValue(keyBase, moduleKey, pathBuf, &modNameSize); in PyWin_FindRegisteredModule()
65 pathBuf, &modNameSize); in PyWin_FindRegisteredModule()
75 strnicmp(pathBuf + ((size_t)modNameSize-extLen-1), in PyWin_FindRegisteredModule()
82 fp = fopen(pathBuf, fdp->mode); in PyWin_FindRegisteredModule()
/external/angle/src/common/
Dsystem_utils_win.cpp56 std::array<char, MAX_PATH> pathBuf; in GetCWD() local
57 DWORD result = GetCurrentDirectoryA(static_cast<DWORD>(pathBuf.size()), pathBuf.data()); in GetCWD()
62 return std::string(pathBuf.data()); in GetCWD()
Dsystem_utils_posix.cpp39 std::array<char, 4096> pathBuf; in GetCWD() local
40 char *result = getcwd(pathBuf.data(), pathBuf.size()); in GetCWD()
45 return std::string(pathBuf.data()); in GetCWD()
/external/llvm-project/clang/unittests/DirectoryWatcher/
DDirectoryWatcherTest.cpp42 SmallString<128> pathBuf; in DirectoryWatcherTestFixture() local
46 createUniqueDirectory("dirwatcher", pathBuf); in DirectoryWatcherTestFixture()
48 TestRootDir = std::string(pathBuf.str()); in DirectoryWatcherTestFixture()
49 path::append(pathBuf, "watch"); in DirectoryWatcherTestFixture()
50 TestWatchedDir = std::string(pathBuf.str()); in DirectoryWatcherTestFixture()
61 SmallString<128> pathBuf; in getPathInWatched() local
62 pathBuf = TestWatchedDir; in getPathInWatched()
63 path::append(pathBuf, testFile); in getPathInWatched()
64 return pathBuf; in getPathInWatched()
/external/llvm-project/flang/lib/Parser/
Dsource.cpp54 llvm::SmallString<128> pathBuf{path}; in DirectoryName() local
55 llvm::sys::path::remove_filename(pathBuf); in DirectoryName()
56 return pathBuf.str().str(); in DirectoryName()
/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp288 icu::CharString pathBuf; in main() local
296 pathBuf.clear(); in main()
297 pathBuf.appendPathPart(sourcedir, localError); in main()
298 pathBuf.appendPathPart(arg, localError); in main()
299 arg = pathBuf.data(); in main()
/external/icu/icu4c/source/tools/gencnval/
Dgencnval.c227 char pathBuf[512]; in main() local
276 uprv_strcpy(pathBuf, sourcedir); in main()
277 end = uprv_strchr(pathBuf, 0); in main()
282 path = pathBuf; in main()
/external/icu/icu4c/source/common/
Duresbund.cpp1121 char *pathBuf = stackPath, *myPath = pathBuf; in init_resb_result() local
1123pathBuf = (char *)uprv_malloc((uprv_strlen(keyPath)+1)*sizeof(char)); in init_resb_result()
1124 if(pathBuf == NULL) { in init_resb_result()
1130 uprv_strcpy(pathBuf, keyPath); in init_resb_result()
1150 uprv_strcpy(pathBuf, keyPath); in init_resb_result()
1151 myPath = pathBuf; in init_resb_result()
1157 if(pathBuf != stackPath) { in init_resb_result()
1158 uprv_free(pathBuf); in init_resb_result()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileFromAtoms.cpp891 SmallString<1024> pathBuf(atomFile.path()); in synthesizeDebugNotes() local
892 if (auto EC = llvm::sys::fs::make_absolute(pathBuf)) in synthesizeDebugNotes()
894 fullPath = file.ownedAllocations.Allocate<char>(pathBuf.size() + 1); in synthesizeDebugNotes()
895 memcpy(fullPath, pathBuf.c_str(), pathBuf.size() + 1); in synthesizeDebugNotes()