Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp79 InlineDeclaration decl; in Visit() local
80 decl.el = el; in Visit()
81 decl.attr_name = name.entry; in Visit()
87 decl.attr_namespace_uri = xml::kSchemaAuto; in Visit()
89 decl.attr_namespace_uri = xml::BuildPackageNamespace(pkg.package, private_namespace); in Visit()
93 inline_declarations_.push_back(std::move(decl)); in Visit()
123 for (const InlineDeclaration& decl : visitor.GetInlineDeclarations()) { in Consume() local
128 new_doc->file.source.line = decl.el->line_number; in Consume()
138 for (std::unique_ptr<xml::Node>& child : decl.el->children) { in Consume()
161 xml::Element* parent_el = decl.el->parent; in Consume()
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp83 NamespaceDecl decl; in StartNamespaceHandler() local
84 decl.line_number = XML_GetCurrentLineNumber(parser); in StartNamespaceHandler()
85 decl.column_number = XML_GetCurrentColumnNumber(parser); in StartNamespaceHandler()
86 decl.prefix = prefix ? prefix : ""; in StartNamespaceHandler()
87 decl.uri = uri ? uri : ""; in StartNamespaceHandler()
92 stack->pending_element->namespace_decls.push_back(std::move(decl)); in StartNamespaceHandler()
291 NamespaceDecl decl; in Inflate() local
292 decl.line_number = tree.getLineNumber(); in Inflate()
297 decl.prefix = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate()
302 decl.uri = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate()
[all …]
DXmlUtil.cpp86 [](const NamespaceDecl& decl) -> bool { return decl.uri == kSchemaTools; }); in Visit() argument
/frameworks/base/startop/view_compiler/
Ddex_builder.cc265 ir::MethodDecl* decl = parent_->GetOrDeclareMethod(type_descriptor_, name, prototype).decl; in CreateMethod() local
267 return MethodBuilder{parent_, class_, decl}; in CreateMethod()
274 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder() argument
275 : dex_{dex}, class_{class_def}, decl_{decl} {} in MethodBuilder()
279 method->decl = decl_; in Encode()
562 if (entry.decl == nullptr) { in GetOrDeclareMethod()
564 ir::MethodDecl* decl = dex_file_->Alloc<ir::MethodDecl>(); in GetOrDeclareMethod() local
569 decl->name = dex_name; in GetOrDeclareMethod()
570 decl->parent = GetOrAddType(type.descriptor()); in GetOrDeclareMethod()
571 decl->prototype = GetOrEncodeProto(prototype); in GetOrDeclareMethod()
[all …]
Ddex_builder.h271 ir::MethodDecl* decl; member
277 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp108 for (const xml::NamespaceDecl& decl : node->namespace_decls) { in Visit() local
110 if (decl.uri != xml::kSchemaTools) { in Visit()
111 WriteNamespace(decl, android::RES_XML_START_NAMESPACE_TYPE); in Visit()
186 void WriteNamespace(const xml::NamespaceDecl& decl, uint16_t type) { in WriteNamespace() argument
190 flatNode->lineNumber = util::HostToDevice32(decl.line_number); in WriteNamespace()
194 AddString(decl.prefix, kLowPriority, &flat_ns->prefix); in WriteNamespace()
195 AddString(decl.uri, kLowPriority, &flat_ns->uri); in WriteNamespace()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp144 xml::NamespaceDecl decl; in CreateAndroidNamespaceDecl() local
145 decl.prefix = "android"; in CreateAndroidNamespaceDecl()
146 decl.uri = xml::kSchemaAndroid; in CreateAndroidNamespaceDecl()
147 return decl; in CreateAndroidNamespaceDecl()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java1076 String decl = type.getDeclaration(); in emitJniCode() local
1078 decl + " " + cname + "_native = (" + in emitJniCode()
1079 decl + ") fromEGLHandle(_env, " + in emitJniCode()
1113 String decl = type.getDeclaration(); in emitJniCode() local
1116 decl + in emitJniCode()
1117 (decl.endsWith("*") ? "" : " ") + in emitJniCode()
1119 "_base = (" + decl + ") 0;"); in emitJniCode()
1126 decl + in emitJniCode()
1127 (decl.endsWith("*") ? "" : " ") + in emitJniCode()
1129 " = (" + decl + ") 0;"); in emitJniCode()
[all …]
/frameworks/base/tools/aapt2/
DDebug.cpp460 for (const xml::NamespaceDecl& decl : el->namespace_decls) { in Visit() local
461 printer_->Println(StringPrintf("N: %s=%s (line=%zu)", decl.prefix.c_str(), decl.uri.c_str(), in Visit()
462 decl.line_number)); in Visit()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp184 xml::NamespaceDecl decl; in TEST() local
185 decl.prefix = "android"; in TEST()
186 decl.uri = xml::kSchemaAndroid; in TEST()
187 decl.line_number = 21; in TEST()
188 decl.column_number = 24; in TEST()
190 element.namespace_decls.push_back(decl); in TEST()
DProtoDeserialize.cpp963 xml::NamespaceDecl decl; in DeserializeXmlFromPb() local
964 decl.uri = pb_ns.uri(); in DeserializeXmlFromPb()
965 decl.prefix = pb_ns.prefix(); in DeserializeXmlFromPb()
966 decl.line_number = pb_ns.source().line_number(); in DeserializeXmlFromPb()
967 decl.column_number = pb_ns.source().column_number(); in DeserializeXmlFromPb()
968 out_el->namespace_decls.push_back(std::move(decl)); in DeserializeXmlFromPb()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp243 llvm::Instruction *decl = DebugInfo.insertDeclare( in attachDebugInfo() local
246 indexVar->moveBefore(decl); in attachDebugInfo()
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp52 StringPool* string_pool, xml::IPackageDeclStack* decl) in ReferenceLinkerVisitor() argument
56 package_decls_(decl), in ReferenceLinkerVisitor()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jar ... char[] buff int offset int length public void decl (char[], int, int) throws ...