/gem5/tests/test-progs/asmtest/src/riscv/env/v/ |
H A D | string.c | 48 int strcmp(const char* s1, const char* s2) argument 53 c1 = *s1++; 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) { 63 const uintptr_t* u1 = s1; 72 n -= (const void*)u1 - s1; 73 s1 = u1; 78 unsigned char c1 = *(const unsigned char*)s1++;
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64uc/ |
H A D | rvc.S | 60 RVC_TEST_CASE (15, s1, 14, li s1, 20; li a0, 6; c.sub s1, a0) 61 RVC_TEST_CASE (16, s1, 18, li s1, 20; li a0, 6; c.xor s1, a0) 62 RVC_TEST_CASE (17, s1, 22, li s1, 20; li a0, 6; c.or s1, a0) 63 RVC_TEST_CASE (18, s1, [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test209/ |
H A D | test209.cpp | 61 std::string s1 = std::string(ch1.name()); local 62 sc_assert(s1.substr(0,6) == "object"); 63 check_form_of_suffix(s1.substr(6)); 69 sc_assert(s2 != s1); 75 sc_assert(s3 != s1); 82 sc_assert(s4 != s1); 90 sc_assert(s5 != s1); 99 sc_assert(s6 != s1); 108 sc_assert(s7 != s1); 120 sc_assert(s8 != s1); [all...] |
/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 111 double nsize = s1 * (1 + pton_size) / (2 + pton_size); 144 void Htree2::output_buffer(double s1, double s2, double l_eff) { argument 148 double size = s1 * (1 + pton_size) / (2 + pton_size + 1 + 2 * pton_size); 153 double tr_size = gate_C(s1 * (min_w_nmos + min_w_pmos), 0) * 1 / 2 / 166 gate_C(s1 * (min_w_nmos + min_w_pmos), 0); 218 + gate_C(s1 * (min_w_nmos + min_w_pmos), 0)) * 224 + gate_C(s1 * (min_w_nmos + min_w_pmos), 0)) * 293 double s1 = 0, s2 = 0, s3 = 0; local 428 s1 502 double s1 = 0, s2 = 0, s3 = 0; local [all...] |
H A D | crossbar.cc | 56 //double s1 = w1.repeater_size *l_eff*ADJ/w1.repeater_spacing; 57 double s1 = w1.repeater_size * (l_eff < w1.repeater_spacing ? local 61 TriS1 = s1 * (1 + pton_size) / (2 + pton_size + 1 + 2 * pton_size); 62 TriS2 = s1; //driver transistor
|
/gem5/src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/ |
H A D | test1.cpp | 60 sc_bigint<10> s1; local 79 s1 = -235; 91 cout << "s1 = " << s1 << endl; 111 cout << "s1.range(3,0) = " << sc_signed(s1.range(3,0)) << endl; 112 cout << "s1.range(0,3) = " << sc_signed(s1.range(0,3)) << endl; 124 s1 = b1; 137 cout << "s1 [all...] |
/gem5/ext/googletest/googletest/samples/ |
H A D | sample2_unittest.cc | 89 const MyString s1(kHelloString); 90 const MyString s2 = s1;
|
/gem5/src/unittest/ |
H A D | stattest.cc | 75 Scalar s1; member in struct:StatTest 138 s1 385 f1 = s1 + s2; 386 f2 = (-s1) / (-s2) * (-s3 + ULL(100) + s4); 552 s1 = 9; 553 s1 += 9; 554 s1 -= 11; 555 s1++; 556 ++s1; 557 s1 [all...] |
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64mi/ |
H A D | ma_addr.S | 22 li s1, CAUSE_MISALIGNED_LOAD 58 li s1, CAUSE_MISALIGNED_STORE 99 bne t0, s1, fail
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64samt/ |
H A D | sysclone_d.S | 121 mv s1, sp // save stack pointer 149 mv sp, s1 // restore stack pointer
|
/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) 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); 251 .InSequence(s1) 260 .InSequence(s1, s2);
|
H A D | gmock_output_test_.cc | 155 Sequence s1, s2; local 158 .InSequence(s1); 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) 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 | 1539 const char* s1, 1547 const char* s1, 1555 const char* s1, 1563 const char* s1, 1572 const wchar_t* s1, 1580 const wchar_t* s1, 1982 // * {ASSERT|EXPECT}_STREQ(s1, s2): Tests that s1 == s2 1983 // * {ASSERT|EXPECT}_STRNE(s1, s2): Tests that s1 ! [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test200/ |
H A D | test200.cpp | 41 std::string s1 = std::string(sc_get_current_process_handle().name());
local 42 sc_assert(s1.substr(0,7) == "top.m.T");
43 check_form_of_suffix(s1.substr(7));
55 sc_assert(s1 != s2);
57 sc_assert(s3 != s1);
|
/gem5/ext/dsent/tech/ |
H A D | TechModel.cc | 166 const double s1 = subthreshold_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; 189 double C = -s1; 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 [all...] |
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | scfx_utils.h | 214 const char* s1 = s + 1; local 220 switch( *s1 )
|
/gem5/src/systemc/ext/dt/fx/ |
H A D | scfx_utils.hh | 209 const char *s1 = s + 1; local 214 switch (*s1) {
|
/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) [all...] |
/gem5/src/base/ |
H A D | circular_queue.hh | 507 uint32_t moduloAdd(uint32_t s1, uint32_t s2) const argument 509 return moduloAdd(s1, s2, _capacity); 512 uint32_t moduloSub(uint32_t s1, uint32_t s2) const argument 514 return moduloSub(s1, s2, _capacity);
|
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.py | 88 s1, s2 = m.str_format() 89 assert s1 == "1 + 2 = 3" 90 assert s1 == s2
|
/gem5/src/systemc/tests/systemc/misc/unit/aproc_halt/disaproc1/ |
H A D | disaproc1.cpp | 196 sync1 s1("s1", clk, a, b, c, d);
|
/gem5/src/systemc/tests/systemc/misc/unit/aproc_halt/disaproc3/ |
H A D | disaproc3.cpp | 202 sync1 s1("s1", clk, a, b, c, d);
|