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

<<21222324252627282930>>

  /hardware/qcom/display/msm8084/liblight/
lights.c 86 int bytes = sprintf(buffer, "%d\n", value); local
87 ssize_t amt = write(fd, buffer, (size_t)bytes);
  /hardware/qcom/display/msm8226/liblight/
lights.c 86 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local
87 ssize_t amt = write(fd, buffer, (size_t)bytes);
  /hardware/qcom/display/msm8960/liblight/
lights.c 90 int bytes = sprintf(buffer, "%d\n", value); local
91 int amt = write(fd, buffer, bytes);
  /hardware/qcom/display/msm8974/liblight/
lights.c 90 int bytes = sprintf(buffer, "%d\n", value); local
91 int amt = write(fd, buffer, bytes);
  /libcore/luni/src/main/java/libcore/io/
IoUtils.java 198 private byte[] bytes; field in class:IoUtils.FileReader
229 bytes = new byte[capacity];
234 int capacity = bytes.length;
236 while ((read = Libcore.os.read(fd, bytes, count, capacity - count)) != 0) {
244 System.arraycopy(bytes, 0, newBytes, 0, capacity);
245 bytes = newBytes;
249 // of bytes from it, return.
265 if (count == bytes.length) {
266 return bytes;
269 System.arraycopy(bytes, 0, result, 0, count)
    [all...]
  /libcore/luni/src/main/java/libcore/net/url/
FileURLConnection.java 216 * Returns the length of the file in bytes, or {@code -1} if the length cannot be
227 * Returns the length of the file in bytes.
277 ByteArrayOutputStream bytes = new java.io.ByteArrayOutputStream(); local
278 PrintStream out = new PrintStream(bytes);
288 return new ByteArrayInputStream(bytes.toByteArray());
  /packages/apps/Browser/tests/src/com/android/browser/
WebStorageSizeManagerUnitTests.java 77 private long bytes(double megabytes) { method in class:WebStorageSizeManagerUnitTests
88 mDiskInfo.setTotalSizeBytes(bytes(75));
89 mDiskInfo.setFreeSpaceSizeBytes(bytes(24));
97 long origin1EstimatedSize = bytes(3.5);
105 long origin2EstimatedSize = bytes(2.5);
128 long origin3EstimatedSize = bytes(5);
146 manager.onExceededDatabaseQuota("4", "4", 0, bytes(1), totalUsedQuota, mQuotaUpdater);
150 mAppCacheInfo.setAppCacheSizeBytes(bytes(2));
152 manager.onReachedMaxAppCacheSize(bytes(2), totalUsedQuota, mQuotaUpdater);
160 manager.onReachedMaxAppCacheSize(bytes(1.5), totalUsedQuota, mQuotaUpdater)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/data/
SparseArrayBitmapPool.java 55 * @param capacityBytes Maximum capacity of the pool in bytes.
127 * @return Capacity of the pool in bytes.
134 * @return Total size in bytes of the bitmaps stored in the pool.
170 int bytes = b.getByteCount(); local
171 freeUpCapacity(bytes);
201 mSizeBytes += bytes;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java 162 int bytes; local
163 while ((bytes = reader.read(chars)) != -1) {
164 string.append(chars, 0, bytes);
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
FileSystemUtils.java 114 * bytes on Windows, 512 byte units on OS X and kilobytes on Unix.
229 // non-empty line (the free space bytes should be in the last element
249 * @return the number of bytes
256 // numeric character inclusive is our free space bytes count
264 // the free space bytes count
274 // beginning of the free space bytes count
286 // remove commas and dots in the bytes count
356 * Parses the bytes from a string.
360 * @return the number of bytes
365 long bytes = Long.parseLong(freeSpace) local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/mtd/
ubi-user.h 76 * this number of bytes to the volume character device. The update is finished
77 * when the claimed number of bytes is passed. So, the volume update sequence
99 * user is expected to write the requested amount of bytes (similarly to what
251 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or
260 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes
276 * @bytes: volume size in bytes
305 __s64 bytes; member in struct:ubi_mkvol_req
316 * @bytes: new size of the volume in byte
325 __s64 bytes; member in struct:ubi_rsvol_req
381 __s32 bytes; member in struct:ubi_leb_change_req
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/mtd/
ubi-user.h 76 * this number of bytes to the volume character device. The update is finished
77 * when the claimed number of bytes is passed. So, the volume update sequence
99 * user is expected to write the requested amount of bytes (similarly to what
251 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or
260 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes
276 * @bytes: volume size in bytes
305 __s64 bytes; member in struct:ubi_mkvol_req
316 * @bytes: new size of the volume in byte
325 __s64 bytes; member in struct:ubi_rsvol_req
381 __s32 bytes; member in struct:ubi_leb_change_req
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
tokenize.py 42 bytes
44 # Support bytes type in Python <= 2.5, so 2to3 turns itself into
46 bytes = str variable
259 (as a string) and a list of any lines (left as bytes) it has read
277 return bytes()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
tokenize.py 42 bytes
44 # Support bytes type in Python <= 2.5, so 2to3 turns itself into
46 bytes = str variable
259 (as a string) and a list of any lines (left as bytes) it has read
277 return bytes()
  /system/core/libutils/
String8.cpp 99 const ssize_t bytes = utf16_to_utf8_length(in, len); local
100 if (bytes < 0) {
104 SharedBuffer* buf = SharedBuffer::alloc(bytes+1);
121 const ssize_t bytes = utf32_to_utf8_length(in, len); local
122 if (bytes < 0) {
126 SharedBuffer* buf = SharedBuffer::alloc(bytes+1);
286 const size_t otherLen = other.bytes();
287 if (bytes() == 0) {
304 if (bytes() == 0) {
351 const size_t myLen = bytes();
    [all...]
  /art/runtime/
oat.cc 143 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local
144 adler32_checksum_ = adler32(adler32_checksum_, bytes, length);
  /cts/tests/tests/media/libmediandkjni/
native-media-jni.cpp 561 void *bytes; local
563 if(!AMediaFormat_getBuffer(format, "csd-0", &bytes, &bytesize)
564 || bytesize != sizeof(foo) || *((uint32_t*)bytes) != 0xdeadbeef) {
630 uint8_t bytes[16]; local
631 AMediaCodecCryptoInfo_getKey(ci, bytes);
632 if (memcmp(key, bytes, 16) != 0) {
636 AMediaCodecCryptoInfo_getIV(ci, bytes);
637 if (memcmp(iv, bytes, 16) != 0) {
  /dalvik/dexgen/src/com/android/dexgen/util/
ByteArrayAnnotatedOutput.java 60 * {@code >= 8 (if used);} the number of bytes of hex output to use
109 * may be larger than the number of bytes written
122 * bytes at the end).
263 public void write(ByteArray bytes) {
264 int blen = bytes.size();
275 bytes.getBytes(data, writeAt);
280 public void write(byte[] bytes, int offset, int length) {
286 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
287 throw new IndexOutOfBoundsException("bytes.length " +
288 bytes.length + "; "
    [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...]
StdAttributeFactory.java 216 ByteArray bytes = cf.getBytes(); local
218 int maxStack = bytes.getUnsignedShort(offset); // u2 max_stack
219 int maxLocals = bytes.getUnsignedShort(offset + 2); // u2 max_locals
220 int codeLength = bytes.getInt(offset + 4); // u4 code_length
224 observer.parsed(bytes, offset, 2,
226 observer.parsed(bytes, offset + 2, 2,
228 observer.parsed(bytes, offset + 4, 4,
243 new BytecodeArray(bytes.slice(codeOffset, codeOffset + codeLength),
250 int exceptionTableLength = bytes.getUnsignedShort(offset);
256 observer.parsed(bytes, offset, 2
320 ByteArray bytes = cf.getBytes(); local
354 ByteArray bytes = cf.getBytes(); local
383 ByteArray bytes = cf.getBytes(); local
411 ByteArray bytes = cf.getBytes(); local
468 ByteArray bytes = cf.getBytes(); local
509 ByteArray bytes = cf.getBytes(); local
532 ByteArray bytes = cf.getBytes(); local
681 ByteArray bytes = cf.getBytes(); local
703 ByteArray bytes = cf.getBytes(); local
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
BlockDumper.java 73 * @param bytes {@code non-null;} bytes of the (alleged) class file
80 public static void dump(byte[] bytes, PrintStream out,
82 BlockDumper bd = new BlockDumper(bytes, out, filePath,
91 BlockDumper(byte[] bytes, PrintStream out, String filePath,
93 super(bytes, out, filePath, args);
106 byte[] bytes = getBytes();
107 ByteArray ba = new ByteArray(bytes);
135 public void parsed(ByteArray bytes, int offset, int len, String human) {
137 super.parsed(bytes, offset, len, human)
211 ByteArray bytes = code.getBytes(); local
287 ByteArray bytes = code.getBytes(); local
    [all...]
  /dalvik/dx/src/com/android/dx/util/
ByteArrayAnnotatedOutput.java 63 * {@code >= 8 (if used);} the number of bytes of hex output to use
121 * may be larger than the number of bytes written
134 * bytes at the end).
259 public void write(ByteArray bytes) {
260 int blen = bytes.size();
271 bytes.getBytes(data, writeAt);
276 public void write(byte[] bytes, int offset, int length) {
282 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
283 throw new IndexOutOfBoundsException("bytes.length " +
284 bytes.length + "; "
    [all...]
  /device/samsung/manta/liblights/
lights.c 82 int bytes = sprintf(buffer, "%d\n", value); local
83 int amt = write(fd, buffer, bytes);
  /external/aac/libAACdec/src/
aacdecoder.cpp 231 \size Size of the buffer pointed on by buffer in bytes
255 \size Pointer to a buffer receiving the length of the requested anc data element in bytes
500 int bytes = (*count) >> 3; local
586 bytes--;
591 while (bytes > 0) {
593 bytes--;
599 *count = bytes<<3;
683 { /* Skip the remaining extension bytes */
    [all...]
  /external/blktrace/btreplay/
btrecord.c 66 * @bytes: Number of bytes transferred
72 __u32 bytes; member in struct:io_spec
275 .nbytes = spec->bytes,
514 spec->bytes = t.bytes;
521 spec->bytes = be32_to_cpu(t.bytes);
550 (long long unsigned)spec->bytes / 512LLU,

Completed in 2369 milliseconds

<<21222324252627282930>>