Home
last modified time | relevance | path

Searched refs:shlex (Results 1 – 25 of 102) sorted by relevance

12345

/external/python/cpython3/Lib/test/
Dtest_shlex.py3 import shlex
151 l = shlex.split(data[i][0], comments=comments)
158 lex = shlex.shlex(io.StringIO(s))
188 s = shlex.shlex(ss, punctuation_chars=True)
204 s = shlex.shlex(ss, punctuation_chars=True)
220 s = shlex.shlex(ss, punctuation_chars=True)
232 s = shlex.shlex(ss, punctuation_chars=True)
242 s = shlex.shlex(ss, punctuation_chars="|")
246 s = shlex.shlex(ss, punctuation_chars="|")
258 s = shlex.shlex(source, punctuation_chars=True)
[all …]
/external/python/cpython2/Doc/library/
Dshlex.rst1 :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`
49 The :mod:`shlex` module defines the following class:
52 .. class:: shlex([instream[, infile[, posix]]])
[all …]
Dpipes.rst41 :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/Doc/library/
Dshlex.rst1 :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`
45 >>> from shlex import join
70 >>> from shlex import quote
[all …]
/external/python/cpython2/Lib/test/
Dtest_shlex.py3 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")
195 if not getattr(shlex, "split", None):
/external/libcxx/utils/libcxx/android/
Dcompiler.py4 import shlex
67 return [self.path] + shlex.split(cxx_args) + self.extra_cflags
77 return [self.path] + shlex.split(link_args)
/external/clang/tools/scan-build-py/libscanbuild/
Dshell.py9 import shlex
66 return [unescape(arg) for arg in shlex.split(string)]
/external/toolchain-utils/binary_search_tool/
Dcompiler_wrapper.py26 import shlex
41 args.extend(shlex.split(f.read()))
/external/perfetto/gn/
Dwrite_buildflag_header.py28 import shlex
59 for flag in shlex.split(def_file.read()):
/external/python/cpython2/Lib/
Dnetrc.py5 import os, stat, shlex
38 lexer = shlex.shlex(fp)
Dshlex.py21 class shlex: class
275 lex = shlex(s, posix=posix)
283 lexer = shlex()
286 lexer = shlex(open(file), file)
/external/python/cpython3/Lib/
Dnetrc.py5 import os, shlex, stat
33 lexer = shlex.shlex(fp)
Dshlex.py19 class shlex: class
307 lex = shlex(s, posix=posix)
342 _print_tokens(shlex())
346 _print_tokens(shlex(f, fn))
/external/grpc-grpc/tools/distrib/python/grpcio_tools/
Dsetup.py24 import shlex
98 EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
99 EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)
/external/toolchain-utils/compiler_wrapper/
Dbisect_flag.go17 import shlex
24 ExpandArgs(shlex.split(f.read()), target)
/external/autotest/server/cros/network/rf_switch/
Dscpi_ssh_tunnel.py30 import shlex
74 args = shlex.split(tunnel_command)
/external/vulkan-validation-layers/scripts/
Dupdate_deps.py251 import shlex
362 command_output(shlex.split(p), self.repo_dir)
365 command_output(shlex.split(p), self.repo_dir)
368 command_output(shlex.split(p), self.repo_dir)
374 command_output(shlex.split(cmd), self.repo_dir)
/external/webrtc/webrtc/tools/e2e_quality/audio/
Drun_audio_test.py23 import shlex
113 command = shlex.split(options.compare) + [options.input, options.output]
/external/iptables/
Dxlate-test.py6 import shlex
45 process = Popen([ xtables_nft_multi ] + shlex.split(line), stdout=PIPE, stderr=PIPE)
/external/autotest/client/common_lib/cros/
Davahi_utils.py9 import shlex
197 parts[-1] = shlex.split(parts[-1])
/external/llvm/test/Bindings/Go/
Dlit.local.cfg3 import shlex
38 args = shlex.split(compiler)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/Go/
Dlit.local.cfg3 import shlex
38 args = shlex.split(compiler)
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs.py24 import shlex
63 flag for flag in shlex.split(FLAGS.cc_flags) if not flag.startswith("-i")
/external/grpc-grpc/
Dsetup.py24 import shlex
157 EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
158 EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dupdate_cc_test_checks.py20 import shlex
91 args.clang_args = shlex.split(args.clang_args or '')
162 clang_args = shlex.split(commands[0])

12345