/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SrvLocHeader.java | 422 byte[] bytes = new byte[n]; in getStringField() 424 dis.readFully(bytes, 0, n); in getStringField() 428 buf.append(getBytesString(bytes, encoding)); in getStringField() 430 return bytes; in getStringField() 440 nbytes += bytes.length + SHORT_SIZE; in putString() 442 return bytes; in putString() 454 byte[] bytes = getStringBytes(string, encoding); in putStringField() 458 putInteger(bytes.length, baos); in putStringField() 462 baos.write(bytes, 0, bytes.length); in putStringField() 464 return bytes; in putStringField() [all …]
|
H A D | Opaque.java | 55 byte[] bytes; field in Opaque 64 bytes = nb; in Opaque() 157 byte[] cbyte = ((Opaque)o).bytes; in equals() 161 if (cbyte.length != bytes.length) { in equals() 171 if (cbyte[i] != bytes[i]) { in equals() 182 int i, n = bytes.length; in toString() 194 str = Integer.toHexString(((int)bytes[i] & 0xFF)); in toString()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | eio.c | 130 unsigned long bytes; local 144 bytes = 0L; 171 bytes += len; 172 putfilesize(bytes); 201 long msglen, bytes; in erddata() local 258 bytes += len; in erddata() 259 putfilesize(bytes); in erddata() 361 unsigned long bytes; local 370 bytes = 0L; 374 bytes += len; [all …]
|
H A D | dio.c | 169 unsigned long bytes; local 172 bytes = 0L; 175 bytes += len; 176 putfilesize(bytes); 208 unsigned long bytes; local 211 bytes = 0L; 218 bytes += len; 219 putfilesize(bytes);
|
/illumos-gate/usr/src/lib/libc/capabilities/sun4v/common/ |
H A D | memset.S | 77 cmp %o2, 7 ! if small counts, just write bytes 82 or %o1, %o3, %o1 ! now o1 has 2 bytes of c 87 or %o1, %o3, %o1 ! now o1 has 4 bytes of c 90 or %o1, %o3, %o1 ! now o1 has 8 bytes of c 95 sub %o3, 8, %o3 ! -(bytes till double aligned) 98 ! Set -(%o3) bytes till sp1 double aligned 108 cmp %o2, 0x40 ! check if there are 64 bytes to set 129 andn %o2, 63, %o4 ! calc size of blocks in bytes 178 cmp %o4, 0x40 ! check if 64 bytes to set 202 and %o2, 7, %o2 ! calc bytes left after doubles [all …]
|
H A D | memcpy.S | 225 andcc %g1, 7, %o3 ! %o3 has bytes till dst 8 bytes aligned 271 ldx [%o5], %g1 ! load 8 bytes 388 ! Alignment off by 8 bytes 432 ! Alignment off by 16 bytes 479 ! Alignment off by 24 bytes 528 ! Alignment off by 32 bytes 578 ! Alignment off by 40 bytes 631 ! Alignment off by 48 bytes 686 ! Alignment off by 56 bytes 1754 ld [%o1], %o4 ! load 4 bytes [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | memset.S | 80 blu,pn %xcc, .wrchar ! small count: just set bytes 83 sll %o1, 8, %o4 ! generate 4 bytes filled with char 90 sllx %o1, 32, %o4 ! now fill the other 4 bytes with char 93 .dalign: ! Set bytes until 8-byte aligned 105 stx %o1, [%o5] ! write aligned 8 bytes 110 b .wrchar ! write the remaining bytes 113 .walign: ! Set bytes until 4-byte aligned 114 btst 3, %o5 ! if bigger, align to 4 bytes
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | tohexstr.c | 41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) in tohexstr() argument 49 hexstr[2 * i] = hexlist[(bytes[i] >> 4) & 0xf]; in tohexstr() 50 hexstr[2 * i + 1] = hexlist[bytes[i] & 0xf]; in tohexstr() 67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) in hexstr_to_bytes() argument 73 *bytes = NULL; in hexstr_to_bytes() 120 *bytes = b; in hexstr_to_bytes()
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | spaceanal.tcl | 45 pri_unused int, -- Number of unused bytes on primary pages 309 Size of the file in bytes 348 the bytes of storage consumed. 355 of data divided by bytes of storage consumed. 360 the right is the bytes of key divided by the bytes of storage consumed. 367 Average unused bytes per entry 398 Unused bytes on primary pages 402 total number of bytes on primary pages. 404 Unused bytes on overflow pages 408 total number of bytes on overflow pages. [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | page.c | 55 rdsv3_page_remainder_alloc(struct rdsv3_scatterlist *scat, unsigned long bytes, in rdsv3_page_remainder_alloc() argument 63 if (bytes >= PAGE_SIZE) { in rdsv3_page_remainder_alloc() 77 page = kmem_alloc(bytes, KM_NOSLEEP); in rdsv3_page_remainder_alloc() 83 rdsv3_sg_set_page(scat, page, bytes, 0); in rdsv3_page_remainder_alloc() 87 bytes, rdsv3_sg_page(scat), scat->length); in rdsv3_page_remainder_alloc()
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_nvm.c | 854 u8 *bytes, int *perrno); 857 u8 *bytes, int *perrno); 860 u8 *bytes, int *perrno); 914 u8 *bytes, int *perrno) in i40e_nvmupd_command() argument 949 bytes[0] = hw->nvmupd_state; in i40e_nvmupd_command() 952 bytes[1] = 0; in i40e_nvmupd_command() 1057 u8 *bytes, int *perrno) in i40e_nvmupd_state_init() argument 1523 u8 *bytes, int *perrno) in i40e_nvmupd_exec_aq() argument 1648 bytes += len; in i40e_nvmupd_get_aq_result() 1712 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_read() argument [all …]
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | crcutils.c | 55 compute_crc8(unsigned char *bytes, int length) in compute_crc8() argument 74 cm_nxt(p_crc, bytes[i]); in compute_crc8() 83 compute_crc32(unsigned char *bytes, int length) in compute_crc32() argument 102 cm_nxt(p_crc, bytes[i]); in compute_crc32() 117 compute_checksum32(unsigned char *bytes, int length) in compute_checksum32() argument 127 (void) memcpy(&next4bytes, &(bytes[i]), 4); in compute_checksum32() 141 tailbytes[k] = bytes[j]; in compute_checksum32()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | crcutils.c | 55 compute_crc8(unsigned char *bytes, int length) in compute_crc8() argument 74 cm_nxt(p_crc, bytes[i]); in compute_crc8() 83 compute_crc32(unsigned char *bytes, int length) in compute_crc32() argument 102 cm_nxt(p_crc, bytes[i]); in compute_crc32() 117 compute_checksum32(unsigned char *bytes, int length) in compute_checksum32() argument 127 (void) memcpy(&next4bytes, &(bytes[i]), 4); in compute_checksum32() 141 tailbytes[k] = bytes[j]; in compute_checksum32()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_utils.c | 87 if (__ovfl_get(t, bl->bytes, 100 memmove(rkey->data, bl->bytes, bl->ksize); 105 key->data = bl->bytes; 113 if (__ovfl_get(t, bl->bytes + bl->ksize, 128 memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize); 133 data->data = bl->bytes + bl->ksize; 179 bigkey = bl->bytes; 181 k2.data = bl->bytes; 187 bigkey = bi->bytes; 189 k2.data = bi->bytes;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | make_random_key.c | 45 unsigned char *bytes; in krb5_c_make_random_key() local 66 if ((bytes = (unsigned char *) malloc(keybytes)) == NULL) in krb5_c_make_random_key() 69 free(bytes); in krb5_c_make_random_key() 73 random_data.data = (char *) bytes; in krb5_c_make_random_key() 95 memset(bytes, 0, keybytes); in krb5_c_make_random_key() 96 free(bytes); in krb5_c_make_random_key()
|
/illumos-gate/usr/src/lib/libc/sparcv9/crt/ |
H A D | __align_cpy_4.S | 61 brz,pn %o2, .done ! Skip out if no bytes to copy. 72 ld [%o1], %o3 ! Neither is aligned, so do 4 bytes; 90 .loop16a: ! Load and store 16 bytes at a time. 97 bg,pt %xcc, .loop16a ! Have at least 16 bytes left. 101 bg,a,pt %xcc, .chkwd ! Have some remaining bytes. 107 bl,a,pn %xcc, .wrword ! Only 4 bytes left. 135 andcc %o2, 15, %o3 ! Mod 16 of number of bytes to copy. 146 .mod4: ! Do first 4 bytes, then do multiples of 16. 155 .mod8: ! Do first 8 bytes, then do multiples of 16. 166 .mod12: ! Do first 12 bytes, then do multiples of 16. [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_allocating_enough_data.c | 24 int bytes; in db_returns_buf_size() local 41 bytes = type_bytes(left_type); in db_returns_buf_size() 42 if (bytes <= 0) in db_returns_buf_size() 44 if (sval.uvalue >= bytes) in db_returns_buf_size() 48 sm_error("not allocating enough for = '%s' %d vs %s", str, bytes, sval_to_str(sval)); in db_returns_buf_size()
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | memchr.S | 62 movl 16(%esp), %edi / %edi = number of bytes 63 cmpl $4, %edi / if number of bytes < 4 79 subl $4, %edi / decrement number of bytes by 4 81 cmpl $4, %edi / if number of bytes >= 4 84 cmpl $0, %edi / if number of bytes == 0 88 decl %edi / decrement number of bytes by 1 98 cmpl $0, %edi / if number of bytes == 0 103 decl %edi / decrement number of bytes by 1 106 cmpl $4, %edi / if number of bytes >= 4
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pctestdev.c | 75 int port, int bytes, uint32_t *eax, void *arg); 80 int port, int bytes, uint32_t *eax, void *arg); 82 int port, int bytes, uint32_t *eax, void *arg); 181 int port __unused, int bytes __unused, uint32_t *eax, void *arg __unused) in pctestdev_debugexit_io() 214 int port, int bytes, uint32_t *eax, void *arg __unused) in pctestdev_ioport_io() argument 219 if (port + bytes > IOPORT_BASE + IOPORT_LEN) in pctestdev_ioport_io() 223 mask = (-1UL >> (32 - (bytes * 8))) << lsb; in pctestdev_ioport_io() 237 int bytes, uint32_t *eax, void *arg __unused) in pctestdev_irq_io() argument 241 if (bytes != 1) in pctestdev_irq_io()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_jni_support.c | 88 jbyteArray bytes = NULL; in JNU_GetStringNativeChars() local 131 bytes = (*env)->CallObjectMethod(env, jstr, method); in JNU_GetStringNativeChars() 136 len = (*env)->GetArrayLength(env, bytes); in JNU_GetStringNativeChars() 162 bytes, in JNU_GetStringNativeChars() 169 if (bytes != NULL) { in JNU_GetStringNativeChars() 170 (*env)->DeleteLocalRef(env, bytes); in JNU_GetStringNativeChars()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | memscrub.c | 706 bytes = bytes_remaining; in memscrub_verify_span() 717 *pagesp = bytes / PAGESIZE; in memscrub_verify_span() 784 dst->ml_size = bytes; in memscrub_add_span_gen() 817 next->ml_size += bytes; in memscrub_add_span_gen() 832 if ((address + bytes) > in memscrub_add_span_gen() 840 if ((address + bytes) == in memscrub_add_span_gen() 849 mlp->ml_size += bytes; in memscrub_add_span_gen() 861 next->ml_size += bytes; in memscrub_add_span_gen() 920 address, bytes); in memscrub_delete_span() 969 next->ml_size -= bytes; in memscrub_delete_span() [all …]
|
/illumos-gate/usr/src/lib/libc/i386_hwcap1/gen/ |
H A D | memset.S | 71 andl $63, %esi / bytes to align to 64 byte align addr 72 neg %esi / compute count of bytes 76 subl %esi, %ebx / ebx contains remainder of bytes to set 77 movl %esi, %ecx / alignment bytes 81 andl $3,%ecx / %ecx = number of bytes left 90 / load xmm0 with bytes to be set 93 movl %eax,(%esp) / copy eax into each of 4 bytes 116 andl $63, %ebx / remainder of bytes to copy 117 movl %ebx, %ecx / ecx contains remainer of bytes to set 142 andl $63, %ebx / remainder of bytes to copy [all …]
|
/illumos-gate/usr/src/tools/codesign/ |
H A D | codesign_server.pl | 162 my ($size, $bytes); 169 read(F, $bytes, $size); 172 syswrite(STDOUT, $bytes, $size); 185 my $bytes; 187 if (!read(STDIN, $bytes, $size)) { 195 syswrite(F, $bytes, $size);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strncpy.S | 55 ! strncpy works similarly to strcpy, except that n bytes of s2 57 ! bytes remain to be copied, strncpy will copy null bytes into 77 sub %i5, 4, %i5 ! bytes until src aligned 113 ! remaining src bytes and then start padding with null bytes 135 addcc %i4, 8, %g0 ! number of pad bytes < 8 ? 144 sub %l1, 4, %l1 ! bytes to align dst to word boundary 244 srl %i1, 8, %g1 ! %g1<15:0> = bytes 2, 3 245 sth %g1, [%l0 + 1] ! store bytes 2, 3 261 srl %i1, 16, %g1 ! %g1<15:0> = bytes 1, 2 262 sth %g1, [%l0] ! store bytes 1, 2 [all …]
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | memchr.S | 60 cmpq $4, %rdx / if number of bytes < 4 76 subq $4, %rdx / decrement number of bytes by 4 78 cmpq $4, %rdx / if number of bytes >= 4 81 cmpq $0, %rdx / if number of bytes == 0 85 decq %rdx / decrement number of bytes by 1 94 cmpq $0, %rdx / if number of bytes == 0 99 decq %rdx / decrement number of bytes by 1 102 cmpq $4, %rdx / if number of bytes >= 4
|