/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_readline.py | 12 readline = import_module('readline') variable 16 readline.clear_history() 18 readline.add_history("first line") 19 readline.add_history("second line") 21 self.assertEqual(readline.get_history_item(0), None) 22 self.assertEqual(readline.get_history_item(1), "first line") 23 self.assertEqual(readline.get_history_item(2), "second line") 25 readline.replace_history_item(0, "replaced line") 26 self.assertEqual(readline.get_history_item(0), None) 27 self.assertEqual(readline.get_history_item(1), "replaced line") [all …]
|
D | test_bufio.py | 32 line = f.readline() 34 line = f.readline() 36 line = f.readline()
|
D | test_univnewlines2k.py | 64 d = fp.readline() 67 d = fp.readline() 73 fp.readline() 111 data = fp.readline()
|
D | test_codecs.py | 80 line = reader.readline(size=size, keepends=keepends) 111 reader.readline(keepends=True), 117 reader.readline(keepends=False), 197 self.assertEqual(reader.readline(keepends=False), u"foo") 199 self.assertEqual(reader.readline(keepends=False), u"") 200 self.assertEqual(reader.readline(keepends=False), u"bar") 202 self.assertEqual(reader.readline(keepends=False), u"baz") 203 self.assertEqual(reader.readline(keepends=False), u"") 207 self.assertEqual(reader.readline(keepends=True), u"foo\r") 209 self.assertEqual(reader.readline(keepends=True), u"\n") [all …]
|
D | test_univnewlines.py | 74 d = fp.readline() 77 d = fp.readline() 83 fp.readline() 107 data = fp.readline()
|
D | test_tokenize.py | 543 for type, token, start, end, line in generate_tokens(f.readline): 574 g = generate_tokens(StringIO(s).readline) # tokenize the string
|
D | test_memoryio.py | 181 self.assertEqual(memio.readline(0), self.EOF) 182 self.assertEqual(memio.readline(), buf) 183 self.assertEqual(memio.readline(), buf) 184 self.assertEqual(memio.readline(), self.EOF) 186 self.assertEqual(memio.readline(5), buf[:5]) 188 self.assertEqual(memio.readline(5L), buf[5:10]) 189 self.assertEqual(memio.readline(5), buf[10:15]) 191 self.assertEqual(memio.readline(-1), buf) 193 self.assertEqual(memio.readline(0), self.EOF) 197 self.assertEqual(memio.readline(), buf) [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Scripts/Ds5/ |
D | profile.py | 120 line = trace.readline() 169 line = info_file_str.readline().strip('\n') 177 line = info_file_str.readline().strip('\n') 182 line = info_file_str.readline().strip('\n') 187 line = info_file_str.readline().strip('\n') 189 line = info_file_str.readline().strip('\n') 190 line = info_file_str.readline().strip('\n') 199 line = info_func_str.readline().strip('\n') 204 line = info_func_str.readline().strip('\n') 206 line = info_func_str.readline().strip('\n') [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | cmd.py | 112 import readline 113 self.old_completer = readline.get_completer() 114 readline.set_completer(self.complete) 115 readline.parse_and_bind(self.completekey+": complete") 136 line = self.stdin.readline() 148 import readline 149 readline.set_completer(self.old_completer) 260 import readline 261 origline = readline.get_line_buffer() 264 begidx = readline.get_begidx() - stripped [all …]
|
D | mimify.py | 56 def readline(self): member in File 59 line = self.file.readline() 76 def readline(self): member in HeaderFile 81 line = self.file.readline() 87 self.peek = self.file.readline() 136 line = hfile.readline() 165 line = ifile.readline() 196 newline = ifile.readline() 293 line = hfile.readline() 316 line = ifile.readline() [all …]
|
D | StringIO.py | 76 r = self.readline() 139 def readline(self, length=None): member in StringIO 178 line = self.readline() 184 line = self.readline() 297 print 'First line =', repr(f.readline()) 299 line = f.readline()
|
D | multifile.py | 75 def readline(self): member in MultiFile 78 line = self.fp.readline() 115 line = self.readline() 124 while self.readline(): pass
|
D | tokenize.py | 155 def tokenize(readline, tokeneater=printtoken): argument 169 tokenize_loop(readline, tokeneater) 174 def tokenize_loop(readline, tokeneater): argument 175 for token_info in generate_tokens(readline): 264 def generate_tokens(readline): argument 288 line = readline() 422 tokenize(open(sys.argv[1]).readline) 424 tokenize(sys.stdin.readline)
|
D | uu.py | 106 hdr = in_file.readline() 140 s = in_file.readline() 151 s = in_file.readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | cmd.py | 112 import readline 113 self.old_completer = readline.get_completer() 114 readline.set_completer(self.complete) 115 readline.parse_and_bind(self.completekey+": complete") 136 line = self.stdin.readline() 148 import readline 149 readline.set_completer(self.old_completer) 262 import readline 263 origline = readline.get_line_buffer() 266 begidx = readline.get_begidx() - stripped [all …]
|
D | StringIO.py | 76 r = self.readline() 139 def readline(self, length=None): member in StringIO 178 line = self.readline() 184 line = self.readline() 297 print 'First line =', repr(f.readline()) 299 line = f.readline()
|
D | tokenize.py | 156 def tokenize(readline, tokeneater=printtoken): argument 170 tokenize_loop(readline, tokeneater) 175 def tokenize_loop(readline, tokeneater): argument 176 for token_info in generate_tokens(readline): 270 def generate_tokens(readline): argument 294 line = readline() 430 tokenize(open(sys.argv[1]).readline) 432 tokenize(sys.stdin.readline)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | makechangelog.py | 77 line = f.readline() 83 line = f.readline() 94 revline = f.readline() 95 dateline = f.readline() 98 line = f.readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | svneol.py | 66 line = f.readline() 73 f.readline() 74 line = f.readline() 78 f.readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
D | uu_codec.py | 66 readline = infile.readline 71 s = readline() 79 s = readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
D | uu_codec.py | 66 readline = infile.readline 71 s = readline() 79 s = readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
D | from.py | 23 line = mail.readline() 30 line = mail.readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
D | tokenize.py | 160 def tokenize(readline, tokeneater=printtoken): argument 174 tokenize_loop(readline, tokeneater) 179 def tokenize_loop(readline, tokeneater): argument 180 for token_info in generate_tokens(readline): 252 def detect_encoding(readline): argument 275 return readline() 345 def generate_tokens(readline): argument 369 line = readline() 499 if len(sys.argv) > 1: tokenize(open(sys.argv[1]).readline) 500 else: tokenize(sys.stdin.readline)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | feedparser.py | 73 def readline(self): member in BufferedSubFile 130 line = self.readline() 222 line = self._input.readline() 254 line = self._input.readline() 260 line = self._input.readline() 308 line = self._input.readline() 341 line = self._input.readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | text_file.py | 161 def readline (self): member in TextFile 185 line = self.file.readline() 293 line = self.readline()
|