Home
last modified time | relevance | path

Searched refs:bytes (Results 76 – 100 of 507) sorted by relevance

12345678910>>...21

/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c61 unsigned char *bytes; in extract32() local
99 bytes = ELFSEEK(phdr->p_offset); in extract32()
105 (void) printf("0x%x", bytes[c]); in extract32()
131 unsigned char *bytes; in extract64() local
169 bytes = ELFSEEK(phdr->p_offset); in extract64()
175 (void) printf("0x%x", bytes[c]); in extract64()
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcmp.S69 ! Count > 48. We will byte compare (8 + num of bytes to dbl align)
70 ! bytes. We assume that most miscompares will occur in the 1st 8 bytes
78 sub %o4, 8, %o4 ! o4 = -(num of bytes to dbl align)
80 sub %o3, %o4, %o3 ! o3 = 8 + (num of bytes to dbl align)
93 ! Check to see if there are more bytes to compare
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_passes_array_size.c43 int size, bytes; in match_call() local
71 bytes = get_array_size_bytes(arg); in match_call()
72 if (bytes > 0) { in match_call()
73 nr = find_param_eq(expr, bytes); in match_call()
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcAdapterCreateWWN.cc43 ssize_t bytes; in get_random_bytes() local
46 bytes = read(fd, ptr, resid); in get_random_bytes()
47 ptr += bytes; in get_random_bytes()
48 resid -= bytes; in get_random_bytes()
/illumos-gate/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_2.S45 cmp %o2, 18 ! for small counts copy bytes
52 .s1algn:lduh [%o1], %o3 ! move 2 or 6 bytes to align it
54 sth %o3, [%g5] ! move 2 bytes to align src
64 sth %o4, [%g5] ! have to do 2-bytes,
/illumos-gate/usr/src/cmd/svc/startd/
H A Dproc.c43 ssize_t bytes; in proc_get_ctid() local
50 bytes = read(fd, &psinfo, sizeof (psinfo)); in proc_get_ctid()
51 if (bytes == sizeof (psinfo)) in proc_get_ctid()
/illumos-gate/usr/src/boot/libsa/
H A Dzalloc_protos.h33 Library void *znalloc(struct MemPool *mpool, uintptr_t bytes, size_t align);
34 Library void zfree(struct MemPool *mpool, void *ptr, uintptr_t bytes);
35 Library void zextendPool(MemPool *mp, void *base, uintptr_t bytes);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfwrite.c94 ssize_t bytes; in _fwrite_unlocked() local
106 bytes = iop->_ptr - iop->_base; in _fwrite_unlocked()
109 while ((n = _xwrite(iop, data, (size_t)bytes)) != in _fwrite_unlocked()
110 bytes) { in _fwrite_unlocked()
117 bytes -= n; in _fwrite_unlocked()
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DScalarRecord.java287 rawBytesString(byte[] bytes) in rawBytesString() argument
289 return rawBytesString(bytes, RAW_BYTES_INDENT); in rawBytesString()
307 rawBytesString(byte[] bytes, int indent) in rawBytesString() argument
322 int nbytes = bytes.length; in rawBytesString()
330 buf.append(hexString(unsignedByte(bytes[j]), 3)); in rawBytesString()
340 u = unsignedByte(bytes[j]); in rawBytesString()
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_store.c47 #define vuid_alloc(bytes) \ argument
48 kmem_alloc((bytes), servicing_interrupt())
49 #define vuid_free(ptr, bytes) kmem_free((ptr), (bytes)) argument
51 #define vuid_alloc(bytes) malloc((bytes)) argument
52 #define vuid_free(ptr, bytes) free((ptr)) argument
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemcpy.S47 movl 16(%esp),%ecx / %ecx = number of bytes to move
48 andl $0x3,%ecx / %ecx = number of bytes left to move
49 rep ; smovb / move the bytes
59 movl 4+12(%esp),%ecx / get number of bytes to move
73 cmpl $8,%ecx / if (size < 8 bytes)
86 movl %edx,%ecx / compute bytes left to move
87 andl %eax,%ecx / complete copy of remaining bytes
/illumos-gate/usr/src/uts/common/sys/
H A Dmemlist_impl.h43 extern void memlist_free_block(caddr_t base, size_t bytes);
52 extern int memlist_add_span(uint64_t address, uint64_t bytes,
54 extern int memlist_delete_span(uint64_t address, uint64_t bytes,
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dinfo.h36 #define rdsv3_info_copy(iter, data, bytes) \ argument
37 (void) ddi_copyout(data, iter->addr + iter->offset, bytes, 0); \
38 iter->offset += bytes
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c1284 int bytes, rc; in mbc_marshal_put_mbufs() local
1289 bytes = 0; in mbc_marshal_put_mbufs()
1292 bytes += m->m_len; in mbc_marshal_put_mbufs()
1295 if (bytes == 0) { in mbc_marshal_put_mbufs()
1313 mbc->chain_offset = bytes; in mbc_marshal_put_mbufs()
1697 if (bytes == 0) { in mbc_marshal_get_mbuf_chain()
1710 bytes += m->m_len; in mbc_marshal_get_mbuf_chain()
1713 nmbc->max_bytes = bytes; in mbc_marshal_get_mbuf_chain()
1732 if (bytes != 0) { in mbc_marshal_get_uio()
1754 iov[i].iov_len = bytes; in mbc_marshal_get_uio()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_overflow.c91 db_indx_t bytes; local
141 bytes = OV_LEN(h);
144 bytes -= start - curoff;
146 if (bytes > needed)
147 bytes = needed;
148 memcpy(p, src, bytes);
149 p += bytes;
150 needed -= bytes;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c458 memscrub_add_span(uint64_t start, uint64_t bytes) in memscrub_add_span() argument
462 uint64_t end = start + bytes - 1; in memscrub_add_span()
471 " size: 0x%llx\n", start, bytes); in memscrub_add_span()
499 next->ml_size += bytes; in memscrub_add_span()
507 next->ml_size += bytes; in memscrub_add_span()
533 dst->ml_size = bytes; in memscrub_add_span()
548 memscrub_phys_pages += mmu_btop(bytes); in memscrub_add_span()
/illumos-gate/usr/src/uts/common/io/usb/hcd/
H A DREADME68 Non Isochronous 9107 ns 14 bytes
69 Isochronous Output 6265 ns 10 bytes
73 SOF 4010 ns 6 bytes
74 EOF 2673 ns 4 bytes
133 Total Host delay will be 18 bytes.
232 125 us 7500 bytes (per uframe)
243 Non Isochronous 917 ns 55 bytes
244 Isochronous 634 ns 38 bytes
249 SOF 200 ns 12 bytes
250 EOF 1667 ns 70 bytes
[all …]
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dreport1.txt58 144 bytes. So if a leaf node in the new database is able to
59 store 144 bytes of combined key and data, only 1% of the leaves
61 is larger than 99 bytes, so if the key will never be on an
64 The average combined size of key+data is 48. Add in 16 bytes of
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemccpy.S35 decq %rcx / decrement bytes to go
42 decq %rcx / decrement bytes to go
49 decq %rcx / decrement bytes to go
56 decq %rcx / decrement bytes to go
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dascii_strcasecmp.S119 ! a word boundary. During these steps, the bytes are translated to
221 srl %i3, %l6, %i3 ! mask for fixing up bytes
223 orn %i0, %i3, %i0 ! force start bytes to non-zero
263 sll %i0, %l6, %g1 ! bytes from old aligned word from s2
315 bnz .done ! bytes differ, return difference
320 ! we know byte 1 is equal, so can compare bytes 1,2 as a group
324 bnz .done ! bytes differ, return difference
329 ! we know bytes 1, 2 are equal, so can compare bytes 1,2,3 as a group
333 bnz .done ! bytes differ, return difference
337 ! we know bytes 1,2,3 are equal, so can compare bytes 1,2,3,4 as group
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Ddoor_support.c42 char bytes[MAX(MINFRAME, MINFRAME32)]; in door_finish_dispatch() local
61 bzero(bytes, count); in door_finish_dispatch()
62 if (copyout(bytes, newsp, count) != 0) in door_finish_dispatch()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c892 bytes += c; in sendrequest()
902 if (bytes < hashbytes) in sendrequest()
916 bytes = -1; in sendrequest()
930 bytes++; in sendrequest()
935 bytes++; in sendrequest()
940 bytes++; in sendrequest()
960 bytes = -1; in sendrequest()
1243 bytes += c; in recvrequest()
1305 bytes++; in recvrequest()
1315 bytes++; in recvrequest()
[all …]
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmemutils.c37 xmalloc(bytes) in xmalloc() argument
38 size_t bytes; in xmalloc()
42 cp = malloc(bytes);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c128 int filefd, bytes, n, total = 0; in send_ocsp_request() local
156 bytes = strlen(req_header); in send_ocsp_request()
158 if ((n = write(sock, req_header, bytes)) < 0) { in send_ocsp_request()
165 if ((n = write(sock, buf, bytes)) < 0) { in send_ocsp_request()
235 int bytes = 0; in get_encoded_response() local
287 if (bytes < 0) { in get_encoded_response()
294 } else if (bytes == 0) { /* no more data */ in get_encoded_response()
299 offset += bytes; in get_encoded_response()
445 if (bytes < 0) { in get_encoded_response()
452 } else if (bytes == 0) { /* no more data */ in get_encoded_response()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvatpic.h40 int vatpic_master_handler(void *arg, bool in, uint16_t port, uint8_t bytes,
42 int vatpic_slave_handler(void *arg, bool in, uint16_t port, uint8_t bytes,
44 int vatpic_elc_handler(void *arg, bool in, uint16_t port, uint8_t bytes,

12345678910>>...21