Searched refs:num (Results 1 - 25 of 205) sorted by relevance

123456789

/haiku/src/system/libroot/posix/stdlib/
H A Datoi.c14 atoi(const char* num) argument
16 return (int) strtol(num, NULL, 10);
21 atoui(const char* num) argument
23 return (unsigned int) strtoul(num, NULL, 10);
28 atol(const char* num) argument
30 return strtol(num, NULL, 10);
35 atoul(const char* num) argument
37 return strtoul(num, NULL, 10);
42 atoll(const char* num) argument
44 return strtoll(num, NUL
[all...]
H A Datof.c14 atof(const char* num) argument
16 return strtod(num, NULL);
/haiku/headers/private/graphics/radeon/
H A Dutils.h20 static inline int RoundDiv( int num, int den ) argument
22 return (num + (den / 2)) / den;
25 static inline int32 RoundDiv64( int64 num, int32 den ) argument
27 return (num + (den / 2)) / den;
30 static inline int ceilShiftDiv( int num, int shift ) argument
32 return (num + (1 << shift) - 1) >> shift;
35 static inline int ceilDiv( int num, int den ) argument
37 return (num + den - 1) / den;
/haiku/src/system/libroot/os/arch/m68k/
H A Dcompatibility.c12 int _kset_mon_limit_(int num);
13 int _kset_fd_limit_(int num);
19 _kset_mon_limit_(int num) argument
26 _kset_fd_limit_(int num) argument
/haiku/src/system/libroot/os/arch/ppc/
H A Dcompatibility.c12 int _kset_mon_limit_(int num);
13 int _kset_fd_limit_(int num);
19 _kset_mon_limit_(int num) argument
26 _kset_fd_limit_(int num) argument
/haiku/src/tests/add-ons/kernel/file_systems/bfs/array/
H A DsmallArray.cpp24 for (int32 num = 0;num < gNumber;num++)
27 for (int32 num = 0;num < gNumber;num++) {
H A Darray.cpp32 int32 num = rand(); local
33 if (num == 0)
34 num++;
36 if (gArray.Insert(num) == B_OK)
37 gList.AddItem((void *)num);
38 else if (gArray.Find(num) < 0) {
48 int32 num = (int32)gList.ItemAt(i); local
50 if (gArray.Find(num) < 0) {
51 printf("could not found entry %ld in array!\n",num);
/haiku/src/system/kernel/arch/x86/
H A Dpic.cpp72 pic_is_spurious_interrupt(int32 num) argument
74 if (num != 7)
90 pic_is_level_triggered_interrupt(int32 num) argument
92 if (num < 0 || num > PIC_NUM_INTS)
95 return (sLevelTriggeredInterrupts & (1 << num)) != 0;
104 pic_end_of_interrupt(int32 num) argument
106 if (num < 0 || num > PIC_NUM_INTS)
110 if (num >
120 pic_enable_io_interrupt(int32 num) argument
131 out8(in8(PIC_MASTER_MASK) & ~(1 << num), PIC_MASTER_MASK); local
138 pic_disable_io_interrupt(int32 num) argument
157 pic_configure_io_interrupt(int32 num, uint32 config) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_ring.h86 unsigned int num; member in struct:vring
94 * looks like this. We assume num is a power of 2.
98 * struct vring_desc desc[num];
103 * __u16 available[num];
112 * struct vring_used_elem used[num];
123 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
124 #define vring_avail_event(vr) (*(uint16_t *)&(vr)->used->ring[(vr)->num])
127 vring_size(unsigned int num, unsigned long align) argument
131 size = num * sizeof(struct vring_desc);
132 size += sizeof(struct vring_avail) + (num * sizeo
141 vring_init(struct vring *vr, unsigned int num, uint8_t *p, unsigned long align) argument
[all...]
/haiku/headers/private/kernel/arch/x86/
H A Darch_int.h72 void (*enable_io_interrupt)(int32 num);
73 void (*disable_io_interrupt)(int32 num);
74 void (*configure_io_interrupt)(int32 num, uint32 config);
75 bool (*is_spurious_interrupt)(int32 num);
76 bool (*is_level_triggered_interrupt)(int32 num);
77 bool (*end_of_interrupt)(int32 num);
78 void (*assign_interrupt_to_cpu)(int32 num, int32 cpu);
/haiku/headers/libs/libc++/support/win32/
H A Dmath_win32.h27 _LIBCPP_ALWAYS_INLINE bool isfinite( double num )
29 return _finite(num) != 0;
31 _LIBCPP_ALWAYS_INLINE bool isinf( double num )
33 return !isfinite(num) && !_isnan(num);
35 _LIBCPP_ALWAYS_INLINE bool isnan( double num )
37 return _isnan(num) != 0;
39 _LIBCPP_ALWAYS_INLINE bool isnormal( double num )
41 int class_ = _fpclass(num);
79 _LIBCPP_ALWAYS_INLINE bool signbit( double num )
[all...]
/haiku/src/system/boot/platform/bios_ia32/
H A Dbios.cpp23 extern "C" void call_bios_internal(uint8 num, struct bios_regs* regs);
27 call_bios(uint8 num, struct bios_regs* regs) argument
29 TRACE(("BIOS(%" B_PRIx8 "h): Restore BIOS IDT\n", num));
34 num, regs->eax, regs->ebx, regs->ecx, regs->edx, regs->esi, regs->edi,
36 call_bios_internal(num, regs);
37 TRACE(("BIOS(%" B_PRIx8 "h): Set debug BIOS IDT\n", num));
/haiku/headers/libs/agg/
H A Dagg_bspline.h29 // First call init(num, x[], y[]) where num - number of source points,
44 bspline(int num);
45 bspline(int num, const double* x, const double* y);
47 void init(int num);
51 void init(int num, const double* x, const double* y);
/haiku/src/tests/system/kernel/
H A Dfibo_exec.cpp31 int num = 0; local
36 num = atoi(argv[1]);
40 num = atoi(argv[2]);
51 if (num < 2) {
52 result = num;
60 snprintf(buffer, sizeof(buffer), "%d", num - 1);
76 snprintf(buffer, sizeof(buffer), "%d", num - 2);
H A Dfibo_load_image.cpp29 int num = 0; local
34 num = atoi(argv[1]);
38 num = atoi(argv[2]);
49 if (num < 2) {
50 result = num;
57 snprintf(buffer, sizeof(buffer), "%d", num - 1);
64 snprintf(buffer, sizeof(buffer), "%d", num - 2);
/haiku/src/system/kernel/arch/ppc/
H A Darch_cpu_asm.S60 #define get_ibat(num) \
61 mfibatu %r4, num; \
63 mfibatl %r4, num; \
66 #define set_ibat(num); \
68 mtibatu num, %r4; \
70 mtibatl num, %r4;
118 #define get_dbat(num) \
119 mfdbatu %r4, num; \
121 mfdbatl %r4, num; \
124 #define set_dbat(num) \
[all...]
/haiku/src/apps/poorman/
H A DPoorManAdvancedView.cpp57 PoorManAdvancedView::SetMaxSimutaneousConnections(int32 num) argument
59 if (num <= 0 || num > 200)
62 fMaxConnections->SetValue(num);
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ds_catan.c66 double r2, num, den; local
74 num = __imag__ x + 1.0;
75 num = r2 + num * num;
80 __imag__ res = 0.25 * __ieee754_log (num / den);
H A Ds_catanf.c66 float r2, num, den; local
74 num = __imag__ x + 1.0;
75 num = r2 + num * num;
80 __imag__ res = 0.25 * __ieee754_logf (num / den);
H A Ds_catanh.c61 double i2, num, den; local
65 num = 1.0 + __real__ x;
66 num = i2 + num * num;
71 __real__ res = 0.25 * (__ieee754_log (num) - __ieee754_log (den));
H A Ds_catanhf.c61 float i2, num, den; local
65 num = 1.0 + __real__ x;
66 num = i2 + num * num;
71 __real__ res = 0.25 * (__ieee754_logf (num) - __ieee754_logf (den));
H A Ds_catanhl.c61 long double i2, num, den; local
65 num = 1.0 + __real__ x;
66 num = i2 + num * num;
71 __real__ res = 0.25 * (__ieee754_logl (num) - __ieee754_logl (den));
H A Ds_catanl.c66 long double r2, num, den; local
74 num = __imag__ x + 1.0;
75 num = r2 + num * num;
80 __imag__ res = 0.25 * __ieee754_logl (num / den);
/haiku/src/tests/system/network/
H A Dtest1.c18 uint32 num = 0; local
31 num, num == 1 ? "" : "s");
35 num++;
42 tnum + 1, num, TIME, num / TIME);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A Dcache.cpp60 cached_write(void* cache, off_t num, const void* _data, off_t numBlocks) argument
62 if (num + numBlocks > gBlocks.CountItems()) {
68 void* buffer = gBlocks.ItemAt(num + i);
79 read_blocks(void* cache, off_t num) argument
82 for (uint32 i = gBlocks.CountItems(); i <= num; i++) {
97 get_block(void* cache, off_t num) argument
99 //TRACE(("get_block(num = %" B_PRIdOFF ")\n", num);
100 if (num >= gBlocks.CountItems())
101 read_blocks(cache, num);
108 release_block(void* cache, off_t num) argument
[all...]

Completed in 110 milliseconds

123456789