Searched defs:offsets (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-head/contrib/dialog/
H A Dcolumns.c62 * Parse the source string, storing the offsets and widths of each column in
66 split_row(char *source, unsigned *offsets, unsigned *widths) argument
76 widths[result - 1] = offset - offsets[result - 1] - (unsigned) mark;
78 offsets[result] = offset;
83 widths[result - 1] = offset - offsets[result - 1];
103 unsigned *offsets; local
116 offsets = dlg_calloc(unsigned, maxcols);
120 assert_ptr(offsets, "dlg_align_columns");
125 unsigned cols = split_row(*value, offsets, widths);
140 unsigned cols = split_row(*value, offsets, width
[all...]
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c130 int offsets[MAX_ENTRY_SIZE / sizeof(short)]; local
160 if (i < SIZEOF(offsets)) {
162 offsets[i] = ABSENT_OFFSET;
164 offsets[i] = CANCELLED_OFFSET;
166 offsets[i] = (int) (tp->Strings[i] - stringbuf);
183 if (i < SIZEOF(offsets)) {
184 if (offsets[i] == ABSENT_OFFSET) {
186 } else if (offsets[i] == CANCELLED_OFFSET) {
189 tp->Strings[i] = tp->str_table + offsets[i];
197 if (n < SIZEOF(offsets)) {
[all...]
H A Dwrite_entry.c567 compute_offsets(char **Strings, size_t strmax, short *offsets) argument
574 offsets[i] = -1;
576 offsets[i] = -2;
578 offsets[i] = (short) nextfree;
708 short offsets[MAX_ENTRY_SIZE / 2]; local
762 nextfree = compute_offsets(tp->Strings, strmax, offsets);
812 TRACE_OUT(("String offsets begin at %04x", *offset));
814 /* the string offsets */
815 convert_shorts(buf, offsets, strmax);
842 offsets);
[all...]
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DAppleDWARFIndex.cpp55 void AppleDWARFIndex::GetGlobalVariables(ConstString basename, DIEArray &offsets) { argument
57 m_apple_names_up->FindByName(basename.GetStringRef(), offsets);
61 DIEArray &offsets) {
67 DWARFMappedHash::ExtractDIEArray(hash_data, offsets);
71 DIEArray &offsets) {
78 DWARFMappedHash::ExtractDIEArray(hash_data, offsets);
82 DIEArray &offsets) {
84 m_apple_objc_up->FindByName(class_name.GetStringRef(), offsets);
89 DIEArray &offsets) {
92 class_name.GetStringRef(), offsets, must_be_implementatio
60 GetGlobalVariables(const RegularExpression &regex, DIEArray &offsets) argument
70 GetGlobalVariables(const DWARFUnit &cu, DIEArray &offsets) argument
81 GetObjCMethods(ConstString class_name, DIEArray &offsets) argument
87 GetCompleteObjCClass(ConstString class_name, bool must_be_implementation, DIEArray &offsets) argument
96 GetTypes(ConstString name, DIEArray &offsets) argument
101 GetTypes(const DWARFDeclContext &context, DIEArray &offsets) argument
151 GetNamespaces(ConstString name, DIEArray &offsets) argument
160 DIEArray offsets; local
168 GetFunctions(const RegularExpression &regex, DIEArray &offsets) argument
[all...]
H A DDebugNamesDWARFIndex.cpp70 DIEArray &offsets) {
72 offsets.push_back(*ref);
87 DIEArray &offsets) {
88 m_fallback.GetGlobalVariables(basename, offsets);
95 Append(entry, offsets);
100 DIEArray &offsets) {
101 m_fallback.GetGlobalVariables(regex, offsets);
114 Append(*entry_or, offsets);
122 DIEArray &offsets) {
123 m_fallback.GetGlobalVariables(cu, offsets);
69 Append(const DebugNames::Entry &entry, DIEArray &offsets) argument
86 GetGlobalVariables(ConstString basename, DIEArray &offsets) argument
99 GetGlobalVariables(const RegularExpression &regex, DIEArray &offsets) argument
121 GetGlobalVariables(const DWARFUnit &cu, DIEArray &offsets) argument
143 GetCompleteObjCClass(ConstString class_name, bool must_be_implementation, DIEArray &offsets) argument
186 GetTypes(ConstString name, DIEArray &offsets) argument
196 GetTypes(const DWARFDeclContext &context, DIEArray &offsets) argument
207 GetNamespaces(ConstString name, DIEArray &offsets) argument
242 GetFunctions(const RegularExpression &regex, DIEArray &offsets) argument
[all...]
H A DManualDWARFIndex.cpp350 void ManualDWARFIndex::GetGlobalVariables(ConstString basename, DIEArray &offsets) { argument
352 m_set.globals.Find(basename, offsets);
356 DIEArray &offsets) {
358 m_set.globals.Find(regex, offsets);
362 DIEArray &offsets) {
364 m_set.globals.FindAllEntriesForUnit(unit, offsets);
368 DIEArray &offsets) {
370 m_set.objc_class_selectors.Find(class_name, offsets);
375 DIEArray &offsets) {
377 m_set.types.Find(class_name, offsets);
355 GetGlobalVariables(const RegularExpression &regex, DIEArray &offsets) argument
361 GetGlobalVariables(const DWARFUnit &unit, DIEArray &offsets) argument
367 GetObjCMethods(ConstString class_name, DIEArray &offsets) argument
373 GetCompleteObjCClass(ConstString class_name, bool must_be_implementation, DIEArray &offsets) argument
380 GetTypes(ConstString name, DIEArray &offsets) argument
385 GetTypes(const DWARFDeclContext &context, DIEArray &offsets) argument
388 m_set.types.Find(ConstString(context[0].name), offsets); local
391 GetNamespaces(ConstString name, DIEArray &offsets) argument
403 DIEArray offsets; local
414 DIEArray offsets; local
427 DIEArray offsets; local
437 DIEArray offsets; local
446 GetFunctions(const RegularExpression &regex, DIEArray &offsets) argument
[all...]
/freebsd-head/contrib/ntp/libparse/
H A Dieee754io.c147 offsets_t offsets,
152 *(bufp + offsets[*fieldindex]) = val;
166 offsets_t offsets
208 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */
213 val = get_byte(bufp, offsets, &fieldindex); /* fetch rest of characteristic and start of mantissa */
224 mantissa_low |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
225 mantissa_low |= get_byte(bufp, offsets, &fieldindex);
233 mantissa_high |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
234 mantissa_high |= get_byte(bufp, offsets, &fieldindex);
236 mantissa_low = (u_long)get_byte(bufp, offsets,
145 put_byte( unsigned char *bufp, offsets_t offsets, int *fieldindex, unsigned char val ) argument
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_fs_x/
H A Dchanges.c96 apr_array_header_t *offsets; member in struct:svn_fs_x__changes_t
111 changes->offsets = apr_array_make(result_pool, 16, sizeof(int));
112 APR_ARRAY_PUSH(changes->offsets, int) = 0;
190 APR_ARRAY_PUSH(changes->offsets, int) = changes->changes->nelts;
191 *list_index = (apr_size_t)(changes->offsets->nelts - 2);
229 if (idx + 1 >= (apr_size_t)changes->offsets->nelts)
235 idx, changes->offsets->nelts - 1);
238 list_first = APR_ARRAY_IDX(changes->offsets, (int)idx, int);
239 list_last = APR_ARRAY_IDX(changes->offsets, (int)idx + 1, int);
317 /* serialize offsets arra
475 const int *offsets local
[all...]
H A Dreps.c123 /* for used entries i, prefixes[i] == text[offsets[i]]; 0 otherwise.
128 /* for used entries i, offsets[i] is start offset in the text corpus;
131 apr_uint32_t *offsets; member in struct:hash_t
212 /* offsets > 0 but smaller that this are considered base references */
321 hash->offsets = apr_palloc(result_pool, sizeof(*hash->offsets) * size);
324 hash->offsets[i] = NO_OFFSET;
369 apr_uint32_t offset = hash->offsets[i];
375 if (copy.offsets[idx] == NO_OFFSET)
379 copy.offsets[id
[all...]
/freebsd-head/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c560 struct list_head offsets; member in struct:table
581 list_add_tail(&offset->list, &t->offsets);
586 INIT_LIST_HEAD(&t->offsets);
632 list_for_each_entry(offset, &t->offsets, list) {
/freebsd-head/contrib/gdb/gdb/
H A Dsomsolib.c1389 struct section_offsets *offsets)
1395 /* Oh what a pain! We need the offsets before so_list->objfile
1402 offsets->offsets[SECT_OFF_TEXT (objfile)]
1405 offsets->offsets[SECT_OFF_RODATA (objfile)]
1406 = ANOFFSET (offsets, SECT_OFF_TEXT (objfile));
1415 offsets->offsets[SECT_OFF_DATA (objfile)] = 0;
1416 offsets
1388 som_solib_section_offsets(struct objfile *objfile, struct section_offsets *offsets) argument
[all...]
H A Dsymtab.h730 Each struct contains an array of offsets.
731 The ordering and meaning of the offsets is file-type-dependent;
736 of these offsets, the ANOFFSET macro must be used to insert and
741 CORE_ADDR offsets[1]; /* As many as needed. */
747 : secoff->offsets[whichone])
752 + sizeof (((struct section_offsets *) 0)->offsets) * ((n)-1))
888 /* Set of relocation offsets to apply to each section. */
738 CORE_ADDR offsets[1]; /* As many as needed. */ member in struct:section_offsets
H A Dsymfile.c444 for the objectfile OBJFILE and stuffs ADDR into all of the offsets. */
459 /* Now calculate offsets for section that were specified by the
469 /* Record all sections in offsets */
472 (objfile->section_offsets)->offsets[osp->sectindex] = osp->addr;
487 an 'add-symbol-file' command, then this is the list of offsets and
497 OFFSETS is a table of section offsets already in the right
499 elements present in OFFSETS->offsets. If OFFSETS is non-zero, we
516 struct section_offsets *offsets,
524 gdb_assert (! (addrs && offsets));
539 if (! addrs && ! offsets)
513 syms_from_objfile(struct objfile *objfile, struct section_addr_info *addrs, struct section_offsets *offsets, int num_offsets, int mainline, int verbo) argument
779 symbol_file_add_with_addrs_or_offsets(char *name, int from_tty, struct section_addr_info *addrs, struct section_offsets *offsets, int num_offsets, int mainline, int flags) argument
1810 struct section_offsets *offsets; local
[all...]
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_geom.c376 * cmds, datas, offsets, errors, and sizes are arrays of length ncmds. Each IO
381 vdev_geom_io(struct g_consumer *cp, int *cmds, void **datas, off_t *offsets, argument
403 off = offsets[i];
424 off = offsets[i];
450 off_t offsets[VDEV_LABELS]; local
474 offsets[l] = vdev_label_offset(psize, l, 0) + VDEV_SKIP_SIZE;
477 ASSERT(offsets[l] % pp->sectorsize == 0);
481 vdev_geom_io(cp, cmds, (void**)vdev_lists, offsets, sizes, errors,
/freebsd-head/sys/contrib/zstd/lib/dictBuilder/
H A Dfastcover.c120 size_t *offsets; member in struct:__anon115
266 free(ctx->offsets);
267 ctx->offsets = NULL;
285 size_t start = ctx->offsets[i]; /* start of current dmer */
286 size_t const currSampleEnd = ctx->offsets[i+1];
355 /* The offsets of each file */
356 ctx->offsets = (size_t*)calloc((nbSamples + 1), sizeof(size_t));
357 if (ctx->offsets == NULL) {
363 /* Fill offsets from the samplesSizes */
365 ctx->offsets[
[all...]
H A Dcover.c205 size_t *offsets; member in struct:__anon111
348 const size_t *curOffsetPtr = ctx->offsets;
349 const size_t *offsetsEnd = ctx->offsets + ctx->nbSamples;
353 size_t curSampleEnd = ctx->offsets[0];
519 if (ctx->offsets) {
520 free(ctx->offsets);
521 ctx->offsets = NULL;
575 /* The offsets of each file */
576 ctx->offsets = (size_t *)malloc((nbSamples + 1) * sizeof(size_t));
577 if (!ctx->suffix || !ctx->dmerAt || !ctx->offsets) {
778 COVER_checkTotalCompressedSize(const ZDICT_cover_params_t parameters, const size_t *samplesSizes, const BYTE *samples, size_t *offsets, size_t nbTrainSamples, size_t nbSamples, BYTE *const dict, size_t dictBufferCapacity) argument
949 COVER_selectDict(BYTE* customDictContent, size_t dictContentSize, const BYTE* samplesBuffer, const size_t* samplesSizes, unsigned nbFinalizeSamples, size_t nbCheckSamples, size_t nbSamples, ZDICT_cover_params_t params, size_t* offsets, size_t totalCompressedSize) argument
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_fs_fs/
H A Drevprops.c169 apr_array_header_t *offsets; member in struct:packed_revprops_t
526 revprops->offsets = apr_array_make(result_pool, (int)count,
592 APR_ARRAY_PUSH(revprops->offsets, apr_size_t) = offset;
987 apr_size_t offset = APR_ARRAY_IDX(revprops->offsets, i, apr_size_t);
1109 + (revprops->offsets->nelts + 2) * SVN_INT64_BUFFER_SIZE;
H A Dindex.c47 * limit file offsets stored in the indexes.
120 /* global file offsets (item index is the array index) within the
123 apr_uint64_t *offsets; member in struct:l2p_page_t
154 /* offsets of the pages / cluster descriptions within the index file */
155 apr_off_t *offsets; member in struct:p2l_header_t
346 /* Create and open a packed number stream reading from offsets START to
798 /* collect the item offsets and sub-item value for the current revision */
1072 /* correct the page description offsets */
1342 result->offsets = apr_pcalloc(result_pool, result->entry_count
1343 * sizeof(*result->offsets));
1484 l2p_page_get_entry(l2p_entry_baton_t *baton, const l2p_page_t *page, const apr_uint64_t *offsets, apr_pool_t *scratch_pool) argument
1517 const apr_uint64_t *offsets local
2282 p2l_page_info_copy(p2l_page_info_baton_t *baton, const p2l_header_t *header, const apr_off_t *offsets) argument
2323 const apr_off_t *offsets local
[all...]
/freebsd-head/contrib/binutils/bfd/
H A Dcoff-rs6000.c1195 /* After the count comes a list of four byte file offsets. */
1253 /* After the count comes a list of eight byte file offsets. */
1260 /* After the file offsets come null terminated symbol names. */
1860 0x0078 offsets [0x08 * num_syms], binary
1906 /* loop over the 32 bit offsets */
2002 /* loop over the 64 bit offsets */
2088 file_ptr *offsets;
2111 offsets = (file_ptr *) bfd_alloc (abfd, count * sizeof (file_ptr));
2112 if (offsets == NULL)
2189 offsets[
2085 file_ptr *offsets; local
2317 file_ptr *offsets; local
[all...]
/freebsd-head/sys/contrib/v4l/
H A Dvideodev.h199 int offsets[VIDEO_MAX_FRAME]; member in struct:video_mbuf
/freebsd-head/sys/dev/drm2/
H A Ddrm_mode.h315 __u32 offsets[4]; /* offset of each plane */ member in struct:drm_mode_fb_cmd2
/freebsd-head/contrib/wpa/hostapd/
H A Dconfig_file.c1539 int *offsets; local
1542 offsets = os_calloc(bss->nai_realm_count * MAX_NAI_REALMS,
1544 if (offsets == NULL)
1550 offsets[i * MAX_NAI_REALMS + j] =
1559 os_free(offsets);
1568 int offs = offsets[i * MAX_NAI_REALMS + j];
1575 os_free(offsets);
/freebsd-head/contrib/ntp/parseutil/
H A Ddcfd.c353 * offsets for parity field descriptions
1393 int offsets = 0; local
1420 offsets = 1;
1429 offsets = 1;
1803 PRINTF(offsets ? "%s, %2ld:%02ld:%02d, %ld.%02ld.%02ld, <%s%s%s%s> (%c%ld.%06lds)" :
/freebsd-head/contrib/byacc/
H A Dreader.c2131 Value_t *offsets = NULL, maxoffset; local
2144 offsets = TMALLOC(Value_t, maxoffset + 1);
2145 NO_SPACE(offsets);
2149 offsets[++j] = (Value_t)(i - nitems + 1);
2179 i = offsets[val];
2224 FREE(offsets);
2234 Value_t *offsets = NULL, maxoffset = 0; local
2253 offsets = TMALLOC(Value_t, maxoffset + 1);
2254 NO_SPACE(offsets);
2258 offsets[
2658 Value_t *offsets = NULL, maxoffset; local
[all...]
/freebsd-head/contrib/libgnuregex/
H A Dregex_internal.h331 int *offsets; member in struct:re_string_t

Completed in 207 milliseconds

12