Home
last modified time | relevance | path

Searched refs:pseudo (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dpseudo.rs160 use crate::h2::pseudo::PseudoHeaders;
171 assert!(pseudo.method.is_none()); in ut_pseudo_headers_new()
172 assert!(pseudo.path.is_none()); in ut_pseudo_headers_new()
173 assert!(pseudo.scheme.is_none()); in ut_pseudo_headers_new()
174 assert!(pseudo.status.is_none()); in ut_pseudo_headers_new()
225 pseudo.set_authority(None); in ut_pseudo_headers_set_authority()
293 pseudo.set_method(None); in ut_pseudo_headers_set_method()
326 assert!(pseudo.contains_path()); in ut_pseudo_headers_contains_path()
359 pseudo.set_path(None); in ut_pseudo_headers_set_path()
426 pseudo.set_scheme(None); in ut_pseudo_headers_set_scheme()
[all …]
H A Dparts.rs15 use crate::h2::pseudo::PseudoHeaders;
21 pub(crate) pseudo: PseudoHeaders,
29 pseudo: PseudoHeaders::new(), in new()
35 pub fn set_pseudo(&mut self, pseudo: PseudoHeaders) { in set_pseudo()
36 self.pseudo = pseudo; in set_pseudo()
45 self.pseudo.is_empty() && self.map.is_empty() in is_empty()
51 Header::Method => self.pseudo.set_method(Some(value)), in update()
52 Header::Path => self.pseudo.set_path(Some(value)), in update()
53 Header::Scheme => self.pseudo.set_scheme(Some(value)), in update()
60 (&self.pseudo, &self.map) in parts()
[all …]
H A Dmod.rs59 mod pseudo; module
70 pub use pseudo::PseudoHeaders;
H A Dencoder.rs1381 new_parts.pseudo.set_method(Some("GET".to_string())); in ut_headers_frame_encoding()
1382 new_parts.pseudo.set_scheme(Some("https".to_string())); in ut_headers_frame_encoding()
1383 new_parts.pseudo.set_path(Some("/code".to_string())); in ut_headers_frame_encoding()
1385 .pseudo in ut_headers_frame_encoding()
1539 new_parts.pseudo.set_method(Some("GET".to_string())); in ut_continue_frame_encoding()
1540 new_parts.pseudo.set_scheme(Some("https".to_string())); in ut_continue_frame_encoding()
1541 new_parts.pseudo.set_path(Some("/code".to_string())); in ut_continue_frame_encoding()
1543 .pseudo in ut_continue_frame_encoding()
1839 new_parts.pseudo.set_method(Some("GET".to_string())); in ut_encode_continuation_frames()
1841 new_parts.pseudo.set_path(Some("/code".to_string())); in ut_encode_continuation_frames()
[all …]
H A Ddecoder.rs910 let (pseudo, header) = headers_frame.parts();
923 pseudo.method().expect("pseudo.method get failed !"),
929 pseudo.scheme().expect("pseudo.scheme get failed !"),
935 pseudo
943 pseudo.path().expect("pseudo.path get failed !"),
949 pseudo.status().expect("pseudo.status get failed !"),
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dpseudo.rs159 use crate::h3::pseudo::PseudoHeaders;
170 assert!(pseudo.method.is_none()); in ut_pseudo_headers_new()
171 assert!(pseudo.path.is_none()); in ut_pseudo_headers_new()
172 assert!(pseudo.scheme.is_none()); in ut_pseudo_headers_new()
173 assert!(pseudo.status.is_none()); in ut_pseudo_headers_new()
224 pseudo.set_authority(None); in ut_pseudo_headers_set_authority()
292 pseudo.set_method(None); in ut_pseudo_headers_set_method()
325 assert!(pseudo.contains_path()); in ut_pseudo_headers_contains_path()
358 pseudo.set_path(None); in ut_pseudo_headers_set_path()
425 pseudo.set_scheme(None); in ut_pseudo_headers_set_scheme()
[all …]
H A Dparts.rs17 use crate::h3::pseudo::PseudoHeaders;
23 pub(crate) pseudo: PseudoHeaders,
31 pseudo: PseudoHeaders::new(), in new()
37 pub fn set_pseudo(&mut self, pseudo: PseudoHeaders) { in set_pseudo()
38 self.pseudo = pseudo; in set_pseudo()
47 self.pseudo.is_empty() && self.map.is_empty() in is_empty()
53 Field::Method => self.pseudo.set_method(Some(value)), in update()
54 Field::Path => self.pseudo.set_path(Some(value)), in update()
55 Field::Scheme => self.pseudo.set_scheme(Some(value)), in update()
62 (&self.pseudo, &self.map) in parts()
[all …]
H A Ddecoder.rs82 let (pseudo, map) = f_decoder.headers.into_parts(); in literal_field_line_with_name_reference()
83 assert_eq!(pseudo.path, Some(String::from("/index.html"))); in literal_field_line_with_name_reference()
H A Dmod.rs22 pub mod pseudo; module
/ohos5.0/docs/en/application-dev/internationalization/
H A Dpseudo-i18n-testing-overview.md4 Pseudo-localization is also called pseudo-translation. It simulates the localization process to hel…
7 …rocess may delay the product release. This is no longer a challenge with pseudo-localization testi…
10 … into [pseudo-localization testing for translation](pseudo-i18n-testing-translation.md) and [pseud…
H A DReadme-EN.md36 - [Overview of Pseudo-Localization Testing](pseudo-i18n-testing-overview.md)
37 - [Pseudo-Localization Testing for Translation](pseudo-i18n-testing-translation.md)
38 - [Pseudo-Localization Testing for UI Mirroring](pseudo-i18n-testing-mirror.md)
H A Dpseudo-i18n-testing-mirror.md5 The pseudo-localization testing for UI mirroring aims to check whether the text reading direction i…
9 1. Switch to the target locale for pseudo-localization testing, for example, **ar-XB**.
H A Dpseudo-i18n-testing-translation.md15 1. Switch to the target locale for pseudo-localization testing, for example, **en-XA**.
31 … of UI text can be observed by checking whether the text is processed in pseudo-translation format.
33 … String concatenation can be observed by checking whether strings in the pseudo-translation format…
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp2.rs75 let (pseudo, fields) = headers.parts(); in frame_2_response()
76 let status_code = match pseudo.status() { in frame_2_response()
131 let pseudo = build_pseudo_headers(&mut part)?; in build_headers_frame() localVariable
134 header_part.set_pseudo(pseudo); in build_headers_frame()
175 let mut pseudo = PseudoHeaders::default(); in build_pseudo_headers() localVariable
183 pseudo.set_path( in build_pseudo_headers()
193 pseudo.set_authority(host); in build_pseudo_headers()
194 Ok(pseudo) in build_pseudo_headers()
423 let (pseudo, _headers) = headers.parts(); in ut_http2_build_headers_frame()
424 assert_eq!(pseudo.status(), None); in ut_http2_build_headers_frame()
[all …]
/ohos5.0/docs/zh-cn/application-dev/internationalization/
H A Dpseudo-i18n-testing-overview.md4 伪本地化(pseudo-localization)又称伪翻译,是在正式的本地化之前,通过模拟本地化过程帮助发现本地化的潜在问题,避免功能缺陷。它是软件测试中用来测试软件是否符合本地化与国际化的方法之…
10 伪本地化测试包括[翻译伪本地化](pseudo-i18n-testing-translation.md)和[界面镜像伪本地化](pseudo-i18n-testing-mirror.md)。
H A DReadme-CN.md36 - [伪本地化测试概述](pseudo-i18n-testing-overview.md)
37 - [翻译伪本地化测试](pseudo-i18n-testing-translation.md)
38 - [界面镜像伪本地化测试](pseudo-i18n-testing-mirror.md)
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Ddecoder.rs225 $pseudo: expr, in ut_hpack_decoder()
228 assert_eq!($pseudo.authority(), $a); in ut_hpack_decoder()
229 assert_eq!($pseudo.method(), $m); in ut_hpack_decoder()
230 assert_eq!($pseudo.path(), $p); in ut_hpack_decoder()
231 assert_eq!($pseudo.scheme(), $sc); in ut_hpack_decoder()
232 assert_eq!($pseudo.status(), $st); in ut_hpack_decoder()
290 let (pseudo, _) = get_parts!(_hpack $(, $input)*).into_parts(); in ut_hpack_decoder()
291 check_pseudo!(pseudo, { $a, $m, $p, $sc, $st }); in ut_hpack_decoder()
313 let (pseudo, map) = get_parts!(_hpack $(, $input)*).into_parts(); in ut_hpack_decoder()
314 check_pseudo!(pseudo, { $a, $m, $p, $sc, $st }); in ut_hpack_decoder()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
H A Dencoder.rs154 pseudo: PseudoHeaders, field
173 pseudo: parts.pseudo, in new()
184 PartsIterDirection::Method => match self.pseudo.take_method() { in next()
188 PartsIterDirection::Status => match self.pseudo.take_status() { in next()
192 PartsIterDirection::Scheme => match self.pseudo.take_scheme() { in next()
196 PartsIterDirection::Path => match self.pseudo.take_path() { in next()
200 PartsIterDirection::Authority => match self.pseudo.take_authority() { in next()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Ddecoder.rs631 $pseudo: expr, in ut_qpack_decoder()
634 assert_eq!($pseudo.authority(), $a); in ut_qpack_decoder()
635 assert_eq!($pseudo.method(), $m); in ut_qpack_decoder()
636 assert_eq!($pseudo.path(), $p); in ut_qpack_decoder()
637 assert_eq!($pseudo.scheme(), $sc); in ut_qpack_decoder()
638 assert_eq!($pseudo.status(), $st); in ut_qpack_decoder()
669 let (pseudo, _) = get_parts!(_qpack $(, $input)*).into_parts(); in ut_qpack_decoder()
670 check_pseudo!(pseudo, { $a, $m, $p, $sc, $st }); in ut_qpack_decoder()
688 let (pseudo, map) = get_parts!(_hpack $(, $input)*).into_parts(); in ut_qpack_decoder()
689 check_pseudo!(pseudo, { $a, $m, $p, $sc, $st }); in ut_qpack_decoder()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
H A Dencoder.rs24 use crate::h3::pseudo::PseudoHeaders;
904 pseudo: PseudoHeaders, field
923 pseudo: parts.pseudo, in new()
934 PartsIterDirection::Method => match self.pseudo.take_method() { in next()
938 PartsIterDirection::Status => match self.pseudo.take_status() { in next()
942 PartsIterDirection::Scheme => match self.pseudo.take_scheme() { in next()
946 PartsIterDirection::Path => match self.pseudo.take_path() { in next()
950 PartsIterDirection::Authority => match self.pseudo.take_authority() { in next()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-framework-syntax-css.md96 A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected …
102 …ackground-color** and **background-image** attributes can be set for the pseudo-class selector on …
103 …ackground-color** and **background-image** attributes can be set for the pseudo-class selector on …
105 The following is an example for you to use the **:active** pseudo-class to control the style when a…
/ohos5.0/docs/en/application-dev/ui/
H A Djs-framework-syntax-css.md123 A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected …
125pseudo-class, a combination of pseudo-classes is supported. For example, **:focus:checked** select…
134 The following is an example for you to use the **:active** pseudo-class to control the style when a…
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-statestyles.md12 …style based on the internal state of a component. It is similar to a CSS pseudo-class, with differ…
/ohos5.0/docs/en/application-dev/napi/
H A Djsvm-optimizations.md69 The pseudo-code of this process is as follows:
90 The pseudo-code of this process is as follows:
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-generate-random-number.md7 …m numbers generated by the system meet the requirements of cryptography security pseudo-randomness.

12