Searched refs:c2 (Results 1 - 25 of 31) sorted by relevance

12

/gem5/src/systemc/tests/systemc/communication/sc_clock/test03/
H A Dtest03.cpp54 sc_clock c2( "c2", t1, 0.1, t2, false );
55 c2.dump(cout);
/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dstring.c50 unsigned char c1, c2; local
54 c2 = *s2++;
55 } while (c1 != 0 && c1 == c2);
57 return c1 - c2;
79 unsigned char c2 = *(const unsigned char*)s2++; local
80 if (c1 != c2)
81 return c1 - c2;
/gem5/src/systemc/tests/systemc/communication/sc_clock/test02/
H A Dtest02.cpp56 sc_clock c2( "c2", t1, 0.1, t2, false );
57 cout << "m_cur_val for c2( \"c2\", t1, 0.1, t2, false ) is: ";
58 c2.print(cout);
/gem5/ext/pybind11/tests/
H A Dtest_operator_overloading.py66 c1, c2 = m.C1(), m.C2()
68 assert c2 + c2 == 22
69 assert c2 + c1 == 21
70 assert c1 + c2 == 12
H A Dtest_operator_overloading.cpp124 .def("__add__", [](const C2& c2, const C1& c1) { return c2 + c1; })
125 .def("__radd__", [](const C2& c2, const C1& c1) { return c1 + c2; });
H A Dtest_multiple_inheritance.py307 c2 = m.i801c_b2()
308 assert type(c2) is m.I801C
309 assert c2.a == 1
310 assert c2.b == 2
319 del c2
H A Dtest_factory_constructors.py232 c2 = PythFactory7(tag.mixed, 6)
234 assert c2.get() == 106
236 assert c2.has_alias()
275 del b2, c1, c2, d2, f1, f2, g1
H A Dtest_pytypes.cpp232 const char *c2 = "abc";
233 d["char*_i2"] = c2;
234 d["char*_e"] = py::cast(c2);
235 d["char*_p"] = py::str(c2);
H A Dtest_class.py176 c2 = SubAliased() variable in class:test_operator_new_delete.SubAliased
198 del c2
/gem5/src/systemc/tests/systemc/misc/synth/synth_gnats/pr-207/pr-207_blast/
H A Dpr-207_blast.cpp73 c2(C2),
89 const sig_char& c2; local
112 pair_array[idx1.read()].y = c2;
/gem5/src/systemc/tests/systemc/misc/synth/synth_gnats/pr-207/pr-207_mem/
H A Dpr-207_mem.cpp72 c2(C2),
88 const sig_char& c2; local
111 pair_array[idx1.read()].y = c2;
/gem5/src/systemc/tests/systemc/misc/synth/synth_gnats/pr-207/pr-207_rf/
H A Dpr-207_rf.cpp72 c2(C2),
88 const sig_char& c2; local
111 pair_array[idx1.read()].y = c2;
/gem5/src/systemc/tests/systemc/communication/sc_clock/test01/
H A Dtest01.cpp57 sc_clock c2( "c2" );
58 CLOCK_INFO( c2 );
/gem5/src/systemc/tests/systemc/1666-2011-compliance/child_proc_control/
H A Dchild_proc_control.cpp57 c2 = new int[n];
65 c0[i] = c1[i] = c2[i] = c3[i] = c4[i] = c5[i] = 0;
74 int *c0, *c1, *c2, *c3 ,*c4, *c5; member in struct:Top
161 case 2: sc_assert(sc_time_stamp() == sc_time(10, SC_NS)); c2[i] = 1; break;
208 sc_assert( top.c2[i] );
/gem5/ext/mcpat/
H A DxmlParser.cc293 static inline int xstrnicmp(XMLCSTR c1, XMLCSTR c2, int l) { argument
294 return _wcsnicmp(c1, c2, l);
296 static inline int xstrncmp(XMLCSTR c1, XMLCSTR c2, int l) { argument
297 return wcsncmp(c1, c2, l);
299 static inline int xstricmp(XMLCSTR c1, XMLCSTR c2) { argument
300 return _wcsicmp(c1, c2);
302 static inline XMLSTR xstrstr(XMLCSTR c1, XMLCSTR c2) { argument
303 return (XMLSTR)wcsstr(c1, c2);
305 static inline XMLSTR xstrcpy(XMLSTR c1, XMLCSTR c2) { argument
306 return (XMLSTR)wcscpy(c1, c2);
342 xstrnicmp(XMLCSTR c1, XMLCSTR c2, int l) argument
345 xstricmp(XMLCSTR c1, XMLCSTR c2) argument
349 xstrnicmp(XMLCSTR c1, XMLCSTR c2, int l) argument
352 xstricmp(XMLCSTR c1, XMLCSTR c2) argument
356 xstrncmp(XMLCSTR c1, XMLCSTR c2, int l) argument
359 xstrstr(XMLCSTR c1, XMLCSTR c2) argument
362 xstrcpy(XMLSTR c1, XMLCSTR c2) argument
399 xstrnicmp(XMLCSTR c1, XMLCSTR c2, int l) argument
402 xstrncmp(XMLCSTR c1, XMLCSTR c2, int l) argument
405 xstricmp(XMLCSTR c1, XMLCSTR c2) argument
410 xstrnicmp(XMLCSTR c1, XMLCSTR c2, int l) argument
413 xstrncmp(XMLCSTR c1, XMLCSTR c2, int l) argument
416 xstricmp(XMLCSTR c1, XMLCSTR c2) argument
420 xstrstr(XMLCSTR c1, XMLCSTR c2) argument
423 xstrcpy(XMLSTR c1, XMLCSTR c2) argument
441 xstrnicmp(XMLCSTR c1, XMLCSTR c2, int l) argument
444 xstrncmp(XMLCSTR c1, XMLCSTR c2, int l) argument
447 xstricmp(XMLCSTR c1, XMLCSTR c2) argument
450 xstrstr(XMLCSTR c1, XMLCSTR c2) argument
453 xstrcpy(XMLSTR c1, XMLCSTR c2) argument
457 _strnicmp(const char *c1, const char *c2, int l) argument
[all...]
/gem5/src/systemc/tests/systemc/misc/semantic/2.5/
H A DT_2_5.h53 sc_bv<WIDTH+2> c2; local
H A DT_2_5_1_1.cpp114 c2 = (c1, "00");
/gem5/src/systemc/tests/systemc/datatypes/int/reduce/test01/
H A Dtest01.cpp107 sc_int<2> c2 = -1; local
109 cout << c2.and_reduce() << endl;
110 cout << c2.xor_reduce() << endl;
/gem5/src/systemc/tests/systemc/datatypes/int/reduce/test02/
H A Dtest02.cpp107 sc_int<2> c2 = -1; local
109 cout << and_reduce( c2 ) << endl;
110 cout << xor_reduce( c2 ) << endl;
/gem5/src/systemc/tests/systemc/datatypes/int/reduce/test03/
H A Dtest03.cpp107 sc_bigint<2> c2 = -1; local
109 cout << c2.and_reduce() << endl;
110 cout << c2.xor_reduce() << endl;
/gem5/src/systemc/tests/systemc/compliance_1666/test001/
H A Dtest001.cpp229 void Modb::funny() { C1 c1; C2 c2; C3 c3; } local
274 C2 c2; local
301 moda.p2(c2);
307 modb.p2(c2);
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxnum.cpp488 sc_fxval_fast c2(c);
564 if( c2.get_bit( iwl ) != c2.get_bit( iwl - 1 ) )
575 if( c2.is_neg() != c2.get_bit( iwl - 1 ) )
586 if( c2.is_neg() == c2.get_bit( iwl - n_bits ) )
/gem5/src/systemc/dt/fx/
H A Dsc_fxnum.cc446 sc_fxval_fast c2(c);
513 if (c2.get_bit(iwl) != c2.get_bit(iwl - 1))
522 if (c2.is_neg() != c2.get_bit(iwl - 1))
531 if (c2.is_neg() == c2.get_bit(iwl - n_bits))
/gem5/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/std_ulogic_datatype/
H A Dstd_ulogic_datatype.cpp123 char c1, c2, c3, c4, c5, c6, c7, c8, c9; local
127 c2 = 'u';
147 sc2 = c2;
169 << "\nSC2 \t= " << sc2 << "\t '" << c2 << "'"
/gem5/src/mem/
H A Dpacket.hh246 bool operator==(MemCmd c2) const { return (cmd == c2.cmd); }
247 bool operator!=(MemCmd c2) const { return (cmd != c2.cmd); }

Completed in 43 milliseconds

12