Searched refs:base (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dbase_inlines.h5 unsigned base_ind_get(const base_t *base);
10 base_ind_get(const base_t *base) argument
12 return (base->ind);
H A Dbase_externs.h8 void base_delete(base_t *base);
9 extent_hooks_t *base_extent_hooks_get(base_t *base);
10 extent_hooks_t *base_extent_hooks_set(base_t *base,
12 void *base_alloc(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment);
13 void base_stats_get(tsdn_t *tsdn, base_t *base, size_t *allocated,
15 void base_prefork(tsdn_t *tsdn, base_t *base);
16 void base_postfork_parent(tsdn_t *tsdn, base_t *base);
17 void base_postfork_child(tsdn_t *tsdn, base_t *base);
/fuchsia/zircon/third_party/ulib/musl/src/time/
H A Dtimespec_get.c7 int timespec_get(struct timespec* ts, int base) { argument
8 if (base != TIME_UTC)
11 return ret < 0 ? 0 : base;
/fuchsia/zircon/third_party/ulib/musl/src/stdlib/
H A Dstrtol.c9 static unsigned long long strtox(const char* s, char** p, int base, unsigned long long lim) { argument
20 unsigned long long y = __intscan(&f, base, 1, lim);
28 unsigned long long strtoull(const char* restrict s, char** restrict p, int base) { argument
29 return strtox(s, p, base, ULLONG_MAX);
32 long long strtoll(const char* restrict s, char** restrict p, int base) { argument
33 return strtox(s, p, base, LLONG_MIN);
36 unsigned long strtoul(const char* restrict s, char** restrict p, int base) { argument
37 return strtox(s, p, base, ULONG_MAX);
40 long strtol(const char* restrict s, char** restrict p, int base) { argument
41 return strtox(s, p, base,
44 strtoimax(const char* restrict s, char** restrict p, int base) argument
48 strtoumax(const char* restrict s, char** restrict p, int base) argument
[all...]
H A Dbsearch.c3 void* bsearch(const void* key, const void* base, size_t nel, size_t width, argument
10 = (char*)base + width * (nel / 2);
20 base = try
H A Dwcstol.c32 static unsigned long long wcstox(const wchar_t* s, wchar_t** p, int base, unsigned long long lim) { argument
46 unsigned long long y = __intscan(&f, base, 1, lim);
54 unsigned long long wcstoull(const wchar_t* restrict s, wchar_t** restrict p, int base) { argument
55 return wcstox(s, p, base, ULLONG_MAX);
58 long long wcstoll(const wchar_t* restrict s, wchar_t** restrict p, int base) { argument
59 return wcstox(s, p, base, LLONG_MIN);
62 unsigned long wcstoul(const wchar_t* restrict s, wchar_t** restrict p, int base) { argument
63 return wcstox(s, p, base, ULONG_MAX);
66 long wcstol(const wchar_t* restrict s, wchar_t** restrict p, int base) { argument
67 return wcstox(s, p, base,
70 wcstoimax(const wchar_t* restrict s, wchar_t** restrict p, int base) argument
74 wcstoumax(const wchar_t* restrict s, wchar_t** restrict p, int base) argument
[all...]
/fuchsia/zircon/third_party/ulib/musl/src/internal/
H A Dintscan.c21 unsigned long long __intscan(FILE* f, unsigned base, int pok, unsigned long long lim) { argument
26 if (base > 36) {
36 if ((base == 0 || base == 16) && c == '0') {
48 base = 16;
49 } else if (base == 0) {
50 base = 8;
53 if (base == 0)
54 base = 10;
55 if (val[c] >= base) {
[all...]
/fuchsia/zircon/kernel/lib/libc/
H A Dstrtoll.c45 strtoll(const char *nptr, char **endptr, int base) argument
54 * If base is 0, allow 0x for hex and 0 for octal, else
55 * assume decimal; if base is already 16, allow 0x.
69 if ((base == 0 || base == 16) &&
73 base = 16;
75 if (base == 0)
76 base = c == '0' ? 8 : 10;
81 * base. An input number that is greater than this value, if
86 * [-9223372036854775808..9223372036854775807] and the input base
[all...]
H A Dstrtol.c44 strtol(const char *nptr, char **endptr, int base) argument
53 * If base is 0, allow 0x for hex and 0 for octal, else
54 * assume decimal; if base is already 16, allow 0x.
68 if ((base == 0 || base == 16) &&
72 base = 16;
74 if (base == 0)
75 base = c == '0' ? 8 : 10;
80 * base. An input number that is greater than this value, if
85 * [-2147483648..2147483647] and the input base i
[all...]
H A Datoi.c105 unsigned long strtoul(const char *nptr, char **endptr, int base) argument
110 if (base < 0 || base == 1 || base > 36) {
126 if ((base == 0 || base == 16) && nptr[0] == '0' && nptr[1] == 'x') {
127 base = 16;
129 } else if (base == 0 && nptr[0] == '0') {
130 base = 8;
132 } else if (base
[all...]
/fuchsia/zircon/third_party/ulib/backtrace/
H A Dsort.c64 char *base = (char *) basearg; local
76 swap (base, base + (count / 2) * size, size);
81 if ((*compar) (base, base + i * size) > 0)
85 swap (base + mid * size, base + i * size, size);
90 swap (base, base + mid * size, size);
96 backtrace_qsort (base, mi
[all...]
H A Dalloc.c89 void *base; local
101 base = realloc (vec->base, alc);
102 if (base == NULL)
108 vec->base = base;
112 ret = (char *) vec->base + vec->size;
133 ret = vec->base;
134 vec->base = NULL;
148 vec->base
[all...]
H A Dread.c61 view->base = backtrace_alloc (state, size, error_callback, data);
62 if (view->base == NULL)
64 view->data = view->base;
67 got = read (descriptor, view->base, size);
71 free (view->base);
78 free (view->base);
93 backtrace_free (state, view->base, view->len, error_callback, data);
95 view->base = NULL;
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Dbase.c106 base_extent_bump_alloc_post(tsdn_t *tsdn, base_t *base, extent_t *extent, argument
116 extent_heap_insert(&base->avail[index_floor], extent);
120 base->allocated += size;
125 base->resident += PAGE_CEILING((uintptr_t)addr + size) -
127 assert(base->allocated <= base->resident);
128 assert(base->resident <= base->mapped);
133 base_extent_bump_alloc(tsdn_t *tsdn, base_t *base, extent_t *extent, argument
140 base_extent_bump_alloc_post(tsdn, base, exten
177 base_extent_alloc(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment) argument
209 base_t *base; local
248 base_delete(base_t *base) argument
261 base_extent_hooks_get(base_t *base) argument
267 base_extent_hooks_set(base_t *base, extent_hooks_t *extent_hooks) argument
290 base_alloc(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment) argument
326 base_stats_get(tsdn_t *tsdn, base_t *base, size_t *allocated, size_t *resident, size_t *mapped) argument
341 base_prefork(tsdn_t *tsdn, base_t *base) argument
347 base_postfork_parent(tsdn_t *tsdn, base_t *base) argument
353 base_postfork_child(tsdn_t *tsdn, base_t *base) argument
[all...]
/fuchsia/zircon/kernel/arch/arm64/include/arch/
H A Ddefines.h34 #define BM(base, count, val) (((val) & ((1UL << (count)) - 1)) << (base))
36 #define BM(base, count, val) (((val) & ((0x1 << (count)) - 1)) << (base))
45 /* map 512GB at the base of the kernel. this is the max that can be mapped with a
/fuchsia/zircon/third_party/ulib/musl/ldso/
H A Drelr.h7 __NO_SAFESTACK NO_ASAN static inline void apply_relr(ElfW(Addr) base,
13 ElfW(Addr)* addr = (void*)(base + relr[i++]);
14 *addr++ += base;
28 run[-1] += base;
H A Ddlstart.c22 ElfW(Addr) base = (uintptr_t)__ehdr_start;
35 rel = (const void*)(base + d->d_un.d_ptr);
38 rela = (const void*)(base + d->d_un.d_ptr);
41 relr = (const void*)(base + d->d_un.d_ptr);
61 ElfW(Addr)* addr = (uintptr_t*)(base + rel[i].r_offset);
63 *addr += base;
67 ElfW(Addr)* addr = (uintptr_t*)(base + rela[i].r_offset);
69 *addr = base + rela[i].r_addend;
72 apply_relr(base, relr, relrsz);
/fuchsia/zircon/system/ulib/region-alloc/
H A Dregion-alloc.cpp31 // We should have the same number of regions sorted by base address and by
87 // base address as well as size)
92 to_add->base = region.base;
113 // Find the region whose base address is <= the specified region (if any).
120 auto before = avail_regions_by_base_.upper_bound(region.base);
122 uint64_t region_end = region.base + region.size; // exclusive end
126 before_end = before->base + before->size; // exclusive end
127 if ((region.base >= before->base)
[all...]
/fuchsia/zircon/system/private/zircon/
H A Dstack.h11 // Given the base and size of the stack block, compute the appropriate
14 static inline uintptr_t compute_initial_stack_pointer(uintptr_t base, argument
17 uintptr_t sp = base + size;
/fuchsia/zircon/kernel/object/include/object/
H A Dresource.h22 zx_status_t validate_ranged_resource(zx_handle_t handle, uint32_t kind, uint64_t base, size_t len);
26 static inline zx_status_t validate_resource_ioport(zx_handle_t handle, uint64_t base, size_t len) { argument
27 return validate_ranged_resource(handle, ZX_RSRC_KIND_IOPORT, base, len);
32 static inline zx_status_t validate_resource_mmio(zx_handle_t handle, uint64_t base, size_t len) { argument
33 return validate_ranged_resource(handle, ZX_RSRC_KIND_MMIO, base, len);
/fuchsia/zircon/system/ulib/libzbi/include/libzbi/
H A Dzbi.h55 zbi_result_t zbi_check(const void* base, zbi_header_t** err);
59 zbi_result_t zbi_check_complete(const void* base, zbi_header_t** err);
71 zbi_result_t zbi_for_each(const void* base, const zbi_foreach_cb_t cb,
75 // `base`. Assumes that the buffer at `base` has a length of `capacity` which
76 // is likely longer than the size of the ZBI at `base`.
86 zbi_result_t zbi_append_section(void* base, size_t capacity,
93 zbi_result_t zbi_create_section(void* base, size_t capacity,
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dbase.c30 base_t *base; local
34 base = base_new(tsdn, 0, (extent_hooks_t *)&extent_hooks_default);
37 base_stats_get(tsdn, base, &allocated0, &resident, &mapped);
42 assert_ptr_not_null(base_alloc(tsdn, base, 42, 1),
46 base_stats_get(tsdn, base, &allocated1, &resident, &mapped);
51 base_delete(base);
59 base_t *base; local
71 base = base_new(tsdn, 0, &hooks);
72 assert_ptr_not_null(base, "Unexpected base_new() failure");
75 base_stats_get(tsdn, base,
99 base_t *base; local
[all...]
/fuchsia/zircon/system/ulib/inspector/
H A Ddso-list-impl.h13 zx_vaddr_t base; member in struct:inspector_dsoinfo
/fuchsia/zircon/third_party/ulib/musl/src/network/
H A Ddn_expand.c4 int __dn_expand(const unsigned char* base, const unsigned char* end, const unsigned char* src, argument
13 for (i = 0; i < end - base; i += 2) {
21 if (j >= end - base)
23 p = base + j;
/fuchsia/zircon/system/dev/board/vim/
H A Dvim-display.c16 .base = S912_PRESET_BASE,
20 .base = S912_HDMITX_BASE,
24 .base = S912_HIU_BASE,
28 .base = S912_VPU_BASE,
32 .base = S912_HDMITX_SEC_BASE,
36 .base = S912_DMC_REG_BASE,
40 .base = S912_CBUS_REG_BASE,
44 .base = S912_AUDOUT_BASE,

Completed in 188 milliseconds

1234567891011>>