Home
last modified time | relevance | path

Searched refs:previous (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dredirect.rs62 info.previous.push(request.uri().clone());
86 if let Some(previous) = info.previous.last() {
87 if location.authority() != previous.authority() {
107 previous: Vec<Uri>,
113 previous: Vec::new(),
127 Self::LimitTimes(max) => (info.previous.len() < *max) in trigger()
/commonlibrary/ets_utils/js_api_module/uri/
H A Djs_uri.cpp482 size_t previous = 0; in GetSegment() local
484 for (current = uriData_.path.find('/', previous); current != std::string::npos; in GetSegment()
485 current = uriData_.path.find('/', previous)) { in GetSegment()
486 if (previous < current) { in GetSegment()
487 std::string segment = uriData_.path.substr(previous, current - previous); in GetSegment()
490 previous = current + 1; in GetSegment()
492 if (previous < uriData_.path.length()) { in GetSegment()
493 segments.push_back(uriData_.path.substr(previous)); in GetSegment()

Completed in 2 milliseconds