/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/tcpdump/ |
print-medsa.c | 49 u_char bytes[6]; member in struct:medsa_pkthdr 53 /* Bytes 0 and 1 are reserved and should contain 0 */ 54 #define TAG(medsa) (medsa->bytes[2] >> 6) 58 #define SRC_TAG(medsa) ((medsa->bytes[2] >> 5) & 0x01) 59 #define SRC_DEV(medsa) (medsa->bytes[2] & 0x1f) 60 #define SRC_PORT(medsa) ((medsa->bytes[3] >> 3) & 0x01f) 61 #define TRUNK(medsa) ((medsa->bytes[3] >> 2) & 0x01) 62 #define CODE(medsa) ((medsa->bytes[3] & 0x06) | \ 63 ((medsa->bytes[4] >> 4) & 0x01)) 67 #define CFI(medsa) (medsa->bytes[3] & 0x01 [all...] |
/external/tensorflow/tensorflow/core/framework/ |
allocator_test.cc | 180 int bytes = sizes[size_index++ % sizes.size()]; local 181 void* p = a->AllocateRaw(1, bytes);
|
/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 = utf8towc(&wc, end, 4))>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:__anon40672 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/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 | 165 size_t bytes = 0; local 172 bytes = fwrite(buf, 1, size, mFile); 173 mByteCount += bytes; 178 ALOGV("wrote %zu/%zu bytes to BufLogStream %d tag:%s. Total Bytes: %zu", bytes, size, mId, 184 return bytes;
|
/frameworks/base/cmds/statsd/tests/ |
UidMap_test.cpp | 164 vector<uint8_t> bytes; local 165 bytes.resize(proto->size()); 170 std::memcpy(&((bytes)[pos]), iter.readBuffer(), toRead); 174 results->ParseFromArray(bytes.data(), bytes.size()); 345 vector<uint8_t> bytes; local
|
/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/base/services/backup/java/com/android/server/backup/utils/ |
PasswordUtils.java | 88 final int bytes = digits.length() / 2; local 89 if (2 * bytes != digits.length()) { 93 byte[] result = new byte[bytes];
|
/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 | 141 int bytes; local 164 bytes = sprintf(buffer, "%" PRIi64, ns); 165 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/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
StringRef.h | 116 iterator_range<const unsigned char *> bytes() const { function in class:llvm::StringRef
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/DebugInfo/PDB/Native/ |
TpiStreamBuilder.h | 31 static ArrayRef<uint8_t> bytes(const codeview::CVType &Item) { function in struct:llvm::BinaryItemTraits
|