Home
last modified time | relevance | path

Searched refs:struct_decl (Results 1 – 6 of 6) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dparser.cc149 auto struct_decl = new StructDeclStmtNode(IdentExprNode::Ptr(type), move(*formals)); in struct_add() local
152 return struct_decl; in struct_add()
157 struct_decl->packed_ = true; in struct_add()
161 for (auto it = struct_decl->stmts_.begin(); it != struct_decl->stmts_.end(); ++it, ++i) { in struct_add()
163 offset = struct_decl->is_packed() ? offset : align_offset(offset, ft); in struct_add()
168 struct_decl->bit_width_ = struct_decl->is_packed() ? offset : align_offset(offset, UINT32_T); in struct_add()
170 scopes_->top_struct()->add(type->name_, struct_decl); in struct_add()
171 return struct_decl; in struct_add()
Dparser.yy97 %type <stmt> stmt prog_decl var_decl struct_decl state_decl func_decl
153 | struct_decl TSEMI
220 struct_decl
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTStructExtractor.cpp60 RecordDecl *struct_decl = nullptr; in ExtractFromFunctionDecl() local
77 struct_decl = candidate_record_decl; in ExtractFromFunctionDecl()
81 if (struct_decl) in ExtractFromFunctionDecl()
85 if (!struct_decl) in ExtractFromFunctionDecl()
89 &m_ast_context->getASTRecordLayout(struct_decl)); in ExtractFromFunctionDecl()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc783 string struct_decl = MakeComment(attrs_comment, " "); in GetOpAttrStruct() local
784 strings::StrAppend(&struct_decl, " struct Attrs {\n"); in GetOpAttrStruct()
785 strings::StrAppend(&struct_decl, setters, struct_fields); in GetOpAttrStruct()
787 strings::StrAppend(&struct_decl, " private:\n", defaults_static_storage); in GetOpAttrStruct()
789 strings::StrAppend(&struct_decl, " };\n"); in GetOpAttrStruct()
791 return struct_decl; in GetOpAttrStruct()
/external/vulkan-validation-layers/scripts/
Dhelper_file_generator.py563 struct_decl = 'struct %s {' % struct_type
568 struct_decl = 'struct %s : public %s {' % (struct_type, instance_struct_type)
584 struct = [struct_decl]
/external/python/pycparser/utils/benchmark/inputs/
Dtccgen.c.ppout6458 static void struct_decl(CType *type, int u)
6778 struct_decl(&type1, (2 << 20));
6784 struct_decl(&type1, 7);
6787 struct_decl(&type1, (1 << 20 | 7));