/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...] |
test_bufio.py | 17 # .readline()s deliver what we wrote. 32 line = f.readline() 34 line = f.readline() 36 line = f.readline()
|
/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...] |
test_bufio.py | 17 # .readline()s deliver what we wrote. 32 line = f.readline() 34 line = f.readline() 36 line = f.readline()
|
/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...] |
/external/chromium_org/v8/src/ |
d8-readline.cc | 7 #include <readline/readline.h> // NOLINT 8 #include <readline/history.h> // NOLINT 10 // The readline includes leaves RETURN defined which breaks V8 compilation. 16 // implementations of readline. This smooths out one known incompatibility. 27 ReadLineEditor() : LineEditor(LineEditor::READLINE, "readline") { } 64 // http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC24 85 result = readline(prompt) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemReader.java | 25 String line = readLine(); 29 line = readLine(); 55 while ((line = readLine()) != null)
|
/external/e2fsprogs/lib/ss/ |
get_readline.c | 29 info->readline = 0; 38 /* Libraries we will try to use for readline/editline functionality */ 70 /* printf("Using %s for readline library\n", cp); */ 79 info->readline = (char *(*)(const char *)) 80 dlsym(handle, "readline");
|
/external/protobuf/examples/ |
AddPerson.java | 20 person.setId(Integer.valueOf(stdin.readLine())); 23 person.setName(stdin.readLine()); 26 String email = stdin.readLine(); 33 String number = stdin.readLine(); 42 String type = stdin.readLine();
|
/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()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
LineNumberReaderTest.java | 59 lnr.readLine(); 60 lnr.readLine(); 74 line = lnr.readLine(); 77 .readLine())); 107 * java.io.LineNumberReader#readLine() 113 lnr.readLine(); 114 line = lnr.readLine(); 128 assertNotNull(reader.readLine()); 129 assertNull(reader.readLine()); 140 lnr.readLine(); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedReaderTest.java | 223 line = br.readLine(); 226 line = br.readLine(); 229 line = br.readLine(); 235 br.readLine(); 329 assertEquals("1", r.readLine()); 330 assertEquals("2", r.readLine()); 331 assertEquals("3", r.readLine()); 332 assertEquals("4", r.readLine()); 333 assertNull(r.readLine()); 340 assertEquals("", r.readLine()); // The '\r' we read() didn't count [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...] |
/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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PEMUtil.java | 25 private String readLine( 61 while ((line = readLine(in)) != null) 69 while ((line = readLine(in)) != null)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PEMUtil.java | 27 private String readLine( 63 while ((line = readLine(in)) != null) 71 while ((line = readLine(in)) != null)
|
/external/llvm/utils/ |
DSAclean.py | 21 buffer = input.readline() 25 buffer = input.readline() 30 buffer = input.readline()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 33 while ((numberString = r.readLine()) != null) { 34 String timeString = r.readLine(); 37 while (!((s = r.readLine()) == null || s.trim().equals(""))) {
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_mock.py | 52 self.assertEqual('ABC\r\n', self._conn.readline()) 53 self.assertEqual('DEFG\r\n', self._conn.readline()) 54 self.assertEqual('\r\n', self._conn.readline()) 55 self.assertEqual('HIJK', self._conn.readline()) 56 self.assertEqual('', self._conn.readline()) 66 self.assertEqual('EFG\r\n', self._conn.readline()) 68 self.assertEqual('', self._conn.readline()) 85 """A test class that launches a thread, calls readline on the 99 data = self._conn.readline()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
Version.java | 19 version = lnr.readLine();
|
/sdk/testapps/basicJar/src/com/android/tests/basicjar/ |
BasicJar.java | 20 return reader.readLine();
|
/sdk/testapps/basicJar2/src/com/android/tests/basicjar2/ |
BasicJar2.java | 20 return reader.readLine();
|
/sdk/testapps/basicJar3/src/com/android/tests/basicjar3/ |
BasicJar3.java | 20 return reader.readLine();
|
/sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/ |
App.java | 20 return reader.readLine();
|