Home
last modified time | relevance | path

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

12345678910>>...21

/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.c57 struct r600_bytecode_cf *cf = CALLOC_STRUCT(r600_bytecode_cf); in r600_bytecode_cf() local
59 if (!cf) in r600_bytecode_cf()
61 LIST_INITHEAD(&cf->list); in r600_bytecode_cf()
62 LIST_INITHEAD(&cf->alu); in r600_bytecode_cf()
63 LIST_INITHEAD(&cf->vtx); in r600_bytecode_cf()
64 LIST_INITHEAD(&cf->tex); in r600_bytecode_cf()
65 LIST_INITHEAD(&cf->gds); in r600_bytecode_cf()
66 return cf; in r600_bytecode_cf()
161 LIST_INITHEAD(&bc->cf); in r600_bytecode_init()
170 struct r600_bytecode_cf *cf = r600_bytecode_cf(); in r600_bytecode_add_cf() local
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Ddisasm-a2xx.c437 void (*fxn)(instr_fetch_t *cf);
475 static int cf_exec(instr_cf_t *cf) in cf_exec() argument
477 return (cf->opc == EXEC) || in cf_exec()
478 (cf->opc == EXEC_END) || in cf_exec()
479 (cf->opc == COND_EXEC) || in cf_exec()
480 (cf->opc == COND_EXEC_END) || in cf_exec()
481 (cf->opc == COND_PRED_EXEC) || in cf_exec()
482 (cf->opc == COND_PRED_EXEC_END) || in cf_exec()
483 (cf->opc == COND_EXEC_PRED_CLEAN) || in cf_exec()
484 (cf->opc == COND_EXEC_PRED_CLEAN_END); in cf_exec()
[all …]
Dir-a2xx.c40 static int cf_emit(struct ir2_cf *cf, instr_cf_t *instr);
95 struct ir2_cf *cf = shader->cfs[i]; in shader_resolve() local
96 if ((cf->cf_type == EXEC) || (cf->cf_type == EXEC_END)) { in shader_resolve()
99 if (cf->exec.addr && (cf->exec.addr != addr)) in shader_resolve()
100 WARN_MSG("invalid addr '%d' at CF %d", cf->exec.addr, i); in shader_resolve()
101 if (cf->exec.cnt && (cf->exec.cnt != cf->exec.instrs_count)) in shader_resolve()
102 WARN_MSG("invalid cnt '%d' at CF %d", cf->exec.cnt, i); in shader_resolve()
104 for (j = cf->exec.instrs_count - 1; j >= 0; j--) { in shader_resolve()
105 struct ir2_instruction *instr = cf->exec.instrs[j]; in shader_resolve()
113 cf->exec.addr = addr; in shader_resolve()
[all …]
Dfd2_program.c306 struct ir2_cf *cf; in create_blit_fp() local
314 cf = ir2_cf_create(so->ir, EXEC); in create_blit_fp()
316 instr = ir2_instr_create_tex_fetch(cf, 0); in create_blit_fp()
321 cf = ir2_cf_create_alloc(so->ir, SQ_PARAMETER_PIXEL, 0); in create_blit_fp()
322 cf = ir2_cf_create(so->ir, EXEC_END); in create_blit_fp()
324 instr = ir2_instr_create_alu(cf, MAXv, ~0); in create_blit_fp()
348 struct ir2_cf *cf; in create_blit_vp() local
356 cf = ir2_cf_create(so->ir, EXEC); in create_blit_vp()
358 instr = ir2_instr_create_vtx_fetch(cf, 26, 1, FMT_32_32_FLOAT, false, 8); in create_blit_vp()
363 instr = ir2_instr_create_vtx_fetch(cf, 26, 0, FMT_32_32_32_FLOAT, false, 12); in create_blit_vp()
[all …]
Dir-a2xx.h130 struct ir2_instruction * ir2_instr_create(struct ir2_cf *cf, int instr_type);
140 struct ir2_cf *cf = ir2_cf_create(shader, ALLOC); in ir2_cf_create_alloc() local
141 if (!cf) in ir2_cf_create_alloc()
142 return cf; in ir2_cf_create_alloc()
143 cf->alloc.type = type; in ir2_cf_create_alloc()
144 cf->alloc.size = size; in ir2_cf_create_alloc()
145 return cf; in ir2_cf_create_alloc()
148 ir2_instr_create_alu(struct ir2_cf *cf, instr_vector_opc_t vop, instr_scalar_opc_t sop) in ir2_instr_create_alu() argument
150 struct ir2_instruction *instr = ir2_instr_create(cf, IR2_ALU); in ir2_instr_create_alu()
158 ir2_instr_create_vtx_fetch(struct ir2_cf *cf, int ci, int cis, in ir2_instr_create_vtx_fetch() argument
[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/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/dhcpcd-6.8.2/dhcpcd-hooks/
D50-ntp.conf37 local cf="$state_dir/ntp.conf.$ifname"
60 [ -e "$cf" ] && rm -f "$cf"
64 [ -e "$ntp_conf" ] && cp "$ntp_conf" "$cf"
68 "$ntp_conf" > "$cf"
72 echo "$signature_base${header:+ $from }$header" >> "$cf"
73 printf %s "$servers" >> "$cf"
74 echo "$signature_base_end${header:+ $from }$header" >> "$cf"
76 [ -e "$ntp_conf" -a -e "$cf" ] || return
80 if change_file "$ntp_conf" "$cf"; then
87 local cf="$ntp_conf_dir/$ifname" x=
[all …]
D50-yp.conf12 local cf=/etc/yp.conf."$ifname" prefix= x= pid=
13 rm -f "$cf"
14 echo "$signature" > "$cf"
18 rm -f "$cf"
25 echo "domain $new_nis_domain broadcast" >> "$cf"
31 echo "$prefix$x" >> "$cf"
34 cat "$cf" > /etc/yp.conf
35 rm -f "$cf"
D20-resolv.conf15 local cf="$state_dir/resolv.conf.$ifname"
51 [ -f "$cf" ] && rm -f "$cf"
53 echo "$header" > "$cf"
55 cat /etc/resolv.conf.head >> "$cf"
57 echo "# /etc/resolv.conf.head can replace this line" >> "$cf"
59 printf %s "$domain$search$servers" >> "$cf"
61 cat /etc/resolv.conf.tail >> "$cf"
63 echo "# /etc/resolv.conf.tail can replace this line" >> "$cf"
65 if change_file /etc/resolv.conf "$cf"; then
68 rm -f "$cf"
/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/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/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 …]
/external/javassist/src/main/javassist/bytecode/
DClassFilePrinter.java31 public static void print(ClassFile cf) { in print() argument
32 print(cf, new PrintWriter(System.out, true)); in print()
38 public static void print(ClassFile cf, PrintWriter out) { in print() argument
46 = AccessFlag.toModifier(cf.getAccessFlags() in print()
48 out.println("major: " + cf.major + ", minor: " + cf.minor in print()
49 + " modifiers: " + Integer.toHexString(cf.getAccessFlags())); in print()
51 + cf.getName() + " extends " + cf.getSuperclass()); in print()
53 String[] infs = cf.getInterfaces(); in print()
64 list = cf.getFields(); in print()
76 list = cf.getMethods(); in print()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DFactoryHelper.java133 public static Class toClass(ClassFile cf, ClassLoader loader) in toClass() argument
136 return toClass(cf, loader, null); in toClass()
145 public static Class toClass(ClassFile cf, ClassLoader loader, ProtectionDomain domain) in toClass() argument
149 byte[] b = toBytecode(cf); in toClass()
154 args = new Object[] { cf.getName(), b, new Integer(0), in toClass()
159 args = new Object[] { cf.getName(), b, new Integer(0), in toClass()
186 private static byte[] toBytecode(ClassFile cf) throws IOException { in toBytecode() argument
190 cf.write(out); in toBytecode()
202 public static void writeFile(ClassFile cf, String directoryName) in writeFile() argument
205 writeFile0(cf, directoryName); in writeFile()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan.cc42 CommonFlags cf; in InitializeFlags() local
43 cf.CopyFrom(*common_flags()); in InitializeFlags()
44 cf.external_symbolizer_path = GetEnv("LSAN_SYMBOLIZER_PATH"); in InitializeFlags()
45 cf.malloc_context_size = 30; in InitializeFlags()
46 cf.intercept_tls_get_addr = true; in InitializeFlags()
47 cf.detect_leaks = true; in InitializeFlags()
48 cf.exitcode = 23; in InitializeFlags()
49 OverrideCommonFlags(cf); in InitializeFlags()
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
DconfigNR_CPUS.sh28 cf=$1
29 if test ! -r $cf
31 echo Unreadable config fragment $cf 1>&2
34 if grep -q '^CONFIG_SMP=n$' $cf
39 if grep -q '^CONFIG_NR_CPUS=' $cf
41 grep '^CONFIG_NR_CPUS=' $cf |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJTransform.java163 TJCustomFilter cf) { in TJTransform() argument
167 this.cf = cf; in TJTransform()
187 TJCustomFilter cf) { in TJTransform() argument
191 this.cf = cf; in TJTransform()
207 public TJCustomFilter cf = null; field in TJTransform
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java48 ClassFile cf = clazz.getClassFile(); // turn on the modified flag. in getConstructor() local
50 ConstPool cp = cf.getConstPool(); in getConstructor()
71 cf.addMethod(minfo); in getConstructor()
106 ClassFile cf = clazz.getClassFile(); // turn on the modified flag. in getMethodAccessor()
107 accName = findAccessorName(cf); in getMethodAccessor()
109 ConstPool cp = cf.getConstPool(); in getMethodAccessor()
133 cf.addMethod(minfo); in getMethodAccessor()
158 ClassFile cf = clazz.getClassFile(); // turn on the modified flag. in getFieldGetter()
159 String accName = findAccessorName(cf); in getFieldGetter()
161 ConstPool cp = cf.getConstPool(); in getFieldGetter()
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
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.CFStringGetCStringPtr(CFContainer, 0)
[all …]
/external/libcxx/test/std/numerics/complex.number/complex.special/
Dfloat_double_explicit.pass.cpp25 std::complex<float> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<float> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_float_explicit.pass.cpp25 std::complex<long double> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<long double> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()

12345678910>>...21