/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
output | 1 tree: (DECL int a)
|
Lang.g | 8 tokens {DECL;} // an imaginary node 10 start : decl ; 12 decl : type ID ';' -> ^(DECL type ID)
|
Lang.tokens | 2 DECL=4
|
LangDumpDecl.tokens | 2 DECL=4
|
LangDumpDecl.g | 8 decl : ^(DECL type declarator)
|
/external/llvm/test/DebugInfo/Inputs/ |
dwarfdump-test4-part2.cc | 1 #include "dwarfdump-test4-decl.h"
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
treestruct.def | 42 DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal") 43 DEFTREESTRUCT(TS_DECL_COMMON, "decl common") 44 DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL") 45 DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common") 46 DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility") 47 DEFTREESTRUCT(TS_FIELD_DECL, "field decl") 48 DEFTREESTRUCT(TS_VAR_DECL, "var decl") 49 DEFTREESTRUCT(TS_PARM_DECL, "parm decl") 50 DEFTREESTRUCT(TS_LABEL_DECL, "label decl") 51 DEFTREESTRUCT(TS_RESULT_DECL, "result decl") [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
treestruct.def | 42 DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal") 43 DEFTREESTRUCT(TS_DECL_COMMON, "decl common") 44 DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL") 45 DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common") 46 DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility") 47 DEFTREESTRUCT(TS_FIELD_DECL, "field decl") 48 DEFTREESTRUCT(TS_VAR_DECL, "var decl") 49 DEFTREESTRUCT(TS_PARM_DECL, "parm decl") 50 DEFTREESTRUCT(TS_LABEL_DECL, "label decl") 51 DEFTREESTRUCT(TS_RESULT_DECL, "result decl") [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
treestruct.def | 42 DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal") 43 DEFTREESTRUCT(TS_DECL_COMMON, "decl common") 44 DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL") 45 DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common") 46 DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility") 47 DEFTREESTRUCT(TS_FIELD_DECL, "field decl") 48 DEFTREESTRUCT(TS_VAR_DECL, "var decl") 49 DEFTREESTRUCT(TS_PARM_DECL, "parm decl") 50 DEFTREESTRUCT(TS_LABEL_DECL, "label decl") 51 DEFTREESTRUCT(TS_RESULT_DECL, "result decl") [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
treestruct.def | 42 DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal") 43 DEFTREESTRUCT(TS_DECL_COMMON, "decl common") 44 DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL") 45 DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common") 46 DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility") 47 DEFTREESTRUCT(TS_FIELD_DECL, "field decl") 48 DEFTREESTRUCT(TS_VAR_DECL, "var decl") 49 DEFTREESTRUCT(TS_PARM_DECL, "parm decl") 50 DEFTREESTRUCT(TS_LABEL_DECL, "label decl") 51 DEFTREESTRUCT(TS_RESULT_DECL, "result decl") [all...] |
/external/clang/lib/Serialization/ |
ASTCommon.cpp | 95 case Decl::TranslationUnit: 96 case Decl::Namespace: 97 case Decl::LinkageSpec: 101 case Decl::Enum: 102 case Decl::Record: 109 case Decl::CXXRecord: 110 case Decl::ClassTemplateSpecialization: 111 case Decl::ClassTemplatePartialSpecialization: 115 case Decl::Function: 116 case Decl::CXXMethod [all...] |
/external/clang/include/clang/Basic/ |
DeclNodes.td | 3 class Decl<bit abstract = 0> : AttrSubject { 7 class DDecl<Decl base, bit abstract = 0> : Decl<abstract> { 8 Decl Base = base; 13 def TranslationUnit : Decl, DeclContext; 14 def Named : Decl<1>; 67 def LinkageSpec : Decl, DeclContext; 68 def ObjCPropertyImpl : Decl; 69 def FileScopeAsm : Decl; 70 def AccessSpec : Decl; [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLTableElement.cpp | 316 if (attr->decl()) { 317 RefPtr<CSSValue> val = attr->decl()->getPropertyCSSValue(CSSPropertyBorderLeftWidth); 334 m_borderColorAttr = attr->decl(); 335 if (!attr->decl() && !attr->isEmpty()) { 455 CSSMappedAttributeDeclaration* decl = getMappedAttributeDecl(ePersistent, tableborderAttr, borderValue); local 456 if (!decl) { 457 decl = CSSMappedAttributeDeclaration::create().releaseRef(); // This single ref pins us in the table until the document dies. 458 decl->setParent(document()->elementSheet()); 459 decl->setNode(this); 460 decl->setStrictParsing(false); // Mapped attributes are just always quirky 513 CSSMappedAttributeDeclaration* decl = getMappedAttributeDecl(ePersistent, cellborderAttr, cellborderValue); local 599 CSSMappedAttributeDeclaration* decl = getMappedAttributeDecl(ePersistent, rulesAttr, rulesValue); local [all...] |
/external/antlr/antlr-3.4/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/clang/test/CodeGen/ |
2005-09-24-BitFieldCrash.c | 29 void foo (union tree_node * decl) { 30 decl->function_decl.built_in_class != 0;
|
/external/clang/include/clang/AST/ |
DeclVisitor.h | 1 //===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===// 16 #include "clang/AST/Decl.h" 37 RetTy Visit(PTR(Decl) D) { 39 #define DECL(DERIVED, BASE) \ 40 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); 41 #define ABSTRACT_DECL(DECL) 44 llvm_unreachable("Decl that isn't part of DeclNodes.inc!"); 49 #define DECL(DERIVED, BASE) [all...] |
StmtIterator.h | 26 class Decl; 35 union { Decl *decl; Decl **DGI; }; member in union:clang::StmtIteratorBase::__anon5406 37 Decl **DGE; 65 bool HandleDecl(Decl* D); 70 StmtIteratorBase(Stmt **s) : stmt(s), decl(0), RawVAPtr(0) {} 71 StmtIteratorBase(Decl *d, Stmt **s); 73 StmtIteratorBase(Decl **dgi, Decl **dge) [all...] |
/external/clang/lib/AST/ |
StmtIterator.cpp | 15 #include "clang/AST/Decl.h" 44 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) 59 assert(!decl); 68 assert(decl); 72 decl = 0; 73 else if (HandleDecl(decl)) 90 bool StmtIteratorBase::HandleDecl(Decl* D) { 116 StmtIteratorBase::StmtIteratorBase(Decl *d, Stmt **s) 117 : stmt(s), decl(d), RawVAPtr(d ? DeclMode : 0) { 118 if (decl) [all...] |
Comment.cpp | 12 #include "clang/AST/Decl.h" 147 Decl::Kind K = CommentDecl->getKind(); 152 case Decl::Function: 153 case Decl::CXXMethod: 154 case Decl::CXXConstructor: 155 case Decl::CXXDestructor: 156 case Decl::CXXConversion: { 169 if (K == Decl::CXXMethod || K == Decl::CXXConstructor || 170 K == Decl::CXXDestructor || K == Decl::CXXConversion) [all...] |
DeclBase.cpp | 10 // This file implements the Decl and DeclContext classes. 18 #include "clang/AST/Decl.h" 39 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; 40 #define ABSTRACT_DECL(DECL) 43 void Decl::updateOutOfDate(IdentifierInfo &II) const { 47 void *Decl::AllocateDeserializedDecl(const ASTContext &Context, 66 Module *Decl::getOwningModuleSlow() const { 71 const char *Decl::getDeclKindName() const { 74 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; 75 #define ABSTRACT_DECL(DECL) [all...] |
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 60 bool TraverseDecl(Decl *D) { 80 std::string getName(Decl *D) { 85 bool filterMatches(Decl *D) { 147 void HandleTopLevelSingleDecl(Decl *D); 151 void ASTViewer::HandleTopLevelSingleDecl(Decl *D) { 167 /// DeclContextPrinter - Decl and DeclContext Visualization 188 case Decl::TranslationUnit: 191 case Decl::Namespace: { 197 case Decl::Enum: { 206 case Decl::Record: [all...] |
/external/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); 64 free(decl); 70 ebitmap_init(&decl->required.scope[i]); 71 ebitmap_init(&decl->declared.scope[i]); 73 return decl; 113 avrule_decl_t *decl; local 166 avrule_decl_t *decl = local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/config/arm/ |
unknown-elf.h | 54 /* Return a nonzero value if DECL has a section attribute. */ 55 #define IN_NAMED_SECTION_P(DECL) \ 56 ((TREE_CODE (DECL) == FUNCTION_DECL || TREE_CODE (DECL) == VAR_DECL) \ 57 && DECL_SECTION_NAME (DECL) != NULL_TREE) 60 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ 63 if (IN_NAMED_SECTION_P (DECL)) \ 64 switch_to_section (get_named_section (DECL, NULL, 0)); \ 70 last_assemble_variable_decl = DECL; \ 71 ASM_DECLARE_OBJECT_NAME (FILE, NAME, DECL); \ [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/config/arm/ |
unknown-elf.h | 54 /* Return a nonzero value if DECL has a section attribute. */ 55 #define IN_NAMED_SECTION_P(DECL) \ 56 ((TREE_CODE (DECL) == FUNCTION_DECL || TREE_CODE (DECL) == VAR_DECL) \ 57 && DECL_SECTION_NAME (DECL) != NULL_TREE) 60 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ 63 if (IN_NAMED_SECTION_P (DECL)) \ 64 switch_to_section (get_named_section (DECL, NULL, 0)); \ 70 last_assemble_variable_decl = DECL; \ 71 ASM_DECLARE_OBJECT_NAME (FILE, NAME, DECL); \ [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
FunctionSummary.h | 17 #include "clang/AST/Decl.h" 25 typedef std::deque<Decl*> SetOfDecls; 26 typedef llvm::DenseSet<const Decl*> SetOfConstDecls; 50 typedef llvm::DenseMap<const Decl*, FunctionSummary*> MapTy; 56 MapTy::iterator findOrInsertSummary(const Decl *D) { 61 I = Map.insert(std::pair<const Decl*, FunctionSummary*>(D, DS)).first; 66 void markReachedMaxBlockCount(const Decl* D) { 71 bool hasReachedMaxBlockCount(const Decl* D) { 78 void markVisitedBasicBlock(unsigned ID, const Decl* D, unsigned TotalIDs) { 89 unsigned getNumVisitedBasicBlocks(const Decl* D) [all...] |