Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/jni/
Dgen_jni_trampolines.py61 def _set_callee(decl): argument
62 param_types = decl['param_types']
70 assert decl['name'].endswith('V')
71 decl['callee'] = '(arg_0->functions)->%sA' % decl['name'][:-1]
72 decl['arg_va_method_id'] = param_types.index('jmethodID')
75 decl['callee'] = '(arg_0->functions)->%sA' % decl['name']
76 decl['arg_va_method_id'] = param_types.index('jmethodID')
78 decl['callee'] = '(arg_0->functions)->%s' % decl['name']
81 def _print_jni_call(out, args, decl): argument
86 def _print_jni_result(out, res, decl): argument
[all …]
/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()
293 NamespaceDecl decl; in Inflate() local
294 decl.line_number = tree.getLineNumber(); in Inflate()
299 decl.prefix = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate()
304 decl.uri = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate()
[all …]
DXmlUtil.cpp84 [](const NamespaceDecl& decl) -> bool { return decl.uri == kSchemaTools; }); in Visit() argument
/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 = android::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/link/
DReferenceLinker.h36 xml::IPackageDeclStack* decl) in ReferenceLinkerTransformer() argument
42 package_decls_(decl) { in ReferenceLinkerTransformer()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java1104 String decl = type.getDeclaration(); in emitJniCode() local
1106 decl + " " + cname + "_native = (" + in emitJniCode()
1107 decl + ") fromEGLHandle(_env, " + in emitJniCode()
1141 String decl = type.getDeclaration(); in emitJniCode() local
1144 decl + in emitJniCode()
1145 (decl.endsWith("*") ? "" : " ") + in emitJniCode()
1147 "_base = (" + decl + ") 0;"); in emitJniCode()
1154 decl + in emitJniCode()
1155 (decl.endsWith("*") ? "" : " ") + in emitJniCode()
1157 " = (" + decl + ") 0;"); in emitJniCode()
[all …]
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp195 xml::NamespaceDecl decl; in CreateAndroidNamespaceDecl() local
196 decl.prefix = "android"; in CreateAndroidNamespaceDecl()
197 decl.uri = xml::kSchemaAndroid; in CreateAndroidNamespaceDecl()
198 return decl; in CreateAndroidNamespaceDecl()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp243 llvm::Instruction *decl = DebugInfo.insertDeclare( in attachDebugInfo() local
246 indexVar->moveBefore(decl); in attachDebugInfo()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp1033 xml::NamespaceDecl decl; in DeserializeXmlFromPb() local
1034 decl.uri = pb_ns.uri(); in DeserializeXmlFromPb()
1035 decl.prefix = pb_ns.prefix(); in DeserializeXmlFromPb()
1036 decl.line_number = pb_ns.source().line_number(); in DeserializeXmlFromPb()
1037 decl.column_number = pb_ns.source().column_number(); in DeserializeXmlFromPb()
1038 out_el->namespace_decls.push_back(std::move(decl)); in DeserializeXmlFromPb()
DProtoSerialize_test.cpp260 xml::NamespaceDecl decl; in TEST() local
261 decl.prefix = "android"; in TEST()
262 decl.uri = xml::kSchemaAndroid; in TEST()
263 decl.line_number = 21; in TEST()
264 decl.column_number = 24; in TEST()
266 element.namespace_decls.push_back(decl); in TEST()
/frameworks/base/tools/aapt2/
DDebug.cpp474 for (const xml::NamespaceDecl& decl : el->namespace_decls) { in Visit() local
475 printer_->Println(StringPrintf("N: %s=%s (line=%zu)", decl.prefix.c_str(), decl.uri.c_str(), in Visit()
476 decl.line_number)); in Visit()
DResourceParser.cpp905 for (const auto& decl : parser->package_decls()) { in ParseMacro() local
907 Macro::Namespace{.alias = decl.prefix, in ParseMacro()
908 .package_name = decl.package.package, in ParseMacro()
909 .is_private = decl.package.private_namespace}); in ParseMacro()
/frameworks/proto_logging/stats/stats_log_api_gen/
Dutils.cpp650 for (const auto& decl : atomDeclSet) { in contains_restricted() local
651 if (decl->restricted) { in contains_restricted()