Home
last modified time | relevance | path

Searched refs:split_command (Results 1 – 11 of 11) sorted by relevance

/external/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py39 result = sut.split_command([cmd, '-c', 'src.c'])
55 self.assertIsNotNone(sut.split_command(['clang', 'source.c']))
56 self.assertIsNotNone(sut.split_command(['clang', '-c', 'source.c']))
57 self.assertIsNotNone(sut.split_command(['clang', '-c', 'source.c',
60 self.assertIsNone(sut.split_command(['clang', '-E', 'source.c']))
61 self.assertIsNone(sut.split_command(['clang', '-c', '-E', 'source.c']))
62 self.assertIsNone(sut.split_command(['clang', '-c', '-M', 'source.c']))
64 sut.split_command(['clang', '-c', '-MM', 'source.c']))
68 self.assertEqual(expected, sut.split_command(cmd).files)
81 sut.split_command(['cc', 'this.o', 'that.o', '-o', 'a.out']))
[all …]
/external/llvm-project/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py38 result = sut.split_command([cmd, '-c', 'src.c'])
54 self.assertIsNotNone(sut.split_command(['clang', 'source.c']))
55 self.assertIsNotNone(sut.split_command(['clang', '-c', 'source.c']))
56 self.assertIsNotNone(sut.split_command(['clang', '-c', 'source.c',
59 self.assertIsNone(sut.split_command(['clang', '-E', 'source.c']))
60 self.assertIsNone(sut.split_command(['clang', '-c', '-E', 'source.c']))
61 self.assertIsNone(sut.split_command(['clang', '-c', '-M', 'source.c']))
63 sut.split_command(['clang', '-c', '-MM', 'source.c']))
67 self.assertEqual(expected, sut.split_command(cmd).files)
80 sut.split_command(['cc', 'this.o', 'that.o', '-o', 'a.out']))
[all …]
/external/python/cpython3/Lib/test/
Dtest_shlex.py343 for split_command, command in [
350 joined = shlex.join(split_command)
355 for command, *split_command in all_data:
357 joined = shlex.join(split_command)
359 self.assertEqual(split_command, resplit)
/external/llvm-project/clang/tools/scan-build-py/libscanbuild/
Dintercept.py34 from libscanbuild.compilation import split_command
213 compilation = split_command(exec_trace['command'])
Dcompilation.py59 def split_command(command): function
Danalyze.py34 from libscanbuild.compilation import split_command, classify_source, \
311 compilation = split_command(execution.cmd)
/external/clang/tools/scan-build-py/libscanbuild/
Dcompilation.py60 def split_command(command): function
Dintercept.py36 from libscanbuild.compilation import split_command
221 compilation = split_command(exec_trace['command'])
Danalyze.py28 from libscanbuild.compilation import split_command
165 compilation = split_command(sys.argv)
/external/python/cpython3/Lib/
Dshlex.py318 def join(split_command): argument
320 return ' '.join(quote(arg) for arg in split_command)
/external/python/cpython3/Doc/library/
Dshlex.rst43 .. function:: join(split_command)
45 Concatenate the tokens of the list *split_command* and return a string.