Searched defs:cf (Results 1 - 25 of 162) sorted by relevance

1234567

/external/libcxx/test/std/numerics/complex.number/complex.special/
H A Ddouble_float_implicit.pass.cpp27 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 Ddouble_long_double_implicit.fail.cpp24 std::complex<double> cf = cd; local
25 assert(cf.real() == cd.real());
26 assert(cf.imag() == cd.imag());
H A Dfloat_double_implicit.fail.cpp24 std::complex<float> cf = cd; local
25 assert(cf.real() == cd.real());
26 assert(cf.imag() == cd.imag());
H A Dfloat_long_double_implicit.fail.cpp24 std::complex<float> cf = cd; local
25 assert(cf.real() == cd.real());
26 assert(cf.imag() == cd.imag());
H A Dlong_double_double_implicit.pass.cpp27 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 Dlong_double_float_implicit.pass.cpp27 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 Dimplicit-cast.c3 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 Dpairs.by.type1.fail.cpp18 typedef std::complex<float> cf; typedef
20 assert (( std::get<cf>(t1) == cf {1,2} )); // no such type
H A Dpairs.by.type2.fail.cpp18 typedef std::complex<float> cf; typedef
H A Dpairs.by.type.pass.cpp22 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 Dmask.pass.cpp28 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 Dvolatile-complex.c10 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 Dsanitizer_flags.h45 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 DClassFilePrinter.java31 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 Dmember_data.pass.cpp35 const F& cf = f; local
36 assert(cf(ap) == f(ap));
H A Dmember_function.pass.cpp36 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 Dmember_function_const.pass.cpp36 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 Dmember_function_const_volatile.pass.cpp36 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 Dtuple.by.type.pass.cpp23 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 Dlist_ports_osx.py29 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 Dlsan.cc42 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 Dsanitizer_flags_test.cc128 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 Dscudo_flags.cpp40 CommonFlags cf; local
41 cf.CopyFrom(*common_flags());
42 cf.exitcode = 1;
43 OverrideCommonFlags(cf);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_flags.cc61 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 Dubsan_flags.cc45 CommonFlags cf; local
46 cf.CopyFrom(*common_flags());
47 cf.print_summary = false;
48 OverrideCommonFlags(cf);

Completed in 490 milliseconds

1234567