Searched refs:base (Results 1 - 25 of 399) 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 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) &&
80 base = 16;
82 if (base == 0)
83 base = c == '0' ? 8 : 10;
85 if (base < 2 || base > 3
145 __strtol_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dstrtoll.c51 strtoll(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) &&
80 base = 16;
82 if (base == 0)
83 base = c == '0' ? 8 : 10;
85 if (base < 2 || base > 3
147 __strtoll_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) &&
78 base = 16;
80 if (base == 0)
81 base = c == '0' ? 8 : 10;
83 if (base < 2 || base > 36)
86 cutoff = ULONG_MAX / base;
87 cutlim = ULONG_MAX % base;
124 __strtoul_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dstrtoull.c51 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) argument
74 if ((base == 0 || base == 16) &&
78 base = 16;
80 if (base == 0)
81 base = c == '0' ? 8 : 10;
83 if (base < 2 || base > 36)
86 cutoff = ULONGLONG_MAX / base;
87 cutlim = ULONGLONG_MAX % base;
125 __strtoull_internal(const char *number, char **_end, int base, int group) argument
[all...]
H A Dstrtoq.c53 strtoq(nptr, endptr, base)
56 register int base;
65 * If base is 0, allow 0x for hex and 0 for octal, else
66 * assume decimal; if base is already 16, allow 0x.
80 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == '0' ? 8 : 10;
92 * base
[all...]
H A Dstrtouq.c52 strtouq(nptr, endptr, base)
55 register int base;
77 if ((base == 0 || base == 16) &&
81 base = 16;
83 if (base == 0)
84 base = c == '0' ? 8 : 10;
86 cutoff = UQUAD_MAX / (uint64)base;
87 cutlim = UQUAD_MAX % (uint64)base;
95 if (c >= base)
[all...]
H A Dbsearch.c50 * the base up one item past p: e.g., when lim is 5 we change base
66 char const *base = base0; local
72 p = base + (lim >> 1) * size;
78 base = (char *)p + size;
/haiku/src/system/kernel/arch/ppc/
H A Darch_uart_8250.cpp14 ArchUART8250(addr_t base, int64 clock);
21 ArchUART8250::ArchUART8250(addr_t base, int64 clock) argument
22 : DebugUART8250(base, clock)
39 DebugUART8250 *arch_get_uart_8250(addr_t base, int64 clock) argument
42 ArchUART8250 *uart = new(buffer) ArchUART8250(base, clock);
/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/headers/private/kernel/arch/generic/
H A Ddebug_uart_8250.h21 DebugUART8250(addr_t base, int64 clock);
36 extern DebugUART8250 *arch_get_uart_8250(addr_t base, int64 clock);
37 extern DebugUART8250 *arch_get_uart_8250_omap(addr_t base, int64 clock);
/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/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/system/libroot/posix/glibc/misc/
H A Dlsearch.c26 lsearch (const void *key, void *base, size_t *nmemb, size_t size, argument
32 result = lfind (key, base, nmemb, size, compar);
36 result = memcpy (base + (*nmemb) * size, key, size);
45 lfind (const void *key, const void *base, size_t *nmemb, size_t size, argument
48 const void *result = base;
/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.c102 int base, n; local
117 val = 0; base = 10; digit = 0;
121 base = 16, c = *++cp;
123 base = 8;
129 if (base == 8 && (c == '8' || c == '9'))
131 val = (val * base) + (c - '0');
134 } else if (base == 16 && isascii(c) &&
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_ntop.c130 struct { int base, len; } best, cur; member in struct:__anon1969
146 best.base = -1;
148 cur.base = -1;
152 if (cur.base == -1)
153 cur.base = i, cur.len = 1;
157 if (cur.base != -1) {
158 if (best.base == -1 || cur.len > best.len)
160 cur.base = -1;
164 if (cur.base != -1) {
165 if (best.base
[all...]

Completed in 157 milliseconds

1234567891011>>