/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
memorizingfile.py | 35 A memorizing file wraps a file and memorizes lines read by readline. 43 """MemorizingFile wraps a file and memorizes lines read by readline. 68 '_buffered', '_buffered_line', 'readline', 73 def readline(self, size=-1): member in class:MemorizingFile 74 """Override file.readline and memorize the line read. 78 subsequent readline calls. 85 line = self._file.readline()
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
memorizingfile.py | 35 A memorizing file wraps a file and memorizes lines read by readline. 43 """MemorizingFile wraps a file and memorizes lines read by readline. 68 '_buffered', '_buffered_line', 'readline', 73 def readline(self, size=-1): member in class:MemorizingFile 74 """Override file.readline and memorize the line read. 78 subsequent readline calls. 85 line = self._file.readline()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_readline.py | 2 Very minimal unittests for parts of the readline module. 5 the "real" readline have the same interface for history manipulation. That's 11 # Skip tests if there is no readline module 12 readline = import_module('readline') variable 16 @unittest.skipIf(not hasattr(readline, 'clear_history'), 20 readline.clear_history() 22 readline.add_history("first line") 23 readline.add_history("second line") 25 self.assertEqual(readline.get_history_item(0), None [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_readline.py | 2 Very minimal unittests for parts of the readline module. 5 the "real" readline have the same interface for history manipulation. That's 11 # Skip tests if there is no readline module 12 readline = import_module('readline') variable 16 @unittest.skipIf(not hasattr(readline, 'clear_history'), 20 readline.clear_history() 22 readline.add_history("first line") 23 readline.add_history("second line") 25 self.assertEqual(readline.get_history_item(0), None [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/ |
interactive.rb | 9 uses Readline (if available) or standard IO#gets to fetch data on demand. 33 @readline = block or raise( ArgumentError, "no line-reading block was provided" ) 37 def readline method in class:ANTLR3.InteractiveStringStream 40 if line = @readline.call 69 @readline = block or raise( ArgumentError, "no line-reading block was provided" ) 73 def readline method in class:ANTLR3.InteractiveStringStream 76 if line = @readline.call 88 private :readline 93 readline 106 elsif readline [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
utf16reader.cpp | 72 char16* Utf16Reader::readline(char16* read_buf, size_t max_len) { function in class:ime_pinyin::Utf16Reader
|
/external/chromium_org/third_party/tlslite/tlslite/ |
FileObject.py | 127 def readline(self, size=-1): member in class:FileObject 202 line = self.readline() 217 line = self.readline()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 33 something that provides 'readline()' and 'close()' methods). It is 39 'readline()': 64 semantics of 'readline()' must differ from those of the builtin file 65 object's 'readline()' method! In particular, 'readline()' returns 82 the values returned by 'readline()'.""" 161 def readline (self): member in class:TextFile 167 'warn()' after 'readline()' emits a warning about the physical 185 line = self.file.readline() 284 # readline () [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 162 import readline namespace 166 readline.set_completer(Completer().complete [all...] |
code.py | 289 readline module to enable GNU readline if it is available. 303 import readline namespace
|
multifile.py | 1 """A readline()-style interface to the parts of a multipart message. 4 an ordinary file, as long as you use fp.readline(). Allows recursive 75 def readline(self): member in class:MultiFile 78 line = self.fp.readline() 84 raise Error, 'sudden EOF in MultiFile.readline()' 109 raise Error,'Missing endmarker in MultiFile.readline()' 115 line = self.readline() 124 while self.readline(): pass
|
StringIO.py | 14 buf = f.readline() # read until end of line ('\n') or EOF 15 list = f.readlines()# list of f.readline() results until EOF 76 r = self.readline() 139 def readline(self, length=None): member in class:StringIO 169 """Read until EOF using readline() and return a list containing the 178 line = self.readline() 184 line = self.readline() 297 print 'First line =', repr(f.readline()) 299 line = f.readline()
|
cmd.py | 44 These interpreters use raw_input; thus, if the readline module is loaded, 82 The optional argument 'completekey' is the readline name of a 84 not None and the readline module is available, command completion 112 import readline namespace 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 namespace 149 readline.set_completer(self.old_completer 262 import readline namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 33 something that provides 'readline()' and 'close()' methods). It is 39 'readline()': 64 semantics of 'readline()' must differ from those of the builtin file 65 object's 'readline()' method! In particular, 'readline()' returns 82 the values returned by 'readline()'.""" 161 def readline (self): member in class:TextFile 167 'warn()' after 'readline()' emits a warning about the physical 185 line = self.file.readline() 284 # readline () [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 162 import readline namespace 166 readline.set_completer(Completer().complete [all...] |
code.py | 289 readline module to enable GNU readline if it is available. 303 import readline namespace
|
multifile.py | 1 """A readline()-style interface to the parts of a multipart message. 4 an ordinary file, as long as you use fp.readline(). Allows recursive 75 def readline(self): member in class:MultiFile 78 line = self.fp.readline() 84 raise Error, 'sudden EOF in MultiFile.readline()' 109 raise Error,'Missing endmarker in MultiFile.readline()' 115 line = self.readline() 124 while self.readline(): pass
|
StringIO.py | 14 buf = f.readline() # read until end of line ('\n') or EOF 15 list = f.readlines()# list of f.readline() results until EOF 76 r = self.readline() 139 def readline(self, length=None): member in class:StringIO 169 """Read until EOF using readline() and return a list containing the 178 line = self.readline() 184 line = self.readline() 297 print 'First line =', repr(f.readline()) 299 line = f.readline()
|
/external/chromium_org/remoting/tools/ |
native_messaging_host_test.py | 9 import readline namespace
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
mock.py | 82 def readline(self): member in class:MockConn 83 """Override mod_python.apache.mp_conn.readline.""" 118 def readline(self): member in class:MockBlockingConn 119 """Override mod_python.apache.mp_conn.readline."""
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
user.py | 47 import readline namespace 50 # There is no readline module for win32, not much to do except cry. 51 _log.warn("Unable to import readline.") namespace
|
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 84 function_name = self.pipe.stdout.readline().rstrip() 87 file_name = self.pipe.stdout.readline().rstrip() 131 function_name = self.pipe.stdout.readline().rstrip() 132 file_name = self.pipe.stdout.readline().rstrip() 164 return self.readline() 166 def readline(self): member in class:UnbufferedLineConverter 167 return self.r.readline().rstrip() 193 atos_line = self.atos.readline() 357 line = sys.stdin.readline()
|
/frameworks/base/tools/orientationplot/ |
orientationplot.py | 46 def readline(self): member in class:NonBlockingStream 267 line = self.adbout.readline()
|
/frameworks/base/tools/velocityplot/ |
velocityplot.py | 50 def readline(self): member in class:NonBlockingStream 181 line = self.adbout.readline()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
feedparser.py | 74 def readline(self): 131 line = self.readline() 224 line = self._input.readline() 256 line = self._input.readline() 262 line = self._input.readline() 310 line = self._input.readline() 343 line = self._input.readline() 73 def readline(self): member in class:BufferedSubFile
|