/external/deqp-deps/SPIRV-Tools/test/ |
libspirv_macros_test.cpp | 20 TEST(Macros, BitShiftInnerParens) { ASSERT_EQ(65536, SPV_BIT(2 << 3)); } 22 TEST(Macros, BitShiftOuterParens) { ASSERT_EQ(15, SPV_BIT(4) - 1); }
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
libspirv_macros_test.cpp | 20 TEST(Macros, BitShiftInnerParens) { ASSERT_EQ(65536, SPV_BIT(2 << 3)); } 22 TEST(Macros, BitShiftOuterParens) { ASSERT_EQ(15, SPV_BIT(4) - 1); }
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFDebugMacro.h | 46 MacroList Macros; 58 bool empty() const { return Macros.empty(); }
|
/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 258 std::vector<MacroAction> &Macros; 261 explicit MacroTracker(std::vector<MacroAction> &Macros) : Macros(Macros) { } 265 Macros.push_back(MacroAction(MD->getLocation(), 271 Macros.push_back(MacroAction(MacroNameTok.getLocation(), 309 std::vector<MacroAction> Macros; 310 PP.addPPCallbacks(llvm::make_unique<MacroTracker>(Macros)); 326 ASSERT_EQ(9U, Macros.size()); 328 ASSERT_TRUE(Macros[0].isDefinition) [all...] |
/external/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFDebugMacro.h | 46 MacroList Macros;
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugMacro.cpp | 22 for (const Entry &E : Macros) { 75 Macros.push_back(E); 100 Macros.push_back(E);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugMacro.cpp | 21 for (const Entry &E : Macros) { 74 Macros.push_back(E); 99 Macros.push_back(E);
|
/external/googletest/googlemock/test/ |
gmock-pp-string_test.cc | 59 TEST(Macros, Cat) { 64 TEST(Macros, Narg) { 76 TEST(Macros, Comma) { 82 TEST(Macros, IsEmpty) { 92 TEST(Macros, If) { 97 TEST(Macros, HeadTail) { 107 TEST(Macros, Parentheses) { 123 TEST(Macros, Increment) { 136 TEST(Macros, Repeat) { 165 TEST(Macros, ForEach) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
GenMake.py | 436 self.Macros = sdict()
437 self.Macros["OUTPUT_DIR" ] = self._AutoGenObject.Macros["OUTPUT_DIR"]
438 self.Macros["DEBUG_DIR" ] = self._AutoGenObject.Macros["DEBUG_DIR"]
439 self.Macros["MODULE_BUILD_DIR"] = self._AutoGenObject.Macros["MODULE_BUILD_DIR"]
440 self.Macros["BIN_DIR" ] = self._AutoGenObject.Macros["BIN_DIR"]
441 self.Macros["BUILD_DIR" ] = self._AutoGenObject.Macros["BUILD_DIR"] [all...] |
BuildEngine.py | 134 # Search macros used in command lines for <FILE_TYPE>_LIST and INC_LIST.
207 def Instantiate(self, Macros={}):
212 NewRuleObject.DestFileList.append(PathClass(NormPath(File, Macros)))
289 # Command line should be regenerated since some macros are different
308 def _BuildCommand(self, Macros):
311 CommandString = string.Template(CommandString).safe_substitute(Macros)
312 CommandString = string.Template(CommandString).safe_substitute(Macros)
|
/external/clang/include/clang/Lex/ |
PreprocessorOptions.h | 46 std::vector<std::pair<std::string, bool/*isUndef*/> > Macros; 152 void addMacroDef(StringRef Name) { Macros.emplace_back(Name, false); } 153 void addMacroUndef(StringRef Name) { Macros.emplace_back(Name, true); }
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
InfParserLite.py | 46 self.Macros = {}
99 (Name, Value) = AddToSelfMacro(self.Macros, Item[0])
168 for Item in P.Macros:
169 print Item, P.Macros[Item]
|
Parser.py | 265 # @param Macros: A set of all macro
271 def ParseConditionalStatement(Line, Macros, StatusSet):
276 IfLine = ReplaceMacro(IfLine, Macros, True)
286 if IfLine in Macros or IfLine in EotGlobalData.gMACRO:
293 if IfLine not in Macros and IfLine not in EotGlobalData.gMACRO:
299 Status = ParseConditionalStatementMacros(IfLine, Macros)
304 Status = ParseConditionalStatementMacros(IfLine, Macros)
321 # Parse conditional statement with Macros
324 # @param Macros: A set of macros
[all...] |
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
README | 21 In order to build the driver for a platform some macros (see Macros list) must 23 Those macros define specific configuration that is platform dependent (SPI bus, 32 <---------- Macros list ---------->
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/ |
MetaFileParser.py | 58 # Global macros can be only defined via environment variable
69 # DEFINE defined macros
85 # EDK_GLOBAL defined macros
108 # @param Macros Macros used for replacement in file
145 # @param Macros Macros used for replacement in file
261 Macros = self._Macros
262 self._ValueList = [ReplaceMacro(Value, Macros) for Value in self._ValueList]
359 # EDK module allows using defines as macros
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/ |
MetaFileParser.py | 56 # Global macros can be only defined via environment variable
70 # DEFINE defined macros
88 # EDK_GLOBAL defined macros
111 # @param Macros Macros used for replacement in file
272 Macros = self._Macros
273 self._ValueList = [ReplaceMacro(Value, Macros) for Value in self._ValueList]
368 # EDK module allows using defines as macros
398 Macros = {}
399 Macros.update(self._FileLocalMacros) [all...] |
WorkspaceDatabase.py | 101 # @param Macros Macros used for replacement in DSC file
165 Macros = self._Macros
166 Macros["EDK_SOURCE"] = GlobalData.gEcpSource
182 ## Get current effective macros
555 Macros = self._Macros
556 Macros["EDK_SOURCE"] = GlobalData.gEcpSource
560 ModuleFile = PathClass(NormPath(Record[0], Macros), GlobalData.gWorkspace, Arch=self._Arch)
581 LibraryPath = PathClass(NormPath(Record[1], Macros), GlobalData.gWorkspace, Arch=self._Arch)
664 Macros = self._Macros [all...] |
/external/libchrome/base/ |
sequence_checker_unittest.cc | 15 #include "base/macros.h" 153 TEST(SequenceCheckerMacroTest, Macros) {
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
Parsing.py | 26 Macros = {}
28 # Find all DEFINE macros in section [Header] and its section
35 Macros[Record[0]] = Record[1]
38 # Overrided by Global Macros
41 Macros[Key] = GlobalMacro[Key]
44 # Replace the Macros
49 Item[0] = ReplaceMacro(Item[0], Macros)
56 Macros = {}
58 # Find all DEFINE macros
77 Macros[Record[0]] = Record[1] [all...] |
/external/clang/lib/Lex/ |
PPLexerChange.cpp | 316 // If the edit distance between the two macros is more than 50%, 320 // handling feature macros or header guards in different files. 592 // out' the rest of the line, including any tokens that came from other macros 644 // Determine the set of starting macros for this submodule; take these 650 auto &StartingMacros = NullSubmoduleState.Macros; 655 // Skip uninteresting macros. 662 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); 686 // Otherwise, we only need module macros if we're actually compiling a module 700 // If we don't need module macros, or this is not a module for which we 708 // Create ModuleMacros for any macros defined in this submodule [all...] |
Preprocessor.cpp | 123 // Initialize builtin macros like __LINE__ and friends. 266 << NumBuiltinMacroExpanded << " obj/fn/builtin macros expanded, " 279 llvm::errs() << "\n Macros: " 280 << llvm::capacity_in_bytes(CurSubmoduleState->Macros); 297 // Make sure we cover all macros in visible modules. 299 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState())); 301 return CurSubmoduleState->Macros.begin(); 310 + llvm::capacity_in_bytes(CurSubmoduleState->Macros) 324 return CurSubmoduleState->Macros.end(); 499 // information) and predefined macros aren't guaranteed to be set properly [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
InfPackagesObject.py | 69 self.Macros = {}
|
InfLibraryClassesObject.py | 117 self.Macros = {}
|
/external/libchrome/base/threading/ |
thread_checker_unittest.cc | 11 #include "base/macros.h" 199 // This fixture is a helper for unit testing the thread checker macros as it is 232 TEST_F(ThreadCheckerMacroTest, Macros) {
|
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia16/ |
Real16ToFlat32.asm | 67 ; Macros for GDT entries
|