Home
last modified time | relevance | path

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

/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/benchmarks/
Dmalloc_benchmark.cpp47 size_t idx; member
58 ptrs[entries[i].idx] = malloc(entries[i].size); in BenchmarkMalloc()
61 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 10; in BenchmarkMalloc()
64 ptrs[entries[i].idx] = calloc(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
67 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 20; in BenchmarkMalloc()
70 ptrs[entries[i].idx] = memalign(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
73 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 30; in BenchmarkMalloc()
77 ptrs[entries[i].idx] = realloc(nullptr, entries[i].size); in BenchmarkMalloc()
79 ptrs[entries[i].idx] = realloc(ptrs[entries[i].arg2 - 1], entries[i].size); in BenchmarkMalloc()
83 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 40; in BenchmarkMalloc()
[all …]
/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
491 idx, short_too, flags);
537 idx, 0, flags);
594 const struct option *long_options, int *idx) argument
597 return (getopt_internal(nargc, nargv, options, long_options, idx,
607 const struct option *long_options, int *idx) argument
610 return (getopt_internal(nargc, nargv, options, long_options, idx,
/bionic/libc/kernel/uapi/linux/
Dvirtio_ring.h45 __virtio16 idx; member
54 __virtio16 idx; member
Drfkill.h44 __u32 idx; member
Dconnector.h44 __u32 idx; member
/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
Dsavage_drm.h142 } idx; member
Dradeon_drm.h486 int idx; member
492 int idx; member
498 int idx; member
528 int idx; member
Ddrm.h137 int idx; member
211 int idx; member
/bionic/linker/
Dlinker_mips.cpp58 for (size_t idx = 0; rel_iterator.has_next(); ++idx) { in relocate() local
72 DEBUG("Processing \"%s\" relocation at index %zd", get_realpath(), idx); in relocate()
113 static_cast<unsigned>(ELF64_R_TYPE3(rel->r_info)), rel, idx); in relocate()
128 DL_ERR("unknown reloc type %d @ %p (%zu)", type, rel, idx); in relocate()
Dlinker.cpp2868 for (size_t idx = 0; rel_iterator.has_next(); ++idx) { in relocate() local
2882 DEBUG("Processing \"%s\" relocation at index %zd", get_realpath(), idx); in relocate()
2907 sym_name, ELF_ST_TYPE(s->st_info), type, idx, get_realpath()); in relocate()
2978 DL_ERR("unknown weak reloc type %d @ %p (%zu)", type, rel, idx); in relocate()
3353 DL_ERR("unknown reloc type %d @ %p (%zu)", type, rel, idx); in relocate()
/bionic/libc/private/
Dbionic_fdsan.h60 FdEntry* at(size_t idx);
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
/bionic/libc/bionic/
Dfdsan.cpp55 FdEntry* FdTableImpl<inline_fds>::at(size_t idx) { in at() argument
56 if (idx < inline_fds) { in at()
57 return &entries[idx]; in at()
73 if (idx > max) { in at()
101 size_t offset = idx - inline_fds; in at()
/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);