Home
last modified time | relevance | path

Searched refs:IAC (Results 1 – 25 of 33) 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.c70 #define IAC 255 /* interpret as command: */ macro
104 #define TELCMD_LAST IAC
407 if (c != IAC) in telnet_parse()
410 if (c == IAC) { /* <IAC><IAC>! */ in telnet_parse()
417 if (i < 0 || i > IAC - TELCMD_FIRST) in telnet_parse()
441 if (p[0] == IAC && p[1] == SE) in telnet_parse()
446 if (*p != IAC) in telnet_parse()
518 while (length > 0 && *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/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/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/curl/tests/
Dnegtelnetserver.py159 if byte_int == NegTokens.IAC:
218 message = [NegTokens.IAC]
255 IAC = 255 variable in NegTokens
/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/openssh/regress/
Dnetcat.c72 #define IAC 255 macro
1070 if (*p != IAC) in atelnet()
1073 obuf[0] = IAC; in atelnet()
/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$")>;
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZInstrSystem.td50 def IAC : InherentRRE<"iac", 0xB224, GR32, null_frag>;
DSystemZScheduleZ196.td1099 def : InstRW<[WLat3, FXU, NormalGr], (instregex "IAC$")>;
DSystemZScheduleZEC12.td1143 def : InstRW<[WLat3, FXU, NormalGr], (instregex "IAC$")>;
DSystemZScheduleZ13.td1419 def : InstRW<[WLat3, FXa, NormalGr], (instregex "IAC$")>;

12