Searched refs:subStr (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/tools/ |
D | astPrinter.ts | 86 let subStr = ""; 93 subStr += node2String(undefined, value, tab + tabSize); 96 if (subStr) { 98 retVal += subStr; 114 let subStr: string = ""; 122 subStr = kindNames.join('/'); 123 retVal += repeat + subStr + ',' + ' ' + kind + '\n'; 124 subStr = ""; 128 subStr += array2String(key, value, tab + tabSize); 132 subStr += node2String(key, value, tab + tabSize); [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/ |
D | maple_string.cpp | 222 MapleString subStr = str.substr(subPos, subLen); in insert() local 223 this->insert(pos, subStr); in insert() 236 MapleString subStr(s, memPool); in insert() local 237 this->insert(pos, subStr); in insert() 251 MapleString subStr(s, memPool); in insert() local 252 subStr = subStr.substr(0, n); in insert() 253 this->insert(pos, subStr); in insert() 262 MapleString subStr(n, memPool); in insert() local 264 subStr[i] = c; in insert() 266 this->insert(pos, subStr); in insert() [all …]
|
/arkcompiler/toolchain/tooling/client/utils/ |
D | utils.cpp | 77 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString() local 78 value.push_back(std::move(subStr)); in SplitString() 84 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString() local 85 if (!subStr.empty()) { in SplitString() 86 value.push_back(std::move(subStr)); in SplitString()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | string_helper.h | 388 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString() local 389 value.push_back(std::move(subStr)); in SplitString() 395 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString() local 396 if (!subStr.empty()) { in SplitString() 397 value.push_back(std::move(subStr)); in SplitString() 408 std::string subStr = str.substr(str.length() - suffix.length(), str.length()); in EndsWith() local 409 return subStr == suffix; in EndsWith()
|
/arkcompiler/toolchain/tooling/client/domain/ |
D | heapprofiler_client.cpp | 296 std::string subStr = chunk.substr(chunk.length() - tail.length(), chunk.length()); in SaveHeapSnapshotAndAllocationTrackData() local 297 if (!strncmp(subStr.c_str(), tail.c_str(), tail.length())) { in SaveHeapSnapshotAndAllocationTrackData()
|