/external/llvm/test/ |
D | Makefile | 51 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/test lit.site.cfg Unit/lit.site.cfg 60 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test lit.site.cfg 69 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/lld/test lit.site.cfg Unit/lit.site.cfg 78 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/polly/test lit.site.cfg 101 check-local:: lit.site.cfg Unit/lit.site.cfg 103 $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) ) 106 check-local-lit:: check-local 108 check-local-all:: lit.site.cfg Unit/lit.site.cfg extra-site-cfgs 110 $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_ALL_TESTSUITES) ) 128 lit.site.cfg: FORCE [all …]
|
D | CMakeLists.txt | 2 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 3 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg 6 ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in 7 ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg 16 # NOTE: Sync the substitutions in test/lit.cfg when adding to this list. 63 PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg 64 llvm_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
|
/external/clang/test/ |
D | Makefile | 26 LIT_ARGS := --param clang_site_config=$(PROJ_OBJ_DIR)/lit.site.cfg 32 all:: lit.site.cfg Unit/lit.site.cfg 34 @ $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py \ 39 lit.site.cfg: FORCE 41 @$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp 42 @$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp 43 @$(ECHOPATH) s=@LLVM_TOOLS_DIR@=$(ToolDir)=g >> lit.tmp 44 @$(ECHOPATH) s=@LLVM_LIBS_DIR@=$(LibDir)=g >> lit.tmp 45 @$(ECHOPATH) s=@CLANG_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> lit.tmp 46 @$(ECHOPATH) s=@CLANG_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> lit.tmp [all …]
|
D | TestRunner.sh | 10 lit=$AbsDir/../../../utils/lit/lit.py 13 $lit "$@"
|
D | CMakeLists.txt | 2 # for use by Lit, and delegates to LLVM's lit test handlers. 13 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 14 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg 18 ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in 19 ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg 43 clang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
|
/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/compiler-rt/test/asan/ |
D | CMakeLists.txt | 16 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 17 ${CMAKE_CURRENT_BINARY_DIR}/ARMAndroidConfig/lit.site.cfg 31 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 32 ${CMAKE_CURRENT_BINARY_DIR}/ARMLinuxConfig/lit.site.cfg 46 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 47 ${CMAKE_CURRENT_BINARY_DIR}/AArch64LinuxConfig/lit.site.cfg 58 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 59 ${CMAKE_CURRENT_BINARY_DIR}/64bitConfig/lit.site.cfg 66 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 67 ${CMAKE_CURRENT_BINARY_DIR}/64bitConfig-dynamic/lit.site.cfg) [all …]
|
/external/llvm/utils/llvm-lit/ |
D | Makefile | 19 all:: $(ToolDir)/llvm-lit$(Suffix) 21 $(ToolDir)/llvm-lit$(Suffix): llvm-lit.in Makefile $(ToolDir)/.dir 23 $(Verb)$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp 24 $(Verb)$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp 25 $(Verb)sed -f lit.tmp $< > $@ 27 $(Verb)rm -f lit.tmp
|
D | CMakeLists.txt | 2 # llvm-lit needs suffix.py for multiprocess to find a main module. 5 set(llvm_lit_path ${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-lit${suffix}) 11 llvm-lit.in 18 llvm-lit.in
|
/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 85 data['__version__'] = lit.__versioninfo__ 235 print("lit %s" % (lit.__version__,)) 247 opts.numThreads = lit.util.detectCPUs() 263 litConfig = lit.LitConfig.LitConfig( [all …]
|
D | LitConfig.py | 6 import lit.Test 7 import lit.formats 8 import lit.TestingConfig 9 import lit.util 74 self.bashPath = lit.util.which('bash', os.pathsep.join(self.path)) 76 self.bashPath = lit.util.which('bash') 86 if not lit.util.checkToolsPath(dir, tools): 89 dir = lit.util.whichTools(tools, paths) 92 self.bashPath = lit.util.which('bash', dir)
|
/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/stlport/test/unit/ |
D | list_test.cpp | 183 list<int>::iterator lit; in erase() local 184 lit = l.erase(l.begin()); in erase() 185 CPPUNIT_ASSERT( *lit == 1 ); in erase() 187 lit = l.erase(l.begin(), --l.end()); in erase() 188 CPPUNIT_ASSERT( *lit == 3 ); in erase() 202 list<int>::iterator lit(l.begin()); in resize() local 204 CPPUNIT_ASSERT( lit != l.end() ); in resize() 205 CPPUNIT_ASSERT( *(lit++) == 1 ); in resize() 207 CPPUNIT_ASSERT( lit == l.end() ); in resize() 210 lit = l.begin(); in resize() [all …]
|
D | unordered_test.cpp | 91 usettype::local_iterator lit, litEnd; in uset() local 93 lit = us.begin(us.bucket(i)); in uset() 96 usettype::size_type bucket_pos = us.bucket(*lit); in uset() 97 for (; lit != litEnd; ++lit) { in uset() 98 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); in uset() 99 us_val.push_back(*lit); in uset() 135 usettype::local_iterator lit, litEnd; in umultiset() local 137 lit = us.begin(us.bucket(i)); in umultiset() 140 usettype::size_type bucket_pos = us.bucket(*lit); in umultiset() 141 for (; lit != litEnd; ++lit) { in umultiset() [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/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'], 69 yield lit.Test.Test(testSuite, testPath, localConfig, file_path=execpath) 106 return lit.Test.PASS, '' 108 out, err, exitCode = lit.util.executeCommand( 112 return lit.Test.PASS,'' 114 return lit.Test.FAIL, out + err
|
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/libcxx/test/ |
D | CMakeLists.txt | 12 set(LIT_EXECUTABLE "" CACHE FILEPATH "Path to LLVM's lit.py.") 14 set(LIT_EXECUTABLE "${CMAKE_SOURCE_DIR}/utils/lit/lit.py") 22 CACHE STRING "Default options for lit") 36 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 37 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
|
/external/llvm/utils/lit/ |
D | setup.py | 1 import lit 14 version = lit.__version__, 16 author = lit.__author__, 17 author_email = lit.__email__,
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 143 ByteString lit = ByteString.copyFrom(realBytes); in assertValidUtf8() local 144 ByteString sub = lit.substring(0, bytes.length); in assertValidUtf8() 145 assertTrue(not ^ lit.isValidUtf8()); in assertValidUtf8() 148 RopeByteString.newInstanceForTest(ByteString.EMPTY, lit), in assertValidUtf8() 150 RopeByteString.newInstanceForTest(lit, ByteString.EMPTY), in assertValidUtf8() 152 RopeByteString.newInstanceForTest(sub, lit) in assertValidUtf8()
|
/external/llvm/utils/lit/tests/ |
D | lit.cfg | 6 import lit.formats 8 # Configuration file for the 'lit' test runner. 11 config.name = 'lit' 14 config.test_format = lit.formats.ShTest(execute_external=False) 33 config.substitutions.append(('%{lit}', "%%{python} %s" % ( 34 os.path.join(src_root, 'lit.py'),)))
|
/external/llvm/utils/lit/lit/ExampleTests.ObjDir/ |
D | lit.site.cfg | 6 # certain configuration variables which cannot be autodetected, so that 'lit' 11 # Preserve the obj_root, for use by the main lit.cfg. 14 lit.load_config(config, os.path.join(config.test_source_root, 15 'lit.cfg'))
|
/external/compiler-rt/test/msan/ |
D | CMakeLists.txt | 4 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in 5 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg) 14 ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in 15 ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
|