HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 101 - 125 of 1193) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERInteger.java 11 byte[] bytes; field in class:DERInteger
73 bytes = BigInteger.valueOf(value).toByteArray();
79 bytes = value.toByteArray();
83 byte[] bytes)
85 this.bytes = bytes;
90 return new BigInteger(bytes);
99 return new BigInteger(1, bytes);
109 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length
    [all...]
  /external/chromium/base/
string_number_conversions_unittest.cc 439 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local
440 hex = HexEncode(bytes, sizeof(bytes));
  /external/chromium/chrome/browser/ui/webui/
screenshot_source.cc 63 std::vector<unsigned char> bytes; local
66 &bytes, &read_complete));
68 return bytes;
  /external/chromium_org/android_webview/native/
input_stream_impl.cc 31 // Maximum number of bytes to be read in a single read.
58 int bytes = Java_InputStream_available(env, jobject_.obj()); local
61 *bytes_available = bytes;
67 int bytes = Java_InputStream_skip(env, jobject_.obj(), n); local
70 if (bytes > n)
72 *bytes_skipped = bytes;
  /external/chromium_org/base/android/
jni_array_unittest.cc 18 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen); local
19 ASSERT_TRUE(bytes.obj());
22 JavaByteArrayToByteVector(env, bytes.obj(), &vec);
26 AppendJavaByteArrayToByteVector(env, bytes.obj(), &vec);
  /external/chromium_org/base/memory/
ref_counted_memory.cc 40 RefCountedBytes* bytes = new RefCountedBytes; local
41 bytes->data_.swap(*to_destroy);
42 return bytes;
  /external/chromium_org/base/metrics/
bucket_ranges.cc 13 // Static table of checksums for all possible 8 bit bytes.
76 unsigned char bytes[sizeof(HistogramBase::Sample)]; member in union:base::__anon6230
80 sum = kCrcTable[(sum & 0xff) ^ converter.bytes[i]] ^ (sum >> 8);
84 // and we don't care about edge cases since we have an even number of bytes.
  /external/chromium_org/third_party/leveldatabase/src/util/
bloom.cc 36 // Compute bloom filter size (in both bits and bytes)
43 size_t bytes = (bits + 7) / 8; local
44 bits = bytes * 8;
47 dst->resize(init_size + bytes, 0);
  /external/chromium_org/third_party/libwebp/webp/
mux_types.h 51 const uint8_t* bytes; member in struct:WebPData
66 free((void*)webp_data->bytes);
76 if (src->bytes != NULL && src->size != 0) {
77 dst->bytes = (uint8_t*)malloc(src->size);
78 if (dst->bytes == NULL) return 0;
79 memcpy((void*)dst->bytes, src->bytes, src->size);
  /external/chromium_org/third_party/openssl/openssl/crypto/bn/
bn_rand.c 121 int ret=0,bit,bytes,mask; local
130 bytes=(bits+7)/8;
134 buf=(unsigned char *)OPENSSL_malloc(bytes);
147 if (RAND_pseudo_bytes(buf, bytes) == -1)
152 if (RAND_bytes(buf, bytes) <= 0)
164 for (i = 0; i < bytes; i++)
198 buf[bytes-1]|=1;
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
204 OPENSSL_cleanse(buf,bytes);
  /external/chromium_org/third_party/skia/src/utils/
SkBase64.cpp 45 unsigned char bytes[4]; local
56 bytes[byte] = decoded;
80 int one = (uint8_t) (bytes[0] << 2);
81 two = bytes[1];
84 three = bytes[2];
87 three |= bytes[3];
  /external/dhcpcd/
bpf.c 167 ssize_t bytes; local
180 bytes = read(fd, iface->buffer, iface->buffer_size);
181 if (bytes == -1)
183 else if ((size_t)bytes < sizeof(packet))
185 iface->buffer_len = bytes;
188 bytes = -1;
197 bytes = packet.bh_caplen - ETHER_HDR_LEN;
198 if (bytes > len)
199 bytes = len;
200 memcpy(data, payload, bytes);
    [all...]
  /external/guava/guava/src/com/google/common/hash/
HashCodes.java 26 * Creates a 32-bit {@code HashCode}, of which the bytes will form the passed int, interpreted
62 * Creates a 64-bit {@code HashCode}, of which the bytes will form the passed long, interpreted
106 static HashCode fromBytes(byte[] bytes) {
107 return new BytesHashCode(bytes);
111 final byte[] bytes; field in class:HashCodes.BytesHashCode
113 BytesHashCode(byte[] bytes) {
114 this.bytes = bytes;
118 return bytes.length * 8;
122 return bytes.clone()
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
ReserializingTestCollectionGenerator.java 55 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
56 ObjectOutputStream out = new ObjectOutputStream(bytes);
59 new ByteArrayInputStream(bytes.toByteArray()));
  /external/libvorbis/doc/
02-bitpacking.tex 19 \subsubsection{octets, bytes and words}
23 seven, ten, eleven and sixteen bit 'bytes' have been used. For
29 bytes as the fundamental atom of storage). A 'word' is an integer
34 bytes (16, 32 or 64 bits). Note however that the Vorbis bitpacking
52 Words are native groupings of multiple bytes. Several byte orderings
63 Logically, bytes are always coded and decoded in order from byte zero
78 coded. When packing the bits into bytes, the encoder begins by
149 byte n [ ] bytestream length == 2 bytes
166 byte n [ ] bytestream length == 4 bytes
185 byte 3 [0 0 0 0 0 1 1 0] bytestream length == 4 bytes
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DecoderSpecificInfo.java 34 byte[] bytes; field in class:DecoderSpecificInfo
39 bytes = new byte[sizeOfInstance];
40 bb.get(bytes);
45 return bytes.length;
49 ByteBuffer out = ByteBuffer.wrap(bytes);
58 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
74 if (!Arrays.equals(bytes, that.bytes)) {
    [all...]
  /external/openssh/
bufbn.c 56 * by (bits+7)/8 bytes of binary data, msb first.
76 /* Store the number of bits in the buffer in two bytes, msb first. */
101 u_int bits, bytes; local
110 /* Compute the number of binary bytes that follow. */
111 bytes = (bits + 7) / 8;
112 if (bytes > 8 * 1024) {
113 error("buffer_get_bignum_ret: cannot handle BN of size %d", bytes);
116 if (buffer_len(buffer) < bytes) {
121 if (BN_bin2bn(bin, bytes, value) == NULL) {
125 if (buffer_consume_ret(buffer, bytes) == -1)
145 u_int bytes; local
    [all...]
  /external/openssl/crypto/bn/
bn_rand.c 121 int ret=0,bit,bytes,mask; local
130 bytes=(bits+7)/8;
134 buf=(unsigned char *)OPENSSL_malloc(bytes);
147 if (RAND_pseudo_bytes(buf, bytes) == -1)
152 if (RAND_bytes(buf, bytes) <= 0)
164 for (i = 0; i < bytes; i++)
198 buf[bytes-1]|=1;
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
204 OPENSSL_cleanse(buf,bytes);
  /external/skia/src/images/
SkJpegUtility.cpp 53 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local
56 if (bytes == 0) {
61 src->current_offset += bytes;
64 src->bytes_in_buffer = bytes;
74 long bytes = (long)src->fStream->skip(bytesToSkip); local
75 if (bytes <= 0 || bytes > bytesToSkip) {
76 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes);
81 src->current_offset += bytes;
83 bytesToSkip -= bytes;
    [all...]
  /external/skia/src/utils/
SkBase64.cpp 45 unsigned char bytes[4]; local
56 bytes[byte] = decoded;
80 int one = (uint8_t) (bytes[0] << 2);
81 two = bytes[1];
84 three = bytes[2];
87 three |= bytes[3];
  /external/smack/src/org/xbill/DNS/
NSAPRecord.java 32 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
46 bytes.write(current);
57 return bytes.toByteArray();
  /external/valgrind/main/coregrind/
pub_core_aspacemgr.h 295 also ensure that at least abs(EXTRA) extra free bytes will remain
305 mapping by DELTA bytes, taking the space from a reservation section
320 the mapping forwards only by DELTA bytes, and trashes whatever was
357 HChar bytes[VG_STACK_GUARD_SZB member in struct:__anon29805
372 /* Figure out how many bytes of the stack's active area have not been
  /external/webp/include/webp/
mux_types.h 59 const uint8_t* bytes; member in struct:WebPData
74 free((void*)webp_data->bytes);
84 if (src->bytes != NULL && src->size != 0) {
85 dst->bytes = (uint8_t*)malloc(src->size);
86 if (dst->bytes == NULL) return 0;
87 memcpy((void*)dst->bytes, src->bytes, src->size);
  /frameworks/base/core/java/com/android/internal/util/
BitwiseInputStream.java 96 int bytes = (bits >>> 3) + ((bits & 0x07) > 0 ? 1 : 0); // &7==%8 local
97 byte[] arr = new byte[bytes];
98 for (int i = 0; i < bytes; i++) {
  /frameworks/base/core/jni/
android_ddm_DdmHandleNativeHeap.cpp 51 char bytes[1024]; local
53 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
54 s.append(bytes, byteCount);

Completed in 796 milliseconds

1 2 3 45 6 7 8 91011>>