/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/ |
D | meta.unary.prop.pass.cpp | 15 namespace ex = std::experimental; 41 static_assert(ex::is_const_v<T>, ""); in type_properties_test() 42 static_assert(std::is_same<decltype(ex::is_const_v<T>), const bool>::value, ""); in type_properties_test() 43 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test() 47 static_assert(!ex::is_const_v<T>, ""); in type_properties_test() 48 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test() 52 static_assert(ex::is_volatile_v<T>, ""); in type_properties_test() 53 static_assert(std::is_same<decltype(ex::is_volatile_v<T>), const bool>::value, ""); in type_properties_test() 54 static_assert(ex::is_volatile_v<T> == std::is_volatile<T>::value, ""); in type_properties_test() 58 static_assert(!ex::is_volatile_v<T>, ""); in type_properties_test() [all …]
|
D | meta.unary.cat.pass.cpp | 15 namespace ex = std::experimental; 25 static_assert(ex::is_void_v<T>, ""); in main() 26 static_assert(std::is_same<decltype(ex::is_void_v<T>), const bool>::value, ""); in main() 27 static_assert(ex::is_void_v<T> == std::is_void<T>::value, ""); in main() 31 static_assert(!ex::is_void_v<T>, ""); in main() 32 static_assert(ex::is_void_v<T> == std::is_void<T>::value, ""); in main() 36 static_assert(ex::is_null_pointer_v<T>, ""); in main() 37 static_assert(std::is_same<decltype(ex::is_null_pointer_v<T>), const bool>::value, ""); in main() 38 static_assert(ex::is_null_pointer_v<T> == std::is_null_pointer<T>::value, ""); in main() 42 static_assert(!ex::is_null_pointer_v<T>, ""); in main() [all …]
|
D | meta.unary.comp.pass.cpp | 15 namespace ex = std::experimental; 23 static_assert(ex::is_reference_v<T>, ""); in main() 24 static_assert(std::is_same<decltype(ex::is_reference_v<T>), const bool>::value, ""); in main() 25 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, ""); in main() 29 static_assert(!ex::is_reference_v<T>, ""); in main() 30 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, ""); in main() 34 static_assert(ex::is_arithmetic_v<T>, ""); in main() 35 static_assert(std::is_same<decltype(ex::is_arithmetic_v<T>), const bool>::value, ""); in main() 36 static_assert(ex::is_arithmetic_v<T> == std::is_arithmetic<T>::value, ""); in main() 40 static_assert(!ex::is_arithmetic_v<T>, ""); in main() [all …]
|
D | meta.unary.prop.query.pass.cpp | 15 namespace ex = std::experimental; 21 static_assert(ex::alignment_of_v<T> == 1, ""); in main() 22 static_assert(std::is_same<decltype(ex::alignment_of_v<T>), const std::size_t>::value, ""); in main() 23 static_assert(ex::alignment_of_v<T> == std::alignment_of<T>::value, ""); in main() 27 static_assert(ex::rank_v<T> == 3, ""); in main() 28 static_assert(std::is_same<decltype(ex::rank_v<T>), const std::size_t>::value, ""); in main() 29 static_assert(ex::rank_v<T> == std::rank<T>::value, ""); in main() 33 static_assert(ex::rank_v<T> == 0, ""); in main() 34 static_assert(ex::rank_v<T> == std::rank<T>::value, ""); in main() 38 static_assert(ex::extent_v<T> == 2, ""); in main() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
D | put2.pass.cpp | 49 std::string ex(str, iter.base()); in main() local 50 assert(ex == "Saturday"); in main() 54 std::string ex(str, iter.base()); in main() local 55 assert(ex == "Sat"); in main() 59 std::string ex(str, iter.base()); in main() local 60 assert(ex == "May"); in main() 64 std::string ex(str, iter.base()); in main() local 65 assert(ex == "May"); in main() 69 std::string ex(str, iter.base()); in main() local 70 assert(ex == "20"); in main() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
D | put_double.pass.cpp | 73 std::string ex(str, iter.base()); in test1() local 74 assert(ex == "0"); in test1() 81 std::string ex(str, iter.base()); in test1() local 82 assert(ex == "0************************"); in test1() 89 std::string ex(str, iter.base()); in test1() local 90 assert(ex == "************************0"); in test1() 97 std::string ex(str, iter.base()); in test1() local 98 assert(ex == "************************0"); in test1() 107 std::string ex(str, iter.base()); in test1() local 108 assert(ex == "0"); in test1() [all …]
|
D | put_long_double.pass.cpp | 78 std::string ex(str, iter.base()); in test1() local 79 assert(ex == "0"); in test1() 86 std::string ex(str, iter.base()); in test1() local 87 assert(ex == "0************************"); in test1() 94 std::string ex(str, iter.base()); in test1() local 95 assert(ex == "************************0"); in test1() 102 std::string ex(str, iter.base()); in test1() local 103 assert(ex == "************************0"); in test1() 112 std::string ex(str, iter.base()); in test1() local 113 assert(ex == "0"); in test1() [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3exception.c | 37 static void antlr3ExceptionPrint(pANTLR3_EXCEPTION ex); 38 static void antlr3ExceptionFree (pANTLR3_EXCEPTION ex); 74 pANTLR3_EXCEPTION ex; in antlr3ExceptionNew() local 78 ex = (pANTLR3_EXCEPTION) ANTLR3_CALLOC(1, sizeof(ANTLR3_EXCEPTION)); in antlr3ExceptionNew() 82 if (ex == NULL) in antlr3ExceptionNew() 87 ex->name = name; /* Install exception name */ in antlr3ExceptionNew() 88 ex->type = exception; /* Install the exception number */ in antlr3ExceptionNew() 89 ex->message = message; /* Install message string */ in antlr3ExceptionNew() 93 ex->freeMessage = freeMessage; in antlr3ExceptionNew() 97 ex->print = antlr3ExceptionPrint; in antlr3ExceptionNew() [all …]
|
/external/proguard/src/proguard/classfile/io/ |
D | RuntimeDataInput.java | 50 catch (IOException ex) in readBoolean() 52 throw new RuntimeException(ex.getMessage()); in readBoolean() 62 catch (IOException ex) in readByte() 64 throw new RuntimeException(ex.getMessage()); in readByte() 74 catch (IOException ex) in readChar() 76 throw new RuntimeException(ex.getMessage()); in readChar() 86 catch (IOException ex) in readDouble() 88 throw new RuntimeException(ex.getMessage()); in readDouble() 98 catch (IOException ex) in readFloat() 100 throw new RuntimeException(ex.getMessage()); in readFloat() [all …]
|
D | RuntimeDataOutput.java | 50 catch (IOException ex) in write() 52 throw new RuntimeException(ex.getMessage()); in write() 63 catch (IOException ex) in write() 65 throw new RuntimeException(ex.getMessage()); in write() 76 catch (IOException ex) in write() 78 throw new RuntimeException(ex.getMessage()); in write() 89 catch (IOException ex) in writeBoolean() 91 throw new RuntimeException(ex.getMessage()); in writeBoolean() 102 catch (IOException ex) in writeByte() 104 throw new RuntimeException(ex.getMessage()); in writeByte() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x509_v3.c | 87 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ() local 96 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_OBJ() 97 if (OBJ_cmp(ex->object, obj) == 0) in X509v3_get_ext_by_OBJ() 107 X509_EXTENSION *ex; in X509v3_get_ext_by_critical() local 116 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_critical() 117 if (((ex->critical > 0) && crit) || ((ex->critical <= 0) && !crit)) in X509v3_get_ext_by_critical() 142 X509_EXTENSION *ex, int loc) in STACK_OF() 165 if ((new_ex = X509_EXTENSION_dup(ex)) == NULL) in STACK_OF() 182 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, in X509_EXTENSION_create_by_NID() argument 194 ret = X509_EXTENSION_create_by_OBJ(ex, obj, crit, data); in X509_EXTENSION_create_by_NID() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/ |
D | put_long_double_ru_RU.pass.cpp | 75 std::string ex(str, iter.base()); in main() local 76 assert(ex == "0,00 "); in main() 83 std::string ex(str, iter.base()); in main() local 84 assert(ex == "-0,01 "); in main() 91 std::string ex(str, iter.base()); in main() local 92 assert(ex == "1 234 567,89 "); in main() 99 std::string ex(str, iter.base()); in main() local 100 assert(ex == "-1 234 567,89 "); in main() 108 std::string ex(str, iter.base()); in main() local 109 assert(ex == "0,00 \xD1\x80\xD1\x83\xD0\xB1""."); in main() [all …]
|
D | put_long_double_fr_FR.pass.cpp | 69 std::string ex(str, iter.base()); in main() local 70 assert(ex == "0,00"); in main() 77 std::string ex(str, iter.base()); in main() local 78 assert(ex == "-0,01"); in main() 85 std::string ex(str, iter.base()); in main() local 86 assert(ex == "1 234 567,89"); in main() 93 std::string ex(str, iter.base()); in main() local 94 assert(ex == "-1 234 567,89"); in main() 102 std::string ex(str, iter.base()); in main() local 103 assert(ex == "0,00 \u20ac"); in main() [all …]
|
D | put_long_double_zh_CN.pass.cpp | 70 std::string ex(str, iter.base()); in main() local 71 assert(ex == "0.00"); in main() 78 std::string ex(str, iter.base()); in main() local 79 assert(ex == "-0.01"); in main() 86 std::string ex(str, iter.base()); in main() local 87 assert(ex == "1,234,567.89"); in main() 94 std::string ex(str, iter.base()); in main() local 95 assert(ex == "-1,234,567.89"); in main() 103 std::string ex(str, iter.base()); in main() local 104 assert(ex == "\xEF\xBF\xA5""0.00"); in main() [all …]
|
D | put_long_double_en_US.pass.cpp | 67 std::string ex(str, iter.base()); in main() local 68 assert(ex == "0.00"); in main() 75 std::string ex(str, iter.base()); in main() local 76 assert(ex == "-0.01"); in main() 83 std::string ex(str, iter.base()); in main() local 84 assert(ex == "1,234,567.89"); in main() 91 std::string ex(str, iter.base()); in main() local 92 assert(ex == "-1,234,567.89"); in main() 100 std::string ex(str, iter.base()); in main() local 101 assert(ex == "$0.00"); in main() [all …]
|
D | put_string_en_US.pass.cpp | 67 std::string ex(str, iter.base()); in main() local 68 assert(ex == "0.00"); in main() 75 std::string ex(str, iter.base()); in main() local 76 assert(ex == "-0.01"); in main() 83 std::string ex(str, iter.base()); in main() local 84 assert(ex == "1,234,567.89"); in main() 91 std::string ex(str, iter.base()); in main() local 92 assert(ex == "-1,234,567.89"); in main() 100 std::string ex(str, iter.base()); in main() local 101 assert(ex == "$0.00"); in main() [all …]
|
/external/libcxx/test/std/experimental/utilities/meta/meta.logical/ |
D | conjunction.pass.cpp | 20 namespace ex = std::experimental; 27 static_assert ( ex::conjunction<>::value, "" ); in main() 28 static_assert ( ex::conjunction<std::true_type >::value, "" ); in main() 29 static_assert (!ex::conjunction<std::false_type>::value, "" ); in main() 31 static_assert ( ex::conjunction_v<>, "" ); in main() 32 static_assert ( ex::conjunction_v<std::true_type >, "" ); in main() 33 static_assert (!ex::conjunction_v<std::false_type>, "" ); in main() 35 static_assert ( ex::conjunction<std::true_type, std::true_type >::value, "" ); in main() 36 static_assert (!ex::conjunction<std::true_type, std::false_type>::value, "" ); in main() 37 static_assert (!ex::conjunction<std::false_type, std::true_type >::value, "" ); in main() [all …]
|
D | disjunction.pass.cpp | 20 namespace ex = std::experimental; 27 static_assert (!ex::disjunction<>::value, "" ); in main() 28 static_assert ( ex::disjunction<std::true_type >::value, "" ); in main() 29 static_assert (!ex::disjunction<std::false_type>::value, "" ); in main() 31 static_assert (!ex::disjunction_v<>, "" ); in main() 32 static_assert ( ex::disjunction_v<std::true_type >, "" ); in main() 33 static_assert (!ex::disjunction_v<std::false_type>, "" ); in main() 35 static_assert ( ex::disjunction<std::true_type, std::true_type >::value, "" ); in main() 36 static_assert ( ex::disjunction<std::true_type, std::false_type>::value, "" ); in main() 37 static_assert ( ex::disjunction<std::false_type, std::true_type >::value, "" ); in main() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/ |
D | get_long_double_fr_FR.pass.cpp | 67 long double ex; in main() local 70 false, ios, err, ex); in main() 73 assert(ex == 0); in main() 78 long double ex; in main() local 81 false, ios, err, ex); in main() 84 assert(ex == -1); in main() 89 long double ex; in main() local 92 false, ios, err, ex); in main() 95 assert(ex == 123456789); in main() 100 long double ex; in main() local [all …]
|
D | get_long_double_ru_RU.pass.cpp | 73 long double ex; in main() local 76 false, ios, err, ex); in main() 79 assert(ex == 0); in main() 84 long double ex; in main() local 87 false, ios, err, ex); in main() 90 assert(ex == -1); in main() 95 long double ex; in main() local 98 false, ios, err, ex); in main() 101 assert(ex == 123456789); in main() 106 long double ex; in main() local [all …]
|
D | get_long_double_zh_CN.pass.cpp | 68 long double ex; in main() local 71 false, ios, err, ex); in main() 74 assert(ex == 0); in main() 79 long double ex; in main() local 82 false, ios, err, ex); in main() 85 assert(ex == -1); in main() 90 long double ex; in main() local 93 false, ios, err, ex); in main() 96 assert(ex == 123456789); in main() 101 long double ex; in main() local [all …]
|
D | get_long_double_en_US.pass.cpp | 65 long double ex; in main() local 68 false, ios, err, ex); in main() 71 assert(ex == 0); in main() 76 long double ex; in main() local 79 false, ios, err, ex); in main() 82 assert(ex == -1); in main() 87 long double ex; in main() local 90 false, ios, err, ex); in main() 93 assert(ex == 123456789); in main() 98 long double ex; in main() local [all …]
|
D | get_string_en_US.pass.cpp | 65 std::string ex; in main() local 68 false, ios, err, ex); in main() 71 assert(ex == "0"); in main() 76 std::string ex; in main() local 79 false, ios, err, ex); in main() 82 assert(ex == "-1"); in main() 87 std::string ex; in main() local 90 false, ios, err, ex); in main() 93 assert(ex == "123456789"); in main() 98 std::string ex; in main() local [all …]
|
/external/skia/src/utils/win/ |
D | SkHRESULT.h | 46 #define HR(ex) HR_GENERAL(ex, nullptr, _hr) argument 47 #define HRM(ex, msg) HR_GENERAL(ex, msg, _hr) argument 49 #define HRB(ex) HR_GENERAL(ex, nullptr, false) argument 50 #define HRBM(ex, msg) HR_GENERAL(ex, msg, false) argument 52 #define HRN(ex) HR_GENERAL(ex, nullptr, nullptr) argument 53 #define HRNM(ex, msg) HR_GENERAL(ex, msg, nullptr) argument 55 #define HRV(ex) HR_GENERAL(ex, nullptr, ) argument 56 #define HRVM(ex, msg) HR_GENERAL(ex, msg, ) argument 58 #define HRZ(ex) HR_GENERAL(ex, nullptr, 0) argument 59 #define HRZM(ex, msg) HR_GENERAL(ex, msg, 0) argument
|
/external/libcxx/test/std/experimental/memory/memory.resource.global/ |
D | new_delete_resource.pass.cpp | 23 namespace ex = std::experimental::pmr; 25 struct assert_on_compare : public ex::memory_resource 34 virtual bool do_is_equal(ex::memory_resource const &) const noexcept in do_is_equal() 42 decltype(ex::new_delete_resource()), ex::memory_resource* in test_return() 47 assert(ex::new_delete_resource()); in test_return() 51 assert(ex::new_delete_resource() == ex::new_delete_resource()); in test_return() 59 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_equality() 60 ex::memory_resource & r2 = *ex::new_delete_resource(); in test_equality() 71 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_equality() 73 ex::memory_resource & r2 = c; in test_equality() [all …]
|