/gem5/src/systemc/tests/systemc/misc/sim_tests/biquad/biquad2/ |
H A D | getres.cpp | 48 char buf[BUFSIZ]; local 49 sprintf( buf, "Result = %f", result.read() ); 50 cout << buf << endl;
|
H A D | testbench.cpp | 67 char buf[BUFSIZ]; local 68 sprintf( buf, "Input = %f\tOutput = %f\t", sample_val, result_val ); 69 cout << buf << flush;
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.1/ |
H A D | display.cpp | 46 char buf[BUFSIZ]; local 47 sprintf( buf, "Result = %.16g", in.read() ); 48 cout << buf << endl;
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.2/ |
H A D | display.cpp | 46 char buf[BUFSIZ]; local 47 sprintf( buf, "Result = %.16g", in.read() ); 48 cout << buf << endl;
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.4/ |
H A D | display.cpp | 46 char buf[BUFSIZ]; local 47 sprintf( buf, "Result = %.16g", in.read() ); 48 cout << buf << endl;
|
/gem5/ext/libfdt/ |
H A D | fdt_empty_tree.c | 37 int fdt_create_empty_tree(void *buf, int bufsize) argument 41 err = fdt_create(buf, bufsize); 45 err = fdt_finish_reservemap(buf); 49 err = fdt_begin_node(buf, ""); 53 err = fdt_end_node(buf); 57 err = fdt_finish(buf); 61 return fdt_open_into(buf, buf, bufsize);
|
/gem5/src/base/ |
H A D | circlebuf.test.cc | 52 CircleBuf<char> buf(8); 56 buf.write(data, 8); 57 EXPECT_EQ(buf.size(), 8); 58 buf.peek(foo, 8); 62 buf.read(foo, 2); 64 EXPECT_EQ(buf.size(), 6); 65 buf.read(foo, 6); 67 EXPECT_EQ(buf.size(), 0); 73 CircleBuf<char> buf(8); 76 buf [all...] |
H A D | time.cc | 77 char buf[256]; local 81 ctime_r(&sec, buf, sizeof(buf)); 83 ctime_r(&sec, buf); 85 buf[24] = '\0'; 86 return buf; 90 strftime(buf, sizeof(buf), format.c_str(), tm); 91 return buf;
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/srlatch/ |
H A D | testbench.cpp | 45 char buf[BUFSIZ]; local 49 sprintf(buf, "SR=%x%x QQ'=%x%x", true, false, q.read(), qp.read()); 50 cout << buf << endl; 54 sprintf(buf, "SR=%x%x QQ'=%x%x", false, true, q.read(), qp.read()); 55 cout << buf << endl; 59 sprintf(buf, "SR=%x%x QQ'=%x%x", false, false, q.read(), qp.read()); 60 cout << buf << endl; 64 sprintf(buf, "SR=%x%x QQ'=%x%x", true, true, q.read(), qp.read()); 65 cout << buf << endl;
|
/gem5/src/systemc/tests/systemc/communication/sc_semaphore/test03/ |
H A D | test_sem.cpp | 52 char buf[BUFSIZ]; local 56 sprintf(buf, "time %f => thread1 : took semaphore %d times\n", 58 cout << buf << flush; 61 sprintf(buf, "time %f => thread1 : value of semaphore = %d\n", 63 cout << buf << flush; 71 char buf[BUFSIZ]; local 77 sprintf(buf, "time %f => thread2 : posted semaphore 1\n", 79 cout << buf << flush;
|
/gem5/src/sim/ |
H A D | arguments.cc | 47 char *buf = new char[size]; local 48 data.push_back(buf); 49 return buf;
|
H A D | redirect_path.cc | 38 char buf[PATH_MAX]; local 39 std::string gem5_cwd = getcwd(buf, PATH_MAX); 42 path = realpath((gem5_cwd + "/" + path).c_str(), buf);
|
/gem5/ext/iostream3/ |
H A D | test.cc | 15 char buf[80]; local 27 while (inf.getline(buf,80,'\n')) { 28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; 43 while (inf.getline(buf,80,'\n')) { 44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxtype_params.cpp | 65 char buf[BUFSIZ]; local 68 std::sprintf( buf, "%d", m_wl ); 69 s += buf; 71 std::sprintf( buf, "%d", m_iwl ); 72 s += buf; 78 std::sprintf( buf, "%d", m_n_bits ); 79 s += buf;
|
/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_length_param.cpp | 68 char buf[BUFSIZ]; local 71 std::sprintf( buf, "%d", m_len ); 72 s += buf;
|
/gem5/src/systemc/tests/systemc/communication/ports/test02/ |
H A D | test02.cpp | 69 sc_signal<int> buf; local 79 module_a.out(buf); 80 module_b.in(buf);
|
/gem5/src/systemc/tests/systemc/communication/sc_buffer/test01/ |
H A D | test01.cpp | 93 sc_buffer<int> buf; local 96 a.out( buf ); 97 b.in( buf );
|
/gem5/ext/dnet/ |
H A D | blob.h | 24 int blob_read(blob_t *b, void *buf, int len); 25 int blob_write(blob_t *b, const void *buf, int len); 34 int blob_index(blob_t *b, const void *buf, int len); 35 int blob_rindex(blob_t *b, const void *buf, int len); 40 int blob_insert(blob_t *b, const void *buf, int len); 41 int blob_delete(blob_t *b, void *buf, int len);
|
/gem5/src/systemc/tests/systemc/communication/sc_buffer/test02/ |
H A D | sc_buffer_edge_reset.cpp | 82 sc_buffer<bool> buf; local 89 buf_mod.in(buf); 92 buf.write( !buf.read() ); 96 buf.write( buf.read() );
|
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/ |
H A D | circular_buffer.hh | 74 void buf_free(void *&buf); 75 void buf_write(void *buf, int n, const T &t); 76 T &buf_read(void *buf, int n) const; 77 void buf_clear(void *buf, int n); 220 circular_buffer<T>::buf_free(void *&buf) argument 222 delete [] static_cast<unsigned char *>(buf); 223 buf = nullptr; 228 circular_buffer<T>::buf_write(void *buf, int n, const T &t) argument 230 T *p = static_cast<T *>(buf) + n; 236 circular_buffer<T>::buf_read(void *buf, in argument 244 buf_clear(void *buf, int n) argument [all...] |
/gem5/ext/systemc/src/sysc/tracing/ |
H A D | sc_wif_trace.cpp | 205 char buf[1000]; local 213 buf[bitindex]='0'; 222 buf[bitindex] = (object & bit_mask)? '1' : '0'; 226 buf[bitindex] = '\0'; 227 std::fprintf(f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf); 271 char buf[1000]; local 279 buf[bitindex]='0'; 288 buf[bitindex] = (object & bit_mask)? '1' : '0'; 292 buf[bitindex] = '\0'; 293 std::fprintf(f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf); 570 char buf[1000], *buf_ptr = buf; local 620 char buf[1000], *buf_ptr = buf; local 900 char buf[1000]; local 964 char buf[1000]; local 1026 char buf[1000]; local 1089 char buf[1000]; local 1152 char buf[1000]; local 1214 char buf[1000]; local 1276 char buf[1000]; local 1339 char buf[1000]; local 1573 char buf[2000]; local 1850 char buf[32]; local [all...] |
/gem5/src/systemc/tests/systemc/misc/sim_tests/biquad/biquad1/ |
H A D | testbench.cpp | 69 char buf[BUFSIZ]; local 70 sprintf( buf, "Input = %f\tOutput = %f", sample_val, result_val ); 71 cout << buf << endl;
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/biquad/biquad3/ |
H A D | testbench.cpp | 69 char buf[BUFSIZ]; local 70 sprintf( buf, "Input = %f\tOutput = %f", sample_val, result_val ); 71 cout << buf << endl;
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt7.1/ |
H A D | testbench.cpp | 75 char buf[BUFSIZ]; local 76 sprintf(buf, "A = %d, B = %d, C = %d, D = %d, SUM = %d\n", a, b, c, d, sum); 77 cout << buf; local
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt7.2/ |
H A D | testbench.cpp | 68 char buf[BUFSIZ]; local 69 sprintf(buf, "A = %d, B = %d, C = %d, D = %d, SUM = %d\n", a, b, c, d, sum); 70 cout << buf; local
|