Home
last modified time | relevance | path

Searched refs:decl_ (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxcrt/css/
Dcfx_cssstylesheet_unittest.cpp25 decl_ = nullptr; in SetUp()
28 void TearDown() override { decl_ = nullptr; } in TearDown()
46 decl_ = style->GetDeclaration(); in LoadAndVerifyDecl()
47 EXPECT_EQ(decl_->PropertyCountForTesting(), decl_count); in LoadAndVerifyDecl()
51 ASSERT(decl_); in VerifyFloat()
54 RetainPtr<CFX_CSSValue> v = decl_->GetProperty(prop, &important); in VerifyFloat()
61 ASSERT(decl_); in VerifyEnum()
64 RetainPtr<CFX_CSSValue> v = decl_->GetProperty(prop, &important); in VerifyEnum()
71 ASSERT(decl_); in VerifyList()
75 decl_->GetProperty(prop, &important).As<CFX_CSSValueList>(); in VerifyList()
[all …]
/external/bcc/src/cc/frontends/b/
Dtype_check.cc56 auto sdecl = static_cast<StructVariableDeclStmtNode*>(n->cond_->decl_); in visit_onvalid_stmt_node()
88 n->decl_ = scopes_->current_var()->lookup(n->name_, SCOPE_GLOBAL); in visit_ident_expr_node()
89 if (!n->decl_) in visit_ident_expr_node()
94 if (n->decl_->storage_type_ == VariableDeclStmtNode::INTEGER) { in visit_ident_expr_node()
96 n->bit_width_ = n->decl_->bit_width_; in visit_ident_expr_node()
98 } else if (n->decl_->is_struct()) { in visit_ident_expr_node()
100 auto sdecl = static_cast<StructVariableDeclStmtNode*>(n->decl_); in visit_ident_expr_node()
112 if (n->decl_->storage_type_ == VariableDeclStmtNode::INTEGER) in visit_ident_expr_node()
114 auto sdecl = static_cast<StructVariableDeclStmtNode*>(n->decl_); in visit_ident_expr_node()
Dcodegen_llvm.cc243 if (!n->decl_) in visit_ident_expr_node()
245 if (n->decl_->is_pointer()) { in visit_ident_expr_node()
250 emit("%s%s->%s", n->decl_->scope_id(), n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node()
252 …emit("(((%s%s->%s) >> %d) & (((%s)1 << %d) - 1))", n->decl_->scope_id(), n->c_str(), n->sub_name_.… in visit_ident_expr_node()
261 emit("%s%s->args_lo[%d]", n->decl_->scope_id(), n->c_str(), arg_num - 1); in visit_ident_expr_node()
263 emit("%s%s->args_hi[%d]", n->decl_->scope_id(), n->c_str(), arg_num - 5); in visit_ident_expr_node()
267 emit("%s%s->%s", n->decl_->scope_id(), n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node()
268 auto it = vars_.find(n->decl_); in visit_ident_expr_node()
278 auto it = vars_.find(n->decl_); in visit_ident_expr_node()
284 emit("%s%s.%s", n->decl_->scope_id(), n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node()
[all …]
Dnode.h171 VariableDeclStmtNode *decl_; variable
177 decl_ = other.decl_; in IdentExprNode()