Searched refs:count (Results 501 - 525 of 1781) sorted by relevance

<<21222324252627282930>>

/haiku/src/apps/terminal/
H A DTerminalBuffer.h37 int32 count = 1, bool dynamic = false);
39 int32 count = 1, bool dynamic = false);
/haiku/src/system/libroot/os/locks/
H A Dmutex.cpp62 uint32 count = 0; local
71 } while (count++ < kMaxCount && (oldValue & B_USER_MUTEX_WAITING) != 0);
/haiku/src/apps/icon-o-matic/generic/command/
H A DCompoundCommand.cpp15 int32 count,
20 fCount(count),
14 CompoundCommand(Command** commands, int32 count, const char* name, int32 nameIndex) argument
H A DMoveCommand.h41 int32 count,
64 int32 count,
69 fIndices(count > 0 ? new (nothrow) int32[count] : NULL),
71 fCount(count)
62 MoveCommand(Container<Type>* container, Type** items, int32 count, int32 toIndex) argument
/haiku/src/libs/icon/generic/
H A DContainer.h102 int32 count = fListeners.CountItems(); local
103 if (count > 0) {
173 int32 count = CountItems(); local
174 for (int32 i = 0; i < count; i++) {
261 int32 count = listeners.CountItems(); local
262 for (int32 i = 0; i < count; i++) {
275 int32 count = listeners.CountItems(); local
276 for (int32 i = 0; i < count; i++) {
/haiku/src/apps/icon-o-matic/shape/commands/
H A DAddPointCommand.cpp27 int32 count)
31 fOldSelectionCount(count)
24 AddPointCommand(VectorPath* path, int32 index, const int32* selected, int32 count) argument
/haiku/src/system/kernel/events/
H A Dwait_for_objects.cpp68 uint32 count; member in struct:wait_for_objects_sync
89 SelectTraceEntry(int count, fd_set* readSet, fd_set* writeSet, argument
95 fCount(count)
99 if (sets > 0 && count > 0) {
100 uint32 bytes = _howmany(count, NFDBITS) * sizeof(fd_mask);
163 SelectBegin(int count, fd_set* readSet, fd_set* writeSet, argument
166 SelectTraceEntry(count, readSet, writeSet, errorSet),
185 SelectDone(int count, fd_set* readSet, fd_set* writeSet, argument
188 SelectTraceEntry(status == B_OK ? count : 0, readSet, writeSet,
210 PollTraceEntry(pollfd* fds, int count, boo argument
294 PollBegin(pollfd* fds, int count, bigtime_t timeout) argument
316 PollDone(pollfd* fds, int count, int result) argument
520 int count = 0; local
629 int count = 0; local
708 ssize_t count = 0; local
[all...]
/haiku/src/kits/tracker/
H A DFavoritesMenu.cpp113 int32 count = CountItems() - fInitialItemCount; local
115 while (count--)
385 int32 count = CountItems()-1; local
386 for (int32 index = count; index >= 0; index--) {
416 RecentsMenu::AddRecents(int32 count) argument
424 roster.GetRecentDocuments(&fRecentList, count);
427 roster.GetRecentApps(&fRecentList, count);
430 roster.GetRecentFolders(&fRecentList, count);
H A DEntryIterator.h63 int32 count = INT_MAX) = 0;
85 int32 count = INT_MAX);
116 int32 count = INT_MAX);
149 int32 count = INT_MAX);
186 int32 count = INT_MAX);
/haiku/src/libs/icon/transformer/
H A DCompoundStyleTransformer.cpp19 StyleTransformer** transformers, int32 count)
22 fCount(count)
18 CompoundStyleTransformer( StyleTransformer** transformers, int32 count) argument
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmixer.c174 int count)
182 for (ix=0; ix<count; ix++) {
234 int count)
242 for (ix=0; ix<count; ix++) {
272 ((cmedia_pci_level_cmd *)data)->count =
274 ((cmedia_pci_level_cmd *)data)->count);
277 ((cmedia_pci_level_cmd *)data)->count =
279 ((cmedia_pci_level_cmd *)data)->count);
171 gather_info( mixer_dev * mixer, cmedia_pci_level * data, int count) argument
231 disperse_info( mixer_dev * mixer, cmedia_pci_level * data, int count) argument
/haiku/src/kits/media/
H A DMediaAddOn.cpp432 int32 count; local
438 count = *(int32*)buf; buf += sizeof(int32);
441 if (count > 0) {
442 if (count <= MAX_FLAVOR_IN_FORMAT_COUNT) {
443 in_formats = new(std::nothrow) media_format[count];
447 for (int32 i = 0; i < count; i++) {
452 in_format_count = count;
456 count = *(int32*)buf; buf += sizeof(int32);
459 if (count > 0) {
460 if (count <
555 AutoStart(int count, BMediaNode **_node, int32 *_internalID, bool *_hasMore) argument
[all...]
/haiku/src/apps/sudoku/
H A DSudokuSolver.cpp40 uint32 count = 0; local
43 count++;
46 return count;
189 uint32 count = 0; local
198 count++;
218 //printf("evaluated %lu steps\n", count);
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant_protos.h47 void intel_set_indexed_colors(uint count, uint8 first, uint8* colorData,
72 blit_params* list, uint32 count);
74 fill_rect_params* list, uint32 count);
76 uint32 count);
78 uint32 count);
/haiku/src/system/libroot/posix/glibc/libio/
H A Dwgenops.c328 _IO_ssize_t count = (f->_wide_data->_IO_write_end variable
330 if (count > 0)
332 if ((_IO_size_t) count > more)
333 count = more;
334 if (count > 20)
338 __wmempcpy (f->_wide_data->_IO_write_ptr, s, count);
340 memcpy (f->_wide_data->_IO_write_ptr, s, count);
341 f->_wide_data->_IO_write_ptr += count;
343 s += count;
345 else if (count <
377 _IO_ssize_t count = (fp->_wide_data->_IO_read_end variable
[all...]
H A Dwfileops.c126 _IO_ssize_t count; local
244 count = _IO_SYSREAD (fp, fp->_IO_read_end,
246 if (count <= 0)
248 if (count == 0 && tries == 0)
251 fp->_flags |= _IO_ERR_SEEN, count = 0; local
253 fp->_IO_read_end += count;
254 if (count == 0)
263 _IO_pos_adjust (fp->_offset, count);
518 long int count; variable
737 count
796 _IO_size_t count; variable
[all...]
H A Dgenops.c456 _IO_ssize_t count = f->_IO_write_end - f->_IO_write_ptr; variable
457 if (count > 0)
459 if ((_IO_size_t) count > more)
460 count = more;
461 if (count > 20)
464 f->_IO_write_ptr = __mempcpy (f->_IO_write_ptr, s, count);
466 memcpy (f->_IO_write_ptr, s, count);
467 f->_IO_write_ptr += count;
469 s += count;
471 else if (count <
513 _IO_ssize_t count = fp->_IO_read_end - fp->_IO_read_ptr; variable
[all...]
/haiku/src/libs/iconv/
H A Dloop_wchar.h148 size_t count = wcrtomb(buf+bufcount,*inptr,&state); local
149 if (count == (size_t)(-1)) {
152 count = 0;
193 bufcount += count;
194 if (count == 0) {
438 size_t count = (inleft <= outleft ? inleft : outleft); local
439 if (count > 0) {
440 *inbytesleft -= count * sizeof(wchar_t);
441 *outbytesleft -= count * sizeof(wchar_t);
449 } while (--count >
[all...]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.cpp262 int32 count = 0; local
264 + fInode->Node().ExtraInodeSize(), end, name, index, &count,
267 index -= count;
290 const char* name, int32 index, int32 *count, ext2_xattr_entry** _entry)
295 return _FindAttribute(start + sizeof(uint32), end, name, index, count,
302 int32 index, int32 *count, ext2_xattr_entry** _entry)
310 count, _entry);
316 int32 index, int32 *count, ext2_xattr_entry** _entry)
337 if (count != NULL)
338 *count
289 _FindAttributeBody(const uint8* start, const uint8* end, const char* name, int32 index, int32 *count, ext2_xattr_entry** _entry) argument
301 _FindAttributeBlock(const uint8* start, const uint8* end, const char* name, int32 index, int32 *count, ext2_xattr_entry** _entry) argument
315 _FindAttribute(const uint8* start, const uint8* end, const char* name, int32 index, int32 *count, ext2_xattr_entry** _entry) argument
[all...]
H A DHTreeEntryIterator.cpp118 TRACE("HTreeEntryIterator::Init() count %u limit %u\n",
229 TRACE("HTreeEntryIterator::GetNext(): current entry: %u count: %u, "
330 uint16 count = countLimit->Count(); local
332 if (count == countLimit->Limit()) {
359 memmove(&entries[fFirstEntry + count / 2], &secondBlockEntries[1],
360 (count - count / 2) * sizeof(HTreeEntry));
365 "current entry: %u\n", count, fCurrentEntry);
367 if (count > 0) {
369 fCurrentEntry + 2, fCurrentEntry + 1, count
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_if_media.c149 ifmedia_list_add(ifm, lp, count)
152 int count;
156 for (i = 0; i < count; i++)
267 int *kptr, count; local
278 count = 0;
282 * If there are more interfaces on the list, count
309 for (; ep != NULL && count < ifmr->ifm_count;
310 ep = LIST_NEXT(ep, ifm_list), count++)
311 kptr[count] = ep->ifm_media;
316 count
[all...]
/haiku/src/libs/icon/shape/
H A DShape.cpp123 int32 count = other.fPaths->CountItems(); local
124 for (int32 i = 0; i < count; i++) {
131 int32 count = other.Transformers()->CountItems(); local
132 for (int32 i = 0; i < count; i++) {
216 int32 count = fTransformers.CountItems(); local
217 for (int32 i = 0; i < count; i++) {
454 int32 count = fTransformers.CountItems(); local
455 for (int32 i = 0; i < count; i++) {
507 int32 count = listeners.CountItems(); local
508 for (int32 i = 0; i < count;
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DRequestBuilder.cpp97 RequestBuilder::Commit(uint64 offset, uint32 count) argument
106 fRequest->Stream().AddUInt(count);
116 uint32 count, const char* path)
134 _EncodeAttrs(fRequest->Stream(), attr, count);
164 RequestBuilder::GetAttr(Attribute* attrs, uint32 count) argument
172 _AttrBitmap(fRequest->Stream(), attrs, count);
366 RequestBuilder::Nverify(AttrValue* attr, uint32 count) argument
374 _EncodeAttrs(fRequest->Stream(), attr, count);
385 uint32 count, bool excl, OpenDelegation delegationType)
408 _EncodeAttrs(fRequest->Stream(), attr, count);
115 Create(FileType type, const char* name, AttrValue* attr, uint32 count, const char* path) argument
383 Open(OpenClaim claim, uint32 seq, uint32 access, uint64 id, OpenCreate oc, uint64 ownerId, const char* name, AttrValue* attr, uint32 count, bool excl, OpenDelegation delegationType) argument
628 SetAttr(const uint32* id, uint32 stateSeq, AttrValue* attr, uint32 count) argument
749 Verify(AttrValue* attr, uint32 count) argument
823 _AttrBitmap(XDR::WriteStream& stream, Attribute* attrs, uint32 count) argument
841 _EncodeAttrs(XDR::WriteStream& stream, AttrValue* attr, uint32 count) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp192 int32 count = CountItems(); local
193 if (fDropIndex < 0 || fDropIndex > count)
194 fDropIndex = count;
352 int32 count = fSelection->CountSelected(); local
353 for (int32 i = 0; i < count; i++) {
362 count = selectedItems.CountItems();
363 if (count == 0) {
367 count = CountItems();
368 for (int32 i = 0; i < count; i++) {
488 int32 count local
520 int32 count = items.CountItems(); local
542 int32 count = items.CountItems(); local
607 int32 count = 0; local
633 int32 count = selectables.CountItems(); local
678 int32 count = CountItems(); local
910 int count = CountSelectedItems(); local
1000 int32 count = CountItems(); local
[all...]
/haiku/src/system/libroot/posix/
H A Dspawn.cpp56 int count; member in struct:_posix_spawn_file_actions
99 for (int i = 0; i < actions->count; i++) {
129 if (actions->count == actions->size
135 struct _file_action *action = &actions->actions[actions->count];
141 actions->count++;
158 if (actions->count == actions->size
163 struct _file_action *action = &actions->actions[actions->count];
166 actions->count++;
183 if (actions->count == actions->size
188 struct _file_action *action = &actions->actions[actions->count];
[all...]

Completed in 276 milliseconds

<<21222324252627282930>>