Home
last modified time | relevance | path

Searched refs:cache_offset (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/src/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp108 …ize_t> &bin_sizes, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset, unsigned &cach… in size_bins() argument
116 cache_end = cache_offset + bin_count; in size_bins()
119 return &(bin_cache[cache_offset]); in size_bins()
125 …sIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in spread_sort_rec() argument
141 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec()
189 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) { in spread_sort_rec()
242 …sIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in spread_sort_rec() argument
254 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec()
276 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) { in spread_sort_rec()
290 …sIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in spread_sort_rec() argument
[all …]
/external/linux-tools-perf/src/tools/perf/util/
Ddso.c233 u64 cache_offset = offset - cache->offset; in dso_cache__memcpy() local
234 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy()
236 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy()
253 u64 cache_offset; in dso_cache__read() local
261 cache_offset = offset & DSO__DATA_CACHE_MASK; in dso_cache__read()
264 if (-1 == lseek(fd, cache_offset, SEEK_SET)) in dso_cache__read()
271 cache->offset = cache_offset; in dso_cache__read()
/external/lldb/source/Target/
DMemory.cpp127 addr_t cache_offset = addr - curr_addr; in Read() local
143 size_t curr_read_size = cache_line_byte_size - cache_offset; in Read()
147 … memcpy (dst_buf + dst_len - bytes_left, pos->second->GetBytes() + cache_offset, curr_read_size); in Read()
150 curr_addr += curr_read_size + cache_offset; in Read()
151 cache_offset = 0; in Read()