| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | string_utils.cpp | 54 std::string StringUtils::Join(const std::vector<std::string>& strs, const std::string& sep) in Join() argument 59 result += sep; in Join() 61 if (result.size() > sep.size()) { in Join() 62 result.resize(result.size() - sep.size()); in Join() 67 std::vector<std::string> StringUtils::Split(const std::string& str, const std::string& sep) in Split() argument 70 if (str.empty() || sep.empty() || str.size() < sep.size()) { in Split() 76 pos = str.find(sep, start); in Split() 79 start = pos + sep.size(); // next start index in Split()
|
| /developtools/profiler/device/plugins/ftrace_plugin/include/ |
| D | string_utils.h | 27 static std::string Join(const std::vector<std::string>& strs, const std::string& sep); 28 static std::vector<std::string> Split(const std::string& str, const std::string& sep);
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | pre_define.ts | 263 export const MODULE_SHARE_PATH: string = 'src' + path.sep + 'main' + path.sep + 'ets' + path.sep + … 265 export const MODULE_ETS_PATH: string = 'src' + path.sep + 'main' + path.sep + 'ets'; 266 export const MODULE_VISUAL_PATH: string = 'src' + path.sep + 'main' + path.sep + 'supervisual';
|
| D | gen_abc_plugin.ts | 147 this.sourceFile = filePath.replace(projectConfig.projectRootPath + path.sep, ''); 387 … buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 411 buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 431 buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 450 buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 633 let buildDirArr: string[] = projectConfig.buildPath.split(path.sep); 649 sourceFile = toUnixPath(sourceFile.replace(projectConfig.projectRootPath + path.sep, '')); 998 let buildDirArr: string[] = projectConfig.buildPath.split(path.sep); 1089 …jectPath = projectConfig.projectPath.slice(projectConfig.projectRootPath.length + path.sep.length);
|
| D | gen_merged_abc.ts | 64 const sourceFile: string = info.filePath.replace(projectConfig.projectRootPath + path.sep, '');
|
| D | ets_checker.ts | 574 const srcIndex: number = projectConfig.projectPath.indexOf('src' + path.sep + 'main'); 578 …projectConfig.projectPath.substring(0, srcIndex), moduleName + path.sep + 'index' + EXTNAME_D_ETS); 612 new RegExp('\\' + path.sep + 'src' + '\\' + path.sep + 'main' + '\\' + path.sep)));
|
| /developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/ |
| D | apl_config.py | 20 PATH = os.path.dirname(os.path.realpath(__file__)) + os.sep
|
| D | read_excel.py | 21 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
|
| D | read_device.py | 21 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
|
| /developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/ |
| D | config.py | 19 SYS_SEQ = os.sep
|
| D | read_acl_whitelist.py | 17 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
|
| D | utils.py | 20 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
|
| D | resolve_token_info.py | 17 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
|
| D | acl_check.py | 17 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
|
| /developtools/integration_verification/DeployDevice/src/util/ |
| D | find_fail_task.py | 23 items = dir_path.split(os.sep)
|
| /developtools/hdc/src/common/ |
| D | auth.cpp | 373 char *sep = nullptr; in ReadDaemonKeys() local 385 sep = strpbrk(buf, " \t"); in ReadDaemonKeys() 386 if (sep) { in ReadDaemonKeys() 387 *sep = '\0'; in ReadDaemonKeys()
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/ |
| D | transform.ts | 66 …eSourceFilePath = toUnixPath(sourceFilePath.replace(projectConfig.projectRootPath + path.sep, ''));
|
| /developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/ |
| D | rom_analysis.py | 88 if (not sub_path) or (os.sep not in sub_path): 91 t, sub_sub_path = sub_path.split(os.sep, 1) # 如果是c/e,分割成c,e 135 if os.sep in v: 195 tbl = [x for x in exclude_dir if os.sep in x] 223 gn = g.split(':')[0].replace(project_path, "").lstrip(os.sep)
|
| /developtools/profiler/device/base/include/ |
| D | common.h | 36 void SplitString(const std::string& str, const std::string &sep, std::vector<std::string>& ret);
|
| /developtools/profiler/device/base/src/ |
| D | common.cpp | 374 void SplitString(const std::string& str, const std::string &sep, std::vector<std::string>& ret) in SplitString() argument 380 std::string::size_type beginPos = str.find_first_not_of(sep); in SplitString() 383 findPos = str.find(sep, beginPos); in SplitString() 387 beginPos = findPos + sep.length(); in SplitString()
|
| /developtools/hiperf/script/ |
| D | recv_binary_cache.py | 112 target_file = target_file.replace('/', os.sep) 129 binary_cache_file = binary[1:].replace('/', os.sep)
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
| D | module_hotreload_mode.ts | 118 this.projectConfig.projectRootPath.length + path.sep.length);
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | resource-plugin.js | 47 const indexPath = pathInfo.dir + path.sep + pathInfo.name + '.hml?entry';
|
| D | genAbc-plugin.js | 183 let buildDirArr = buildPathInfo.split(path.sep); 200 sourceFile = toUnixPath(sourceFile.replace(buildJsonInfo.projectRootPath + path.sep, '')); 366 let buildDirArr = buildPathInfo.split(path.sep); 391 const fileTmps = data.split(path.sep);
|
| /developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/ |
| D | gn_common_tool.py | 46 splited = content.split(os.sep)
|