Searched refs:strlen (Results 1 - 25 of 60) sorted by relevance

123

/gem5/ext/googletest/googletest/samples/
H A Dsample2.cc42 const size_t len = strlen(a_c_string);
H A Dsample2.h77 return c_string_ == NULL ? 0 : strlen(c_string_);
/gem5/ext/mcpat/cacti/
H A Dio.cc67 if (!strncmp("-size", line, strlen("-size"))) {
72 if (!strncmp("-page size", line, strlen("-page size"))) {
77 if (!strncmp("-burst length", line, strlen("-burst length"))) {
82 if (!strncmp("-internal prefetch width", line, strlen("-internal prefetch width"))) {
87 if (!strncmp("-block", line, strlen("-block"))) {
92 if (!strncmp("-associativity", line, strlen("-associativity"))) {
97 if (!strncmp("-read-write", line, strlen("-read-write"))) {
102 if (!strncmp("-exclusive read", line, strlen("exclusive read"))) {
107 if (!strncmp("-exclusive write", line, strlen("-exclusive write"))) {
112 if (!strncmp("-single ended", line, strlen("
[all...]
/gem5/src/systemc/tests/systemc/kernel/sc_object_manager/test01/
H A Dtest01.cpp43 unsigned int mod_name_len = strlen(module_name);
51 if ( strlen(obj_name_p) > mod_name_len &&
/gem5/ext/libfdt/
H A Dfdt_ro.c67 return (strlen(p) == len) && (memcmp(p, s, len) == 0);
133 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name));
138 const char *end = path + strlen(path);
190 *len = strlen(nh->name);
268 strlen(name), lenp);
299 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
333 return fdt_get_alias_namelen(fdt, name, strlen(name));
500 int len = strlen(str);
H A Dlibfdt.h993 fdt_property(fdt, name, str, strlen(str)+1)
1220 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1361 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
H A Dfdt.c182 int len = strlen(s) + 1;
H A Dfdt_sw.c120 int namelen = strlen(name) + 1;
152 int len = strlen(s) + 1;
H A Dfdt_rw.c134 int len = strlen(s) + 1;
242 newlen = strlen(name);
356 return fdt_add_subnode_namelen(fdt, parentoffset, name, strlen(name));
/gem5/src/systemc/ext/
H A Dsystemc.h92 using std::strlen;
/gem5/src/systemc/tests/systemc/datatypes/fx/fast_limits/
H A Dmain.cpp86 for (int i = 0; i < strlen(s); i++ )
/gem5/src/systemc/tests/systemc/datatypes/fx/limits/
H A Dmain.cpp85 for (int i = 0; i < strlen(s); i++)
/gem5/src/systemc/tests/systemc/misc/sim_tests/cycle_dw8051_demo/
H A Dmain.cpp92 hex_file_name=(char *)malloc(strlen(argv[i])*sizeof(char));
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.cpp70 alloc = 1 + strlen(s);
125 int len = strlen(s);
175 return strlen(rep->str);
182 sc_string_rep* r = new sc_string_rep( len + strlen(s) + 1 );
201 int len = strlen(s);
247 int slen = strlen(s);
/gem5/src/systemc/tests/tlm/endian_conv/
H A Dtestall.py127 strlen = length
129 strlen -= 1
130 if strlen == 1 or \
131 (random.random() < 0.5 and (length/strlen)*strlen == length):
133 txn.stream_width = strlen * data_width
/gem5/system/alpha/console/
H A Dprintf.c215 if (fieldwidth > strlen((const char *) a))
216 PutRepChar(fill, fieldwidth - strlen((const char *)a));
/gem5/src/base/
H A Dstr.hh223 return (strncmp(s, prefix, strlen(prefix)) == 0);
233 return (s.compare(0, strlen(prefix), prefix) == 0);
/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dstring.c40 size_t strlen(const char *s) function
/gem5/src/arch/alpha/
H A Dsystem.cc123 strlen(params()->boot_osflags.c_str()));
/gem5/tests/test-progs/gpu-hello/src/
H A Dgpu-hello.cpp181 size_t sourceSize[] = {strlen(source)};
218 size_t code_size = strlen(code);
/gem5/util/m5/
H A Dm5.c89 if (argc > 1 || (argc > 0 && strlen(argv[0]) > len * sizeof(uint64_t)))
100 for (n = 0, i = 0; i < len && n < strlen(argv[0]); n++) {
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_simcontext_int.h51 if ( P && ( (strlen(NAME)==0) || !strcmp(NAME,P->name())) ) \
/gem5/src/systemc/dt/bit/
H A Dsc_bv_base.cc175 int n = strlen(s);
/gem5/src/base/loader/
H A Dobject_file.cc152 size_t tmp_len = strlen(P_tmpdir);
/gem5/ext/pybind11/tests/
H A Dtest_builtin_casters.py103 assert m.strlen(byte("hi")) == 2
106 assert m.strlen(byte("a\x00b")) == 1 # C-string limitation

Completed in 42 milliseconds

123