Home
last modified time | relevance | path

Searched refs:update (Results 1 - 9 of 9) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dparts.rs50 pub fn update(&mut self, headers: NameField, value: String) { in update() functions
87 /// 2. Calls the update method to update parts' content.
92 part.update(NameField::Status, "200".to_string()); in ut_h3_part_update()
93 part.update(NameField::Method, "POST".to_string()); in ut_h3_part_update()
94 part.update(NameField::Path, "/test".to_string()); in ut_h3_part_update()
95 part.update(NameField::Scheme, "HTTPS".to_string()); in ut_h3_part_update()
96 part.update(NameField::Authority, "www.example.com".to_string()); in ut_h3_part_update()
97 part.update( in ut_h3_part_update()
H A Dencoder.rs712 parts.update( in ut_encoder_request_stream_header()
716 parts.update(NameField::Method, "GET".to_string()); in ut_encoder_request_stream_header()
717 parts.update(NameField::Scheme, "HTTPS".to_string()); in ut_encoder_request_stream_header()
718 parts.update(NameField::Authority, "www.example.com".to_string()); in ut_encoder_request_stream_header()
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Ddecoder.rs393 self.table.update(f, v); in update_table()
402 self.table.update(f, v); in duplicate()
473 self.lines.parts.update(f, v); in search_indexed()
480 self.lines.parts.update(f, v); in search_indexed()
491 self.lines.parts.update(f, v); in search_post_indexed()
508 self.lines.parts.update(f, v); in search_literal_with_indexing()
525 self.lines.parts.update(f, v); in search_literal_with_post_indexing()
542 self.lines.parts.update(h, v); in search_listeral_with_literal()
H A Dencoder.rs65 pub(crate) fn update(&mut self, unacked: HashSet<usize>) {
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Dtable.rs84 /// The encoder decides how to update the dynamic table and as such can control
125 pub(crate) fn update(&mut self, header: Header, value: String) {
473 table.update(Header::Authority, String::from("Authority")); in ut_dynamic_table_header_name()
492 table.update(Header::Authority, String::from("Authority")); in ut_dynamic_table_header()
499 /// UT test cases for `DynamicTable::update`.
503 /// 2. Calls `DynamicTable::update` to insert a header and a value.
508 table.update(Header::Authority, String::from("Authority")); in ut_dynamic_table_update()
515 table.update(Header::Method, String::from("Method")); in ut_dynamic_table_update()
527 /// 2. Calls `DynamicTable::update_size` to update its max size.
532 table.update(Heade in ut_dynamic_table_update_size()
[all...]
H A Ddecoder.rs64 Some(repr) => updater.update(repr)?,
90 /// `Updater` is used to update `DynamicTable` `PseudoHeaders` and
113 fn update(&mut self, repr: Representation) -> Result<(), H2Error> { in update() functions
138 self.lines.parts.update(h, v); in update_indexed()
145 self.table.update(h.clone(), v.clone()); in update_literal_with_indexing()
146 self.lines.parts.update(h, v); in update_literal_with_indexing()
157 self.lines.parts.update(h, v); in update_literal_without_indexing()
H A Dencoder.rs39 // TODO enable update header_table_size
85 parts.update($h, $v); in ut_hpack_encoder()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dparts.rs48 pub(crate) fn update(&mut self, headers: Header, value: String) {
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dselector.rs192 sock_internal.update(sock)?; in update_sockets_events()
242 // Put back in the update queue VecDeque
425 fn update(&mut self, self_arc: &Pin<Arc<Mutex<SockState>>>) -> io::Result<()> { in update() functions
429 "SockState update when delete_panding is true, {:#?}", in update()
433 // Make sure to reset previous error before a new update in update()

Completed in 6 milliseconds