Home
last modified time | relevance | path

Searched refs:WriteUInt16 (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/flip/
Dflip_framer_test.cc156 frame.WriteUInt16(kControlFlagMask | 1); in TEST_F()
157 frame.WriteUInt16(SYN_STREAM); in TEST_F()
160 frame.WriteUInt16(0); // Priority. in TEST_F()
162 frame.WriteUInt16(2); // Number of headers. in TEST_F()
181 frame.WriteUInt16(kControlFlagMask | 1); in TEST_F()
182 frame.WriteUInt16(SYN_STREAM); in TEST_F()
185 frame.WriteUInt16(0); // Priority. in TEST_F()
187 frame.WriteUInt16(2); // Number of headers. in TEST_F()
207 frame.WriteUInt16(kControlFlagMask | 1); in TEST_F()
208 frame.WriteUInt16(SYN_STREAM); in TEST_F()
[all …]
Dflip_framer.cc438 frame.WriteUInt16(kControlFlagMask | kFlipProtocolVersion); in CreateSynStream()
439 frame.WriteUInt16(SYN_STREAM); in CreateSynStream()
442 frame.WriteUInt16(ntohs(priority) << 6); // Priority. in CreateSynStream()
444 frame.WriteUInt16(headers->size()); // Number of headers. in CreateSynStream()
471 frame.WriteUInt16(kControlFlagMask | kFlipProtocolVersion); in CreateFinStream()
472 frame.WriteUInt16(FIN_STREAM); in CreateFinStream()
484 frame.WriteUInt16(kControlFlagMask | kFlipProtocolVersion); in CreateSynReply()
485 frame.WriteUInt16(SYN_REPLY); in CreateSynReply()
488 frame.WriteUInt16(0); // Unused in CreateSynReply()
490 frame.WriteUInt16(headers->size()); // Number of headers. in CreateSynReply()
[all …]
Dflip_frame_builder.cc140 if (!WriteUInt16(static_cast<int>(value.size()))) in WriteString()
150 if (!WriteUInt16(length)) in BeginWriteData()
Dflip_frame_builder.h69 bool WriteUInt16(uint16 value) { in WriteUInt16() function