/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPipedStreamTest.java | 121 byte readBytes[] = new byte[5]; 127 ret = in.read(readBytes, nread, readBytes.length - nread); 137 int readInt = (((int) readBytes[0] & 0xff) << 24) 138 | (((int) readBytes[1] & 0xff) << 16) 139 | (((int) readBytes[2] & 0xff) << 8) 140 | (((int) readBytes[3] & 0xff)); 144 assertEquals("Error at " + countRead, 0, readBytes[4]); 196 final byte readBytes[] = new byte[1024 * 2]; 209 while (nread < readBytes.length) [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
SimpleDERReader.java | 53 private byte[] readBytes(int len) throws IOException 106 readBytes(len); 123 byte[] b = readBytes(len); 140 return readBytes(len); 155 return readBytes(len);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_api.c | 931 int32_t boundaryLen, leftLen, readBytes; [all...] |
/frameworks/compile/linkloader/utils/ |
serialize.h | 94 void readBytes(void *array, size_t size) { 104 readBytes(array, size); 110 readBytes(array, size); 117 readBytes(&v, TypeTraits<T>::size);
|
/packages/inputmethods/LatinIME/tools/dicttool/src/android/inputmethod/latin/dicttool/ |
Compress.java | 41 for (int readBytes = input.read(buffer); readBytes >= 0; readBytes = input.read(buffer)) 42 output.write(buffer, 0, readBytes);
|
/frameworks/av/drm/libdrmframework/include/ |
ReadWriteUtils.h | 48 static String8 readBytes(const String8& filePath); 56 static int readBytes(const String8& filePath, char** buffer);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
bytebuffer.cc | 71 return ReadBytes(reinterpret_cast<char*>(val), 1); 78 if (!ReadBytes(reinterpret_cast<char*>(&v), 2)) { 90 if (!ReadBytes(reinterpret_cast<char*>(&v) + 1, 3)) { 102 if (!ReadBytes(reinterpret_cast<char*>(&v), 4)) { 114 if (!ReadBytes(reinterpret_cast<char*>(&v), 8)) { 134 bool ByteBuffer::ReadBytes(char* val, size_t len) {
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 120 mMemoryFile.readBytes(gotData, 0, 0, gotData.length); 142 mMemoryFile.readBytes(data, srcOffset, destOffset, count); 159 mMemoryFile.readBytes(data, 0, 0, 128);
|
/external/llvm/lib/Support/ |
StreamableMemoryObject.cpp | 29 virtual int readBytes(uint64_t address, 62 int RawMemoryObject::readBytes(uint64_t address, 106 int StreamingMemoryObject::readBytes(uint64_t address,
|
MemoryObject.cpp | 16 int MemoryObject::readBytes(uint64_t address,
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
OdexDependencies.java | 57 dependencies[i] = new String(in.readBytes(stringLength), 0, stringLength-1, "US-ASCII"); 61 dependencyChecksums[i] = in.readBytes(20);
|
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) {
|
DrmRights.cpp | 30 rightsLength = ReadWriteUtils::readBytes(rightsFilePath, &mRightsFromFile);
|
/external/jmonkeyengine/engine/src/core/com/jme3/export/ |
ReadListener.java | 37 public void readBytes(int bytes);
|
/frameworks/compile/linkloader/include/ |
ELFSectionProgBits.h | 72 AR.readBytes(chunk.getBuffer(), sh->getSize());
|
/external/llvm/include/llvm/Support/ |
StreamableMemoryObject.h | 24 /// that readByte/readBytes might have to block or do some work to get it. 31 /// Finally, getPointer can be used instead of readBytes to avoid extra copying. 58 /// readBytes - Tries to read a contiguous range of bytes from the 63 /// readBytes will fail. 74 virtual int readBytes(uint64_t address, 80 /// A pointer to it. More efficient than using readBytes if the 113 virtual int readBytes(uint64_t address,
|
MemoryObject.h | 47 /// readBytes - Tries to read a contiguous range of bytes from the 61 virtual int readBytes(uint64_t address,
|
/external/libmtp/examples/ |
detect.c | 224 uint32_t readbytes; local 236 readbytes = read(tmpfiledescriptor, (void*) buf, XML_BUFSIZE); 238 if (readbytes >= 2 && readbytes < XML_BUFSIZE) { 240 dump_xml_fragment(buf, readbytes);
|
/external/chromium/net/spdy/ |
spdy_frame_builder.cc | 80 bool SpdyFrameBuilder::ReadBytes(void** iter, const char** data, 103 return ReadBytes(iter, data, *length);
|
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_drag_data.cc | 78 if (!pickle->ReadBytes(&data_iterator, &tmp, sizeof(profile_id_)))
|
/frameworks/compile/linkloader/include/impl/ |
ELFSectionStrTab.hxx | 41 AR.readBytes(&*st->buf.begin(), sh->getSize());
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 126 int readBytes = 0; 127 readBytes = fread(dest, 1, readSize, infile); 128 return readBytes;
|
/frameworks/base/drm/java/android/drm/ |
DrmUtils.java | 39 /* package */ static byte[] readBytes(String path) throws IOException { 41 return readBytes(file); 45 /* package */ static byte[] readBytes(File file) throws IOException {
|
/frameworks/base/core/java/android/os/ |
DropBoxManager.java | 196 int readBytes = 0; 198 while (n >= 0 && (readBytes += n) < maxBytes) { 199 n = is.read(buf, readBytes, maxBytes - readBytes); 201 return new String(buf, 0, readBytes);
|
/cts/tools/dex-tools/src/dex/reader/ |
DexFileReader.java | 108 b.readBytes(magic); 119 b.readBytes(signature); 163 b.readBytes(values);
|