/external/squashfs-tools/squashfs-tools/ |
unsquash-1.c | 61 int bytes = lookup_entry(inode_table_hash, start); local 62 char *block_ptr = inode_table + bytes + offset; 67 if(bytes == -1) 212 int bytes; local 245 bytes = lookup_entry(directory_table_hash, start); 246 if(bytes == -1) 250 bytes += (*i)->offset; 251 size = (*i)->data + bytes; 253 while(bytes < size) { 256 memcpy(&sdirh, directory_table + bytes, sizeof(sdirh)) [all...] |
unsquash-2.c | 46 int bytes = SQUASHFS_FRAGMENT_BYTES_2(sBlk.s.fragments); local 59 fragment_table = malloc(bytes); 90 bytes & (SQUASHFS_METADATA_SIZE - 1); 132 int bytes = lookup_entry(inode_table_hash, start); local 133 char *block_ptr = inode_table + bytes + offset; 138 if(bytes == -1)
|
unsquash-4.c | 34 int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk.s.fragments); local 47 fragment_table = malloc(bytes); 64 bytes & (SQUASHFS_METADATA_SIZE - 1); 101 int bytes = lookup_entry(inode_table_hash, start); local 102 char *block_ptr = inode_table + bytes + offset; 107 if(bytes == -1) 258 int bytes; local 291 bytes = lookup_entry(directory_table_hash, start); 293 if(bytes == -1) 297 bytes += (*i)->offset 357 int bytes = SQUASHFS_ID_BYTES(sBlk.s.no_ids); local [all...] |
/external/toybox/lib/ |
linestack.c | 87 int columns = 0, col, bytes; local 93 bytes = 0; 94 if (*end >= ' ' && (bytes = mbrtowc(&wc, end, 99,0))>0 98 if (out) fwrite(end, bytes, 1, out); 104 bytes = 1; 106 } else if (bytes<1) { 107 bytes = 1; 116 end += bytes; 136 // Return bytes used by (up to) this many columns
|
/external/tpm2/ |
stubs_hash.c | 99 INT16 bytes; // number of bytes to produce local 123 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8); 124 // Generate required bytes 125 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen) 127 if(bytes < hLen) 128 hLen = bytes; 154 // to the smaller of hLen and bytes. This causes bytes to decremen 181 INT16 bytes; \/\/ number of bytes to generate local [all...] |
/external/tremolo/Tremolo/ |
misc.c | 58 long bytes; member in struct:__anon23504 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/v8/src/profiler/ |
tick-sample.cc | 28 byte bytes[8]; member in struct:v8::internal::__anon23770::Pattern 61 if (!memcmp(pc - offset, pattern->bytes, pattern->bytes_count)) 64 // It is not safe to examine bytes on another page as it might not be 69 if (!memcmp(pc, pattern->bytes + offset, pattern->bytes_count - offset))
|
/external/v8/test/unittests/compiler/ |
zone-pool-unittest.cc | 34 size_t bytes = rng.NextInt(25) + 7; local 36 zone->New(bytes); 130 size_t bytes = Allocate(outer_scope.zone()); local 131 outer_allocated += bytes; 132 total_allocated += bytes; 139 size_t bytes = Allocate(inner_scope.zone()); local 140 allocated += bytes; 141 total_allocated += bytes;
|
/external/v8/test/unittests/interpreter/ |
bytecode-array-writer-unittest.cc | 131 static const uint8_t bytes[] = {B(StackCheck), B(LdaSmi), U8(127), B(Wide), local 133 CHECK_EQ(bytecodes()->size(), arraysize(bytes)); 134 for (size_t i = 0; i < arraysize(bytes); ++i) { 135 CHECK_EQ(bytecodes()->at(i), bytes[i]); local 139 CHECK_EQ(bytecodes()->size(), arraysize(bytes));
|
/external/valgrind/coregrind/m_ume/ |
elf.c | 226 UInt bytes; local 228 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss); 229 if (bytes > 0) { 232 VG_PGROUNDUP(bss), bytes, 236 check_mmap(res, VG_PGROUNDUP(bss), bytes); 239 bytes = bss & (VKI_PAGE_SIZE - 1); 242 if ((prot & VKI_PROT_WRITE) && (bytes > 0)) { 243 bytes = VKI_PAGE_SIZE - bytes; 244 VG_(memset)((void *)bss, 0, bytes); [all...] |
/external/webrtc/talk/app/webrtc/java/jni/ |
androidvideocapturer_jni.cc | 203 jbyte* bytes = jni->GetByteArrayElements(j_frame, &is_copy); local 205 ->OnMemoryBufferFrame(bytes, length, width, height, rotation, timestamp); 206 jni->ReleaseByteArrayElements(j_frame, bytes, JNI_ABORT);
|
/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_ddm_DdmHandleNativeHeap.cpp | 59 char bytes[1024]; local 61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) { 62 s.append(bytes, byteCount);
|
/frameworks/ex/framesequence/jni/ |
FrameSequenceJNI.cpp | 50 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(byteArray, NULL)); local 51 if (bytes == NULL) { 53 "couldn't read array bytes"); 56 MemoryStream stream(bytes + offset, length, NULL); 58 env->ReleasePrimitiveArrayCritical(byteArray, 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...] |
/hardware/akm/AK8975_FS/libsensors/ |
AdxlSensor.cpp | 133 int bytes; local 157 bytes = sprintf(buffer, "%d", rate_val); 158 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
|
AkmSensor.cpp | 140 int bytes; local 163 bytes = sprintf(buffer, "%lld", ns); 164 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
|
/hardware/ti/omap4-aah/libtiutils/ |
MessageQueue.cpp | 193 size_t bytes = 0; local 212 while( bytes < sizeof(msg) ) 214 int err = write(this->fd_write, p, sizeof(*msg) - bytes); 224 bytes += err;
|
/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/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()));
|
/libcore/tzdata/update/src/main/libcore/tzdata/update/ |
ConfigBundle.java | 28 * A configuration bundle. This is a thin wrapper around some in-memory bytes representing a zip 47 private final byte[] bytes; field in class:ConfigBundle 49 public ConfigBundle(byte[] bytes) { 50 this.bytes = bytes; 54 return bytes; 58 extractZipSafely(new ByteArrayInputStream(bytes), targetDir, true /* makeWorldReadable */); 116 if (!Arrays.equals(bytes, that.bytes)) {
|
/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";
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ContactRequest.java | 36 public byte[] bytes; field in class:ContactRequest 91 return new ByteArrayInputStream(bytes);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic 28 __u64 bytes; member in struct:gnet_stats_basic_packed
|