Searched defs:read (Results 1 - 25 of 122) sorted by relevance

12345

/frameworks/compile/linkloader/include/impl/
H A DELFSectionNoBits.hxx32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { function in class:ELFSectionNoBits
H A DELFSection.hxx34 ELFSection<Bitwidth>::read(Archiver &AR, function in class:ELFSection
46 return ELFSectionStrTabTy::read(AR, sh);
49 return ELFSectionSymTabTy::read(AR, owner, sh);
52 return ELFSectionProgBitsTy::read(AR, owner, sh);
55 return ELFSectionNoBitsTy::read(AR, sh);
59 return ELFSectionRelTableTy::read(AR, sh);
H A DELFSectionStrTab.hxx30 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, function in class:ELFSectionStrTab
45 // Unable to read the string table.
H A DELFSectionHeader.hxx34 ELFSectionHeader_CRTP<Bitwidth>::read(Archiver &AR, function in class:ELFSectionHeader_CRTP
39 // Archiver is in bad state before calling read function.
47 // Unable to read the structure. Return NULL.
52 // Header read from archiver is not valid. Return NULL.
H A DELFSectionHeaderTable.hxx36 ELFSectionHeaderTable<Bitwidth>::read(Archiver &AR, ELFObjectTy *owner) { function in class:ELFSectionHeaderTable
38 // Archiver is in bad state before calling read function.
57 ELFSectionHeaderTy::read(AR, owner, i));
H A DELFSectionProgBits.hxx33 ELFSectionProgBits<Bitwidth>::read(Archiver &AR, function in class:ELFSectionProgBits
78 // Unable to read the progbits section.
H A DELFSectionRelTable.hxx55 ELFSectionRelTable<Bitwidth>::read(Archiver &AR, function in class:ELFSectionRelTable
83 // Unable to read the table.
/frameworks/compile/libbcc/lib/Support/
H A DInputFile.cpp26 ssize_t InputFile::read(void *pBuf, size_t count) { function in class:InputFile
33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf);
38 ssize_t read_size = ::read(mFD, pBuf, count);
43 // If the errno is EAGAIN or EINTR, then we try to read again.
/frameworks/native/libs/gui/
H A DLayerState.cpp39 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t
43 err = input.read(transparentRegion);
49 input.read(this, size);
58 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState
60 return state.read(input);
75 status_t DisplayState::read(const Parcel& input) { function in class:android::DisplayState
81 input.read(viewport);
82 input.read(frame);
/frameworks/av/media/mtp/
H A DMtpDeviceInfo.cpp62 void MtpDeviceInfo::read(MtpDataPacket& packet) { function in class:android::MtpDeviceInfo
65 // read the device info
H A DMtpRequestPacket.cpp38 int MtpRequestPacket::read(int fd) { function in class:android::MtpRequestPacket
39 int ret = ::read(fd, mBuffer, mBufferSize);
H A DMtpResponsePacket.cpp47 int MtpResponsePacket::read(struct usb_request *request) { function in class:android::MtpResponsePacket
H A DMtpStorageInfo.cpp46 void MtpStorageInfo::read(MtpDataPacket& packet) { function in class:android::MtpStorageInfo
49 // read the device info
H A DMtpEventPacket.cpp57 int MtpEventPacket::read(struct usb_request *request) { function in class:android::MtpEventPacket
H A DMtpObjectInfo.cpp58 void MtpObjectInfo::read(MtpDataPacket& packet) { function in class:android::MtpObjectInfo
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor
53 amount = fAsset->read(buffer, size);
55 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
/frameworks/av/media/libnbaio/
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) function in class:android::LibsndfileSource
55 // Detect EOF by zero frames read, not by mFramesUntilEOF as it could be inaccurate
62 // We didn't read any frames during the current loop cycle, so disable
63 // further looping to prevent the caller from busy waiting at read().
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java28 * is called, the current entity's header has already been read from the underlying
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
54 * are read from the stream, the output of this method is undefined.
56 * @return The byte read, or undefined if the end of the stream has been reached.
58 public int read() throws IOException { method in class:BackupDataInputStream
71 * @param b Byte array into which the data will be read
74 * @param size The number of bytes to read in this operation. If insufficient
76 * will be read as is available.
77 * @return The number of bytes of data read, or zero if all of the entity's
78 * data has already been read
80 public int read(byte[] b, int offset, int size) throws IOException { method in class:BackupDataInputStream
93 public int read(byte[] b) throws IOException { method in class:BackupDataInputStream
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java50 * reached. Blocks until one byte has been read, the end of the source
53 * @return the byte read or -1 if the end of stream has been reached.
58 public int read() throws IOException { method in class:BluetoothInputStream
60 int ret = mSocket.read(b, 0, 1);
73 * the byte array in which to store the bytes read.
76 * read from this stream.
79 * @return the number of bytes actually read or -1 if the end of the stream
89 public int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothInputStream
96 return mSocket.read(b, offset, length);
/frameworks/base/core/java/android/content/pm/
H A DLimitedLengthInputStream.java9 * A class that limits the amount of data that is read from an InputStream. When
17 * The end of the stream where we don't want to allow more data to be read.
58 public synchronized int read() throws IOException { method in class:LimitedLengthInputStream
64 return super.read();
68 public int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:LimitedLengthInputStream
84 final int numRead = super.read(buffer, offset, byteCount);
91 public int read(byte[] buffer) throws IOException { method in class:LimitedLengthInputStream
92 return read(buffer, 0, buffer.length);
H A DMacAuthenticatedInputStream.java62 public int read() throws IOException { method in class:MacAuthenticatedInputStream
63 final int b = super.read();
71 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:MacAuthenticatedInputStream
72 int numRead = super.read(buffer, offset, count);
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java20 * An object that provides bitwise incremental read access to a byte array.
29 // The byte array being read from.
71 * @param bits the amount of data to read (gte 0, lte 8)
72 * @return byte of read data (possibly partially filled, from lsb)
74 public int read(int bits) throws AccessException { method in class:BitwiseInputStream
78 throw new AccessException("illegal read " +
92 * @param bits the amount of data to read
93 * @return newly allocated byte array of read data
100 arr[i] = (byte)(read(increment) << (8 - increment));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPrefs.java32 public static SharedPreferences read(Context context) { method in class:Prefs
/frameworks/av/media/libmedia/
H A DSoundPoolThread.cpp38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread
84 SoundPoolMsg msg = read();
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp95 ssize_t NuPlayer::NuPlayerStreamListener::read( function in class:android::NuPlayer::NuPlayerStreamListener

Completed in 184 milliseconds

12345