Searched refs:count (Results 376 - 400 of 1781) sorted by relevance

<<11121314151617181920>>

/haiku/src/kits/tracker/
H A DNodePreloader.cpp101 for (int32 count = fModelList.CountItems() - 1; count >= 0; count--) {
102 Model* model = fModelList.ItemAt(count);
207 for (int32 count = 100; count >= 0; count--) {
/haiku/src/apps/icon-o-matic/gui/
H A DPathListView.cpp506 int32 count = CountSelectedItems(); local
507 for (int32 i = 0; i < count; i++) {
551 int32 count = paths.CountItems(); local
552 if (count == 0)
556 (VectorPath**)paths.Items(), count, true, dropIndex);
558 for (int32 i = 0; i < count; i++)
575 int32 count = items.CountItems();
576 VectorPath** paths = new (nothrow) VectorPath*[count];
580 for (int32 i = 0; i < count; i++) {
587 paths, count, toInde
743 int32 count = fPathContainer->CountItems(); local
880 int32 count = CountItems(); local
898 int32 count = CountItems(); local
[all...]
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileops.c487 _IO_size_t count; local
503 count = _IO_SYSWRITE (fp, data, to_do);
504 if (fp->_cur_column && count)
506 count) + 1;
512 return count;
519 _IO_ssize_t count; local
582 count = _IO_SYSREAD (fp, fp->_IO_buf_base,
584 if (count <= 0)
586 if (count == 0)
589 fp->_flags |= _IO_ERR_SEEN, count local
945 long count; local
1271 _IO_ssize_t count = write (f->_fileno, data, to_do); variable
1295 _IO_size_t count; local
1384 register _IO_ssize_t count; variable
[all...]
/haiku/src/apps/webpositive/
H A DBrowsingHistory.cpp141 uint32 count = fInvokationCount + 1; local
142 if (count > fInvokationCount)
143 fInvokationCount = count;
248 int32 count = CountItems(); local
249 for (int32 i = 0; i < count; i++) {
261 int32 count = CountItems(); local
262 int32 insertionIndex = count;
263 for (int32 i = 0; i < count; i++) {
333 int32 count = CountItems(); local
334 for (int32 i = 0; i < count;
[all...]
/haiku/src/apps/packageinstaller/
H A DInstalledPackageInfo.cpp160 int32 count; local
167 fStatus |= info.FindInt32("file_count", &count);
175 for (i = 0; i < count; i++) {
211 uint32 i, count = fInstalledItems.CountItems(); local
216 for (i = 0; i < count; i++) {
217 iter = static_cast<BString *>(fInstalledItems.ItemAt(count - i - 1));
243 fInstalledItems.RemoveItem(count - i - 1);
281 int32 i, count = fInstalledItems.CountItems(); local
287 ret |= info.AddInt32("file_count", count);
294 for (i = 0; i < count;
[all...]
/haiku/src/tests/kits/device/stickit_BJoystick/
H A DStickItWindow.cpp169 int32 count = stick->CountSticks(); local
171 << count; local
174 count = stick->CountAxes();
176 << count; local
179 count = stick->CountButtons();
181 << count; local
184 count = stick->CountHats();
186 << count; local
189 count = stick->CountDevices();
191 << count; local
[all...]
/haiku/src/kits/media/
H A DBufferGroup.cpp40 BBufferGroup::BBufferGroup(size_t size, int32 count, uint32 placement, argument
48 // This one is easy. We need to create "count" BBuffers,
68 = ((allocSize * count) + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
81 for (int32 i = 0; i < count; i++) {
106 BBufferGroup::BBufferGroup(int32 count, const media_buffer_id* buffers) argument
118 for (int32 i = 0; i < count; i++) {
276 int32 count = fBufferCount;
278 if (count < 0)
280 if (count == 0)
289 status = acquire_sem_etc(fReclaimSem, count, B_RELATIVE_TIMEOU
[all...]
/haiku/headers/private/kernel/
H A Dsmp.h270 atomic_add((int32*)&lock->count, 1);
278 atomic_add((int32*)&lock->count, 1);
284 atomic_add((int32*)&lock->count, 1);
292 return (uint32)atomic_get((int32*)&lock->count);
297 release_read_seqlock_inline(seqlock* lock, uint32 count) argument
299 uint32 current = (uint32)atomic_get((int32*)&lock->count);
301 return count % 2 == 0 && current == count;
309 #define release_read_seqlock(lock, count) \
310 release_read_seqlock_inline(lock, count)
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dtaskqueue.c16 int count, int priority, const char *name);
56 _taskqueue_start_threads(struct taskqueue **taskQueue, int count, int priority, argument
62 if (count == 0)
68 if (count == 1) {
71 tq->tq_threads = malloc(sizeof(thread_id) * count);
78 if (count > 1)
84 for (i = 0; i < count; i++) {
91 if (count > 1)
99 tq->tq_threadcount = count;
101 for (i = 0; i < count;
[all...]
/haiku/src/kits/interface/layouter/
H A DSimpleLayouter.cpp253 int32 count)
256 BList elementInfos(count);
257 for (int32 i = 0; i < count; i++) {
269 for (int32 i = 0; i < count; i++) {
286 int32 count = elementInfos.CountItems();
290 for (int32 i = 0; i < count; i++) {
299 for (int32 i = 0; i < count; i++) {
313 for (int32 i = 0; i < count; i++) {
367 int32 count = fElementCount; local
368 if (count
252 DistributeSize(int32 size, float weights[], int32 sizes[], int32 count) argument
[all...]
/haiku/src/kits/interface/
H A DShape.cpp54 int32 count = data->opList[i] & 0x00FFFFFF; local
55 IterateLineTo(count, points);
56 points += count;
60 int32 count = data->opList[i] & 0x00FFFFFF; local
61 IterateBezierTo(count / 3, points);
62 points += count;
68 int32 count = data->opList[i] & 0x00FFFFFF; local
69 for (int32 i = 0; i < count / 3; i++) {
155 int32 count = 0; local
157 archive->GetInfo("ops", &type, &count);
596 AllocateOps(int32 count) argument
615 AllocatePts(int32 count) argument
[all...]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_i2c.c75 int count=0; local
99 count++;
100 if (count>I2C_TIMEOUT)
114 int count=0; local
124 count++;
125 if (count>I2C_TIMEOUT)
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Di2c.c86 int count=0; local
110 count++;
111 if (count>I2C_TIMEOUT)
125 int count=0; local
135 count++;
136 if (count>I2C_TIMEOUT)
/haiku/src/add-ons/accelerants/via/engine/
H A Di2c.c86 int count=0; local
110 count++;
111 if (count>I2C_TIMEOUT)
125 int count=0; local
135 count++;
136 if (count>I2C_TIMEOUT)
/haiku/src/add-ons/kernel/generic/dpc/
H A Ddpc.c33 int count; member in struct:__anon5
58 queue->count--;
68 while (queue->count--) {
97 queue->count = 0;
175 } else if (queue->count == queue->size)
182 queue->count++;
/haiku/src/bin/locale/
H A Dlinkcatkeys.cpp110 uint32 count = inputFiles.size(); local
111 for( uint32 i=0; i<count; ++i) {
181 int32 count = targetCatalog.CountItems(); local
182 if (count) {
184 count, (count==1 ? "": "s"), outputFile.String());
/haiku/src/bin/
H A Dsetdecor.cpp98 int32 count = util->CountDecorators(); local
99 for (int32 i = 0; i < count; ++i) {
105 i, count);
136 int32 count = util->CountDecorators(); local
137 for (int32 i = 0; i < count; ++i) {
143 i, count);
/haiku/src/tools/locale/
H A Dlinkcatkeys.cpp104 uint32 count = inputFiles.size(); local
105 for (uint32 i = 0; i < count; ++i) {
166 int32 count = targetCatImpl.CountItems(); local
167 if (count) {
169 count, (count==1 ? "": "s"), outputFile.String());
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DAllocationInfo.cpp113 AllocationInfo::AddAreaAllocation(size_t size, size_t count) argument
115 fAreaCount += count;
116 fAreaSize += count * size;
137 AllocationInfo::AddOtherAllocation(size_t size, size_t count) argument
139 fOtherCount += count;
140 fOtherSize += size * count;
/haiku/src/build/libbe/support/
H A DArchivable.cpp262 int count = 0; local
274 ++count;
280 if (count > 1)
283 if (count > 10)
285 out << count; local
286 if (count > 10)
/haiku/headers/os/media/
H A DSoundFile.h57 virtual off_t SetFrameCount(off_t count);
59 size_t ReadFrames(char* buffer, size_t count);
60 size_t WriteFrames(char* buffer, size_t count);
/haiku/src/add-ons/kernel/debugger/disasm/
H A Ddisasm.cpp20 // get back count
50 // get count
51 uint64 count = 10; local
53 if (!evaluate_debug_expression(argv[argi++], &count, false))
59 // if back count is given, compute base address
82 disasm_arch_dump_insns((addr_t)pc, count, baseAddress, backCount);
97 "[ -b <back count> ] [ <address> [ <count> ] ]\n"
101 " <count> - Number of instructions to disassemble\n"
103 " -b <back count>
[all...]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.h53 const char* name, int32 index, int32 *count,
56 const char* name, int32 index, int32 *count,
59 const char* name, int32 index, int32 *count,
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/
H A DNW80xCamDevice.h39 virtual ssize_t WriteReg(uint16 address, uint8 *data, size_t count=1);
40 virtual ssize_t ReadReg(uint16 address, uint8 *data, size_t count=1, bool cached=false);
45 virtual ssize_t WriteIIC(uint8 address, uint8 *data, size_t count=1);
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/quickcam/
H A DQuickCamDevice.h39 virtual ssize_t WriteReg(uint16 address, uint8 *data, size_t count=1);
40 virtual ssize_t ReadReg(uint16 address, uint8 *data, size_t count=1, bool cached=false);
45 virtual ssize_t WriteIIC(uint8 address, uint8 *data, size_t count=1);

Completed in 277 milliseconds

<<11121314151617181920>>