Searched refs:shlex (Results 1 – 25 of 102) sorted by relevance
12345
/external/python/cpython3/Lib/test/ |
D | test_shlex.py | 3 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/ |
D | 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` 49 The :mod:`shlex` module defines the following class: 52 .. class:: shlex([instream[, infile[, posix]]]) [all …]
|
D | 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/Doc/library/ |
D | 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` 45 >>> from shlex import join 70 >>> from shlex import quote [all …]
|
/external/python/cpython2/Lib/test/ |
D | 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") 195 if not getattr(shlex, "split", None):
|
/external/libcxx/utils/libcxx/android/ |
D | compiler.py | 4 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/ |
D | shell.py | 9 import shlex 66 return [unescape(arg) for arg in shlex.split(string)]
|
/external/toolchain-utils/binary_search_tool/ |
D | compiler_wrapper.py | 26 import shlex 41 args.extend(shlex.split(f.read()))
|
/external/perfetto/gn/ |
D | write_buildflag_header.py | 28 import shlex 59 for flag in shlex.split(def_file.read()):
|
/external/python/cpython2/Lib/ |
D | netrc.py | 5 import os, stat, shlex 38 lexer = shlex.shlex(fp)
|
D | shlex.py | 21 class shlex: class 275 lex = shlex(s, posix=posix) 283 lexer = shlex() 286 lexer = shlex(open(file), file)
|
/external/python/cpython3/Lib/ |
D | netrc.py | 5 import os, shlex, stat 33 lexer = shlex.shlex(fp)
|
D | shlex.py | 19 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/ |
D | setup.py | 24 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/ |
D | bisect_flag.go | 17 import shlex 24 ExpandArgs(shlex.split(f.read()), target)
|
/external/autotest/server/cros/network/rf_switch/ |
D | scpi_ssh_tunnel.py | 30 import shlex 74 args = shlex.split(tunnel_command)
|
/external/vulkan-validation-layers/scripts/ |
D | update_deps.py | 251 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/ |
D | run_audio_test.py | 23 import shlex 113 command = shlex.split(options.compare) + [options.input, options.output]
|
/external/iptables/ |
D | xlate-test.py | 6 import shlex 45 process = Popen([ xtables_nft_multi ] + shlex.split(line), stdout=PIPE, stderr=PIPE)
|
/external/autotest/client/common_lib/cros/ |
D | avahi_utils.py | 9 import shlex 197 parts[-1] = shlex.split(parts[-1])
|
/external/llvm/test/Bindings/Go/ |
D | lit.local.cfg | 3 import shlex 38 args = shlex.split(compiler)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/Go/ |
D | lit.local.cfg | 3 import shlex 38 args = shlex.split(compiler)
|
/external/tensorflow/tensorflow/tools/test/ |
D | run_and_gather_logs.py | 24 import shlex 63 flag for flag in shlex.split(FLAGS.cc_flags) if not flag.startswith("-i")
|
/external/grpc-grpc/ |
D | setup.py | 24 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/ |
D | update_cc_test_checks.py | 20 import shlex 91 args.clang_args = shlex.split(args.clang_args or '') 162 clang_args = shlex.split(commands[0])
|
12345