Home
last modified time | relevance | path

Searched refs:substr (Results 301 - 325 of 1887) sorted by relevance

1...<<11121314151617181920>>...76

/third_party/node/test/parallel/
H A Dtest-repl.js67 lineBuffer = lineBuffer.substr(prompt.length);
79 let actualLine = lineBuffer.substr(0, newlineOffset);
80 lineBuffer = lineBuffer.substr(newlineOffset + 1);
85 actualLine = actualLine.substr(prompt.length);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DMachOUniversal.cpp72 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsObjectFile()
75 ObjectData = ParentData.substr(Header64.offset, Header64.size); in getAsObjectFile()
92 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsArchive()
94 ObjectData = ParentData.substr(Header64.offset, Header64.size); in getAsArchive()
/third_party/typescript/tests/baselines/reference/
H A DtypeArgumentInferenceConstructSignatures.js36 new someGenerics2a<string>((n) => n.substr(0));
44 new someGenerics2b<string, number>((n, t) => n.substr(t * t));
157 new someGenerics2a(function (n) { return n.substr(0); });
161 new someGenerics2b(function (n, t) { return n.substr(t * t); });
H A DtypeArgumentInferenceWithConstraints.js25 someGenerics2a<string>((n) => n.substr(0));
30 someGenerics2b<string, number>((n, t) => n.substr(t * t));
129 someGenerics2a(function (n) { return n.substr(0); });
133 someGenerics2b(function (n, t) { return n.substr(t * t); });
/foundation/arkui/ace_engine/frameworks/core/text/
H A Dtext_emoji_processor.cpp62 remainString = u16.substr(startIndex, u16.length() - startIndex); in Delete()
63 std::u16string temp = u16.substr(0, startIndex); in Delete()
79 remainString = u16.substr(0, startIndex); in Delete()
80 std::u16string temp = u16.substr(startIndex, u16.length() - startIndex); in Delete()
152 std::u16string tempstr = U32ToU16string(u32Content.substr(u32Length - backwardLen)); in GetIndexRelationToEmoji()
251 return content.substr(range.startIndex, rangeLength); in SubWstring()
318 std::u16string temp = u16Content.substr(0, startIndex); in GetEmojiLengthBackward()
336 return U32ToU16string(u32Content.substr(0, forwardLen)).length(); in GetEmojiLengthU16Forward()
347 std::u16string temp = u16Content.substr(startIndex, u16Content.length() - startIndex); in GetEmojiLengthForward()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata_extractor.cpp84 double ret = stringToNum<double>(inputStr.substr(0, pos)); in GetLongitudeLatitude()
86 inputStr = inputStr.substr(pos + OFFSET_NUM); in GetLongitudeLatitude()
91 ret += stringToNum<double>(inputStr.substr(0, pos)) / DEGREES2MINUTES; in GetLongitudeLatitude()
93 inputStr = inputStr.substr(pos + OFFSET_NUM); in GetLongitudeLatitude()
149 int32_t hours = stoi(offsetStr.substr(1, 2)); in offsetTimeToSeconds()
150 int32_t minutes = stoi(offsetStr.substr(colonPosition + 1, 2)); in offsetTimeToSeconds()
173 subTime = stoi(subTimeString.substr(0, subTimeSize)); in setSubSecondTime()
277 return userComment.substr(posStart, posEnd - posStart); in GetCompatibleUserComment()
405 return genreJson.substr(start + 1, end - start - 1); // 1: length offset in ExtractVideoShootingMode()
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/
H A Dfile_access_service.cpp112 if (comparedUriStr.compare(srcUriStr.substr(0, slashIndex)) == 0) { in IsParentUri()
127 if (srcUriStr.compare(comparedUriStr.substr(0, slashIndex)) == 0) { in IsChildUri()
165 auto tmpPath = path.substr(1); in GetBundleNameFromUri()
167 bundleName = tmpPath.substr(0, index); in GetBundleNameFromUri()
281 auto uid = uriString.substr(0, uriString.find("file://")); in convertUris()
464 Uri originalUri(uriStr.substr(uriIndex)); in CleanAllNotifyImpl()
599 string uris = uriStr.substr(uriIndex); in OnChange()
608 string parentUri = uriStr.substr(0, slashIndex); in OnChange()
745 Uri originalUri(uriStr.substr(uriIndex)); in RmUriObsNodeRelations()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_command_parser.cpp108 cmd = cmd.substr(0, cmd.length() - (AT_EXEC_OPERATOR_LENGTH + 1)); in Extract()
111 cmd = cmd.substr(0, cmd.length() - (AT_GET_OPERATOR_LENGTH + 1)); in Extract()
117 cmd = cmd.substr(0, cmd.length() - (AT_TEST_OPERATOR_LENGTH + 1)); in Extract()
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/
H A Dmultistages_video_capture_manager.cpp70 string dirPath = filePath.substr(0, filePath.rfind('/')); in AddVideoInternal()
78 string tempPath = realDirPath + filePath.substr(filePath.rfind('/'), in AddVideoInternal()
79 filePath.rfind('.') - filePath.rfind('/')) + "_tmp" + filePath.substr(filePath.rfind('.')); in AddVideoInternal()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/operation/
H A Dphoto_displayname_operation.h104 this->suffix = displayName.substr(BURST_DISPLAY_NAME_MIN_LENGTH - 1); in ParseBurstDisplayName()
131 this->prefix = displayName.substr(0, dotPos); in ParseNormalDisplayName()
132 this->suffix = displayName.substr(dotPos); // include dot, e.g. ".jpg" in ParseNormalDisplayName()
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/
H A Dsetacl.cpp147 const std::string tagTxt = entryTxt.substr(last, pos - last); in AclEntryParseText()
158 const std::string idTxt = entryTxt.substr(last, pos - last); in AclEntryParseText()
175 const std::string permTxt = entryTxt.substr(last); // take substr till the end in AclEntryParseText()
/third_party/node/deps/npm/node_modules/negotiator/lib/
H A DmediaType.js72 ? val.substr(1, val.length - 2)
241 key = str.substr(0, index);
242 val = str.substr(index + 1);
/third_party/node/deps/v8/src/torque/
H A Ddeclarations.h37 if (generates.length() < 7 || generates.substr(0, 6) != "TNode<" || in UnwrapTNodeTypeName()
38 generates.substr(generates.length() - 1, 1) != ">") { in UnwrapTNodeTypeName()
42 return generates.substr(6, generates.length() - 7); in UnwrapTNodeTypeName()
/third_party/tzdata/
H A Dziguard.awk324 if (substr(oldline, 1, oldprefixlen) == oldprefix) {
326 replsuffix = substr(oldline, oldprefixlen + 1)
334 replsuffix = substr(replsuffix, 2)
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedInputStream.php88 public function substr($start, $end) function
90 return substr($this->buffer, $start, $end - $start);
305 $buffer = substr($this->buffer, $this->current, $size);
/third_party/spirv-tools/tools/util/
H A Dflags.cpp47 return flag.substr(0, equal_index); in get_flag_name()
66 const std::string value = raw_flag.substr(equal_index + 1); in parse_bool_flag()
132 raw_value = raw_flag.substr(equal_index + 1); in parse_flag()
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/
H A Dhdi_interface_type_emitter.cpp131 return (index == std::string::npos) ? typeName_.substr(0) : typeName_.substr(0, index + 1); in GetNamespaceWithColon()
149 (StringHelper::StartWith(name_, "I") ? name_.substr(1) : name_) + "Proxy").c_str(), name.c_str()); in EmitCppReadVar()
165 std::string stubName = StringHelper::StartWith(name_, "I") ? (name_.substr(1) + "Stub") : (name_ + "Stub"); in EmitJavaReadVar()
173 std::string stubName = StringHelper::StartWith(name_, "I") ? (name_.substr(1) + "Stub") : (name_ + "Stub"); in EmitJavaReadInnerVar()
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Darray_wrapper.cpp274 long size = std::stol(arrayStr.substr(1, idx - 1)); in Parse()
276 std::string values = arrayStr.substr(idx, arrayStr.length() - 1 - idx); in Parse()
323 valueStr = values.substr(beginIdx); in ParseElement()
325 valueStr = values.substr(beginIdx, endIdx - beginIdx); in ParseElement()
329 valueStr = values.substr(beginIdx, values.length() - beginIdx); in ParseElement()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_multi_app_strategy.cpp339 pkgName = param.substr(0, index); in AnalyzePkgParam()
340 auto pidAppType = param.substr(index + 1, param.size()); in AnalyzePkgParam()
350 auto pidStr = pidAppType.substr(0, index); in AnalyzePkgParam()
355 auto appTypeStr = pidAppType.substr(index + 1, pidAppType.size()); in AnalyzePkgParam()
448 std::string pkgNameForCheck = param.substr(0, param.find(':')); in CheckPackageInConfigList()
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/
H A Dproperty_data.cpp49 ret.propertyPath = name.substr(0, pos); in ParseIndex()
52 const char* start = name.substr(pos).data(); in ParseIndex()
62 ret.propertyPath = name.substr(0, pos); in ParseIndex()
106 auto baseName = name.substr(pos, delimPos - pos); in FindProperty()
130 ret.propertyPath = name.substr(0, pos); in FindProperty()
/foundation/multimedia/av_session/services/session/server/
H A Davsession_service_ext.cpp52 info = extraInfo.substr(beginPos, endPos - beginPos); in SuperLauncher()
58 info = extraInfo.substr(beginPos); in SuperLauncher()
74 castDeviceId_ = info.substr(idBeginPos + beginAddPos, in SplitExtraInfo()
79 castDeviceName_ = info.substr(nameBeginPos + beginAddPos, in SplitExtraInfo()
84 std::string tmpType = info.substr(typeBeginPos + typeAddPos, info.length()); // "deviceType" : xxx in SplitExtraInfo()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_file_operations.cpp183 groupBy = whereClause.substr(groupByPoint); in SolvePendingInQuery()
184 whereClause = whereClause.substr(0, groupByPoint); in SolvePendingInQuery()
444 suffix = whereClause.substr(keyPos); in RemoveWhereSuffix()
445 whereClause = whereClause.substr(0, keyPos); in RemoveWhereSuffix()
499 MEDIA_DEBUG_LOG("Quering file sql: %{private}s", sql.substr(pos, printMax).c_str()); in CampatQueryDebug()
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.cpp66 int32_t isEncryptVal = static_cast<int32_t>(std::stoi(data.substr(0, pos))); in Decode()
68 std::string recvData = data.substr(pos + 1); in Decode()
104 MsgType msgType = static_cast<MsgType>(std::stoi(data.substr(0, pos))); in Decode()
107 std::shared_ptr<Request> req = Request::Decode(data.substr(pos + 1)); in Decode()
114 std::shared_ptr<Response> rsp = Response::Decode(data.substr(pos + 1)); in Decode()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_monitor.cpp286 httpUrl_ = content.substr(pos, content.find(NEW_LINE_STR, pos) - pos); in GetHttpProbeUrlFromConfig()
296 httpsUrl_ = content.substr(pos, content.find(NEW_LINE_STR, pos) - pos); in GetHttpProbeUrlFromConfig()
302 fallbackHttpUrl_ = content.substr(pos, content.find(NEW_LINE_STR, pos) - pos); in GetHttpProbeUrlFromConfig()
308 fallbackHttpsUrl_ = content.substr(pos, content.find(NEW_LINE_STR, pos) - pos); in GetHttpProbeUrlFromConfig()
333 std::string value = content.substr(pos, content.find(NEW_LINE_STR, pos) - pos); in GetDetectUrlConfig()
/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp126 anonyDhidStr += GetAnonyString(dhidStr.substr(0, pos)) + "."; in SetAnonyId()
127 dhidStr = dhidStr.substr(pos + 1, dhidStr.size()); in SetAnonyId()
131 jsonObj[DINPUT_SOFTBUS_KEY_VECTOR_DHID] = anonyDhidStr.substr(0, anonyDhidStr.length() - 1); in SetAnonyId()
295 std::string matchTmp = strTmp.substr(0, pos); in SplitStringToVector()
297 strTmp = strTmp.substr(pos + 1, strTmp.size()); in SplitStringToVector()

Completed in 18 milliseconds

1...<<11121314151617181920>>...76