Searched defs:bytes (Results 1 - 25 of 82) sorted by relevance

1234

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/MakeMaker/
H A Dbytes.pm1 package ExtUtils::MakeMaker::bytes;
6 my $Have_Bytes = eval q{require bytes; 1;};
12 unshift @_, 'bytes';
14 goto &bytes::import;
22 ExtUtils::MakeMaker::bytes - Version agnostic bytes.pm
26 use just like bytes.pm
30 bytes.pm was introduced with 5.6. This means any code which has 'use
31 bytes' in it won't even compile on 5.5.X. Since bytes i
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dbytes.pm1 package bytes; package
5 $bytes::hint_bits = 0x00000008;
8 $^H |= $bytes::hint_bits;
12 $^H &= ~$bytes::hint_bits;
32 bytes - Perl pragma to force byte semantics rather than character semantics
36 use bytes;
37 ... chr(...); # or bytes::chr
38 ... index(...); # or bytes::index
39 ... length(...); # or bytes::length
40 ... ord(...); # or bytes
[all...]
H A Dbytes_heavy.pl1 package bytes; package
4 BEGIN { bytes::import() }
9 BEGIN { bytes::import() }
17 BEGIN { bytes::import() }
22 BEGIN { bytes::import() }
27 BEGIN { bytes::import() }
34 BEGIN { bytes::import() }
/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Dreadv.c27 int bytes = read(fd, vp->iov_base, vp->iov_len); local
29 if (bytes < 0)
31 count += bytes;
32 if (bytes != vp->iov_len)
/osnet-11/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c43 dis_zalloc(size_t bytes) argument
45 return (mdb_zalloc(bytes, UM_SLEEP));
49 dis_free(void *ptr, size_t bytes) argument
51 mdb_free(ptr, bytes);
55 dis_zalloc(size_t bytes) argument
57 return (calloc(1, bytes));
62 dis_free(void *ptr, size_t bytes) argument
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/
H A DEncoder.pm58 sub bytes { subroutine
92 q(0+) => sub { use bytes (); bytes::length($_[0]->{data}) },
114 encoder($base64)->bytes('base64')->latin1;
118 encoder("\x{abcd}\x{ef}g")->utf8 == 6; # true. bytes::length($data)
191 =item $e-E<gt>bytes([$encoding])
197 The name I<bytes> was deliberately picked to avoid namespace tainting
232 encoder($base64)->bytes('base64')->latin1;
240 Numify returns the number of bytes in the instance data.
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DOpaque.java55 byte[] bytes; field in class:Opaque
64 bytes = nb;
157 byte[] cbyte = ((Opaque)o).bytes;
161 if (cbyte.length != bytes.length) {
171 if (cbyte[i] != bytes[i]) {
182 int i, n = bytes.length;
194 str = Integer.toHexString(((int)bytes[i] & 0xFF));
H A DCDAAdvert.java74 // Parse in the timestamp. Save bytes for auth block.
112 // Construct bytes for auth.
186 byte[] bytes)
189 bytes[0] = (byte)dis.read();
190 bytes[1] = (byte)dis.read();
191 bytes[2] = (byte)dis.read();
192 bytes[3] = (byte)dis.read();
194 long a = (long)((char)bytes[0] & 0xFF);
195 long b = (long)((char)bytes[1] & 0xFF);
196 long c = (long)((char)bytes[
184 getInt32(SrvLocHeader hdr, DataInputStream dis, byte[] bytes) 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/libparted/common/libparted/fs/jfs/
H A Djfs.c44 char bytes[512]; member in union:__anon2240
/osnet-11/usr/src/lib/libparted/common/libparted/fs/xfs/
H A Dxfs.c45 char bytes [512]; member in union:__anon2257
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c34 * IN bytes
41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) argument
49 hexstr[2 * i] = hexlist[(bytes[i] >> 4) & 0xf];
50 hexstr[2 * i + 1] = hexlist[bytes[i] & 0xf];
67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) argument
73 *bytes = NULL;
120 *bytes = b;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dmake_random_key.c45 unsigned char *bytes; local
66 if ((bytes = (unsigned char *) malloc(keybytes)) == NULL)
69 free(bytes);
73 random_data.data = (char *) bytes;
95 memset(bytes, 0, keybytes);
96 free(bytes);
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dos.h25 size_t bytes; /* Bytes read/written. */ member in struct:__io
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcAdapterCreateWWN.cc43 ssize_t bytes; local
46 bytes = read(fd, ptr, resid);
47 ptr += bytes;
48 resid -= bytes;
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_jni_support.c90 jbyteArray bytes = NULL; local
94 * Need a local reference for (1) FindClass(), (2) the bytes and
133 bytes = (*env)->CallObjectMethod(env, jstr, method);
138 len = (*env)->GetArrayLength(env, bytes);
159 * Copy the encoded bytes into the
164 bytes,
171 if (bytes != NULL) {
172 (*env)->DeleteLocalRef(env, bytes);
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dcrcutils.c55 compute_crc8(unsigned char *bytes, int length) argument
74 cm_nxt(p_crc, bytes[i]);
83 compute_crc32(unsigned char *bytes, int length) argument
102 cm_nxt(p_crc, bytes[i]);
117 compute_checksum32(unsigned char *bytes, int length) argument
124 /* Grab bytes in 4-byte chunks */
127 (void) memcpy(&next4bytes, &(bytes[i]), 4);
139 /* Grab any remaining bytes at the end */
141 tailbytes[k] = bytes[j];
145 * Treat any remaining bytes pu
[all...]
/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.
/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);
H A Dinet_net_pton.c50 * "size" is in bytes and describes "dst".
272 size_t bytes; local
366 bytes = (bits + 7) / 8;
367 if (bytes > size)
369 memcpy(dst, tmp, bytes);
386 * "size" is in bytes and describes "dst".
/osnet-11/usr/src/lib/libgss/
H A Dg_imp_name.c196 unsigned int bytes; local
225 * mechoid Length is encoded twice; once in 2 bytes as
233 (expName.length - curLength), &bytes);
237 * 'bytes' is the length of the DER length, '1' is for the DER
240 if ((bytes + mechOid.length + 1) != mechOidLen)
287 curLength += 4; /* 4 bytes for name len */
291 /* next 4 bytes in the name are the name length */
309 * less than 256 bytes, so the first octet of the length is
318 /* next two bytes are the name oid */
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_fopen.c88 u_int32_t mbytes, bytes; local
164 dbmfp->fd, &mbytes, &bytes, NULL)) != 0) {
170 if (bytes % pagesize != 0) {
179 last_pgno += bytes / pagesize;
230 * + and is less than mp_mmapsize bytes in size
258 (mbytes == maxmap / MEGABYTE && bytes >= maxmap % MEGABYTE))
263 dbmfp->len = (size_t)mbytes * MEGABYTE + bytes;
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_streams.c41 static void consume(evStream *str, size_t bytes);
223 consume(evStream *str, size_t bytes) { argument
224 while (bytes > 0U) {
225 if (bytes < (size_t)str->iovCur->iov_len) {
226 str->iovCur->iov_len -= bytes;
228 ((u_char *)str->iovCur->iov_base + bytes);
229 str->ioDone += bytes;
230 bytes = 0;
232 bytes -= str->iovCur->iov_len;
258 /* Dribble out some bytes o
262 int bytes; local
285 int bytes; local
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dconfopt.c259 ssize_t bytes; local
301 bytes = write(tdd, tmpbuf, strlen(tmpbuf));
304 if (bytes != strlen(tmpbuf)) {
/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...]

Completed in 130 milliseconds

1234