/external/mesa3d/src/glsl/glcpp/ |
glcpp.c | 50 size_t bytes; local 61 bytes = fread (text + total_read, 1, CHUNK, fp); 62 total_read += bytes; 64 if (bytes < CHUNK) {
|
/external/mesa3d/src/mesa/main/ |
texcompress.c | 468 * \param srcRowStride stride in bytes between rows of blocks in the 480 GLuint bytes, bw, bh; local 482 bytes = _mesa_get_format_bytes(format); 492 texImage.RowStride = srcRowStride * bh / bytes;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ExtensionDescriptor.java | 36 byte[] bytes;
field in class:ExtensionDescriptor 60 bytes = new byte[sizeOfInstance];
61 bb.get(bytes);
69 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
ExtensionProfileLevelDescriptor.java | 33 byte[] bytes;
field in class:ExtensionProfileLevelDescriptor 38 bytes = new byte[getSize()];
39 bb.get(bytes);
47 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
/external/opencv3/modules/videoio/src/cap_winrt/ |
MFIncludes.hpp | 91 // Get access to bytes in IBuffer 94 unsigned char* bytes = nullptr; variable 95 CHK(As<WSS::IBufferByteAccess>(buffer)->Buffer(&bytes)); variable 96 return bytes;
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
UnknownFieldData.java | 49 final byte[] bytes; field in class:UnknownFieldData 51 UnknownFieldData(int tag, byte[] bytes) { 53 this.bytes = bytes; 59 size += bytes.length; 65 output.writeRawBytes(bytes); 78 return tag == other.tag && Arrays.equals(bytes, other.bytes); 85 result = 31 * result + Arrays.hashCode(bytes);
|
/external/sfntly/cpp/src/test/ |
open_type_data_test.cc | 27 ByteVector bytes; local 29 bytes.push_back(TEST_OTF_DATA[i]); 31 ByteArrayPtr array = new MemoryByteArray(&(bytes[0]), bytes.size());
|
/external/squashfs-tools/kernel/fs/squashfs/ |
symlink.c | 55 int bytes, copied; local 63 * Skip index bytes into symlink metadata. 66 bytes = squashfs_read_metadata(sb, NULL, &block, &offset, 68 if (bytes < 0) { 77 * Read length bytes from symlink metadata. Squashfs_read_metadata 80 * squashfs_cache_get routine. As length bytes may overlap metadata 83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { 94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset [all...] |
/external/strace/ |
sock.c | 94 const unsigned char *bytes = local 97 bytes[0], bytes[1], bytes[2], 98 bytes[3], bytes[4], bytes[5]);
|
/external/tlsdate/src/ |
tlsdate-setter.c | 116 ssize_t bytes = read (time_fd, &tv.tv_sec, sizeof (tv.tv_sec)); local 118 if (bytes == -1) 125 if (bytes == 0) 131 if (bytes != sizeof (tv.tv_sec))
|
/external/toybox/toys/posix/ |
uuencode.c | 43 int j, x, bytes = i - (in-buf); local 45 if (bytes > 3) bytes = 3; 50 if (j < bytes) x |= (*(in++) & 0x0ff) << (8*(2-j)); 52 xputc(m ? (j > bytes ? '=' : toybuf[out]) : (out ? out + 0x20 : 0x60));
|
xargs.c | 21 -s Size in bytes per command line 50 long entries, bytes; 54 // If out==NULL count TT.bytes and TT.entries, stopping at max. 83 if (++TT.bytes >= TT.max_bytes && TT.max_bytes) return save; 98 TT.bytes += strlen(data)+1; 99 if (TT.max_bytes && TT.bytes >= TT.max_bytes) return data; 112 int entries, bytes, done = 0, status; local 125 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++) 126 bytes += strlen(toys.optargs[entries]) [all...] |
/external/webrtc/webrtc/base/ |
bufferqueue.cc | 35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) { 45 bytes = std::min(bytes, packet->size()); 46 memcpy(buffer, packet->data(), bytes); 48 *bytes_read = bytes; 57 bool BufferQueue::WriteBack(const void* buffer, size_t bytes, 70 packet = new Buffer(bytes, default_size_); 73 packet->SetData(static_cast<const uint8_t*>(buffer), bytes); local 75 *bytes_written = bytes;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
byte_io_unittest.cc | 54 // Template arguments: Type T, read method RM(buffer), B bytes of data. 63 uint8_t bytes[B + kAlignments]; local 67 PopulateTestData(bytes + i, test_value, B, big_endian); 70 EXPECT_EQ(test_value, RM(bytes + i)); 76 // Template arguments: Type T, write method WM(buffer, value), B bytes of data 86 uint8_t bytes[B + kAlignments]; local 93 memset(bytes, 0, B + kAlignments); 94 WM(bytes + i, test_value); 98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]);
|
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 46 char* bytes = new char[length]; local 47 if (length == read(fd, (void*) bytes, length)) { 48 string.append(bytes, length); 50 delete[] bytes;
|
/frameworks/base/libs/hwui/utils/ |
StringUtils.h | 40 int bytes; member in struct:android::uirenderer::SizePrinter 44 double temp = d.bytes;
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_vertex_frame.cpp | 76 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 77 if (bytes) { 78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 80 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
UnsafeByteSequence.java | 31 private byte[] bytes; field in class:UnsafeByteSequence 35 this.bytes = new byte[initialCapacity]; 51 if (count + length >= bytes.length) { 53 System.arraycopy(bytes, 0, newBytes, 0, count); 54 bytes = newBytes; 56 System.arraycopy(buffer, offset, bytes, count, length); 61 if (count == bytes.length) { 63 System.arraycopy(bytes, 0, newBytes, 0, count); 64 bytes = newBytes; 66 bytes[count++] = (byte) b [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
GsmCodec.cpp | 62 unsigned char *bytes = (unsigned char *)payload; local 65 gsm_decode(mDecode, bytes, &samples[n]) == 0) { 68 bytes += 33;
|
/frameworks/support/documents-archive/tests/src/android/support/provider/ |
TestUtils.java | 47 int bytes; local 48 while ((bytes = inputStream.read(buffer)) != -1) { 49 outputStream.write(buffer, 0, bytes);
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
iio.h | 39 unsigned int bytes; member in struct:__anon29759
|
/libcore/ojluni/src/main/native/ |
ObjectInputStream.c | 61 jbyte *bytes; local 73 bytes = (*env)->GetPrimitiveArrayCritical(env, src, NULL); 74 if (bytes == NULL) /* exception thrown */ 79 (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT); 85 (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT); 92 ival = ((bytes[srcpos + 0] & 0xFF) << 24) + 93 ((bytes[srcpos + 1] & 0xFF) << 16) + 94 ((bytes[srcpos + 2] & 0xFF) << 8) + 95 ((bytes[srcpos + 3] & 0xFF) << 0); 101 (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT) 129 jbyte *bytes; local [all...] |
/system/bt/btcore/src/ |
bdaddr.c | 97 const char *bytes = (const char *)key; local 99 hash = ((hash << 5) + hash) + bytes[i];
|
/system/tpm/trunks/ |
session_manager_test.cc | 65 std::vector<uint8_t> bytes; local 66 CHECK(base::HexStringToBytes(kValidModulus, &bytes)); 67 CHECK_EQ(bytes.size(), 256u); 69 rsa.size = bytes.size(); 70 memcpy(rsa.buffer, bytes.data(), bytes.size());
|
/system/update_engine/ |
fake_file_writer.h | 44 virtual ssize_t Write(const void* bytes, size_t count) { 47 const char* char_bytes = reinterpret_cast<const char*>(bytes); 59 const brillo::Blob& bytes() { function in class:chromeos_update_engine::FakeFileWriter 64 // The internal store of all bytes that have been written
|