/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
XmmArith.cpp | 13 namespace Test { 35 AssembledTest test = assemble(); \ 37 test.setQwordTo(T0, static_cast<double>(V0)); \ 38 test.setQwordTo(T1, static_cast<double>(V1)); \ 40 test.setDwordTo(T0, static_cast<float>(V0)); \ 41 test.setDwordTo(T1, static_cast<float>(V1)); \ 44 test.run(); \ 46 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ 67 AssembledTest test = assemble(); \ 69 test.setQwordTo(T0, static_cast<double>(V0)); [all...] |
/external/tensorflow/tensorflow/core/lib/io/ |
table_test.cc | 32 #include "tensorflow/core/platform/test.h" 41 namespace test { namespace in namespace:tensorflow::table 52 // test the boundary conditions for short-key optimizations. 77 } // namespace test 274 class Harness : public ::testing::Test { 303 void Test(random::SimplePhilox* rnd, int num_random_access_iters = 200) { 430 // Test empty table/block. 436 Test(&rnd); 440 // Special test for a block with no restart entries. The C++ leveldb 459 // Test the empty ke [all...] |
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
template-expected.cc | 124 void Test() { 154 void Test() { 175 void Test() { 196 void Test() { 250 // Test for https://crbug.com/598141 - shouldn't rewrite 285 void Test() {
|
/build/soong/java/ |
java.go | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
test_case.py | 7 from test import test_support
16 class Test(object):
27 """A test case which logs its calls."""
30 super(Test.LoggingTestCase, self).__init__('test')
36 def test(self):
member in class:Test.LoggingTestCase 37 self.events.append('test')
49 eq_pairs = [(Test.Foo('test1'), Test.Foo('test1'))]
52 ne_pairs = [(Test.Foo('test1'), Test.Foo('runTest')) 72 def test(self): pass member in class:Test_TestCase.test_init__no_test_name.Test 83 def test(self): pass member in class:Test_TestCase.test_init__test_name__valid.Test 94 def test(self): pass member in class:Test_TestCase.test_init__test_name__invalid.Test 107 def test(self): pass member in class:Test_TestCase.test_countTestCases.Foo 172 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test.Foo 190 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test_default_result.Foo 211 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test.Foo 226 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test_default_result.Foo 280 def test(self): member in class:Test_TestCase.test_run_call_order_default_result.Foo 292 def test(self): member in class:Test_TestCase.test_failureException__default.Foo 308 def test(self): member in class:Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 331 def test(self): member in class:Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 382 def test(self): member in class:Test_TestCase.test_run__uses_defaultTestResult.Foo [all...] |
test_loader.py | 47 # test for it.
63 # Make sure loadTestsFromTestCase() picks up the default test method
72 # This has to be false for the test to succeed
89 def test(self):
member in class:Test_TestLoader.test_loadTestsFromModule__TestCase_subclass.MyTestCase 97 expected = [loader.suiteClass([MyTestCase('test')])]
135 # XXX Certain people are using this behaviour. We'll add a test for it
138 def test(self):
member in class:Test_TestLoader.test_loadTestsFromModule__not_a_module.MyTestCase 147 reference = [unittest.TestSuite([MyTestCase('test')])]
156 def test(self):
member in class:Test_TestLoader.test_loadTestsFromModule__load_tests.MyTestCase 187 test = list(suite)[0] 333 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_not_a_module.MyTestCase 369 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass.MyTestCase 385 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestSuite.MyTestCase 400 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod.MyTestCase 421 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod.MyTestCase 492 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass.MyTestCase 731 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_not_a_module.MyTestCase 767 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass.MyTestCase 783 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestSuite.MyTestCase 798 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_testmethod.MyTestCase 817 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod.MyTestCase 869 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod.Test1 [all...] |
/external/autotest/frontend/tko/ |
models.py | 47 This method exists so that it can be mocked in the unit test for 200 class Test(dbmodels.Model, model_logic.ModelExtensions, 202 """Models a test.""" 205 test = dbmodels.CharField(max_length=300) variable in class:Test 221 return TestAttribute, dict(test=self, attribute=attribute, 228 TestAttribute.objects.get(test=self, attribute=attribute, 230 raise ValueError('Attribute %s already exists for test %s and is ' 233 super(Test, self).set_attribute(attribute, value) 236 """Metadata for class Test.""" 241 """Models a test attribute."" 242 test = dbmodels.ForeignKey(Test, db_column='test_idx') variable in class:TestAttribute 258 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) variable in class:IterationAttribute 273 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) variable in class:IterationResult [all...] |
/external/clang/test/Index/ |
print-type-size.cpp | 2 // RUN: c-index-test -test-print-type-size %s -target x86_64-pc-linux-gnu | FileCheck -check-prefix=CHECK64 %s 3 // RUN: c-index-test -test-print-type-size %s -target i386-apple-darwin9 | FileCheck -check-prefix=CHECK32 %s 52 struct Test { 82 // these are test crash. Offsetof return values are not important. 84 // test that fields in incomplete named record do not crash 98 // test that fields in incomplete anonymous record do not crash 271 // Test complex class hierarchy 286 // Test that this somewhat complex class structure is laid out correctly [all...] |
/external/icu/icu4c/source/test/intltest/ |
itspoof.cpp | 36 errln("Test Failure at file %s, line %d: \"%s\" is false.", __FILE__, __LINE__, #expr);};} 39 dataerrln("Test Failure at file %s, line %d, %s: \"%s\" is false.", __FILE__, __LINE__, msg, #expr);};} 42 errln("Test Failure at file %s, line %d: \"%s\" (%d) != \"%s\" (%d)", \ 46 errln("Test Failure at file %s, line %d: \"%s\" (%d) == \"%s\" (%d)", \ 51 * macros to handle the boilerplate around setting up test case. 52 * Put arbitrary test code between SETUP and TEARDOWN. 103 // If this test starts failing, consult confusablesWholeScript.txt 138 // Test cases chosen for substitutions of various lengths, and 141 // TODO: for ICU 56 with Unicode 8, revisit this test. 205 // Run a single confusable skeleton transformation test case 566 const Test &test = tests[testNum]; local 628 Test &test = tests[testNum]; local [all...] |
/external/libchrome/third_party/jinja2/ |
nodes.py | 310 For filtered nodes an expression can be stored as `test`, otherwise `None`. 312 fields = ('target', 'iter', 'body', 'else_', 'test', 'recursive') 316 """If `test` is true, `body` is rendered, else `else_`.""" 317 fields = ('test', 'body', 'elif_', 'else_') 588 fields = ('test', 'expr1', 'expr2') 592 if self.test.as_const(eval_ctx): 669 class Test(Expr): 670 """Applies a test on an expression. `name` is the name of the test, the 677 test = self.environment.tests.get(self.name [all...] |
/external/python/cpython2/Lib/unittest/test/ |
test_case.py | 8 from test import test_support 12 from unittest.test.support import ( 17 class Test(object): 28 """A test case which logs its calls.""" 31 super(Test.LoggingTestCase, self).__init__('test') 37 def test(self): member in class:Test.LoggingTestCase 38 self.events.append('test') 50 eq_pairs = [(Test.Foo('test1'), Test.Foo('test1')) 73 def test(self): pass member in class:Test_TestCase.test_init__no_test_name.Test 84 def test(self): pass member in class:Test_TestCase.test_init__test_name__valid.Test 95 def test(self): pass member in class:Test_TestCase.test_init__test_name__invalid.Test 108 def test(self): pass member in class:Test_TestCase.test_countTestCases.Foo 173 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test.Foo 191 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test_default_result.Foo 212 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test.Foo 227 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test_default_result.Foo 281 def test(self): member in class:Test_TestCase.test_run_call_order_default_result.Foo 293 def test(self): member in class:Test_TestCase.test_failureException__default.Foo 309 def test(self): member in class:Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 332 def test(self): member in class:Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 383 def test(self): member in class:Test_TestCase.test_run__uses_defaultTestResult.Foo [all...] |
test_loader.py | 13 # "Return a suite of all test cases contained in the TestCase-derived 26 # "Return a suite of all test cases contained in the TestCase-derived 39 # "Return a suite of all test cases contained in the TestCase-derived 47 # test for it. 60 # "Return a suite of all test cases contained in the TestCase-derived 63 # Make sure loadTestsFromTestCase() picks up the default test method 72 # This has to be false for the test to succeed 89 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__TestCase_subclass.MyTestCase 97 expected = [loader.suiteClass([MyTestCase('test')])] 135 # XXX Certain people are using this behaviour. We'll add a test for i 138 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__not_a_module.MyTestCase 156 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__load_tests.MyTestCase 333 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_not_a_module.MyTestCase 369 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass.MyTestCase 385 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestSuite.MyTestCase 400 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod.MyTestCase 421 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod.MyTestCase 492 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass.MyTestCase 731 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_not_a_module.MyTestCase 767 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass.MyTestCase 783 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestSuite.MyTestCase 798 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_testmethod.MyTestCase 817 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod.MyTestCase 869 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod.Test1 1290 test = lambda: 1 variable in class:Test_TestLoader.test_loadTestsFromName__function_with_different_name_than_method.MyTestCase [all...] |
/external/python/cpython3/Lib/test/ |
test_scope.py | 4 from test.support import check_syntax_error, cpython_only 133 def test(): function in function:ScopeTests.testFreeVarInMethod 135 class Test: 138 def test(self): member in class:ScopeTests.testFreeVarInMethod.test.Test 144 return Test() 146 t = test() 147 self.assertEqual(t.test(), "var") 152 class Test: 156 def test(self): member in class:ScopeTests.testFreeVarInMethod.Test 163 t = Test() [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
ARMInstructionSelector.cpp | 933 auto Test = BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(ARM::TSTri)) 937 if (!constrainSelectedInstRegOperands(*Test, TII, TRI, RBI)) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
BinaryStreamTest.cpp | 110 class BinaryStreamTest : public testing::Test { 357 // Test that we can write to a BinaryStream without a StreamWriter. 401 auto Test = makeArrayRef(InputData).take_front(4); 403 EXPECT_THAT_ERROR(Stream.writeBytes(4, Test), Failed()); 406 EXPECT_THAT_ERROR(Stream.writeBytes(0, Test), Succeeded()); 407 EXPECT_EQ(Test, Stream.data()); 411 EXPECT_THAT_ERROR(Stream.writeBytes(4, Test), Succeeded()); 415 // Test that FixedStreamArray works correctly. 460 // Test that VarStreamArray works correctly. 463 "Extra Longest Test Of All") [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
pooling_ops_test.py | 39 from tensorflow.python.platform import test 45 if use_gpu and test.is_gpu_available(): 56 include_nchw_vect_c: Whether to include NCHW_VECT_C in the test configs. 59 all the valid test configs as tuples of data_format and use_gpu. 62 if not test.is_gpu_available(cuda_only=True): 69 if test.is_gpu_available( 73 tf_logging.info("NCHW_VECT_C test skipped because no GPUs with " 106 class PoolingTest(test.TestCase): 136 tf_logging.info("Skipping test for depth %d", input_sizes[-1]) 138 tf_logging.info("Running %s test. %r %r %d %r %r %r %s", data_format, v2 [all...] |
/external/tensorflow/tensorflow/python/util/ |
tf_inspect_test.py | 25 from tensorflow.python.platform import test 47 """Test Decorated Function Docstring.""" 53 """Test Decorated Function With Defaults Docstring.""" 59 """Test Decorated Class.""" 68 class TfInspectTest(test.TestCase): 496 self.assertEqual('Test Decorated Function With Defaults Docstring.', 524 """Test Decorated Function With Defaults Docstring.""" 588 class TfInspectGetCallArgsTest(test.TestCase): 683 class Test(object): 688 t = Test() 711 def test(cls, a, b=3, c='hello'): member in class:TfInspectGetCallArgsTest.testClassMethod.Test [all...] |
/art/test/004-JniTest/ |
jni_test.cc | 53 // Clear jvm for CHECK in test 004-JniTest. 300 // Test direct call. 318 // Test one-level call. Use System.loadLibrary(). 358 // Test direct call. 370 // Test one-level call. Use VMStack.getStackClass1(). 407 void Test() { 582 JniCallNonvirtualVoidMethodTest(env).Test(); 602 const char* test_array = "Test"; 607 // Test NewObject 616 // Test AllocObject and Call(Nonvirtual)VoidMetho [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 32 import android.test.AndroidTestCase; 46 TestLooperThread looperThread = new TestLooperThread(Test.ADD_IDLE_HANDLER); 59 TestLooperThread looperThread = new TestLooperThread(Test.REMOVE_IDLE_HANDLER); 71 private enum Test {ADD_IDLE_HANDLER, REMOVE_IDLE_HANDLER} 74 * {@link HandlerThread} that adds or removes an idle handler depending on the {@link Test} 82 private final Test mTestMode; 86 TestLooperThread(Test testMode) { 103 if (mTestMode == Test.ADD_IDLE_HANDLER) { 296 // signal the test, and remove the callback. 338 // Read until everything is read, signal the test, [all...] |
/external/clang/lib/Analysis/ |
Consumed.cpp | 48 // TODO: Test nested conditionals: A) Checking the same value multiple times, 955 static void splitVarStateForIf(const IfStmt *IfNode, const VarTestResult &Test, 958 ConsumedState VarState = ThenStates->getState(Test.Var); 961 ThenStates->setState(Test.Var, Test.TestsFor); 962 ElseStates->setState(Test.Var, invertConsumedUnconsumed(Test.TestsFor)); 964 } else if (VarState == invertConsumedUnconsumed(Test.TestsFor)) { 967 } else if (VarState == Test.TestsFor) { [all...] |
/external/clang/test/CXX/drs/ |
dr5xx.cpp | 131 // FIXME: Add a codegen test. 134 int test[fold((int*)(void*)0) ? -1 : 1]; member in namespace:dr519 158 void test(int n, const int cn, int **p, int *S::*pm) { function in namespace:dr522 213 void test(int (&a)[3], S<3> s) { function in namespace:dr526 360 void test() { function in namespace:dr532 708 // FIXME: Add a codegen test. 711 const ir r = n; // expected-warning {{has no effect}} FIXME: Test if this has internal linkage. 749 void test(C c, D d) { function in namespace:dr574 756 struct Test { 945 // dr593 needs an IRGen test [all...] |
/external/clang/test/CodeGenCXX/ |
const-init-cxx11.cpp | 73 struct Test : Ts... { constexpr Test() : Ts()..., n(5) {} int n; }; 75 using Test1 = Test<N, C, Cs<1,2>, D, X<C,1>>; 475 void test() { static long b = (long)&&lbl - a(false); lbl: return; } function 535 void test() {
|
/external/clang/test/SemaCXX/ |
nested-name-spec.cpp | 202 class Test {
|
/external/deqp/external/openglcts/modules/common/ |
glcUniformBlockTests.cpp | 2 * OpenGL Conformance Test Suite 707 if (!Test(vs1, fs1, GL_FALSE)) 723 if (!Test(vs2, fs2, GL_TRUE)) 739 if (!Test(vs3, fs3, GL_TRUE)) 756 if (!Test(vs4, fs4, GL_FALSE)) 773 if (!Test(vs5, fs5, GL_TRUE)) 790 if (!Test(vs6, fs6, GL_FALSE)) 797 bool Test(const std::string& vs, const std::string& fs, glw::GLint expectedLinkStatus) [all...] |
/external/flatbuffers/tests/MyGame/Example/ |
Monster.go | 126 func (rcv *Monster) Test(obj *flatbuffers.Table) bool { 135 func (rcv *Monster) Test4(obj *Test, j int) bool { 468 func (rcv *Monster) Test5(obj *Test, j int) bool { 747 func MonsterAddTest(builder *flatbuffers.Builder, test flatbuffers.UOffsetT) { 748 builder.PrependUOffsetTSlot(8, flatbuffers.UOffsetT(test), 0)
|