/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 238 ALOGV("Dimension = %dx%d and bytes = %d", 328 jbyte* bytes = env->GetByteArrayElements(array, NULL); local 329 if (bytes != NULL) { 330 memcpy(bytes, data, len); 331 env->ReleaseByteArrayElements(array, bytes, 0);
|
android_media_MediaScanner.cpp | 61 static bool isValidUtf8(const char* bytes) { 62 while (*bytes != '\0') { 63 unsigned char utf8 = *(bytes++); 74 // Bit pattern 0xxx. No need for any extra bytes. 82 * Bit pattern 10xx or 1111, which are illegal start bytes. 88 // Bit pattern 1110, so there are two additional bytes. 89 utf8 = *(bytes++); 97 utf8 = *(bytes++); 358 jbyte* bytes = env->GetByteArrayElements(array, NULL); local 359 memcpy(bytes, data + 4, len) [all...] |
/hardware/libhardware/tests/camera2/ |
CameraStreamFixture.h | 235 size_t bytes; local 238 bytes = fwrite( 241 if (bytes != img.width) { 259 bytes = fwrite(reinterpret_cast<const char*>(px), 261 if (bytes != img.width / 2) {
|
/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);
|
/hardware/qcom/display/msm8x26/liblight/ |
lights.c | 90 int bytes = sprintf(buffer, "%d\n", value); local 91 int amt = write(fd, buffer, bytes);
|
/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.
228 // non-empty line (the free space bytes should be in the last element
248 * @return the number of bytes
255 // numeric character inclusive is our free space bytes count
263 // the free space bytes count
273 // beginning of the free space bytes count
285 // remove commas and dots in the bytes count
355 * Parses the bytes from a string.
359 * @return the number of bytes
364 long bytes = Long.parseLong(freeSpace); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm_oss.h | 55 size_t bytes; /* total # bytes processed */ member in struct:snd_pcm_oss_runtime
|
rawmidi.h | 79 /* event handler (new bytes, input only) */ 96 size_t bytes; member in struct:snd_rawmidi_substream
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm_oss.h | 55 size_t bytes; /* total # bytes processed */ member in struct:snd_pcm_oss_runtime
|
rawmidi.h | 79 /* event handler (new bytes, input only) */ 96 size_t bytes; member in struct:snd_rawmidi_substream
|
/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) { 342 const size_t myLen = bytes(); [all...] |
/system/core/toolbox/ |
dd.h | 67 uint64_t bytes; /* # of bytes written */ member in struct:__anon62814
|
/bionic/libc/tools/zoneinfo/ |
ZoneCompactor.java | 31 private final byte[] bytes; field in class:ZoneCompactor.ByteArrayBufferIteratorBE 34 public ByteArrayBufferIteratorBE(byte[] bytes) { 35 this.bytes = bytes; 48 System.arraycopy(bytes, offset, dst, dstOffset, byteCount); 53 return bytes[offset++]; 77 // File starting bytes by zone name
|
/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...] |
/dalvik/vm/native/ |
dalvik_system_VMRuntime.cpp | 220 int bytes = args[1]; local 221 if (bytes < 0) { 224 dvmHeapSourceRegisterNativeAllocation(bytes); 232 int bytes = args[1]; local 233 if (bytes < 0) { 236 dvmHeapSourceRegisterNativeFree(bytes);
|