Home
last modified time | relevance | path

Searched refs:IAC (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_telnetlib.py298 b'data sample with' + tl.IAC + b' one IAC',
299 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
300 tl.IAC,
306 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
328 self._test_command([tl.IAC, cmd])
329 self._test_command([b'x' * 100, tl.IAC, cmd, b'y'*100])
330 self._test_command([b'x' * 10, tl.IAC, cmd, b'y'*10])
332 self._test_command([tl.IAC + cmd for (cmd) in self.cmds])
336 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
[all …]
/external/toybox/toys/pending/
Dtelnet.c94 dprintf(TT.sock,"%c%c%c%c%c%c",IAC,DONT,TELOPT_ECHO,IAC,DONT,TELOPT_SGA); in handle_esc()
102 dprintf(TT.sock,"%c%c%c%c%c%c",IAC,DO,TELOPT_ECHO,IAC,DO,TELOPT_SGA); in handle_esc()
122 if (TT.request == DO) dprintf(TT.sock, "%c%c%c", IAC, WONT, TELOPT_ECHO); in handle_wwdd()
128 dprintf(TT.sock, "%c%c%c", IAC, TT.echo ? DO : DONT, TELOPT_ECHO); in handle_wwdd()
135 dprintf(TT.sock, "%c%c%c", IAC, TT.sga ? DO : DONT, TELOPT_SGA); in handle_wwdd()
137 dprintf(TT.sock, "%c%c%c", IAC, WILL, TELOPT_TTYPE); in handle_wwdd()
142 dprintf(TT.sock, "%c%c%c%c%c%c%c%c%c%c%c%c", IAC, WILL, TELOPT_NAWS, in handle_wwdd()
143 IAC, SB, TELOPT_NAWS, cols>>8, cols, rows>>8, rows, in handle_wwdd()
144 IAC, SE); in handle_wwdd()
147 dprintf(TT.sock, "%c%c%c", IAC, (TT.request == WILL) ? DONT : WONT, opt); in handle_wwdd()
[all …]
Dtelnetd.c153 char intial_iacs[] = {IAC, DO, TELOPT_ECHO, IAC, DO, TELOPT_NAWS, in new_session()
154 IAC, WILL, TELOPT_ECHO, IAC, WILL, TELOPT_SGA }; in new_session()
184 if (*curr != IAC){ in handle_iacs()
202 if (*(curr+1) == IAC) { //IAC as data --> IAC IAC in handle_iacs()
226 while (*curr != IAC && curr <= end) { in handle_iacs()
230 if (*curr == IAC) { in handle_iacs()
245 char arr[] = {IAC, IAC}; in dup_iacs()
250 if (*start == IAC) { in dup_iacs()
258 needle = memchr(start, IAC, len); in dup_iacs()
/external/python/cpython2/Lib/test/
Dtest_telnetlib.py362 self._test_command(['x' * 100, tl.IAC + cmd, 'y'*100, EOF_sigil])
363 self._test_command(['x' * 10, tl.IAC + cmd, 'y'*10, EOF_sigil])
364 self._test_command([tl.IAC + cmd, EOF_sigil])
366 self._test_command([tl.IAC + cmd for (cmd) in self.cmds] + [EOF_sigil])
371 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
372 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
373 tl.IAC + tl.SB + tl.IAC + tl.IAC + 'aa' + tl.IAC + tl.SE,
374 tl.IAC + tl.SB + 'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
375 tl.IAC + tl.SB + 'cc' + tl.IAC + tl.IAC + 'dd' + tl.IAC + tl.SE,
385 want_sb_data = tl.IAC + tl.IAC + 'aabb' + tl.IAC + 'cc' + tl.IAC + 'dd'
/external/python/cpython2/Demo/sockets/
Dtelnet.py23 IAC = chr(255) # Interpret as command variable
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
/external/python/cpython2/Demo/threads/
Dtelnet.py24 IAC = chr(255) # Interpret as command variable
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
/external/tcpdump/
Dprint-telnet.c67 #define IAC 255 /* interpret as command: */ macro
97 #define TELCMD_LAST IAC
398 if (c != IAC) in telnet_parse()
401 if (c == IAC) { /* <IAC><IAC>! */ in telnet_parse()
408 if (i < 0 || i > IAC - TELCMD_FIRST) in telnet_parse()
431 if (GET_U_1(p) == IAC && GET_U_1(p + 1) == SE) in telnet_parse()
435 if (GET_U_1(p) != IAC) in telnet_parse()
505 while (length > 0 && GET_U_1(sp) == IAC) { in telnet_print()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Drfc2217.py85 IAC = to_bytes([255]) # Interpret As Command variable
90 IAC_DOUBLED = to_bytes([IAC, IAC])
595 self._socket.sendall(to_bytes(data).replace(IAC, IAC_DOUBLED))
705 if byte == IAC:
715 if byte == IAC:
719 suboption.append(IAC)
721 self._read_buffer.put(IAC)
818 self._internal_raw_write(to_bytes([IAC, action, option]))
822 value = value.replace(IAC, IAC_DOUBLED)
823 … self._internal_raw_write(to_bytes([IAC, SB, COM_PORT_OPTION, option] + list(value) + [IAC, SE]))
[all …]
/external/python/cpython3/Lib/
Dtelnetlib.py50 IAC = bytes([255]) # "Interpret As Command" variable
288 if IAC in buffer:
289 buffer = buffer.replace(IAC, IAC+IAC)
440 if c != IAC:
452 if c == IAC:
481 self.sock.sendall(IAC + WONT + opt)
488 self.sock.sendall(IAC + DONT + opt)
/external/python/pyserial/serial/
Drfc2217.py111 IAC = b'\xff' # Interpret As Command variable
638 self._socket.sendall(to_bytes(data).replace(IAC, IAC_DOUBLED))
754 if byte == IAC:
764 if byte == IAC:
768 suboption += IAC
770 self._read_buffer.put(IAC)
862 self._internal_raw_write(IAC + action + option)
866 value = value.replace(IAC, IAC_DOUBLED)
867 self._internal_raw_write(IAC + SB + COM_PORT_OPTION + option + value + IAC + SE)
1001 self.connection.write(IAC + action + option)
[all …]
/external/python/cpython2/Lib/
Dtelnetlib.py51 IAC = chr(255) # "Interpret As Command" variable
280 if IAC in buffer:
281 buffer = buffer.replace(IAC, IAC+IAC)
490 if c != IAC:
502 if c == IAC:
531 self.sock.sendall(IAC + WONT + opt)
538 self.sock.sendall(IAC + DONT + opt)
/external/musl/include/arpa/
Dtelnet.h4 #define IAC 255 macro
30 #define TELCMD_LAST IAC
/external/python/cpython2/Doc/library/
Dtelnetlib.rst23 The symbolic constants for the telnet commands are: IAC, DONT, DO, WONT, WILL,
91 of an IAC sequence.
100 of an IAC sequence.
109 IAC sequence.
172 Write a string to the socket, doubling any IAC characters. This can block if the
/external/python/cpython3/Doc/library/
Dtelnetlib.rst23 The symbolic constants for the telnet commands are: IAC, DONT, DO, WONT, WILL,
99 the midst of an IAC sequence.
108 the midst of an IAC sequence.
117 midst of an IAC sequence.
177 Write a byte string to the socket, doubling any IAC characters. This can
/external/curl/tests/
Dnegtelnetserver.py173 if byte_int == NegTokens.IAC:
232 message = [NegTokens.IAC]
269 IAC = 255 variable in NegTokens
/external/python/pyserial/documentation/
Dexamples.rst84 - Telnet character IAC (0xff) needs to be doubled in data stream. IAC followed
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
Dweb-animations-next.min.js.map1IAC/D,MAEF,IAAgB,gBAAZA,GAAwD,IAA1B5B,EAAY4B,IAAmB/B,EAAOoB,aAAa,qCAAsC,aAAc,uCACvI,MAEFI,GAAOO,GA…
Dweb-animations-next-lite.min.js.map1IAC/D,MAEF,IAAgB,gBAAZA,GAAwD,IAA1B5B,EAAY4B,IAAmB/B,EAAOoB,aAAa,qCAAsC,aAAc,uCACvI,MAEFI,GAAOO,GA…
Dweb-animations.min.js.map1IAC/D,MAEF,IAAgB,gBAAZA,GAAwD,IAA1B5B,EAAY4B,IAAmB/B,EAAOoB,aAAa,qCAAsC,aAAc,uCACvI,MAEFI,GAAOO,GA…
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZInstrSystem.td50 def IAC : InherentRRE<"iac", 0xB224, GR32, null_frag>;
DSystemZScheduleZEC12.td1143 def : InstRW<[WLat3, FXU, NormalGr], (instregex "IAC$")>;
DSystemZScheduleZ196.td1099 def : InstRW<[WLat3, FXU, NormalGr], (instregex "IAC$")>;
DSystemZScheduleZ13.td1419 def : InstRW<[WLat3, FXa, NormalGr], (instregex "IAC$")>;
DSystemZScheduleZ15.td1554 def : InstRW<[WLat3, FXa, NormalGr], (instregex "IAC$")>;
DSystemZScheduleZ14.td1508 def : InstRW<[WLat3, FXa, NormalGr], (instregex "IAC$")>;

12