/external/libcxx/test/std/numerics/complex.number/complex.special/ |
H A D | double_float_implicit.pass.cpp | 27 std::complex<double> cf = cd; local 28 assert(cf.real() == cd.real()); 29 assert(cf.imag() == cd.imag()); 34 constexpr std::complex<double> cf = cd; local 35 static_assert(cf.real() == cd.real(), ""); 36 static_assert(cf.imag() == cd.imag(), "");
|
H A D | double_long_double_implicit.fail.cpp | 24 std::complex<double> cf = cd; local 25 assert(cf.real() == cd.real()); 26 assert(cf.imag() == cd.imag());
|
H A D | float_double_implicit.fail.cpp | 24 std::complex<float> cf = cd; local 25 assert(cf.real() == cd.real()); 26 assert(cf.imag() == cd.imag());
|
H A D | float_long_double_implicit.fail.cpp | 24 std::complex<float> cf = cd; local 25 assert(cf.real() == cd.real()); 26 assert(cf.imag() == cd.imag());
|
H A D | long_double_double_implicit.pass.cpp | 27 std::complex<long double> cf = cd; local 28 assert(cf.real() == cd.real()); 29 assert(cf.imag() == cd.imag()); 34 constexpr std::complex<long double> cf = cd; local 35 static_assert(cf.real() == cd.real(), ""); 36 static_assert(cf.imag() == cd.imag(), "");
|
H A D | long_double_float_implicit.pass.cpp | 27 std::complex<long double> cf = cd; local 28 assert(cf.real() == cd.real()); 29 assert(cf.imag() == cd.imag()); 34 constexpr std::complex<long double> cf = cd; local 35 static_assert(cf.real() == cd.real(), ""); 36 static_assert(cf.imag() == cd.imag(), "");
|
/external/clang/test/Sema/ |
H A D | implicit-cast.c | 3 static char *test1(int cf) { argument 4 return cf ? "abc" : 0; 6 static char *test2(int cf) { argument 7 return cf ? 0 : "abc";
|
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/ |
H A D | pairs.by.type1.fail.cpp | 18 typedef std::complex<float> cf; typedef 20 assert (( std::get<cf>(t1) == cf {1,2} )); // no such type
|
H A D | pairs.by.type2.fail.cpp | 18 typedef std::complex<float> cf; typedef
|
H A D | pairs.by.type.pass.cpp | 22 typedef std::complex<float> cf; typedef 24 auto t1 = std::make_pair<int, cf> ( 42, { 1,2 } ); 26 assert ( std::get<cf>(t1).real() == 1 ); 27 assert ( std::get<cf>(t1).imag() == 2 );
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/ |
H A D | mask.pass.cpp | 28 const CF& cf = std::use_facet<CF>(l); local 39 assert( cf.is(CF::upper, 'A')); 41 assert(!cf.is(CF::lower, 'A')); 43 assert( cf.is(CF::alpha, 'A')); 46 assert(!cf.is(CF::upper, 'a')); 48 assert( cf.is(CF::lower, 'a')); 50 assert( cf.is(CF::alpha, 'a'));
|
/external/clang/test/CodeGen/ |
H A D | volatile-complex.c | 10 volatile _Complex float cf; variable 17 // CHECK: load volatile float, float* getelementptr inbounds ({ float, float }, { float, float }* @cf, i32 0, i32 0), align 4 18 // CHECK-NEXT: load volatile float, float* getelementptr inbounds ({ float, float }, { float, float }* @cf, i32 0, i32 1), align 4 19 (void)(cf); 20 // CHECK-NEXT: [[R:%.*]] = load volatile float, float* getelementptr inbounds ({ float, float }, { float, float }* @cf, i32 0, i32 0), align 4 21 // CHECK-NEXT: [[I:%.*]] = load volatile float, float* getelementptr inbounds ({ float, float }, { float, float }* @cf, i32 0, i32 1), align 4 22 // CHECK-NEXT: store volatile float [[R]], float* getelementptr inbounds ({ float, float }, { float, float }* @cf, i32 0, i32 0), align 4 23 // CHECK-NEXT: store volatile float [[I]], float* getelementptr inbounds ({ float, float }, { float, float }* @cf, i32 0, i32 1), align 4 24 (void)(cf=cf); [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_flags.h | 45 inline void OverrideCommonFlags(const CommonFlags &cf) { argument 46 common_flags_dont_use.CopyFrom(cf); 53 CommonFlags *cf = &common_flags_dont_use); 54 void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf); 59 void InitializeCommonFlags(CommonFlags *cf = &common_flags_dont_use);
|
/external/javassist/src/main/javassist/bytecode/ |
H A D | ClassFilePrinter.java | 31 public static void print(ClassFile cf) { argument 32 print(cf, new PrintWriter(System.out, true)); 38 public static void print(ClassFile cf, PrintWriter out) { argument 46 = AccessFlag.toModifier(cf.getAccessFlags() 48 out.println("major: " + cf.major + ", minor: " + cf.minor 49 + " modifiers: " + Integer.toHexString(cf.getAccessFlags())); 51 + cf.getName() + " extends " + cf.getSuperclass()); 53 String[] infs = cf [all...] |
/external/libcxx/test/std/utilities/function.objects/func.memfn/ |
H A D | member_data.pass.cpp | 35 const F& cf = f; local 36 assert(cf(ap) == f(ap));
|
H A D | member_function.pass.cpp | 36 const F& cf = f; local 37 assert(cf(ap) == 'a'); 50 const F& cf = f; local 51 assert(cf(ap, 2) == 'b'); 64 const F& cf = f; local 65 assert(cf(ap, 2, 3.5) == 'c');
|
H A D | member_function_const.pass.cpp | 36 const F& cf = f; local 37 assert(cf(ap) == 'a'); 52 const F& cf = f; local 53 assert(cf(ap, 2) == 'b'); 68 const F& cf = f; local 69 assert(cf(ap, 2, 3.5) == 'c');
|
H A D | member_function_const_volatile.pass.cpp | 36 const F& cf = f; local 37 assert(cf(ap) == 'a'); 52 const F& cf = f; local 53 assert(cf(ap, 2) == 'b'); 68 const F& cf = f; local 69 assert(cf(ap, 2, 3.5) == 'c');
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
H A D | tuple.by.type.pass.cpp | 23 typedef std::complex<float> cf; typedef 25 auto t1 = std::tuple<int, std::string, cf> { 42, "Hi", { 1,2 }}; 28 assert ( std::get<cf>(t1).real() == 1 ); // find at the end 29 assert ( std::get<cf>(t1).imag() == 2 ); 33 auto t2 = std::tuple<int, std::string, int, cf> { 42, "Hi", 23, { 1,2 }}; 36 assert (( std::get<cf>(t2) == cf{ 1,2 } ));
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
H A D | list_ports_osx.py | 29 cf = ctypes.cdll.LoadLibrary(ctypes.util.find_library('CoreFoundation')) variable 32 kCFAllocatorDefault = ctypes.c_void_p.in_dll(cf, "kCFAllocatorDefault") 58 cf.CFStringCreateWithCString.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int32] 59 cf.CFStringCreateWithCString.restype = ctypes.c_void_p 61 cf.CFStringGetCStringPtr.argtypes = [ctypes.c_void_p, ctypes.c_uint32] 62 cf.CFStringGetCStringPtr.restype = ctypes.c_char_p 64 cf.CFNumberGetValue.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_void_p] 65 cf.CFNumberGetValue.restype = ctypes.c_void_p 74 key = cf.CFStringCreateWithCString( 90 output = cf [all...] |
/external/compiler-rt/lib/lsan/ |
H A D | lsan.cc | 42 CommonFlags cf; local 43 cf.CopyFrom(*common_flags()); 44 cf.external_symbolizer_path = GetEnv("LSAN_SYMBOLIZER_PATH"); 45 cf.malloc_context_size = 30; 46 cf.intercept_tls_get_addr = true; 47 cf.detect_leaks = true; 48 cf.exitcode = 23; 49 OverrideCommonFlags(cf);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_flags_test.cc | 128 CommonFlags cf; local 130 RegisterCommonFlags(&parser, &cf); 132 cf.SetDefaults(); 133 EXPECT_TRUE(cf.symbolize); 134 EXPECT_STREQ(".", cf.coverage_dir); 136 cf.symbolize = false; 137 cf.coverage = true; 138 cf.coverage_direct = true; 139 cf.log_path = "path/one"; 142 EXPECT_TRUE(cf [all...] |
/external/compiler-rt/lib/scudo/ |
H A D | scudo_flags.cpp | 40 CommonFlags cf; local 41 cf.CopyFrom(*common_flags()); 42 cf.exitcode = 1; 43 OverrideCommonFlags(cf);
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_flags.cc | 61 CommonFlags cf; local 62 cf.CopyFrom(*common_flags()); 63 cf.allow_addr2line = true; 66 cf.abort_on_error = false; 69 cf.detect_deadlocks = true; 71 cf.print_suppressions = false; 72 cf.stack_trace_format = " #%n %f %S %M"; 73 cf.exitcode = 66; 74 cf.intercept_tls_get_addr = true; 75 OverrideCommonFlags(cf); [all...] |
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_flags.cc | 45 CommonFlags cf; local 46 cf.CopyFrom(*common_flags()); 47 cf.print_summary = false; 48 OverrideCommonFlags(cf);
|