Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 25 of 148) sorted by relevance

123456

/dragonfly/contrib/dialog/
H A Dcolumns.c66 split_row(char *source, unsigned *offsets, unsigned *widths) in split_row() argument
76 widths[result - 1] = offset - offsets[result - 1] - (unsigned) mark; in split_row()
78 offsets[result] = offset; in split_row()
83 widths[result - 1] = offset - offsets[result - 1]; in split_row()
101 unsigned *offsets; in dlg_align_columns() local
115 offsets = dlg_calloc(unsigned, maxcols); in dlg_align_columns()
119 assert_ptr(offsets, "dlg_align_columns"); in dlg_align_columns()
124 unsigned cols = split_row(*value, offsets, widths); in dlg_align_columns()
139 unsigned cols = split_row(*value, offsets, widths); in dlg_align_columns()
147 memcpy(text + offset, *value + offsets[n], (size_t) widths[n]); in dlg_align_columns()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c93 tg110->offsets.crtc); in dce120_timing_generator_is_in_vertical_blank()
182 tg110->offsets.crtc); in dce120_timing_generator_get_vblank_counter()
199 tg110->offsets.crtc); in dce120_timing_generator_get_crtc_position()
210 tg110->offsets.crtc); in dce120_timing_generator_get_crtc_position()
391 tg110->offsets.crtc); in dce120_timing_generator_did_triggered_reset_occur()
534 tg110->offsets.crtc); in dce120_timing_generator_set_overscan_color_black()
539 tg110->offsets.crtc, in dce120_timing_generator_set_overscan_color_black()
549 tg110->offsets.crtc, in dce120_timing_generator_set_overscan_color_black()
720 tg110->offsets.crtc, in dce120_timing_generator_enable_advanced_request()
744 tg110->offsets.crtc, in dce120_tg_program_blank_color()
[all …]
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c130 int offsets[MAX_ENTRY_SIZE / sizeof(short)]; in _nc_wrap_entry() local
160 if (i < SIZEOF(offsets)) { in _nc_wrap_entry()
162 offsets[i] = ABSENT_OFFSET; in _nc_wrap_entry()
164 offsets[i] = CANCELLED_OFFSET; in _nc_wrap_entry()
166 offsets[i] = (int) (tp->Strings[i] - stringbuf); in _nc_wrap_entry()
183 if (i < SIZEOF(offsets)) { in _nc_wrap_entry()
184 if (offsets[i] == ABSENT_OFFSET) { in _nc_wrap_entry()
186 } else if (offsets[i] == CANCELLED_OFFSET) { in _nc_wrap_entry()
189 tp->Strings[i] = tp->str_table + offsets[i]; in _nc_wrap_entry()
197 if (n < SIZEOF(offsets)) { in _nc_wrap_entry()
[all …]
H A DMKcaptab.awk32 offsets[num_strings] = offset;
36 offsets[num_strings] = -1;
42 return offsets[num_strings - 1];
H A Dwrite_entry.c567 compute_offsets(char **Strings, size_t strmax, short *offsets) in compute_offsets() argument
574 offsets[i] = -1; in compute_offsets()
576 offsets[i] = -2; in compute_offsets()
578 offsets[i] = (short) nextfree; in compute_offsets()
708 short offsets[MAX_ENTRY_SIZE / 2]; in _nc_write_object() local
762 nextfree = compute_offsets(tp->Strings, strmax, offsets); in _nc_write_object()
815 convert_shorts(buf, offsets, strmax); in _nc_write_object()
842 offsets); in _nc_write_object()
845 if (tp->ext_Strings >= SIZEOF(offsets)) { in _nc_write_object()
851 offsets + tp->ext_Strings); in _nc_write_object()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce80/
H A Ddce80_timing_generator.c83 #define CRTC_REG(reg) (reg + tg110->offsets.crtc)
84 #define DCP_REG(reg) (reg + tg110->offsets.dcp)
85 #define DMIF_REG(reg) (reg + tg110->offsets.dmif)
91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur()
223 const struct dce110_timing_generator_offsets *offsets) in dce80_timing_generator_construct() argument
227 tg110->offsets = *offsets; in dce80_timing_generator_construct()
/dragonfly/contrib/gdb-7/gdb/
H A Dsolib-target.c51 struct section_offsets *offsets; member
327 xfree (so->lm_info->offsets); in solib_target_free_so()
340 if (so->lm_info->offsets == NULL) in solib_target_relocate_section_addresses()
344 so->lm_info->offsets = xzalloc (SIZEOF_N_SECTION_OFFSETS (num_sections)); in solib_target_relocate_section_addresses()
395 so->lm_info->offsets->offsets[i] in solib_target_relocate_section_addresses()
424 so->lm_info->offsets, in solib_target_relocate_section_addresses()
459 offset = so->lm_info->offsets->offsets[sec->the_bfd_section->index]; in solib_target_relocate_section_addresses()
H A Dsymfile.c367 struct section_offsets *offsets; member
378 CORE_ADDR *offsets = arg->offsets->offsets, start_addr; in place_section() local
387 if (offsets[sect->index] != 0) in place_section()
413 if (offsets[indx] == 0) in place_section()
431 offsets[sect->index] = start_addr; in place_section()
701 CORE_ADDR *offsets = objfile->section_offsets->offsets; in default_symfile_offsets() local
744 offsets[cur_sec->index]); in default_symfile_offsets()
745 offsets[cur_sec->index] = 0; in default_symfile_offsets()
937 gdb_assert (! (addrs && offsets)); in syms_from_objfile_1()
962 if (! addrs && ! offsets) in syms_from_objfile_1()
[all …]
/dragonfly/contrib/zstd/lib/dictBuilder/
H A Dcover.c214 size_t *offsets; member
357 const size_t *curOffsetPtr = ctx->offsets; in COVER_group()
362 size_t curSampleEnd = ctx->offsets[0]; in COVER_group()
528 if (ctx->offsets) { in COVER_ctx_destroy()
529 free(ctx->offsets); in COVER_ctx_destroy()
530 ctx->offsets = NULL; in COVER_ctx_destroy()
586 if (!ctx->suffix || !ctx->dmerAt || !ctx->offsets) { in COVER_ctx_init()
597 ctx->offsets[0] = 0; in COVER_ctx_init()
599 ctx->offsets[i] = ctx->offsets[i - 1] + samplesSizes[i - 1]; in COVER_ctx_init()
789 size_t *offsets, in COVER_checkTotalCompressedSize() argument
[all …]
H A Dfastcover.c121 size_t *offsets; member
267 free(ctx->offsets); in FASTCOVER_ctx_destroy()
268 ctx->offsets = NULL; in FASTCOVER_ctx_destroy()
286 size_t start = ctx->offsets[i]; /* start of current dmer */ in FASTCOVER_computeFrequency()
287 size_t const currSampleEnd = ctx->offsets[i+1]; in FASTCOVER_computeFrequency()
357 ctx->offsets = (size_t*)calloc((nbSamples + 1), sizeof(size_t)); in FASTCOVER_ctx_init()
358 if (ctx->offsets == NULL) { in FASTCOVER_ctx_init()
366 ctx->offsets[0] = 0; in FASTCOVER_ctx_init()
369 ctx->offsets[i] = ctx->offsets[i - 1] + samplesSizes[i - 1]; in FASTCOVER_ctx_init()
491 …tx->samplesSizes, nbFinalizeSamples, ctx->nbTrainSamples, ctx->nbSamples, parameters, ctx->offsets, in FASTCOVER_tryParameters()
H A Dcover.h94 size_t *offsets,
157 …t nbCheckSamples, size_t nbSamples, ZDICT_cover_params_t params, size_t* offsets, size_t totalComp…
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-stdarg.c121 if (si->offsets == NULL) in va_list_counter_bump()
125 si->offsets = XNEWVEC (int, num_ssa_names); in va_list_counter_bump()
127 si->offsets[i] = -1; in va_list_counter_bump()
138 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
146 ret -= counter_val - si->offsets[SSA_NAME_VERSION (lhs)]; in va_list_counter_bump()
212 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
216 si->offsets[SSA_NAME_VERSION (lhs)] = max_size; in va_list_counter_bump()
218 si->offsets[SSA_NAME_VERSION (lhs)] = val; in va_list_counter_bump()
556 && si->offsets[SSA_NAME_VERSION (use)] != -1) in check_all_va_list_escapes()
561 gpr_size = si->offsets[SSA_NAME_VERSION (use)] in check_all_va_list_escapes()
[all …]
/dragonfly/contrib/diffutils/lib/
H A Dregex_internal.c157 if (pstr->offsets != NULL) in re_string_realloc_buffers()
162 pstr->offsets = new_offsets; in re_string_realloc_buffers()
411 if (pstr->offsets == NULL) in build_wcs_upper_buffer()
415 if (pstr->offsets == NULL) in build_wcs_upper_buffer()
421 pstr->offsets[i] = i; in build_wcs_upper_buffer()
430 pstr->offsets[byte_idx + i] in build_wcs_upper_buffer()
617 if (pstr->offsets[mid] > offset) in re_string_reconstruct()
625 if (pstr->offsets[mid] < offset) in re_string_reconstruct()
642 pstr->offsets[low] = pstr->offsets[low + offset] - offset; in re_string_reconstruct()
859 off = pstr->offsets[off]; in re_string_peek_byte_case()
[all …]
/dragonfly/contrib/grep/lib/
H A Dregex_internal.c157 if (pstr->offsets != NULL) in re_string_realloc_buffers()
162 pstr->offsets = new_offsets; in re_string_realloc_buffers()
411 if (pstr->offsets == NULL) in build_wcs_upper_buffer()
415 if (pstr->offsets == NULL) in build_wcs_upper_buffer()
421 pstr->offsets[i] = i; in build_wcs_upper_buffer()
430 pstr->offsets[byte_idx + i] in build_wcs_upper_buffer()
617 if (pstr->offsets[mid] > offset) in re_string_reconstruct()
625 if (pstr->offsets[mid] < offset) in re_string_reconstruct()
642 pstr->offsets[low] = pstr->offsets[low + offset] - offset; in re_string_reconstruct()
857 off = pstr->offsets[off]; in re_string_peek_byte_case()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dvtable-verify.c184 for (i = 0; i < ((*slot)->offsets).length (); ++i) in vtbl_map_node_registration_find()
185 if ((*slot)->offsets[i] == offset) in vtbl_map_node_registration_find()
217 (node->offsets).create (10); in vtbl_map_node_registration_insert()
218 (node->offsets).safe_push (offset); in vtbl_map_node_registration_insert()
228 for (i = 0; i < ((*slot)->offsets).length () && !found; ++i) in vtbl_map_node_registration_insert()
229 if ((*slot)->offsets[i] == offset) in vtbl_map_node_registration_insert()
234 ((*slot)->offsets).safe_push (offset); in vtbl_map_node_registration_insert()
H A Dtree-stdarg.c124 if (si->offsets == NULL) in va_list_counter_bump()
128 si->offsets = XNEWVEC (int, num_ssa_names); in va_list_counter_bump()
130 si->offsets[i] = -1; in va_list_counter_bump()
141 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
149 ret -= counter_val - si->offsets[SSA_NAME_VERSION (lhs)]; in va_list_counter_bump()
215 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
219 si->offsets[SSA_NAME_VERSION (lhs)] = max_size; in va_list_counter_bump()
221 si->offsets[SSA_NAME_VERSION (lhs)] = val; in va_list_counter_bump()
589 && si->offsets[SSA_NAME_VERSION (use)] != -1) in check_all_va_list_escapes()
594 gpr_size = si->offsets[SSA_NAME_VERSION (use)] in check_all_va_list_escapes()
[all …]
/dragonfly/contrib/byacc/
H A Dreader.c2166 NO_SPACE(offsets); in compile_arg()
2245 FREE(offsets); in compile_arg()
2277 NO_SPACE(offsets); in can_elide_arg()
2298 i = offsets[val]; in can_elide_arg()
2310 FREE(offsets); in can_elide_arg()
2331 FREE(offsets); in can_elide_arg()
2725 NO_SPACE(offsets); in copy_action()
2769 else if (offsets) in copy_action()
2840 else if (offsets) in copy_action()
2954 FREE(offsets); in copy_action()
[all …]
/dragonfly/games/rogue/
H A Dlevel.c533 static short offsets[4] = {-1, 1, 3, -3}; in fill_it() local
539 t = offsets[srow]; in fill_it()
540 offsets[srow] = offsets[scol]; in fill_it()
541 offsets[scol] = t; in fill_it()
545 target_room = rn + offsets[i]; in fill_it()
581 recursive_deadend(rn, offsets, srow, scol); in fill_it()
588 recursive_deadend(short rn, const short *offsets, short srow, short scol) in recursive_deadend() argument
597 de = rn + offsets[i]; in recursive_deadend()
616 recursive_deadend(de, offsets, drow, dcol); in recursive_deadend()
/dragonfly/contrib/binutils-2.34/gold/
H A Ddwarf_reader.cc2098 = std::lower_bound(offsets->begin(), offsets->end(), lookup_key); in offset_to_iterator()
2167 || it == offsets->end()) in offset_to_iterator()
2168 return offsets->end(); in offset_to_iterator()
2173 while (it != offsets->end() in offset_to_iterator()
2178 return offsets->end(); in offset_to_iterator()
2185 gold_assert(it != offsets->begin()); in offset_to_iterator()
2200 return offsets->end(); in offset_to_iterator()
2224 offsets = &this->line_number_map_[-1U]; in do_addr2line()
2225 if (offsets->empty()) in do_addr2line()
2229 = offset_to_iterator(offsets, offset); in do_addr2line()
[all …]
/dragonfly/contrib/binutils-2.27/gold/
H A Ddwarf_reader.cc2083 = std::lower_bound(offsets->begin(), offsets->end(), lookup_key); in offset_to_iterator()
2152 || it == offsets->end()) in offset_to_iterator()
2153 return offsets->end(); in offset_to_iterator()
2158 while (it != offsets->end() in offset_to_iterator()
2163 return offsets->end(); in offset_to_iterator()
2170 gold_assert(it != offsets->begin()); in offset_to_iterator()
2185 return offsets->end(); in offset_to_iterator()
2209 offsets = &this->line_number_map_[-1U]; in do_addr2line()
2210 if (offsets->empty()) in do_addr2line()
2214 = offset_to_iterator(offsets, offset); in do_addr2line()
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dregex_internal.c139 if (pstr->offsets != NULL) in re_string_realloc_buffers()
144 pstr->offsets = new_offsets; in re_string_realloc_buffers()
393 if (pstr->offsets == NULL) in build_wcs_upper_buffer()
397 if (pstr->offsets == NULL) in build_wcs_upper_buffer()
403 pstr->offsets[i] = i; in build_wcs_upper_buffer()
409 pstr->offsets[byte_idx] = src_idx; in build_wcs_upper_buffer()
412 pstr->offsets[byte_idx + i] in build_wcs_upper_buffer()
454 pstr->offsets[byte_idx] = src_idx; in build_wcs_upper_buffer()
756 off = pstr->offsets[off]; in internal_function()
796 off = pstr->offsets[pstr->cur_idx]; in internal_function()
[all …]
/dragonfly/sys/dev/drm/
H A Ddrm_modeset_helper.c86 fb->offsets[i] = mode_cmd->offsets[i]; in drm_helper_mode_fill_fb_struct()
H A Ddrm_fb_helper.c2128 struct drm_fb_offset *offsets, in drm_target_cloned() argument
2201 struct drm_fb_offset *offsets, in drm_get_tile_offsets() argument
2225 offsets[idx].x = hoffset; in drm_get_tile_offsets()
2226 offsets[idx].y = voffset; in drm_get_tile_offsets()
2233 struct drm_fb_offset *offsets, in drm_target_preferred() argument
2401 struct drm_fb_offset *offsets; in drm_setup_crtcs() local
2413 offsets = kcalloc(fb_helper->connector_count, in drm_setup_crtcs()
2429 offsets, in drm_setup_crtcs()
2433 memset(offsets, 0, fb_helper->connector_count*sizeof(offsets[0])); in drm_setup_crtcs()
2457 struct drm_fb_offset *offset = &offsets[i]; in drm_setup_crtcs()
[all …]
/dragonfly/sbin/hammer/
H A Dcmd_blockmap.c46 hammer_off_t *offsets; /* big-block offset for layer2[i] */ member
489 collect->offsets = calloc(HAMMER_BLOCKMAP_RADIX2, sizeof(hammer_off_t)); in collect_get()
500 free(collect->offsets); in collect_rel()
518 collect->offsets[i] = offset & ~HAMMER_BIGBLOCK_MASK64; in collect_get_track()
571 offset = collect->offsets[i]; in dump_collect()
/dragonfly/sys/dev/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h98 struct dce110_timing_generator_offsets offsets; member
124 const struct dce110_timing_generator_offsets *offsets);

123456