Home
last modified time | relevance | path

Searched refs:stream_dependency (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dframe.rs141 stream_dependency: u32, field
530 pub fn new(exclusive: bool, stream_dependency: u32, weight: u8) -> Self { in new()
533 stream_dependency, in new()
545 self.stream_dependency in get_stream_dependency()
H A Dencoder.rs1690 let stream_dependency = 0x7FFFFFFF; in ut_priority_frame_encoding() localVariable
1691 let priority_payload = Priority::new(true, stream_dependency, 15); in ut_priority_frame_encoding()
1721 assert_eq!(buf[9], (0x80 | ((stream_dependency >> 24) & 0x7F)) as u8); in ut_priority_frame_encoding()
1723 assert_eq!(buf[10], ((stream_dependency >> 16) & 0xFF) as u8); in ut_priority_frame_encoding()
1725 assert_eq!(buf[11], ((stream_dependency >> 8) & 0xFF) as u8); in ut_priority_frame_encoding()
1727 assert_eq!(buf[12], (stream_dependency & 0xFF) as u8); in ut_priority_frame_encoding()
H A Ddecoder.rs464 let stream_dependency = get_stream_id(&buf[..4]); in decode_priority_payload() localVariable
469 frame::Payload::Priority(Priority::new(exclusive, stream_dependency, weight)), in decode_priority_payload()