Searched refs:entry_size (Results 1 – 5 of 5) sorted by relevance
7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument9 size_t row_size = ylen * entry_size; in xyarray__new()13 xy->entry_size = entry_size; in xyarray__new()25 size_t n = xy->entries * xy->entry_size; in xyarray__reset()
10 size_t entry_size; member17 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size);23 return &xy->contents[x * xy->row_size + y * xy->entry_size]; in __xyarray__entry()
1890 size_t entry_size; member1896 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument1918 c->entry_size = entry_size; in auxtrace_cache__new()1960 return malloc(c->entry_size); in auxtrace_cache__alloc_entry()
542 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size,
1413 if (xy->row_size / xy->entry_size != 1) { in apply_config_evsel_for_key()1436 events = xy->entries / (xy->row_size / xy->entry_size); in apply_config_evsel_for_key()