Searched refs:idx (Results 1 - 25 of 158) sorted by relevance

1234567

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddebug.c62 int idx = -lcn - 1; local
64 if (idx > -LCN_EINVAL - 1)
65 idx = 4;
67 (long long)rl[i].vcn, lcn_str[idx],
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DDriver.cpp45 for (size_t idx = 0; idx < B_COUNT_OF(cardInfos); idx++) {
46 if (info.vendor_id == cardInfos[idx].VendorId() &&
47 info.device_id == cardInfos[idx].DeviceId())
72 for (size_t idx = 0; idx < B_COUNT_OF(cardInfos); idx++) {
73 if (info.vendor_id == cardInfos[idx].VendorId() &&
74 info.device_id == cardInfos[idx]
[all...]
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/
H A Dasm-syntax.h51 #define MEM_INDX(base,idx,size_suffix)R(base)@(R(idx):size_suffix)
52 #define MEM_INDX1(base,idx,size_suffix,scale)R(base)@(R(idx):size_suffix:scale)
73 #define MEM_INDX_(base,idx,size_suffix)(R(base),R(idx##.##size_suffix))
74 #define MEM_INDX(base,idx,size_suffix)MEM_INDX_(base,idx,size_suffix)
75 #define MEM_INDX1_(base,idx,size_suffix,scale)(R(base),R(idx##
[all...]
/haiku/src/system/runtime_loader/
H A Dutility.h39 T& operator[](size_t idx) { return fData[idx]; } argument
40 const T& operator[](size_t idx) const { return fData[idx]; }
/haiku/src/servers/print/
H A DPrintServerApp.Scripting.cpp58 int32 idx; local
60 if (msg->GetCurrentSpecifier(&idx,&spec) == B_OK &&
161 int32 idx; local
162 if (msg->FindInt32("index", &idx) == B_OK)
163 return Printer::At(idx);
169 int32 idx; local
170 if (msg->FindInt32("index", &idx) == B_OK)
171 return Printer::At(Printer::CountPrinters() - idx);
194 int32 idx; local
195 if (msg->FindInt32("index", &idx)
202 int32 idx; local
220 int32 idx; local
[all...]
H A DTransport.Scripting.cpp41 int32 idx; local
43 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK
71 if (idx == -1) {
88 int32 idx; local
89 switch (idx=prop_info.FindMatch(msg,0,spec,form,prop)) {
H A DPrinter.Scripting.cpp49 int32 idx; local
51 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK &&
79 if (idx == -1) {
95 int32 idx; local
96 switch( idx=prop_info.FindMatch(msg,0,spec,form,prop) ) {
/haiku/src/system/boot/platform/efi/
H A Ddtb.h18 bool dtb_get_reg(const void* fdt, int node, size_t idx, addr_range& range);
/haiku/src/libs/libtelnet/
H A Denc_des.c544 int idx; local
546 idx = stp->str_index;
548 if (idx == sizeof(Block)) {
552 idx = 0;
556 *s = stp->str_output[idx] = (stp->str_feed[idx] ^ *s);
558 idx++;
560 stp->str_index = idx;
567 int idx; local
580 idx
617 int idx; local
637 int idx; local
[all...]
/haiku/src/add-ons/print/drivers/postscript/
H A DSelectPPDDlg.cpp122 int32 idx = fManufacturersListView->CurrentSelection(); local
130 if (idx < 0)
133 manu = ((BStringItem*)fManufacturersListView->ItemAt(idx))->Text();
158 int32 idx = fPrintersListView->CurrentSelection(); local
159 fOKButton->SetEnabled(idx >= 0);
167 int32 idx; local
169 idx = fPrintersListView->CurrentSelection();
170 if (idx >= 0)
172 (fPrintersListView->ItemAt(idx))->fPPDPath;
/haiku/src/libs/iconv/
H A Deuc_jisx0213.h154 unsigned int idx; local
158 idx = euc_jisx0213_comp_table02e5_idx,
161 idx = euc_jisx0213_comp_table02e9_idx,
164 idx = euc_jisx0213_comp_table0300_idx,
167 idx = euc_jisx0213_comp_table0301_idx,
170 idx = euc_jisx0213_comp_table309a_idx,
176 if (euc_jisx0213_comp_table_data[idx].base == lasttwo)
178 while (++idx, --len > 0);
183 lasttwo = euc_jisx0213_comp_table_data[idx].composed;
/haiku/src/add-ons/media/media-add-ons/usb_vision/
H A DTunerLocale.cpp125 const Channel &TunerLocale::GetChannel(int idx) argument
127 if(idx < 0) idx = 0;
128 if(idx >= (int)fChannels.size()) idx = (int)(fChannels.size() - 1);
129 return fChannels[idx];
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_trackpoint.cpp46 dev->name = kTrackpointPath[dev->idx];
/haiku/src/add-ons/media/media-add-ons/equalizer/
H A DEqualizerAddOn.cpp39 status_t EqualizerAddOn::GetFlavorAt(int32 idx, const flavor_info** info) argument
41 if (idx < 0 || idx >= CountFlavors())
45 f_info->internal_id = idx;
H A DEqualizerAddOn.h18 virtual status_t GetFlavorAt(int32 idx, const flavor_info** info);
/haiku/src/libs/agg/src/
H A Dagg_image_filters.cpp80 unsigned idx = flip ? m_diameter/2 + j/2 : m_diameter/2 - j/2; local
81 int v = m_weight_array[idx * image_subpixel_scale + i];
84 m_weight_array[idx * image_subpixel_scale + i] += inc;
/haiku/src/libs/libfdt/
H A Dfdt_wip.c15 uint32_t idx, const void *val,
26 if ((unsigned)proplen < (len + idx))
29 memcpy((char *)propval + idx, val, len);
13 fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, const char *name, int namelen, uint32_t idx, const void *val, int len) argument
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/
H A Dglue.c80 size_t idx; local
84 for (idx = 0; idx < B_COUNT_OF(ids); idx++) {
85 if (pciInfo.device_id == ids[idx]) {
/haiku/3rdparty/mmu_man/onlinedemo/
H A Dhaiku.php153 function make_qemu_sessionfile_name($idx)
155 return "/tmp/" . QEMU_SESSFILE_TMPL . $idx;
158 function make_qemu_pidfile_name($idx)
160 return "/tmp/" . QEMU_PIDFILE_TMPL . $idx;
163 function make_qemu_logfile_name($idx)
165 return "/tmp/" . QEMU_LOGFILE_TMPL . $idx;
170 for ($idx = 0; $idx < MAX_QEMUS; $idx++) {
171 $pidfile = make_qemu_pidfile_name($idx);
244 $idx = $_SESSION[QEMU_IDX_VAR]; variable
329 $idx = qemu_slot(); variable
498 $idx = find_qemu_slot(); variable
[all...]
/haiku/src/system/boot/platform/riscv/
H A Dvirtio.cpp79 VirtioDevice::FreeDesc(int32_t idx) argument
81 fFreeDescs[idx/32] |= (uint32_t)1 << (idx % 32);
169 int32_t idx = fAvail->idx % fQueueLen; local
170 fReqs[idx] = reqs[0];
171 fAvail->ring[idx] = firstDesc;
172 fAvail->idx++;
187 if (fUsed->idx == fLastUsed)
208 while (fUsed->idx
[all...]
/haiku/headers/libs/agg/
H A Dagg_path_storage.h55 void modify_vertex(unsigned idx, double x, double y);
56 void modify_vertex(unsigned idx, double x, double y, unsigned cmd);
57 void modify_command(unsigned idx, unsigned cmd);
68 unsigned vertex(unsigned idx, double* x, double* y) const;
69 unsigned command(unsigned idx) const;
175 inline void vertex_block_storage<T,S,P>::modify_vertex(unsigned idx, argument
178 T* pv = m_coord_blocks[idx >> block_shift] + ((idx & block_mask) << 1);
185 inline void vertex_block_storage<T,S,P>::modify_vertex(unsigned idx, argument
189 unsigned block = idx >> block_shif
199 modify_command(unsigned idx, unsigned cmd) argument
253 unsigned idx = m_total_vertices - 1; local
265 unsigned idx = m_total_vertices - 1; local
280 vertex(unsigned idx, double* x, double* y) const argument
1125 vertex(unsigned idx, double* x, double* y) const argument
1139 modify_vertex(unsigned idx, double x, double y) argument
1146 modify_vertex(unsigned idx, double x, double y, unsigned cmd) argument
1153 modify_command(unsigned idx, unsigned cmd) argument
1370 modify_vertex(unsigned idx, double x, double y) argument
1377 modify_vertex(unsigned idx, double x, double y, unsigned cmd) argument
1385 modify_command(unsigned idx, unsigned cmd) argument
1439 vertex(unsigned idx, double* x, double* y) const argument
[all...]
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.h298 int idx; /* for BACK_REF */ member in union:__anon5497::__anon5498
400 static unsigned int re_string_context_at (const re_string_t *input, int idx,
408 #define re_string_first_byte(pstr, idx) \
409 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
410 #define re_string_is_single_byte_char(pstr, idx) \
411 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
412 || (pstr)->wcs[(idx) + 1] != WEOF))
417 #define re_string_byte_at(pstr,idx) ((pst
602 int idx; member in struct:re_fail_stack_ent_t
719 re_string_char_size_at(const re_string_t *pstr, int idx) argument
732 re_string_wchar_at(const re_string_t *pstr, int idx) argument
742 re_string_elem_size_at(const re_string_t *pstr, int idx) argument
[all...]
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A DVirtioDevice.cpp123 int32 idx = fAllocatedDescs.GetLowestClear(); local
124 if (idx < 0)
127 fAllocatedDescs.Set(idx);
128 return idx;
133 VirtioQueue::FreeDesc(int32 idx) argument
135 fAllocatedDescs.Clear(idx);
185 int32_t idx = fAvail->idx & (fQueueLen - 1); local
187 fAvail->ring[idx] = firstDesc;
188 fAvail->idx
[all...]
/haiku/headers/private/graphics/radeon/
H A Dmultimon.h24 status_t GetNthSupportedTVStandard( BScreen *screen, int idx, uint32 *standard );
/haiku/headers/private/kernel/boot/platform/u-boot/
H A Duimage.h46 bool image_multi_getimg(struct image_header *image, uint32 idx,

Completed in 165 milliseconds

1234567