/external/python/cpython3/Lib/test/ |
D | test_configparser.py | 64 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/ |
D | test_cfgparser.py | 37 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/ |
D | eg_asm.c | 31 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 …]
|
D | r600_asm.c | 53 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/gallium/drivers/freedreno/a2xx/ |
D | disasm-a2xx.c | 437 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 …]
|
D | ir-a2xx.c | 40 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 …]
|
D | fd2_program.c | 308 struct ir2_cf *cf; in create_blit_fp() local 316 cf = ir2_cf_create(so->ir, EXEC); in create_blit_fp() 318 instr = ir2_instr_create_tex_fetch(cf, 0); in create_blit_fp() 323 cf = ir2_cf_create_alloc(so->ir, SQ_PARAMETER_PIXEL, 0); in create_blit_fp() 324 cf = ir2_cf_create(so->ir, EXEC_END); in create_blit_fp() 326 instr = ir2_instr_create_alu(cf, MAXv, ~0); in create_blit_fp() 350 struct ir2_cf *cf; in create_blit_vp() local 358 cf = ir2_cf_create(so->ir, EXEC); in create_blit_vp() 360 instr = ir2_instr_create_vtx_fetch(cf, 26, 1, FMT_32_32_FLOAT, false, 8); in create_blit_vp() 365 instr = ir2_instr_create_vtx_fetch(cf, 26, 0, FMT_32_32_32_FLOAT, false, 12); in create_blit_vp() [all …]
|
D | ir-a2xx.h | 130 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/ |
D | asan_activation.cc | 32 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/ |
D | genlist.c | 139 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/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 220 CertificateFactory cf = CertificateFactory.getInstance("X509", p); in test_generateCertificate() local 222 test_generateCertificate(cf); in test_generateCertificate() 223 test_generateCertificate_InputStream_Offset_Correct(cf); in test_generateCertificate() 224 test_generateCertificate_InputStream_Empty(cf); in test_generateCertificate() 225 test_generateCertificate_InputStream_InvalidStart_Failure(cf); in test_generateCertificate() 226 test_generateCertificate_AnyLineLength_Success(cf); in test_generateCertificate() 227 test_generateCertificate_PartialInput(cf); in test_generateCertificate() 234 private void test_generateCertificate(CertificateFactory cf) throws Exception { in test_generateCertificate() argument 237 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate() 243 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate() [all …]
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 224 CertificateFactory cf = CertificateFactory.getInstance("X509", p); in test_generateCertificate() local 226 test_generateCertificate(cf); in test_generateCertificate() 227 test_generateCertificate_InputStream_Offset_Correct(cf); in test_generateCertificate() 228 test_generateCertificate_InputStream_Empty(cf); in test_generateCertificate() 229 test_generateCertificate_InputStream_InvalidStart_Failure(cf); in test_generateCertificate() 230 test_generateCertificate_AnyLineLength_Success(cf); in test_generateCertificate() 231 test_generateCertificate_PartialInput(cf); in test_generateCertificate() 238 private void test_generateCertificate(CertificateFactory cf) throws Exception { in test_generateCertificate() argument 241 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate() 247 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate() [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | encodetxb_avx2.c | 40 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 …]
|
D | encodetxb_sse4.c | 36 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/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_flags_test.cc | 128 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/turbine/java/com/google/turbine/deps/ |
D | Transitive.java | 66 public static ClassFile trimClass(ClassFile cf) { in trimClass() argument 69 for (FieldInfo f : cf.fields()) { in trimClass() 79 for (InnerClass i : cf.innerClasses()) { in trimClass() 80 if (i.innerClass().equals(cf.name()) || i.outerClass().equals(cf.name())) { in trimClass() 85 cf.access(), in trimClass() 86 cf.name(), in trimClass() 87 cf.signature(), in trimClass() 88 cf.superName(), in trimClass() 89 cf.interfaces(), in trimClass() 91 (cf.access() & TurbineFlag.ACC_ANNOTATION) == TurbineFlag.ACC_ANNOTATION in trimClass() [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | fold-fops-into-selects.ll | 5 %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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | fold-fops-into-selects.ll | 5 %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/clang/test/SemaObjC/ |
D | objcbridge-attribute.m | 50 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/compiler-rt/lib/tsan/rtl/ |
D | tsan_flags.cc | 61 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/compiler-rt/lib/lsan/ |
D | lsan.cc | 42 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/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
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.CFStringGetCStringPtr(CFContainer, 0) [all …]
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
D | configNR_CPUS.sh | 28 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/ |
D | TJTransform.java | 178 TJCustomFilter cf) { in TJTransform() argument 182 this.cf = cf; in TJTransform() 203 TJCustomFilter cf) { in TJTransform() argument 207 this.cf = cf; in TJTransform() 226 public TJCustomFilter cf = null; field in TJTransform
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_bc_parser.cpp | 203 cf_node *cf = sh->create_cf(); in decode_cf() local 204 sh->root->push_back(cf); in decode_cf() 208 cf->bc.id = id; in decode_cf() 213 cf_map[id] = cf; in decode_cf() 215 if ((r = dec->decode_cf(i, cf->bc))) in decode_cf() 218 cf_op_flags flags = (cf_op_flags)cf->bc.op_ptr->flags; in decode_cf() 221 if ((r = decode_alu_clause(cf))) in decode_cf() 224 if ((r = decode_fetch_clause(cf))) in decode_cf() 227 if (cf->bc.rw_rel) in decode_cf() 229 assert(!cf->bc.rw_rel); in decode_cf() [all …]
|