Home
last modified time | relevance | path

Searched refs:tempUrl (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/netstack/utils/common_utils/src/
H A Dnetstack_common_utils.cpp311 std::string tempUrl = url; in GetHostnameFromURL() local
312 std::replace(tempUrl.begin(), tempUrl.end(), '\\', '/'); in GetHostnameFromURL()
313 size_t posStart = tempUrl.find(delimiter); in GetHostnameFromURL()
319 size_t notSlash = tempUrl.find_first_not_of('/', posStart); in GetHostnameFromURL()
323 size_t posEnd = std::min({ tempUrl.find(':', posStart), in GetHostnameFromURL()
324 tempUrl.find('/', posStart), tempUrl.find('?', posStart) }); in GetHostnameFromURL()
326 return tempUrl.substr(posStart, posEnd - posStart); in GetHostnameFromURL()
328 return tempUrl in GetHostnameFromURL()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/network_client/
H A Dhttp_curl_client.cpp92 std::string tempUrl = url; in GetHostnameFromURL() local
93 size_t posStart = tempUrl.find(delimiter); in GetHostnameFromURL()
99 size_t posEnd = std::min({tempUrl.find(":", posStart), tempUrl.find("/", posStart), tempUrl.find("?", posStart)}); in GetHostnameFromURL()
101 return tempUrl.substr(posStart, posEnd - posStart); in GetHostnameFromURL()
103 return tempUrl.substr(posStart); in GetHostnameFromURL()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dpage_router_manager.cpp799 std::string tempUrl = url; in GetPageNameAndPath() local
802 tempUrl = pagePath; in GetPageNameAndPath()
804 auto pos = tempUrl.rfind(".js"); in GetPageNameAndPath()
805 if (pos == tempUrl.length() - JS_FILE_EXTENSION_LENGTH) { in GetPageNameAndPath()
806 tempUrl = tempUrl.substr(0, pos); in GetPageNameAndPath()
808 pos = tempUrl.rfind("/"); in GetPageNameAndPath()
810 name = tempUrl.substr(pos + 1); in GetPageNameAndPath()
811 path = tempUrl.substr(0, pos + 1); in GetPageNameAndPath()
817 path = "/" + tempUrl; in GetPageNameAndPath()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_mpd_downloader.cpp136 static DashSegmentInitValue AddOneSegment(unsigned int segRealDur, int64_t segmentSeq, const std::string &tempUrl, in AddOneSegment() argument
145 segment->url_ = tempUrl; in AddOneSegment()
1562 std::string tempUrl = mediaUrl; in GetSegmentsWithTmpltDurationStatic() local
1564 if (DashSubstituteTmpltStr(tempUrl, "$Time", std::to_string(startTime)) == -1) { in GetSegmentsWithTmpltDurationStatic()
1570 if (DashSubstituteTmpltStr(tempUrl, "$Number", std::to_string(segmentSeq)) == -1) { in GetSegmentsWithTmpltDurationStatic()
1576 if (DASH_SEGMENT_INIT_FAILED == AddOneSegment(segRealDur, segmentSeq, tempUrl, desc)) { in GetSegmentsWithTmpltDurationStatic()
1644 std::string tempUrl = sampleInfo.mediaUrl_; in GetSegmentsInOneTimeline() local
1645 if (DashSubstituteTmpltStr(tempUrl, "$Time", std::to_string(startTime)) == -1) { in GetSegmentsInOneTimeline()
1651 if (DashSubstituteTmpltStr(tempUrl, "$Number", std::to_string(segmentSeq)) == -1) { in GetSegmentsInOneTimeline()
1657 if (DASH_SEGMENT_INIT_FAILED == AddOneSegment(sampleInfo.segDuration_, segmentSeq, tempUrl, streamDes in GetSegmentsInOneTimeline()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.cpp1100 std::string tempUrl; in GetRouterStateByUrl() local
1114 tempUrl = url.substr(0, pos); in GetRouterStateByUrl()
1116 pos = tempUrl.rfind("/"); in GetRouterStateByUrl()
1118 stateInfo.name = tempUrl.substr(pos + 1); in GetRouterStateByUrl()
1119 stateInfo.path = tempUrl.substr(0, pos + 1); in GetRouterStateByUrl()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_engine.cpp305 std::string tempUrl = OHMURL_START_TAG + bundleName + "/" + moduleName; in BuildOhmUrl() local
306 std::string ohmUrl = tempUrl + "/ets/" + pagePath; in BuildOhmUrl()
322 return tempUrl + "@" + harModuleName + "/" + newPagePath; in BuildOhmUrl()

Completed in 18 milliseconds