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

123456

/haiku/src/system/libroot/posix/glibc/misc/
H A Dhsearch_r.c150 unsigned int idx; variable
164 idx = hval % htab->size + 1;
166 if (htab->table[idx].used)
169 if (htab->table[idx].used == hval
170 && strcmp (item.key, htab->table[idx].entry.key) == 0)
172 *retval = &htab->table[idx].entry;
178 unsigned int first_idx = idx;
184 if (idx <= hval2)
185 idx = htab->size + idx
[all...]
/haiku/src/libs/libc++/
H A Dstring.cpp64 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument
76 if (idx)
77 *idx = static_cast<size_t>(ptr - p);
84 as_integer(const string& func, const S& s, size_t* idx, int base);
90 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
93 long r = as_integer_helper<long>( func, s, idx, base, strtol );
102 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
104 return as_integer_helper<long>( func, s, idx, base, strtol );
110 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
112 return as_integer_helper<unsigned long>( func, s, idx, bas
118 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
126 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
135 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
147 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
155 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
163 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
171 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
181 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument
253 stoi(const string& str, size_t* idx, int base) argument
259 stoi(const wstring& str, size_t* idx, int base) argument
265 stol(const string& str, size_t* idx, int base) argument
271 stol(const wstring& str, size_t* idx, int base) argument
277 stoul(const string& str, size_t* idx, int base) argument
283 stoul(const wstring& str, size_t* idx, int base) argument
289 stoll(const string& str, size_t* idx, int base) argument
295 stoll(const wstring& str, size_t* idx, int base) argument
301 stoull(const string& str, size_t* idx, int base) argument
307 stoull(const wstring& str, size_t* idx, int base) argument
313 stof(const string& str, size_t* idx) argument
319 stof(const wstring& str, size_t* idx) argument
325 stod(const string& str, size_t* idx) argument
331 stod(const wstring& str, size_t* idx) argument
337 stold(const string& str, size_t* idx) argument
343 stold(const wstring& str, size_t* idx) argument
[all...]
/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/add-ons/kernel/drivers/network/sis19x/
H A DDriver.cpp51 for (size_t idx = 0; idx < B_COUNT_OF(cardInfos); idx++) {
52 if (CARDID(info.vendor_id, info.device_id) == cardInfos[idx].Id()) {
54 cardInfos[idx].Description(), cardInfos[idx].Id());
125 for (size_t idx = 0; idx < B_COUNT_OF(cardInfos); idx++) {
126 if (info.vendor_id == cardInfos[idx]
[all...]
/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/preferences/time/
H A DSectionEdit.cpp53 for (uint32 idx = 0; idx < fSectionCount; idx++) {
54 DrawSection(idx, FrameForSection(idx),
55 ((uint32)fFocus == idx) && IsFocus());
56 if (idx < fSectionCount - 1)
57 DrawSeparator(idx, FrameForSeparator(idx));
72 for (uint32 idx
[all...]
/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.cpp38 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/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/iwm/
H A Dif_iwm_fw.c146 int sec_idx, idx; local
199 for (idx = 1; idx < sc->num_of_paging_blk; idx++) {
200 memcpy(sc->fw_paging_db[idx].fw_paging_block.vaddr,
202 sc->fw_paging_db[idx].fw_paging_size);
206 sc->fw_paging_db[idx].fw_paging_size,
207 idx);
209 offset += sc->fw_paging_db[idx].fw_paging_size;
214 memcpy(sc->fw_paging_db[idx]
[all...]
/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/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/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 317 milliseconds

123456