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

12345678910

/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-sip.c38 u_int idx; local
46 for (idx = 0; idx < len; idx++) {
47 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */
48 safeputchar(*(pptr+idx));
51 idx+=1;
/haiku-fatelf/src/bin/gdb/bfd/doc/
H A Dchew.c174 addr (buffer, idx)
176 unsigned int idx;
178 return buffer->ptr + idx;
249 skip_white_and_stars (src, idx)
251 unsigned int idx;
254 while ((c = at (src, idx)),
259 && at (src, idx +1) != '/'
260 && at (src, idx -1) != '\n'))
261 idx++;
262 return idx;
270 unsigned int idx = 0; /* Pos in input buffer */ variable
423 unsigned int idx = 0; local
492 unsigned int idx; local
563 unsigned int idx = 0; local
634 unsigned int idx = 0; local
680 unsigned int idx = 0; local
766 unsigned int idx = 0; local
821 unsigned int idx = 0; local
933 int idx = 0; local
1020 int idx = 0; local
1167 int idx; local
[all...]
/haiku-fatelf/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-fatelf/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-fatelf/src/bin/gdb/opcodes/
H A Ddlx-dis.c169 int idx; local
171 for (idx = 0; idx < r_opc_num; idx++)
173 if (r_opc[idx] != opc)
179 if (idx == r_opc_num)
182 for (idx = 0 ; idx < dlx_r_opcode_num; idx++)
183 if (dlx_r_opcode[idx]
227 int idx; local
272 int idx; local
329 int idx; local
364 int idx; local
405 int idx; local
442 int idx; local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DDriver.cpp45 for (size_t idx = 0; idx < _countof(cardInfos); idx++) {
46 if (info.vendor_id == cardInfos[idx].VendorId() &&
47 info.device_id == cardInfos[idx].DeviceId())
72 for (size_t idx = 0; idx < _countof(cardInfos); idx++) {
73 if (info.vendor_id == cardInfos[idx].VendorId() &&
74 info.device_id == cardInfos[idx]
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dgeneric-options.h45 extern const stpi_quality_t *stpi_get_quality_by_index(int idx);
51 extern const stpi_image_type_t *stpi_get_image_type_by_index(int idx);
57 extern const stpi_job_mode_t *stpi_get_job_mode_by_index(int idx);
H A Dxmlppd.h26 extern stp_mxml_node_t *stpi_xmlppd_find_group_index(stp_mxml_node_t *root, int idx);
32 extern stp_mxml_node_t *stpi_xmlppd_find_option_index(stp_mxml_node_t *root, int idx);
38 extern stp_mxml_node_t *stpi_xmlppd_find_choice_index(stp_mxml_node_t *option, int idx);
H A Dgeneric-options.c97 stpi_get_quality_by_index(int idx) argument
99 if (idx < 0 || idx >= stpi_get_qualities_count())
102 return &(standard_qualities[idx]);
127 stpi_get_image_type_by_index(int idx) argument
129 if (idx < 0 || idx >= stpi_get_image_types_count())
132 return &(standard_image_types[idx]);
157 stpi_get_job_mode_by_index(int idx) argument
159 if (idx <
[all...]
/haiku-fatelf/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-fatelf/src/bin/gdb/bfd/
H A Delf-strtab.c178 _bfd_elf_strtab_addref (struct elf_strtab_hash *tab, bfd_size_type idx) argument
180 if (idx == 0 || idx == (bfd_size_type) -1)
183 BFD_ASSERT (idx < tab->size);
184 ++tab->array[idx]->refcount;
188 _bfd_elf_strtab_delref (struct elf_strtab_hash *tab, bfd_size_type idx) argument
190 if (idx == 0 || idx == (bfd_size_type) -1)
193 BFD_ASSERT (idx < tab->size);
194 BFD_ASSERT (tab->array[idx]
201 bfd_size_type idx; local
214 _bfd_elf_strtab_offset(struct elf_strtab_hash *tab, bfd_size_type idx) argument
[all...]
/haiku-fatelf/src/servers/print/
H A DPrintServerApp.Scripting.cpp57 int32 idx; local
59 if (msg->GetCurrentSpecifier(&idx,&spec) == B_OK &&
160 int32 idx; local
161 if (msg->FindInt32("index", &idx) == B_OK)
162 return Printer::At(idx);
168 int32 idx; local
169 if (msg->FindInt32("index", &idx) == B_OK)
170 return Printer::At(Printer::CountPrinters() - idx);
193 int32 idx; local
194 if (msg->FindInt32("index", &idx)
201 int32 idx; local
219 int32 idx; local
[all...]
H A DTransport.Scripting.cpp40 int32 idx; local
42 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK
70 if (idx == -1) {
87 int32 idx; local
88 switch (idx=prop_info.FindMatch(msg,0,spec,form,prop)) {
/haiku-fatelf/src/add-ons/kernel/drivers/network/sis19x/
H A DDriver.cpp51 for (size_t idx = 0; idx < _countof(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 < _countof(cardInfos); idx++) {
126 if (info.vendor_id == cardInfos[idx]
[all...]
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/src/preferences/time/
H A DSectionEdit.cpp54 for (uint32 idx = 0; idx < fSectionCount; idx++) {
55 DrawSection(idx, FrameForSection(idx),
56 ((uint32)fFocus == idx) && IsFocus());
57 if (idx < fSectionCount - 1)
58 DrawSeparator(idx, FrameForSeparator(idx));
73 for (uint32 idx
[all...]
/haiku-fatelf/src/add-ons/media/plugins/musepack/mpc/
H A Dmpc_dec.cpp641 int idx; local
659 idx = Huffman_Decode_fast(HuffHdr);
660 *ResL = (idx!=4) ? *(ResL-1) + idx : Bitstream_read(4);
662 idx = Huffman_Decode_fast(HuffHdr);
663 *ResR = (idx!=4) ? *(ResR-1) + idx : Bitstream_read(4);
692 idx = Huffman_Decode_fast(HuffDSCF);
693 L[0] = (idx!=8) ? L[2] + idx
[all...]
/haiku-fatelf/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-fatelf/src/bin/gdb/gdb/
H A Dia64-linux-nat.c505 fetch_debug_register (ptid_t ptid, int idx) argument
514 val = ptrace (PT_READ_U, tid, (PTRACE_TYPE_ARG3) (PT_DBR + 8 * idx), 0);
520 store_debug_register (ptid_t ptid, int idx, long val) argument
528 (void) ptrace (PT_WRITE_U, tid, (PTRACE_TYPE_ARG3) (PT_DBR + 8 * idx), val);
532 fetch_debug_register_pair (ptid_t ptid, int idx, long *dbr_addr, long *dbr_mask) argument
535 *dbr_addr = fetch_debug_register (ptid, 2 * idx);
537 *dbr_mask = fetch_debug_register (ptid, 2 * idx + 1);
541 store_debug_register_pair (ptid_t ptid, int idx, long *dbr_addr, long *dbr_mask) argument
544 store_debug_register (ptid, 2 * idx, *dbr_addr);
546 store_debug_register (ptid, 2 * idx
565 int idx; local
612 int idx; local
[all...]
/haiku-fatelf/src/bin/gawk/
H A Dregex_internal.h282 int idx; /* for BACK_REF */ member in union:__anon3538::__anon3539
360 static reg_errcode_t re_string_reconstruct _RE_ARGS((re_string_t *pstr, int idx,
371 static int re_string_elem_size_at _RE_ARGS((const re_string_t *pstr, int idx));
372 static inline int re_string_char_size_at _RE_ARGS((const re_string_t *pstr, int idx));
373 static inline wint_t re_string_wchar_at _RE_ARGS((const re_string_t *pstr, int idx));
375 static unsigned int re_string_context_at _RE_ARGS((const re_string_t *input, int idx,
385 #define re_string_first_byte(pstr, idx) \
386 ((idx) == (pstr)->len || (pstr)->wcs[idx] != WEOF)
387 #define re_string_is_single_byte_char(pstr, idx) \
565 int idx; member in struct:re_fail_stack_ent_t
703 int idx; variable
717 int idx; variable
727 int idx; variable
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_trackpoint.cpp38 dev->name = kTrackpointPath[dev->idx];
/haiku-fatelf/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;
/haiku-fatelf/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;

Completed in 200 milliseconds

12345678910