Searched refs:decl (Results 1 – 14 of 14) sorted by relevance
79 InlineDeclaration decl; in Visit() local80 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() local128 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 …]
83 NamespaceDecl decl; in StartNamespaceHandler() local84 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() local292 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 …]
86 [](const NamespaceDecl& decl) -> bool { return decl.uri == kSchemaTools; }); in Visit() argument
265 ir::MethodDecl* decl = parent_->GetOrDeclareMethod(type_descriptor_, name, prototype).decl; in CreateMethod() local267 return MethodBuilder{parent_, class_, decl}; in CreateMethod()274 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder() argument275 : 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() local569 decl->name = dex_name; in GetOrDeclareMethod()570 decl->parent = GetOrAddType(type.descriptor()); in GetOrDeclareMethod()571 decl->prototype = GetOrEncodeProto(prototype); in GetOrDeclareMethod()[all …]
271 ir::MethodDecl* decl; member277 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
108 for (const xml::NamespaceDecl& decl : node->namespace_decls) { in Visit() local110 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() argument190 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()
144 xml::NamespaceDecl decl; in CreateAndroidNamespaceDecl() local145 decl.prefix = "android"; in CreateAndroidNamespaceDecl()146 decl.uri = xml::kSchemaAndroid; in CreateAndroidNamespaceDecl()147 return decl; in CreateAndroidNamespaceDecl()
1076 String decl = type.getDeclaration(); in emitJniCode() local1078 decl + " " + cname + "_native = (" + in emitJniCode()1079 decl + ") fromEGLHandle(_env, " + in emitJniCode()1113 String decl = type.getDeclaration(); in emitJniCode() local1116 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 …]
460 for (const xml::NamespaceDecl& decl : el->namespace_decls) { in Visit() local461 printer_->Println(StringPrintf("N: %s=%s (line=%zu)", decl.prefix.c_str(), decl.uri.c_str(), in Visit()462 decl.line_number)); in Visit()
184 xml::NamespaceDecl decl; in TEST() local185 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()
963 xml::NamespaceDecl decl; in DeserializeXmlFromPb() local964 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()
243 llvm::Instruction *decl = DebugInfo.insertDeclare( in attachDebugInfo() local246 indexVar->moveBefore(decl); in attachDebugInfo()
52 StringPool* string_pool, xml::IPackageDeclStack* decl) in ReferenceLinkerVisitor() argument56 package_decls_(decl), in ReferenceLinkerVisitor()
... char[] buff int offset int length public void decl (char[], int, int) throws ...