/external/antlr/tool/src/main/java/org/antlr/tool/ |
Attribute.java | 36 public String decl; field in class:Attribute 47 public Attribute(String decl) { 48 extractAttribute(decl); 51 public Attribute(String name, String decl) { 53 this.decl = decl; 62 * Set name, type, initvalue, and full decl instance vars. 64 protected void extractAttribute(String decl) { 65 if ( decl==null ) { 70 int rightEdgeOfDeclarator = decl.length()-1 [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
streamout_jit.h | 36 /// STREAMOUT_DECL - Stream decl 49 // indicates this decl is a hole 62 STREAMOUT_DECL decl[128]; member in struct:STREAMOUT_STREAM 86 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex) return false; 87 if (stream.decl[i].attribSlot != other.stream.decl[i].attribSlot) return false; 88 if (stream.decl[i].componentMask != other.stream.decl[i].componentMask) return false; 89 if (stream.decl[i].hole != other.stream.decl[i].hole) return false [all...] |
/external/elfutils/libdw/ |
dwarf_decl_column.c | 39 dwarf_decl_column (Dwarf_Die *decl, int *colp) 41 return __libdw_attr_intval (decl, colp, DW_AT_decl_column);
|
/external/skia/src/sksl/ast/ |
SkSLASTVarDeclarationStatement.h | 20 ASTVarDeclarationStatement(std::unique_ptr<ASTVarDeclarations> decl) 21 : INHERITED(decl->fOffset, kVarDeclaration_Kind) 22 , fDeclarations(std::move(decl)) {}
|
/external/skqp/src/sksl/ast/ |
SkSLASTVarDeclarationStatement.h | 20 ASTVarDeclarationStatement(std::unique_ptr<ASTVarDeclarations> decl) 21 : INHERITED(decl->fOffset, kVarDeclaration_Kind) 22 , fDeclarations(std::move(decl)) {}
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/ |
AnnotationMemberDeclarationTest.java | 37 AnnotationMemberDeclaration decl = new AnnotationMemberDeclaration(); local 39 decl.setName(name); 41 assertTrue(decl == name.getParentNode().get()); 46 AnnotationMemberDeclaration decl = new AnnotationMemberDeclaration(); local 48 decl.setName(name); 50 decl.removeDefaultValue(); 52 assertFalse(decl.getDefaultValue().isPresent()); 57 AnnotationMemberDeclaration decl = new AnnotationMemberDeclaration(); local 59 decl.setName(name); 61 decl.setDefaultValue(defaultValue) [all...] |
/external/selinux/libsepol/src/ |
avrule_block.c | 55 avrule_decl_t *decl; local 57 if ((decl = calloc(1, sizeof(*decl))) == NULL) { 60 decl->decl_id = decl_id; 62 if (symtab_init(&decl->symtab[i], symtab_sizes[i])) { 63 avrule_decl_destroy(decl); 69 ebitmap_init(&decl->required.scope[i]); 70 ebitmap_init(&decl->declared.scope[i]); 72 return decl; 114 avrule_decl_t *decl; local 159 avrule_decl_t *decl; local [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/nodeTypes/ |
NodeWithJavadocTest.java | 41 ClassOrInterfaceDeclaration decl = new ClassOrInterfaceDeclaration(EnumSet.noneOf(Modifier.class), local 43 assertEquals(false, decl.removeJavaDocComment()); 48 ClassOrInterfaceDeclaration decl = new ClassOrInterfaceDeclaration(EnumSet.noneOf(Modifier.class), local 50 decl.setComment(new LineComment("A comment")); 51 assertEquals(false, decl.removeJavaDocComment()); 52 assertTrue(decl.getComment().isPresent()); 57 ClassOrInterfaceDeclaration decl = new ClassOrInterfaceDeclaration(EnumSet.noneOf(Modifier.class), local 59 decl.setComment(new JavadocComment("A comment")); 60 assertEquals(true, decl.removeJavaDocComment()); 61 assertFalse(decl.getComment().isPresent()) [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_two_side.c | 72 struct tgsi_full_declaration *decl) 76 if (decl->Declaration.File == TGSI_FILE_INPUT) { 77 if (decl->Semantic.Name == TGSI_SEMANTIC_COLOR) { 79 assert(decl->Semantic.Index < 2); 80 ts->front_color_input[decl->Semantic.Index] = decl->Range.First; 81 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate; 83 else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) { 84 ts->face_input = decl->Range.First 100 struct tgsi_full_declaration decl; local [all...] |
tgsi_emulate.c | 48 struct tgsi_full_declaration *decl) 53 decl->Declaration.File == TGSI_FILE_INPUT) { 54 assert(decl->Declaration.Interpolate); 55 decl->Interp.Location = TGSI_INTERPOLATE_LOC_SAMPLE; 58 tctx->emit_declaration(tctx, decl); 65 struct tgsi_full_declaration decl; local 69 decl = tgsi_default_full_declaration(); 70 decl.Declaration.File = TGSI_FILE_INPUT; 71 decl.Range.First = decl.Range.Last = ctx->info.num_inputs [all...] |
/development/vndk/tools/header-checker/src/dumper/ |
ast_processing.cpp | 37 const clang::Decl *tu_decl, repr::ModuleIR *module, 43 bool HeaderASTVisitor::VisitRecordDecl(const clang::RecordDecl *decl) { 45 if (decl->isInvalidDecl()) { 50 if (!decl->isThisDeclarationADefinition() || 51 decl->getTypeForDecl()->isDependentType() || 52 decl->isAnonymousStructOrUnion() || 53 !decl->hasNameForLinkage() || 54 !decl->isExternallyVisible()) { 58 mangle_contextp_, ast_contextp_, cip_, decl, module_, ast_caches_); 62 bool HeaderASTVisitor::VisitEnumDecl(const clang::EnumDecl *decl) { [all...] |
/external/curl/tests/ |
extern-scan.pl | 52 my $decl = $1; 53 $decl =~ s/\r$//; 54 print "$decl\n";
|
/external/deqp/framework/opengl/simplereference/ |
sglrShaderProgram.cpp | 133 ShaderProgram::ShaderProgram (const pdec::ShaderProgramDeclaration& decl) 134 : rr::VertexShader (decl.getVertexInputCount(), decl.getVertexOutputCount()) 135 , rr::GeometryShader (decl.getGeometryInputCount(), 136 decl.getGeometryOutputCount(), 137 decl.m_geometryDecl.inputType, 138 decl.m_geometryDecl.outputType, 139 decl.m_geometryDecl.numOutputVertices, 140 decl.m_geometryDecl.numInvocations) 141 , rr::FragmentShader (decl.getFragmentInputCount(), decl.getFragmentOutputCount() [all...] |
/external/clang/test/CodeGen/ |
2005-09-24-BitFieldCrash.c | 29 void foo (union tree_node * decl) { 30 decl->function_decl.built_in_class != 0;
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/comments/ |
CommentTest.java | 42 ClassOrInterfaceDeclaration decl = new ClassOrInterfaceDeclaration(EnumSet.noneOf(Modifier.class), false, "A"); local 44 decl.addOrphanComment(c); 45 assertEquals(1, decl.getOrphanComments().size()); 47 assertEquals(0, decl.getOrphanComments().size()); 52 ClassOrInterfaceDeclaration decl = new ClassOrInterfaceDeclaration(EnumSet.noneOf(Modifier.class), false, "A"); local 54 decl.setComment(c); 55 assertEquals(true, decl.getComment().isPresent()); 57 assertEquals(false, decl.getComment().isPresent());
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Compiler.h | 114 // LLVM_ATTRIBUTE_DEPRECATED(decl, "message") 116 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 117 decl __attribute__((deprecated(message))) 119 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 120 decl __attribute__((deprecated)) 122 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 123 __declspec(deprecated(message)) decl 125 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 126 decl
|
/external/v8/src/torque/ |
declaration-visitor.h | 36 void Visit(Declaration* decl); 38 void Visit(ModuleDeclaration* decl) { 39 ScopedModuleActivator activator(this, decl->GetModule()); 40 Declarations::ModuleScopeActivator scope(declarations(), decl->GetModule()); 41 for (Declaration* child : decl->declarations) Visit(child); 43 void Visit(DefaultModuleDeclaration* decl) { 44 decl->SetModule(global_context_.GetDefaultModule()); 45 Visit(implicit_cast<ModuleDeclaration*>(decl)); 47 void Visit(ExplicitModuleDeclaration* decl) { 48 decl->SetModule(global_context_.GetModule(decl->name)) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
PTXAsmPrinter.cpp | 298 std::string decl; local 302 decl += ".extern "; 305 decl += "."; 306 decl += getStateSpaceName(gv->getType()->getAddressSpace()); 307 decl += " "; 312 decl += ".align "; 313 decl += utostr(gv->getAlignment()); 314 decl += " "; 322 decl += ".b8 "; 323 decl += gvsym->getName() 412 std::string decl = isKernel ? ".entry" : ".func"; local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_vs_draw.c | 65 /* Used to shift output decl. indices when inserting new ones. */ 80 struct tgsi_full_declaration decl; local 82 decl = tgsi_default_full_declaration(); 83 decl.Declaration.File = TGSI_FILE_TEMPORARY; 84 decl.Range.First = decl.Range.Last = reg; 85 ctx->emit_declaration(ctx, &decl); 93 struct tgsi_full_declaration decl; local 95 decl = tgsi_default_full_declaration(); 96 decl.Declaration.File = TGSI_FILE_OUTPUT [all...] |
/external/turbine/java/com/google/turbine/binder/bound/ |
SourceBoundClass.java | 30 private final Tree.TyDecl decl; field in class:SourceBoundClass 37 Tree.TyDecl decl) { 42 this.decl = decl; 45 public Tree.TyDecl decl() { method in class:SourceBoundClass 46 return decl; 51 return decl().tykind();
|
/external/bcc/src/cc/frontends/b/ |
parser.cc | 30 bool Parser::variable_exists(VariableDeclStmtNode *decl) const { 31 if (scopes_->current_var()->lookup(decl->id_->name_, SCOPE_LOCAL) == NULL) { 37 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl) { 39 if (variable_exists(decl)) { 40 fprintf(stderr, "redeclaration of variable %s", decl->id_->name_.c_str()); 43 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); 44 scopes_->current_var()->add(decl->id_->name_, decl); 45 return decl; 48 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl, ExprNode *init_expr) 194 auto decl = new FuncDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); local [all...] |
/external/javaparser/javaparser-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/ |
Value.java | 39 public static Value from(ResolvedValueDeclaration decl) { 40 ResolvedType type = decl.getType(); 41 return new Value(type, decl.getName());
|
/external/skia/src/sksl/ir/ |
SkSLVarDeclarationsStatement.h | 20 VarDeclarationsStatement(std::unique_ptr<VarDeclarations> decl) 21 : INHERITED(decl->fOffset, kVarDeclarations_Kind) 22 , fDeclaration(std::move(decl)) {}
|
/external/skqp/src/sksl/ir/ |
SkSLVarDeclarationsStatement.h | 20 VarDeclarationsStatement(std::unique_ptr<VarDeclarations> decl) 21 : INHERITED(decl->fOffset, kVarDeclarations_Kind) 22 , fDeclaration(std::move(decl)) {}
|
/external/v8/tools/clang/plugins/ |
Util.cpp | 7 #include "clang/AST/Decl.h" 16 case clang::Decl::TranslationUnit: { 19 case clang::Decl::Namespace: { 20 const auto* decl = llvm::dyn_cast<clang::NamespaceDecl>(context); local 23 if (decl->isAnonymousNamespace()) 26 OS << *decl; local 35 std::string GetNamespace(const clang::Decl* record) {
|