Searched refs:bytes (Results 51 - 75 of 239) sorted by relevance

12345678910

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dopen.t100 require bytes; # not use
111 systell(F) == ($a += bytes::length($b))
116 print '# bytes::length($b) == ', bytes::length($b), "\n";
126 "on :utf8 streams sysread() should work on characters, not bytes");
128 # syswrite() on should work on characters, not bytes
134 systell(G) == ($a += bytes::length($_))
137 print '# bytes::length($_) == ', bytes::length($_), "\n";
148 "on :utf8 streams syswrite() should work on characters, not bytes");
[all...]
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSrvLocHeader.java65 // Number of bytes in the version and function fields.
123 byte[] payload = new byte[0]; // bytes of outgoing payload,
124 int nbytes = 0; // number of bytes processed
403 // Convert it to the proper encoding. Return the raw bytes for
420 // Now get the bytes.
422 byte[] bytes = new byte[n];
424 dis.readFully(bytes, 0, n);
428 buf.append(getBytesString(bytes, encoding));
430 return bytes;
438 byte[] bytes
483 getBytesString(byte[] bytes, String encoding) argument
[all...]
H A DIANACharCode.java76 // First two bytes indicate that string is big/little endian Unicode.
78 // must add the big endian bytes on every call.
156 * has more than 8 bytes or if the sign bit gets turned on.
191 code = (int)(b[0] & 0xFF); // control bytes...
268 // Convert to bytes. We need to taylor the array size to the
269 // number of bytes because otherwise, in encodings that
270 // take less bytes, the resulting string will have garbage
345 // Determine from the flag bytes whether this is big or little endian
346 // Unicode. If there are no flag bytes, then just return UNICODE.
348 static String getUnicodeEndianess(byte[] bytes) { argument
372 addBigEndianFlag(byte[] bytes) argument
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4v-fjathena/common/
H A Dmemcpy.s31 * Copy s2 to s1, always copy n bytes.
108 andcc %g1, 7, %o3 ! %o3 has bytes till dst 8 bytes aligned
110 andn %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
118 andncc %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
125 sub %o2, %o3, %o2 ! Residue bytes in %o2
132 sub %o5, %o0, %o5 ! align the src at 8 bytes.
134 ldx [%o5], %o1 ! load first 8 bytes
138 sllx %o0, %g1, %o3 ! shift loaded 8 bytes left into tmp reg
154 ldx [%o5], %g1 ! load 8 bytes
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_utils.c87 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;
[all...]
H A Dbt_debug.c250 " {%.*s}", (int)bi->ksize, bi->bytes);
262 *(db_pgno_t *)bl->bytes,
263 *(u_int32_t *)(bl->bytes + sizeof(db_pgno_t)));
266 (int)bl->ksize, bl->bytes);
270 *(db_pgno_t *)(bl->bytes + bl->ksize),
271 *(u_int32_t *)(bl->bytes + bl->ksize +
275 (int)bl->dsize, bl->bytes + bl->ksize);
282 *(db_pgno_t *)rl->bytes,
283 *(u_int32_t *)(rl->bytes + sizeof(db_pgno_t)));
286 "%.*s", (int)rl->dsize, rl->bytes);
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Dau_to.c211 short bytes; /* length of string */ local
213 bytes = strlen(text) + 1;
216 sizeof (short) + bytes));
223 adr_short(&adr, &bytes, 1);
224 adr_char(&adr, text, bytes);
240 short bytes; /* length of string */ local
242 bytes = strlen(text) + 1;
245 sizeof (short) + bytes));
252 adr_short(&adr, &bytes, 1);
253 adr_char(&adr, text, bytes);
672 short bytes; /* length of string */ local
697 short bytes; /* length of string */ local
849 au_to_opaque(char *opaque, short bytes) argument
1133 short bytes; /* length of string */ local
1159 short bytes; /* length of string */ local
1187 short bytes; /* length of string */ local
1471 short bytes; /* length of string */ local
1499 short bytes; /* length of string */ local
[all...]
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dstrncpy.s32 * Copy string s2 to s1, truncating or null-padding to always copy n bytes
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
121 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes
127 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes
133 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes
[all...]
H A Dmemmove.s35 * Copy s2 to s1, always copy n bytes.
43 cmp %i2, 17 ! delay slot, for small counts copy bytes
48 cmp %i2, 17 ! delay slot, for small counts copy bytes
58 s1algn: ldub [%i1], %i3 ! move 1 or 3 bytes to align it
70 stb %i4, [%i0] ! have to do bytes,
91 1: sll %i4, 8, %g1 ! save residual bytes
112 2: sll %i4, 24, %g1 ! save residual bytes
120 sub %i1, 1, %i1 ! used three bytes of last word read
135 3: sll %i4, 16, %g1 ! save residual bytes
143 sub %i1, 2, %i1 ! used two bytes o
[all...]
H A Dmemset.s57 cmp %o2, 7 ! if small counts, just write bytes
61 .walign:btst 3, %o5 ! if bigger, align to 4 bytes
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DScalarRecord.java83 * number of bytes used to store the primitive in the native DTrace
86 * output formatting to know the number of bytes used to represent
90 * @param nativeByteCount number of bytes used to store the given
93 * @throws IllegalArgumentException if the given number of bytes is
124 "number of bytes is " + numberOfBytes +
130 "number of bytes is " + numberOfBytes +
140 "number of bytes is " + numberOfBytes +
148 "number of bytes is " + numberOfBytes +
174 * Gets the number of bytes used to store the primitive value of
178 * number of bytes use
287 rawBytesString(byte[] bytes) argument
307 rawBytesString(byte[] bytes, int indent) argument
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcmp.s31 * Compare n bytes: s1>s2: >0 s1==s2: 0 s1<s2: <0
69 ! 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
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_utils.c99 if (__ovfl_get(t, rl->bytes,
114 memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
119 data->data = rl->bytes;
/osnet-11/usr/src/lib/libc/i386_hwcap1/gen/
H A Dmemset.s42 / %ecx contains # bytes to set
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 t
[all...]
/osnet-11/usr/src/lib/libc/amd64/gen/
H A Dwsncmp.s49 jne .notequal_0 / Are the bytes equal?
57 jne .notequal_1 / Are the bytes equal?
65 jne .notequal_2 / Are the bytes equal?
73 jne .notequal_3 / Are the bytes equal?
H A Dstrncat.s98 cmpq $8, %rdx / if number of bytes < 8
112 subq $8, %rdx / decrement number of bytes by 8
114 cmpq $8, %rdx / if number of bytes >= 8
121 / number of bytes < 8 or a null byte found in the quadword
122 cmpq $0, %rdx / if number of bytes == 0
125 decq %rdx / decrement number of bytes by 1
136 cmpq $0, %rdx / if number of bytes == 0
139 decq %rdx / decrement number of bytes by 1
/osnet-11/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemset.s61 cmp %o2, 12 ! if small counts, just write bytes
78 sub %o3, 8, %o3 ! -(bytes till double aligned)
81 ! Set -(%o3) bytes till sp1 double aligned
91 or %o1, %o3, %o1 ! now o1 has 2 bytes of c
94 or %o1, %o3, %o1 ! now o1 has 4 bytes of c
99 or %o1, %o3, %o1 ! now o1 has 8 bytes of c
114 subcc %o4, 32, %o4 ! main loop, 32 bytes per iteration
123 and %o2, 7, %o2 ! o2 has the remaining bytes (<8)
136 sub %o3, 64, %o3 ! o3 is -(bytes till block aligned)
139 ! Store -(%o3) bytes til
[all...]
H A Dmemcmp.s31 * Compare n bytes: s1>s2: >0 s1==s2: 0 s1<s2: <0
65 ! Count > 48. We will byte compare (8 + num of bytes to dbl align)
66 ! bytes. We assume that most miscompares will occur in the 1st 8 bytes
71 sub %o4, 8, %o4 ! o4 = -(num of bytes to dbl align)
73 sub %o3, %o4, %o3 ! o3 = 8 + (num of bytes to dbl align)
87 ! Check to see if there are more bytes to compare
172 neg %i3 ! bytes till block aligned
174 ! Compare %i3 bytes till dst is block (64 byte) aligned. use
/osnet-11/usr/src/lib/libc/i386/gen/
H A Dmemccpy.s41 decl %ecx / decrement bytes to go
48 decl %ecx / decrement bytes to go
55 decl %ecx / decrement bytes to go
62 decl %ecx / decrement bytes to go
H A Dstrncmp.s44 jne .notequal_0 / Are the bytes equal?
52 jne .notequal_1 / Are the bytes equal?
60 jne .notequal_2 / Are the bytes equal?
68 jne .notequal_3 / Are the bytes equal?
H A Dstrncat.s93 movl 20(%esp), %esi / %esi = number of bytes
97 cmpl $4, %esi / if number of bytes < 4
111 subl $4, %esi / decrement number of bytes by 4
113 cmpl $4, %esi / if number of bytes >= 4
120 / number of bytes < 4 or a null byte found in the word
121 cmpl $0, %esi / if number of bytes == 0
124 decl %esi / decrement number of bytes by 1
135 cmpl $0, %esi / if number of bytes == 0
138 decl %esi / decrement number of bytes by 1
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dmemmove.s35 * Copy s2 to s1, always copy n bytes.
43 cmp %i2, 17 ! delay slot, for small counts copy bytes
48 cmp %i2, 17 ! delay slot, for small counts copy bytes
58 s1algn: ldub [%i1], %i3 ! move 1 or 3 bytes to align it
70 stb %i4, [%i0] ! have to do bytes,
91 1: sll %i4, 8, %g1 ! save residual bytes
112 2: sll %i4, 24, %g1 ! save residual bytes
120 sub %i1, 1, %i1 ! used three bytes of last word read
135 3: sll %i4, 16, %g1 ! save residual bytes
143 sub %i1, 2, %i1 ! used two bytes o
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4v-hwcap3/common/
H A Dmemset.s53 * For small 6 or fewer bytes stores, bytes will be stored.
55 * For less than 32 bytes stores, align the address on 4 byte boundary.
56 * Then store as many 4-byte chunks, followed by trailing bytes.
58 * For sizes greater than 32 bytes, align the address on 8 byte boundary.
60 * store 8-bytes chunks to align the address on 64 byte boundary
68 * 44 cache lines (32 bytes each) before the main loop
72 * the other three long words (24 bytes)of each cache line
73 * until fewer than 1536 bytes remain. Then set the remaining
78 * 64 bytes remai
[all...]
/osnet-11/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_ntop.c76 decoct(const u_char *src, int bytes, char *dst, size_t size) { argument
81 for (b = 1; b <= bytes; b++) {
86 if (b != bytes) {
113 size_t bytes; local
120 /* Find number of significant bytes in address. */
129 bytes = (((bits <= 0) ? 1 : bits) + 7) / 8;
130 if (len > bytes)
131 bytes = len;
132 b = decoct(src, bytes, dst, size);
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dfwrite.c96 ssize_t bytes; local
108 bytes = iop->_ptr - iop->_base;
111 while ((n = write(fileno(iop), data, (size_t)bytes))
112 != bytes) {
119 bytes -= n;
126 * written is in bytes until the return.

Completed in 31 milliseconds

12345678910