/haiku/src/apps/icon-o-matic/shape/commands/ |
H A D | AddTransformersCommand.cpp | 24 const Transformer* const* transformers, int32 count, int32 index) 25 : AddCommand<Transformer>(container, transformers, count, true, index) 23 AddTransformersCommand(Container<Transformer>* container, const Transformer* const* transformers, int32 count, int32 index) argument
|
H A D | SplitPointsCommand.cpp | 32 int32 count) 41 if (indices && count > 0) { 42 fIndex = new (nothrow) int32[count]; 43 fPoint = new (nothrow) BPoint[count]; 44 fPointIn = new (nothrow) BPoint[count]; 45 fPointOut = new (nothrow) BPoint[count]; 46 fConnected = new (nothrow) bool[count]; 47 fCount = count; 53 memcpy(fIndex, indices, count * sizeof(int32)); 54 for (int32 i = 0; i < count; 30 SplitPointsCommand(VectorPath* path, const int32* indices, int32 count) argument [all...] |
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | BlockAllocator.cpp | 164 BlockAllocator::Allocate(uint64 baseHint, uint64 count, argument 170 count); 179 status_t error = _Allocate(baseHint, fTotalBlocks, count, transaction, 187 error = _Allocate(0, baseHint, count, transaction, &_allocatedBase, 197 BlockAllocator::AllocateExactly(uint64 base, uint64 count, argument 203 base, count); 206 status_t error = _Allocate(base, fTotalBlocks, count, transaction, NULL, 211 if (allocated < count) 219 BlockAllocator::Free(uint64 base, uint64 count, Transaction& transaction) argument 223 status_t error = _Free(base, count, transactio 232 ResetFreeBlocks(uint64 count) argument 259 _Allocate(uint64 base, uint64 searchEnd, uint64 count, Transaction& transaction, uint64* _allocatedBase, uint64& _allocatedCount) argument 355 _AllocateInGroup(uint64 base, uint64 searchEnd, uint32 count, Transaction& transaction, uint64* _allocatedBase, uint32& _allocatedCount) argument 485 _AllocateInBitmapBlock(uint64 base, uint32 count, Transaction& transaction, uint64* _allocatedBase, uint32& _allocatedCount) argument 588 _Free(uint64 base, uint64 count, Transaction& transaction) argument 618 _FreeInGroup(uint64 base, uint32 count, Transaction& transaction) argument 665 _FreeInBitmapBlock(uint64 base, uint32 count, Transaction& transaction) argument [all...] |
H A D | BlockAllocator.h | 28 status_t Allocate(uint64 baseHint, uint64 count, 33 uint64 count, Transaction& transaction); 34 status_t Free(uint64 base, uint64 count, 37 void ResetFreeBlocks(uint64 count); 42 uint64 count, Transaction& transaction, 46 uint32 count, Transaction& transaction, 50 uint32 count, Transaction& transaction, 54 status_t _Free(uint64 base, uint64 count, 56 status_t _FreeInGroup(uint64 base, uint32 count, 58 status_t _FreeInBitmapBlock(uint64 base, uint32 count, [all...] |
/haiku/headers/private/fs_shell/ |
H A D | fssh_unistd.h | 61 extern fssh_ssize_t fssh_read(int fd, void *buffer, fssh_size_t count); 63 fssh_size_t count); 64 extern fssh_ssize_t fssh_pread(int fd, void *buffer, fssh_size_t count, 66 extern fssh_ssize_t fssh_write(int fd, const void *buffer, fssh_size_t count); 68 fssh_size_t count); 69 extern fssh_ssize_t fssh_pwrite(int fd, const void *buffer, fssh_size_t count,
|
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | List.h | 18 List(int32 count = 10) 19 : BList(count) {} 64 inline bool RemoveItems(int32 index, int32 count) argument 65 { return BList::RemoveItems(index, count); } 70 int32 count = CountItems(); local 71 for (int32 i = 0; i < count; i++)
|
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | AutoPackageAttributeDirectoryCookie.cpp | 30 uint32 count = 0; local 39 if (count >= maxCount) 43 if (count > 0) { 65 if (count == 0) 74 count++; 85 *_count = count;
|
/haiku/src/kits/shared/ |
H A D | WeakReferenceable.cpp | 32 int32 count = -11; local 35 count = atomic_get(&fUseCount); 36 if (count == 0) 38 } while (atomic_test_and_set(&fUseCount, count + 1, count) != count); 88 "reference count (%" B_PRId32 ")", this, fPointer->UseCount());
|
/haiku/src/apps/icon-o-matic/transformable/ |
H A D | ResetTransformationCommand.cpp | 30 int32 count) 32 fObjects(objects && count > 0 ? 33 new (nothrow) Transformable*[count] : NULL), 34 fOriginals(objects && count > 0 ? 36 count * Transformable::matrix_size] : NULL), 37 fCount(count) 28 ResetTransformationCommand( Transformable** const objects, int32 count) argument
|
/haiku/src/tests/kits/media/nodetest/ |
H A D | main.cpp | 105 int32 count; local 108 rv = roster->GetAllOutputsFor(sourceNode,outputs,2,&count); 110 out("Found %ld\n",count); 111 rv = (count == 1) ? B_OK : B_ERROR; 115 rv = roster->GetAllInputsFor(destinationNode,inputs,2,&count); 117 out("Found %ld\n",count); 118 rv = (count == 1) ? B_OK : B_ERROR; 122 rv = roster->GetAllInputsFor(sourceNode,inputs,2,&count); 124 out("Found %ld\n",count); 127 rv = roster->GetAllOutputsFor(destinationNode,outputs,2,&count); [all...] |
/haiku/src/system/libroot/posix/unistd/ |
H A D | exec.cpp | 26 int count = 0; local 29 count++; 36 return count; 43 int count = 0; local 46 args[count++] = arg; 50 args[count] = NULL; 176 int count; local 178 // count arguments 181 count = count_arguments(list, arg, NULL); 186 args = (const char**)alloca((count 200 int count; local 225 int count; local [all...] |
/haiku/src/kits/storage/ |
H A D | ResourcesContainer.cpp | 44 int32 count = CountResources(); local 45 if (index < 0 || index > count) 46 index = count; 114 int32 count = CountResources(); local 115 for (int32 i = 0; index == -1 && i < count; i++) { 128 int32 count = CountResources(); local 129 for (int32 i = 0; index == -1 && i < count; i++) { 142 int32 count = CountResources(); local 143 for (int32 i = 0; index == -1 && i < count; i++) { 160 int32 count local 193 int32 count = CountResources(); local 204 int32 count = CountResources(); local [all...] |
/haiku/src/kits/tracker/ |
H A D | PoseList.cpp | 46 int32 count = CountItems(); local 47 for (int32 index = 0; index < count; index++) { 65 int32 count = CountItems(); local 66 for (int32 index = 0; index < count; index++) { 90 int32 count = CountItems(); local 91 for (int32 index = 0; index < count; index++) { 120 int32 count = CountItems(); local 122 for (int32 index = 0; index < count; index++) { 153 int32 count = CountItems(); local 154 for (int32 index = 0; index < count; inde [all...] |
/haiku/src/tests/kits/app/bmessagerunner/ |
H A D | SetCountTester.cpp | 47 bigtime_t interval = 0, int32 count = 0) 54 CHK(runnerCount == count); 59 status_t SetCount(int32 count) 60 @case 1 object is not properly initialized, count > 0 71 int32 count = 0; local 72 BMessageRunner runner(target, &message, interval, count); 82 status_t SetCount(int32 count) 84 all its messages and thus became unusable, count > 0 95 int32 count = 1; local 96 BMessageRunner runner(target, &message, interval, count); 123 int32 count = 5; local 160 int32 count = 5; local 196 int32 count = -1; local 234 int32 count = 5; local 277 int32 count = 5; local [all...] |
/haiku/src/libs/iconv/ |
H A D | utf7.h | 72 int count = 0; /* number of input bytes already read */ local 81 if (n < count+1) 88 return count+1; 91 if (n < count+2) 96 return count+2; 98 s++; count++; 134 s++; count++; 162 if (n < count+base64count+1) 177 return count+base64count; 182 return RET_TOOFEW(count); 210 int count = 0; local 326 unsigned int count = ((state & 3) >= 2 ? 1 : 0) + 1; local [all...] |
H A D | big5hkscs2004.h | 121 int count = 0; local 143 count = 2; 149 if (n > count) { 152 return count+1; 164 if (n >= count+2) { 168 return count+2; 181 return count+0; 183 if (n >= count+2) { 187 return count+2; 194 if (n >= count [all...] |
H A D | big5hkscs1999.h | 109 int count = 0; local 131 count = 2; 137 if (n > count) { 140 return count+1; 152 if (n >= count+2) { 156 return count+2; 169 return count+0; 171 if (n >= count+2) { 175 return count+2;
|
/haiku/src/apps/networkstatus/ |
H A D | RadioView.cpp | 96 int32 count; local 98 _Compute(rect, center, count, maxCount, step); 100 for (int32 i = 0; i < count; i++) { 101 _SetColor(view, percent, 0, i, count); 102 _DrawBow(view, i, center, count, step); 154 int32 count; local 156 _Compute(Bounds(), center, count, fMax, step); local 158 for (int32 i = 0; i < count; i++) { 159 _SetColor(this, fPercent, fPhase, i, count); 160 if (step == kMinStep && _IsDisabled(fPercent, i, count)) 183 int32 count; local 185 _Compute(Bounds(), center, count, fMax, step); local 194 _Compute(const BRect& bounds, BPoint& center, int32& count, int32 max, float& step) argument 211 _DrawBow(BView* view, int32 index, const BPoint& center, int32 count, float step) argument 227 _SetColor(BView* view, int32 percent, int32 phase, int32 index, int32 count) argument 244 _IsDisabled(int32 percent, int32 index, int32 count) argument [all...] |
/haiku/src/kits/storage/mime/ |
H A D | MimeSnifferAddonManager.cpp | 148 int32 count = 0; local 149 status_t error = _GetAddons(addons, count); 155 for (int32 i = 0; i < count; i++) { 166 _PutAddons(addons, count); 178 int32 count = 0; local 179 status_t error = _GetAddons(addons, count); 185 for (int32 i = 0; i < count; i++) { 196 _PutAddons(addons, count); 203 MimeSnifferAddonManager::_GetAddons(AddonReference**& references, int32& count) argument 209 count 224 _PutAddons(AddonReference** references, int32 count) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/ |
H A D | Requests.cpp | 9 if (*count >= MAX_REQUEST_ADDRESS_COUNT) \ 11 infos[*count].address = &_address; \ 12 infos[*count].flags = _flags; \ 13 infos[(*count)++].max_size = INT32_MAX; // TODO:... 23 FSConnectRequest::GetAddressInfos(AddressInfo* infos, int32* count) argument 31 FSConnectReply::GetAddressInfos(AddressInfo* infos, int32* count) argument 39 MountVolumeRequest::GetAddressInfos(AddressInfo* infos, int32* count) argument 49 //InitializeVolumeRequest::GetAddressInfos(AddressInfo* infos, int32* count) 58 GetVNodeNameReply::GetAddressInfos(AddressInfo* infos, int32* count) argument 66 CreateRequest::GetAddressInfos(AddressInfo* infos, int32* count) argument 74 GetAddressInfos(AddressInfo* infos, int32* count) argument 82 GetAddressInfos(AddressInfo* infos, int32* count) argument 90 GetAddressInfos(AddressInfo* infos, int32* count) argument 98 GetAddressInfos(AddressInfo* infos, int32* count) argument 106 GetAddressInfos(AddressInfo* infos, int32* count) argument 114 GetAddressInfos(AddressInfo* infos, int32* count) argument 122 GetAddressInfos(AddressInfo* infos, int32* count) argument 131 GetAddressInfos(AddressInfo* infos, int32* count) argument 139 GetAddressInfos(AddressInfo* infos, int32* count) argument 148 GetAddressInfos(AddressInfo* infos, int32* count) argument 156 GetAddressInfos(AddressInfo* infos, int32* count) argument 164 GetAddressInfos(AddressInfo* infos, int32* count) argument 172 GetAddressInfos(AddressInfo* infos, int32* count) argument 180 GetAddressInfos(AddressInfo* infos, int32* count) argument 188 GetAddressInfos(AddressInfo* infos, int32* count) argument 196 GetAddressInfos(AddressInfo* infos, int32* count) argument 204 GetAddressInfos(AddressInfo* infos, int32* count) argument 212 GetAddressInfos(AddressInfo* infos, int32* count) argument 220 GetAddressInfos(AddressInfo* infos, int32* count) argument 228 GetAddressInfos(AddressInfo* infos, int32* count) argument 237 GetAddressInfos(AddressInfo* infos, int32* count) argument 245 GetAddressInfos(AddressInfo* infos, int32* count) argument 253 GetAddressInfos(AddressInfo* infos, int32* count) argument 261 GetAddressInfos(AddressInfo* infos, int32* count) argument 269 GetAddressInfos(AddressInfo* infos, int32* count) argument 277 GetAddressInfos(AddressInfo* infos, int32* count) argument 285 GetAddressInfos(AddressInfo* infos, int32* count) argument 293 GetAddressInfos(AddressInfo* infos, int32* count) argument 302 GetAddressInfos(AddressInfo* infos, int32* count) argument 310 GetAddressInfos(AddressInfo* infos, int32* count) argument 318 GetAddressInfos(AddressInfo* infos, int32* count) argument 326 GetAddressInfos(AddressInfo* infos, int32* count) argument 334 GetAddressInfos(AddressInfo* infos, int32* count) argument 345 RequestAddressInfoGetter(AddressInfo* infos, int32* count) argument 363 get_request_address_infos(Request* request, AddressInfo* infos, int32* count) argument 408 RequestRelocator(int32 requestBufferSize, area_id* areas, int32* count) argument 436 int32 count = 0; local 509 relocate_request(Request* request, int32 requestBufferSize, area_id* areas, int32* count) argument [all...] |
/haiku/src/apps/debuganalyzer/model/ |
H A D | ThreadModel.cpp | 16 Model::ThreadWaitObject** waitObjects, int32 count) 19 fCount(count), 59 int32 count = end - start; local 60 if (start < 0 || count <= 0 || waitObjects.CountItems() < end) 65 = new(std::nothrow) Model::ThreadWaitObject*[count]; 69 for (int32 i = 0; i < count; i++) 73 WaitObjectGroup* group = new(std::nothrow) WaitObjectGroup(objects, count); 15 WaitObjectGroup( Model::ThreadWaitObject** waitObjects, int32 count) argument
|
/haiku/src/apps/haikudepot/edits_generic/ |
H A D | CompoundEdit.cpp | 37 int32 count = static_cast<int32>(fEdits.size()); local 39 for (; i < count; i++) { 62 int32 count = static_cast<int32>(fEdits.size()); local 63 int32 i = count - 1; 73 for (; i < count; i++) { 87 int32 count = static_cast<int32>(fEdits.size()); local 89 for (; i < count; i++) {
|
/haiku/src/system/kernel/arch/x86/ |
H A D | msi.cpp | 48 msi_allocate_vectors(uint32 count, uint32 *startVector, uint64 *address, argument 55 status_t result = allocate_io_interrupt_vectors(count, &vector, 61 free_io_interrupt_vectors(count, vector); 76 count, *startVector); 82 msi_free_vectors(uint32 count, uint32 startVector) argument 89 dprintf("msi_free_vectors: freeing %" B_PRIu32 " vectors starting from %" B_PRIu32 "\n", count, 92 free_io_interrupt_vectors(count, startVector);
|
/haiku/src/add-ons/accelerants/radeon/ |
H A D | generic.h | 29 void SET_INDEXED_COLORS(uint count, uint8 first, uint8 *color_data, uint32 flags); 48 void SCREEN_TO_SCREEN_BLIT(engine_token *et, blit_params *list, uint32 count); 49 void FILL_RECTANGLE(engine_token *et, uint32 color, fill_rect_params *list, uint32 count); 50 void INVERT_RECTANGLE(engine_token *et, fill_rect_params *list, uint32 count); 52 void FILL_SPAN(engine_token *et, uint32 color, uint16 *list, uint32 count); 54 void SCREEN_TO_SCREEN_BLIT_DMA(engine_token *et, blit_params *list, uint32 count); 55 void FILL_RECTANGLE_DMA(engine_token *et, uint32 color, fill_rect_params *list, uint32 count); 56 void INVERT_RECTANGLE_DMA(engine_token *et, fill_rect_params *list, uint32 count); 58 void FILL_SPAN_DMA(engine_token *et, uint32 color, uint16 *list, uint32 count); 60 void SCREEN_TO_SCREEN_BLIT_PIO(engine_token *et, blit_params *list, uint32 count); [all...] |
/haiku/src/kits/interface/ |
H A D | Polygon.cpp | 25 BPolygon::BPolygon(const BPoint* points, int32 count) argument 31 _AddPoints(points, count, true); 97 BPolygon::AddPoints(const BPoint* points, int32 count) argument 99 _AddPoints(points, count, true); 157 BPolygon::_AddPoints(const BPoint* points, int32 count, bool computeBounds) argument 159 if (points == NULL || count <= 0) 161 if (count > MAX_POINT_COUNT || (fCount + count) > MAX_POINT_COUNT) { 163 "\n", count); 167 BPoint* newPoints = (BPoint*)realloc((void*)fPoints, (fCount + count) [all...] |