/external/skia/src/images/ |
SkFlipPixelRef.cpp | 71 const size_t bytes = rect.width() << shift; local 75 memcpy(dstP, srcP, bytes);
|
SkImageDecoder_wbmp.cpp | 77 int bytes = bits >> 3; local 79 for (int i = 0; i < bytes; i++) {
|
/external/skia/tests/ |
StreamTest.cpp | 27 size_t bytes = stream->read(tmp, len); local 28 REPORTER_ASSERT(reporter, bytes == len); 33 size_t bytes = stream->read(tmp, 1); local 34 REPORTER_ASSERT(reporter, 0 == bytes); 107 size_t bytes = stream->read(&tmp, 1); local 108 REPORTER_ASSERT(reporter, 0 == bytes); 142 // we know that packeduint tries to write 1, 2 or 4 bytes for the length,
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArray.java | 35 private final byte[] bytes; field in class:ByteArray 40 /** <code>>= 0, <= bytes.length</code>; size computed as 47 * @param bytes non-null; the underlying array 49 * @param end <code>>= start, <= bytes.length</code>; end index of 52 public ByteArray(byte[] bytes, int start, int end) { 53 if (bytes == null) { 54 throw new NullPointerException("bytes == null"); 65 if (end > bytes.length) { 66 throw new IllegalArgumentException("end > bytes.length"); 69 this.bytes = bytes [all...] |
/external/tremolo/Tremolo/ |
misc.c | 58 long bytes; member in struct:__anon28729 64 static void *_insert(void *ptr,long bytes,char *file,long line){ 68 ((head *)ptr)->bytes=bytes-HEAD_ALIGN; 113 file_bytes[i]+=bytes-HEAD_ALIGN; 122 file_bytes[i]-(bytes-HEAD_ALIGN)); 132 global_bytes+(bytes-HEAD_ALIGN)); 137 global_bytes+=(bytes-HEAD_ALIGN); 152 long bytes =((head *)ptr)->bytes; local [all...] |
/external/valgrind/main/coregrind/m_ume/ |
elf.c | 223 UInt bytes; local 225 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss); 226 if (bytes > 0) { 229 VG_PGROUNDUP(bss), bytes, 233 check_mmap(res, VG_PGROUNDUP(bss), bytes); 236 bytes = bss & (VKI_PAGE_SIZE - 1); 239 if ((prot & VKI_PROT_WRITE) && (bytes > 0)) { 240 bytes = VKI_PAGE_SIZE - bytes; 241 VG_(memset)((char *)bss, 0, bytes); [all...] |
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 103 long bytes = Math.min(n, outputEnd-outputStart); local 104 outputStart += bytes; 105 return bytes; 126 int bytes = Math.min(len, outputEnd-outputStart); local 127 System.arraycopy(coder.output, outputStart, b, off, bytes); 128 outputStart += bytes; 129 return bytes;
|
/frameworks/base/core/jni/ |
android_hardware_UsbDeviceConnection.cpp | 98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); local 99 if (bytes) { 100 memcpy(bytes, buffer, length); 101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AmrCodec.cpp | 102 unsigned char *bytes = (unsigned char *)payload; local 106 samples, bytes + 1, &type, AMR_TX_WMF); 113 bytes[0] = 0xF0; 114 bytes[1] = (mMode << 3) | 0x04; 118 bytes[0] = 0xFF; 119 bytes[1] = 0xC0 | (mMode << 1) | 1; 122 bytes[length + 1] = 0; 124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2) 133 unsigned char *bytes = (unsigned char *)payload; local 226 unsigned char *bytes = (unsigned char *)payload; local 244 unsigned char *bytes = (unsigned char *)payload; local [all...] |
/frameworks/rs/ |
rsThreadIO.h | 73 uint32_t bytes; member in struct:android::renderscript::ThreadIO::CoreCmdHeaderRec 77 uint32_t bytes; member in struct:android::renderscript::ThreadIO::ClientCmdHeaderRec
|
/hardware/akm/AK8975_FS/libsensors/ |
AdxlSensor.cpp | 132 int bytes; local 156 bytes = sprintf(buffer, "%d", rate_val); 157 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
|
AkmSensor.cpp | 139 int bytes; local 162 bytes = sprintf(buffer, "%lld", ns); 163 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
|
/hardware/ti/omap4xxx/libtiutils/ |
MessageQueue.cpp | 192 size_t bytes = 0; local 211 while( bytes < sizeof(msg) ) 213 int err = write(this->fd_write, p, sizeof(*msg) - bytes); 223 bytes += err;
|
/libcore/luni/src/main/java/libcore/net/url/ |
FileURLConnection.java | 90 * Returns the length of the file in bytes. 150 ByteArrayOutputStream bytes = new java.io.ByteArrayOutputStream(); local 151 PrintStream out = new PrintStream(bytes); 161 return new ByteArrayInputStream(bytes.toByteArray());
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 49 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 50 out = new ObjectOutputStream(bytes); 62 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
OldNumberFormatFieldTest.java | 45 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 46 ObjectOutputStream out = new ObjectOutputStream(bytes); 57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SizeClustering.java | 115 long bytes = SIZE_LEVELS[index]; local 116 if (bytes >= GIGA_BYTES) { 117 return (bytes / GIGA_BYTES) + "GB"; 119 return (bytes / MEGA_BYTES) + "MB";
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */ 35 unsigned int sw_io; /* Current software pointer in bytes */ 36 int sw_ready; /* Bytes ready to be transferred to/from hw */ 41 struct snd_pcm_indirect *rec, size_t bytes); 66 unsigned int bytes = qsize - rec->hw_ready; local 67 if (rec->sw_ready < (int)bytes) 68 bytes = rec->sw_ready; 69 if (hw_to_end < bytes) 70 bytes = hw_to_end; 71 if (sw_to_end < bytes) 95 int bytes = ptr - rec->hw_io; local 131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 161 int bytes = ptr - rec->hw_io; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */ 35 unsigned int sw_io; /* Current software pointer in bytes */ 36 int sw_ready; /* Bytes ready to be transferred to/from hw */ 41 struct snd_pcm_indirect *rec, size_t bytes); 66 unsigned int bytes = qsize - rec->hw_ready; local 67 if (rec->sw_ready < (int)bytes) 68 bytes = rec->sw_ready; 69 if (hw_to_end < bytes) 70 bytes = hw_to_end; 71 if (sw_to_end < bytes) 95 int bytes = ptr - rec->hw_io; local 131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 161 int bytes = ptr - rec->hw_io; local [all...] |
/sdk/emulator/qtools/ |
read_trace.cpp | 115 int bytes; local 123 bytes = 2; 136 bytes = 4; 148 bytes = 4; 154 addr += bytes; 155 offset += bytes;
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BasicBlocker.java | 272 BytecodeArray bytes = method.getCode(); local 273 ByteBlock[] bbs = new ByteBlock[bytes.size()]; 328 BytecodeArray bytes = method.getCode(); local 346 bytes.processWorkSet(workSet, this); 389 * @param length length of the instruction, in bytes 422 * @param length length of the instruction, in bytes
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 97 ByteArrayOutputStream bytes = new ByteArrayOutputStream((int) f.length()); local 102 return bytes; 104 bytes.write(buffer, 0, byteCount);
|