/arkcompiler/toolchain/tooling/utils/ |
H A D | utils.cpp | 95 std::vector<std::string> Utils::SplitString(const std::string &str, const std::string &delimiter) in SplitString() argument 99 std::size_t pos = str.find_first_of(delimiter, strIndex); in SplitString() 104 strIndex = str.find_first_not_of(delimiter, strIndex); in SplitString() 105 pos = str.find_first_of(delimiter, strIndex); in SplitString()
|
H A D | utils.h | 31 static std::vector<std::string> SplitString(const std::string &str, const std::string &delimiter);
|
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | commonUtil.cpp | 24 std::vector<std::string> Split(const std::string &str, const char delimiter) in Split() argument 31 size_t pos = str.find(delimiter); in Split() 36 pos = str.find(delimiter, start); in Split()
|
H A D | commonUtil.h | 53 std::vector<std::string> Split(const std::string &str, const char delimiter);
|
H A D | helpers.cpp | 958 const std::string &delimiter) in BelongingToRecords() 960 size_t pos = name.rfind(delimiter); in BelongingToRecords() 962 std::cerr << "The input name: " << name << " is illegal, it should contain the delimiter character '" << in BelongingToRecords() 963 delimiter << "'" << std::endl; in BelongingToRecords() 957 BelongingToRecords(const std::string &name, const std::unordered_set<std::string> &retainRecordSet, const std::string &delimiter) BelongingToRecords() argument
|
H A D | helpers.h | 158 const std::string &delimiter = std::string(DOT));
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | string_helper.h | 387 static std::vector<std::string> SplitString(const std::string &str, const std::string &delimiter) in SplitString() argument 391 std::size_t pos = str.find_first_of(delimiter, strIndex); in SplitString() 396 strIndex = str.find_first_not_of(delimiter, strIndex); in SplitString() 397 pos = str.find_first_of(delimiter, strIndex); in SplitString()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | pandargs.h | 110 std::string delimiter) in PandArg() 114 delimiter_(std::move(delimiter)) in PandArg() 186 // Only for strings with delimiter 937 std::string delimiter = arg->GetDelimiter().value(); in ParseListArgParam() local 939 std::size_t pos = param_str.find_first_of(delimiter, param_str_index); in ParseListArgParam() 943 param_str_index = param_str.find_first_not_of(delimiter, param_str_index); in ParseListArgParam() 944 pos = param_str.find_first_of(delimiter, param_str_index); in ParseListArgParam() 109 PandArg(const std::string &name, const arg_list_t &default_val, const std::string &desc, std::string delimiter) PandArg() argument
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | pandargs.h | 112 std::string delimiter) in PandArg() 116 delimiter_ {std::move(delimiter)} 188 // Only for strings with delimiter 948 std::string delimiter = arg->GetDelimiter().value(); in ParseListArgParam() local 950 std::size_t pos = paramStr.find_first_of(delimiter, paramStrIndex); in ParseListArgParam() 954 paramStrIndex = paramStr.find_first_not_of(delimiter, paramStrIndex); in ParseListArgParam() 955 pos = paramStr.find_first_of(delimiter, paramStrIndex); in ParseListArgParam() 111 PandArg(const std::string &name, const arg_list_t &defaultVal, const std::string &desc, std::string delimiter) PandArg() argument
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_runtime_options.cpp | 1414 void JSRuntimeOptions::ParseListArgParam(const std::string &option, arg_list_t *argListStr, std::string delimiter) in ParseListArgParam() argument 1418 std::size_t pos = option.find_first_of(delimiter, strIndex); in ParseListArgParam() 1422 strIndex = option.find_first_not_of(delimiter, strIndex); in ParseListArgParam() 1423 pos = option.find_first_of(delimiter, strIndex); in ParseListArgParam()
|
H A D | js_runtime_options.h | 2015 void ParseListArgParam(const std::string& option, arg_list_t* argListStr, std::string delimiter);
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
H A D | validate-recipes | 577 my $delimiter = $section =~ /^(code_bad|code_ok)$/ ? "\n" : ' '; 578 my $text = join $delimiter, map { s/^ {4}//; $_ } @{$r->{$section}};
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | result.py | 105 f, delimiter=','): 140 f, delimiter=','):
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | string_helper_test.cpp | 190 const std::string delimiter = " "; in HWTEST_F_L0() local 191 std::vector<std::string> resultList = StringHelper::SplitString(result, delimiter); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/aot/ |
H A D | options.cpp | 84 static std::vector<std::string> GetStringItems(std::string &input, const std::string &delimiter) in GetStringItems() argument 89 while ((pos = input.find(delimiter)) != std::string::npos) { in GetStringItems() 94 input.erase(0, pos + delimiter.length()); in GetStringItems() 105 // Split the fileInfo string to itemList by the delimiter ';'. If the element is empty, it will not be added to in CollectInputAbcFile()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | aot_compiler_preprocessor.cpp | 170 std::string delimiter = GetFileDelimiter(); in HandlePandaFileNames() local 171 pandaFileNames_ = base::StringHelper::SplitString(files, delimiter); in HandlePandaFileNames()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | emit.cpp | 1461 std::string delimiter = "$$"; in EmitAsmLabel() local 1463 stName.substr(strlen(CLASSINFO_PREFIX_STR), stName.find(delimiter) - strlen(CLASSINFO_PREFIX_STR)); in EmitAsmLabel() 2291 const std::string delimiter = "$$"; in EmitAsmLabel() local 2292 if (stName.find(delimiter) == std::string::npos) { in EmitAsmLabel() 2293 FATAL(kLncFatal, "Can not find delimiter in target "); in EmitAsmLabel() 2295 std::string secName = stName.substr(0, stName.find(delimiter)); in EmitAsmLabel()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_emitter.cpp | 120 string delimiter = "__"; in TransferMem() local 121 size_t pos = symbolName.find(delimiter); in TransferMem() 124 /* 2: delimiter.length() */ in TransferMem()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | helpers.cpp | 1278 const char delimiter = '.'; in GetNameForSynteticObjectType() local 1283 while (std::getline(ss, token, delimiter)) { in GetNameForSynteticObjectType()
|