/external/swiftshader/third_party/LLVM/test/ |
D | Makefile | 16 check-local:: check-local-lit 57 extra-lit-site-cfgs:: 58 .PHONY: extra-lit-site-cfgs 66 clang-lit-site-cfg: FORCE 67 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/test lit.site.cfg Unit/lit.site.cfg 68 extra-lit-site-cfgs:: clang-lit-site-cfg 107 check-local-lit:: lit.site.cfg Unit/lit.site.cfg 109 $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) ) 111 check-local-all:: lit.site.cfg Unit/lit.site.cfg extra-lit-site-cfgs 113 $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_ALL_TESTSUITES) ) [all …]
|
/external/liblzf/src/org/liblzf/ |
D | CLZF.java | 171 int lit = 0; in lzf_compress() local 195 if (oidx + lit + 1 + 3 >= out_len) in lzf_compress() 202 if (lit!=0) in lzf_compress() 204 out_data[oidx++] = (byte)(lit - 1); in lzf_compress() 205 lit = -lit; in lzf_compress() 207 out_data[oidx++] = in_data[iidx+lit]; in lzf_compress() 208 while ((++lit)!=0); in lzf_compress() 243 lit++; in lzf_compress() 246 if (lit == MAX_LIT) in lzf_compress() 252 lit = -lit; in lzf_compress() [all …]
|
/external/liblzf/cs/ |
D | CLZF.cs | 171 int lit = 0; in lzf_compress() 195 if (oidx + lit + 1 + 3 >= out_len) in lzf_compress() 202 if (lit!=0) in lzf_compress() 204 out_data[oidx++] = (byte)(lit - 1); in lzf_compress() 205 lit = -lit; in lzf_compress() 207 out_data[oidx++] = in_data[iidx+lit]; in lzf_compress() 208 while ((++lit)!=0); in lzf_compress() 243 lit++; in lzf_compress() 246 if (lit == MAX_LIT) in lzf_compress() 252 lit = -lit; in lzf_compress() [all …]
|
/external/liblzf/ |
D | lzf_c.c | 128 int lit; in lzf_compress() local 137 lit = 0; op++; /* start run */ in lzf_compress() 168 if (op - !lit + 3 + 1 >= out_end) /* second the exact but rare test */ in lzf_compress() 171 op [- lit - 1] = lit - 1; /* stop run */ in lzf_compress() 172 op -= !lit; /* undo run if length is zero */ in lzf_compress() 221 lit = 0; op++; /* start run */ in lzf_compress() 262 lit++; *op++ = *ip++; in lzf_compress() 264 if (expect_false (lit == MAX_LIT)) in lzf_compress() 266 op [- lit - 1] = lit - 1; /* stop run */ in lzf_compress() 267 lit = 0; op++; /* start run */ in lzf_compress() [all …]
|
/external/syslinux/lzo/src/ |
D | lzo1x_oo.ch | 88 lzo_uint lit = 0; 124 lit = t + 3; 144 lit = 0; 160 assert(lit >= 1 && lit <= 3); 161 assert(litp == ip - 2 - lit - 2); 162 assert((lzo_uint)(*litp & 3) == lit); 165 if (nl == 0 && lit == 1 && ip[0] >= 16) 169 lit += 2; 170 *litp = LZO_BYTE((*litp & ~3) | lit); 177 (lit + 2 + ip[0] < 16)) [all …]
|
D | lzo1x_9x.c | 310 lzo_uint lit, lzo_uint m_len ) in code_run() argument 312 if (lit > 0) in code_run() 315 op = STORE_RUN(c,op,ii,lit); in code_run() 317 c->r1_lit = lit; in code_run() 335 len_of_coded_match ( lzo_uint m_len, lzo_uint m_off, lzo_uint lit ) in len_of_coded_match() argument 342 return (m_off <= M1_MAX_OFFSET && lit > 0 && lit < 4) ? 2 : 0; in len_of_coded_match() 345 if (m_len == M2_MIN_LEN && m_off <= MX_MAX_OFFSET && lit >= 4) in len_of_coded_match() 535 lzo_uint lit; in lzo1x_999_compress_internal() local 582 lit = 0; in lzo1x_999_compress_internal() 609 if (lit == 0) in lzo1x_999_compress_internal() [all …]
|
/external/libcxx/utils/libcxx/test/ |
D | format.py | 16 import lit.Test # pylint: disable=import-error 17 import lit.TestRunner # pylint: disable=import-error 18 from lit.TestRunner import ParserKind, IntegratedTestKeywordParser \ 73 yield lit.Test.Test(testSuite, path_in_suite + (filename,), 95 return (lit.Test.UNSUPPORTED, 99 script = lit.TestRunner.parseIntegratedTestScript( 103 if isinstance(script, lit.Test.Result): 106 return lit.Test.Result(lit.Test.PASS) 112 tmpDir, tmpBase = lit.TestRunner.getTempPaths(test) 113 substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir, [all …]
|
/external/llvm/utils/lit/lit/ |
D | main.py | 12 import lit.ProgressBar 13 import lit.LitConfig 14 import lit.Test 15 import lit.run 16 import lit.util 17 import lit.discovery 89 data['__version__'] = lit.__versioninfo__ 255 print("lit %s" % (lit.__version__,)) 267 opts.numThreads = lit.util.detectCPUs() 291 litConfig = lit.LitConfig.LitConfig( [all …]
|
D | LitConfig.py | 6 import lit.Test 7 import lit.formats 8 import lit.TestingConfig 9 import lit.util 106 self.bashPath = lit.util.which('bash', os.pathsep.join(self.path)) 108 self.bashPath = lit.util.which('bash') 117 if not lit.util.checkToolsPath(dir, tools): 120 dir = lit.util.whichTools(tools, paths) 123 self.bashPath = lit.util.which('bash', dir)
|
/external/swiftshader/third_party/LLVM/utils/llvm-lit/ |
D | Makefile | 14 all:: $(ToolDir)/llvm-lit 16 $(ToolDir)/llvm-lit: llvm-lit.in Makefile $(ToolDir)/.dir 18 $(Verb)$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp 19 $(Verb)$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp 20 $(Verb)sed -f lit.tmp $< > $@ 22 $(Verb)rm -f lit.tmp
|
/external/llvm/utils/lit/lit/formats/ |
D | googletest.py | 5 import lit.Test 6 import lit.TestRunner 7 import lit.util 32 lines = lit.util.capture([path, '--gtest_list_tests'], 79 yield lit.Test.Test(testSuite, testPath, localConfig, file_path=execpath) 116 return lit.Test.PASS, '' 119 out, err, exitCode = lit.util.executeCommand( 122 except lit.util.ExecuteCommandTimeoutException: 123 return (lit.Test.TIMEOUT, 129 return lit.Test.FAIL, out + err [all …]
|
D | base.py | 5 import lit.Test 6 import lit.util 27 yield lit.Test.Test(testSuite, path_in_suite + (filename,), 76 test = lit.Test.Test( 88 return (lit.Test.UNSUPPORTED, 'Test is unsupported') 104 out, err, exitCode = lit.util.executeCommand(cmd) 108 return lit.Test.PASS,'' 118 return lit.Test.FAIL, report
|
/external/swiftshader/third_party/LLVM/docs/CommandGuide/ |
D | lit.pod | 5 lit - LLVM Integrated Tester 9 B<lit> [I<options>] [I<tests>] 13 B<lit> is a portable tool for executing LLVM and Clang style test suites, 14 summarizing their results, and providing indication of failures. B<lit> is 18 B<lit> should be run with one or more I<tests> to run specified on the command 23 tests have been run B<lit> will print summary information on the number of tests 24 which passed or failed (see L<"TEST STATUS RESULTS">). The B<lit> program will 27 By default B<lit> will use a succinct progress display and will only print 29 controlling the B<lit> progress display and output. 31 B<lit> also includes a number of options for controlling how tests are exected [all …]
|
/external/swiftshader/third_party/LLVM/test/Unit/ |
D | lit.cfg | 3 # Configuration file for the 'lit' test runner. 22 config.test_format = lit.formats.GoogleTest(llvm_build_mode, 'Tests') 41 site_cfg = lit.params.get('llvm_unit_site_config', None) 43 lit.load_config(config, site_cfg) 50 # automagically generate the lit.site.cfg if we are in some kind of fresh 54 llvm_config = lit.util.which('llvm-config', config.environment['PATH']) 56 lit.fatal('No site specific configuration available!') 59 llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip() 60 llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip() 65 lit.fatal('No site specific configuration available!') [all …]
|
/external/llvm/docs/CommandGuide/ |
D | lit.rst | 1 lit - LLVM Integrated Tester 7 :program:`lit` [*options*] [*tests*] 12 :program:`lit` is a portable tool for executing LLVM and Clang style test 14 :program:`lit` is designed to be a lightweight testing tool with as simple a 17 :program:`lit` should be run with one or more *tests* to run specified on the 22 tests have been run :program:`lit` will print summary information on the number 24 :program:`lit` program will execute with a non-zero exit code if any tests 27 By default :program:`lit` will use a succinct progress display and will only 29 options controlling the :program:`lit` progress display and output. 31 :program:`lit` also includes a number of options for controlling how tests are [all …]
|
/external/llvm/utils/lit/tests/Inputs/test-data/ |
D | lit.cfg | 7 import lit.formats 8 import lit.Test 10 class DummyFormat(lit.formats.FileBasedTest): 23 result = lit.Test.Result(getattr(lit.Test, result_code), 30 metric = lit.Test.IntMetricValue(value) 32 metric = lit.Test.RealMetricValue(value)
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ExampleTests/LLVM.InTree/test/ |
D | lit.cfg | 3 # Configuration file for the 'lit' test runner. 11 config.test_format = lit.formats.TclTest() 40 # automagically generate the lit.site.cfg if we are in some kind of fresh 44 llvm_config = lit.util.which('llvm-config', config.environment['PATH']) 46 lit.fatal('No site specific configuration available!') 49 llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip() 50 llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip() 55 lit.fatal('No site specific configuration available!') 58 site_cfg = os.path.join(llvm_obj_root, 'test', 'lit.site.cfg') 60 lit.fatal('No site specific configuration available!') [all …]
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/ |
D | lit.cfg | 3 # Configuration file for the 'lit' test runner. 11 config.test_format = lit.formats.TclTest() 40 # automagically generate the lit.site.cfg if we are in some kind of fresh 44 llvm_config = lit.util.which('llvm-config', config.environment['PATH']) 46 lit.fatal('No site specific configuration available!') 49 llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip() 50 llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip() 55 lit.fatal('No site specific configuration available!') 58 site_cfg = os.path.join(llvm_obj_root, 'test', 'lit.site.cfg') 60 lit.fatal('No site specific configuration available!') [all …]
|
/external/llvm/test/ |
D | CMakeLists.txt | 6 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 7 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg 10 ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in 11 ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg 20 # NOTE: Sync the substitutions in test/lit.cfg when adding to this list. 124 PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg 125 llvm_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg 131 PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg 132 llvm_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
|
/external/clang/test/ |
D | TestRunner.sh | 10 lit=$AbsDir/../../../utils/lit/lit.py 13 $lit "$@"
|
/external/swiftshader/third_party/LLVM/utils/lit/ |
D | setup.py | 1 import lit 7 version = lit.__version__, 9 author = lit.__author__, 10 author_email = lit.__email__,
|
/external/libcxx/docs/ |
D | TestingLibcxx.rst | 19 .. _LIT Command Guide: http://llvm.org/docs/CommandGuide/lit.html 27 #. Create a shortcut to the actual lit executable so that you can invoke it 32 $ alias lit='python path/to/llvm/utils/lit/lit.py' 38 $ export LIBCXX_SITE_CONFIG=path/to/build-libcxx/test/lit.site.cfg 44 parts of the libc++ test suite by simply running `lit` on a specified test or 50 $ lit -sv test/std/re # Run all of the std::regex tests 51 $ lit -sv test/std/depr/depr.c.headers/stdlib_h.pass.cpp # Run a single test 52 $ lit -sv test/std/atomics test/std/threads # Test std::thread and std::atomic 62 $ lit -sv test/std/containers # Run the tests with the newest -std 63 $ lit -sv --param=std=c++03 test/std/containers # Run the tests in C++03 [all …]
|
/external/v8/src/ast/ |
D | ast-function-literal-id-reindexer.cc | 23 void AstFunctionLiteralIdReindexer::VisitFunctionLiteral(FunctionLiteral* lit) { in VisitFunctionLiteral() argument 24 AstTraversalVisitor::VisitFunctionLiteral(lit); in VisitFunctionLiteral() 25 lit->set_function_literal_id(lit->function_literal_id() + delta_); in VisitFunctionLiteral()
|
/external/clang/utils/perf-training/ |
D | lit.cfg | 3 from lit import Test 4 import lit.formats 5 import lit.util 12 out = lit.util.capture(['xcrun', '--show-sdk-path']).strip() 24 config.clang = lit.util.which('clang', config.clang_tools_dir).replace('\\', '/') 32 config.test_format = lit.formats.ShTest(use_lit_shell == "0")
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ExampleTests/Clang/ |
D | lit.cfg | 3 # Configuration file for the 'lit' test runner. 12 config.test_format = lit.formats.ShTest(execute_external = True) 36 clang = lit.util.which('clang', PATH) 39 lit.fatal("couldn't find 'clang' program, try setting " 45 if not lit.quiet: 46 lit.note('using clang: %r' % clang)
|