/gem5/src/systemc/tests/systemc/misc/user_guide/chpt3.2/ |
H A D | fsmr.h | 55 char pattern[4]; // This string will hold the pattern to match against local 67 pattern[0] = 'S'; 68 pattern[1] = 'c'; 69 pattern[2] = 'e'; 70 pattern[3] = 'n';
|
H A D | fsmr.cpp | 55 if (c == pattern[0]) state = 1; 60 if (c == pattern[1]) state = 2; 65 if (c == pattern[2]) state = 3; 70 if (c == pattern[3]) out = true;
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt3.1/ |
H A D | fsmr.h | 55 char pattern[4]; // This string will hold the pattern to match against local 68 pattern[0] = 'S'; 69 pattern[1] = 'c'; 70 pattern[2] = 'e'; 71 pattern[3] = 'n';
|
H A D | fsmr.cpp | 55 if (c == pattern[0]) state = 1; 60 if (c == pattern[1]) state = 2; 65 if (c == pattern[2]) state = 3; 70 if (c == pattern[3]) out = true;
|
/gem5/src/mem/cache/compressors/ |
H A D | cpack.cc | 82 // Start as a no-match pattern. A negative match location is used so that 84 std::unique_ptr<Pattern> pattern = local 93 // Check if found pattern is better than previous 94 if (temp_pattern->getSizeBits() < pattern->getSizeBits()) { 95 pattern = std::move(temp_pattern); 100 patternStats[pattern->getPatternNumber()]++; 103 if ((numEntries < dictionarySize) && pattern->shouldAllocate()) { 107 return pattern; 140 // Append to pattern list 148 // Set compression latency (Accounts for pattern matchin 160 decompressWord(const Pattern* pattern) argument [all...] |
H A D | cpack.hh | 38 * function isPattern(), to determine if the data fits the pattern, and a 39 * decompress() function, which decompresses the contents of a pattern. 40 * Every new pattern must inherit from the Pattern class and be added to the 76 * Create a factory to determine if input matches a pattern. The if else 87 // If match this pattern, instantiate it. If a negative match 94 // Otherwise, go for next pattern 112 // Instantiate last pattern. Should be the XXXX pattern. 145 * Number of data entries that were compressed to each pattern. 157 * @return The pattern thi [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_output_test.py | 168 def RemoveMatchingTests(test_output, pattern): 176 pattern: A regex string that matches names of test cases or 180 Contents of test_output with tests whose names match pattern removed. 185 pattern, pattern), 188 return re.sub(r'.*%s.*\n' % pattern, '', test_output)
|
H A D | gtest_list_tests_unittest.py | 166 expected_output_re.pattern)))
|
H A D | gtest-port_test.cc | 419 EXPECT_STREQ("", empty.pattern()); 422 EXPECT_STREQ("hello", simple.pattern()); 425 EXPECT_STREQ(".*(\\w+)", normal.pattern()); 877 EXPECT_STREQ("", empty.pattern()); 880 EXPECT_STREQ("hello", simple.pattern());
|
/gem5/src/python/m5/util/ |
H A D | code_formatter.py | 84 pattern = r""" 98 if 'pattern' in dct: 99 pat = cls.pattern 104 pat = code_formatter_meta.pattern % { 113 cls.pattern = re.compile(pat, re.VERBOSE | re.DOTALL | re.MULTILINE) 244 ('Positional parameter #%d not found in pattern' % pos, 245 code_formatter.pattern) 261 raise ValueError('Unrecognized named group in pattern', 262 code_formatter.pattern) 276 d = code_formatter.pattern [all...] |
/gem5/util/ |
H A D | on-chip-network-power-area.py | 159 pattern = "sim_seconds" 161 ["grep", pattern, stats_file]), '\n', -1)
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 387 // Returns true iff the wildcard pattern matches the string. The 388 // first ':' or '\0' character in pattern marks the end of it. 392 static bool PatternMatchesString(const char *pattern, const char *str); 942 GTEST_API_ bool AtomMatchesChar(bool escaped, char pattern, char ch);
|
H A D | gtest.cc | 457 // Returns true iff the wildcard pattern matches the string. The 458 // first ':' or '\0' character in pattern marks the end of it. 462 bool UnitTestOptions::PatternMatchesString(const char *pattern, argument 464 switch (*pattern) { 466 case ':': // Either ':' or '\0' marks the end of the pattern. 469 return *str != '\0' && PatternMatchesString(pattern + 1, str + 1); 471 return (*str != '\0' && PatternMatchesString(pattern, str + 1)) || 472 PatternMatchesString(pattern + 1, str); 474 return *pattern == *str && 475 PatternMatchesString(pattern [all...] |
H A D | gtest-death-test.cc | 571 << " Expected: " << regex()->pattern() << "\n"
|
/gem5/configs/common/cores/arm/ |
H A D | HPI.py | 95 def encode_opcode(pattern): 97 a64_mask, a64_match = pattern
|
/gem5/src/arch/arm/insts/ |
H A D | sve.cc | 541 if (pattern != 0x1f) { 543 ss << sveDisasmPredCountImm(pattern);
|
H A D | sve.hh | 551 uint8_t pattern; member in class:ArmISA::SveElemCountOp 561 dest(_dest), pattern(_pattern), imm(_imm), dstIsVec(_dstIsVec), 852 /// Returns the symbolic name associated with pattern `imm` for PTRUE(S) 857 /// @param imm 5-bit immediate encoding the predicate pattern.
|
/gem5/ext/testlib/ |
H A D | config.py | 99 return '%10s: %s' % (type_, self.regex.pattern)
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 1160 RE(const RE& other) { Init(other.pattern()); } 1175 const char* pattern() const { return pattern_; } function in class:testing::internal::RE
|
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 1356 UniversalPrinter<internal::string>::Print(regex_->pattern(), os); 1362 UniversalPrinter<internal::string>::Print(regex_->pattern(), os);
|