Searched refs:read (Results 126 - 150 of 423) sorted by relevance

1234567891011>>

/frameworks/compile/linkloader/include/
H A DELFSectionSymTab.h44 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh);
/frameworks/compile/linkloader/include/impl/
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 DELFSectionProgBits.hxx33 ELFSectionProgBits<Bitwidth>::read(Archiver &AR, function in class:ELFSectionProgBits
78 // Unable to read the progbits section.
H A DELFSectionStrTab.hxx30 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, function in class:ELFSectionStrTab
45 // Unable to read the string table.
/frameworks/native/include/gui/
H A DBitTube.h43 ssize_t read(void* vaddr, size_t size);
H A DSensorEventQueue.h61 ssize_t read(ASensorEvent* events, size_t numEvents);
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) {
52 throw new RuntimeException("Could not read specified resource file!");
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDoNotDisturb.java38 mPrefs = Prefs.read(context);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDoNotDisturbController.java42 mPrefs = Prefs.read(context);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c260 if (read(fileDesc, pSession->topHeader, TOP_HEADER_SIZE) == TOP_HEADER_SIZE &&
266 read(fileDesc, pSession->pContentType, pSession->contentTypeLength) ==
272 read(fileDesc, pSession->pEncryptedSessionKey,
275 read(fileDesc, pSession->dataSignature, SHA1_HASH_SIZE) ==
277 read(fileDesc, pSession->headerSignature, SHA1_HASH_SIZE) ==
304 numBytesRead = read(pSession->fileDesc, pBuffer, numBytes);
387 read(pSession->fileDesc, pData->buffer, SIG_CALC_BUFFER_SIZE)) > 0) {
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java318 // read buffer of Base64InputStream.
332 // read as much as it will give us in one chunk
336 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) {
341 // read individual bytes
345 while ((b = b64is.read()) != -1) {
357 b = b64is.read(actual, ap, l);
362 if ((b = b64is.read()) == -1) break readloop;
371 // read as much as it will give us in one chunk
375 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) {
380 // read individua
[all...]
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java311 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) {
315 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
361 * @param is The InputStream to read from.
425 public int read() throws IOException { method in class:DiskBasedCache.CountingInputStream
426 int result = super.read();
434 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:DiskBasedCache.CountingInputStream
435 int result = super.read(buffer, offset, count);
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp349 int MtpDataPacket::read(int fd) {
350 int ret = ::read(fd, mBuffer, MTP_BUFFER_SIZE);
378 int MtpDataPacket::read(struct usb_request *request) {
379 // first read the header
405 int read = 0;
406 while (read < length) {
407 request->buffer = (char *)buffer + read;
408 request->buffer_length = length - read;
413 read += ret;
415 return read;
[all...]
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java196 int read = 0;
197 while (read < buffer.length) {
198 int n = input.read(buffer, read, buffer.length - read);
200 read += n;
212 if (read == buffer.length && ((flags & DropBoxManager.IS_GZIPPED) == 0)) {
218 output.write(buffer, 0, read);
226 read = input.read(buffe
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c81 if (read(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) {
132 numBytesRead = read(fileDesc, pBuffer, numBytes);
/frameworks/av/media/libmedia/
H A DIEffect.cpp97 reply.read(pReplyData, size);
155 data.read(cmd, cmdSize);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp89 status_t RepeaterSource::read( function in class:android::RepeaterSource
161 status_t err = mSource->read(&buffer);
163 ALOGV("read mbuf %p", buffer);
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp79 virtual size_t read(void* buffer, size_t size) function in class:AssetStream
102 amount = fAsset->read(buffer, size);
/frameworks/base/tools/aapt/
H A DZipEntry.h240 status_t read(FILE* fp);
298 status_t read(FILE* fp);
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java147 int n = is.read(buffer);
150 n = is.read(buffer);
/frameworks/native/libs/gui/
H A DBitTube.cpp107 ssize_t BitTube::read(void* vaddr, size_t size)
116 // no data to be read. Nothing the client should care about.
159 ssize_t size = tube->read(vaddr, objSize);
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h154 void onMakeCurrent(EGLSurface draw, EGLSurface read);
159 EGLSurface read; member in class:android::egl_context_t
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp60 status_t SineSource::read( function in class:android::SineSource
H A Drecord.cpp77 virtual status_t read(
84 // printf("DummySource::read\n");
98 // printf("DummySource::read - returning buffer\n");
99 // ALOGI("DummySource::read - returning buffer");
244 while (encoder->read(&buffer) == OK) {
274 status_t err = source->read(&buffer);
335 while ((err = encoder->read(&buffer)) == OK) {
/frameworks/av/include/media/stagefright/
H A DAudioSource.h50 virtual status_t read(

Completed in 360 milliseconds

1234567891011>>