Home
last modified time | relevance | path

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

12345678910>>...18

/dports/net-p2p/bazarr/bazarr-1.0.2/libs/websocket/tests/
H A Dtest_abnf.py35 a = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING)
47 a_invalid_ping = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING)
49 a_bad_rsv_value = ABNF(0,1,0,0, opcode=ABNF.OPCODE_TEXT)
53 a_bad_close_frame = ABNF(0,0,0,0, opcode=ABNF.OPCODE_CLOSE, data=b'\x01')
57 a_bad_close_frame_3 = ABNF(0,0,0,0, opcode=ABNF.OPCODE_CLOSE, data=b'\x03\xe7')
61 abnf_none_data = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING, mask=1, data=None)
64 abnf_str_data = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING, mask=1, data="a")
68 abnf_bad_rsv_bits = ABNF(2,0,0,0, opcode=ABNF.OPCODE_TEXT)
72 abnf_length_10 = ABNF(0,0,0,0, opcode=ABNF.OPCODE_TEXT, data="abcdefghij")
76 abnf_length_20 = ABNF(0,0,0,0, opcode=ABNF.OPCODE_BINARY, data="abcdefghijabcdefghij")
[all …]
H A Dtest_app.py162 closeframe = ws.ABNF(opcode=ws.ABNF.OPCODE_CLOSE, data=b'\x03\xe8no-init-from-client')
165 closeframe = ws.ABNF(opcode=ws.ABNF.OPCODE_CLOSE, data=b'')
169 closeframe = ws.ABNF(opcode=ws.ABNF.OPCODE_CLOSE, data=b'')
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/websocket/tests/
H A Dtest_abnf.py33 a = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING)
45 a_invalid_ping = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING)
47 a_bad_rsv_value = ABNF(0,1,0,0, opcode=ABNF.OPCODE_TEXT)
51 a_bad_close_frame = ABNF(0,0,0,0, opcode=ABNF.OPCODE_CLOSE, data=b'\x01')
55 a_bad_close_frame_3 = ABNF(0,0,0,0, opcode=ABNF.OPCODE_CLOSE, data=b'\x03\xe7')
59 abnf_none_data = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING, mask=1, data=None)
62 abnf_str_data = ABNF(0,0,0,0, opcode=ABNF.OPCODE_PING, mask=1, data="a")
66 abnf_bad_rsv_bits = ABNF(2,0,0,0, opcode=ABNF.OPCODE_TEXT)
70 abnf_length_10 = ABNF(0,0,0,0, opcode=ABNF.OPCODE_TEXT, data="abcdefghij")
74 abnf_length_20 = ABNF(0,0,0,0, opcode=ABNF.OPCODE_BINARY, data="abcdefghijabcdefghij")
[all …]
H A Dtest_app.py164 closeframe = ws.ABNF(opcode=ws.ABNF.OPCODE_CLOSE, data=b'\x03\xe8no-init-from-client')
167 closeframe = ws.ABNF(opcode=ws.ABNF.OPCODE_CLOSE, data=b'')
171 closeframe = ws.ABNF(opcode=ws.ABNF.OPCODE_CLOSE, data=b'')
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/third_party/websocket-client/websocket/
H A D_core.py222 def send(self, payload, opcode=ABNF.OPCODE_TEXT):
233 frame = ABNF.create_frame(payload, opcode)
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:
347 elif frame.opcode == ABNF.OPCODE_PONG:
[all …]
H A D_abnf.py95 class ABNF(object): class
154 if self.opcode not in ABNF.OPCODES:
160 if self.opcode == ABNF.OPCODE_CLOSE:
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:
235 s = ABNF.mask(mask_key, self.data)
352 payload = ABNF.mask(mask, payload)
397 frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
[all …]
H A 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:
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/websocket/
H A D_core.py252 frame = ABNF.create_frame(payload, opcode)
294 self.send(payload, ABNF.OPCODE_PING)
304 self.send(payload, ABNF.OPCODE_PONG)
314 if six.PY3 and opcode == ABNF.OPCODE_TEXT:
316 elif opcode == ABNF.OPCODE_TEXT or opcode == ABNF.OPCODE_BINARY:
349 elif frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY, ABNF.OPCODE_CONT):
356 elif frame.opcode == ABNF.OPCODE_CLOSE:
359 elif frame.opcode == ABNF.OPCODE_PING:
367 elif frame.opcode == ABNF.OPCODE_PONG:
387 if status < 0 or status >= ABNF.LENGTH_16:
[all …]
H A D_abnf.py105 class ABNF(object): class
164 if self.opcode not in ABNF.OPCODES:
170 if self.opcode == ABNF.OPCODE_CLOSE:
209 return ABNF(fin, 0, 0, 0, opcode, 1, data)
217 if self.opcode not in ABNF.OPCODES:
220 if length >= ABNF.LENGTH_63:
226 if length < ABNF.LENGTH_7:
229 elif length < ABNF.LENGTH_16:
245 s = ABNF.mask(mask_key, self.data)
422 frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
[all …]
H A D_app.py35 from ._abnf import ABNF
145 def send(self, data, opcode=ABNF.OPCODE_TEXT):
272 if op_code == ABNF.OPCODE_CLOSE:
274 elif op_code == ABNF.OPCODE_PING:
276 elif op_code == ABNF.OPCODE_PONG:
279 elif op_code == ABNF.OPCODE_CONT and self.on_cont_message:
286 if six.PY3 and op_code == ABNF.OPCODE_TEXT:
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/websocket/
H A D_core.py268 def send(self, payload, opcode=ABNF.OPCODE_TEXT):
282 frame = ABNF.create_frame(payload, opcode)
330 self.send(payload, ABNF.OPCODE_PING)
343 self.send(payload, ABNF.OPCODE_PONG)
355 if opcode == ABNF.OPCODE_TEXT:
357 elif opcode == ABNF.OPCODE_TEXT or opcode == ABNF.OPCODE_BINARY:
405 elif frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY, ABNF.OPCODE_CONT):
412 elif frame.opcode == ABNF.OPCODE_CLOSE:
415 elif frame.opcode == ABNF.OPCODE_PING:
423 elif frame.opcode == ABNF.OPCODE_PONG:
[all …]
H A D_abnf.py100 class ABNF(object): class
161 if self.opcode not in ABNF.OPCODES:
167 if self.opcode == ABNF.OPCODE_CLOSE:
208 return ABNF(fin, 0, 0, 0, opcode, 1, data)
216 if self.opcode not in ABNF.OPCODES:
219 if length >= ABNF.LENGTH_63:
225 if length < ABNF.LENGTH_7:
227 elif length < ABNF.LENGTH_16:
241 s = ABNF.mask(mask_key, self.data)
411 frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
[all …]
H A D_app.py30 from ._abnf import ABNF
174 def send(self, data, opcode=ABNF.OPCODE_TEXT):
329 if op_code == ABNF.OPCODE_CLOSE:
331 elif op_code == ABNF.OPCODE_PING:
333 elif op_code == ABNF.OPCODE_PONG:
336 elif op_code == ABNF.OPCODE_CONT and self.on_cont_message:
343 if op_code == ABNF.OPCODE_TEXT:
/dports/www/py-websocket-client/websocket_client-0.58.0/websocket/
H A D_core.py267 def send(self, payload, opcode=ABNF.OPCODE_TEXT):
281 frame = ABNF.create_frame(payload, opcode)
329 self.send(payload, ABNF.OPCODE_PING)
342 self.send(payload, ABNF.OPCODE_PONG)
354 if six.PY3 and opcode == ABNF.OPCODE_TEXT:
356 elif opcode == ABNF.OPCODE_TEXT or opcode == ABNF.OPCODE_BINARY:
401 elif frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY, ABNF.OPCODE_CONT):
408 elif frame.opcode == ABNF.OPCODE_CLOSE:
411 elif frame.opcode == ABNF.OPCODE_PING:
419 elif frame.opcode == ABNF.OPCODE_PONG:
[all …]
H A D_abnf.py108 class ABNF(object): class
169 if self.opcode not in ABNF.OPCODES:
175 if self.opcode == ABNF.OPCODE_CLOSE:
217 return ABNF(fin, 0, 0, 0, opcode, 1, data)
225 if self.opcode not in ABNF.OPCODES:
228 if length >= ABNF.LENGTH_63:
234 if length < ABNF.LENGTH_7:
237 elif length < ABNF.LENGTH_16:
253 s = ABNF.mask(mask_key, self.data)
433 frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
[all …]
H A D_app.py34 from ._abnf import ABNF
167 def send(self, data, opcode=ABNF.OPCODE_TEXT):
316 if op_code == ABNF.OPCODE_CLOSE:
318 elif op_code == ABNF.OPCODE_PING:
320 elif op_code == ABNF.OPCODE_PONG:
323 elif op_code == ABNF.OPCODE_CONT and self.on_cont_message:
330 if six.PY3 and op_code == ABNF.OPCODE_TEXT:
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/websocket/
H A D_core.py268 def send(self, payload, opcode=ABNF.OPCODE_TEXT):
282 frame = ABNF.create_frame(payload, opcode)
330 self.send(payload, ABNF.OPCODE_PING)
343 self.send(payload, ABNF.OPCODE_PONG)
355 if opcode == ABNF.OPCODE_TEXT:
357 elif opcode == ABNF.OPCODE_TEXT or opcode == ABNF.OPCODE_BINARY:
405 elif frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY, ABNF.OPCODE_CONT):
412 elif frame.opcode == ABNF.OPCODE_CLOSE:
415 elif frame.opcode == ABNF.OPCODE_PING:
423 elif frame.opcode == ABNF.OPCODE_PONG:
[all …]
H A D_abnf.py99 class ABNF(object): class
160 if self.opcode not in ABNF.OPCODES:
166 if self.opcode == ABNF.OPCODE_CLOSE:
207 return ABNF(fin, 0, 0, 0, opcode, 1, data)
215 if self.opcode not in ABNF.OPCODES:
218 if length >= ABNF.LENGTH_63:
224 if length < ABNF.LENGTH_7:
226 elif length < ABNF.LENGTH_16:
240 s = ABNF.mask(mask_key, self.data)
398 frame.opcode in (ABNF.OPCODE_TEXT, ABNF.OPCODE_BINARY):
[all …]
H A D_app.py28 from ._abnf import ABNF
176 def send(self, data, opcode=ABNF.OPCODE_TEXT):
336 if op_code == ABNF.OPCODE_CLOSE:
338 elif op_code == ABNF.OPCODE_PING:
340 elif op_code == ABNF.OPCODE_PONG:
343 elif op_code == ABNF.OPCODE_CONT and self.on_cont_message:
350 if op_code == ABNF.OPCODE_TEXT:
/dports/www/py-websocket-client/websocket_client-0.58.0/bin/
H A Dwsdump.py54 OPCODE_DATA = (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY)
170 return websocket.ABNF.OPCODE_CLOSE, None
175 elif frame.opcode == websocket.ABNF.OPCODE_CLOSE:
178 elif frame.opcode == websocket.ABNF.OPCODE_PING:
188 if six.PY3 and opcode == websocket.ABNF.OPCODE_TEXT and isinstance(data, bytes):
205 msg = "%s: %s" % (websocket.ABNF.OPCODE_MAP.get(opcode), data)
215 if opcode == websocket.ABNF.OPCODE_CLOSE:
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/third_party/websocket-client/bin/
H A 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:
/dports/databases/pgloader3/cl-abnf-20200325-git/
H A DREADME.md1 # ABNF DEFINITION OF ABNF
3 This Common Lisp librairie implements a parser generator for the ABNF
8 recursive grammar definition. One such definition is the ABNF definition as
10 need to generate another parser to handle that particular ABNF grammar.
20 Currently the ABNF system is maintained as part of the `pgloader` tool as a
52 "A timestamp ABNF grammar.")
64 ## ABNF grammar
66 This library supports the ABNF grammar as given in RFC 2234, with additional
137 rules of the ABNF definition.
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/third_party/websocket-client/compliance/
H A Dtest_fuzzingclient.py24 if opcode == websocket.ABNF.OPCODE_TEXT:
26 if opcode in (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY):
/dports/multimedia/tautulli/Tautulli-2.8.0/plexpy/
H A Dweb_socket.py47 opcode_data = (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY)
256 elif frame.opcode == websocket.ABNF.OPCODE_CLOSE:
259 elif frame.opcode == websocket.ABNF.OPCODE_PING:
262 elif frame.opcode == websocket.ABNF.OPCODE_PONG:
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/data/fuzzer_dictionaries/
H A Dnet_websocket_frame_parser_fuzzer.dict80 "ABNF."
241 "ABNF)."
297 "ABNF\","
312 "ABNF,"
328 "ABNF"

12345678910>>...18