/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, 65 self.rsv3 = rsv3 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) 198 rsv3 = (first_byte >> 4) & 1 206 'FIN=%s, RSV1=%s, RSV2=%s, RSV3=%s, opcode=%s, ' 208 fin, rsv1, rsv2, rsv3, opcode, mask, payload_length [all...] |
mux.py | 306 rsv3 = (bits & 0x10) == 0x10 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, 65 self.rsv3 = rsv3 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) 198 rsv3 = (first_byte >> 4) & 1 206 'FIN=%s, RSV1=%s, RSV2=%s, RSV3=%s, opcode=%s, ' 208 fin, rsv1, rsv2, rsv3, opcode, mask, payload_length [all...] |
mux.py | 331 rsv3 = (bits & 0x10) == 0x10 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 | 235 rsv3 = (first_byte >> 4) & 1 257 return fin, rsv1, rsv2, rsv3, opcode, payload_length 828 def _assert_receive_data(self, payload, opcode, fin, rsv1, rsv2, rsv3): 850 if rsv3 is None: 851 rsv3 = 0 863 if actual_rsv3 != rsv3: 865 'Unexpected rsv3: %r (expected) vs %r (actual)' % 866 (rsv3, actual_rsv3)) 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): 360 self.rsv3 = rsv3 409 rsv3 = (first_byte << 4) & 1 418 return _InnerFrame(fin, rsv1, rsv2, rsv3, opcode, payload)
|
test_mux.py | 90 opcode, payload, fin, rsv1, rsv2, rsv3 = (
|