/external/llvm/include/llvm/Support/ |
StreamableMemoryObject.h | 43 /// getExtent - Returns the size of the region in bytes. (The region is 46 /// May block until all bytes in the stream have been read 52 /// May block until (address - base) bytes have been read 59 /// readBytes - Tries to read a contiguous range of bytes from the 61 /// May block until (address - base + size) bytes have 63 /// not do partial reads - if size bytes cannot be read, 68 /// @param size - The number of bytes to copy. 70 /// and large enough to hold size bytes. 80 /// May block until (address - base + size) bytes have been read 88 /// May block until (address - base) bytes have been rea 155 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/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/openssl/crypto/rand/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/openssl/include/openssl/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macmouse.c | 56 int row, bytes; local 72 bytes = (w+7)/8; 75 SDL_memcpy(&cursor->curs.data[row], data, bytes); 76 data += bytes; 79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes); 80 mask += 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/skia/include/core/ |
SkData.h | 20 * but the actual ptr that is returned (by data() or bytes()) is guaranteed 28 * Returns the number of bytes stored. 43 const uint8_t* bytes() const { function in class:SkData 49 * Returns the actual number of bytes copied, after clamping offset and 51 * only the computed number of bytes is returned. 74 * (a null-terminated array of bytes). The returned SkData will have size()
|
/external/skia/src/lazy/ |
SkLazyPixelRef.cpp | 107 size_t bytes = ComputeMinRowBytesAndSize(info, &target.fRowBytes); local 108 target.fAddr = fImageCache->allocAndPinCache(bytes, &fCacheId);
|
/external/strace/ |
sock.c | 90 unsigned char *bytes; local 205 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; 207 bytes[0], bytes[1], bytes[2], 208 bytes[3], bytes[4], bytes[5]);
|
/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/core/java/com/android/internal/http/multipart/ |
ByteArrayPartSource.java | 50 private byte[] bytes; field in class:ByteArrayPartSource 55 * @param fileName the name of the file these bytes represent 56 * @param bytes the content of this part 58 public ByteArrayPartSource(String fileName, byte[] bytes) { 61 this.bytes = bytes; 69 return bytes.length; 83 return new ByteArrayInputStream(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;
|
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 22 private final byte[] bytes; field in class:CollationKeyICU 29 CollationKeyICU(String source, byte[] bytes) { 31 this.bytes = bytes; 35 // Get the bytes from the other collation key. 38 rhsBytes = ((CollationKeyICU) other).bytes; 43 if (bytes == null || bytes.length == 0) { 54 int count = Math.min(bytes.length, rhsBytes.length); 56 int s = bytes[i] & 0xff [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BitString.java | 38 public final byte[] bytes; field in class:BitString 44 * @param bytes array of bytes that represents bit string, 49 public BitString(byte[] bytes, int unusedBits) { 55 if (bytes.length == 0 && unusedBits != 0) { 59 this.bytes = bytes; 69 bytes = new byte[size]; 78 return (bytes[index] & SET_MASK[offset]) != 0; 85 bytes[index] |= SET_MASK[offset] [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 57 * Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available. 64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throws 65 * EOFException if insufficient bytes are available. 105 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 109 bytes.write(buffer, 0, count); 111 return bytes.toByteArray(); 139 * {@code byteCount} bytes have been read. 175 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed. 176 * Returns the total number of bytes transferred [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
DataOutputStreamTest.java | 26 private ByteArrayOutputStream bytes = new ByteArrayOutputStream(); field in class:DataOutputStreamTest 27 private DataOutputStream os = new DataOutputStream(bytes); 32 assertEquals("[01, 00]", toHexString(bytes.toByteArray())); 42 assertEquals("[ff, 00, 01, 81, 34]", toHexString(bytes.toByteArray())); 48 assertEquals("[30, 34, 31]", toHexString(bytes.toByteArray())); 55 assertEquals("[00, 30, 12, 34]", toHexString(bytes.toByteArray())); 61 assertEquals("[00, 30, 12, 34, 00, 31]", toHexString(bytes.toByteArray())); 66 assertEquals("[01, 23, 45, 67, 89, ab, cd, ef]", toHexString(bytes.toByteArray())); 71 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray())); 76 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray())) [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
ShareMockupAction.java | 54 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes); 61 fo.write(bytes.toByteArray());
|
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_streams.c | 49 static void consume(evStream *str, size_t bytes); 233 consume(evStream *str, size_t bytes) { 234 while (bytes > 0U) { 235 if (bytes < (size_t)str->iovCur->iov_len) { 236 str->iovCur->iov_len -= bytes; 238 ((u_char *)str->iovCur->iov_base + bytes); 239 str->ioDone += bytes; 240 bytes = 0; 242 bytes -= str->iovCur->iov_len; 268 /* Dribble out some bytes on the stream. (Called by evDispatch().) * 272 int bytes; local 295 int bytes; local [all...] |
/bootable/recovery/applypatch/ |
main.c | 38 size_t bytes = strtol(argv[2], &endptr, 10); local 39 if (bytes == 0 && endptr == argv[2]) { 43 return CacheSizeCheck(bytes); 188 " or %s -s <bytes>\n"
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERInteger.java | 11 byte[] bytes; field in class:DERInteger 73 bytes = BigInteger.valueOf(value).toByteArray(); 79 bytes = value.toByteArray(); 83 byte[] bytes) 85 this.bytes = bytes; 90 return new BigInteger(bytes); 99 return new BigInteger(1, bytes); 109 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length [all...] |