/prebuilts/go/linux-x86/test/interface/ |
explicit.go | 41 t = e // ERROR "need explicit|need type assertion" 56 t = T(e) // ERROR "need explicit|need type assertion|incompatible" 70 var _ = m.(int) // ERROR "impossible type assertion" 76 var _ = m.(Int) // ERROR "impossible type assertion"
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/ |
EfiDebug.h | 23 EfiDebugAssert(file, linenumber, assertion string) - worker function for
25 is passed in along with the stringized version of the assertion.
71 #define _DEBUG_ASSERT(assertion) \
72 EfiDebugAssert (__FILE__, __LINE__, #assertion)
77 // Define ASSERT() macro, if assertion is FALSE trigger the ASSERT
79 #define ASSERT(assertion) if(!(assertion)) \
80 _DEBUG_ASSERT(assertion)
|
/external/ltp/testcases/kernel/mem/vma/ |
vma04.c | 75 static void assertion(char *expected, char *value, char *name); 187 static void assertion(char *expected, char *value, char *name) function 237 assertion("2,4", retbuf, "case4"); 254 assertion("4,2", retbuf, "case5"); 271 assertion("6", retbuf, "case6"); 288 assertion("4,2", retbuf, "case7"); 305 assertion("2,4", retbuf, "case8");
|
/external/google-breakpad/src/processor/ |
minidump_dump.cc | 135 MinidumpAssertion *assertion = minidump.GetAssertion(); local 136 if (!assertion) { 139 assertion->Print();
|
/art/tools/checker/common/ |
logger.py | 97 def testFailed(msg, assertion, variables): 99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
|
/external/testng/src/test/java/test/assertion/ |
AssertionTest.java | 1 package test.assertion; 21 m_assert.assertTrue(false, "new TestNG Assertion Failed");
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
AppCompatImageViewTest.java | 19 import static android.support.test.espresso.assertion.ViewAssertions.matches;
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
Matchers.java | 20 import static android.support.test.espresso.assertion.ViewAssertions.matches; 48 // assertion fails.
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
Util.java | 71 static void LOG_FATAL_IF(boolean assertion, String message, Object... args) { 72 assert !assertion : String.format(message, args);
|
/system/tools/hidl/ |
MemoryType.cpp | 152 static HidlTypeAssertion assertion("hidl_memory", 40 /* size */); 155 *size = assertion.size();
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-cris/ |
weakref1.d | 7 # confused symbol reference count mismatch with a bfd assertion. Linking 10 # assertion. Note that no actual dynamic reloc is created for the
|
/external/google-breakpad/src/testing/gtest/scripts/ |
gen_gtest_pred_impl.py | 113 // Implements a family of generic predicate assertion macros. 123 // This header implements a family of generic predicate assertion 278 // %(Arity)s predicate assertion macros. 529 "The predicate assertion didn't evaluate argument %s " 536 FAIL() << "The predicate assertion unexpactedly aborted the test."; 538 FAIL() << "The failed predicate assertion didn't abort the test " 572 """Returns the test for a predicate assertion macro. 575 use_format: true iff the assertion is a *_PRED_FORMAT*. 576 use_assert: true iff the assertion is a ASSERT_*. 577 expect_failure: true iff the assertion is expected to fail [all...] |
/external/googletest/googletest/scripts/ |
gen_gtest_pred_impl.py | 113 // Implements a family of generic predicate assertion macros. 123 // This header implements a family of generic predicate assertion 278 // %(Arity)s predicate assertion macros. 529 "The predicate assertion didn't evaluate argument %s " 536 FAIL() << "The predicate assertion unexpactedly aborted the test."; 538 FAIL() << "The failed predicate assertion didn't abort the test " 572 """Returns the test for a predicate assertion macro. 575 use_format: true iff the assertion is a *_PRED_FORMAT*. 576 use_assert: true iff the assertion is a ASSERT_*. 577 expect_failure: true iff the assertion is expected to fail [all...] |
/external/protobuf/gtest/scripts/ |
gen_gtest_pred_impl.py | 113 // Implements a family of generic predicate assertion macros. 123 // This header implements a family of generic predicate assertion 280 // %(Arity)s predicate assertion macros. 532 "The predicate assertion didn't evaluate argument %s " 539 FAIL() << "The predicate assertion unexpactedly aborted the test."; 541 FAIL() << "The failed predicate assertion didn't abort the test " 575 """Returns the test for a predicate assertion macro. 578 use_format: true iff the assertion is a *_PRED_FORMAT*. 579 use_assert: true iff the assertion is a ASSERT_*. 580 expect_failure: true iff the assertion is expected to fail [all...] |
/external/v8/testing/gtest/scripts/ |
gen_gtest_pred_impl.py | 113 // Implements a family of generic predicate assertion macros. 123 // This header implements a family of generic predicate assertion 278 // %(Arity)s predicate assertion macros. 529 "The predicate assertion didn't evaluate argument %s " 536 FAIL() << "The predicate assertion unexpactedly aborted the test."; 538 FAIL() << "The failed predicate assertion didn't abort the test " 572 """Returns the test for a predicate assertion macro. 575 use_format: true iff the assertion is a *_PRED_FORMAT*. 576 use_assert: true iff the assertion is a ASSERT_*. 577 expect_failure: true iff the assertion is expected to fail [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
gen_gtest_pred_impl.py | 113 // Implements a family of generic predicate assertion macros. 123 // This header implements a family of generic predicate assertion 278 // %(Arity)s predicate assertion macros. 529 "The predicate assertion didn't evaluate argument %s " 536 FAIL() << "The predicate assertion unexpactedly aborted the test."; 538 FAIL() << "The failed predicate assertion didn't abort the test " 572 """Returns the test for a predicate assertion macro. 575 use_format: true iff the assertion is a *_PRED_FORMAT*. 576 use_assert: true iff the assertion is a ASSERT_*. 577 expect_failure: true iff the assertion is expected to fail [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/scripts/ |
gen_gtest_pred_impl.py | 113 // Implements a family of generic predicate assertion macros. 123 // This header implements a family of generic predicate assertion 278 // %(Arity)s predicate assertion macros. 529 "The predicate assertion didn't evaluate argument %s " 536 FAIL() << "The predicate assertion unexpactedly aborted the test."; 538 FAIL() << "The failed predicate assertion didn't abort the test " 572 """Returns the test for a predicate assertion macro. 575 use_format: true iff the assertion is a *_PRED_FORMAT*. 576 use_assert: true iff the assertion is a ASSERT_*. 577 expect_failure: true iff the assertion is expected to fail [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
LocPathIterator.java | 391 assertion(false, "setNextPosition not supported in this iterator!"); method 418 assertion(false, "setShouldCacheNodes not supported by this iterater!"); method 440 assertion(false, "setCurrentPos not supported by this iterator!"); method 464 assertion(false, "size() not supported by this iterator!"); method 479 assertion(false, "item(int index) not supported by this iterator!"); method 498 assertion(false, "setItem not supported by this iterator!"); method 700 assertion(false, "This iterator can not reset!"); method
|
/external/google-breakpad/src/client/windows/handler/ |
exception_handler.h | 104 // exception record, if any; assertion points to assertion information, 112 MDRawAssertionInfo* assertion); 120 // assertion points to information about an assertion if the handler was 121 // invoked by an assertion. 142 MDRawAssertionInfo* assertion, 322 // the CRT may display an assertion dialog before calling this function, 323 // and the function will not be called unless the assertion dialog is 342 // is NULL. If the dump is requested as a result of an assertion [all...] |
/external/tensorflow/tensorflow/core/platform/cloud/ |
oauth_client_test.cc | 118 StringPiece grant_type, assertion; local 124 .OneLiteral("&assertion=") 125 .GetResult(&assertion, &grant_type)); 129 int last_dot = assertion.ToString().find_last_of("."); 130 string header_dot_claim = assertion.ToString().substr(0, last_dot); 131 string signature_encoded = assertion.ToString().substr(last_dot + 1);
|
/developers/build/prebuilts/gradle/EmojiCompat/kotlinApp/app/src/androidTest/java/com/example/android/emojicompat/ |
MainActivityTest.kt | 20 import android.support.test.espresso.assertion.ViewAssertions.matches
|
/developers/samples/android/views/EmojiCompat/kotlinApp/app/src/androidTest/java/com/example/android/emojicompat/ |
MainActivityTest.kt | 20 import android.support.test.espresso.assertion.ViewAssertions.matches
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
ltp-diorh.c | 53 void assert(const char *what, int assertion) 55 if (assertion)
|
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_unittest.cc | 38 void ReportFailure(const char* file, int line, const char* assertion) { 39 std::cout << file << ":" << line << ": \"" << assertion << "\" failed."
|
/frameworks/native/vulkan/vkjson/ |
vkjson_unittest.cc | 38 void ReportFailure(const char* file, int line, const char* assertion) { 39 std::cout << file << ":" << line << ": \"" << assertion << "\" failed."
|