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

1234567891011>>

/haiku/src/libs/stdc++/legacy/
H A Dbasename.c27 const char *base = name; local
33 base = name;
36 return (char *) base;
/haiku/src/add-ons/kernel/drivers/graphics/et6x00/
H A Dacl.c11 __inline void et6000aclMasterInterruptEnable(void *base) { argument
12 set8(&((volatile char *)base)[0x34], 0x7f, 0x80);
15 __inline void et6000aclMasterInterruptDisable(void *base) { argument
16 set8(&((volatile char *)base)[0x34], 0x7f, 0x00);
19 __inline void et6000aclReadInterruptEnable(void *base) { argument
20 set8(&((volatile char *)base)[0x34], 0xfd, 0x02);
23 __inline void et6000aclReadInterruptDisable(void *base) { argument
24 set8(&((volatile char *)base)[0x34], 0xfd, 0x00);
27 __inline void et6000aclWriteInterruptEnable(void *base) { argument
28 set8(&((volatile char *)base)[
31 et6000aclWriteInterruptDisable(void *base) argument
35 et6000aclReadInterruptClear(void *base) argument
39 et6000aclWriteInterruptClear(void *base) argument
43 et6000aclInterruptCause(void *base) argument
[all...]
H A Dacl.h10 __inline void et6000aclMasterInterruptEnable(void *base);
11 __inline void et6000aclMasterInterruptDisable(void *base);
12 __inline void et6000aclReadInterruptEnable(void *base);
13 __inline void et6000aclReadInterruptDisable(void *base);
14 __inline void et6000aclWriteInterruptEnable(void *base);
15 __inline void et6000aclWriteInterruptDisable(void *base);
16 __inline void et6000aclReadInterruptClear(void *base);
17 __inline void et6000aclWriteInterruptClear(void *base);
18 __inline char et6000aclInterruptCause(void *base);
/haiku/src/system/libroot/posix/stdlib/
H A Dstrtoll.c50 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) argument
60 * If base is 0, allow 0b for binary, 0x for hex, and 0 for
61 * octal, else assume decimal; if base is already 2, allow
62 * 0b; if base is already 16, allow 0x.
76 if ((base == 0 || base == 16) &&
83 base = 16;
85 if ((base == 0 || base == 2) &&
90 base
157 __strtoll_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dstrtol.c51 strtol(const char * __restrict nptr, char ** __restrict endptr, int base) argument
61 * If base is 0, allow 0x for hex and 0 for octal, else
62 * assume decimal; if base is already 16, allow 0x.
76 if ((base == 0 || base == 16) &&
83 base = 16;
85 if ((base == 0 || base == 2) &&
90 base = 2;
92 if (base
156 __strtol_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dstrtoull.c50 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) argument
73 if ((base == 0 || base == 16) &&
80 base = 16;
82 if ((base == 0 || base == 2) &&
87 base = 2;
89 if (base == 0)
90 base = c == '0' ? 8 : 10;
92 if (base <
134 __strtoull_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dstrtoul.c51 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) argument
74 if ((base == 0 || base == 16) &&
81 base = 16;
83 if ((base == 0 || base == 2) &&
88 base = 2;
90 if (base == 0)
91 base = c == '0' ? 8 : 10;
93 if (base <
135 __strtoul_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dbsearch.c49 * the base up one item past p: e.g., when lim is 5 we change base
60 const char *base = base0; local
66 p = base + (lim >> 1) * size;
71 base = (char *)p + size;
/haiku/src/system/libroot/posix/time/
H A Dtimespec_get.cpp14 timespec_get(struct timespec* time, int base) argument
16 if (base != TIME_UTC)
23 return base;
/haiku/src/system/kernel/device_manager/
H A Dio_resources.cpp49 base = 0;
61 base = resource.base;
86 // we need the "base + length - 1" trick to avoid wrap around at 4 GB
87 if (resource->base >= base
88 && resource->base + length - 1 <= base + length - 1) {
129 return resource.base + resource.length > resource.base;
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_utils.cpp61 struct { int base, len; } best, cur; member in struct:__anon2531
74 best.base = -1;
76 cur.base = -1;
80 if (cur.base == -1)
81 cur.base = i, cur.len = 1;
85 if (cur.base != -1) {
86 if (best.base == -1 || cur.len > best.len)
88 cur.base = -1;
92 if (cur.base != -1) {
93 if (best.base
[all...]
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/
H A Dasm-syntax.h49 #define MEM(base)R(base)@
50 #define MEM_DISP(base,displacement)R(base)@(displacement)
51 #define MEM_INDX(base,idx,size_suffix)R(base)@(R(idx):size_suffix)
52 #define MEM_INDX1(base,idx,size_suffix,scale)R(base)@(R(idx):size_suffix:scale)
68 #define MEM(base)(R(base))
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Dconfig.h19 uint32 base; member in struct:__anon1478
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A D_itoa.h24 /* Convert VALUE into ASCII in base BASE (2..36).
30 unsigned int base, int upper_case);
39 unsigned int base, int upper_case)
51 switch (base)
65 *--buflim = digits[value % base];
66 while ((value /= base) != 0);
73 _fitoa_word (unsigned long value, char *buf, unsigned int base, int upper_case) argument
75 char tmpbuf[sizeof (value) * 4]; /* Worst case length: base 2. */
76 char *cp = _itoa_word (value, tmpbuf + sizeof (value) * 4, base, upper_case);
83 _fitoa (unsigned long long value, char *buf, unsigned int base, in argument
38 _itoa_word(unsigned long value, char *buflim, unsigned int base, int upper_case) argument
[all...]
H A D_itowa.h25 /* Convert VALUE into ASCII in base BASE (2..36).
31 unsigned int base, int upper_case);
36 unsigned int base, int upper_case)
44 switch (base)
58 *--bp = digits[value % base];
59 while ((value /= base) != 0);
35 _itowa_word(unsigned long value, wchar_t *buflim, unsigned int base, int upper_case) argument
/haiku/src/system/libroot/posix/
H A Dinttypes.c36 strtoimax(const char *string, char **_end, int base) argument
38 return (intmax_t)strtoll(string, _end, base);
43 strtoumax(const char *string, char **_end, int base) argument
45 return (intmax_t)strtoull(string, _end, base);
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dmalloc.h12 #define malloc(size, base, flags) kernel_malloc(size, base, flags)
/haiku/src/apps/mediaplayer/interface/
H A DSymbolButton.cpp38 rgb_color base = LowColor(); local
42 be_control_look->DrawButtonFrame(this, bounds, updateRect, base,
43 base, flags & ~BControlLook::B_DISABLED, fBorders);
44 be_control_look->DrawButtonBackground(this, bounds, updateRect, base,
53 base = tint_color(base, (B_DARKEN_4_TINT + B_DARKEN_MAX_TINT) / 2);
55 base = tint_color(base, B_DARKEN_4_TINT);
58 base = tint_color(base, B_DARKEN_2_TIN
[all...]
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dmemory.cpp30 intel_free_memory(addr_t base) argument
32 if (base == 0)
37 freeMemory.buffer_base = base;
45 intel_allocate_memory(size_t size, uint32 flags, addr_t &base) argument
57 base = allocMemory.buffer_base;
/haiku/src/system/kernel/util/
H A Dinet_ntop.c123 struct { int base, len; } best, cur; member in struct:__anon8
135 best.base = -1;
137 cur.base = -1;
141 if (cur.base == -1)
142 cur.base = i, cur.len = 1;
146 if (cur.base != -1) {
147 if (best.base == -1 || cur.len > best.len)
149 cur.base = -1;
153 if (cur.base != -1) {
154 if (best.base
[all...]
H A Dinet_addr.c100 int base, n; local
115 val = 0; base = 10; digit = 0;
119 base = 16, c = *++cp;
121 base = 8;
127 if (base == 8 && (c == '8' || c == '9'))
129 val = (val * base) + (c - '0');
132 } else if (base == 16 && isascii(c) &&
/haiku/src/system/boot/platform/efi/arch/generic/
H A Dgeneric_mmu.cpp30 uint64_t base = entry->PhysicalStart; local
32 uint64_t originalSize = end - base;
33 base = std::max(base, physicalMemoryLow);
37 += originalSize - (max_c(end, base) - base);
39 if (base >= end)
41 uint64_t size = end - base;
43 insert_physical_memory_range(base, size);
64 uint64_t base local
89 uint64_t base = entry->PhysicalStart; local
[all...]
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.h35 const rgb_color& base,
42 const rgb_color& base,
52 const rgb_color& base,
59 const rgb_color& base,
64 const rgb_color& base, uint32 flags = 0,
67 const BRect& updateRect, const rgb_color& base,
70 const BRect& updateRect, float radius, const rgb_color& base,
75 float rightBottomRadius, const rgb_color& base,
80 const rgb_color& base, uint32 flags = 0,
85 const rgb_color& base, uint3
[all...]
/haiku/src/system/kernel/vm/
H A DVMKernelArea.h30 addr_t base; member in struct:VMKernelAddressRange
35 addr_t base; member in struct:VMKernelAddressRange::__anon6::__anon7
43 VMKernelAddressRange(addr_t base, size_t size, int type) argument
45 base(base),
51 VMKernelAddressRange(addr_t base, size_t size, argument
54 base(base),
59 reserved.base = other->reserved.base;
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DBlockAllocator.cpp178 // search from base hint to end
197 BlockAllocator::AllocateExactly(uint64 base, uint64 count, argument
203 base, count);
206 status_t error = _Allocate(base, fTotalBlocks, count, transaction, NULL,
219 BlockAllocator::Free(uint64 base, uint64 count, Transaction& transaction) argument
223 status_t error = _Free(base, count, transaction);
244 If \a _allocatedBase is not \c NULL, the method may move the base up, if it
245 isn't able to allocate anything at the given base.
247 \param base The first potential block to allocate.
251 \param _allocatedBase If not \c NULL, the may allocate at a greater base
259 _Allocate(uint64 base, uint64 searchEnd, uint64 count, Transaction& transaction, uint64* _allocatedBase, uint64& _allocatedCount) argument
355 _AllocateInGroup(uint64 base, uint64 searchEnd, uint32 count, Transaction& transaction, uint64* _allocatedBase, uint32& _allocatedCount) argument
485 _AllocateInBitmapBlock(uint64 base, uint32 count, Transaction& transaction, uint64* _allocatedBase, uint32& _allocatedCount) argument
588 _Free(uint64 base, uint64 count, Transaction& transaction) argument
618 _FreeInGroup(uint64 base, uint32 count, Transaction& transaction) argument
665 _FreeInBitmapBlock(uint64 base, uint32 count, Transaction& transaction) argument
[all...]

Completed in 149 milliseconds

1234567891011>>