HomeSort by relevance Sort by last modified time
    Searched defs:readline (Results 1 - 25 of 238) sorted by null

1 2 3 4 5 6 7 8 910

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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 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")
    [all...]
  /external/ltp/testcases/kernel/sched/clisrv/
readline.c 20 * readline.c
28 int readline(fd, ptr, maxlen) function
36 printf("readline: fd = %d\n", fd);
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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/python/cpython2/Lib/test/
test_readline.py 2 Very minimal unittests for parts of the readline module.
9 # Skip tests if there is no readline module
10 readline = import_module('readline') variable
14 the "real" readline have the same interface for history manipulation.
18 @unittest.skipUnless(hasattr(readline, "clear_history"),
22 readline.clear_history()
24 readline.add_history("first line")
25 readline.add_history("second line")
27 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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
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
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
fixdiv.py 189 line = f.readline()
217 g = tokenize.generate_tokens(f.readline)
325 line = self.fp.readline()
330 def readline(self): member in class:FileContext
  /external/python/cpython2/Lib/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...]
  /external/python/cpython2/Lib/
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
  /external/python/cpython2/Tools/scripts/
fixdiv.py 189 line = f.readline()
217 g = tokenize.generate_tokens(f.readline)
325 line = self.fp.readline()
330 def readline(self): member in class:FileContext
  /external/python/cpython3/Lib/distutils/
text_file.py 30 something that provides 'readline()' and 'close()' methods). It is
36 'readline()':
63 semantics of 'readline()' must differ from those of the builtin file
64 object's 'readline()' method! In particular, 'readline()' returns
82 the values returned by 'readline()'."""
152 def readline(self): member in class:TextFile
158 'warn()' after 'readline()' emits a warning about the physical
175 line = self.file.readline()
277 line = self.readline()
    [all...]
  /external/python/cpython3/Lib/test/
test_readline.py 2 Very minimal unittests for parts of the readline module.
15 # Skip tests if there is no readline module
16 readline = import_module('readline') variable
18 is_editline = readline.__doc__ and "libedit" in readline.__doc__
20 @unittest.skipUnless(hasattr(readline, "clear_history"),
26 "real" readline have the same interface for history manipulation. That's
31 readline.clear_history()
33 readline.add_history("first line"
    [all...]
  /external/python/cpython3/Tools/scripts/
fixdiv.py 189 line = f.readline()
217 g = tokenize.generate_tokens(f.readline)
325 line = self.fp.readline()
330 def readline(self): member in class:FileContext
  /external/syslinux/gpxe/src/hci/
readline.c 27 #include <readline/readline.h>
31 * Minimal readline
86 char * readline ( const char *prompt ) { function
  /prebuilts/gdb/darwin-x86/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/gdb/darwin-x86/lib/python2.7/
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
  /prebuilts/gdb/linux-x86/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/gdb/linux-x86/lib/python2.7/
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
  /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/
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
  /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...]

Completed in 586 milliseconds

1 2 3 4 5 6 7 8 910