Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 22 of 22) sorted by relevance

/bionic/benchmarks/
Dmalloc_sql_benchmark.cpp48 size_t idx; member
59 ptrs[entries[i].idx] = malloc(entries[i].size); in BenchmarkMalloc()
62 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 10; in BenchmarkMalloc()
65 ptrs[entries[i].idx] = calloc(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
68 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 20; in BenchmarkMalloc()
71 ptrs[entries[i].idx] = memalign(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
74 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 30; in BenchmarkMalloc()
78 ptrs[entries[i].idx] = realloc(nullptr, entries[i].size); in BenchmarkMalloc()
80 ptrs[entries[i].idx] = realloc(ptrs[entries[i].arg2 - 1], entries[i].size); in BenchmarkMalloc()
84 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 40; in BenchmarkMalloc()
[all …]
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_TCPOPTSTRIP.h22 #define tcpoptstrip_set_bit(bmap,idx) (bmap[(idx) >> 5] |= 1U << (idx & 31)) argument
23 #define tcpoptstrip_test_bit(bmap,idx) (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0) argument
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dgetopt_long.c193 const struct option *long_options, int *idx, int short_too, int flags) in parse_long_options() argument
343 if (idx) in parse_long_options()
344 *idx = match; in parse_long_options()
358 const struct option *long_options, int *idx, int flags) argument
493 idx, short_too, flags);
539 idx, 0, flags);
596 const struct option *long_options, int *idx) argument
599 return (getopt_internal(nargc, nargv, options, long_options, idx,
609 const struct option *long_options, int *idx) argument
612 return (getopt_internal(nargc, nargv, options, long_options, idx,
/bionic/libc/bionic/
Datexit.cpp60 const AtexitEntry& operator[](size_t idx) const { return array_[idx]; } in operator []()
63 AtexitEntry extract_entry(size_t idx);
113 AtexitEntry AtexitArray::extract_entry(size_t idx) { in extract_entry() argument
114 AtexitEntry result = array_[idx]; in extract_entry()
117 array_[idx] = {}; in extract_entry()
Dfdsan.cpp57 FdEntry* FdTableImpl<inline_fds>::at(size_t idx) { in at() argument
58 if (idx < inline_fds) { in at()
59 return &entries[idx]; in at()
75 if (idx > max) { in at()
103 size_t offset = idx - inline_fds; in at()
/bionic/tests/
D__cxa_atexit_test.cpp51 int* idx = static_cast<int*>(arg); in TEST() local
52 actual.push_back(*idx); in TEST()
53 delete idx; in TEST()
/bionic/linker/
Dlinker_reloc_iterators.h55 for (size_t idx = 0; idx < num_relocs; ) { in for_all_packed_relocs() local
105 idx += group_size; in for_all_packed_relocs()
/bionic/libc/kernel/uapi/drm/
Dr128_drm.h180 int idx; member
186 int idx; member
192 int idx; member
216 int idx; member
Di810_drm.h182 int idx; member
187 int idx; member
211 int idx; member
Dmga_drm.h212 int idx; member
217 int idx; member
223 int idx; member
Dradeon_drm.h486 int idx; member
492 int idx; member
498 int idx; member
528 int idx; member
Dsavage_drm.h142 } idx; member
Ddrm.h138 int idx; member
212 int idx; member
/bionic/libc/kernel/uapi/linux/
Dvirtio_ring.h45 __virtio16 idx; member
54 __virtio16 idx; member
Dconnector.h44 __u32 idx; member
Drfkill.h44 __u32 idx; member
/bionic/libc/private/
Dbionic_elf_tls.h97 static inline size_t __tls_module_idx_to_id(size_t idx) { return idx + 1; } in __tls_module_idx_to_id() argument
Dbionic_fdsan.h60 FdEntry* at(size_t idx);
/bionic/libc/kernel/uapi/xen/
Dprivcmd.h66 __u32 idx; member
/bionic/tools/versioner/src/
Dversioner.cpp243 size_t idx = job_index++; in compileHeaders() local
244 if (idx >= jobs.size()) { in compileHeaders()
248 const auto& job = jobs[idx]; in compileHeaders()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c460 set_index(void *what, int idx) { in set_index() argument
464 timer->index = idx; in set_index()
/bionic/docs/
Delf-tls.md296   TlsIndex idx;
308       dtv->modules[arg->idx.module] != nullptr) {
309     addr = dtv->modules[arg->idx.module] + arg->idx.offset;
311     addr = __tls_get_addr(&arg->idx);