/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 13 #define TEST(x) if (!(x)) { \ macro 34 TEST(alltypes.req_int32 == -1001); in check_alltypes() 35 TEST(alltypes.req_int64 == -1002); in check_alltypes() 36 TEST(alltypes.req_uint32 == 1003); in check_alltypes() 37 TEST(alltypes.req_uint64 == 1004); in check_alltypes() 38 TEST(alltypes.req_sint32 == -1005); in check_alltypes() 39 TEST(alltypes.req_sint64 == -1006); in check_alltypes() 40 TEST(alltypes.req_bool == true); in check_alltypes() 42 TEST(alltypes.req_fixed32 == 1008); in check_alltypes() 43 TEST(alltypes.req_sfixed32 == -1009); in check_alltypes() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/alltypes/ |
D | decode_alltypes.c | 13 #define TEST(x) if (!(x)) { \ macro 32 TEST(alltypes.req_int32 == -1001); in check_alltypes() 33 TEST(alltypes.req_int64 == -1002); in check_alltypes() 34 TEST(alltypes.req_uint32 == 1003); in check_alltypes() 35 TEST(alltypes.req_uint64 == 1004); in check_alltypes() 36 TEST(alltypes.req_sint32 == -1005); in check_alltypes() 37 TEST(alltypes.req_sint64 == -1006); in check_alltypes() 38 TEST(alltypes.req_bool == true); in check_alltypes() 40 TEST(alltypes.req_fixed32 == 1008); in check_alltypes() 41 TEST(alltypes.req_sfixed32 == -1009); in check_alltypes() [all …]
|
/external/jemalloc_new/test/unit/ |
D | malloc_io.c | 112 #define TEST(expected_str_untruncated, ...) do { \ in TEST_BEGIN() macro 122 TEST("012346789", "012346789"); in TEST_BEGIN() 123 TEST("a0123b", "a%sb", "0123"); in TEST_BEGIN() 124 TEST("a01234567", "a%s%s", "0123", "4567"); in TEST_BEGIN() 125 TEST("a0123 ", "a%-6s", "0123"); in TEST_BEGIN() 126 TEST("a 0123", "a%6s", "0123"); in TEST_BEGIN() 127 TEST("a 012", "a%6.3s", "0123"); in TEST_BEGIN() 128 TEST("a 012", "a%*.*s", 6, 3, "0123"); in TEST_BEGIN() 129 TEST("a 123b", "a% db", 123); in TEST_BEGIN() 130 TEST("a123b", "a%-db", 123); in TEST_BEGIN() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/backwards_compatibility/ |
D | decode_legacy.c | 16 #define TEST(x) if (!(x)) { \ macro 30 TEST(alltypes.req_int32 == -1001); in check_alltypes() 31 TEST(alltypes.req_int64 == -1002); in check_alltypes() 32 TEST(alltypes.req_uint32 == 1003); in check_alltypes() 33 TEST(alltypes.req_uint64 == 1004); in check_alltypes() 34 TEST(alltypes.req_sint32 == -1005); in check_alltypes() 35 TEST(alltypes.req_sint64 == -1006); in check_alltypes() 36 TEST(alltypes.req_bool == true); in check_alltypes() 38 TEST(alltypes.req_fixed32 == 1008); in check_alltypes() 39 TEST(alltypes.req_sfixed32 == -1009); in check_alltypes() [all …]
|
/external/nanopb-c/tests/backwards_compatibility/ |
D | decode_legacy.c | 16 #define TEST(x) if (!(x)) { \ macro 30 TEST(alltypes.req_int32 == -1001); in check_alltypes() 31 TEST(alltypes.req_int64 == -1002); in check_alltypes() 32 TEST(alltypes.req_uint32 == 1003); in check_alltypes() 33 TEST(alltypes.req_uint64 == 1004); in check_alltypes() 34 TEST(alltypes.req_sint32 == -1005); in check_alltypes() 35 TEST(alltypes.req_sint64 == -1006); in check_alltypes() 36 TEST(alltypes.req_bool == true); in check_alltypes() 38 TEST(alltypes.req_fixed32 == 1008); in check_alltypes() 39 TEST(alltypes.req_sfixed32 == -1009); in check_alltypes() [all …]
|
/external/nanopb-c/tests/without_64bit/ |
D | decode_alltypes.c | 13 #define TEST(x) if (!(x)) { \ macro 32 TEST(alltypes.req_int32 == -1001); in check_alltypes() 33 TEST(alltypes.req_uint32 == 1003); in check_alltypes() 34 TEST(alltypes.req_sint32 == -1005); in check_alltypes() 35 TEST(alltypes.req_bool == true); in check_alltypes() 37 TEST(alltypes.req_fixed32 == 1008); in check_alltypes() 38 TEST(alltypes.req_sfixed32 == -1009); in check_alltypes() 39 TEST(alltypes.req_float == 1010.0f); in check_alltypes() 41 TEST(strcmp(alltypes.req_string, "1014") == 0); in check_alltypes() 42 TEST(alltypes.req_bytes.size == 4); in check_alltypes() [all …]
|
/external/nanopb-c/tests/alltypes_proto3/ |
D | decode_alltypes.c | 13 #define TEST(x) if (!(x)) { \ macro 30 …TEST(alltypes.rep_int32_count == 5 && alltypes.rep_int32[4] == -2001 && alltypes.rep_int32[0] == 0… in check_alltypes() 31 …TEST(alltypes.rep_int64_count == 5 && alltypes.rep_int64[4] == -2002 && alltypes.rep_int64[0] == 0… in check_alltypes() 32 …TEST(alltypes.rep_uint32_count == 5 && alltypes.rep_uint32[4] == 2003 && alltypes.rep_uint32[0] ==… in check_alltypes() 33 …TEST(alltypes.rep_uint64_count == 5 && alltypes.rep_uint64[4] == 2004 && alltypes.rep_uint64[0] ==… in check_alltypes() 34 …TEST(alltypes.rep_sint32_count == 5 && alltypes.rep_sint32[4] == -2005 && alltypes.rep_sint32[0] =… in check_alltypes() 35 …TEST(alltypes.rep_sint64_count == 5 && alltypes.rep_sint64[4] == -2006 && alltypes.rep_sint64[0] =… in check_alltypes() 36 …TEST(alltypes.rep_bool_count == 5 && alltypes.rep_bool[4] == true && alltypes.rep_bool[0] == false… in check_alltypes() 38 …TEST(alltypes.rep_fixed32_count == 5 && alltypes.rep_fixed32[4] == 2008 && alltypes.rep_fixed32[0]… in check_alltypes() 39 …TEST(alltypes.rep_sfixed32_count == 5 && alltypes.rep_sfixed32[4] == -2009 && alltypes.rep_sfixed3… in check_alltypes() [all …]
|
/external/nanopb-c/tests/field_size_16_proto3/ |
D | decode_alltypes.c | 13 #define TEST(x) if (!(x)) { \ macro 30 …TEST(alltypes.rep_int32_count == 5 && alltypes.rep_int32[4] == -2001 && alltypes.rep_int32[0] == 0… in check_alltypes() 31 …TEST(alltypes.rep_int64_count == 5 && alltypes.rep_int64[4] == -2002 && alltypes.rep_int64[0] == 0… in check_alltypes() 32 …TEST(alltypes.rep_uint32_count == 5 && alltypes.rep_uint32[4] == 2003 && alltypes.rep_uint32[0] ==… in check_alltypes() 33 …TEST(alltypes.rep_uint64_count == 5 && alltypes.rep_uint64[4] == 2004 && alltypes.rep_uint64[0] ==… in check_alltypes() 34 …TEST(alltypes.rep_sint32_count == 5 && alltypes.rep_sint32[4] == -2005 && alltypes.rep_sint32[0] =… in check_alltypes() 35 …TEST(alltypes.rep_sint64_count == 5 && alltypes.rep_sint64[4] == -2006 && alltypes.rep_sint64[0] =… in check_alltypes() 36 …TEST(alltypes.rep_bool_count == 5 && alltypes.rep_bool[4] == true && alltypes.rep_bool[0] == false… in check_alltypes() 38 …TEST(alltypes.rep_fixed32_count == 5 && alltypes.rep_fixed32[4] == 2008 && alltypes.rep_fixed32[0]… in check_alltypes() 39 …TEST(alltypes.rep_sfixed32_count == 5 && alltypes.rep_sfixed32[4] == -2009 && alltypes.rep_sfixed3… in check_alltypes() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 8 #define TEST(x) if (!(x)) { \ macro 27 TEST(alltypes.req_int32 && *alltypes.req_int32 == -1001); in check_alltypes() 28 TEST(alltypes.req_int64 && *alltypes.req_int64 == -1002); in check_alltypes() 29 TEST(alltypes.req_uint32 && *alltypes.req_uint32 == 1003); in check_alltypes() 30 TEST(alltypes.req_uint64 && *alltypes.req_uint64 == 1004); in check_alltypes() 31 TEST(alltypes.req_sint32 && *alltypes.req_sint32 == -1005); in check_alltypes() 32 TEST(alltypes.req_sint64 && *alltypes.req_sint64 == -1006); in check_alltypes() 33 TEST(alltypes.req_bool && *alltypes.req_bool == true); in check_alltypes() 35 TEST(alltypes.req_fixed32 && *alltypes.req_fixed32 == 1008); in check_alltypes() 36 TEST(alltypes.req_sfixed32 && *alltypes.req_sfixed32 == -1009); in check_alltypes() [all …]
|
/external/nanopb-c/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 8 #define TEST(x) if (!(x)) { \ macro 27 TEST(alltypes.req_int32 && *alltypes.req_int32 == -1001); in check_alltypes() 28 TEST(alltypes.req_int64 && *alltypes.req_int64 == -1002); in check_alltypes() 29 TEST(alltypes.req_uint32 && *alltypes.req_uint32 == 1003); in check_alltypes() 30 TEST(alltypes.req_uint64 && *alltypes.req_uint64 == 1004); in check_alltypes() 31 TEST(alltypes.req_sint32 && *alltypes.req_sint32 == -1005); in check_alltypes() 32 TEST(alltypes.req_sint64 && *alltypes.req_sint64 == -1006); in check_alltypes() 33 TEST(alltypes.req_bool && *alltypes.req_bool == true); in check_alltypes() 35 TEST(alltypes.req_fixed32 && *alltypes.req_fixed32 == 1008); in check_alltypes() 36 TEST(alltypes.req_sfixed32 && *alltypes.req_sfixed32 == -1009); in check_alltypes() [all …]
|
/external/skia/tests/ |
D | FitsInTest.cpp | 14 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected))) macro 23 TEST(uint16_t, 257, int8_t, false); in DEF_TEST() 25 TEST(int32_t, 1, int8_t, true); in DEF_TEST() 26 TEST(int32_t, -1, int8_t, true); in DEF_TEST() 27 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::max)(), int8_t, true); in DEF_TEST() 28 TEST(int32_t, ((int32_t)(std::numeric_limits<int8_t>::max)())+1, int8_t, false); in DEF_TEST() 29 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::min)(), int8_t, true); in DEF_TEST() 30 TEST(int32_t, (int32_t)((std::numeric_limits<int8_t>::min)())-1, int8_t, false); in DEF_TEST() 32 TEST(int32_t, 1, uint8_t, true); in DEF_TEST() 33 TEST(int32_t, -1, uint8_t, false); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | FitsInTest.cpp | 14 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected))) macro 17 TEST(uint16_t, 257, int8_t, false); in DEF_TEST() 19 TEST(int32_t, 1, int8_t, true); in DEF_TEST() 20 TEST(int32_t, -1, int8_t, true); in DEF_TEST() 21 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::max)(), int8_t, true); in DEF_TEST() 22 TEST(int32_t, ((int32_t)(std::numeric_limits<int8_t>::max)())+1, int8_t, false); in DEF_TEST() 23 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::min)(), int8_t, true); in DEF_TEST() 24 TEST(int32_t, (int32_t)((std::numeric_limits<int8_t>::min)())-1, int8_t, false); in DEF_TEST() 26 TEST(int32_t, 1, uint8_t, true); in DEF_TEST() 27 TEST(int32_t, -1, uint8_t, false); in DEF_TEST() [all …]
|
/external/cpuinfo/test/mock/ |
D | zenfone-2e.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | zenfone-2.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | zenfone-c.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | memo-pad-7.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | leagoo-t5c.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | alldocube-iwork8.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | blu-r1-hd.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
D | moto-g-gen3.cc | 7 TEST(PROCESSORS, count) { in TEST() function 11 TEST(PROCESSORS, non_null) { in TEST() function 15 TEST(PROCESSORS, smt_id) { in TEST() function 21 TEST(PROCESSORS, core) { in TEST() function 27 TEST(PROCESSORS, cluster) { in TEST() function 33 TEST(PROCESSORS, package) { in TEST() function 39 TEST(PROCESSORS, linux_id) { in TEST() function 45 TEST(PROCESSORS, l1i) { in TEST() function 51 TEST(PROCESSORS, l1d) { in TEST() function 57 TEST(PROCESSORS, l2) { in TEST() function [all …]
|
/external/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 185 TEST(DeclPrinter, TestTypedef1) { in TEST() function 193 TEST(DeclPrinter, TestTypedef2) { in TEST() function 201 TEST(DeclPrinter, TestTypedef3) { in TEST() function 210 TEST(DeclPrinter, TestTypedef4) { in TEST() function 219 TEST(DeclPrinter, TestNamespace1) { in TEST() function 227 TEST(DeclPrinter, TestNamespace2) { in TEST() function 235 TEST(DeclPrinter, TestNamespaceAlias1) { in TEST() function 244 TEST(DeclPrinter, TestNamespaceAlias2) { in TEST() function 253 TEST(DeclPrinter, TestCXXRecordDecl1) { in TEST() function 261 TEST(DeclPrinter, TestCXXRecordDecl2) { in TEST() function [all …]
|
/external/elfutils/tests/ |
D | leb128.c | 93 #define TEST(ARRAY, V) \ in test_sleb() macro 97 TEST (v0, 0); in test_sleb() 98 TEST (v1, 1); in test_sleb() 99 TEST (v23, 23); in test_sleb() 100 TEST (vm_1, -1); in test_sleb() 101 TEST (vm_2, -2); in test_sleb() 102 TEST (s127, 127); in test_sleb() 103 TEST (v128, 128); in test_sleb() 104 TEST (v129, 129); in test_sleb() 105 TEST (vm_127, -127); in test_sleb() [all …]
|
/external/llvm-project/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 192 TEST(DeclPrinter, TestTypedef1) { in TEST() function 200 TEST(DeclPrinter, TestTypedef2) { in TEST() function 208 TEST(DeclPrinter, TestTypedef3) { in TEST() function 217 TEST(DeclPrinter, TestTypedef4) { in TEST() function 226 TEST(DeclPrinter, TestNamespace1) { in TEST() function 234 TEST(DeclPrinter, TestNamespace2) { in TEST() function 242 TEST(DeclPrinter, TestNamespaceAlias1) { in TEST() function 251 TEST(DeclPrinter, TestNamespaceAlias2) { in TEST() function 260 TEST(DeclPrinter, TestNamespaceUnnamed) { in TEST() function 268 TEST(DeclPrinter, TestNamespaceUsingDirective) { in TEST() function [all …]
|
/external/XNNPACK/test/ |
D | f32-raddstoreexpminusmax.cc | 21 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X4, elements_eq_4) { in TEST() function 28 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X4, elements_div_4) { in TEST() function 37 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X4, elements_lt_4) { in TEST() function 46 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X4, elements_gt_4) { in TEST() function 58 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X8, elements_eq_8) { in TEST() function 65 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X8, elements_div_8) { in TEST() function 74 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X8, elements_lt_8) { in TEST() function 83 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X8, elements_gt_8) { in TEST() function 95 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X8_ACC2, elements_eq_8) { in TEST() function 102 TEST(F32_RADDSTOREEXPMINUSMAX__NEON_P5_X8_ACC2, elements_div_8) { in TEST() function [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | arm-swiftcall.c | 73 #define TEST(TYPE) \ macro 90 TEST(struct_empty); 103 TEST(struct_1); 168 TEST(struct_2); 236 TEST(struct_misaligned_1) 261 TEST(struct_big_1) 276 TEST(union_het_fp) 319 TEST(union_hom_fp) 336 TEST(union_hom_fp_partial) 369 TEST(union_het_fpv_partial) [all …]
|