Home
last modified time | relevance | path

Searched refs:Macro (Results 1 - 25 of 87) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A DMacro.cpp7 #include "compiler/preprocessor/Macro.h"
18 Macro::Macro() : predefined(false), disabled(false), expansionCount(0), type(kTypeObj) {} in Macro() function in angle::pp::Macro
20 Macro::~Macro() {} in ~Macro()
22 bool Macro::equals(const Macro &other) const in equals()
34 std::shared_ptr<Macro> macro = std::make_shared<Macro>(); in PredefineMacro()
36 macro->type = Macro in PredefineMacro()
[all...]
H A DMacro.h23 struct Macro struct
33 Macro();
34 ~Macro();
35 bool equals(const Macro &other) const;
47 typedef std::map<std::string, std::shared_ptr<Macro>> MacroSet;
H A DMacroExpander.h14 #include "compiler/preprocessor/Macro.h"
43 bool pushMacro(std::shared_ptr<Macro> macro, const Token &identifier);
46 bool expandMacro(const Macro &macro, const Token &identifier, std::vector<Token> *replacements);
49 bool collectMacroArgs(const Macro &macro,
53 void replaceMacroParams(const Macro &macro,
65 std::shared_ptr<Macro> macro;
82 std::vector<std::shared_ptr<Macro>> mMacrosToReenable;
H A DMacroExpander.cpp77 for (const std::shared_ptr<Macro> &macro : mExpander->mMacrosToReenable) in ~ScopedMacroReenabler()
171 std::shared_ptr<Macro> macro = iter->second; in lex()
182 if ((macro->type == Macro::kTypeFunc) && !isNextTokenLeftParen()) in lex()
246 bool MacroExpander::pushMacro(std::shared_ptr<Macro> macro, const Token &identifier) in pushMacro()
257 // Macro is disabled for expansion until it is popped off the stack. in pushMacro()
291 bool MacroExpander::expandMacro(const Macro &macro, in expandMacro()
302 if (macro.type == Macro::kTypeObj) in expandMacro()
325 ASSERT(macro.type == Macro::kTypeFunc); in expandMacro()
349 bool MacroExpander::collectMacroArgs(const Macro &macro, in collectMacroArgs()
413 const Macro in collectMacroArgs()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A DMacro.cpp15 #include "Macro.h"
22 Macro::Macro() : predefined(false), disabled(false), expansionCount(0), type(kTypeObj) in Macro() function in pp::Macro
26 Macro::~Macro() in ~Macro()
30 bool Macro::equals(const Macro &other) const in equals()
42 std::shared_ptr<Macro> macro = std::make_shared<Macro>(); in PredefineMacro()
44 macro->type = Macro in PredefineMacro()
[all...]
H A DMacro.h28 struct Macro struct
38 Macro();
39 ~Macro();
40 bool equals(const Macro &other) const;
52 typedef std::map<std::string, std::shared_ptr<Macro>> MacroSet;
H A DMacroExpander.h22 #include "Macro.h"
46 bool pushMacro(std::shared_ptr<Macro> macro, const Token &identifier);
49 bool expandMacro(const Macro &macro, const Token &identifier, std::vector<Token> *replacements);
52 bool collectMacroArgs(const Macro &macro,
56 void replaceMacroParams(const Macro &macro,
68 std::shared_ptr<Macro> macro;
85 std::vector<std::shared_ptr<Macro>> mMacrosToReenable;
H A DMacroExpander.cpp177 std::shared_ptr<Macro> macro = iter->second; in lex()
188 if ((macro->type == Macro::kTypeFunc) && !isNextTokenLeftParen()) in lex()
252 bool MacroExpander::pushMacro(std::shared_ptr<Macro> macro, const Token &identifier) in pushMacro()
263 // Macro is disabled for expansion until it is popped off the stack. in pushMacro()
297 bool MacroExpander::expandMacro(const Macro &macro, in expandMacro()
308 if (macro.type == Macro::kTypeObj) in expandMacro()
331 assert(macro.type == Macro::kTypeFunc); in expandMacro()
355 bool MacroExpander::collectMacroArgs(const Macro &macro, in collectMacroArgs()
419 const Macro::Parameters &params = macro.parameters; in collectMacroArgs()
467 void MacroExpander::replaceMacroParams(const Macro
[all...]
/third_party/rust/crates/syn/src/
H A Dmac.rs16 pub struct Macro { structure names
44 impl Macro { impls
54 /// use syn::{parse_quote, Expr, ExprLit, Ident, Lit, LitStr, Macro, Token};
107 /// fn get_format_string(m: &Macro) -> Result<LitStr> {
169 impl Parse for Macro {
172 Ok(Macro { in parse()
204 impl ToTokens for Macro {
H A Dstmt.rs31 Macro(StmtMacro),
70 pub mac: Macro,
147 Stmt::Macro(stmt) => { in parse_within()
198 return stmt_mac(input, attrs, path).map(Stmt::Macro); in parse_stmt()
256 mac: Macro { in stmt_mac()
348 | Expr::Macro(_) in stmt_expr()
374 Expr::Macro(ExprMacro { attrs, mac }) in stmt_expr()
377 return Ok(Stmt::Macro(StmtMacro { in stmt_expr()
421 Stmt::Macro(mac) => mac.to_tokens(tokens), in to_tokens()
H A Ditem.rs41 Macro(ItemMacro),
184 pub mac: Macro,
319 | Item::Macro(ItemMacro { attrs, .. })
506 Macro(ForeignItemMacro),
575 pub mac: Macro,
601 Macro(TraitItemMacro),
672 pub mac: Macro,
698 Macro(ImplItemMacro),
774 pub mac: Macro,
1076 input.parse().map(Item::Macro)
[all...]
/third_party/json/docs/docset/
H A DdocSet.sql200 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_ASSERT', 'Macro', 'api/macros/json_assert/index.html');
201 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_CATCH_USER', 'Macro', 'api/macros/json_throw_user/index.html');
202 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_DIAGNOSTICS', 'Macro', 'api/macros/json_diagnostics/index.html');
203 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_DISABLE_ENUM_SERIALIZATION', 'Macro', 'api/macros/json_disable_enum_serialization/index.html');
204 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_HAS_CPP_11', 'Macro', 'api/macros/json_has_cpp_11/index.html');
205 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_HAS_CPP_14', 'Macro', 'api/macros/json_has_cpp_11/index.html');
206 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_HAS_CPP_17', 'Macro', 'api/macros/json_has_cpp_11/index.html');
207 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_HAS_CPP_20', 'Macro', 'api/macros/json_has_cpp_11/index.html');
208 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_HAS_EXPERIMENTAL_FILESYSTEM', 'Macro', 'api/macros/json_has_filesystem/index.html');
209 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_HAS_FILESYSTEM', 'Macro', 'ap
[all...]
/third_party/node/deps/v8/src/torque/
H A Ddeclarations.cc111 Macro* Declarations::TryLookupMacro(const std::string& name, in TryLookupMacro()
113 std::vector<Macro*> macros = TryLookup<Macro>(QualifiedName(name)); in TryLookupMacro()
200 Macro* Declarations::DeclareMacro( in DeclareMacro()
205 if (Macro* existing_macro = in DeclareMacro()
212 Macro* macro; in DeclareMacro()
324 Macro* Declarations::DeclareOperator(const std::string& name, Macro* m) { in DeclareOperator()
H A Ddeclarations.h81 static Macro* TryLookupMacro(const std::string& name,
108 static Macro* DeclareMacro(
157 static Macro* DeclareOperator(const std::string& name, Macro* m);
H A Ddeclarable.h374 class Macro : public Callable { class
376 DECLARE_DECLARABLE_BOILERPLATE(Macro, macro)
393 Macro(Declarable::Kind kind, std::string external_name, in Macro() function in v8::internal::torque::Macro
408 class ExternMacro : public Macro {
430 : Macro(Declarable::kExternMacro, name, name, std::move(signature), in ExternMacro()
437 class TorqueMacro : public Macro {
459 : Macro(kind, std::move(external_name), std::move(readable_name), in TorqueMacro()
481 return Macro::ShouldBeInlined(output_type) ||
H A Dinstructions.h23 class Macro;
475 CallCsaMacroInstruction(Macro* macro, in CallCsaMacroInstruction()
489 Macro* macro;
499 CallCsaMacroAndBranchInstruction(Macro* macro, in CallCsaMacroAndBranchInstruction()
524 Macro* macro;
536 MakeLazyNodeInstruction(Macro* macro, const Type* result_type, in MakeLazyNodeInstruction()
544 Macro* macro;
/third_party/rust/crates/syn/src/gen/
H A Dclone.rs266 Expr::Macro(v0) => Expr::Macro(v0.clone()), in clone()
863 ForeignItem::Macro(v0) => ForeignItem::Macro(v0.clone()), in clone()
966 ImplItem::Macro(v0) => ImplItem::Macro(v0.clone()), in clone()
1059 Item::Macro(v0) => Item::Macro(v0.clone()), in clone()
1374 impl Clone for Macro {
1376 Macro { in clone()
[all...]
/third_party/jinja2/
H A Dasyncsupport.py153 from .runtime import BlockReference, Macro namespace
156 Macro._invoke = wrap_macro_invoke(Macro._invoke)
/third_party/node/deps/v8/third_party/jinja2/
H A Dasyncsupport.py153 from .runtime import BlockReference, Macro namespace
156 Macro._invoke = wrap_macro_invoke(Macro._invoke)
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncsupport.py157 from jinja2.runtime import BlockReference, Macro namespace
160 Macro._invoke = wrap_macro_invoke(Macro._invoke)
/third_party/skia/third_party/externals/jinja2/
H A Dasyncsupport.py153 from .runtime import BlockReference, Macro namespace
156 Macro._invoke = wrap_macro_invoke(Macro._invoke)
/third_party/rust/crates/serde/serde_derive_internals/src/
H A Dreceiver.rs7 parse_quote, Data, DeriveInput, Expr, ExprPath, GenericArgument, GenericParam, Generics, Macro,
127 Type::Macro(ty) => self.visit_macro_mut(&mut ty.mac), in visit_type_mut_impl()
291 fn visit_macro_mut(&mut self, _mac: &mut Macro) {} in visit_macro_mut()
/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dreceiver.rs7 parse_quote, Data, DeriveInput, Expr, ExprPath, GenericArgument, GenericParam, Generics, Macro,
127 Type::Macro(ty) => self.visit_macro_mut(&mut ty.mac), in visit_type_mut_impl()
291 fn visit_macro_mut(&mut self, _mac: &mut Macro) {} in visit_macro_mut()
/third_party/googletest/googlemock/test/
H A Dgmock-pp-string_test.cc55 #define EXPECT_EXPANSION(Result, Macro) \
56 EXPECT_THAT("" GMOCK_PP_STRINGIZE(Macro), SameExceptSpaces(Result))
/third_party/rust/crates/bindgen/bindgen/codegen/postprocessing/
H A Dsort_semantically.rs31 Item::Macro(_) => 15, in visit_item_mod_mut()

Completed in 16 milliseconds

1234