Searched refs:offset (Results 226 - 250 of 3197) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/siis/
H A Dsiis.h434 #define ATA_INB(res, offset) \
435 bus_read_1((res), (offset))
436 #define ATA_INW(res, offset) \
437 bus_read_2((res), (offset))
438 #define ATA_INL(res, offset) \
439 bus_read_4((res), (offset))
440 #define ATA_INSW(res, offset, addr, count) \
441 bus_read_multi_2((res), (offset), (addr), (count))
442 #define ATA_INSW_STRM(res, offset, addr, count) \
443 bus_read_multi_stream_2((res), (offset), (add
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dtree-ssa-address.c78 rtx * GTY ((skip)) off_p; /* The point in template where the offset should
96 *STEP_P and offset to *OFFSET_P. */
99 gen_addr_rtx (rtx symbol, rtx base, rtx index, rtx step, rtx offset, argument
135 if (offset)
138 gen_rtx_PLUS (Pmode, act_elem, offset));
148 else if (offset)
152 *addr = gen_rtx_PLUS (Pmode, *addr, offset);
158 *addr = offset;
186 if (addr->offset && !integer_zerop (addr->offset))
248 tree step = TMR_STEP (mem_ref), offset = TMR_OFFSET (mem_ref); local
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_iso_xorriso.c74 int64_t offset; local
102 archive_read_data_block(a, &p, &size, &offset));
124 archive_read_data_block(a, &p, &size, &offset));
125 assertEqualInt(0, offset);
168 archive_read_data_block(a, &p, &size, &offset));
169 assertEqualInt(0, offset);
180 archive_read_data_block(a, &p, &size, &offset));
181 assertEqualInt(0, offset);
192 archive_read_data_block(a, &p, &size, &offset));
193 assertEqualInt(0, offset);
[all...]
/freebsd-11-stable/sbin/dump/
H A Dcache.c81 cread(int fd, void *buf, size_t nbytes, off_t offset) argument
96 return(pread(fd, buf, nbytes, offset));
108 ((offset ^ (offset + nbytes - 1)) & mask) != 0) {
109 return(pread(fd, buf, nbytes, offset));
117 hi = (offset / BlockSize) % HSize;
121 if (((blk->b_Offset ^ offset) & mask) == 0)
129 blk->b_Offset = offset & mask;
137 bcopy(blk->b_Data + (offset - blk->b_Offset), buf, nbytes);
143 return(pread(fd, buf, nbytes, offset));
[all...]
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_info.c147 uint64_t offset; local
154 offset = dbg->dbg_info_off;
161 offset = dbg->dbg_types_off;
167 while (offset < ds->ds_size) {
175 cu->cu_offset = offset;
177 length = dbg->read(ds->ds_data, &offset, 4);
179 length = dbg->read(ds->ds_data, &offset, 8);
190 if (length > ds->ds_size - offset) {
196 /* Compute the offset to the next compilation unit: */
197 next_offset = offset
292 Dwarf_Unsigned offset; local
[all...]
H A Dlibdwarf_nametbl.c65 uint64_t offset, dwarf_size, length, cuoff; local
79 offset = 0;
80 while (offset < ds->ds_size) {
92 length = dbg->read(ds->ds_data, &offset, 4);
95 length = dbg->read(ds->ds_data, &offset, 8);
101 nt->nt_version = dbg->read(ds->ds_data, &offset, 2);
102 nt->nt_cu_offset = dbg->read(ds->ds_data, &offset, dwarf_size);
103 nt->nt_cu_length = dbg->read(ds->ds_data, &offset, dwarf_size);
119 while (offset < ds->ds_size) {
120 cuoff = dbg->read(ds->ds_data, &offset, dwarf_siz
175 uint64_t offset; local
[all...]
/freebsd-11-stable/contrib/libstdc++/libsupc++/
H A Deh_call.cc137 _Unwind_Word offset;
139 offset = (_Unwind_Word) &rtti_list[n * (rtti_stride >> 2)];
140 offset = _Unwind_decode_target2(offset);
141 catch_type = (const std::type_info*) (offset);
/freebsd-11-stable/lib/libc/net/
H A Dip6opt.c403 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, u_int8_t type, argument
406 int currentlen = offset, padlen = 0;
443 u_int8_t *optp = (u_int8_t *)extbuf + offset;
468 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) argument
470 int updatelen = offset > 0 ? (1 + ((offset - 1) | 7)) : 0;
474 int padlen = updatelen - offset;
479 padp = (u_int8_t *)extbuf + offset;
493 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument
496 memcpy((u_int8_t *)databuf + offset, va
501 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, u_int8_t *typep, socklen_t *lenp, void **databufp) argument
550 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, u_int8_t type, socklen_t *lenp, void **databufp) argument
592 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument
596 memcpy(val, (u_int8_t *)databuf + offset, vallen); local
[all...]
/freebsd-11-stable/lib/libc/posix1e/
H A Dacl_entry.c77 acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int offset) argument
94 if (offset < 0 || offset > acl_int->acl_cnt) {
100 for (i = acl_int->acl_cnt; i > offset; i--)
105 *entry_p = &acl_int->acl_entry[offset];
/freebsd-11-stable/crypto/openssh/
H A Dsftp-glob.c40 int offset; member in struct:SFTP_OPENDIR
59 r->offset = 0;
74 if (od->dir[od->offset] == NULL)
84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN);
86 strlcpy(ret->d_name, od->dir[od->offset++]->filename,
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-mm.h107 ptrdiff_t offset; local
112 offset = (int)((char * )item - (char *)memblock);
113 xge_assert(offset >= 0 && offset < mempool->memblock_size);
115 (*memblock_item_idx) = (int) offset / mempool->item_size;
/freebsd-11-stable/contrib/netbsd-tests/fs/hfs/
H A Dt_pathconvert.c40 int offset, nbytes; local
62 for (offset = 0; offset < nbytes; offset += dirent->d_reclen) {
63 dirent = (struct dirent *)(buf + offset);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugAranges.cpp36 lldb::offset_t offset = 0; local
40 while (debug_aranges_data.ValidOffset(offset)) {
41 llvm::Error error = set.extract(debug_aranges_data, &offset);
74 void DWARFDebugAranges::AppendRange(dw_offset_t offset, dw_addr_t low_pc, argument
77 m_aranges.Append(RangeToDIE::Entry(low_pc, high_pc - low_pc, offset));
/freebsd-11-stable/sys/dev/sfxge/common/
H A Defx_vpd.c473 unsigned int offset; local
477 offset = 0;
480 if ((rc = efx_vpd_next_tag(data, size, &offset,
483 offset += taglen;
488 *lengthp = offset;
506 unsigned int offset; local
519 offset = 0;
522 if ((rc = efx_vpd_next_tag(data, size, &offset,
537 if ((rc = efx_vpd_next_keyword(data + offset,
543 for (i = 0; i < offset
605 unsigned int offset = 0; local
659 unsigned int offset; local
737 unsigned int offset; local
797 unsigned int offset; local
[all...]
/freebsd-11-stable/contrib/file/src/
H A Dsoftmagic.c195 const struct buffer *b, size_t offset, int mode, int text,
239 if (msetoffset(ms, m, &bb, b, offset, cont_level) == -1)
245 bb.flen, offset, cont_level,
331 if (msetoffset(ms, m, &bb, b, offset, cont_level) == -1)
341 ms->offset +=
353 bb.fbuf), bb.flen, offset,
601 t = ms->offset + sizeof(char);
623 t = ms->offset + sizeof(short);
646 t = ms->offset + sizeof(int32_t);
669 t = ms->offset
194 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, const struct buffer *b, size_t offset, int mode, int text, int flip, uint16_t *indir_count, uint16_t *name_count, int *printed_something, int *need_separator, int *returnval, int *found_match) argument
1329 mdebug(uint32_t offset, const char *str, size_t len) argument
1338 mcopy(struct magic_set *ms, union VALUETYPE *p, int type, int indir, const unsigned char *s, uint32_t offset, size_t nbytes, struct magic *m) argument
1473 intmax_t offset; local
1513 int32_t offset; local
1566 uint32_t offset = ms->offset; local
[all...]
/freebsd-11-stable/usr.sbin/fmtree/
H A Dcreate.c152 int fd, offset; local
162 offset = printf("%*s%s", indent, "", escaped_name);
164 offset = printf("%*s %s", indent, "", escaped_name);
168 if (offset > (INDENTNAMELEN + indent))
169 offset = MAXLINELEN;
171 offset += printf("%*s", (INDENTNAMELEN + indent) - offset, "");
174 output(indent, &offset, "type=%s", inotype(p->fts_statp->st_mode));
179 output(indent, &offset, "uname=%s", pw->pw_name);
189 output(indent, &offset, "ui
416 output(int indent, int *offset, const char *fmt, ...) argument
[all...]
/freebsd-11-stable/lib/libc/stdio/
H A Dopen_wmemstream.c51 fpos_t offset; member in struct:wmemstream
86 assert(ms->len >= 0 && ms->offset >= 0);
87 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset;
132 if (!wmemstream_grow(ms, ms->offset + wlen))
141 while (len > 0 && ms->offset < ms->len) {
142 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len,
162 ms->offset++;
179 old = ms->offset;
184 ms->offset
[all...]
H A Dfmemopen.c44 size_t off; /* current offset into the buffer */
49 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence);
213 fmemopen_seek(void *cookie, fpos_t offset, int whence) argument
220 if (offset > ck->size) {
224 ck->off = offset;
228 if (ck->off + offset > ck->size) {
232 ck->off += offset;
236 if (offset > 0 || -offset > ck->len) {
240 ck->off = ck->len + offset;
[all...]
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvhpet.c477 int i, offset; local
480 offset = gpa - VHPET_BASE;
493 if ((offset & 0x4) != 0) {
500 "offset 0x%08x, size %d", offset, size);
505 if (offset & (size - 1)) {
507 "offset 0x%08x, size %d", offset, size);
511 if (offset == HPET_CONFIG || offset
623 int i, offset; local
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-fpa-defs.h120 static inline uint64_t CVMX_FPA_FPFX_MARKS(unsigned long offset) argument
123 (OCTEON_IS_MODEL(OCTEON_CN38XX) && (((offset >= 1) && (offset <= 7)))) ||
124 (OCTEON_IS_MODEL(OCTEON_CN56XX) && (((offset >= 1) && (offset <= 7)))) ||
125 (OCTEON_IS_MODEL(OCTEON_CN58XX) && (((offset >= 1) && (offset <= 7)))) ||
126 (OCTEON_IS_MODEL(OCTEON_CN61XX) && (((offset >= 1) && (offset <= 7)))) ||
127 (OCTEON_IS_MODEL(OCTEON_CN63XX) && (((offset >
138 CVMX_FPA_FPFX_SIZE(unsigned long offset) argument
169 CVMX_FPA_POOLX_END_ADDR(unsigned long offset) argument
183 CVMX_FPA_POOLX_START_ADDR(unsigned long offset) argument
197 CVMX_FPA_POOLX_THRESHOLD(unsigned long offset) argument
231 CVMX_FPA_QUEX_AVAILABLE(unsigned long offset) argument
253 CVMX_FPA_QUEX_PAGE_INDEX(unsigned long offset) argument
[all...]
/freebsd-11-stable/sys/dev/altera/avgen/
H A Daltera_avgen.c80 u_long offset, size; local
102 offset = uio->uio_offset;
103 if (offset + width > size)
107 v1 = bus_read_1(sc->avg_res, offset);
112 v2 = bus_read_2(sc->avg_res, offset);
117 v4 = bus_read_4(sc->avg_res, offset);
123 v8 = bus_read_8(sc->avg_res, offset);
142 u_long offset, size; local
161 offset = uio->uio_offset;
162 if (offset
203 altera_avgen_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dtemplate.c45 #define DPOC(data,offset) ((const void *)(((const unsigned char *)data) + offset))
46 #define DPO(data,offset) ((void *)(((unsigned char *)data) + offset))
95 return t->offset;
170 void *el = DPO(data, t->offset);
249 data = DPO(data, t->offset);
294 void *el = DPO(data, t->offset);
317 struct template_of *el = DPO(data, t->offset);
348 size_t size = bmember->offset;
[all...]
/freebsd-11-stable/contrib/dialog/
H A Ddialog.c1351 process_trace_option(char **argv, int *offset) argument
1356 dlg_trace(optionString(argv, offset));
1359 *offset += 1;
1375 process_common_options(int argc, char **argv, int offset, bool output) argument
1379 dlg_trace_msg("# process_common_options, offset %d\n", offset);
1381 while (offset < argc && !done) { /* Common options */
1382 dlg_trace_msg("#\targv[%d] = %s\n", offset, argv[offset]);
1383 switch (lookupOption(argv[offset],
1700 int offset = 1; local
[all...]
/freebsd-11-stable/tools/regression/aio/aiop/
H A Daiop.c68 * + Add in per-op stats - time and offset - so one could start mapping out
105 set_aio(struct aiocb *a, iot_t iot, int fd, off_t offset, int size, char *buf) argument
111 a->aio_offset = offset;
131 off_t file_size, offset; local
166 * Lets instead treat random() as returning a block offset w/ block size
199 offset = random() % (file_size / io_size);
200 offset *= io_size;
201 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]);
209 offset = random() % (file_size / io_size);
210 offset *
[all...]
/freebsd-11-stable/tools/regression/sockets/sendfile/
H A Dsendfile.c75 uint32_t offset; member in struct:sendfile_test
86 uint32_t *offset, uint32_t *length);
94 uint32_t offset, uint32_t length);
102 test_th(struct test_header *th, uint32_t *header_length, uint32_t *offset, argument
109 *offset = ntohl(th->th_offset);
152 uint32_t header_length, offset, length, counter; local
163 if (test_th(&th, &header_length, &offset, &length) != 0)
256 init_th(struct test_header *th, uint32_t header_length, uint32_t offset, argument
262 th->th_offset = htonl(offset);
265 MD5FileChunk(path, th->th_md5, offset, lengt
[all...]

Completed in 473 milliseconds

1234567891011>>