Lines Matching defs:base

741 		uintptr_t base = (uintptr_t)dstate->dtds_base +
752 * (1) Start above the hash table that is at the base of
756 * dtrace_dynvar_t that is at the base of every chunk
761 if (addr < base)
764 chunkoffs = (addr - base) % dstate->dtds_chunksize;
987 dtrace_strtoll(char *input, int base, size_t limit)
1015 if (base == 16 && c == '0' && ((cc = dtrace_load8(pos + 1)) == 'x' ||
1024 for (; pos < end && c != '\0' && lisalnum(c) && (x = DIGIT(c)) < base;
1026 val = val * base + x;
1759 uintptr_t base = (uintptr_t)key[i].dttk_value;
1761 if (!dtrace_canload(base, size, mstate, vstate))
1765 hashval += dtrace_load8(base + j);
2213 int32_t base = DTRACE_LQUANTIZE_BASE(arg);
2221 if (val < base) {
2229 level = (val - base) / step;
2247 int base = 1, order;
2281 * width, and adding to our (accumulated) base.
2283 return (base + (value - last) / (this / nbuckets));
2286 base += nbuckets - (nbuckets / factor);
2295 return (base);
5214 int base = 10;
5217 if ((base = tupregs[1].dttk_value) <= 1 ||
5218 base > ('z' - 'a' + 1) + ('9' - '0' + 1)) {
5229 regs[rd] = dtrace_strtoll((char *)s, base, size);
5238 int base = 10;
5241 if ((base = tupregs[1].dttk_value) <= 1 ||
5242 base > ('z' - 'a' + 1) + ('9' - '0' + 1)) {
5248 val = (base == 10 && i < 0) ? i * -1 : i;
5256 for (*end-- = '\0'; val; val /= base) {
5257 if ((digit = val % base) <= '9' - '0') {
5264 if (i == 0 && base == 16)
5267 if (base == 16)
5270 if (i == 0 || base == 8 || base == 16)
5273 if (i < 0 && base == 10)
5595 char *base, *end;
5623 base = (char *)mstate->dtms_scratch_ptr;
5645 ASSERT(end + 1 >= base);
5678 base = (char *)mstate->dtms_scratch_ptr;
5736 ASSERT(end >= base);
5771 ASSERT(end >= base);
5799 ASSERT(end + 1 >= base);
9833 * 0 or the size of one of the base types.
11990 * in a buffer. If mstate is non-NULL, sets the scratch base and size in the
13600 * site of any user SETX relocations to account for load object base address.
13931 void *base;
13947 if ((base = kmem_zalloc(size, KM_NOSLEEP | KM_NORMALPRI)) == NULL)
13951 dstate->dtds_base = base;
13981 ((uintptr_t)base + hashsize * sizeof (dtrace_dynhash_t));
13982 limit = (uintptr_t)base + size;
14002 limit = (uintptr_t)base + size;
14009 ASSERT(limit <= (uintptr_t)base + size);
16519 dtrace_toxrange_add(uintptr_t base, uintptr_t limit)
16550 dtrace_toxrange[dtrace_toxranges].dtt_base = base;