/external/python/cpython2/Doc/library/ |
shlex.rst | 1 :mod:`shlex` --- Simple lexical analysis 4 .. module:: shlex 14 **Source code:** :source:`Lib/shlex.py` 19 The :class:`~shlex.shlex` class makes it easy to write lexical analyzers for 26 The :mod:`shlex` module defines the following functions: 33 (setting the :attr:`~shlex.commenters` attribute of the 34 :class:`~shlex.shlex` instance to the empty string). This function operates 45 Since the :func:`split` function instantiates a :class:`~shlex.shlex [all...] |
frameworks.rst | 18 shlex.rst
|
pipes.rst | 41 :func:`quote <shlex.quote>` function in the :mod:`shlex` module. 63 The quoting is compatible with UNIX shells and with :func:`shlex.split`: 65 >>> remote_command = shlex.split(remote_command) 68 >>> command = shlex.split(remote_command[-1])
|
/external/python/cpython3/Lib/test/ |
test_shlex.py | 2 import shlex 150 l = shlex.split(data[i][0], comments=comments) 157 lex = shlex.shlex(io.StringIO(s)) 187 s = shlex.shlex(ss, punctuation_chars=True) 201 s = shlex.shlex(ss, punctuation_chars=True) 215 s = shlex.shlex(ss, punctuation_chars=True [all...] |
/external/python/cpython3/Doc/library/ |
shlex.rst | 1 :mod:`shlex` --- Simple lexical analysis 4 .. module:: shlex 12 **Source code:** :source:`Lib/shlex.py` 16 The :class:`~shlex.shlex` class makes it easy to write lexical analyzers for 21 The :mod:`shlex` module defines the following functions: 28 (setting the :attr:`~shlex.commenters` attribute of the 29 :class:`~shlex.shlex` instance to the empty string). This function operates 35 Since the :func:`split` function instantiates a :class:`~shlex.shlex [all...] |
frameworks.rst | 18 shlex.rst
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
shlex.py | 19 __all__ = ["shlex", "split"]
21 class shlex:
class in inherits: 56 print 'shlex: reading from %s, line %d' \
62 print "shlex: pushing token " + repr(tok)
75 print 'shlex: pushing to file %s' % (self.infile,)
77 print 'shlex: pushing to stream %s' % (self.instream,)
84 print 'shlex: popping to %s, line %d' \
93 print "shlex: popping token " + repr(tok)
115 print "shlex: token=" + repr(raw)
117 print "shlex: token=EOF" [all...] |
/external/python/cpython2/Lib/ |
shlex.py | 19 __all__ = ["shlex", "split"] 21 class shlex: class in inherits: 56 print 'shlex: reading from %s, line %d' \ 62 print "shlex: pushing token " + repr(tok) 75 print 'shlex: pushing to file %s' % (self.infile,) 77 print 'shlex: pushing to stream %s' % (self.instream,) 84 print 'shlex: popping to %s, line %d' \ 93 print "shlex: popping token " + repr(tok) 115 print "shlex: token=" + repr(raw) 117 print "shlex: token=EOF [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
shlex.py | 19 __all__ = ["shlex", "split"] 21 class shlex: class in inherits: 56 print 'shlex: reading from %s, line %d' \ 62 print "shlex: pushing token " + repr(tok) 75 print 'shlex: pushing to file %s' % (self.infile,) 77 print 'shlex: pushing to stream %s' % (self.instream,) 84 print 'shlex: popping to %s, line %d' \ 93 print "shlex: popping token " + repr(tok) 115 print "shlex: token=" + repr(raw) 117 print "shlex: token=EOF [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
shlex.py | 19 __all__ = ["shlex", "split"] 21 class shlex: class in inherits: 56 print 'shlex: reading from %s, line %d' \ 62 print "shlex: pushing token " + repr(tok) 75 print 'shlex: pushing to file %s' % (self.infile,) 77 print 'shlex: pushing to stream %s' % (self.instream,) 84 print 'shlex: popping to %s, line %d' \ 93 print "shlex: popping token " + repr(tok) 115 print "shlex: token=" + repr(raw) 117 print "shlex: token=EOF [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
shlex.py | 19 __all__ = ["shlex", "split"] 21 class shlex: class in inherits: 56 print 'shlex: reading from %s, line %d' \ 62 print "shlex: pushing token " + repr(tok) 75 print 'shlex: pushing to file %s' % (self.infile,) 77 print 'shlex: pushing to stream %s' % (self.instream,) 84 print 'shlex: popping to %s, line %d' \ 93 print "shlex: popping token " + repr(tok) 115 print "shlex: token=" + repr(raw) 117 print "shlex: token=EOF [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
shlex.py | 19 __all__ = ["shlex", "split"] 21 class shlex: class in inherits: 56 print 'shlex: reading from %s, line %d' \ 62 print "shlex: pushing token " + repr(tok) 75 print 'shlex: pushing to file %s' % (self.infile,) 77 print 'shlex: pushing to stream %s' % (self.instream,) 84 print 'shlex: popping to %s, line %d' \ 93 print "shlex: popping token " + repr(tok) 115 print "shlex: token=" + repr(raw) 117 print "shlex: token=EOF [all...] |
/external/python/cpython2/Lib/test/ |
test_shlex.py | 3 import shlex 155 l = shlex.split(data[i][0], comments=comments) 162 lex = shlex.shlex(StringIO(s)) 186 s = shlex.shlex("'')abc", posix=True) 190 s = shlex.shlex("'')abc") 194 # Allow this test to be used with old shlex.py 195 if not getattr(shlex, "split", None) [all...] |
/external/python/cpython3/Lib/ |
shlex.py | 17 __all__ = ["shlex", "split", "quote"] 19 class shlex: class in inherits: 71 print("shlex: pushing token " + repr(tok)) 84 print('shlex: pushing to file %s' % (self.infile,)) 86 print('shlex: pushing to stream %s' % (self.instream,)) 93 print('shlex: popping to %s, line %d' \ 102 print("shlex: popping token " + repr(tok)) 124 print("shlex: token=" + repr(raw)) 126 print("shlex: token=EOF") 140 print("shlex: in state %r I see character: %r" % (self.state [all...] |
/external/autotest/test_suites/ |
control.test_that_wrapper | 27 import logging, shlex 49 arguments = test_that.parse_arguments(shlex.split(suite_args)) 52 shlex.split(suite_args))
|
/external/clang/tools/scan-build-py/libscanbuild/ |
shell.py | 9 import shlex 20 Previous implementation was shlex.split method, but that's not good 66 return [unescape(arg) for arg in shlex.split(string)]
|
/external/libcxx/utils/libcxx/android/ |
compiler.py | 4 import shlex 63 return [self.path] + shlex.split(cxx_args) 73 return [self.path] + shlex.split(link_args)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/libcxx/android/ |
compiler.py | 4 import shlex 63 return [self.path] + shlex.split(cxx_args) 73 return [self.path] + shlex.split(link_args)
|
/external/v8/tools/clang/scripts/ |
build_file.py | 10 import shlex 48 raw_args = shlex.split(record['command']) 62 args.extend(shlex.split(prefix)) 67 args.extend(shlex.split(suffix))
|
generate_win_compdb.py | 18 import shlex 32 # Escape backslashes so shlex doesn't try to interpret them. 34 split_command = shlex.split(escaped_command) 74 compile_db_as_json = subprocess.check_output(shlex.split(
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_shlex.py | 3 import shlex
155 l = shlex.split(data[i][0], comments=comments)
162 lex = shlex.shlex(StringIO(s))
181 # Allow this test to be used with old shlex.py
182 if not getattr(shlex, "split", None):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_shlex.py | 3 import shlex 155 l = shlex.split(data[i][0], comments=comments) 162 lex = shlex.shlex(StringIO(s)) 181 # Allow this test to be used with old shlex.py 182 if not getattr(shlex, "split", None):
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_shlex.py | 3 import shlex 155 l = shlex.split(data[i][0], comments=comments) 162 lex = shlex.shlex(StringIO(s)) 181 # Allow this test to be used with old shlex.py 182 if not getattr(shlex, "split", None):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shlex.py | 3 import shlex 155 l = shlex.split(data[i][0], comments=comments) 162 lex = shlex.shlex(StringIO(s)) 181 # Allow this test to be used with old shlex.py 182 if not getattr(shlex, "split", None):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shlex.py | 3 import shlex 155 l = shlex.split(data[i][0], comments=comments) 162 lex = shlex.shlex(StringIO(s)) 181 # Allow this test to be used with old shlex.py 182 if not getattr(shlex, "split", None):
|