HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 126 - 150 of 4212) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/valgrind/main/none/tests/x86-linux/
seg_override.stdout.exp 2 got 65536 bytes
  /frameworks/base/tools/layoutlib/bridge/src/dalvik/system/
VMRuntime_Delegate.java 33 // Dalvik has 32bit pointers, the array header is 16bytes plus 4bytes for dlmalloc,
34 // allocations are 8byte aligned so having 4bytes of array data avoids padding.
39 int bytes = 20 + (2 * minLength); local
40 int alignedUpBytes = (bytes + 7) & -8;
48 int bytes = 20 + minLength; local
49 int alignedUpBytes = (bytes + 7) & -8;
54 int bytes = 20 + minLength; local
55 int alignedUpBytes = (bytes + 7) & -8;
60 int bytes = 20 + (2 * minLength) local
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
CharsetBenchmark.java 44 byte[] bytes = makeBytes(makeString(length));
46 new String(bytes, name);
51 byte[] bytes = makeBytes(makeString(length));
53 new String(bytes, 0, bytes.length);
58 byte[] bytes = makeBytes(makeString(length));
60 new String(bytes, 0, bytes.length, name);
  /system/core/libutils/
JenkinsHash.cpp 33 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) {
37 uint32_t data = bytes[i] | (bytes[i+1] << 8) | (bytes[i+2] << 16) | (bytes[i+3] << 24);
41 uint32_t data = bytes[i];
42 data |= ((size & 3) > 1) ? (bytes[i+1] << 8) : 0;
43 data |= ((size & 3) > 2) ? (bytes[i+2] << 16) : 0;
  /external/chromium_org/third_party/skia/src/gpu/
GrAllocPool.cpp 31 bool canAlloc(size_t bytes) const {
32 return bytes <= fBytesFree;
35 void* alloc(size_t bytes) {
36 SkASSERT(bytes <= fBytesFree);
37 fBytesFree -= bytes;
39 fPtr += bytes;
43 size_t release(size_t bytes) {
44 SkASSERT(bytes > 0);
45 size_t free = SkTMin(bytes, fBytesTotal - fBytesFree);
48 return bytes - free
    [all...]
  /external/skia/src/gpu/
GrAllocPool.cpp 31 bool canAlloc(size_t bytes) const {
32 return bytes <= fBytesFree;
35 void* alloc(size_t bytes) {
36 SkASSERT(bytes <= fBytesFree);
37 fBytesFree -= bytes;
39 fPtr += bytes;
43 size_t release(size_t bytes) {
44 SkASSERT(bytes > 0);
45 size_t free = SkTMin(bytes, fBytesTotal - fBytesFree);
48 return bytes - free
    [all...]
  /external/chromium_org/net/udp/
udp_net_log_parameters.cc 17 const char* bytes,
23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count));
40 const char* bytes,
42 DCHECK(bytes);
43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
  /external/chromium_org/rlz/lib/
crc8_unittest.cc 30 unsigned char* bytes; local
35 bytes = reinterpret_cast<unsigned char*>(data[i].string);
41 rlz_lib::Crc8::Generate(bytes, length, &crc);
43 rlz_lib::Crc8::Verify(bytes, length, crc, &matches);
48 rlz_lib::Crc8::Verify(bytes, length, crc, &matches);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
malloc-tree 41 def byteString(bytes):
44 val = bytes
46 if bytes >= oneG:
48 val = float(bytes) / oneG
49 elif bytes >= oneM:
51 val = float(bytes) / oneM
52 elif bytes >= oneK:
54 val = float(bytes) / oneK
58 return '%d' % bytes
59 return '%12d' % bytes
    [all...]
  /external/chromium_org/third_party/skia/experimental/DrawingBoard/
SkNetPipeController.cpp 38 void SkNetPipeController::notifyWritten(size_t bytes) {
39 SkASSERT(fBytesWritten + bytes <= fBlockSize);
42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes);
46 fBytesWritten += bytes;
47 fTotalWritten += bytes;
  /external/glide/library/src/main/java/com/bumptech/glide/util/
Util.java 9 private static final char[] sha256Chars = new char[64]; //32 bytes from sha-256 -> 64 hex chars
11 public static String sha256BytesToHex(byte[] bytes) {
12 return bytesToHex(bytes, sha256Chars);
17 private static String bytesToHex(byte[] bytes, char[] hexChars) {
19 for ( int j = 0; j < bytes.length; j++ ) {
20 v = bytes[j] & 0xFF;
  /external/libhevc/common/arm/
ihevc_padding.s 122 vst1.8 {d0,d1},[r4]! @128/8 = 16 bytes store
123 vst1.8 {d0,d1},[r4]! @ 16 bytes store
124 vst1.8 {d0,d1},[r4]! @ 16 bytes store
125 vst1.8 {d0,d1},[r4]! @ 16 bytes store
126 vst1.8 {d0,d1},[r4] @ 16 bytes store
130 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store
131 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store
132 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store
133 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store
134 vst1.8 {d2,d3},[r5] @128/8 = 16 bytes stor
    [all...]
  /external/skia/experimental/DrawingBoard/
SkNetPipeController.cpp 38 void SkNetPipeController::notifyWritten(size_t bytes) {
39 SkASSERT(fBytesWritten + bytes <= fBlockSize);
42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes);
46 fBytesWritten += bytes;
47 fTotalWritten += bytes;
  /external/chromium_org/chrome/browser/chromeos/login/easy_unlock/
easy_unlock_get_keys_operation.cc 73 if (entry.bytes)
74 device.bluetooth_address = *entry.bytes;
78 if (entry.bytes)
79 device.public_key = *entry.bytes;
83 if (entry.bytes)
84 device.psk = *entry.bytes;
88 if (entry.bytes)
89 device.challenge = *entry.bytes;
93 if (entry.bytes)
94 device.wrapped_secret = *entry.bytes;
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
CharSequences.java 26 * bytes.
28 * @param bytes ASCII bytes
30 public static CharSequence forAsciiBytes(final byte[] bytes) {
33 return (char) bytes[index];
37 return bytes.length;
41 return forAsciiBytes(bytes, start, end);
45 return new String(bytes);
52 * bytes.
54 * @param bytes ASCII byte
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
DirectClassFile.java 83 /** {@code non-null;} the bytes of the file */
84 private final ByteArray bytes; field in class:DirectClassFile
169 * @param bytes {@code non-null;} the bytes of the file
177 public DirectClassFile(ByteArray bytes, String filePath,
179 if (bytes == null) {
180 throw new NullPointerException("bytes == null");
188 this.bytes = bytes;
196 * @param bytes {@code non-null;} the bytes of the fil
574 private final ByteArray bytes; field in class:DirectClassFile.DcfTypeList
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
MessageDigest1Test.java 56 final byte[] bytes = { 1, 2, 3, 4, 5 };
57 md.update(bytes, 1, 2);
69 md.update(bytes, 0, bytes.length + 1);
75 md.update(bytes, Integer.MAX_VALUE, 1);
85 assertSame("buf", bytes, arg0);
91 md.update(bytes, offset, len);
150 final byte[] bytes = new byte[] { 2, 4, 1 };
159 md.digest(bytes, 0, bytes.length + 1)
    [all...]
  /external/valgrind/main/memcheck/tests/
leak_cpp_interior.stderr.exp 4 4 bytes in 1 blocks are definitely lost in loss record ... of ...
9 definitely lost: 4 bytes in 1 blocks
10 indirectly lost: 0 bytes in 0 blocks
11 possibly lost: 0 bytes in 0 blocks
12 still reachable: 111 bytes in 7 blocks
14 stdstring : 56 bytes in 2 blocks
15 newarray : 7 bytes in 1 blocks
16 multipleinheritance: 24 bytes in 2 blocks
17 suppressed: 0 bytes in 0 blocks
23 definitely lost: 4 (+0) bytes in 1 (+0) block
    [all...]
  /bionic/libc/kernel/uapi/linux/netfilter/
xt_sctp.h 51 #define bytes(type) (sizeof(type) * 8) macro
52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while (0)
54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ ((chunkmap)[type / bytes (__u32)] & (1 << (type % bytes (__u32)))) ? 1: 0; })
  /development/ndk/platforms/android-L/include/linux/netfilter/
xt_sctp.h 51 #define bytes(type) (sizeof(type) * 8) macro
52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while (0)
54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ ((chunkmap)[type / bytes (__u32)] & (1 << (type % bytes (__u32)))) ? 1: 0; })
  /external/chromium_org/components/rappor/
rappor_metric.cc 43 std::string(bytes().begin(), bytes().end());
44 HmacByteVectorGenerator hmac_generator(bytes().size(), secret,
54 ByteVectorMerge(fake_mask, bytes(), &fake_bits);
57 ByteVectorGenerator coin_generator(bytes().size());
69 void RapporMetric::SetBytesForTesting(const ByteVector& bytes) {
70 bloom_filter_.SetBytesForTesting(bytes);
  /external/chromium_org/third_party/brotli/src/brotli/enc/
ringbuffer.h 20 // A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of
23 // contains another copy of the first `1 << tail_bits' bytes:
40 // Push bytes into the ring buffer.
41 void Write(const uint8_t *bytes, size_t n) {
45 WriteTail(bytes, n);
48 memcpy(&buffer_[masked_pos], bytes, n);
52 memcpy(&buffer_[masked_pos], bytes,
56 memcpy(&buffer_[0], bytes + ((1 << window_bits_) - masked_pos),
69 void WriteTail(const uint8_t *bytes, size_t n) {
74 memcpy(&buffer_[p], bytes, std::min(n, (1 << tail_bits_) - masked_pos))
    [all...]
  /external/chromium_org/third_party/libwebp/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);
  /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);
  /prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/netfilter/
xt_sctp.h 51 #define bytes(type) (sizeof(type) * 8) macro
52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while (0)
54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ ((chunkmap)[type / bytes (__u32)] & (1 << (type % bytes (__u32)))) ? 1: 0; })

Completed in 1652 milliseconds

1 2 3 4 56 7 8 91011>>