Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/
D_core.py222 def send(self, payload, opcode=ABNF.OPCODE_TEXT):
233 frame = ABNF.create_frame(payload, opcode)
265 return self.send(payload, ABNF.OPCODE_BINARY)
275 self.send(payload, ABNF.OPCODE_PING)
285 self.send(payload, ABNF.OPCODE_PONG)
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):
336 elif frame.opcode == ABNF.OPCODE_CLOSE:
339 elif frame.opcode == ABNF.OPCODE_PING:
[all …]
D_abnf.py95 class ABNF(object): class
154 if self.opcode not in ABNF.OPCODES:
157 if self.opcode == ABNF.OPCODE_PING and not self.fin:
160 if self.opcode == ABNF.OPCODE_CLOSE:
196 if opcode == ABNF.OPCODE_TEXT and isinstance(data, six.text_type):
199 return ABNF(fin, 0, 0, 0, opcode, 1, data)
207 if self.opcode not in ABNF.OPCODES:
210 if length >= ABNF.LENGTH_63:
216 if length < ABNF.LENGTH_7:
219 elif length < ABNF.LENGTH_16:
[all …]
D_app.py34 from ._abnf import ABNF
109 def send(self, data, opcode=ABNF.OPCODE_TEXT):
206 if op_code == ABNF.OPCODE_CLOSE:
209 elif op_code == ABNF.OPCODE_PING:
211 elif op_code == ABNF.OPCODE_PONG:
214 elif op_code == ABNF.OPCODE_CONT and self.on_cont_message:
221 if six.PY3 and op_code == ABNF.OPCODE_TEXT:
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/bin/
Dwsdump.py28 OPCODE_DATA = (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY)
144 return websocket.ABNF.OPCODE_CLOSE, None
149 elif frame.opcode == websocket.ABNF.OPCODE_CLOSE:
152 elif frame.opcode == websocket.ABNF.OPCODE_PING:
162 if six.PY3 and opcode == websocket.ABNF.OPCODE_TEXT and isinstance(data, bytes):
167 msg = "%s: %s" % (websocket.ABNF.OPCODE_MAP.get(opcode), data)
175 if opcode == websocket.ABNF.OPCODE_CLOSE:
/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DlangtagRegex.txt9 # It uses Java/Perl syntax instead of the old ABNF
26 …# ABNF (2*3ALPHA) / 4ALPHA / 5*8ALPHA --- note: because of how | works in regex, don't use $alpha…
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DlangtagRegex.txt9 # It uses Java/Perl syntax instead of the old ABNF
26 …# ABNF (2*3ALPHA) / 4ALPHA / 5*8ALPHA --- note: because of how | works in regex, don't use $alpha…
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/en-US/
Den-US_klex.pkb1205 ABNF!6L+9
1207 ABNF'O!$JK'D universally#BNF'O!$JK'D+ universe )B!NF'O$JKunknownA������������������������������…
/external/libcups/filter/
Dspec-ppd.shtml3 … linefeed, or combination of carriage return and line feed. The following ABNF definition [<a href…