/external/fastrpc/src/ |
D | log_config.c | 87 static int parseLogConfig(int dom, unsigned short mask, char* filenames){ in parseLogConfig() argument 112 …VERIFY_IPRINTF("%s: #files: %d max_len: %d\n", log_config_watcher[dom].fileToWatch, filesToLogLen,… in parseLogConfig() 129 VERIFY_IPRINTF("%s: %s\n", log_config_watcher[dom].fileToWatch, filesToLog[i].data); in parseLogConfig() 134 handle = get_adsp_current_process1_handle(dom); in parseLogConfig() 158 …VERIFY_EPRINTF("Error %x: parse log config failed. domain %d, mask %x, filename %s\n", nErr, dom, … in parseLogConfig() 163 static int readLogConfigFromPath(int dom, const char* base, const char* file){ in readLogConfigFromPath() argument 181 VERIFY_IPRINTF("%s: Couldn't find file: %s\n",log_config_watcher[dom].fileToWatch, path); in readLogConfigFromPath() 185 if (log_config_watcher[dom].adspmsgdEnabled == FALSE){ in readLogConfigFromPath() 186 handle = get_adspmsgd_adsp1_handle(dom); in readLogConfigFromPath() 195 log_config_watcher[dom].adspmsgdEnabled = TRUE; in readLogConfigFromPath() [all …]
|
/external/skia/tests/ |
D | SVGDeviceTest.cpp | 40 static std::unique_ptr<SkCanvas> MakeDOMCanvas(SkDOM* dom, uint32_t flags = 0) { in MakeDOMCanvas() argument 42 std::make_unique<SkXMLParserWriter>(dom->beginParsing()), in MakeDOMCanvas() 52 const SkDOM& dom, in check_text_node() argument 63 const SkDOM::Node* textElem = dom.getFirstChild(root, "text"); in check_text_node() 68 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type); in check_text_node() 70 const SkDOM::Node* textNode= dom.getFirstChild(textElem); in check_text_node() 73 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type); in check_text_node() 74 REPORTER_ASSERT(reporter, strcmp(expected, dom.getName(textNode)) == 0); in check_text_node() 79 const char* x = dom.findAttr(textElem, "x"); in check_text_node() 100 const char* y = dom.findAttr(textElem, "y"); in check_text_node() [all …]
|
D | SkDOMTest.cpp | 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom, in check_node() argument 20 REPORTER_ASSERT(r, !strcmp(dom.getName(node), expectedName)); in check_node() 21 REPORTER_ASSERT(r, dom.getType(node) == expectedType); in check_node() 42 SkDOM dom; in DEF_TEST() local 43 REPORTER_ASSERT(r, !dom.getRootNode()); in DEF_TEST() 45 const SkDOM::Node* root = dom.build(docStream); in DEF_TEST() 46 REPORTER_ASSERT(r, root && dom.getRootNode() == root); in DEF_TEST() 48 const char* v = dom.findAttr(root, "a"); in DEF_TEST() 50 v = dom.findAttr(root, "b"); in DEF_TEST() 52 v = dom.findAttr(root, "c"); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | SkDOMTest.cpp | 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom, in check_node() argument 20 REPORTER_ASSERT(r, !strcmp(dom.getName(node), expectedName)); in check_node() 21 REPORTER_ASSERT(r, dom.getType(node) == expectedType); in check_node() 42 SkDOM dom; in DEF_TEST() local 43 REPORTER_ASSERT(r, !dom.getRootNode()); in DEF_TEST() 45 const SkDOM::Node* root = dom.build(docStream); in DEF_TEST() 46 REPORTER_ASSERT(r, root && dom.getRootNode() == root); in DEF_TEST() 48 const char* v = dom.findAttr(root, "a"); in DEF_TEST() 50 v = dom.findAttr(root, "b"); in DEF_TEST() 52 v = dom.findAttr(root, "c"); in DEF_TEST() [all …]
|
D | SVGDeviceTest.cpp | 43 const SkDOM& dom, 53 const SkDOM::Node* textElem = dom.getFirstChild(root, "text"); 58 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type); 60 const SkDOM::Node* textNode= dom.getFirstChild(textElem); 63 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type); 64 if (strcmp(expected, dom.getName(textNode)) != 0) { 65 SkDebugf("string fail %s == %s\n", expected, dom.getName(textNode)); 67 REPORTER_ASSERT(reporter, strcmp(expected, dom.getName(textNode)) == 0); 72 const char* x = dom.findAttr(textElem, "x"); 92 const char* y = dom.findAttr(textElem, "y"); [all …]
|
/external/swiftshader/third_party/subzero/bloat/ |
D | webtreemap.js | 36 if (sibling.dom) 37 sibling.dom.style.zIndex = 0; 40 var width = root.dom.offsetWidth; 41 var height = root.dom.offsetHeight; 46 position(t.dom, -kBorderWidth, -kBorderWidth, width, height); 47 t.dom.style.zIndex = 1; 54 var dom = document.createElement('div'); 55 dom.style.zIndex = 1; 56 dom.className = 'webtreemap-node webtreemap-level' + Math.min(level, 4); 58 dom.className += (' webtreemap-symbol-' + [all …]
|
/external/mesa3d/src/etnaviv/drm/ |
D | etnaviv_perfmon.c | 30 static int etna_perfmon_query_signals(struct etna_perfmon *pm, struct etna_perfmon_domain *dom) in etna_perfmon_query_signals() argument 35 .domain = dom->id in etna_perfmon_query_signals() 54 sig->domain = dom; in etna_perfmon_query_signals() 57 list_addtail(&sig->head, &dom->signals); in etna_perfmon_query_signals() 71 struct etna_perfmon_domain *dom; in etna_perfmon_query_domains() local 78 dom = calloc(1, sizeof(*dom)); in etna_perfmon_query_domains() 79 if (!dom) in etna_perfmon_query_domains() 82 list_inithead(&dom->signals); in etna_perfmon_query_domains() 83 dom->id = req.id; in etna_perfmon_query_domains() 84 strncpy(dom->name, req.name, sizeof(dom->name)); in etna_perfmon_query_domains() [all …]
|
/external/libdrm/etnaviv/ |
D | etnaviv_perfmon.c | 30 static int etna_perfmon_query_signals(struct etna_perfmon *pm, struct etna_perfmon_domain *dom) in etna_perfmon_query_signals() argument 35 .domain = dom->id in etna_perfmon_query_signals() 54 sig->domain = dom; in etna_perfmon_query_signals() 57 list_addtail(&sig->head, &dom->signals); in etna_perfmon_query_signals() 71 struct etna_perfmon_domain *dom; in etna_perfmon_query_domains() local 78 dom = calloc(1, sizeof(*dom)); in etna_perfmon_query_domains() 79 if (!dom) in etna_perfmon_query_domains() 82 list_inithead(&dom->signals); in etna_perfmon_query_domains() 83 dom->id = req.id; in etna_perfmon_query_domains() 84 strncpy(dom->name, req.name, sizeof(dom->name)); in etna_perfmon_query_domains() [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_map_lexopt_templ.c | 32 __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *dom, in SF() 35 return SF(isl_tab_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, in SF() 40 __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *dom, in SF() 44 return SF(isl_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, flags); in SF() 48 __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *dom, in SF() 52 return SF(isl_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, flags); in SF() 56 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom, in SF() 59 return SF(isl_basic_map_partial_lexmin,SUFFIX)(bset, dom, empty); in SF() 63 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom, in SF() 66 return SF(isl_basic_map_partial_lexmax,SUFFIX)(bset, dom, empty); in SF() [all …]
|
D | isl_multi_pw_aff_explicit_domain.c | 19 mpa->u.dom = isl_set_universe(isl_multi_pw_aff_get_domain_space(mpa)); in isl_multi_pw_aff_init_explicit_domain() 20 if (!mpa->u.dom) in isl_multi_pw_aff_init_explicit_domain() 36 isl_set *dom; in isl_multi_pw_aff_intersect_explicit_domain_product() local 42 dom = isl_set_universe(space); in isl_multi_pw_aff_intersect_explicit_domain_product() 43 map = isl_set_unwrap(dom); in isl_multi_pw_aff_intersect_explicit_domain_product() 45 dom = isl_set_copy(src1->u.dom); in isl_multi_pw_aff_intersect_explicit_domain_product() 46 map = isl_map_intersect_domain(map, dom); in isl_multi_pw_aff_intersect_explicit_domain_product() 49 dom = isl_set_copy(src2->u.dom); in isl_multi_pw_aff_intersect_explicit_domain_product() 50 map = isl_map_intersect_range(map, dom); in isl_multi_pw_aff_intersect_explicit_domain_product() 52 dom = isl_map_wrap(map); in isl_multi_pw_aff_intersect_explicit_domain_product() [all …]
|
D | isl_multi_explicit_domain.c | 47 return multi->u.dom; in FN() 61 __isl_take MULTI(BASE) *multi, __isl_take DOM *dom) in MULTI() 66 if (!multi || !dom) in MULTI() 68 FN(DOM,free)(multi->u.dom); in MULTI() 69 multi->u.dom = dom; in MULTI() 70 if (!multi->u.dom) in MULTI() 75 FN(DOM,free)(dom); in MULTI() 90 DOM *dom; in MULTI() local 92 dom = FN(MULTI(BASE),peek_explicit_domain)(src); in MULTI() 93 is_params = FN(DOM,is_params)(dom); in MULTI() [all …]
|
D | isl_tab_lexopt_templ.c | 50 __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *dom, in SF() 63 set_space = empty ? isl_basic_set_get_space(dom) : NULL; in SF() 112 n_div = isl_basic_set_dim(dom, isl_dim_div); in SF() 113 dom = isl_basic_set_add_dims(dom, isl_dim_set, 1); in SF() 114 dom = isl_basic_set_extend_constraints(dom, 0, n); in SF() 116 k = isl_basic_set_alloc_inequality(dom); in SF() 119 isl_seq_cpy(dom->ineq[k], cst->row[i], 1 + n_in); in SF() 120 isl_int_set_si(dom->ineq[k][1 + n_in], -1); in SF() 121 isl_seq_clr(dom->ineq[k] + 1 + n_in + 1, n_div); in SF() 127 return SF(basic_map_partial_lexopt_symm_core,SUFFIX)(bmap, dom, empty, in SF() [all …]
|
D | isl_vertices.c | 50 isl_basic_set_free(vertices->v[i].dom); in isl_vertices_free() 56 isl_basic_set_free(vertices->c[i].dom); in isl_vertices_free() 78 isl_basic_set_free(list->v.dom); in free_vertex_list() 147 v->v.dom = isl_basic_set_copy(v->v.vertex); in add_vertex() 148 v->v.dom = isl_basic_set_params(v->v.dom); in add_vertex() 149 if (!v->v.dom) in add_vertex() 152 if (v->v.dom->n_eq > 0) { in add_vertex() 212 vertices->v[0].dom = isl_basic_set_params(isl_basic_set_copy(bset)); in vertices_0D() 213 if (!vertices->v[0].vertex || !vertices->v[0].dom) in vertices_0D() 224 vertices->c[0].dom = isl_basic_set_copy(vertices->v[0].dom); in vertices_0D() [all …]
|
D | isl_morph.c | 26 return isl_basic_set_get_ctx(morph->dom); in isl_morph_get_ctx() 30 __isl_take isl_basic_set *dom, __isl_take isl_basic_set *ran, in isl_morph_alloc() argument 35 if (!dom || !ran || !map || !inv) in isl_morph_alloc() 38 morph = isl_alloc_type(dom->ctx, struct isl_morph); in isl_morph_alloc() 43 morph->dom = dom; in isl_morph_alloc() 50 isl_basic_set_free(dom); in isl_morph_alloc() 71 return isl_morph_alloc(isl_basic_set_copy(morph->dom), in isl_morph_dup() 95 isl_basic_set_free(morph->dom); in isl_morph_free() 136 isl_space *dom, *ran, *space; in isl_morph_get_var_multi_aff() local 153 dom = isl_morph_get_dom_space(morph); in isl_morph_get_var_multi_aff() [all …]
|
D | isl_multi_domain_templ.c | 21 isl_set *dom; in FN() local 27 dom = FN(MULTI(BASE),get_explicit_domain)(multi); in FN() 29 return dom; in FN() 32 dom = isl_set_universe(FN(MULTI(BASE),get_domain_space)(multi)); in FN() 37 dom = isl_set_intersect(dom, dom_i); in FN() 41 return dom; in FN()
|
/external/python/cpython3/Lib/test/ |
D | test_minidom.py | 9 import xml.dom.minidom 11 from xml.dom.minidom import parse, Node, Document, parseString 12 from xml.dom.minidom import getDOMImplementation 34 notation = xml.dom.minidom.Notation("my-notation", None, 37 entity = xml.dom.minidom.Entity("my-entity", None, 68 dom = parse(file) 69 dom.unlink() 70 self.confirm(isinstance(dom, Document)) 74 dom = parse(file) 75 dom.unlink() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_minidom.py | 9 import xml.dom 10 import xml.dom.minidom 13 from xml.dom.minidom import parse, Node, Document, parseString 14 from xml.dom.minidom import getDOMImplementation 36 notation = xml.dom.minidom.Notation("my-notation", None, 39 entity = xml.dom.minidom.Entity("my-entity", None, 64 dom = parse(StringIO(open(tstfile).read())) 65 dom.unlink() 66 self.confirm(isinstance(dom,Document)) 69 dom = parse(tstfile) [all …]
|
/external/mesa3d/src/freedreno/decode/ |
D | rnnutil.c | 40 if (rnndec_checkaddr(rnn->vc, rnn->dom[0], regbase, 0)) in finddom() 41 return rnn->dom[0]; in finddom() 42 return rnn->dom[1]; in finddom() 77 rnn->dom[0] = rnn_finddomain(rnn->db, domain); in init() 79 rnn->dom[1] = rnn_finddomain(rnn->db, "AXXX"); in init() 81 rnn->dom[1] = rnn->dom[0]; in init() 83 if (!rnn->dom[0] && rnn->dom[1]) { in init() 117 uint32_t regbase = rnndec_decodereg(rnn->vc_nocolor, rnn->dom[0], name); in rnn_regbase() 119 regbase = rnndec_decodereg(rnn->vc_nocolor, rnn->dom[1], name); in rnn_regbase() 163 struct rnndelem *elem = regelem(rnn->dom[0], name); in rnn_regelem() [all …]
|
/external/python/cpython2/Lib/xml/dom/ |
D | domreg.py | 5 from xml.dom.minicompat import * # isinstance, StringTypes 32 def _good_enough(dom, features): argument 35 if not dom.hasFeature(f,v): 68 dom = creator() 69 if _good_enough(dom, features): 70 return dom 74 dom = getDOMImplementation(name = creator) 77 if _good_enough(dom, features): 78 return dom
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/ |
D | RecordPublicApiRules.java | 29 import org.eclipse.jdt.core.dom.ASTNode; 30 import org.eclipse.jdt.core.dom.ASTVisitor; 31 import org.eclipse.jdt.core.dom.AbstractTypeDeclaration; 32 import org.eclipse.jdt.core.dom.AnnotationTypeDeclaration; 33 import org.eclipse.jdt.core.dom.AnnotationTypeMemberDeclaration; 34 import org.eclipse.jdt.core.dom.BodyDeclaration; 35 import org.eclipse.jdt.core.dom.CompilationUnit; 36 import org.eclipse.jdt.core.dom.EnumConstantDeclaration; 37 import org.eclipse.jdt.core.dom.EnumDeclaration; 38 import org.eclipse.jdt.core.dom.FieldDeclaration; [all …]
|
/external/parameter-framework/upstream/tools/xmlGenerator/ |
D | hostConfig.py | 32 import xml.dom.minidom 41 dom = xml.dom.minidom.parse(infile) 43 for node in dom.getElementsByTagName("ParameterFrameworkConfiguration"): 49 for node in dom.getElementsByTagName(tag): 55 for node in dom.getElementsByTagName("StructureDescriptionFileLocation"): 58 outfile.write(dom.toxml())
|
/external/python/cpython3/Lib/xml/dom/ |
D | domreg.py | 32 def _good_enough(dom, features): argument 35 if not dom.hasFeature(f,v): 68 dom = creator() 69 if _good_enough(dom, features): 70 return dom 74 dom = getDOMImplementation(name = creator) 77 if _good_enough(dom, features): 78 return dom
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
D | DomTreeTest.java | 23 Node[] dom = cf.dominatorTree(); in testDomtree() local 24 assertNull(dom[0].parent()); in testDomtree() 25 assertEquals(0, dom[1].parent().block().position()); in testDomtree() 26 assertEquals(0, dom[2].parent().block().position()); in testDomtree() 27 assertEquals(0, dom[3].parent().block().position()); in testDomtree() 28 assertEquals(0, dom[4].parent().block().position()); in testDomtree() 72 Node[] dom = cf.dominatorTree(); in testDomtree2() local 73 assertNull(dom[0].parent()); in testDomtree2() 74 assertEquals(0, dom[1].parent().block().position()); in testDomtree2() 75 assertEquals(7, dom[2].parent().block().position()); in testDomtree2() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_phi_builder.c | 188 nir_block *dom = block; in nir_phi_builder_value_get_block_def() local 191 while (dom != NULL) { in nir_phi_builder_value_get_block_def() 192 he = _mesa_hash_table_search(&val->ht, INDEX_TO_KEY(dom->index)); in nir_phi_builder_value_get_block_def() 196 dom = dom->imm_dom; in nir_phi_builder_value_get_block_def() 200 assert((he != NULL) != (dom == NULL)); in nir_phi_builder_value_get_block_def() 203 if (dom == NULL) { in nir_phi_builder_value_get_block_def() 237 phi->instr.block = dom; in nir_phi_builder_value_get_block_def() 256 for (dom = block; dom != NULL; dom = dom->imm_dom) { in nir_phi_builder_value_get_block_def() 257 if (_mesa_hash_table_search(&val->ht, INDEX_TO_KEY(dom->index)) != NULL) in nir_phi_builder_value_get_block_def() 260 nir_phi_builder_value_set_block_def(val, dom, def); in nir_phi_builder_value_get_block_def()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | AddAnnotation.java | 42 import org.eclipse.jdt.core.dom.AST; 43 import org.eclipse.jdt.core.dom.ASTNode; 44 import org.eclipse.jdt.core.dom.ASTVisitor; 45 import org.eclipse.jdt.core.dom.Annotation; 46 import org.eclipse.jdt.core.dom.AnnotationTypeDeclaration; 47 import org.eclipse.jdt.core.dom.AnnotationTypeMemberDeclaration; 48 import org.eclipse.jdt.core.dom.BodyDeclaration; 49 import org.eclipse.jdt.core.dom.CompilationUnit; 50 import org.eclipse.jdt.core.dom.EnumConstantDeclaration; 51 import org.eclipse.jdt.core.dom.EnumDeclaration; [all …]
|