Home
last modified time | relevance | path

Searched refs:strIndex (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/toolchain/tooling/utils/
H A Dutils.cpp97 std::size_t strIndex = 0; in SplitString() local
99 std::size_t pos = str.find_first_of(delimiter, strIndex); in SplitString()
100 while ((pos < str.size()) && (pos > strIndex)) { in SplitString()
101 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString()
103 strIndex = pos; in SplitString()
104 strIndex = str.find_first_not_of(delimiter, strIndex); in SplitString()
105 pos = str.find_first_of(delimiter, strIndex); in SplitString()
107 if (pos > strIndex) { in SplitString()
[all...]
/arkcompiler/ets_runtime/test/moduletest/require/
H A Drequire.js27 var strIndex = JSON.stringify(index); variable
29 print(strIndex);
/arkcompiler/ets_runtime/ecmascript/base/
H A Dstring_helper.h389 std::size_t strIndex = 0; in SplitString() local
391 std::size_t pos = str.find_first_of(delimiter, strIndex); in SplitString()
392 while ((pos < str.size()) && (pos > strIndex)) { in SplitString()
393 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString()
395 strIndex = pos; in SplitString()
396 strIndex = str.find_first_not_of(delimiter, strIndex); in SplitString()
397 pos = str.find_first_of(delimiter, strIndex); in SplitString()
399 if (pos > strIndex) { in SplitString()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_runtime_options.cpp1417 std::size_t strIndex = 0; in ParseListArgParam() local
1418 std::size_t pos = option.find_first_of(delimiter, strIndex); in ParseListArgParam()
1419 while ((pos < option.size()) && (pos > strIndex)) { in ParseListArgParam()
1420 argListStr->push_back(option.substr(strIndex, pos - strIndex)); in ParseListArgParam()
1421 strIndex = pos; in ParseListArgParam()
1422 strIndex = option.find_first_not_of(delimiter, strIndex); in ParseListArgParam()
1423 pos = option.find_first_of(delimiter, strIndex); in ParseListArgParam()
1425 if (pos > strIndex) { in ParseListArgParam()
[all...]
H A Djs_bigint.cpp183 int strIndex = strLen - 1; in GetBinary() local
188 res[strIndex--] = (val & 1) + '0'; in GetBinary()

Completed in 9 milliseconds