Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/external/llvm-project/clang/test/Analysis/
Dretain-release-safe.c6 extern CFTypeRef CFRetain(CFTypeRef cf);
7 extern void CFRelease(CFTypeRef cf);
25 CFTypeRef SafeCFRetain(CFTypeRef cf) CF_RETURNS_RETAINED { in SafeCFRetain() argument
26 if (cf) { in SafeCFRetain()
27 return CFRetain(cf); in SafeCFRetain()
29 return cf; in SafeCFRetain()
34 void SafeCFRelease(CFTypeRef CF_CONSUMED cf) { in SafeCFRelease() argument
35 if (cf) in SafeCFRelease()
36 CFRelease(cf); // no-warning (when inlined) in SafeCFRelease()
40 CFTypeRef retainCFType(CFTypeRef cf) CF_RETURNS_RETAINED { in retainCFType() argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_configparser.py64 cf = self.newconfig(defaults)
65 cf.read_string(string)
66 return cf
71 def basic_test(self, cf): argument
89 L = cf.sections()
93 L = cf.items('Spacey Bar From The Beginning')
98 L = [section for section in cf]
103 L = cf['Spacey Bar From The Beginning'].items()
106 L = cf.items()
111 eq(cf.defaults(), cf[self.default_section])
[all …]
/external/python/cpython2/Lib/test/
Dtest_cfgparser.py37 self.cf = self.config_class(allow_no_value=self.allow_no_value)
39 self.cf = self.config_class(defaults,
41 return self.cf
44 cf = self.newconfig(defaults)
46 cf.readfp(sio)
47 return cf
76 cf = self.fromstring(config_string)
77 L = cf.sections()
96 eq(cf.get('Foo Bar', 'foo'), 'bar')
97 eq(cf.get('Spacey Bar', 'foo'), 'bar')
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c31 int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf) in eg_bytecode_cf_build() argument
33 unsigned id = cf->id; in eg_bytecode_cf_build()
35 if (cf->op == CF_NATIVE) { in eg_bytecode_cf_build()
36 bc->bytecode[id++] = cf->isa[0]; in eg_bytecode_cf_build()
37 bc->bytecode[id++] = cf->isa[1]; in eg_bytecode_cf_build()
39 const struct cf_op_info *cfop = r600_isa_cf(cf->op); in eg_bytecode_cf_build()
40 unsigned opcode = r600_isa_cf_opcode(bc->isa->hw_class, cf->op); in eg_bytecode_cf_build()
44 if (cf->eg_alu_extended) { in eg_bytecode_cf_build()
46 S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE0(cf->kcache[0].index_mode) | in eg_bytecode_cf_build()
47 S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE1(cf->kcache[1].index_mode) | in eg_bytecode_cf_build()
[all …]
Dr600_asm.c53 struct r600_bytecode_cf *cf = CALLOC_STRUCT(r600_bytecode_cf); in r600_bytecode_cf() local
55 if (!cf) in r600_bytecode_cf()
57 list_inithead(&cf->list); in r600_bytecode_cf()
58 list_inithead(&cf->alu); in r600_bytecode_cf()
59 list_inithead(&cf->vtx); in r600_bytecode_cf()
60 list_inithead(&cf->tex); in r600_bytecode_cf()
61 list_inithead(&cf->gds); in r600_bytecode_cf()
62 return cf; in r600_bytecode_cf()
157 list_inithead(&bc->cf); in r600_bytecode_init()
166 struct r600_bytecode_cf *cf = r600_bytecode_cf(); in r600_bytecode_add_cf() local
[all …]
/external/mesa3d/src/freedreno/ir2/
Ddisasm-a2xx.c440 void (*fxn)(instr_fetch_t *cf);
478 static int cf_exec(instr_cf_t *cf) in cf_exec() argument
480 return (cf->opc == EXEC) || in cf_exec()
481 (cf->opc == EXEC_END) || in cf_exec()
482 (cf->opc == COND_EXEC) || in cf_exec()
483 (cf->opc == COND_EXEC_END) || in cf_exec()
484 (cf->opc == COND_PRED_EXEC) || in cf_exec()
485 (cf->opc == COND_PRED_EXEC_END) || in cf_exec()
486 (cf->opc == COND_EXEC_PRED_CLEAN) || in cf_exec()
487 (cf->opc == COND_EXEC_PRED_CLEAN_END); in cf_exec()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java364 CertificateFactory cf = CertificateFactory.getInstance("X509", p); in test_generateCertificate()
365 test_generateCertificate(cf); in test_generateCertificate()
366 test_generateCertificate_InputStream_Offset_Correct(cf); in test_generateCertificate()
367 test_generateCertificate_InputStream_Empty(cf); in test_generateCertificate()
368 test_generateCertificate_InputStream_InvalidStart_Failure(cf); in test_generateCertificate()
369 test_generateCertificate_AnyLineLength_Success(cf); in test_generateCertificate()
370 test_generateCertificate_PartialInput(cf); in test_generateCertificate()
372 test_generateCrl(cf); in test_generateCertificate()
377 private void test_generateCertificate(CertificateFactory cf) throws Exception { in test_generateCertificate() argument
381 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java368 CertificateFactory cf = CertificateFactory.getInstance("X509", p); in test_generateCertificate()
369 test_generateCertificate(cf); in test_generateCertificate()
370 test_generateCertificate_InputStream_Offset_Correct(cf); in test_generateCertificate()
371 test_generateCertificate_InputStream_Empty(cf); in test_generateCertificate()
372 test_generateCertificate_InputStream_InvalidStart_Failure(cf); in test_generateCertificate()
373 test_generateCertificate_AnyLineLength_Success(cf); in test_generateCertificate()
374 test_generateCertificate_PartialInput(cf); in test_generateCertificate()
376 test_generateCrl(cf); in test_generateCertificate()
381 private void test_generateCertificate(CertificateFactory cf) throws Exception { in test_generateCertificate() argument
385 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate()
[all …]
/external/compiler-rt/lib/asan/
Dasan_activation.cc32 void RegisterActivationFlags(FlagParser *parser, Flags *f, CommonFlags *cf) { in RegisterActivationFlags()
36 RegisterFlag(parser, #Name, "", &cf->Name); in RegisterActivationFlags()
41 RegisterIncludeFlags(parser, cf); in RegisterActivationFlags()
46 CommonFlags cf; in OverrideFromActivationFlags() local
48 RegisterActivationFlags(&parser, &f, &cf); in OverrideFromActivationFlags()
50 cf.SetDefaults(); in OverrideFromActivationFlags()
52 allocator_options.CopyTo(&f, &cf); in OverrideFromActivationFlags()
53 cf.malloc_context_size = malloc_context_size; in OverrideFromActivationFlags()
55 cf.coverage = coverage; in OverrideFromActivationFlags()
56 cf.coverage_dir = coverage_dir; in OverrideFromActivationFlags()
[all …]
/external/llvm-project/compiler-rt/lib/asan/
Dasan_activation.cpp33 void RegisterActivationFlags(FlagParser *parser, Flags *f, CommonFlags *cf) { in RegisterActivationFlags()
37 RegisterFlag(parser, #Name, "", &cf->Name); in RegisterActivationFlags()
42 RegisterIncludeFlags(parser, cf); in RegisterActivationFlags()
47 CommonFlags cf; in OverrideFromActivationFlags() local
49 RegisterActivationFlags(&parser, &f, &cf); in OverrideFromActivationFlags()
51 cf.SetDefaults(); in OverrideFromActivationFlags()
53 allocator_options.CopyTo(&f, &cf); in OverrideFromActivationFlags()
54 cf.malloc_context_size = malloc_context_size; in OverrideFromActivationFlags()
56 cf.coverage = coverage; in OverrideFromActivationFlags()
57 cf.coverage_dir = coverage_dir; in OverrideFromActivationFlags()
[all …]
/external/one-true-awk/testdir/
Dchem.awk102 if ($cf ~ /(\+|-)?[0-9]+|up|down|right|left|ne|se|nw|sw/)
104 else if ($cf ~ /^leng/) {
107 } else if ($cf == "to") {
111 } else if ($cf == "from") {
114 } else if ($cf ~ /^#/) {
138 n = $cf
213 for (cf = 2; cf <= NF; ) {
214 if ($cf == "pointing")
216 else if ($cf == "double" || $cf == "triple")
218 else if ($cf ~ /arom/) {
[all …]
/external/ipsec-tools/src/racoon/
Dgenlist.c139 struct conf *cf;
143 cf = calloc(sizeof(struct conf), 1);
144 cf->l1 = genlist_init();
145 cf->l2 = genlist_init();
147 genlist_insert(cf->l1, "Ahoj");
148 genlist_insert(cf->l1, "Cau");
149 genlist_insert(cf->l1, "Nazdar");
150 genlist_insert(cf->l1, "Te buch");
152 genlist_append(cf->l2, "Curak");
153 genlist_append(cf->l2, "Kozy");
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dencodetxb_avx2.c40 const tran_low_t *cf = coeff; in av1_txb_init_levels_avx2() local
43 const __m256i c0 = yy_loadu_256(cf); in av1_txb_init_levels_avx2()
44 const __m256i c1 = yy_loadu_256(cf + 8); in av1_txb_init_levels_avx2()
51 cf += 16; in av1_txb_init_levels_avx2()
56 const __m256i coeffA = yy_loadu_256(cf); in av1_txb_init_levels_avx2()
57 const __m256i coeffB = yy_loadu_256(cf + 8); in av1_txb_init_levels_avx2()
58 const __m256i coeffC = yy_loadu_256(cf + 16); in av1_txb_init_levels_avx2()
59 const __m256i coeffD = yy_loadu_256(cf + 24); in av1_txb_init_levels_avx2()
77 cf += 32; in av1_txb_init_levels_avx2()
83 const __m256i coeffA = yy_loadu_256(cf); in av1_txb_init_levels_avx2()
[all …]
Dencodetxb_sse4.c36 const tran_low_t *cf = coeff; in av1_txb_init_levels_sse4_1() local
39 const __m128i coeffA = xx_loadu_128(cf); in av1_txb_init_levels_sse4_1()
40 const __m128i coeffB = xx_loadu_128(cf + 4); in av1_txb_init_levels_sse4_1()
47 cf += (width << 1); in av1_txb_init_levels_sse4_1()
52 const __m128i coeffA = xx_loadu_128(cf); in av1_txb_init_levels_sse4_1()
53 const __m128i coeffB = xx_loadu_128(cf + 4); in av1_txb_init_levels_sse4_1()
59 cf += width; in av1_txb_init_levels_sse4_1()
66 const __m128i coeffA = xx_loadu_128(cf); in av1_txb_init_levels_sse4_1()
67 const __m128i coeffB = xx_loadu_128(cf + 4); in av1_txb_init_levels_sse4_1()
68 const __m128i coeffC = xx_loadu_128(cf + 8); in av1_txb_init_levels_sse4_1()
[all …]
/external/skia/tests/
DColorFilterTest.cpp50 auto cf = SkColorFilters::Blend(color, (SkBlendMode)mode); in DEF_TEST() local
53 if (SkBlendMode::kDst == (SkBlendMode)mode && nullptr == cf) { in DEF_TEST()
57 REPORTER_ASSERT(reporter, cf); in DEF_TEST()
67 REPORTER_ASSERT(reporter, cf->asAColorMode(&c, (SkBlendMode*)&m)); in DEF_TEST()
84 auto cf2 = reincarnate_colorfilter(cf.get()); in DEF_TEST()
99 sk_sp<SkColorFilter> cf = SkColorFilters::Matrix({1,0,0,0,0, in DEF_TEST() local
103 REPORTER_ASSERT(r, cf->isAlphaUnchanged()); in DEF_TEST()
107 cf = SkColorFilters::WithWorkingFormat(std::move(cf), in DEF_TEST()
111 REPORTER_ASSERT(r, cf->isAlphaUnchanged()); in DEF_TEST()
116 sk_sp<SkColorFilter> cf = SkColorFilters::Matrix({1,0,0,0,0, in DEF_TEST() local
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_flags_test.cc128 CommonFlags cf; in TEST() local
130 RegisterCommonFlags(&parser, &cf); in TEST()
132 cf.SetDefaults(); in TEST()
133 EXPECT_TRUE(cf.symbolize); in TEST()
134 EXPECT_STREQ(".", cf.coverage_dir); in TEST()
136 cf.symbolize = false; in TEST()
137 cf.coverage = true; in TEST()
138 cf.coverage_direct = true; in TEST()
139 cf.log_path = "path/one"; in TEST()
142 EXPECT_TRUE(cf.symbolize); in TEST()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DFactoryHelper.java110 public static Class<?> toClass(ClassFile cf, ClassLoader loader) in toClass() argument
113 return toClass(cf, null, loader, null); in toClass()
127 public static Class<?> toClass(ClassFile cf, Class<?> neighbor, in toClass() argument
132 byte[] b = toBytecode(cf); in toClass()
134 return DefineClassHelper.toPublicClass(cf.getName(), b); in toClass()
136 return DefineClassHelper.toClass(cf.getName(), neighbor, in toClass()
150 public static Class<?> toClass(ClassFile cf, java.lang.invoke.MethodHandles.Lookup lookup) in toClass() argument
154 byte[] b = toBytecode(cf); in toClass()
162 private static byte[] toBytecode(ClassFile cf) throws IOException { in toBytecode() argument
166 cf.write(out); in toBytecode()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_flags.cpp56 CommonFlags cf; in InitializeFlags() local
57 cf.CopyFrom(*common_flags()); in InitializeFlags()
58 cf.allow_addr2line = true; in InitializeFlags()
61 cf.abort_on_error = false; in InitializeFlags()
63 cf.detect_deadlocks = false; in InitializeFlags()
65 cf.print_suppressions = false; in InitializeFlags()
66 cf.stack_trace_format = " #%n %f %S %M"; in InitializeFlags()
67 cf.exitcode = 66; in InitializeFlags()
68 cf.intercept_tls_get_addr = true; in InitializeFlags()
69 OverrideCommonFlags(cf); in InitializeFlags()
/external/turbine/java/com/google/turbine/deps/
DTransitive.java65 public static ClassFile trimClass(ClassFile cf) { in trimClass() argument
68 for (FieldInfo f : cf.fields()) { in trimClass()
78 for (InnerClass i : cf.innerClasses()) { in trimClass()
79 if (i.innerClass().equals(cf.name()) || i.outerClass().equals(cf.name())) { in trimClass()
84 cf.access(), in trimClass()
85 cf.name(), in trimClass()
86 cf.signature(), in trimClass()
87 cf.superName(), in trimClass()
88 cf.interfaces(), in trimClass()
90 (cf.access() & TurbineFlag.ACC_ANNOTATION) == TurbineFlag.ACC_ANNOTATION in trimClass()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dfold-fops-into-selects.ll5 %cf = select i1 %A, float 1.000000e+00, float 0.000000e+00
6 %op = fsub float 1.000000e+00, %cf
14 %cf = select i1 %A, float 1.000000e+00, float %B
15 %op = fadd float 2.000000e+00, %cf
24 %cf = select i1 %A, float 1.000000e+00, float %B
25 %op = fsub float 2.000000e+00, %cf
34 %cf = select i1 %A, float 1.000000e+00, float %B
35 %op = fmul float 2.000000e+00, %cf
44 %cf = select i1 %A, float 1.000000e+00, float %B
45 %op = fdiv float 2.000000e+00, %cf
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dfold-fops-into-selects.ll5 %cf = select i1 %A, float 1.000000e+00, float 0.000000e+00
6 %op = fsub float 1.000000e+00, %cf
14 %cf = select i1 %A, float 1.000000e+00, float %B
15 %op = fadd float 2.000000e+00, %cf
24 %cf = select i1 %A, float 1.000000e+00, float %B
25 %op = fsub float 2.000000e+00, %cf
34 %cf = select i1 %A, float 1.000000e+00, float %B
35 %op = fmul float 2.000000e+00, %cf
44 %cf = select i1 %A, float 1.000000e+00, float %B
45 %op = fdiv float 2.000000e+00, %cf
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_flags.cc61 CommonFlags cf; in InitializeFlags() local
62 cf.CopyFrom(*common_flags()); in InitializeFlags()
63 cf.allow_addr2line = true; in InitializeFlags()
66 cf.abort_on_error = false; in InitializeFlags()
69 cf.detect_deadlocks = true; in InitializeFlags()
71 cf.print_suppressions = false; in InitializeFlags()
72 cf.stack_trace_format = " #%n %f %S %M"; in InitializeFlags()
73 cf.exitcode = 66; in InitializeFlags()
74 cf.intercept_tls_get_addr = true; in InitializeFlags()
75 OverrideCommonFlags(cf); in InitializeFlags()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_flags_test.cpp178 CommonFlags cf; in TEST() local
180 RegisterCommonFlags(&parser, &cf); in TEST()
182 cf.SetDefaults(); in TEST()
183 EXPECT_TRUE(cf.symbolize); in TEST()
184 EXPECT_STREQ(".", cf.coverage_dir); in TEST()
186 cf.symbolize = false; in TEST()
187 cf.coverage = true; in TEST()
188 cf.heap_profile = true; in TEST()
189 cf.log_path = "path/one"; in TEST()
192 EXPECT_TRUE(cf.symbolize); in TEST()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFilePrinter.java33 public static void print(ClassFile cf) { in print() argument
34 print(cf, new PrintWriter(System.out, true)); in print()
40 public static void print(ClassFile cf, PrintWriter out) { in print() argument
45 = AccessFlag.toModifier(cf.getAccessFlags() in print()
47 out.println("major: " + cf.major + ", minor: " + cf.minor in print()
48 + " modifiers: " + Integer.toHexString(cf.getAccessFlags())); in print()
50 + cf.getName() + " extends " + cf.getSuperclass()); in print()
52 String[] infs = cf.getInterfaces(); in print()
63 List<FieldInfo> fields = cf.getFields(); in print()
73 List<MethodInfo> methods = cf.getMethods(); in print()
[all …]
/external/llvm-project/clang/test/SemaObjC/
Dobjcbridge-attribute.m50 id Test1(CFTestingRef cf) {
51 …return (NSString *)cf; // expected-error {{CF object of type 'CFTestingRef' (aka 'struct __CFError…
73 void Test2(CFErrorRef2 cf, NSError *ns, NSString *str, Class c, CFUColor2Ref cf2) {
74 …(void)(NSString *)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to…
75 (void)(NSError *)cf; // okay
76 …(void)(MyError*)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to N…
80 …(void)(Class)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to NSEr…
85 void Test3(CFErrorRef cf, NSError *ns) {
86 (void)(id)cf; // okay
87 (void)(id<P1, P2>)cf; // okay
[all …]

12345678910>>...39