/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
_stream_hybi.py | 60 def __init__(self, fin=1, rsv1=0, rsv2=0, rsv3=0, 64 self.rsv2 = rsv2 102 def create_header(opcode, payload_length, fin, rsv1, rsv2, rsv3, mask): 115 if (fin | rsv1 | rsv2 | rsv3) & ~1: 121 | (rsv1 << 6) | (rsv2 << 5) | (rsv3 << 4) 145 frame.rsv1, frame.rsv2, frame.rsv3, mask) 197 rsv2 = (first_byte >> 5) & 1 206 'FIN=%s, RSV1=%s, RSV2=%s, RSV3=%s, opcode=%s, ' 208 fin, rsv1, rsv2, rsv3, opcode, mask, payload_length [all...] |
mux.py | 305 rsv2 = (bits & 0x20) == 0x20 312 return fin, rsv1, rsv2, rsv3, opcode, payload 854 (frame.rsv2 << 5) | (frame.rsv3 << 4) | frame.opcode) [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
_stream_hybi.py | 60 def __init__(self, fin=1, rsv1=0, rsv2=0, rsv3=0, 64 self.rsv2 = rsv2 102 def create_header(opcode, payload_length, fin, rsv1, rsv2, rsv3, mask): 115 if (fin | rsv1 | rsv2 | rsv3) & ~1: 121 | (rsv1 << 6) | (rsv2 << 5) | (rsv3 << 4) 145 frame.rsv1, frame.rsv2, frame.rsv3, mask) 197 rsv2 = (first_byte >> 5) & 1 206 'FIN=%s, RSV1=%s, RSV2=%s, RSV3=%s, opcode=%s, ' 208 fin, rsv1, rsv2, rsv3, opcode, mask, payload_length [all...] |
mux.py | 330 rsv2 = (bits & 0x20) == 0x20 337 return fin, rsv1, rsv2, rsv3, opcode, payload 780 opcode, payload, fin, rsv1, rsv2, rsv3 = Stream._receive_frame(self) 788 return opcode, payload, fin, rsv1, rsv2, rsv3 [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
client_for_testing.py | 234 rsv2 = (first_byte >> 5) & 1 257 return fin, rsv1, rsv2, rsv3, opcode, payload_length 828 def _assert_receive_data(self, payload, opcode, fin, rsv1, rsv2, rsv3): 847 if rsv2 is None: 848 rsv2 = 0 858 if actual_rsv2 != rsv2: 860 'Unexpected rsv2: %r (expected) vs %r (actual)' % 861 (rsv2, actual_rsv2)) 884 rsv1=None, rsv2=None, rsv3=None) [all...] |
mux_client_for_testing.py | 295 fin, rsv1, rsv2, rsv3, opcode, payload_length = ( 356 def __init__(self, fin, rsv1, rsv2, rsv3, opcode, payload): 359 self.rsv2 = rsv2 408 rsv2 = (first_byte << 5) & 1 418 return _InnerFrame(fin, rsv1, rsv2, rsv3, opcode, payload)
|
test_mux.py | 90 opcode, payload, fin, rsv1, rsv2, rsv3 = (
|