Home
last modified time | relevance | path

Searched refs:Macros (Results 1 – 25 of 177) sorted by relevance

12345678

/external/clang/unittests/Basic/
DSourceManagerTest.cpp258 std::vector<MacroAction> &Macros; member in __anon6f5b52de0111::__anon6f5b52de0211::MacroTracker
261 explicit MacroTracker(std::vector<MacroAction> &Macros) : Macros(Macros) { } in MacroTracker() argument
265 Macros.push_back(MacroAction(MD->getLocation(), in MacroDefined()
271 Macros.push_back(MacroAction(MacroNameTok.getLocation(), in MacroExpands()
309 std::vector<MacroAction> Macros; in TEST_F() local
310 PP.addPPCallbacks(llvm::make_unique<MacroTracker>(Macros)); in TEST_F()
326 ASSERT_EQ(9U, Macros.size()); in TEST_F()
328 ASSERT_TRUE(Macros[0].isDefinition); in TEST_F()
329 ASSERT_EQ("M", Macros[0].Name); in TEST_F()
331 ASSERT_TRUE(Macros[1].isDefinition); in TEST_F()
[all …]
/external/googletest/googlemock/test/
Dgmock-pp-string_test.cc59 TEST(Macros, Cat) { in TEST() argument
64 TEST(Macros, Narg) { in TEST() argument
76 TEST(Macros, Comma) { in TEST() argument
82 TEST(Macros, IsEmpty) { in TEST() argument
92 TEST(Macros, If) { in TEST() argument
97 TEST(Macros, HeadTail) { in TEST() argument
107 TEST(Macros, Parentheses) { in TEST() argument
123 TEST(Macros, Increment) { in TEST() argument
136 TEST(Macros, Repeat) { in TEST() argument
165 TEST(Macros, ForEach) { in TEST() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugMacro.cpp21 for (const Entry &E : Macros) { in dump()
74 Macros.push_back(E); in parse()
99 Macros.push_back(E); in parse()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugMacro.cpp22 for (const Entry &E : Macros) { in dump()
75 Macros.push_back(E); in parse()
100 Macros.push_back(E); in parse()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dlibspirv_macros_test.cpp20 TEST(Macros, BitShiftInnerParens) { ASSERT_EQ(65536, SPV_BIT(2 << 3)); } in TEST() argument
22 TEST(Macros, BitShiftOuterParens) { ASSERT_EQ(15, SPV_BIT(4) - 1); } in TEST() argument
/external/deqp-deps/SPIRV-Tools/test/
Dlibspirv_macros_test.cpp20 TEST(Macros, BitShiftInnerParens) { ASSERT_EQ(65536, SPV_BIT(2 << 3)); } in TEST() argument
22 TEST(Macros, BitShiftOuterParens) { ASSERT_EQ(15, SPV_BIT(4) - 1); } in TEST() argument
/external/clang/include/clang/Lex/
DPreprocessorOptions.h46 std::vector<std::pair<std::string, bool/*isUndef*/> > Macros;
152 void addMacroDef(StringRef Name) { Macros.emplace_back(Name, false); } in addMacroDef()
153 void addMacroUndef(StringRef Name) { Macros.emplace_back(Name, true); } in addMacroUndef()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugMacro.h46 MacroList Macros; variable
58 bool empty() const { return Macros.empty(); } in empty()
/external/python/cpython3/Doc/c-api/
Ddatetime.rst88 Macros to create objects:
129 Macros to extract fields from date objects. The argument must be an instance of
149 Macros to extract fields from datetime objects. The argument must be an
173 Macros to extract fields from time objects. The argument must be an instance of
197 Macros to extract fields from time delta objects. The argument must be an
222 Macros for the convenience of modules implementing the DB API:
/external/python/cpython2/Doc/c-api/
Ddatetime.rst98 Macros to create objects:
133 Macros to extract fields from date objects. The argument must be an instance of
159 Macros to extract fields from datetime objects. The argument must be an
191 Macros to extract fields from time objects. The argument must be an instance of
223 Macros for the convenience of modules implementing the DB API:
/external/clang/lib/Lex/
DPPLexerChange.cpp650 auto &StartingMacros = NullSubmoduleState.Macros; in EnterSubmodule()
662 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
716 auto MacroIt = CurSubmoduleState->Macros.find(II); in LeaveSubmodule()
717 if (MacroIt == CurSubmoduleState->Macros.end()) in LeaveSubmodule()
729 auto &OldMacros = OldState->Macros; in LeaveSubmodule()
DPreprocessor.cpp280 << llvm::capacity_in_bytes(CurSubmoduleState->Macros); in PrintStats()
299 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState())); in macro_begin()
301 return CurSubmoduleState->Macros.begin(); in macro_begin()
310 + llvm::capacity_in_bytes(CurSubmoduleState->Macros) in getTotalMemory()
324 return CurSubmoduleState->Macros.end(); in macro_end()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugMacro.h46 MacroList Macros; variable
/external/libcxx/include/
Dcassert14 Macros:
Dcstdbool17 Macros:
Dcerrno17 Macros:
Dcsetjmp17 Macros:
Dclimits17 Macros:
Dcstdarg17 Macros:
Dcsignal17 Macros:
Dclocale17 Macros:
Dcfloat17 Macros:
/external/llvm/include/llvm/IR/
DDebugInfoFlags.def10 // Macros for running through debug info flags.
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DDIEValue.def10 // Macros for running through all types of DIEValue.
/external/llvm/include/llvm/CodeGen/
DDIEValue.def10 // Macros for running through all types of DIEValue.

12345678