| /external/syslinux/com32/modules/ |
| pmload.c | 144 int bytes = strlen(*argp) + 1; /* Including final null */ local 146 memcpy(sfp, *argp, bytes); 147 sfp += bytes; 148 sfa += bytes;
|
| /external/syslinux/core/ |
| font.c | 95 uint8_t bytes = VGAFontSize; local 112 rows = GXPixRows / bytes; 118 ireg.ecx.b[0] = bytes; /* bytes/character */ 131 ireg.ebx.b[1] = bytes; /* bytes/character */
|
| /external/syslinux/core/legacynet/ |
| core.c | 90 uint16_t bytes; local 106 bytes = min(udp_read.buffer_size, *buf_len); 107 memcpy(buf, packet_buf, bytes); 111 *buf_len = bytes;
|
| /external/syslinux/gpxe/src/core/ |
| debug.c | 29 const uint8_t *bytes = data; local 40 ( ( ( i % 16 ) == 8 ) ? '-' : ' ' ), bytes[i] ); 48 byte = bytes[i];
|
| /external/toybox/lib/ |
| linestack.c | 89 int columns = 0, col, bytes; local 92 for (end = start = *str; *end; columns += col, end += bytes) { 95 if ((bytes = mbrtowc(&wc, end, MB_CUR_MAX, 0))>0 && (col = wcwidth(wc))>=0) 99 if (out) fwrite(end, bytes, 1, out); 105 if (bytes<1) { 106 bytes = 1; 112 else if (out) fwrite(end, bytes, 1, out); 161 // 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:__anon33989 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/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/av/services/audioflinger/ |
| BufLog.cpp | 164 size_t bytes = 0; local 171 bytes = fwrite(buf, 1, size, mFile); 172 mByteCount += bytes; 177 ALOGV("wrote %zu/%zu bytes to BufLogStream %d tag:%s. Total Bytes: %zu", bytes, size, mId, 183 return bytes;
|
| /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);
|
| /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/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
| TestUtils.java | 75 int bytes; local 76 while ((bytes = inputStream.read(buffer)) != -1) { 77 outputStream.write(buffer, 0, bytes); 113 int bytes; 114 while ((bytes = inputStream.read(buffer)) != -1) { 115 outputStream.write(buffer, 0, 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
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
| gen_stats.h | 18 * @bytes: number of seen bytes 22 __u64 bytes; member in struct:gnet_stats_basic 26 __u64 bytes; member in struct:gnet_stats_basic_packed
|
| /prebuilts/go/darwin-x86/src/debug/dwarf/ |
| buf.go | 34 // Size of an address, in bytes. Zero means unknown. 68 func (b *buf) bytes(n int) []byte { func 79 func (b *buf) skip(n int) { b.bytes(n) } 95 a := b.bytes(2) 103 a := b.bytes(4) 111 a := b.bytes(8)
|
| /prebuilts/go/darwin-x86/src/runtime/ |
| print.go | 16 func bytes(s string) (ret []byte) { func 236 gwrite(bytes(s))
|