HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 451 - 475 of 2455) sorted by null

<<11121314151617181920>>

  /system/core/fastboot/
socket.cpp 55 ssize_t bytes = Receive(reinterpret_cast<char*>(data) + total, length - total, timeout_ms); local
57 if (bytes == -1) {
63 total += bytes;
205 // Adjust the buffers to skip past the bytes we've just sent.
  /system/core/include/utils/
String8.h 67 inline size_t bytes() const;
274 inline size_t String8::bytes() const function in class:android::String8
  /system/core/libziparchive/
zip_archive_stream_entry.cc 86 size_t bytes = (length_ > data_.size()) ? data_.size() : length_; local
89 if (!android::base::ReadFully(archive->fd, data_.data(), bytes)) {
99 if (bytes < data_.size()) {
100 data_.resize(bytes);
103 length_ -= bytes;
206 size_t bytes = (compressed_length_ > in_.size()) ? in_.size() : compressed_length_; local
209 if (!android::base::ReadFully(archive->fd, in_.data(), bytes)) {
218 compressed_length_ -= bytes;
220 z_stream_.avail_in = bytes;
  /system/extras/memtrack/
memtrack.cpp 70 ssize_t bytes; local
73 bytes = read(fd_, data_ + len_, max_ - len_);
74 if (bytes == 0 || bytes == -1) {
78 len_ += bytes;
137 ssize_t bytes = read(fd, cmd_name_, sizeof(cmd_name_)); local
139 if (bytes == -1 || bytes == 0) {
  /system/extras/verity/
verify_boot_signature.c 90 * @param offset Receives the offset in bytes
228 ssize_t bytes = 0; local
254 bytes = BUFFER_SIZE;
257 bytes = length - total;
260 if ((bytes = read(fd, buffer, bytes)) == -1) {
265 EVP_DigestUpdate(ctx, buffer, bytes);
266 total += bytes;
269 if ((bytes = i2d_AuthAttrs((AuthAttrs *) aa, NULL)) < 0) {
274 if ((attrs = OPENSSL_malloc(bytes)) == NULL)
    [all...]
  /system/webservd/webservd/
log_manager.cc 75 auto bytes = reinterpret_cast<const uint8_t*>(&addr_in6->sin6_addr); local
77 bytes[12], bytes[13], bytes[14], bytes[15]);
  /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;
  /external/jetty/src/java/org/eclipse/jetty/servlets/
MultiPartFilter.java 71 * the setCharacterEncoding mechanism is respected when converting bytes to Strings.
182 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
183 IO.copy(p.getInputStream(), bytes); local
184 params.add(p.getName(), bytes.toByteArray());
356 private String getParameterBytesAsString (String name, byte[] bytes)
369 return new String(bytes,contentType);
  /frameworks/support/tests/java/android/support/v4/content/
FileProviderTest.java 382 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
386 bytes.write(buffer, 0, count);
388 return bytes.toByteArray();
  /cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
MyDocumentsProvider.java 393 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
397 bytes.write(buffer, 0, count);
399 return bytes.toByteArray();
  /external/icu/android_icu4j/src/main/java/android/icu/text/
RBBIDataWrapper.java 108 int fLength; // Total length in bytes of this RBBI Data,
114 // All offsets are bytes from the start of the RBBIDataHeader.
115 // All sizes are in bytes.
167 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException {
170 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
171 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN;
175 This.fHeader.fMagic = bytes.getInt();
176 // Read the same 4 bytes as an int and as a byte array: The data format could be
179 This.fHeader.fVersion = bytes.getInt(bytes.position())
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
RBBIDataWrapper.java 107 int fLength; // Total length in bytes of this RBBI Data,
113 // All offsets are bytes from the start of the RBBIDataHeader.
114 // All sizes are in bytes.
166 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException {
169 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
170 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN;
174 This.fHeader.fMagic = bytes.getInt();
175 // Read the same 4 bytes as an int and as a byte array: The data format could be
178 This.fHeader.fVersion = bytes.getInt(bytes.position())
    [all...]
  /external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
SimpleWebServer.java 78 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); typedefs
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...]
  /external/opencv3/modules/java/common_test/src/org/opencv/test/utils/
ConvertersTest.java 259 List<Byte> bytes = new ArrayList<Byte>(); local
264 bytes.add(new Byte(value1));
265 bytes.add(new Byte(value2));
266 bytes.add(new Byte(value3));
267 bytes.add(new Byte(value4));
269 dst = Converters.vector_char_to_Mat(bytes);
469 List<Byte> bytes = new ArrayList<Byte>(); local
474 bytes.add(new Byte(value1));
475 bytes.add(new Byte(value2));
476 bytes.add(new Byte(value3))
    [all...]
  /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 49 uint32_t bytes = 0; local
50 void *loc = platGetPersistentRamStore(&bytes);
52 return bytes >= sizeof(struct RamPersistedDataAndDropbox) ? (struct RamPersistedDataAndDropbox*)loc : NULL;

Completed in 888 milliseconds

<<11121314151617181920>>