Searched refs:len (Results 201 - 225 of 364) sorted by relevance

1234567891011>>

/gem5/ext/pybind11/tests/
H A Dtest_sequences_and_iterators.py56 assert len(s) == 5
106 assert len(sm) == 2
/gem5/ext/libfdt/
H A Dlibfdt.h813 * @len: length of the property value
816 * the data in val, of length len. This function cannot change the
817 * size of a property, and so will only work if len is equal to the
826 * -FDT_ERR_NOSPACE, if len is not equal to the property's current length
836 const void *val, int len);
977 int fdt_property(void *fdt, const char *name, const void *val, int len);
1085 * @len: length of the property value
1108 const void *val, int len);
1228 * @len: length of the data to append to the property value
1250 const void *val, int len);
[all...]
/gem5/tests/configs/
H A Dswitcheroo.py70 self.cur_cpu = (self.cur_cpu + 1) % len(self.cpus)
/gem5/src/arch/mips/
H A Dremote_gdb.cc160 * Determine if the mapping at va..(va+len) is valid.
163 RemoteGDB::acc(Addr va, size_t len) argument
/gem5/src/arch/power/
H A Dremote_gdb.cc160 * Determine if the mapping at va..(va+len) is valid.
163 RemoteGDB::acc(Addr va, size_t len) argument
/gem5/src/python/m5/
H A Ddebug.py88 return len(self._dict)
/gem5/util/
H A Ddecode_inst_dep_trace.py113 if len(sys.argv) != 3:
/gem5/src/base/loader/
H A Delf_object.hh127 size_t len, uint8_t *data,
H A Delf_object.cc64 ElfObject::tryFile(const std::string &fname, size_t len, uint8_t *data, argument
73 Elf *elf = elf_memory((char*)data, len);
209 ElfObject * result = new ElfObject(fname, len, data, arch, op_sys);
285 Elf *elf = elf_memory((char*)fileData,len);
414 Elf *elf = elf_memory((char*)fileData,len);
529 Elf *elf = elf_memory((char*)fileData,len);
/gem5/src/mem/slicc/
H A Dmain.py78 if len(files) != 1:
/gem5/ext/googletest/googletest/scripts/
H A Dgen_gtest_pred_impl.py201 spec_count = len(format.split('%s')) - 1
662 indent = (len(assertion) + 3)*' '
719 if len(sys.argv) != 2:
/gem5/configs/ruby/
H A DMI_example.py82 # size of system.cpu; therefore if len(system.cpu) == 1
85 if len(system.cpu) == 1:
177 io_seq = DMASequencer(version=len(dma_ports), ruby_system=ruby_system)
179 io_controller = DMA_Controller(version = len(dma_ports),
H A DMESI_Two_Level.py89 # size of system.cpu; therefore if len(system.cpu) == 1
92 if len(system.cpu) == 1:
219 io_seq = DMASequencer(version = len(dma_ports),
222 io_controller = DMA_Controller(version = len(dma_ports),
H A DRuby.py111 if len(system.mem_ranges) > 1:
143 if len(crossbars) > 0:
221 ruby.num_of_sequencers = len(cpu_sequencers)
H A DMOESI_CMP_directory.py103 # size of system.cpu; therefore if len(system.cpu) == 1
106 if len(system.cpu) == 1:
251 io_seq = DMASequencer(version=len(dma_ports), ruby_system=ruby_system)
253 io_controller = DMA_Controller(version = len(dma_ports),
/gem5/ext/mcpat/regression/
H A Dverify_output.py109 self.hierarchy_level = (len(re.match(r"\s*", name_string).group()) - 2) / 4
112 if len(self.children) == 0:
171 if len(args) < 1:
/gem5/tests/testing/
H A Dtests.py280 fpath = os.path.join(root[len(ref_dir) + 1:], f)
322 if len(_filter) > 3:
324 _filter += [ "", ] * (3 - len(_filter))
/gem5/src/python/m5/stats/
H A D__init__.py108 if len(values) == 0 or (len(values) == 1 and not values[0]):
111 elif len(values) > 1:
/gem5/src/dev/
H A Ddma_device.cc340 DmaReadFifo::tryGet(uint8_t *dst, size_t len) argument
342 if (buffer.size() >= len) {
343 buffer.read(dst, len);
352 DmaReadFifo::get(uint8_t *dst, size_t len) argument
354 const bool success(tryGet(dst, len));
/gem5/src/arch/arm/
H A Disa.cc612 fpscrMask.len = ones;
933 fpscrMask.len = ones;
976 fpscrMask.len = ones;
2135 unsigned len = 0;
2138 len = static_cast<ZCR>(miscRegs[MISCREG_ZCR_EL1]).len;
2142 len = static_cast<ZCR>(miscRegs[MISCREG_ZCR_EL2]).len;
2145 len = std::min(
2146 len,
[all...]
H A Dsemihosting.cc270 ArmSemihosting::readString(ThreadContext *tc, Addr ptr, size_t len) argument
272 std::vector<char> buf(len + 1);
274 buf[len] = '\0';
275 physProxy(tc).readBlob(ptr, buf.data(), len);
794 int64_t len = 0; local
797 buffer[len++] = ArmSemihosting::features[pos];
799 return len;
946 long len = ftell(file); local
947 if (len < 0)
953 return len;
[all...]
/gem5/util/minorview/
H A Dmodel.py169 if len(ret) == 0:
603 if len(events) > 0 and events[len(events)-1].time > event.time:
632 (pivot == len(events) - 1 or
656 0, len(events)-1)
666 lastIndex = len(self.times) - 1
851 pic_width = max(pic_width, len(line))
852 pic_height = len(pic)
867 if y >= len(pic) or x >= len(pi
[all...]
/gem5/util/streamline/
H A Dm5stats2streamline.py333 ret += packed32(len(x))
392 length = int32(len(packed_code) + len(packed_core) + len(body))
671 if len(unified_event_list) == num_events:
674 print "Found %d events." % len(unified_event_list)
801 print "\nnum entries in stats_list", len(self.stats_list)
1105 stat_length = len(stat.values[0])
1107 stat_length = len(stat.values)
1109 for n in range(len(timestamp_lis
[all...]
/gem5/src/dev/pci/
H A Dcopy_engine.cc506 curDmaDesc->len, curDmaDesc->dest,
509 curDmaDesc->len, &readCompleteEvent, copyBuffer, 0);
527 curDmaDesc->len, curDmaDesc->dest,
531 curDmaDesc->len, &writeCompleteEvent, copyBuffer, 0);
533 ce->bytesCopied[channelId] += curDmaDesc->len;
547 anQ("AppRecvQ", curDmaDesc->user1, curDmaDesc->len);
/gem5/src/systemc/tests/tlm/nb2b_adapter/
H A Dnb2b_adapter.cpp316 unsigned int len = trans.get_data_length(); local
324 if (len > 4 || wid < len) {

Completed in 50 milliseconds

1234567891011>>