HomeSort by relevance Sort by last modified time
    Searched full:bytes (Results 76 - 100 of 16566) sorted by null

1 2 34 5 6 7 8 91011>>

  /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 = GrMin(bytes, fBytesTotal - fBytesFree);
48 return bytes - free
    [all...]
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
UnsafeByteSequence.java 31 private byte[] bytes; field in class:UnsafeByteSequence
35 this.bytes = new byte[initialCapacity];
51 if (count + length >= bytes.length) {
53 System.arraycopy(bytes, 0, newBytes, 0, count);
54 bytes = newBytes;
56 System.arraycopy(buffer, offset, bytes, count, length);
61 if (count == bytes.length) {
63 System.arraycopy(bytes, 0, newBytes, 0, count);
64 bytes = newBytes;
66 bytes[count++] = (byte) b
    [all...]
  /art/runtime/gc/accounting/
gc_allocator.cc 25 void* RegisterGCAllocation(size_t bytes) {
26 Runtime::Current()->GetHeap()->RegisterGCAllocation(bytes);
27 return malloc(bytes);
30 void RegisterGCDeAllocation(void* p, size_t bytes) {
31 Runtime::Current()->GetHeap()->RegisterGCDeAllocation(bytes);
  /external/dexmaker/src/dx/java/com/android/dx/util/
ByteArrayByteInput.java 21 private final byte[] bytes; field in class:ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) {
25 this.bytes = bytes;
29 return bytes[position++];
  /external/valgrind/main/gdbserver_tests/
mcleak.stderr.exp 4 expecting details 10 bytes reachable
5 10 bytes in 1 blocks are still reachable in loss record ... of ...
11 expecting details +10 bytes lost, +21 bytes reachable
12 expecting details +65 bytes reachable
14 expecting details +10 bytes reachable
15 expecting details -10 bytes reachable, +10 bytes lost
16 expecting details -10 bytes lost, +10 bytes reachabl
    [all...]
  /libcore/dex/src/main/java/com/android/dex/util/
ByteArrayByteInput.java 21 private final byte[] bytes; field in class:ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) {
25 this.bytes = bytes;
29 return bytes[position++];
  /frameworks/opt/net/voip/src/jni/rtp/
AmrCodec.cpp 102 unsigned char *bytes = (unsigned char *)payload; local
106 samples, bytes + 1, &type, AMR_TX_WMF);
113 bytes[0] = 0xF0;
114 bytes[1] = (mMode << 3) | 0x04;
118 bytes[0] = 0xFF;
119 bytes[1] = 0xC0 | (mMode << 1) | 1;
122 bytes[length + 1] = 0;
124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2)
133 unsigned char *bytes = (unsigned char *)payload; local
226 unsigned char *bytes = (unsigned char *)payload; local
244 unsigned char *bytes = (unsigned char *)payload; local
    [all...]
  /prebuilts/sdk/current/
android.jar 
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DEREnumerated.java 11 byte[] bytes; field in class:DEREnumerated
74 bytes = BigInteger.valueOf(value).toByteArray();
80 bytes = value.toByteArray();
84 byte[] bytes)
86 this.bytes = bytes;
91 return new BigInteger(bytes);
101 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length;
108 out.writeEncoded(BERTags.ENUMERATED, bytes);
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/utils/
codec.py 9 self.bytes = createByteArrayZeros(length)
12 if self.bytes:
15 self.bytes[newIndex] = x & 0xFF
21 if self.bytes:
28 if self.bytes:
37 def __init__(self, bytes):
38 self.bytes = bytes
42 if self.index + length > len(self.bytes):
47 x |= self.bytes[self.index
    [all...]
  /external/proguard/src/proguard/classfile/constant/
Utf8Constant.java 54 // Initially, we're storing the UTF-8 bytes in a byte array.
59 private byte[] bytes; field in class:Utf8Constant
78 this.bytes = null;
84 * Initializes the UTF-8 data with an array of bytes.
86 public void setBytes(byte[] bytes)
88 this.bytes = bytes;
94 * Returns the UTF-8 data as an array of bytes.
107 return bytes;
116 this.bytes = null
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/micro/
ByteStringMicro.java 36 * Immutable array of bytes.
42 private final byte[] bytes; field in class:ByteStringMicro
44 private ByteStringMicro(final byte[] bytes) {
45 this.bytes = bytes;
54 return bytes[index];
58 * Gets the number of bytes.
61 return bytes.length;
68 return bytes.length == 0;
80 * Copies the given bytes into a {@code ByteStringMicro}
    [all...]
  /external/llvm/utils/
codegen-diff 13 my ($addr, $bytes, $instr) = ($1, $2, $4);
15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace
17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
33 my ($addr, $bytes, $instr) = ($1, $3, $2);
34 $bytes =~ s/0x//g;
35 $bytes =~ s/\s+/ /g; # regularize whitespace
36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespac
    [all...]
  /external/llvm/docs/CommandGuide/
llvm-bcanalyzer.rst 74 The size, in bytes, of the entire bitcode file.
76 **Module Bytes**
78 The size, in bytes, of the module block. Percentage is relative to File Size.
80 **Function Bytes**
82 The size, in bytes, of all the function blocks. Percentage is relative to File
85 **Global Types Bytes**
87 The size, in bytes, of the Global Types Pool. Percentage is relative to File
90 **Constant Pool Bytes**
92 The size, in bytes, of the Constant Pool Blocks Percentage is relative to File
95 **Module Globals Bytes**
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Strings.java 10 public static String fromUTF8ByteArray(byte[] bytes)
15 while (i < bytes.length)
18 if ((bytes[i] & 0xf0) == 0xf0)
24 else if ((bytes[i] & 0xe0) == 0xe0)
28 else if ((bytes[i] & 0xc0) == 0xc0)
43 while (i < bytes.length)
47 if ((bytes[i] & 0xf0) == 0xf0)
49 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << 6) | (bytes[i+3] & 0x3F)
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodesTest.java 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above
30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
46 // expectedHashCodes must contain at least one hash code with 4 bytes
49 if (expected.bytes.length == 4) {
56 // expectedHashCodes must contain at least one hash code with 8 bytes
59 if (expected.bytes.length == 8) {
68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes);
74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes()));
77 assertTrue(Arrays.equals(expected.bytes, bb));
104 for (int bytes = 0; bytes < totalBytes; bytes++)
113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode
    [all...]
  /external/clang/test/SemaCXX/
alignment-of-derived-class.cpp 10 static_assert(__alignof(A) == 16, "A should be aligned to 16 bytes");
15 static_assert(__alignof(B1) == 16, "B1 should be aligned to 16 bytes");
20 static_assert(__alignof(B2) == 16, "B2 should be aligned to 16 bytes");
25 static_assert(__alignof(B3) == 16, "B3 should be aligned to 16 bytes");
30 static_assert(__alignof(B4) == 16, "B4 should be aligned to 16 bytes");
35 static_assert(__alignof(B5) == 16, "B5 should be aligned to 16 bytes");
40 static_assert(__alignof(B6) == 32, "B6 should be aligned to 32 bytes");
  /libcore/crypto/src/main/java/org/conscrypt/
ByteArray.java 25 private final byte[] bytes; field in class:ByteArray
28 ByteArray(byte[] bytes) {
29 this.bytes = bytes;
30 this.hashCode = Arrays.hashCode(bytes);
42 return Arrays.equals(bytes, lhs.bytes);
  /external/chromium_org/third_party/leveldatabase/src/util/
arena.cc 24 char* Arena::AllocateFallback(size_t bytes) {
25 if (bytes > kBlockSize / 4) {
27 // to avoid wasting too much space in leftover bytes.
28 char* result = AllocateNewBlock(bytes);
37 alloc_ptr_ += bytes;
38 alloc_bytes_remaining_ -= bytes;
42 char* Arena::AllocateAligned(size_t bytes) {
47 size_t needed = bytes + slop;
55 result = AllocateFallback(bytes);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
format_utils.cpp 25 // Magic number (4 bytes), version (2 bytes), flags (2 bytes), header size (4 bytes) = 12
31 // If the dictionary is less than 4 bytes, we can't even read the magic number, so we don't
40 // Magic number (4 bytes) 0x9B 0xC1 0x3A 0xFE
41 // Dictionary format version number (2 bytes)
42 // Options (2 bytes)
43 // Header size (4 bytes) : integer, big endian
  /external/chromium/chrome/browser/safe_browsing/
report.proto 26 required bytes name = 1;
27 optional bytes value = 2;
32 optional bytes verb = 1; // Also known as method, eg "GET"
33 optional bytes uri = 2;
34 optional bytes version = 3;
39 optional bytes body = 3;
43 optional bytes bodydigest = 4;
50 optional bytes reason = 2;
51 optional bytes version = 3;
56 optional bytes body = 3
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
report.proto 26 required bytes name = 1;
27 optional bytes value = 2;
32 optional bytes verb = 1; // Also known as method, eg "GET"
33 optional bytes uri = 2;
34 optional bytes version = 3;
39 optional bytes body = 3;
43 optional bytes bodydigest = 4;
50 optional bytes reason = 2;
51 optional bytes version = 3;
56 optional bytes body = 3
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
disk_cache_proto.proto 13 optional bytes sha = 1;
20 optional bytes sha = 1;
22 optional bytes program = 3;
  /external/chromium_org/net/disk_cache/simple/
simple_entry_format.cc 12 // Make hashing repeatable: leave no padding bytes untouched.
17 // Make hashing repeatable: leave no padding bytes untouched.
22 // Make hashing repeatable: leave no padding bytes untouched.
  /external/chromium_org/third_party/tcmalloc/vendor/packages/deb/
docs 25 doc/tcmalloc-opspercpusec.vs.threads.1024.bytes.png
26 doc/tcmalloc-opspercpusec.vs.threads.128.bytes.png
27 doc/tcmalloc-opspercpusec.vs.threads.131072.bytes.png
28 doc/tcmalloc-opspercpusec.vs.threads.16384.bytes.png
29 doc/tcmalloc-opspercpusec.vs.threads.2048.bytes.png
30 doc/tcmalloc-opspercpusec.vs.threads.256.bytes.png
31 doc/tcmalloc-opspercpusec.vs.threads.32768.bytes.png
32 doc/tcmalloc-opspercpusec.vs.threads.4096.bytes.png
33 doc/tcmalloc-opspercpusec.vs.threads.512.bytes.png
34 doc/tcmalloc-opspercpusec.vs.threads.64.bytes.pn
    [all...]

Completed in 657 milliseconds

1 2 34 5 6 7 8 91011>>