Home
last modified time | relevance | path

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

123

/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/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/v8/tools/clang/scripts/
Dbuild_file.py10 import shlex
48 raw_args = shlex.split(record['command'])
62 args.extend(shlex.split(prefix))
67 args.extend(shlex.split(suffix))
Dgenerate_win_compdb.py18 import shlex
34 split_command = shlex.split(escaped_command)
74 compile_db_as_json = subprocess.check_output(shlex.split(
/external/v8/gypfiles/
Dlandmine_utils.py9 import shlex
48 for arg in shlex.split(os.environ.get('GYP_DEFINES', '')))
55 for arg in shlex.split(os.environ.get('GYP_GENERATOR_FLAGS', '')))
Dgyp_v838 import shlex
63 genflags += shlex.split(os.environ.get('GYP_GENERATOR_FLAGS', ''))
154 args.extend(shlex.split(gyp_file))
/external/libcxx/utils/libcxx/android/
Dcompiler.py4 import shlex
63 return [self.path] + shlex.split(cxx_args)
73 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.py21 import shlex
36 args.extend(shlex.split(f.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/autotest/server/site_tests/provision_CheetsUpdate/lib/
Dutil.py19 import shlex
30 return ' '.join(shlex.quote(arg) for arg in command)
/external/autotest/test_suites/
Dcontrol.test_that_wrapper27 import logging, shlex
48 arguments = test_that.parse_arguments(shlex.split(suite_args))
51 shlex.split(suite_args))
/external/autotest/server/cros/network/rf_switch/
Dscpi_ssh_tunnel.py30 import shlex
74 args = shlex.split(tunnel_command)
/external/pdfium/testing/tools/
Dgold.py8 import shlex
108 kvPairs = shlex.split(kvStr)
/external/webrtc/webrtc/tools/e2e_quality/audio/
Drun_audio_test.py23 import shlex
113 command = shlex.split(options.compare) + [options.input, options.output]
/external/llvm/test/Bindings/Go/
Dlit.local.cfg3 import shlex
38 args = shlex.split(compiler)
/external/autotest/client/common_lib/cros/
Davahi_utils.py9 import shlex
197 parts[-1] = shlex.split(parts[-1])
Ddbus_send.py10 import shlex
36 return shlex.split(' '.join(headerless_dbus_send_output))
/external/v8/tools/
Dgyp_flag_compare.py13 import shlex
79 command_line = shlex.split(line.strip(), posix=not is_win)[1:]
102 command_line = shlex.split(open_rsp_file, posix=False)
/external/vixl/tools/
Dutil.py32 import shlex
50 args = shlex.split(command)
/external/skia/tools/
Dbuild_command_buffer.py16 import shlex
141 subprocess.check_call(['ninja'] + shlex.split(args.extra_ninja_args) +
/external/deqp/scripts/log/
Dlog_parser.py23 import shlex
76 return shlex.split(line)
/external/devlib/doc/
Dconf.py17 import shlex

123