Searched refs:index (Results 426 - 450 of 1857) sorted by relevance

<<11121314151617181920>>

/haiku/src/add-ons/kernel/busses/ata/legacy_sata/
H A Dlegacy_sata.cpp137 uint8 index; local
188 for (index = 0; index < num_channels; index++) {
189 command_block_base[index] &= PCI_address_io_mask;
190 control_block_base[index] &= PCI_address_io_mask;
207 for (index = 0; index < num_channels; index++) {
209 true, command_block_base[index], control_block_bas
[all...]
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp71 for (int index = 0; index < refCount; index++) {
72 fThreadDataStore->FindRef("refs", index, &ref);
74 if (index > 0) {
122 int index = 1; local
123 for (;; index++) {
126 if (index != 1)
127 tryName << " " << index; local
146 for (int index
[all...]
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Dhda_controller.cpp34 #define HDAC_INPUT_STREAM_OFFSET(controller, index) \
35 ((index) * HDAC_STREAM_SIZE)
36 #define HDAC_OUTPUT_STREAM_OFFSET(controller, index) \
37 (((controller)->num_input_streams + (index)) * HDAC_STREAM_SIZE)
38 #define HDAC_BIDIR_STREAM_OFFSET(controller, index) \
40 + (index)) * HDAC_STREAM_SIZE)
264 uint32 index)
303 ? controller->stream_positions[index * 2]
425 for (uint32 index = 0; index < HDA_MAX_STREAM
263 stream_handle_interrupt(hda_controller* controller, hda_stream* stream, uint32 index) argument
[all...]
/haiku/src/servers/app/
H A DWorkspacesView.cpp116 /*! \brief Returns the workspace frame and index of the workspace
120 an empty rectangle is returned, and \a index is set to -1.
123 WorkspacesView::_WorkspaceAt(BPoint where, int32& index) argument
128 for (index = columns * rows; index-- > 0;) {
129 BRect workspaceFrame = _WorkspaceAt(index);
290 BRegion& redraw, int32 index)
292 BRect rect = _WorkspaceAt(index);
294 Workspace workspace(*Window()->Desktop(), index, true);
300 } else if (index
289 _DrawWorkspace(DrawingEngine* drawingEngine, BRegion& redraw, int32 index) argument
508 int32 index; local
541 int32 index; local
[all...]
H A DSystemPalette.cpp99 // init index map
111 for (int32 index = 0; index < 256; index++) {
112 rgb_color inverted = InvertColor(map->color_list[index]);
113 map->inversion_map[index] = FindClosestColor(inverted, palette);
/haiku/headers/private/userlandfs/shared/
H A DDriverSettings.h46 bool GetParameterAt(int32 index,
106 const char* ValueAt(int32 index,
108 bool BoolValueAt(int32 index,
110 int32 Int32ValueAt(int32 index,
112 int64 Int64ValueAt(int32 index,
/haiku/headers/private/storage/
H A DDriverSettings.h60 BDriverParameter ParameterAt(int32 index) const;
125 const char* ValueAt(int32 index,
127 bool BoolValueAt(int32 index,
129 int32 Int32ValueAt(int32 index,
131 int64 Int64ValueAt(int32 index,
/haiku/src/build/libbe/interface/
H A DSystemPalette.cpp97 // init index map
109 for (int32 index = 0; index < 256; index++) {
110 rgb_color inverted = InvertColor(map->color_list[index]);
111 map->inversion_map[index] = FindClosestColor(inverted, palette);
/haiku/src/system/kernel/fs/
H A Dunused_vnodes.h109 int32 index = atomic_add(&sNextHotVnodeIndex, 1);
110 if (index < kMaxHotVnodes) {
112 sHotVnodes[index] = vnode;
125 index = sNextHotVnodeIndex++;
127 sHotVnodes[index] = vnode;
/haiku/headers/os/net/
H A DNetworkInterface.h26 int32 index);
62 BNetworkInterface(uint32 index);
67 status_t SetTo(uint32 index);
87 status_t GetAddressAt(int32 index,
100 status_t RemoveAddressAt(int32 index);
/haiku/src/apps/mail/
H A DMailSupport.cpp136 int32 index = 0; local
159 if (index < 9 && !popup)
160 menu->AddItem(new BMenuItem(name, message, '1' + index));
163 index++;
167 return index;
/haiku/src/servers/bluetooth/
H A DBluetoothServer.cpp241 int index; local
242 for (index = 0; index < fLocalDevicesList.CountItems(); index ++) {
243 lDeviceImpl = fLocalDevicesList.ItemAt(index);
258 int index; local
260 for (index = 0; index < fLocalDevicesList.CountItems(); index++) {
261 LocalDeviceImpl* lDeviceImpl = fLocalDevicesList.ItemAt(index);
[all...]
/haiku/src/tests/add-ons/accelerants/intel_extreme/
H A DPllTest.cpp82 for (uint32 index = 0; index < (sizeof(kTestDevices) / sizeof(test_device));
83 index++) {
84 gInfo->shared_info->device_type = kTestDevices[index].type;
85 fprintf(stderr, "=== %s (Generation %d)\n", kTestDevices[index].name,
/haiku/src/servers/power/
H A Dpower_daemon.cpp106 uint32 index = 0; local
110 info[index].object = *it;
111 info[index].type = B_OBJECT_TYPE_FD;
112 info[index].events = B_EVENT_READ;
114 ++index;
/haiku/src/tests/kits/storage/virtualdrive/
H A Dvirtualdrive.cpp122 is_valid_device_index(int32 index) argument
124 return (index >= 0 && index < kDeviceCount);
131 is_valid_data_device_index(int32 index) argument
133 return (is_valid_device_index(index) && index != kControlDevice);
154 clear_device_info(int32 index) argument
156 TRACE(("virtualdrive: clear_device_info(%ld)\n", index));
158 device_info &info = gDeviceInfos[index];
162 info.unused = (index !
173 init_device_info(int32 index, virtual_drive_info *initInfo) argument
286 uninit_device_info(int32 index) argument
[all...]
/haiku/src/libs/icon/shape/
H A DShape.h82 virtual void ItemAdded(VectorPath* path, int32 index);
86 virtual void PointAdded(int32 index);
87 virtual void PointRemoved(int32 index);
88 virtual void PointChanged(int32 index);
97 virtual void ItemAdded(Transformer* t, int32 index);
/haiku/src/apps/haikudepot/util/
H A DAppUtils.cpp59 int32 index = AppUtils::IndexOfKeyValueInMenu(menu, key, value); local
61 if (index == -1) {
66 menu->ItemAt(index)->SetMarked(true);
87 AppUtils::GetValueForKeyAtIndexInMenu(BMenu* menu, int32 index, const BString& key, BString* result) argument
89 BMessage *itemMessage = menu->ItemAt(index)->Message();
/haiku/src/system/boot/platform/efi/
H A Ddevices.cpp92 get_next_check_sum_offset(int32 index, off_t maxSize) argument
96 if (index < 2)
97 return index * 512;
99 if (index < 4)
100 return (maxSize >> 10) + index * 2048;
102 return ((system_time() + index) % (maxSize >> 9)) * 512;
147 // partition->cookie == int partition entry index
148 uint32 index = (uint32)(addr_t)partition->cookie;
149 uint32 size = sizeof(gpt_partition_entry) * (index + 1);
156 if (memcmp(&entries[index],
[all...]
/haiku/src/bin/bfs_tools/lib/
H A DBitmap.cpp118 uint32 index = block / 32; // 32bit resolution, (beginning with block 1?) local
119 if (index > fByteSize / 4)
122 return fBitmap[index] & (1L << (block & 0x1f));
129 uint32 index = block / 32; // 32bit resolution, (beginning with block 1?) local
130 if (index > fByteSize / 4)
133 return fBackupBitmap[index] & (1L << (block & 0x1f));
140 uint32 index = block / 32; local
141 if (index > fByteSize / 4) {
149 bool oldUsed = fBackupBitmap[index] & mask;
152 fBackupBitmap[index] |
[all...]
/haiku/src/apps/haikudepot/model/
H A DLanguageModel.cpp56 LanguageModel::SupportedLanguageAt(int32 index) const
58 return fSupportedLanguages[index];
65 int32 index = _IndexOfSupportedLanguage(value->Code(), value->CountryCode(), local
68 if (-1 == index) {
77 fSupportedLanguages[index] = value;
194 int32 index = _IndexOfBestMatchingSupportedLanguage(code, countryCode, scriptCode); local
195 if (-1 != index)
196 return SupportedLanguageAt(index);
243 int32 index = _IndexOfSupportedLanguage(code, countryCode, scriptCode); local
245 if (-1 == index)
[all...]
/haiku/src/system/kernel/arch/ppc/
H A Darch_thread.cpp36 ASSERT(stack->index < IFRAME_TRACE_DEPTH);
37 stack->frames[stack->index++] = frame;
44 ASSERT(stack->index > 0);
45 stack->index--;
59 ASSERT(thread->arch_info.iframes.index >= 0);
60 return thread->arch_info.iframes.frames[thread->arch_info.iframes.index - 1];
76 for (i = thread->arch_info.iframes.index - 1; i >= 0; i--) {
/haiku/src/servers/launch/
H A DBaseJob.cpp142 for (int32 index = 0; message.GetInfo(B_STRING_TYPE, index, &name, &type,
143 &count) == B_OK; index++) {
173 for (int32 index = 0; index < count; index++) {
174 _GetSourceFileEnvironment(fSourceFiles.StringAt(index), environment);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DTree.cpp194 int32 index = 0; local
196 while (iterator.GetPrevious(&dirItem, &index) == B_OK) {
199 = dirItem.EntryNameAt(index, &itemNameLen)) {
204 *entryIndex = index;
219 int32 index = dirItem.IndexOfName(name); local
220 if (index >= 0) {
223 *entryIndex = index;
225 //PRINT((" offset: %lu\n", dirItem.EntryAt(index)->GetOffset()));
/haiku/src/bin/
H A Dlsindex.cpp27 " -v --verbose\t gives index type, dates and owner\n"
198 fprintf(stderr, "%s: can't open index dir of device %" B_PRIdDEV "\n",
211 dirent *index = fs_read_index_dir(indices); local
212 if (index == NULL) {
224 if (fs_stat_index(device, index->d_name, &info) != B_OK) {
231 print_index_verbose_stat(info, index->d_name);
233 print_index_long_stat(info, index->d_name);
237 index->d_name);
240 printf("%s\n", index->d_name);
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapBilinear.h30 uint16 index; // index into source bitmap row/column member in struct:BitmapPainterPrivate::FilterInfo
31 uint16 weight; // weight of the pixel at index [0..255]
254 this->fWeightsY[y1].index);
261 const uint8* s = src + this->fWeightsX[x].index;
280 const uint8* s = src + this->fWeightsX[xIndexR].index;
295 = this->fSource->row_ptr(this->fWeightsY[y2].index);
301 const uint8* s = src + this->fWeightsX[x].index;
312 const uint8* s = src + this->fWeightsX[xIndexR].index;
335 const uint8* src = fSource->row_ptr(fWeightsY[y1].index);
550 float index = (i + filterData.fIndexOffsetX) * (srcWidth - 1) local
570 float index = (i + filterData.fIndexOffsetY) * (srcHeight - 1) local
[all...]

Completed in 198 milliseconds

<<11121314151617181920>>