Searched defs:offset (Results 1 - 25 of 1313) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dsext-sext.c1 int foo(signed char offset) argument
3 return (int)(short) offset;
H A Dzext-sext.c1 int foo(unsigned char offset) argument
3 return (int)(short) offset;
H A Dzext-zext.c1 int foo(unsigned char offset) argument
3 return (int)(unsigned short) offset;
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_seek.c26 * Seek to a page/byte offset in the file.
38 off_t offset; local
45 offset = (off_t)pgsize * pageno + relative;
47 offset = -offset;
49 ret = lseek(fd, offset, whence);
H A Dos_rw.c94 size_t offset; local
99 offset = 0; offset < len; taddr += nr, offset += nr) {
101 __db_jump.j_read(fd, taddr, len - offset) :
102 read(fd, taddr, len - offset)) < 0)
124 size_t offset; local
129 offset = 0; offset < len; taddr += nw, offset
[all...]
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioRawPipe.h42 off_t offset; /* offset to start read/write */ member in class:AudioRawPipe
50 const off_t offset = 0
59 AudioError SetOffset(off_t val); // set offset
60 off_t GetOffset() const; // set offset
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_rx_rd32.h47 * offset The offset into the DMA CSR (the register).
65 * offset += ((channel << 1) + 1) << DMA_CSR_SLL;
72 * offset = 0x600070
73 * offset &= 0xff = 0x70
74 * offset += ((3 << 1) + 1) << 9
78 * offset += 0xe00 = 0xe70
87 * channel number by 512 bytes, and get the correct offset to
90 * is offset 512 bytes from the previous channel (count 16 step 512).
92 * offset
114 RXDMA_REG_READ32( npi_handle_t handle, uint32_t offset, int channel) argument
[all...]
H A Dnpi_rx_rd64.h51 * #define NXGE_REG_RD64(handle, offset, val_p) { \
52 * *(val_p) = NXGE_NPI_PIO_READ64(handle, offset); \
53 * npi_rtrace_update(handle, B_FALSE, &npi_rtracebuf, (uint32_t)offset, \
57 * #define NXGE_REG_RD64(handle, offset, val_p) {\
58 * *(val_p) = NXGE_NPI_PIO_READ64(handle, offset);\
59 * rt_show_reg(0xbadbad, B_FALSE, (uint32_t)offset, (uint64_t)(*(val_p)));\
62 * #define NXGE_REG_RD64(handle, offset, val_p) {\
66 * *(val_p) = NXGE_NPI_PIO_READ64(handle, offset);\
74 * n, offset, *val_p);\
78 * cmn_err(CE_WARN, "(FATAL)NXGE_REG_RD64 on offset
222 RXDMA_REG_READ64( npi_handle_t handle, uint64_t offset, int channel, uint64_t *value) argument
[all...]
H A Dnpi_rx_wr64.h51 * #define NXGE_REG_WR64(handle, offset, val) { \
52 * NXGE_NPI_PIO_WRITE64(handle, (offset), (val)); \
53 * npi_rtrace_update(handle, B_TRUE, &npi_rtracebuf, (uint32_t)offset, \
57 * #define NXGE_REG_WR64(handle, offset, val) {\
58 * NXGE_NPI_PIO_WRITE64(handle, offset, (val));\
59 * rt_show_reg(0xbadbad, B_TRUE, (uint32_t)offset, (uint64_t)(val));\
62 * #define NXGE_REG_WR64(handle, offset, val) {\
63 * NXGE_NPI_PIO_WRITE64(handle, (offset), (val));\
70 * #define NXGE_NPI_PIO_WRITE64(npi_handle, offset, data) \
72 * (uint64_t *)(NPI_REGP(npi_handle) + (uint32_t)offset), dat
200 RXDMA_REG_WRITE64( npi_handle_t handle, uint64_t offset, int channel, uint64_t value) argument
[all...]
H A Dnpi_tx_rd64.h47 * offset The offset into the DMA CSR (the register).
72 * offset += ((channel << 1) << DMA_CSR_SLL);
79 * offset = 0x640028
80 * offset &= 0xff = 0x28
81 * offset += ((3 << 1) << 9)
84 * offset += 0xc00 = 0xc28
93 * channel number by 512 bytes, and get the correct offset to
96 * is offset 512 bytes from the previous channel (count 16 step 512).
98 * offset
122 TXDMA_REG_READ64( npi_handle_t handle, uint64_t offset, int channel, uint64_t *value) argument
[all...]
H A Dnpi_tx_wr64.h47 * offset The offset into the DMA CSR (the register).
72 * offset += ((channel << 1) << DMA_CSR_SLL);
79 * offset = 0x640028
80 * offset &= 0xff = 0x28
81 * offset += ((3 << 1) << 9)
84 * offset += 0xc00 = 0xc28
93 * channel number by 512 bytes, and get the correct offset to
96 * is offset 512 bytes from the previous channel (count 16 step 512).
98 * offset
122 TXDMA_REG_WRITE64( npi_handle_t handle, uint64_t offset, int channel, uint64_t value) argument
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_implied10.c6 int offset; variable
14 if (({int test2 = !!(offset >= 10u || x[offset] == 1); frob(); frob(); frob(); test2;}))
15 __smatch_value("offset");
17 __smatch_value("offset");
27 sm_implied10.c:15 func() offset = s32min-s32max
28 sm_implied10.c:17 func() offset = 0-9
/illumos-gate/usr/src/lib/libgen/common/
H A Dstrfind.c35 * If `s2' is a substring of `s1' return the offset of the first
45 ptrdiff_t offset; local
53 offset = s1 - as1 - 1;
58 return ((int)offset);
59 s1 = offset + as1 + 1;
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlseek.c36 lseek(int fd, off_t offset, int whence) argument
45 off = getmodsize(offset, sizeof (struct compat_utmp),
52 return (_syscall(SYS_lseek, fd, offset, whence));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dposix_fadvise.c49 posix_fadvise(int fd, off_t offset, off_t len, int advice) argument
77 posix_fadvise64(int fd, off64_t offset, off64_t len, int advice) argument
H A Dposix_fallocate.c57 posix_fallocate(int fd, off_t offset, off_t len) argument
62 if (offset < 0 || len <= 0)
66 lck.l_start = offset;
83 posix_fallocate64(int fd, off64_t offset, off64_t len) argument
88 if (offset < 0 || len <= 0)
92 lck.l_start = offset;
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfseek.c50 fseek(FILE *iop, long offset, int ptrname) argument
66 offset -= iop->_cnt;
79 p = lseek(FILENO(iop), (off_t)offset, ptrname);
H A Dfseeko.c57 fseeko64(FILE *iop, off64_t offset, int ptrname) argument
73 offset -= iop->_cnt;
86 p = lseek64(FILENO(iop), offset, ptrname);
93 fseeko(FILE *iop, off_t offset, int ptrname) argument
95 return (fseek(iop, offset, ptrname));
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmweek.c32 static unsigned char offset[7][3] = variable
63 week = (tm->tm_yday + offset[day][type]) / 7;
79 tm->tm_mday = week * 7 - offset[d][type] + ((day || type != 2) ? day : 7);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dstage1_5.c28 disk_read_savesect_func (unsigned long long sector, int offset, int length) argument
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_string.c44 Dwarf_Off offset,
55 if (offset == dbg->de_debug_str.dss_size) {
60 if (offset > dbg->de_debug_str.dss_size) {
75 *string = (char *) dbg->de_debug_str.dss_data + offset;
43 dwarf_get_str(Dwarf_Debug dbg, Dwarf_Off offset, char **string, Dwarf_Signed * returned_str_len, Dwarf_Error * error) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_message.c34 int offset; local
41 offset = (int) l_offset;
45 cp = strerror(offset);
51 if (offset < sys_nerr)
52 return(sys_errlist[offset]);
62 return(ggss_error_table(offset));
64 return(kadm_error_table(offset));
66 return(kdb5_error_table(offset));
68 return(kdc5_error_table(offset));
70 return(kpws_error_table(offset));
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsegoff.h2 * Segment:offset types and macros
13 /* Segment:offset structure. Note that the order within the structure
14 * is offset:segment.
17 uint16_t offset; member in struct:__anon2271
24 /* Macros for converting from virtual to segment:offset addresses,
/illumos-gate/usr/src/cmd/tail/
H A Dmisc.c61 * absolute file offset `startoff'. May move map window.
86 * offset `offset'. The start of the map window will be TAILMAPLEN
90 maparound(struct mapinfo *mip, off_t offset) argument
96 mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1);
/illumos-gate/usr/src/cmd/truss/
H A Dprocset.c49 show_procset(private_t *pri, long offset) argument
54 if (Pread(Proc, psp, sizeof (*psp), offset) == sizeof (*psp)) {

Completed in 466 milliseconds

1234567891011>>