Lines Matching refs:line
25 quoted. Note that line-ending tabs and spaces are always encoded, as per
49 line-ending tabs and spaces are always encoded, as per RFC 1521.
60 # RFC 1521 requires that the line ending in a space or tab must have
71 line = input.readline()
72 if not line:
77 if line[-1:] == b'\n':
78 line = line[:-1]
80 # Calculate the un-length-limited encoded line
81 for c in line:
89 # First, write out the previous line
92 # Now see if we need any soft line breaks because of RFC-imposed
96 # Don't forget to include the soft line break `=' sign in the
100 # Write out the current line
102 # Write out the last line, without a trailing newline
130 line = input.readline()
131 if not line: break
132 i, n = 0, len(line)
133 if n > 0 and line[n-1:n] == b'\n':
136 while n > 0 and line[n-1:n] in b" \t\r":
141 c = line[i:i+1]
148 elif i+1 < n and line[i+1:i+2] == ESCAPE:
150 elif i+2 < n and ishex(line[i+1:i+2]) and ishex(line[i+2:i+3]):
151 new = new + bytes((unhex(line[i+1:i+3]),)); i = i+3