/system/tools/aidl/ |
D | import_resolver.cpp | 40 if (path[path.size() - 1] != OS_PATH_SEPARATOR) { in ImportResolver() 41 path += OS_PATH_SEPARATOR; in ImportResolver() 53 c = OS_PATH_SEPARATOR; in FindImportFile()
|
D | os.h | 21 #define OS_PATH_SEPARATOR '\\' macro 23 #define OS_PATH_SEPARATOR '/' macro
|
D | io_delegate.cpp | 64 if (path[0] == OS_PATH_SEPARATOR) { in GetAbsolutePath() 77 *absolute_path += OS_PATH_SEPARATOR; in GetAbsolutePath() 128 if (base_dir[base_dir.size() - 1] != OS_PATH_SEPARATOR) { in CreatedNestedDirs() 129 base_dir += OS_PATH_SEPARATOR; in CreatedNestedDirs() 159 auto directories = Split(absolute_path, string{1u, OS_PATH_SEPARATOR}); in CreatePathForFile()
|
D | aidl.cpp | 94 expected[i] = OS_PATH_SEPARATOR; in check_filename() 109 if (OS_PATH_SEPARATOR != '/') { in check_filename() 114 if (*c == '/') *c = OS_PATH_SEPARATOR; in check_filename() 349 result += OS_PATH_SEPARATOR; in generate_outputFileName() 355 packageStr[i] = OS_PATH_SEPARATOR; in generate_outputFileName() 362 result += OS_PATH_SEPARATOR; in generate_outputFileName()
|
D | generate_cpp_unittest.cpp | 864 StringPrintf("%s%c%s", kHeaderDir, OS_PATH_SEPARATOR, in TEST_F()
|
D | generate_cpp.cpp | 780 const string header_path = options.OutputHeaderDir() + OS_PATH_SEPARATOR + in WriteHeader() 803 c = (use_os_sep) ? OS_PATH_SEPARATOR : '/'; in HeaderFile() 807 file_path += (use_os_sep) ? OS_PATH_SEPARATOR : '/'; in HeaderFile()
|
/system/core/base/ |
D | test_utils.cpp | 29 #define OS_PATH_SEPARATOR '\\' macro 31 #define OS_PATH_SEPARATOR '/' macro 94 OS_PATH_SEPARATOR); in init() 108 OS_PATH_SEPARATOR); in init()
|
/system/core/libutils/ |
D | String8.cpp | 525 if (len > 0 && buf[len-1] == OS_PATH_SEPARATOR) in setPathName() 538 cp = strrchr(buf, OS_PATH_SEPARATOR); in getPathLeaf() 550 cp = strrchr(str, OS_PATH_SEPARATOR); in getPathDir() 563 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath() 567 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath() 593 lastSlash = strrchr(str, OS_PATH_SEPARATOR); in find_extension() 634 if (name[0] != OS_PATH_SEPARATOR) { in appendPath() 653 if (buf[len-1] != OS_PATH_SEPARATOR) in appendPath() 654 buf[len++] = OS_PATH_SEPARATOR; in appendPath() 670 #if OS_PATH_SEPARATOR != RES_PATH_SEPARATOR in convertToResPath() [all …]
|
/system/core/libutils/include/utils/ |
D | Compat.h | 82 #define OS_PATH_SEPARATOR '\\' macro 84 #define OS_PATH_SEPARATOR '/' macro
|
/system/core/adb/ |
D | bugreport_test.cpp | 185 android::base::StringPrintf("%s%cda_bugreport.zip", cwd_.c_str(), OS_PATH_SEPARATOR); in TEST_F() 202 android::base::StringPrintf("%s%cda_bugreport.zip", cwd_.c_str(), OS_PATH_SEPARATOR); in TEST_F() 342 android::base::StringPrintf("%s%cda_bugreport.zip", td.path, OS_PATH_SEPARATOR); in TEST_F() 375 android::base::StringPrintf("%s%cda_bugreport.zip", td.path, OS_PATH_SEPARATOR); in TEST_F()
|
D | adb_utils_test.cpp | 39 str += OS_PATH_SEPARATOR; in subdir()
|
D | console.cpp | 36 auth_token_path += OS_PATH_SEPARATOR; in adb_construct_auth_command()
|
D | adb_auth_host.cpp | 240 result |= read_key_file((path + OS_PATH_SEPARATOR + name)); in read_keys() 250 return adb_get_android_dir_path() + OS_PATH_SEPARATOR + "adbkey"; in get_user_key_path()
|
D | adb_utils.cpp | 256 std::string android_dir = user_dir + OS_PATH_SEPARATOR + ".android"; in adb_get_android_dir_path()
|
D | bugreport.cpp | 100 OS_PATH_SEPARATOR, dest_file_.c_str()); in Done()
|
D | file_sync_service.cpp | 84 if (partial_path.back() != OS_PATH_SEPARATOR) partial_path += OS_PATH_SEPARATOR; in secure_mkdirs()
|
D | sysdeps.h | 93 #define OS_PATH_SEPARATOR '\\' macro 442 #define OS_PATH_SEPARATOR '/' macro
|
D | file_sync_client.cpp | 59 local_path.push_back(OS_PATH_SEPARATOR); in ensure_trailing_separators() 1207 dst_dir.push_back(OS_PATH_SEPARATOR); in do_sync_pull() 1224 path_holder = android::base::StringPrintf("%s%c%s", dst_path, OS_PATH_SEPARATOR, in do_sync_pull()
|
D | commandline.cpp | 1306 return android::base::StringPrintf("%s%c%s", cwd.c_str(), OS_PATH_SEPARATOR, hint.c_str()); in find_product_out_path()
|
/system/tools/aidl/tests/ |
D | test_util.cpp | 42 c = OS_PATH_SEPARATOR; in CanonicalNameToPath()
|
D | fake_io_delegate.cpp | 160 clean_path[1] == OS_PATH_SEPARATOR) { in CleanPath()
|