/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.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/gcc/linux-x86/host/x86_64-linux-glibc2.15-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 253 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or 262 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes 278 * @bytes: volume size in bytes 307 __s64 bytes; member in struct:ubi_mkvol_req 318 * @bytes: new size of the volume in byte 327 __s64 bytes; member in struct:ubi_rsvol_req 383 __s32 bytes; member in struct:ubi_leb_change_req [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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/bt/service/common/bluetooth/binder/ |
parcel_helpers.cpp | 87 // a second 64-bit integer. This is the same as writing the raw-bytes in 90 UUID::UUID128Bit bytes = uuid.GetFullBigEndian(); local 93 ((((uint64_t) bytes[0]) << 56) | 94 (((uint64_t) bytes[1]) << 48) | 95 (((uint64_t) bytes[2]) << 40) | 96 (((uint64_t) bytes[3]) << 32) | 97 (((uint64_t) bytes[4]) << 24) | 98 (((uint64_t) bytes[5]) << 16) | 99 (((uint64_t) bytes[6]) << 8) | 100 bytes[7]) 118 UUID::UUID128Bit bytes; local [all...] |
/system/connectivity/shill/net/ |
ip_address.cc | 88 auto bytes = reinterpret_cast<const uint8_t*>(&sin->sin_addr.s_addr); local 89 address_ = ByteString(bytes, sizeof(sin->sin_addr.s_addr));
|
/system/core/fastboot/ |
udp.cpp | 60 static uint16_t ExtractUint16(const uint8_t* bytes) { 61 return (static_cast<uint16_t>(bytes[0]) << 8) | bytes[1]; 71 const uint8_t* bytes() const { return bytes_; } function in class:udp::Header 119 // Sends |length| bytes from |data| and waits for the response packet up to |attempts| times. 121 // Excess bytes that cannot fit in |rx_data| are dropped. 122 // On success, returns the number of response data bytes received, which may be greater than 168 // The first two bytes contain the next expected sequence number. 183 // The first two data bytes contain the version, the second two bytes contain the target ma 228 ssize_t bytes = SendSinglePacketHelper(&header, tx_data, packet_data_length, rx_data, local 266 ssize_t bytes = 0; local 330 ssize_t bytes = SendData(kIdFastboot, nullptr, 0, reinterpret_cast<uint8_t*>(data), length, local 348 ssize_t bytes = SendData(kIdFastboot, reinterpret_cast<const uint8_t*>(data), length, nullptr, local [all...] |
/system/core/libmemunreachable/ |
MemUnreachable.cpp | 401 ALOGE("%zu bytes in %zu allocation%s unreachable out of %zu bytes in %zu allocation%s", 412 oss << " bytes unreachable at "; 417 oss << " referencing " << referenced_size << " unreachable bytes"; 423 oss << " and " << similar_size << " similar unreachable bytes"; 427 oss << " referencing " << similar_referenced_size << " unreachable bytes"; 435 const size_t bytes = std::min(size, contents_length); local 437 if (bytes == size) { 440 oss << " first " << bytes << " bytes of contents:" << std::endl [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
md5.c | 57 /* This array contains the bytes used to pad the buffer to the next 76 /* Put result from CTX in first 16 bytes following RESBUF. The result 96 /* Process the remaining bytes in the internal buffer and the usual 104 /* Take yet unprocessed bytes into account. */ 105 md5_uint32 bytes = ctx->buflen; local 109 /* Now count remaining bytes. */ 110 ctx->total[0] += bytes; 111 if (ctx->total[0] < bytes) 114 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes [all...] |
sha1.c | 49 /* This array contains the bytes used to pad the buffer to the next 70 /* Put result from CTX in first 20 bytes following RESBUF. The result 87 /* Process the remaining bytes in the internal buffer and the usual 95 /* Take yet unprocessed bytes into account. */ 96 sha1_uint32 bytes = ctx->buflen; local 97 size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; 99 /* Now count remaining bytes. */ 100 ctx->total[0] += bytes; 101 if (ctx->total[0] < bytes) 108 memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes) [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
sh-dis.c | 902 bfd_byte bytes[4]; local 908 status = info->read_memory_func (disp_pc_addr, bytes, size, info); 916 val = bfd_getl16 (bytes); 918 val = bfd_getb16 (bytes); 923 val = bfd_getl32 (bytes); 925 val = bfd_getb32 (bytes);
|
z8k-dis.c | 32 of bytes is used, and every 4th entry of words). */ 34 unsigned char bytes[24]; member in struct:__anon74859 55 /* Make sure that bytes from INFO->PRIVATE_DATA->BUFFER (inclusive) 90 priv->bytes[i] = *p; 95 priv->bytes[i] = *p; 172 instr_data.bytes[0], instr_data.bytes[2]); 314 instr_byte = instr_data->bytes[nibl_count & ~1];
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestConversion.java | 49 ByteBuffer bytes; // byte field in class:TestConversion.ConversionCase 132 cc.bytes = ((ICUResourceBundle) testcase.getObject("bytes")).getBinary(); 197 logln("Bytes: " + printbytes(cc.bytes, cc.bytes.limit())); 205 } else if (cc.offsets.length != cc.bytes.limit()) { 206 errln("fromUnicode[" + cc.caseNr + "] bytes[" + cc.bytes 391 int targetLen = cc.bytes.capacity() + 20; // for BOM, and to let failures produce excess outpu [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
AlgorithmId.java | 160 DerOutputStream bytes = new DerOutputStream(); local 163 bytes.putOID(algid); 196 bytes.putNull(); 198 bytes.putNull(); 200 bytes.putDerValue(params); 202 tmp.write(DerValue.tag_Sequence, bytes); [all...] |
/art/runtime/ |
oat.cc | 186 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local 187 adler32_checksum_ = adler32(adler32_checksum_, bytes, length);
|
/cts/tests/tests/media/libmediandkjni/ |
native-media-jni.cpp | 563 void *bytes; local 565 if(!AMediaFormat_getBuffer(format, "csd-0", &bytes, &bytesize) 566 || bytesize != sizeof(foo) || *((uint32_t*)bytes) != 0xdeadbeef) { 632 uint8_t bytes[16]; local 633 AMediaCodecCryptoInfo_getKey(ci, bytes); 634 if (memcmp(key, bytes, 16) != 0) { 638 AMediaCodecCryptoInfo_getIV(ci, bytes); 639 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 583 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...] |