Searched refs:offsets (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-current/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-current/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];
101 unsigned *offsets; local
115 offsets = dlg_calloc(unsigned, maxcols);
119 assert_ptr(offsets, "dlg_align_columns");
124 unsigned cols = split_row(*value, offsets, widths);
139 unsigned cols = split_row(*value, offsets, width
[all...]
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A DMKcaptab.awk32 offsets[num_strings] = offset;
36 offsets[num_strings] = -1;
42 return offsets[num_strings - 1];
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-current/contrib/ntp/libparse/
H A Dieee754io.c145 offsets_t offsets,
150 *(bufp + offsets[*fieldindex]) = val;
164 offsets_t offsets
206 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */
211 val = get_byte(bufp, offsets, &fieldindex); /* fetch rest of characteristic and start of mantissa */
222 mantissa_low |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
223 mantissa_low |= get_byte(bufp, offsets, &fieldindex);
231 mantissa_high |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
232 mantissa_high |= get_byte(bufp, offsets, &fieldindex);
234 mantissa_low = (u_long)get_byte(bufp, offsets,
143 put_byte( unsigned char *bufp, offsets_t offsets, int *fieldindex, unsigned char val ) argument
[all...]
/freebsd-current/tests/sys/geom/class/eli/
H A Dunaligned_io.c55 unsigned int offsets, secsz; local
92 * Limit the number of offsets we test with, to avoid spending too much
95 offsets = MAX(EALG_MAX_BLOCK_LEN, HMAC_MAX_BLOCK_LEN) + 1;
99 * buf2, except at varying offsets into buf2. After each read, compare
106 for (unsigned int i = 0; i < offsets; i++) {
119 for (unsigned int i = 0; i < offsets; i++) {
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.h95 size_t *offsets,
158 size_t nbCheckSamples, size_t nbSamples, ZDICT_cover_params_t params, size_t* offsets, size_t totalCompressedSize);
H A Dfastcover.c129 size_t *offsets; member in struct:__anon151
275 free(ctx->offsets);
276 ctx->offsets = NULL;
294 size_t start = ctx->offsets[i]; /* start of current dmer */
295 size_t const currSampleEnd = ctx->offsets[i+1];
364 /* The offsets of each file */
365 ctx->offsets = (size_t*)calloc((nbSamples + 1), sizeof(size_t));
366 if (ctx->offsets == NULL) {
372 /* Fill offsets from the samplesSizes */
374 ctx->offsets[
[all...]
H A Dcover.c222 size_t *offsets; member in struct:__anon144
365 const size_t *curOffsetPtr = ctx->offsets;
366 const size_t *offsetsEnd = ctx->offsets + ctx->nbSamples;
370 size_t curSampleEnd = ctx->offsets[0];
536 if (ctx->offsets) {
537 free(ctx->offsets);
538 ctx->offsets = NULL;
592 /* The offsets of each file */
593 ctx->offsets = (size_t *)malloc((nbSamples + 1) * sizeof(size_t));
594 if (!ctx->suffix || !ctx->dmerAt || !ctx->offsets) {
795 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
966 COVER_selectDict(BYTE* customDictContent, size_t dictBufferCapacity, 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-current/tools/test/stress2/misc/
H A Df_offset.sh51 2. you operate on the file offsets larger than 4GB (but see below)
/freebsd-current/contrib/ntp/ntpq/
H A Dntpq.c936 u_short offsets[MAXFRAGS+1]; local
953 memset(offsets, 0, sizeof(offsets));
1042 (u_int)f, offsets[f],
1043 offsets[f] +
1241 f < numfrags && offsets[f] < offset;
1246 if (f < numfrags && offset == offsets[f]) {
1248 count, offset, counts[f], offsets[f]));
1252 if (f > 0 && (offsets[f-1] + counts[f-1]) > offset) {
1254 offset, counts[f-1], offsets[
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c368 * cmds, datas, offsets, errors, and sizes are arrays of length ncmds. Each IO
373 vdev_geom_io(struct g_consumer *cp, int *cmds, void **datas, off_t *offsets, argument
399 off = offsets[i];
420 off = offsets[i];
447 off_t offsets[VDEV_LABELS]; local
471 offsets[l] = vdev_label_offset(psize, l, 0) + VDEV_SKIP_SIZE;
474 ASSERT0(offsets[l] % pp->sectorsize);
478 vdev_geom_io(cp, cmds, (void**)vdev_lists, offsets, sizes, errors,
/freebsd-current/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c557 struct list_head offsets; member in struct:table
578 list_add_tail(&offset->list, &t->offsets);
583 INIT_LIST_HEAD(&t->offsets);
624 list_for_each_entry(offset, &t->offsets, list) {
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h38 /// The offsets used by the target when relocating the executable. Decoded from
41 /// If true, the offsets field describes segments. Otherwise, it describes
45 /// The individual offsets. Section offsets have two or three members.
46 /// Segment offsets have either one of two.
47 std::vector<uint64_t> offsets; member in struct:lldb_private::process_gdb_remote::QOffsets
50 return a.segments == b.segments && a.offsets == b.offsets;
52 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, const QOffsets &offsets);
443 /// one value in the offsets fiel
[all...]
/freebsd-current/contrib/libpcap/
H A Dbpf_image.c53 * Symbolic names for offsets that refer to the special Linux BPF locations.
55 static const char *offsets[SKF_AD_MAX] = { variable
119 (sym = offsets[p->k - (bpf_u_int32)SKF_AD_OFF]) != NULL) {
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp468 // Compute shard offsets.
469 auto offsets = std::make_unique<size_t[]>(compressed.numShards); local
470 offsets[0] = 2; // zlib header
472 offsets[i] = offsets[i - 1] + compressed.shards[i - 1].size();
477 memcpy(buf + offsets[i], compressed.shards[i].data(),
/freebsd-current/sys/dev/ice/
H A Dice_switch.h431 const struct ice_dummy_pkt_offsets **offsets);
437 const struct ice_dummy_pkt_offsets *offsets);
/freebsd-current/contrib/libpcap/msdos/
H A Dpkt_rx1.s30 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
/freebsd-current/sys/contrib/v4l/
H A Dvideodev.h199 int offsets[VIDEO_MAX_FRAME]; member in struct:video_mbuf
/freebsd-current/contrib/ntp/parseutil/
H A Ddcfd.c353 * offsets for parity field descriptions
1397 int offsets = 0; local
1424 offsets = 1;
1433 offsets = 1;
1807 PRINTF(offsets ? "%s, %2ld:%02ld:%02d, %ld.%02ld.%02ld, <%s%s%s%s> (%c%ld.%06lds)" :
/freebsd-current/sys/dev/virtio/gpu/
H A Dvirtio_gpu.h424 uint32_t offsets[4]; member in struct:virtio_gpu_set_scanout_blob
/freebsd-current/sys/dev/drm2/
H A Ddrm_mode.h313 __u32 offsets[4]; /* offset of each plane */ member in struct:drm_mode_fb_cmd2
/freebsd-current/sys/crypto/skein/amd64/
H A Dskein_block_asm.S90 # define offsets of fields in hash context structure
319 # so rbp is "centered" there, allowing short offsets to the key
322 # offsets from both rsp and rbp only in the 1024-bit case.
324 # with short offsets, except in the 1024-bit case
327 leaq FRAME_OFFS(%rsp),%rbp #maximize use of short offsets
952 o1K_rdi = 0 #offsets in X[] associated with each register
/freebsd-current/sys/arm/nvidia/drm2/
H A Dtegra_fb.c296 width * bpp + cmd->offsets[i];

Completed in 390 milliseconds

12