Home
last modified time | relevance | path

Searched refs:OPCODE_TEXT (Results 1 – 9 of 9) sorted by relevance

/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java33 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_TEXT;
64 BufferedSink sink = Okio.buffer(serverWriter.newMessageSink(OPCODE_TEXT)); in serverTextMessage()
77 BufferedSink sink = Okio.buffer(serverWriter.newMessageSink(OPCODE_TEXT)); in closeFlushes()
87 Sink sink = serverWriter.newMessageSink(OPCODE_TEXT); in noWritesAfterClose()
103 BufferedSink sink = Okio.buffer(clientWriter.newMessageSink(OPCODE_TEXT)); in clientTextMessage()
308 clientWriter.newMessageSink(OPCODE_TEXT); in twoMessageSinksThrows()
310 clientWriter.newMessageSink(OPCODE_TEXT); in twoMessageSinksThrows()
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/
D_abnf.py104 OPCODE_TEXT = 0x1 variable in ABNF
111 OPCODES = (OPCODE_CONT, OPCODE_TEXT, OPCODE_BINARY, OPCODE_CLOSE,
117 OPCODE_TEXT: "text",
130 opcode=OPCODE_TEXT, mask=1, data=""):
196 if opcode == ABNF.OPCODE_TEXT and isinstance(data, six.text_type):
397 frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
404 if frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
418 …if not self.fire_cont_frame and data[0] == ABNF.OPCODE_TEXT and not self.skip_utf8_validation and …
D_core.py222 def send(self, payload, opcode=ABNF.OPCODE_TEXT):
294 if six.PY3 and opcode == ABNF.OPCODE_TEXT:
296 elif opcode == ABNF.OPCODE_TEXT or opcode == ABNF.OPCODE_BINARY:
329 elif frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY, ABNF.OPCODE_CONT):
D_app.py109 def send(self, data, opcode=ABNF.OPCODE_TEXT):
221 if six.PY3 and op_code == ABNF.OPCODE_TEXT:
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/compliance/
Dtest_fuzzingclient.py24 if opcode == websocket.ABNF.OPCODE_TEXT:
26 if opcode in (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY):
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DRealWebSocket.java35 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_TEXT;
119 formatOpcode = OPCODE_TEXT; in sendMessage()
DWebSocketProtocol.java63 static final int OPCODE_TEXT = 0x1; field in WebSocketProtocol
DWebSocketReader.java43 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_TEXT;
216 case OPCODE_TEXT: in readMessageFrame()
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/bin/
Dwsdump.py28 OPCODE_DATA = (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY)
162 if six.PY3 and opcode == websocket.ABNF.OPCODE_TEXT and isinstance(data, bytes):