/haiku/src/kits/device/ |
H A D | SerialPort.cpp | 84 for (int32 count = fDevices->CountItems() - 1; count >= 0; count--) 85 free(fDevices->RemoveItem(count)); 149 \param count The maximum amount of bytes to read. 153 BSerialPort::Read(void *buf, size_t count) argument 155 ssize_t err = read(ffd, buf, count); 163 \param count The amount of bytes to write. 166 BSerialPort::Write(const void *buf, size_t count) argument 168 ssize_t err = write(ffd, buf, count); 495 int32 count = 0; local [all...] |
/haiku/src/apps/deskcalc/ |
H A D | ExpressionTextView.cpp | 52 int32 count = fPreviousExpressions.CountItems(); local 53 for (int32 i = 0; i < count; i++) 144 int32 count = fPreviousExpressions.CountItems(); local 145 if (fHistoryPos == count && fCurrentValue.CountChars() > 0) { 379 int32 count = fPreviousExpressions.CountItems(); local 380 for (int32 i = 0; i < count; i++) { 385 count--; 406 int32 count = fPreviousExpressions.CountItems(); local 407 if (fHistoryPos == count) { 427 int32 count local 464 int32 count = fPreviousExpressions.CountItems(); local [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | lcnalloc.c | 199 * @count: number of clusters to allocate 203 * Allocate @count clusters preferably starting at cluster @start_lcn or at the 235 runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count, argument 251 ntfs_log_enter("Entering with count = 0x%llx, start_lcn = 0x%llx, " 252 "zone = %s_ZONE.\n", (long long)count, (long long) 255 if (!vol || count < 0 || start_lcn < -1 || !vol->lcnbmp_na || 258 ntfs_log_perror("%s: vcn: %lld, count: %lld, lcn: %lld", 260 (long long)count, (long long)start_lcn); 264 /* Return empty runlist if @count == 0 */ 265 if (!count) { 620 ntfs_cluster_free_basic(ntfs_volume *vol, s64 lcn, s64 count) argument 667 ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn, s64 count) argument [all...] |
/haiku/src/kits/interface/textview_support/ |
H A D | LineBuffer.cpp | 32 BTextView::LineBuffer::RemoveLines(int32 index, int32 count) argument 34 RemoveItemsAt(count, index); 44 int32 count = toLine - fromLine; local 45 if (count > 0) 46 RemoveLines(fromLine + 1, count);
|
/haiku/src/libs/print/libprint/ |
H A D | PagesView.cpp | 56 void PagesView::_DrawPages(BPoint position, int number, int count) argument 58 position.x += kPageHorizontalIndent * (count - 1); 61 for (int i = 0; i < count; i ++) { 66 page = count - i; 72 for (int i = 0; i < count; i ++) {
|
/haiku/src/tests/kits/game/chart/ |
H A D | ChartRender.cpp | 114 int32 i, j, k, count; local 129 count = 0; 145 count++; 150 count++; 157 count++; 176 count++; 180 pattern_list_count[j*LEVEL_COUNT + i] = count; 400 int32 i, index, count; local 409 count = pattern_list_count[s->pattern_level]; 410 if (count 474 int32 i, index, count; local [all...] |
/haiku/src/kits/tracker/ |
H A D | MimeTypeList.cpp | 141 int32 count = fCommonMimeList.CountItems(); local 142 for (int32 index = 0; index < count; index++) { 159 int32 count; local 161 message.GetInfo("types", &type, &count); 163 for (int32 index = 0; index < count; index++) {
|
/haiku/src/preferences/repositories/ |
H A D | RepositoriesSettings.cpp | 58 int32 count; local 59 settings.GetInfo(key_name, &type, &count); 65 for (index = 0; index < count; index++) { 87 int32 index, count = nameList.CountStrings(); local 88 for (index = 0; index < count; index++) {
|
/haiku/src/system/kernel/vm/ |
H A D | VMAnonymousCache.h | 61 size_t count, uint32 flags, 64 size_t count, uint32 flags, 67 const generic_io_vec* vecs, size_t count, 87 swap_addr_t slotIndex, uint32 count); 88 void _SwapBlockFree(off_t pageIndex, uint32 count);
|
/haiku/src/add-ons/accelerants/vesa/ |
H A D | accelerant_protos.h | 39 void vesa_set_indexed_colors(uint count, uint8 first, uint8 *colorData, 58 uint32 count); 60 uint32 count); 62 uint32 count); 63 void vesa_fill_span(engine_token *et, uint32 color, uint16 *list, uint32 count);
|
/haiku/src/apps/icon-o-matic/generic/command/ |
H A D | AddCommand.h | 50 int32 count, 74 const Type* const* items, int32 count, bool ownsItems, int32 index) 77 fItems(items && count > 0 ? new (nothrow) Type*[count] : NULL), 78 fCount(count), 73 AddCommand(Container<Type>* container, const Type* const* items, int32 count, bool ownsItems, int32 index) argument
|
/haiku/src/servers/registrar/ |
H A D | MessageRunnerManager.cpp | 129 \param count The number of times the message shall be sent. 133 bigtime_t interval, int32 count, BMessenger replyTarget) 139 count(count), 164 if (count > 0) 165 count--; 175 if (count > 0) { 197 int32 count; /*!< The number of times the message shall be member in struct:MessageRunnerManager::RunnerInfo 260 int32 count; local 272 if (error == B_OK && request->FindInt32("count", 132 RunnerInfo(team_id team, int32 token, BMessenger target, BMessage *message, bigtime_t interval, int32 count, BMessenger replyTarget) argument 381 int32 count; local [all...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | file_map_test.cpp | 191 uint32 count = 0; local 194 if (count >= *_vecCount) 200 vecs[count].offset = fVecs[index].offset + diff; 201 vecs[count].length = fVecs[index].length - diff; 202 _Verbose(" [%lu] offset %lld, length %lld", count, 203 vecs[count].offset, vecs[count].length); 205 length -= vecs[count].length; 206 offset += vecs[count].length; 208 count [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | RootInode.cpp | 85 uint32 count, next = 0; local 86 result = reply.GetAttr(&values, &count); 90 if (count >= next && values[next].fAttribute == FATTR4_FILES_FREE) { 95 if (count >= next && values[next].fAttribute == FATTR4_FILES_TOTAL) { 101 if (count >= next && values[next].fAttribute == FATTR4_MAXREAD) { 106 if (count >= next && values[next].fAttribute == FATTR4_MAXWRITE) { 119 if (count >= next && values[next].fAttribute == FATTR4_SPACE_FREE) { 124 if (count >= next && values[next].fAttribute == FATTR4_SPACE_TOTAL) { 204 uint32 count; local 205 result = reply.GetAttr(attrv, &count); [all...] |
/haiku/src/apps/debuganalyzer/gui/table/ |
H A D | TreeTable.h | 57 int32 count); 60 int32 count); 63 int32 count); 92 int32 childIndex, int32 count); 94 int32 childIndex, int32 count); 96 int32 childIndex, int32 count); 218 int32 count); 221 int32 count); 224 int32 count); 239 int32 childIndex, int32 count, [all...] |
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/quickcam/ |
H A D | QuickCamDevice.cpp | 104 QuickCamDevice::WriteReg(uint16 address, uint8 *data, size_t count) argument 106 PRINT((CH "(%u, @%p, %" B_PRIuSIZE ")" CT, address, data, count)); 107 return SendCommand(USB_REQTYPE_DEVICE_OUT, 0x04, address, 0, count, data); 112 QuickCamDevice::ReadReg(uint16 address, uint8 *data, size_t count, bool cached) argument 114 PRINT((CH "(%u, @%p, %" B_PRIuSIZE ", %d)" CT, address, data, count, 116 memset(data, 0xaa, count); // linux drivers do that without explaining why !? 117 return SendCommand(USB_REQTYPE_DEVICE_IN, 0x04, address, 0, count, data); 143 QuickCamDevice::WriteIIC(uint8 address, uint8 *data, size_t count) argument 147 if (count > 16) 151 buffer[0x21] = count [all...] |
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/ |
H A D | NW80xCamDevice.cpp | 139 NW80xCamDevice::WriteReg(uint16 address, uint8 *data, size_t count) argument 141 PRINT((CH "(%u, @%p, %" B_PRIuSIZE ")" CT, address, data, count)); 142 return SendCommand(USB_REQTYPE_DEVICE_OUT, 0x04, address, 0, count, data); 147 NW80xCamDevice::ReadReg(uint16 address, uint8 *data, size_t count, bool cached) argument 149 PRINT((CH "(%u, @%p, %" B_PRIuSIZE ", %d)" CT, address, data, count, 151 memset(data, 0xaa, count); // linux drivers do that without explaining why !? 152 return SendCommand(USB_REQTYPE_DEVICE_IN, 0x04, address, 0, count, data); 178 NW80xCamDevice::WriteIIC(uint8 address, uint8 *data, size_t count) argument 182 if (count > 16) 186 buffer[0x21] = count [all...] |
/haiku/src/add-ons/accelerants/radeon/ |
H A D | EngineManagment.c | 65 if( ai->si->engine.count == ai->si->engine.written ) 79 WRITE_IB_REG( RADEON_SCRATCH_REG0, ai->si->engine.count ); 81 ai->si->engine.written = ai->si->engine.count; 90 ai->si->engine.written = ai->si->engine.count; 133 st->counter = si->engine.count; 163 st->counter = si->engine.count; 165 SHOW_FLOW( 4, "got counter=%d", si->engine.count );
|
/haiku/src/add-ons/accelerants/skeleton/ |
H A D | be_driver_proto.h | 31 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 SCREEN_TO_SCREEN_TRANSPARENT_BLIT(engine_token *et, uint32 transparent_colour, blit_params *list, uint32 count); 50 void SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT(engine_token *et, scaled_blit_params *list, uint32 count); 51 void FILL_RECTANGLE(engine_token *et, uint32 color, fill_rect_params *list, uint32 count); 52 void INVERT_RECTANGLE(engine_token *et, fill_rect_params *list, uint32 count); 53 void FILL_SPAN(engine_token *et, uint32 color, uint16 *list, uint32 count);
|
/haiku/src/add-ons/accelerants/via/ |
H A D | be_driver_proto.h | 31 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 SCREEN_TO_SCREEN_TRANSPARENT_BLIT(engine_token *et, uint32 transparent_colour, blit_params *list, uint32 count); 50 void SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT(engine_token *et, scaled_blit_params *list, uint32 count); 51 void FILL_RECTANGLE(engine_token *et, uint32 color, fill_rect_params *list, uint32 count); 52 void INVERT_RECTANGLE(engine_token *et, fill_rect_params *list, uint32 count); 53 void FILL_SPAN(engine_token *et, uint32 color, uint16 *list, uint32 count);
|
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | OptionProperty.cpp | 35 int32 count = other.fOptions.CountItems(); local 36 for (int32 i = 0; i < count; i++) { 64 int32 count = fOptions.CountItems(); local 65 for (int32 i = 0; i < count; i++) 118 int32 count = fOptions.CountItems(); local 119 for (int32 i = 0; i < count; i++) { 131 for (int32 i = 0; i < count; i++) {
|
/haiku/src/system/kernel/cache/ |
H A D | vnode_store.cpp | 46 VMVnodeCache::Read(off_t offset, const generic_io_vec* vecs, size_t count, argument 51 status_t status = vfs_read_pages(fVnode, NULL, offset, vecs, count, 69 for (int32 i = count; i-- > 0 && bytesUntouched != 0;) { 86 VMVnodeCache::Write(off_t offset, const generic_io_vec* vecs, size_t count, argument 89 return vfs_write_pages(fVnode, NULL, offset, vecs, count, flags, _numBytes); 94 VMVnodeCache::WriteAsync(off_t offset, const generic_io_vec* vecs, size_t count, argument 97 return vfs_asynchronous_write_pages(fVnode, NULL, offset, vecs, count,
|
/haiku/src/add-ons/accelerants/neomagic/ |
H A D | be_driver_proto.h | 29 void SET_INDEXED_COLORS(uint count, uint8 first, uint8 *color_data, uint32 flags); 46 void SCREEN_TO_SCREEN_BLIT(engine_token *et, blit_params *list, uint32 count); 47 void SCREEN_TO_SCREEN_TRANSPARENT_BLIT(engine_token *et, uint32 transparent_colour, blit_params *list, uint32 count); 48 void SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT(engine_token *et, scaled_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); 51 void FILL_SPAN(engine_token *et, uint32 color, uint16 *list, uint32 count);
|
/haiku/src/add-ons/accelerants/nvidia/ |
H A D | be_driver_proto.h | 35 void SET_INDEXED_COLORS(uint count, uint8 first, uint8 *color_data, uint32 flags); 54 void SCREEN_TO_SCREEN_BLIT_PIO(engine_token *et, blit_params *list, uint32 count); 55 void SCREEN_TO_SCREEN_TRANSPARENT_BLIT_PIO(engine_token *et, uint32 transparent_colour, blit_params *list, uint32 count); 56 void SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT_PIO(engine_token *et, scaled_blit_params *list, uint32 count); 57 void FILL_RECTANGLE_PIO(engine_token *et, uint32 color, fill_rect_params *list, uint32 count); 58 void INVERT_RECTANGLE_PIO(engine_token *et, fill_rect_params *list, uint32 count); 59 void FILL_SPAN_PIO(engine_token *et, uint32 color, uint16 *list, uint32 count);
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | AddOn.cpp | 67 int32 count; local 75 count = fRoster->CountCameras(); 76 return count;//(count > 0)?count:1;//1; 88 int32 count; local 95 count = fRoster->CountCameras(); 96 PRINT((CH ": %d cameras" CT, count)); 97 if (n >= count)//(n != 0)
|