HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 626 - 650 of 3342) sorted by null

<<21222324252627282930>>

  /system/extras/memtrack/
memtrack.cpp 66 ssize_t bytes; local
69 bytes = read(fd_, data_ + len_, max_ - len_);
70 if (bytes == 0 || bytes == -1) {
74 len_ += bytes;
133 ssize_t bytes = read(fd, cmd_name_, sizeof(cmd_name_)); local
135 if (bytes == -1 || bytes == 0) {
  /system/extras/verity/
verify_boot_signature.c 91 * @param offset Receives the offset in bytes
229 ssize_t bytes = 0; local
255 bytes = BUFFER_SIZE;
258 bytes = length - total;
261 if ((bytes = read(fd, buffer, bytes)) == -1) {
266 EVP_DigestUpdate(ctx, buffer, bytes);
267 total += bytes;
270 if ((bytes = i2d_AuthAttrs((AuthAttrs *) aa, NULL)) < 0) {
275 if ((attrs = OPENSSL_malloc(bytes)) == NULL)
    [all...]
  /toolchain/binutils/binutils-2.25/bfd/
i386os9k.c 36 mh_com *bytes = (mh_com *) raw_bytes; local
39 /* Now fill in fields in the execp, from the bytes in the raw data. */
40 execp->a_info = H_GET_16 (abfd, bytes->m_sync);
42 execp->a_entry = H_GET_32 (abfd, bytes->m_exec);
47 dload = H_GET_32 (abfd, bytes->m_idata);
61 execp->a_bss = H_GET_32 (abfd, bytes->m_data) - execp->a_data;
  /frameworks/base/services/core/java/com/android/server/connectivity/
PacManager.java 225 throw new IOException("PAC too big: " + contentLength + " bytes");
227 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
231 bytes.write(buffer, 0, count);
232 if (bytes.size() > MAX_PAC_SIZE) {
236 return bytes.toString();
  /frameworks/support/core-utils/tests/java/android/support/v4/content/
FileProviderTest.java 422 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
426 bytes.write(buffer, 0, count);
428 return bytes.toByteArray();
  /cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
MyDocumentsProvider.java 497 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
501 bytes.write(buffer, 0, count);
503 return bytes.toByteArray();
  /external/icu/android_icu4j/src/main/java/android/icu/text/
RBBIDataWrapper.java 111 int fLength; // Total length in bytes of this RBBI Data,
117 // All offsets are bytes from the start of the RBBIDataHeader.
118 // All sizes are in bytes.
171 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException {
174 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
175 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN;
179 This.fHeader.fMagic = bytes.getInt();
180 // Read the same 4 bytes as an int and as a byte array: The data format could be
183 This.fHeader.fVersion = bytes.getInt(bytes.position())
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
RBBIDataWrapper.java 110 int fLength; // Total length in bytes of this RBBI Data,
116 // All offsets are bytes from the start of the RBBIDataHeader.
117 // All sizes are in bytes.
170 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException {
173 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
174 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN;
178 This.fHeader.fMagic = bytes.getInt();
179 // Read the same 4 bytes as an int and as a byte array: The data format could be
182 This.fHeader.fVersion = bytes.getInt(bytes.position())
    [all...]
  /external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
SimpleWebServer.java 78 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); external variable declarations
84 bytes.write(buffer, 0, count);
86 text = bytes.toString("UTF-8");
337 msg.append(len).append(" bytes");
355 response.addHeader("Accept-Ranges", "bytes");
482 if (range.startsWith("bytes=")) {
483 range = range.substring("bytes=".length());
530 res.addHeader("Accept-Ranges", "bytes");
532 res.addHeader("Content-Range", "bytes " + startFrom + "-" + endAt + "/" + fileLen);
541 res.addHeader("Content-Range", "bytes */" + fileLen)
    [all...]
  /art/dexlayout/
dex_visualize.cc 323 fprintf(stdout, "%s (%d bytes)\n",
326 fprintf(stdout, "section offset items bytes pages pct\n");
331 uint32_t bytes = 0; local
333 bytes = FindNextByteAfterSection(header, sorted_sections, i) - file_section.offset;
340 bytes,
341 RoundUp(bytes, kPageSize) / kPageSize,
342 100 * bytes / header->FileSize());
  /art/runtime/arch/x86/
fault_handler_x86.cc 78 // Get the size of an instruction in bytes.
82 char buf[15]; // x86/x86-64 have a maximum instruction length of 15 bytes.
83 ssize_t bytes = SafeCopy(buf, pc, sizeof(buf)); local
85 if (bytes == 0) {
90 if (bytes == -1) {
92 bytes = 16;
100 if (pc - startpc > bytes) { \
274 if (pc - startpc > bytes) {
  /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;
170 // Returns the estimated throughput in bytes / second.
  /bionic/libc/arch-mips/string/
memcmp.c 108 /* This code is called when aligning a pointer, there are remaining bytes
140 unsigned long words, unsigned long bytes)
211 /* mop up any remaining bytes. */
212 return do_bytes (a, b, bytes);
217 unsigned long words, unsigned long bytes)
219 return do_bytes (a, b, (sizeof (reg_t) * words) + bytes);
226 unsigned long words, unsigned long bytes)
308 /* mop up any remaining bytes. */
309 return do_bytes (a, b, bytes);
314 unsigned long bytes, words local
    [all...]
memcpy.c 86 /* This code is called when aligning a pointer, there are remaining bytes
106 /* This code is called to copy only remaining bytes within word or doubleword */
148 unsigned long words, unsigned long bytes, void *ret)
194 /* mop up any remaining bytes. */
195 return do_bytes_remaining (a, b, bytes, ret);
201 unsigned long words, unsigned long bytes, void *ret)
229 /* mop up any remaining bytes */
230 return do_bytes_remaining (a, b, bytes, ret);
238 unsigned long words, unsigned long bytes, void *ret)
284 /* mop up any remaining bytes. *
291 unsigned long bytes, words; variable
    [all...]
  /bionic/libc/kernel/uapi/drm/
omap_drm.h 45 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 76 void* debug_memalign(size_t alignment, size_t bytes);
77 void* debug_realloc(void* pointer, size_t bytes);
78 void* debug_calloc(size_t nmemb, size_t bytes);
88 void* debug_pvalloc(size_t bytes);
320 size_t bytes = internal_malloc_usable_size(pointer); local
322 bytes = (bytes < fill_bytes) ? bytes : fill_bytes;
323 memset(pointer, g_debug->config().fill_alloc_value, bytes);
345 size_t bytes; local
471 size_t bytes = internal_malloc_usable_size(pointer); local
573 size_t bytes = internal_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 37 private final byte[] bytes; field in class:BaseDumper
39 /** whether or not to include the raw bytes (in a column on the left) */
57 /** number of bytes per line in hex dumps */
78 * @param bytes {@code non-null;} bytes of the (alleged) class file
84 public BaseDumper(byte[] bytes, PrintStream out,
86 this.bytes = bytes;
130 public void parsed(ByteArray bytes, int offset, int len, String human) {
131 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/os/cpu/cortexm4/
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...]

Completed in 1770 milliseconds

<<21222324252627282930>>