Home
last modified time | relevance | path

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

12345678

/freebsd/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 …]
/freebsd/contrib/ntp/libparse/
H A Dieee754io.c145 offsets_t offsets, in put_byte()
150 *(bufp + offsets[*fieldindex]) = val; in put_byte()
164 offsets_t offsets in fetch_ieee754()
206 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */ in fetch_ieee754()
211 val = get_byte(bufp, offsets, &fieldindex); /* fetch rest of characteristic and start of mantissa */ in fetch_ieee754()
222 mantissa_low |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8; in fetch_ieee754()
223 mantissa_low |= get_byte(bufp, offsets, &fieldindex); in fetch_ieee754()
231 mantissa_high |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8; in fetch_ieee754()
232 mantissa_high |= get_byte(bufp, offsets, &fieldindex); in fetch_ieee754()
234 mantissa_low = (u_long)get_byte(bufp, offsets, in fetch_ieee754()
147 put_byte(unsigned char * bufp,offsets_t offsets,int * fieldindex,unsigned char val) put_byte() argument
166 fetch_ieee754(unsigned char ** buffpp,int size,l_fp * lfpp,offsets_t offsets) fetch_ieee754() argument
405 put_ieee754(unsigned char ** bufpp,int size,l_fp * lfpp,offsets_t offsets) put_ieee754() argument
[all...]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c142 int offsets[MAX_ENTRY_SIZE / sizeof(short)]; in _nc_wrap_entry() local
178 if (i < SIZEOF(offsets)) { in _nc_wrap_entry()
180 offsets[i] = ABSENT_OFFSET; in _nc_wrap_entry()
182 offsets[i] = CANCELLED_OFFSET; in _nc_wrap_entry()
184 offsets[i] = (int) (tp->Strings[i] - stringbuf); in _nc_wrap_entry()
201 if (i < SIZEOF(offsets)) { in _nc_wrap_entry()
202 if (offsets[i] == ABSENT_OFFSET) { in _nc_wrap_entry()
204 } else if (offsets[i] == CANCELLED_OFFSET) { in _nc_wrap_entry()
207 tp->Strings[i] = tp->str_table + offsets[i]; in _nc_wrap_entry()
215 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.c584 compute_offsets(char **Strings, size_t strmax, short *offsets) in compute_offsets() argument
591 offsets[i] = -1; in compute_offsets()
593 offsets[i] = -2; in compute_offsets()
595 offsets[i] = (short) nextfree; in compute_offsets()
725 short offsets[MAX_ENTRY_SIZE / 2]; in _nc_write_object() local
779 nextfree = compute_offsets(tp->Strings, strmax, offsets); in _nc_write_object()
833 convert_shorts(buf, offsets, strmax); in _nc_write_object()
860 offsets); in _nc_write_object()
863 if (tp->ext_Strings >= SIZEOF(offsets)) { in _nc_write_object()
869 offsets + tp->ext_Strings); in _nc_write_object()
[all …]
/freebsd/tests/sys/geom/class/eli/
H A Dunaligned_io.c55 unsigned int offsets, secsz; in main() local
95 offsets = MAX(EALG_MAX_BLOCK_LEN, HMAC_MAX_BLOCK_LEN) + 1; in main()
106 for (unsigned int i = 0; i < offsets; i++) { in main()
119 for (unsigned int i = 0; i < offsets; i++) { in main()
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.c222 size_t *offsets; member
365 const size_t *curOffsetPtr = ctx->offsets; in COVER_group()
366 const size_t *offsetsEnd = ctx->offsets + ctx->nbSamples; in COVER_group()
370 size_t curSampleEnd = ctx->offsets[0]; in COVER_group()
536 if (ctx->offsets) { in COVER_ctx_destroy()
537 free(ctx->offsets); in COVER_ctx_destroy()
538 ctx->offsets = NULL; in COVER_ctx_destroy()
593 ctx->offsets = (size_t *)malloc((nbSamples + 1) * sizeof(size_t)); in COVER_ctx_init()
594 if (!ctx->suffix || !ctx->dmerAt || !ctx->offsets) { in COVER_ctx_init()
605 ctx->offsets[0] = 0; in COVER_ctx_init()
[all …]
H A Dfastcover.c129 size_t *offsets; member
275 free(ctx->offsets); in FASTCOVER_ctx_destroy()
276 ctx->offsets = NULL; in FASTCOVER_ctx_destroy()
294 size_t start = ctx->offsets[i]; /* start of current dmer */ in FASTCOVER_computeFrequency()
295 size_t const currSampleEnd = ctx->offsets[i+1]; in FASTCOVER_computeFrequency()
365 ctx->offsets = (size_t*)calloc((nbSamples + 1), sizeof(size_t)); in FASTCOVER_ctx_init()
366 if (ctx->offsets == NULL) { in FASTCOVER_ctx_init()
374 ctx->offsets[0] = 0; in FASTCOVER_ctx_init()
377 ctx->offsets[i] = ctx->offsets[i - 1] + samplesSizes[i - 1]; in FASTCOVER_ctx_init()
499 …tx->samplesSizes, nbFinalizeSamples, ctx->nbTrainSamples, ctx->nbSamples, parameters, ctx->offsets, in FASTCOVER_tryParameters()
H A Dcover.h95 size_t *offsets,
158 …t nbCheckSamples, size_t nbSamples, ZDICT_cover_params_t params, size_t* offsets, size_t totalComp…
/freebsd/contrib/ntp/include/
H A Dieee754io.h55 int fetch_ieee754 (unsigned char **bufp, int size, l_fp *lfpp, offsets_t offsets);
56 int put_ieee754 (unsigned char **bufpp, int size, l_fp *lfpp, offsets_t offsets);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSMInstructions.td107 class SM_Probe_Pseudo <string opName, RegisterClass baseClass, OffsetMode offsets>
109 !con((ins i8imm:$sdata, baseClass:$sbase), offsets.Ins),
110 " $sdata, $sbase, " # offsets.Asm> {
117 let has_offset = offsets.HasOffset;
118 let has_soffset = offsets.HasSOffset;
122 RegisterClass dstClass, OffsetMode offsets>
124 !con((ins baseClass:$sbase), offsets.Ins, (ins CPol:$cpol)),
125 " $sdst, $sbase, " # offsets.Asm # "$cpol", []> {
132 let has_offset = offsets.HasOffset;
133 let has_soffset = offsets.HasSOffset;
[all …]
/freebsd/contrib/byacc/
H A Dreader.c2383 Value_t *offsets = NULL, maxoffset; in compile_arg() local
2398 offsets = TCMALLOC(Value_t, maxoffset + 1); in compile_arg()
2399 NO_SPACE(offsets); in compile_arg()
2403 offsets[++j] = (Value_t)(i - nitems + 1); in compile_arg()
2433 i = offsets[val]; in compile_arg()
2478 FREE(offsets); in compile_arg()
2488 Value_t *offsets = NULL, maxoffset = 0; in can_elide_arg() local
2509 offsets = TCMALLOC(Value_t, maxoffset + 1); in can_elide_arg()
2510 NO_SPACE(offsets); in can_elide_arg()
2514 offsets[++j] = (Value_t)(i - nitems + 1); in can_elide_arg()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dfsl-upm-nand.txt10 - fsl,upm-addr-line-cs-offsets : address offsets for multi-chip support.
56 fsl,upm-addr-line-cs-offsets = <0x0 0x200>;
/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/
H A Dbrcm,bcm963xx-cfe-nor-partitions.txt7 at fixed offsets. A valid firmware partition is identified by the ImageTag
9 kernel offsets and sizes within the firmware partition.
/freebsd/contrib/file/
H A DTODO21 Strings will be converted to offsets from the string table.
39 - We could use file_pipe2file more (for EOF offsets, CDF documents),
44 needs negative offsets.
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.timecodes38 poll: ?; offsets: Y = none, D = 3, T = 7, A = 0, Q = none
56 poll: ?; offsets: Y = 2, D = 5, T = 9, A = 0, Q = 1
81 poll: none; offsets: Y = none, D = 0, T = 4, A = 12, Q = 12
98 poll: none; offsets: Y = none, D = 15, T = 0, A = 9, Q = none
116 poll: "QMQDQT"; offsets: Y = 0, D = 3 T = 1,, A = 11, Q = 13
/freebsd/contrib/ntp/ntpq/
H A Dntpq.c936 u_short offsets[MAXFRAGS+1]; in getresponse()
953 memset(offsets, 0, sizeof(offsets)); in getresponse()
1042 (u_int)f, offsets[f], in getresponse()
1043 offsets[f] + in getresponse()
1241 f < numfrags && offsets[f] < offset; in getresponse()
1246 if (f < numfrags && offset == offsets[f]) { in getresponse()
1248 count, offset, counts[f], offsets[f])); in getresponse()
1252 if (f > 0 && (offsets[f-1] + counts[f-1]) > offset) { in getresponse()
1254 offset, counts[f-1], offsets[ in getresponse()
940 u_short offsets[MAXFRAGS+1]; getresponse() local
[all...]
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dnvidia,tegra20-sdhci.txt64 calibration offsets for 3.3 V signaling modes.
67 calibration offsets for 1.8 V signaling modes.
78 calibration offsets for SDR104 mode.
81 calibration offsets for HS400 mode.
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_gmtime.pod23 OPENSSL_gmtime_adj() adds the offsets in I<offset_day> and I<offset_sec> to I<tm>.
34 offsets, then converts back into a I<struct tm> specified by I<tm>. Leap seconds
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/
H A Dcpm.txt42 - Children's reg nodes must be offsets from the start of all muram, even
47 CPM-side offsets with pointer subtraction. It is recommended that
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h47 std::vector<uint64_t> offsets; member
50 return a.segments == b.segments && a.offsets == b.offsets;
52 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, const QOffsets &offsets);
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Ddra62x.dtsi9 /* Compared to dm814x, dra62x has different offsets for Ethernet */
/freebsd/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c557 struct list_head offsets; member
578 list_add_tail(&offset->list, &t->offsets); in table_offset_add()
583 INIT_LIST_HEAD(&t->offsets); in table_init()
624 list_for_each_entry(offset, &t->offsets, list) { in table_build()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsAArch64.td2222 // Gather loads: scalar base + vector offsets
2225 // 64 bit unscaled offsets
2228 // 64 bit scaled offsets
2231 // 32 bit unscaled offsets, sign (sxtw) or zero (zxtw) extended to 64 bits
2235 // 32 bit scaled offsets, sign (sxtw) or zero (zxtw) extended to 64 bits
2239 // 128-bit loads, scaled offsets (indices)
2242 // 128-bit loads, unscaled offsets
2251 // 128-bit loads, unscaled offsets
2255 // First-faulting gather loads: scalar base + vector offsets
2258 // 64 bit unscaled offsets
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c373 vdev_geom_io(struct g_consumer *cp, int *cmds, void **datas, off_t *offsets, in vdev_geom_io() argument
395 off = offsets[i]; in vdev_geom_io()
416 off = offsets[i]; in vdev_geom_io()
443 off_t offsets[VDEV_LABELS]; in vdev_geom_read_config() local
467 offsets[l] = vdev_label_offset(psize, l, 0) + VDEV_SKIP_SIZE; in vdev_geom_read_config()
470 ASSERT0(offsets[l] % pp->sectorsize); in vdev_geom_read_config()
474 vdev_geom_io(cp, cmds, (void**)vdev_lists, offsets, sizes, errors, in vdev_geom_read_config()

12345678