/device/linaro/bootloader/edk2/StdLib/Include/ |
assert.h | 2 Provides a definition of the assert macro used to insert diagnostic messages
5 This header file defines the assert macro and refers to the NDEBUG macro,
8 Unlike other header files, assert.h is designed to be included multiple
11 If the NDEBUG macro is defined at the point where assert.h
12 is included, the assert macro is defined so as to not produce code.
30 #undef assert ///< Remove any existing definition for assert.
macro 32 /** Internal helper function for the assert macro.
43 @param[in] file The name of the file containing the assert.
44 @param[in] func The name of the function containing the assert. 75 #define assert macro 78 #define assert macro [all...] |
/external/clang/test/Modules/Inputs/macro-hiding/ |
a1.h | 1 #define assert(x) macro
|
b2.h | 2 #define assert(x) macro
|
c1.h | 2 #define assert(x) macro
|
d1.h | 2 #define assert(x) macro
|
/external/clang/test/Modules/Inputs/macro-reexport/ |
a1.h | 1 #define assert(x) a macro
|
b2.h | 2 #define assert(x) b macro
|
c1.h | 4 #define assert(x) c macro
|
d1.h | 4 #undef assert macro 5 #define assert(x) d macro
|
e1.h | 2 #undef assert macro
|
e2.h | 2 #undef assert macro
|
/external/clang/test/Modules/ |
macro-hiding.cpp | 101 void h() { assert(true); } 103 void assert() {} function
|
/external/clang/test/SemaTemplate/ |
rdar9173693.cpp | 4 template< bool C > struct assert { }; struct 6 template< typename Pred > assert<false> assert_not_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ); // expected-error 5 {{}}
|
/external/flatbuffers/samples/ |
sample_binary.go | 94 assert(monster.Mana() == 150, "`monster.Mana()`", strconv.Itoa(int(monster.Mana())), "150") 95 assert(monster.Hp() == 300, "`monster.Hp()`", strconv.Itoa(int(monster.Hp())), "300") 96 assert(string(monster.Name()) == "Orc", "`string(monster.Name())`", string(monster.Name()), 98 assert(monster.Color() == sample.ColorRed, "`monster.Color()`", 105 assert(monster.Pos(nil).X() == 1.0, "`monster.Pos(nil).X()`", 107 assert(monster.Pos(nil).Y() == 2.0, "`monster.Pos(nil).Y()`", 109 assert(monster.Pos(nil).Z() == 3.0, "`monster.Pos(nil).Z()`", 116 assert(monster.Inventory(i) == byte(i), "`monster.Inventory(i)`", 126 assert(string(weapon.Name()) == expectedWeaponNames[i], "`weapon.Name()`", 128 assert(int(weapon.Damage()) == expectedWeaponDamages[i] 160 func assert(assertPassed bool, codeExecuted string, actualValue string, expectedValue string) { func [all...] |
samplebinary.js | 19 var assert = require('assert'); variable 77 assert.equal(monster.mana(), 150); 78 assert.equal(monster.hp(), 300); 79 assert.equal(monster.name(), 'Orc'); 80 assert.equal(monster.color(), MyGame.Sample.Color.Red); 81 assert.equal(monster.pos().x(), 1.0); 82 assert.equal(monster.pos().y(), 2.0); 83 assert.equal(monster.pos().z(), 3.0); 87 assert.equal(monster.inventory(i), i) [all...] |
/external/syslinux/com32/include/ |
assert.h | 4 /* Assert not currently supported */ 5 #define assert(X) ((void)0) macro
|
/prebuilts/go/darwin-x86/test/ |
switch.go | 13 func assert(cond bool, msg string) { func 27 assert(false, "<") 29 assert(true, "!") 31 assert(false, ">") 36 assert(false, "<") 38 assert(true, "!") 40 assert(false, ">") 45 assert(false, "<") 47 assert(true, "!") 49 assert(false, ">" [all...] |
literal.go | 13 func assert(cond bool, msg string) { func 31 assert(t == !f, "bool") 41 assert(i01 == i00+1, "i01") 42 assert(i02 == -i01, "i02") 43 assert(i03 == -i04, "i03") 44 assert(-(i05+1) == i06, "i05") 54 assert(i11 == i10+1, "i11") 55 assert(i12 == -i11, "i12") 56 assert(i13 == -i14, "i13") 57 assert(-(i15+1) == i16, "i15" [all...] |
/prebuilts/go/linux-x86/test/ |
switch.go | 13 func assert(cond bool, msg string) { func 27 assert(false, "<") 29 assert(true, "!") 31 assert(false, ">") 36 assert(false, "<") 38 assert(true, "!") 40 assert(false, ">") 45 assert(false, "<") 47 assert(true, "!") 49 assert(false, ">" [all...] |
/bionic/libc/include/ |
assert.h | 36 * There's no include guard in this file because <assert.h> may usefully be 42 #undef assert macro 48 # define assert(e) __assert_no_op macro 51 # define assert(e) ((e) ? __assert_no_op : __assert2(__FILE__, __LINE__, __PRETTY_FUNCTION__, #e)) macro 53 # define assert(e) ((e) ? __assert_no_op : __assert(__FILE__, __LINE__, #e)) macro
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/ |
assert.h | 34 * @(#)assert.h 8.2 (Berkeley) 1/21/94 54 #define _assert(e) assert(e) 56 # define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e)) macro 58 # define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__)) macro 60 # define assert(e) ((e) ? (void)0 : __assert()) macro 63 #define assert(e) ((void)0) macro
|
/external/flatbuffers/tests/ |
JavaScriptUnionVectorTest.js | 1 var assert = require('assert'); variable 38 assert.strictEqual(movie.charactersTypeLength(), charTypes.length); 39 assert.strictEqual(movie.charactersLength(), movie.charactersTypeLength()); 42 assert.strictEqual(movie.charactersType(i), charTypes[i]); 46 assert.strictEqual(bookReader7.booksRead(), 7); 49 assert.strictEqual(attacker.swordAttackDamage(), 5); 52 assert.strictEqual(bookReader2.booksRead(), 2);
|
/external/jemalloc/include/jemalloc/internal/ |
assert.h | 2 * Define a custom assert() in order to reduce the chances of deadlock during 5 #ifndef assert 6 #define assert(e) do { \ macro
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug090.go | 14 func assert(t bool, s string) { func 24 assert(c3div2 == 1, "3/2"); 25 assert(f3div2 == 1.5, "3/2"); 28 assert(i == c3div2, "i == c3div2"); 31 assert(f == c3div2, "f == c3div2"); 34 assert(f == f3div2, "f == f3div2"); 37 assert(i == c3div2, "i == c3div2 from f3div2"); 38 assert(i != f3div2, "i != f3div2"); // ERROR "truncate"
|
/prebuilts/go/darwin-x86/test/interface/ |
fake.go | 35 func assert(b bool) { func 37 panic("assert") 58 assert(i.Interface() == j.Interface()) 62 assert(s.Interface() == t.Interface()) 69 assert(i.Interface() != j.Interface()) 73 assert(i.Interface() != j.Interface()) 77 assert(i.Interface() == j.Interface())
|