/external/rust/crates/syn/1.0.7/tests/ |
D | test_lit.rs | 8 fn lit(s: &str) -> Lit { in lit() function 15 TokenTree::Literal(lit) => Lit::new(lit), in lit() 23 match lit(s) { in strings() 24 Lit::Str(lit) => { in strings() 25 assert_eq!(lit.value(), value); in strings() 26 let again = lit.into_token_stream().to_string(); in strings() 54 match lit(s) { in byte_strings() 55 Lit::ByteStr(lit) => { in byte_strings() 56 assert_eq!(lit.value(), value); in byte_strings() 57 let again = lit.into_token_stream().to_string(); in byte_strings() [all …]
|
/external/rust/crates/syn/0.15.42/tests/ |
D | test_lit.rs | 12 fn lit(s: &str) -> Lit { in lit() function 19 TokenTree::Literal(lit) => Lit::new(lit), in lit() 27 match lit(s) { in strings() 28 Lit::Str(lit) => { in strings() 29 assert_eq!(lit.value(), value); in strings() 30 let again = lit.into_token_stream().to_string(); in strings() 58 match lit(s) { in byte_strings() 59 Lit::ByteStr(lit) => { in byte_strings() 60 assert_eq!(lit.value(), value); in byte_strings() 61 let again = lit.into_token_stream().to_string(); in byte_strings() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/ |
D | README.txt | 2 lit - A Software Testing Tool 5 lit is a portable tool for executing LLVM and Clang style test suites, 6 summarizing their results, and providing indication of failures. lit is designed 10 Contributing to lit 13 Please browse the Test Suite > lit category in LLVM's Bugzilla for ideas on 19 utils/lit/lit.py \ 21 utils/lit/tests 23 Note that lit's tests depend on 'not' and 'FileCheck', LLVM utilities. 24 You will need to have built LLVM tools in order to run lit's test suite 27 You'll also want to confirm that lit continues to work when testing LLVM. [all …]
|
D | CMakeLists.txt | 5 "${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in" 6 "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" 8 "${CMAKE_CURRENT_BINARY_DIR}/tests/lit.site.cfg" 17 add_custom_target(prepare-check-lit 20 …COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" "${CMAKE_CURRENT_BINAR… 21 COMMENT "Preparing lit tests" 24 # Add rules for lit's own test suite 25 add_lit_testsuite(check-lit "Running lit's tests" 27 DEPENDS "FileCheck" "not" "prepare-check-lit" 31 set_target_properties(check-lit PROPERTIES FOLDER "Tests") [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,), 99 return (lit.Test.UNSUPPORTED, 104 return (lit.Test.UNSUPPORTED, "Objective-C++ is not supported") 107 script = lit.TestRunner.parseIntegratedTestScript( 111 if isinstance(script, lit.Test.Result): 114 return lit.Test.Result(lit.Test.PASS) 120 tmpDir, tmpBase = lit.TestRunner.getTempPaths(test) [all …]
|
D | googlebenchmark.py | 6 import lit.Test 7 import lit.TestRunner 8 import lit.util 9 from lit.formats.base import TestFormat 51 ln = lit.util.to_string(ln) 79 for fn in lit.util.listdir_files(dir_path, 86 yield lit.Test.Test(testSuite, testPath, localConfig, 100 return lit.Test.PASS, '' 103 out, err, exitCode = lit.util.executeCommand( 106 except lit.util.ExecuteCommandTimeoutException: [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/test-data-micro/ |
D | dummy_format.py | 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) 39 micro_result = lit.Test.Result(getattr(lit.Test, result_code, '')) 44 metric = lit.Test.IntMetricValue(value) 46 metric = lit.Test.RealMetricValue(value)
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/formats/ |
D | googletest.py | 6 import lit.Test 7 import lit.TestRunner 8 import lit.util 48 ln = lit.util.to_string(ln) 89 for fn in lit.util.listdir_files(dir_path, 96 yield lit.Test.Test(testSuite, testPath, localConfig, 113 return lit.Test.PASS, '' 116 out, err, exitCode = lit.util.executeCommand( 119 except lit.util.ExecuteCommandTimeoutException: 120 return (lit.Test.TIMEOUT, [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/v8/src/objects/ |
D | shared-function-info.cc | 453 FunctionLiteral* lit, bool is_toplevel) { in InitFromFunctionLiteral() argument 458 shared_info->set_internal_formal_parameter_count(lit->parameter_count()); in InitFromFunctionLiteral() 459 shared_info->SetFunctionTokenPosition(lit->function_token_position(), in InitFromFunctionLiteral() 460 lit->start_position()); in InitFromFunctionLiteral() 461 shared_info->set_syntax_kind(lit->syntax_kind()); in InitFromFunctionLiteral() 462 shared_info->set_allows_lazy_compilation(lit->AllowsLazyCompilation()); in InitFromFunctionLiteral() 463 shared_info->set_language_mode(lit->language_mode()); in InitFromFunctionLiteral() 464 shared_info->set_function_literal_id(lit->function_literal_id()); in InitFromFunctionLiteral() 466 DCHECK(lit->kind() == shared_info->kind()); in InitFromFunctionLiteral() 467 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject()); in InitFromFunctionLiteral() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | UnicodeSetStates.txt | 20 ']' n set-after-lit doSetLiteral 43 default n set-after-lit doSetLiteral 50 default set-after-lit doSetAddDash 57 default set-after-lit doSetAddAmp 60 # set-after-lit The last thing scanned was a literal character within a set. 63 set-after-lit: 66 '-' n set-lit-dash 67 '&' n set-lit-amp 70 default n set-after-lit doSetLiteral 79 default n set-after-lit doSetLiteral [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
D | main.py | 21 import lit.ProgressBar 22 import lit.LitConfig 23 import lit.Test 24 import lit.run 25 import lit.util 26 import lit.discovery 109 data['__version__'] = lit.__versioninfo__ 333 print("lit %s" % (lit.__version__,)) 340 opts.numThreads = lit.util.detectCPUs() 369 litConfig = lit.LitConfig.LitConfig( [all …]
|
D | LitConfig.py | 6 import lit.Test 7 import lit.formats 8 import lit.TestingConfig 9 import lit.util 116 self.bashPath = lit.util.which('bash', os.pathsep.join(self.path)) 118 self.bashPath = lit.util.which('bash') 127 if not lit.util.checkToolsPath(dir, tools): 130 dir = lit.util.whichTools(tools, paths) 133 self.bashPath = lit.util.which('bash', dir)
|
/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/xunit-output/ |
D | dummy_format.py | 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-7.0/llvm/utils/lit/tests/Inputs/test-data/ |
D | dummy_format.py | 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-7.0/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/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/libxkbcommon/xkbcommon/test/ |
D | utf8.c | 31 #define VALID(lit) assert(is_valid_utf8(lit, sizeof(lit)-1)) argument 32 #define INVALID(lit) assert(!is_valid_utf8(lit, sizeof(lit)-1)) argument
|
/external/swiftshader/third_party/llvm-7.0/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) 32 # ``lit.py``, so use `llvm_src_root` instead. 33 lit_path = os.path.join(llvm_src_root, 'utils', 'lit') 37 config.environment['PYTHONPATH'] = lit_path # Required because some tests import the lit module 41 config.substitutions.append(('%{lit}', "%%{python} %s" % ( 42 os.path.join(lit_path, 'lit.py'),))) 68 # Add llvm and lit tools directories if this config is being loaded indirectly.
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | subgraph.cc | 45 for (auto lit = this->begin(), rit = other.begin(); lit != this->end(); in operator <() local 46 ++lit, ++rit) { in operator <() 47 if (*lit < *rit) { in operator <() 50 if (*lit > *rit) { in operator <() 61 for (auto lit = this->begin(), rit = other.begin(); lit != this->end(); in operator ==() local 62 ++lit, ++rit) { in operator ==() 63 if (*lit != *rit) { in operator ==()
|
/external/v8/src/ast/ |
D | ast-function-literal-id-reindexer.cc | 27 void AstFunctionLiteralIdReindexer::VisitFunctionLiteral(FunctionLiteral* lit) { in VisitFunctionLiteral() argument 29 DCHECK(visited_.insert(lit).second); in VisitFunctionLiteral() 31 AstTraversalVisitor::VisitFunctionLiteral(lit); in VisitFunctionLiteral() 32 lit->set_function_literal_id(lit->function_literal_id() + delta_); in VisitFunctionLiteral() 95 void VisitFunctionLiteral(FunctionLiteral* lit) { in VisitFunctionLiteral() argument 98 DCHECK(visited_->find(lit) != visited_->end()); in VisitFunctionLiteral()
|
/external/rust/crates/syn/1.0.7/src/ |
D | lit.rs | 185 Lit::Str(lit) => { in hash() 187 lit.hash(hash); in hash() 189 Lit::ByteStr(lit) => { in hash() 191 lit.hash(hash); in hash() 193 Lit::Byte(lit) => { in hash() 195 lit.hash(hash); in hash() 197 Lit::Char(lit) => { in hash() 199 lit.hash(hash); in hash() 201 Lit::Int(lit) => { in hash() 203 lit.hash(hash); in hash() [all …]
|