Home
last modified time | relevance | path

Searched refs:OS_PATH_SEPARATOR (Results 1 – 21 of 21) sorted by relevance

/system/tools/aidl/
Dimport_resolver.cpp40 if (path[path.size() - 1] != OS_PATH_SEPARATOR) { in ImportResolver()
41 path += OS_PATH_SEPARATOR; in ImportResolver()
53 c = OS_PATH_SEPARATOR; in FindImportFile()
Dos.h21 #define OS_PATH_SEPARATOR '\\' macro
23 #define OS_PATH_SEPARATOR '/' macro
Dio_delegate.cpp64 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()
Daidl.cpp94 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()
Dgenerate_cpp_unittest.cpp864 StringPrintf("%s%c%s", kHeaderDir, OS_PATH_SEPARATOR, in TEST_F()
Dgenerate_cpp.cpp780 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/
Dtest_utils.cpp29 #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/
DString8.cpp525 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/
DCompat.h82 #define OS_PATH_SEPARATOR '\\' macro
84 #define OS_PATH_SEPARATOR '/' macro
/system/core/adb/
Dbugreport_test.cpp185 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()
Dadb_utils_test.cpp39 str += OS_PATH_SEPARATOR; in subdir()
Dconsole.cpp36 auth_token_path += OS_PATH_SEPARATOR; in adb_construct_auth_command()
Dadb_auth_host.cpp240 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()
Dadb_utils.cpp256 std::string android_dir = user_dir + OS_PATH_SEPARATOR + ".android"; in adb_get_android_dir_path()
Dbugreport.cpp100 OS_PATH_SEPARATOR, dest_file_.c_str()); in Done()
Dfile_sync_service.cpp84 if (partial_path.back() != OS_PATH_SEPARATOR) partial_path += OS_PATH_SEPARATOR; in secure_mkdirs()
Dsysdeps.h93 #define OS_PATH_SEPARATOR '\\' macro
442 #define OS_PATH_SEPARATOR '/' macro
Dfile_sync_client.cpp59 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()
Dcommandline.cpp1306 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/
Dtest_util.cpp42 c = OS_PATH_SEPARATOR; in CanonicalNameToPath()
Dfake_io_delegate.cpp160 clean_path[1] == OS_PATH_SEPARATOR) { in CleanPath()