Searched refs:count (Results 151 - 175 of 1780) sorted by relevance

1234567891011>>

/haiku/headers/libs/agg/
H A Dagg_alpha_mask_u8.h103 int count = num_pix; local
114 count += x;
115 if(count <= 0)
125 if(x + count > xmax)
127 int rest = x + count - xmax - 1;
128 count -= rest;
129 if(count <= 0)
134 memset(covers + count, 0, rest * sizeof(cover_type));
143 while(--count);
153 int count local
205 int count = num_pix; local
254 int count = num_pix; local
[all...]
/haiku/src/libs/compat/freebsd_network/compat/machine/generic/
H A Dbus.h108 bus_size_t offset, u_int8_t *addr, size_t count)
110 for (; count > 0; offset += 1, addr++, count--)
117 bus_size_t offset, u_int16_t *addr, size_t count)
119 for (; count > 0; offset += 2, addr++, count--)
126 bus_size_t offset, u_int32_t *addr, size_t count)
128 for (; count > 0; offset += 4, addr++, count--)
135 bus_size_t offset, const u_int8_t *addr, size_t count)
107 bus_space_read_region_1(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, u_int8_t *addr, size_t count) argument
116 bus_space_read_region_2(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, u_int16_t *addr, size_t count) argument
125 bus_space_read_region_4(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, u_int32_t *addr, size_t count) argument
134 bus_space_write_multi_1(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, const u_int8_t *addr, size_t count) argument
143 bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, const u_int16_t *addr, size_t count) argument
152 bus_space_write_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, const u_int32_t *addr, size_t count) argument
161 bus_space_write_region_1(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, const u_int8_t *addr, size_t count) argument
170 bus_space_write_region_2(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, const u_int16_t *addr, size_t count) argument
179 bus_space_write_region_4(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, const u_int32_t *addr, size_t count) argument
188 bus_space_set_region_1(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, u_int8_t value, size_t count) argument
197 bus_space_set_region_2(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, u_int16_t value, size_t count) argument
206 bus_space_set_region_4(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, u_int32_t value, size_t count) argument
[all...]
/haiku/headers/private/kernel/
H A Dsem.h33 extern sem_id create_sem_etc(int32 count, const char *name, team_id owner);
38 sem_id _user_create_sem(int32 count, const char *name);
41 status_t _user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout);
43 status_t _user_switch_sem_etc(sem_id releaseSem, sem_id id, int32 count, uint32 flags, bigtime_t timeout);
45 status_t _user_release_sem_etc(sem_id id, int32 count, uint32 flags);
/haiku/src/add-ons/accelerants/s3/
H A Daccel.h58 void (*FillRectangle)(engine_token*, uint32 color, fill_rect_params*, uint32 count);
59 void (*FillSpan)(engine_token*, uint32 color, uint16* list, uint32 count);
60 void (*InvertRectangle)(engine_token*, fill_rect_params*, uint32 count);
61 void (*ScreenToScreenBlit)(engine_token*, blit_params*, uint32 count);
68 void (*SetIndexedColors)(uint count, uint8 first, uint8* color_data, uint32 flags);
103 void Savage_SetIndexedColors(uint count, uint8 first, uint8* color_data, uint32 flags);
104 void Trio64_SetIndexedColors(uint count, uint8 first, uint8* color_data, uint32 flags);
105 void Virge_SetIndexedColors(uint count, uint8 first, uint8* color_data, uint32 flags);
139 void Savage_FillRectangle(engine_token* et, uint32 color, fill_rect_params* list, uint32 count);
140 void Savage_FillSpan(engine_token* et, uint32 color, uint16* list, uint32 count);
[all...]
/haiku/src/apps/networkstatus/
H A DRadioView.h30 int32 count);
45 int32& count, int32 max, float& step);
47 const BPoint& center, int32 count,
50 int32 phase, int32 index, int32 count);
52 int32 count);
/haiku/src/servers/app/
H A DRegionPool.cpp37 int32 count = fAvailable.CountItems(); local
38 for (int32 i = 0; i < count; i++)
67 int32 count = fAvailable.CountItems(); local
68 if (count > 0) {
69 region = (BRegion*)fAvailable.RemoveItem(count - 1);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DBigtimeChartAxisLegendSource.cpp55 int32 count = 0; local
71 return count;
73 legends[count] = legend;
74 values[count++] = (double)time;
77 return count;
H A DNanotimeChartAxisLegendSource.cpp56 int32 count = 0; local
72 return count;
74 legends[count] = legend;
75 values[count++] = (double)time;
78 return count;
/haiku/src/apps/icon-o-matic/shape/commands/
H A DNudgePointsCommand.cpp29 _GetName(int32 count) argument
34 format.Format(name, count);
43 int32 count)
49 _GetName(count)),
53 fCount(count)
40 NudgePointsCommand(VectorPath* path, const int32* indices, const control_point* points, int32 count) argument
H A DRemovePointsCommand.h23 int32 count);
27 int32 count);
39 void _Init(const int32* indices, int32 count,
H A DTransformPointsCommand.cpp26 int32 count,
43 fIndices(indices && count > 0 ?
44 new (nothrow) int32[count] : NULL),
45 fPoints(points && count > 0 ?
46 new (nothrow) control_point[count] : NULL),
47 fCount(count)
20 TransformPointsCommand( TransformBox* box, VectorPath* path, const int32* indices, const control_point* points, int32 count, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument
/haiku/src/system/kernel/
H A Dsem.cpp74 queued_thread(Thread *thread, int32 count) argument
77 count(count),
83 int32 count; member in struct:queued_thread
94 int32 count; member in struct:sem_entry::__anon1::__anon2
96 // count + acquisition count of all blocked
152 kprintf("%-*s id count team last name\n", B_PRINTF_POINTER_WIDTH,
165 " %s\n", sem, sem->id, sem->u.used.count,
183 kprintf("count
469 create_sem_etc(int32 count, const char* name, team_id owner) argument
692 create_sem(int32 count, const char* name) argument
713 acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
727 switch_sem_etc(sem_id semToBeReleased, sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
872 release_sem_etc(sem_id id, int32 count, uint32 flags) argument
1144 _user_create_sem(int32 count, const char *userName) argument
1177 _user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
1202 _user_switch_sem_etc(sem_id releaseSem, sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
1226 _user_release_sem_etc(sem_id id, int32 count, uint32 flags) argument
1236 int32 count; local
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DDriverSettings.cpp111 Iterator(const driver_parameter* parameters, int32 count) argument
114 fCount(count)
153 NameIterator(const driver_parameter* parameters, int32 count, argument
157 fCount(count),
224 int32 count; local
225 return (GetParametersAndCount(&count) ? count : 0);
233 int32 count; local
234 return GetParametersAndCount(&count);
242 int32 count; local
277 int32 count; local
289 int32 count; local
[all...]
/haiku/src/kits/support/
H A DList.cpp25 move_items(void** items, int32 offset, int32 count) argument
27 if (count > 0 && offset != 0)
28 memmove(items + offset, items, count * sizeof(void*));
32 BList::BList(int32 count) argument
37 fBlockSize(count),
144 int32 count = list->fItemCount; local
145 if (fItemCount + count > fPhysicalSize)
146 result = _ResizeArray(fItemCount + count);
149 fItemCount += count;
150 move_items(fObjectList + index, count, fItemCoun
166 int32 count = list->fItemCount; local
208 RemoveItems(int32 index, int32 count) argument
475 _ResizeArray(int32 count) argument
[all...]
/haiku/headers/private/userlandfs/shared/
H A DRecursiveLock.h58 int32 count = recursive_lock_get_recursion( local
60 return count >= 0 ? count : 0;
/haiku/src/system/libroot/posix/glibc/libio/
H A Diopadn.c37 _IO_padn (fp, pad, count)
40 _IO_ssize_t count;
58 for (i = count; i >= PADSIZE; i -= PADSIZE)
/haiku/headers/os/interface/
H A DPolygon.h18 BPolygon(const BPoint* points, int32 count);
27 void AddPoints(const BPoint* points, int32 count);
41 bool _AddPoints(const BPoint* points, int32 count,
/haiku/src/system/kernel/arch/x86/
H A Darch_altcodepatch.cpp34 uint32 count = 0; local
49 count++;
56 "for tag %u\n", count, tag);
/haiku/src/system/boot/platform/atari_m68k/
H A Dmk_floppy_prg_atari.sh5 dd if=/dev/zero of=$IMG bs=1024 count=1440 && \
12 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc && \
13 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=9 seek=$((9*180)) && \
14 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=9 seek=$((2*9)) && \
15 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=$((2*9)) seek=$((2*2*9)) && \
16 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=$((3*9)) seek=$((3*2*9)) && \
24 #dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=500 conv=notrunc && \
/haiku/headers/private/kernel/arch/
H A Duser_memory.h22 status_t _arch_cpu_user_memset(void* s, char c, size_t count,
45 arch_cpu_user_memset(void* s, char c, size_t count) argument
47 return _arch_cpu_user_memset(s, c, count,
/haiku/src/system/libroot/posix/stdlib/
H A Dheapsort.c54 #define SWAP(a, b, count, size, tmp) { \
55 count = size; \
60 } while (--count); \
64 #define COPY(a, b, count, size, tmp1, tmp2) { \
65 count = size; \
70 } while (--count); \
80 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \
91 SWAP(par, child, count, size, tmp); \
112 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \
120 COPY(par, child, count, siz
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DBlocker.cpp76 // get semaphore count
77 int32 count;
78 status_t error = get_sem_count(fData->semaphore, &count);
81 // set the semaphore count to zero
82 if (count > 0)
83 error = acquire_sem_etc(fData->semaphore, count, B_RELATIVE_TIMEOUT, 0);
84 else if (count < 0)
85 error = release_sem_etc(fData->semaphore, -count, 0);
/haiku/src/apps/terminal/
H A DUTF8Char.h32 UTF8Char(const char* c, int32 count) argument
34 SetTo(c, count);
37 void SetTo(const char* c, int32 count) argument
40 if (count > 1) {
42 if (count > 2) {
44 if (count > 3)
/haiku/src/system/kernel/scheduler/
H A Dscheduler_profiler.h34 void DumpCalled(uint32 count);
35 void DumpTimeInclusive(uint32 count);
36 void DumpTimeExclusive(uint32 count);
37 void DumpTimeInclusivePerCall(uint32 count);
38 void DumpTimeExclusivePerCall(uint32 count);
64 void _Dump(uint32 count);
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformObjectsCommand.cpp23 int32 count,
39 fObjects(objects && count > 0 ?
40 new (nothrow) Transformable*[count] : NULL),
41 fOriginals(originals && count > 0 ?
43 count * Transformable::matrix_size] : NULL),
44 fCount(count)
19 TransformObjectsCommand( TransformBox* box, Transformable** const objects, const double* originals, int32 count, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument

Completed in 191 milliseconds

1234567891011>>