/third_party/node/deps/v8/src/extensions/ |
H A D | vtunedomain-support-extension.cc | 31 (*vparams).push_back(str.substr(baseindex, offindex - baseindex)); in split() 36 (*vparams).push_back(str.substr(baseindex, str.length())); in split()
|
/third_party/node/deps/v8/src/torque/ |
H A D | constants.h | 129 return name.substr(0, std::strlen(CONSTEXPR_TYPE_PREFIX)) == in IsConstexprName() 135 return name.substr(std::strlen(CONSTEXPR_TYPE_PREFIX)); in GetNonConstexprName()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ImmutableString.h | 70 bool contains(const char *substr) const { return strstr(data(), substr) != nullptr; } in contains()
|
/third_party/vk-gl-cts/executor/tools/ |
H A D | xeBatchResultToJUnit.cpp | 114 std::string caseName = result.casePath.substr(sepPos+1); in testCaseResultComplete() 115 std::string groupName = result.casePath.substr(0, sepPos); in testCaseResultComplete()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | File.cpp | 129 auto dir = pathstr.substr(0, pos); in createPhysical() 130 auto name = pathstr.substr(pos + 1); in createPhysical()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/ |
H A D | chrome_subsetter.cc | 89 HexTo<unsigned int>(hex_csv.substr(start, end - start).c_str())); in StringToGlyphId() 93 glyph_ids->push_back(HexTo<unsigned int>(hex_csv.substr(start).c_str())); in StringToGlyphId()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | StringView.h | 39 StringView substr(size_t From) const { in substr() function in StringView 54 StringView substr(size_t From, size_t To) const { in substr() function in StringView
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceRangeSpec.cpp | 105 Tokens.emplace_back(Spec.substr(StartPos, DelimPos - StartPos)); in tokenize() 118 exclude(Token.substr(1)); in init()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | tsxStatelessFunctionComponents1.js | 39 let i1 = <EmptyPropSFC ref={x => x.greeting.substr(10)} /> 92 var i1 = <EmptyPropSFC ref={function (x) { return x.greeting.substr(10); }}/>;
|
H A D | tsxStatelessFunctionComponents2.js | 24 let d = <BigGreeter ref={x => x.greeting.substr(10)} />; 79 var d = <BigGreeter ref={function (x) { return x.greeting.substr(10); }}/>;
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | DescriptorPool.php | 156 $proto = substr($proto, 1); 169 $proto = substr($proto, 1);
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | code_generator.cc | 113 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter() 114 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | any_lite.cc | 110 *url_prefix = type_url.substr(0, pos + 1); in ParseAnyTypeUrl() 112 *full_type_name = type_url.substr(pos + 1); in ParseAnyTypeUrl()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | bytestream_unittest.cc | 55 return data_.substr(0, block_size_); in Peek() 82 EXPECT_EQ(data.substr(1, data.size() - 2), str); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | ascii.h | 200 return str.substr(it - str.begin()); in StripLeadingAsciiWhitespace() 214 return str.substr(0, str.rend() - it); in StripTrailingAsciiWhitespace()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_reader.h | 201 return CordRepBtree::EdgeData(pos.edge).substr(pos.offset); in Skip() 210 absl::string_view chunk = CordRepBtree::EdgeData(pos.edge).substr(pos.offset); in Seek()
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksNetwork.cpp | 41 host = str.substr(0, pos); in StringToAddress() 42 std::stringstream{str.substr(pos+1)} >> port; in StringToAddress()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | system_utils.cpp | 28 return (lastPathSepLoc > 0 ? executableName.substr(lastPathSepLoc + 1, executableName.length()) in GetExecutableName() 131 return first + second.substr(1); in ConcatenatePath()
|
/applications/standard/calendardata/calendarmanager/native/src/ |
H A D | native_util.cpp | 577 expireTime.tm_year = StringToInt(strTime.substr(0, yearOffset)) - baseYear; in GetUTCTime() 578 expireTime.tm_mon = (StringToInt(strTime.substr(monBase, offset)) + monRectify) % monCount; in GetUTCTime() 579 expireTime.tm_mday = StringToInt(strTime.substr(dayBase, offset)); in GetUTCTime() 581 expireTime.tm_hour = StringToInt(strTime.substr(hourBase, offset)); in GetUTCTime() 582 expireTime.tm_min = StringToInt(strTime.substr(minBase, offset)); in GetUTCTime() 583 expireTime.tm_sec = StringToInt(strTime.substr(secBase, offset)); in GetUTCTime() 601 result.push_back(str.substr(pos1, pos2 - pos1)); in GetUTCTime() 606 result.push_back(str.substr(pos1)); in GetUTCTime() 731 std::string weekDayStr = weekday.substr(weekday.length() - weekStrLen, weekStrLen); in GetUTCTime() 732 std::string WeekNumStr = weekday.substr( in GetUTCTime() [all...] |
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_configuration.cpp | 489 const auto &device = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseDevice() 500 const auto &bootProto = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseBootProto() 521 ipAddresses = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig() 527 netMasks = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig() 533 gateways = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig() 539 routes = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig() 545 routeMasks = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig() 551 dnsServers = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig() 567 cfg->httpProxy_.SetHost(fileContent.substr(pos, fileContent.find(WRAP, pos) - pos)); in ParserFileHttpProxy() 573 uint32_t port = CommonUtils::StrToUint(fileContent.substr(po in ParserFileHttpProxy() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_uri_test.cpp | 87 auto tmpUri = fileUri.substr(0, slashIdx); in GetUriIdPrefix() 92 fileUri = tmpUri.substr(0, slashIdx); in GetUriIdPrefix() 106 fileUri = uri.substr(0, index - 1); in GetParamsFromUriTest() 120 StrToInt(uri.substr(index, tmpIdx - index), width); in GetParamsFromUriTest() 122 StrToInt(uri.substr(tmpIdx + 1), height); in GetParamsFromUriTest() 129 fileUri = uri.substr(0, qIdx); in GetParamsFromUriTest()
|
/foundation/multimodalinput/input/util/common/src/ |
H A D | util.cpp | 124 token = str.substr(0, pos); in StringToken() 126 str = str.substr(pos + 1, str.npos); in StringToken() 176 return strPath.substr(nPos + 1, strPath.npos); in GetFileName() 245 return (filePath.substr(pos + 1, filePath.npos) == checkExtension); in CheckFileExtendName() 463 std::string configItem = tmp.substr(0, pos); in ReadConfigFile() 464 std::string value = tmp.substr(pos + 1); in ReadConfigFile()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | units_converter.cpp | 138 return strToDouble(strWithDivide.substr(0, divisionSignInd), status) / 139 strToDouble(strWithDivide.substr(divisionSignInd + 1), status); 166 baseStr = elementStr.substr(0, powerInd); 167 powerStr = elementStr.substr(powerInd + 1); 186 StringPiece factorElement = stringFactor.substr(start, i - start); 192 addFactorElement(result, stringFactor.substr(start, i + 1), signum, status);
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | units_converter.cpp | 138 return strToDouble(strWithDivide.substr(0, divisionSignInd), status) / 139 strToDouble(strWithDivide.substr(divisionSignInd + 1), status); 166 baseStr = elementStr.substr(0, powerInd); 167 powerStr = elementStr.substr(powerInd + 1); 186 StringPiece factorElement = stringFactor.substr(start, i - start); 192 addFactorElement(result, stringFactor.substr(start, i + 1), signum, status);
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_fetch.cpp | 327 istringstream fmt_stream(format_str.substr(4)); in from_string_impl() 361 num_format_str = num_format_str.substr(1, num_format_end - 1) ; in from_string_impl() 400 if (token.substr(0,4) == "MFC:") in set_param_from_string() 402 else if (token.substr(0,5) == "ARRB:") in set_param_from_string() 404 else if (token.substr(0,5) == "ARRS:") in set_param_from_string() 406 else if (token.substr(0,3) == "ES:") in set_param_from_string()
|