/gem5/tests/test-progs/asmtest/src/riscv/env/v/ |
H A D | string.c | 48 int strcmp(const char* s1, const char* s2) argument 54 c2 = *s2++; 60 int memcmp(const void* s1, const void* s2, size_t n) argument 62 if ((((uintptr_t)s1 | (uintptr_t)s2) & (sizeof(uintptr_t)-1)) == 0) { 64 const uintptr_t* u2 = s2; 74 s2 = u2; 79 unsigned char c2 = *(const unsigned char*)s2++;
|
/gem5/src/systemc/tests/systemc/compliance_1666/test209/ |
H A D | test209.cpp | 66 const std::string s2 = std::string(ch2.name()); local 67 sc_assert(s2.substr(0,6) == "object"); 68 check_form_of_suffix(s2.substr(6)); 69 sc_assert(s2 != s1); 71 Chan ch3(s2.c_str()); // object_0_0 or object_1 76 sc_assert(s3 != s2); 83 sc_assert(s4 != s2); 91 sc_assert(s5 != s2); 100 sc_assert(s6 != s2); 109 sc_assert(s7 != s2); [all...] |
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64uamt/ |
H A D | lrsc_d.S | 82 lr.d.aq s2, (a0) // load and reserve a0 83 bnez s2, 1b // retry lr if the lock is being held 84 sc.d.rl s2, t0, (a0) // try to lock a0 85 bnez s2, 1b // retry if sc failed
|
H A D | amoswap_d.S | 82 amoswap.d.aq s2, t0, (a0) // try to swap t0 with the lock 83 bnez s2, 1b // retry if the lock is being held
|
/gem5/ext/mcpat/cacti/ |
H A D | htree2.h | 62 void input_nand(double s1, double s2, double l); 63 void output_buffer(double s1, double s2, double l);
|
H A D | htree2.cc | 107 void Htree2::input_nand(double s1, double s2, double l_eff) { argument 116 2 * gate_C(s2 * (min_w_nmos + min_w_pmos), 0)); 123 + 2 * gate_C(s2 * (min_w_nmos + min_w_pmos), 0)) * 129 + 2 * gate_C(s2 * (min_w_nmos + min_w_pmos), 0)) * 144 void Htree2::output_buffer(double s1, double s2, double l_eff) { argument 150 (gate_C(s2 * (min_w_nmos + min_w_pmos), 0) + w1.wire_cap(l_eff * 1e-6, 152 gate_C(s2 * (min_w_nmos + min_w_pmos), 0); 293 double s1 = 0, s2 = 0, s3 = 0; local 437 s2 = wtemp2->repeater_size; 439 s2 502 double s1 = 0, s2 = 0, s3 = 0; local [all...] |
/gem5/src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/ |
H A D | test1.cpp | 61 sc_bigint<8> s2; local 80 s2 = -32; 92 cout << "s2 = " << s2 << endl; 113 cout << "s2.range(4,1) = " << sc_signed(s2.range(4,1)) << endl; 114 cout << "s2.range(1,4) = " << sc_signed(s2.range(1,4)) << endl; 125 s2 = b2; 139 cout << "s2 [all...] |
/gem5/ext/googletest/googletest/samples/ |
H A D | sample2_unittest.cc | 90 const MyString s2 = s1; local 91 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString));
|
/gem5/src/mem/cache/prefetch/ |
H A D | access_map_pattern_matching.hh | 145 enum AccessMapState s2 = states[current + 2 * stride]; local 148 ((s == AM_ACCESS && s2 == AM_ACCESS) ||
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 122 string Concat4(const char* s1, const char* s2, const char* s3, argument 124 return string(s1) + s2 + s3 + s4; 135 string Concat5(const char* s1, const char* s2, const char* s3, argument 137 return string(s1) + s2 + s3 + s4 + s5; 150 string Concat6(const char* s1, const char* s2, const char* s3, argument 152 return string(s1) + s2 + s3 + s4 + s5 + s6; 155 string Concat7(const char* s1, const char* s2, const char* s3, argument 158 return string(s1) + s2 + s3 + s4 + s5 + s6 + s7; 161 string Concat8(const char* s1, const char* s2, const char* s3, argument 164 return string(s1) + s2 167 Concat9(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8, const char* s9) argument 173 Concat10(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8, const char* s9, const char* s10) argument 204 Concat7(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7) argument 210 Concat8(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8) argument 216 Concat9(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8, const char* s9) argument 222 Concat10(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8, const char* s9, const char* s10) argument [all...] |
H A D | gmock_stress_test.cc | 54 MOCK_METHOD2(Baz, char(const char* s1, const internal::string& s2)); // NOLINT 240 Sequence s1, s2; local 246 .InSequence(s1, s2); 255 .InSequence(s2); 260 .InSequence(s1, s2);
|
H A D | gmock_output_test_.cc | 155 Sequence s1, s2; local 160 .InSequence(s2); 162 .InSequence(s1, s2);
|
H A D | gmock-generated-actions_test.cc | 105 string Concat4(const char* s1, const char* s2, const char* s3, argument 107 return string(s1) + s2 + s3 + s4; 118 string Concat5(const char* s1, const char* s2, const char* s3, argument 120 return string(s1) + s2 + s3 + s4 + s5; 133 string Concat6(const char* s1, const char* s2, const char* s3, argument 135 return string(s1) + s2 + s3 + s4 + s5 + s6; 138 string Concat7(const char* s1, const char* s2, const char* s3, argument 141 return string(s1) + s2 + s3 + s4 + s5 + s6 + s7; 144 string Concat8(const char* s1, const char* s2, const char* s3, argument 147 return string(s1) + s2 150 Concat9(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8, const char* s9) argument 156 Concat10(const char* s1, const char* s2, const char* s3, const char* s4, const char* s5, const char* s6, const char* s7, const char* s8, const char* s9, const char* s10) argument [all...] |
/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest.h | 1540 const char* s2); 1548 const char* s2); 1556 const char* s2); 1564 const char* s2); 1573 const wchar_t* s2); 1581 const wchar_t* s2); 1982 // * {ASSERT|EXPECT}_STREQ(s1, s2): Tests that s1 == s2 1983 // * {ASSERT|EXPECT}_STRNE(s1, s2): Tests that s1 != s2 [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test200/ |
H A D | test200.cpp | 46 std::string s2 = std::string(sc_get_current_process_handle().name());
local 47 sc_assert(s2.substr(0,7) == "top.m.T");
48 check_form_of_suffix(s2.substr(7));
55 sc_assert(s1 != s2);
56 sc_assert(s2 != s3);
|
/gem5/ext/dsent/tech/ |
H A D | TechModel.cc | 167 const double s2 = dibl_swing_; local 183 // v[i] = (1.0/(2*s1 + s2))*((s1 + s2)*v[i - 1] + s1*v[i + 1] 184 // + s2*(vs[i + 1] - vs[i]) + s1*s2*log10(ws[i + 1]/ws[i])) 187 double A = -(s1 + s2); 188 double B = 2*s1 + s2; 220 d[i] = s2*(vs[i + 1] - vs[i]) + s1*s2*std::log10(ws[i + 1]/ws[i]); 266 double leakage_current_factor = vgs/s1 + (vds - vdd_)/s2; [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.cpp | 75 auto s2 = "{a} + {b} = {c}"_s.format("a"_a=1, "b"_a=2, "c"_a=3); 76 return py::make_tuple(s1, s2); 246 std::string s2("str1"); 247 d["str_i2"] = s2; 248 s2[3] = '2'; 249 d["str_e"] = py::cast(s2); 250 s2[3] = '3'; 251 d["str_p"] = py::str(s2);
|
H A D | test_pytypes.py | 88 s1, s2 = m.str_format() 90 assert s1 == s2
|
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-spec-builders.h | 946 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2) { 947 return InSequence(s1).InSequence(s2); 949 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2, 951 return InSequence(s1, s2).InSequence(s3); 953 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2, 955 return InSequence(s1, s2, s3).InSequence(s4); 957 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2, 960 return InSequence(s1, s2, s3, s4).InSequence(s5); 976 TypedExpectation& After(const ExpectationSet& s1, const ExpectationSet& s2) { 977 return After(s1).After(s2); [all...] |
H A D | gmock-matchers.h | 1103 const StringType& s2) { 1105 if (!CaseInsensitiveCStringEquals(s1.c_str(), s2.c_str())) { 1111 const size_t i1 = s1.find(nul), i2 = s2.find(nul); 1113 // Are we at the end of either s1 or s2? 1119 return CaseInsensitiveStringEquals(s1.substr(i1 + 1), s2.substr(i2 + 1)); 1152 const StringType& s2(s); 1153 const bool eq = case_sensitive_ ? s2 == string_ : 1154 CaseInsensitiveStringEquals(s2, string_); 1209 const StringType& s2(s); 1210 return s2 1102 CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) argument 1530 const internal::string s2 = listener2.str(); local 1533 *listener << s2; local 1537 *listener << ", and " << s2; local 1702 const internal::string s2 = listener2.str(); local 1705 *listener << s2; local 1709 *listener << ", and " << s2; local [all...] |
/gem5/src/base/ |
H A D | circular_queue.hh | 507 uint32_t moduloAdd(uint32_t s1, uint32_t s2) const 509 return moduloAdd(s1, s2, _capacity); 512 uint32_t moduloSub(uint32_t s1, uint32_t s2) const 514 return moduloSub(s1, s2, _capacity);
|
/gem5/src/unittest/ |
H A D | stattest.cc | 76 Scalar s2; member in struct:StatTest 143 s2 385 f1 = s1 + s2; 386 f2 = (-s1) / (-s2) * (-s3 + ULL(100) + s4); 560 s2 = 9;
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/macros/mt/ |
H A D | test_macros_mt_ecall.h | 182 li s2, MEM_SIZE variable 183 add a1, t1, s2 // pointer to the high address of the new stack
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxval.cpp | 676 scfx_string s2; local 677 s2 += s; 678 s2 += '\0'; 739 scfx_csd2tc( s2 ); 740 s = (const char*) s2 + 4;
|
/gem5/src/systemc/dt/fx/ |
H A D | sc_fxval.cc | 632 scfx_string s2; local 633 s2 += s; 634 s2 += '\0'; 694 scfx_csd2tc(s2); 695 s = (const char*) s2 + 4;
|