/art/runtime/gc/collector/ |
garbage_collector.h | 48 : objects(num_objects), bytes(num_bytes) {} 51 bytes += other.bytes; 55 // Freed bytes are signed since the GC can free negative bytes if it promotes objects to a space 57 int64_t bytes; member in struct:art::gc::collector::ObjectBytePair 77 return freed_.bytes; 80 return freed_los_.bytes; 168 // Returns the estimated throughput in bytes / second.
|
/bionic/libc/kernel/uapi/drm/ |
omap_drm.h | 42 uint32_t bytes; member in union:omap_gem_size
|
/bionic/libc/kernel/uapi/mtd/ |
ubi-user.h | 72 __s64 bytes; member in struct:ubi_mkvol_req 82 __s64 bytes; member in struct:ubi_rsvol_req 101 __s32 bytes; member in struct:ubi_leb_change_req
|
/bionic/libc/malloc_debug/ |
malloc_debug.cpp | 75 void* debug_memalign(size_t alignment, size_t bytes); 76 void* debug_realloc(void* pointer, size_t bytes); 77 void* debug_calloc(size_t nmemb, size_t bytes); 86 void* debug_pvalloc(size_t bytes); 315 size_t bytes = debug_malloc_usable_size(pointer); local 317 bytes = (bytes < fill_bytes) ? bytes : fill_bytes; 318 memset(pointer, g_debug->config().fill_alloc_value, bytes); 329 size_t bytes; local 441 size_t bytes = debug_malloc_usable_size(pointer); local 527 size_t bytes = debug_malloc_usable_size(new_pointer); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstUtf8.java | 35 /** {@code non-null;} the UTF-8 value as bytes */ 36 private final ByteArray bytes; field in class:CstUtf8 44 * @return {@code non-null;} the UTF-8 bytes for it 48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 54 bytes[outAt] = (byte) c; 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80) [all...] |
/dalvik/dx/src/com/android/dx/cf/cst/ |
ConstantPoolParser.java | 56 /** {@code non-null;} the bytes of the constant pool */ 57 private final ByteArray bytes; field in class:ConstantPoolParser 78 * @param bytes {@code non-null;} the bytes of the file 80 public ConstantPoolParser(ByteArray bytes) { 81 int size = bytes.getUnsignedShort(8); // constant_pool_count 83 this.bytes = bytes; 135 observer.parsed(bytes, 8, 2, 137 observer.parsed(bytes, 10, 0, "\nconstant_pool:") [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AnnotationParser.java | 57 /** {@code non-null;} bytes of the attribute data */ 58 private final ByteArray bytes; field in class:AnnotationParser 77 * @param length {@code >= 0;} number of bytes left in the attribute data 89 this.bytes = cf.getBytes().slice(offset, offset + length); 90 this.input = bytes.makeDataInputStream(); 437 * Helper which will throw an exception if the given number of bytes 440 * @param requiredLength the number of required bytes 449 * Helper which indicates that some bytes were just parsed. This should 453 * @param length {@code >= 0;} number of bytes parsed 457 observer.parsed(bytes, parseCursor, length, message) [all...] |
MemberListParser.java | 59 * @param offset offset in {@code bytes} to the start of the list 118 ByteArray bytes = cf.getBytes(); local 119 return bytes.getUnsignedShort(offset); 177 ByteArray bytes = cf.getBytes(); local 181 observer.parsed(bytes, offset, 2, 187 int accessFlags = bytes.getUnsignedShort(at); 188 int nameIdx = bytes.getUnsignedShort(at + 2); 189 int descIdx = bytes.getUnsignedShort(at + 4); 194 observer.startParsingMember(bytes, at, name.getString(), 196 observer.parsed(bytes, at, 0, "\n" + humanName() [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 36 private final byte[] bytes; field in class:BaseDumper 38 /** whether or not to include the raw bytes (in a column on the left) */ 56 /** number of bytes per line in hex dumps */ 74 * @param bytes {@code non-null;} bytes of the (alleged) class file 80 public BaseDumper(byte[] bytes, PrintStream out, 82 this.bytes = bytes; 124 public void parsed(ByteArray bytes, int offset, int len, String human) { 125 offset = bytes.underlyingOffset(offset, getBytes()) [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstString.java | 36 /** {@code non-null;} the UTF-8 value as bytes */ 37 private final ByteArray bytes; field in class:CstString 44 * @return {@code non-null;} the UTF-8 bytes for it 48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 54 bytes[outAt] = (byte) c; 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80) [all...] |
/device/google/contexthub/firmware/src/cpu/cortexm4f/ |
cpu.c | 55 uint32_t bytes = 0; local 56 void *loc = platGetPersistentRamStore(&bytes); 58 return bytes >= sizeof(struct RamPersistedDataAndDropbox) ? (struct RamPersistedDataAndDropbox*)loc : NULL;
|
/device/google/contexthub/util/nanotool/ |
androidcontexthub.cpp | 59 const uint8_t *bytes = (const uint8_t *) data; local 61 buffer.push_back(bytes[i]); 66 sp<JSONObject> json, std::vector<uint8_t>& bytes) { 72 AppendBytes(&val, sizeof(uint32_t), bytes); 81 std::vector<uint8_t>& bytes) { 92 success = CopyInt32Array(key, json, bytes); 100 AppendBytes(&value, sizeof(float), bytes); 108 success = CopyInt32Array(key, json, bytes); 113 AppendBytes(&value, sizeof(int32_t), bytes); 199 LOGD("Writing %zu bytes", message.size()) [all...] |
/device/google/marlin/liblight/ |
lights.c | 128 size_t bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 129 if(bytes >= sizeof(buffer)) return -EINVAL; 130 ssize_t amt = write(fd, buffer, bytes); 151 size_t bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", value1, value2); local 152 if(bytes >= sizeof(buffer)) return -EINVAL; 153 ssize_t amt = write(fd, buffer, bytes);
|
/device/huawei/angler/liblight/ |
lights.c | 104 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 105 ssize_t amt = write(fd, buffer, (size_t)bytes); 126 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); local 127 int amt = write(fd, buffer, bytes);
|
/external/ImageMagick/MagickCore/ |
cipher.c | 296 Xor corresponding text input and round key input bytes. 999 bytes, local [all...] |
/external/avahi/avahi-core/ |
iface-pfroute.c | 264 ssize_t bytes; local 273 if((bytes = recv(nl->fd, msg, 2048, MSG_DONTWAIT)) < 0) { 281 while (bytes > 0);
|
/external/bison/lib/ |
abitset.c | 318 size_t bytes; local 320 bytes = sizeof (bitset_word) * dst->b.csize; 322 memset (dstp, -1, bytes); 331 size_t bytes; local 333 bytes = sizeof (bitset_word) * dst->b.csize; 335 memset (dstp, 0, bytes); 788 size_t bytes; local 794 bytes = header_size + size * sizeof (bitset_word); 800 bytes += bitset_alignment - 1; 801 bytes -= bytes % bitset_alignment [all...] |
bitset.c | 36 /* Return number of bytes required to create a N_BIT bitset 37 of TYPE. The bitset may grow to require more bytes than this. */ 41 size_t bytes; local 52 bytes = abitset_bytes (n_bits); 56 bytes = lbitset_bytes (n_bits); 60 bytes = ebitset_bytes (n_bits); 64 bytes = vbitset_bytes (n_bits); 68 return bytes; 136 size_t bytes; local 139 bytes = bitset_bytes (type, n_bits) 156 size_t bytes; local [all...] |
vbitset.c | 345 unsigned int bytes; local 347 bytes = sizeof (bitset_word) * VBITSET_SIZE (dst); 349 memset (dstp, -1, bytes); 358 unsigned int bytes; local 360 bytes = sizeof (bitset_word) * VBITSET_SIZE (dst); 362 memset (dstp, 0, bytes);
|
/external/boringssl/src/crypto/bn/ |
convert.c | 184 /* Write the bytes out one by one. Serialization is done without branching on 242 /* decode_hex decodes |in_len| bytes of hex data from |in| and updates |bn|. */ 289 /* decode_dec decodes |in_len| bytes of decimal data from |in| and updates |bn|. */ 529 const size_t bytes = (bits + 7) / 8; local 533 if (bytes != 0 && (bits & 0x07) == 0) { 537 const size_t len = bytes + extend; 538 if (len < bytes ||
|
/external/boringssl/src/crypto/bytestring/ |
cbs.c | 292 CBS bytes; local 296 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) { 301 data = CBS_data(&bytes); 302 len = CBS_len(&bytes);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/echo/ |
services.py | 79 bytes = messages.BytesField(13, repeated=True) variable in class:EchoData
|
/external/curl/lib/ |
security.c | 163 /* Write |len| bytes from the buffer |to| to the socket |fd|. Return a 268 /* Send |length| bytes from |from| to the |fd| socket taking care of encoding 274 int bytes, htonl_bytes; /* 32-bit integers for htonl */ local 290 bytes = conn->mech->encode(conn->app_data, from, length, prot_level, 292 if(!buffer || bytes <= 0) 296 error = Curl_base64_encode(conn->data, buffer, curlx_sitouz(bytes), 318 htonl_bytes = htonl(bytes); 320 socket_write(conn, fd, buffer, curlx_sitouz(bytes));
|
/external/dbus/dbus/ |
dbus-keyring.c | 284 DBusString bytes; local 294 if (!_dbus_string_init (&bytes)) 307 if (!_dbus_generate_random_bytes (&bytes, 4)) 313 s = (const unsigned char*) _dbus_string_get_const_data (&bytes); 322 _dbus_string_set_length (&bytes, 0); 331 _dbus_string_set_length (&bytes, 0); 332 if (!_dbus_generate_random_bytes (&bytes, KEY_LENGTH_BYTES)) 360 if (!_dbus_string_move (&bytes, 0, 375 _dbus_string_free (&bytes);
|
/external/dbus/test/ |
break-loader.c | 640 DBusString bytes; local 647 if (!_dbus_string_init (&bytes)) 654 if (_dbus_read (fd, &bytes, 4) != 4) 659 s = _dbus_string_get_const_data (&bytes); 676 _dbus_string_free (&bytes);
|