Searched refs:read (Results 151 - 175 of 460) sorted by relevance

1234567891011>>

/frameworks/rs/cpu_ref/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
81 // Unable to read the progbits section.
H A DELFSectionStrTab.hxx29 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, function in class:ELFSectionStrTab
44 // Unable to read the string table.
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c263 if (read(fileDesc, pSession->topHeader, TOP_HEADER_SIZE) == TOP_HEADER_SIZE &&
269 read(fileDesc, pSession->pContentType, pSession->contentTypeLength) ==
275 read(fileDesc, pSession->pEncryptedSessionKey,
278 read(fileDesc, pSession->dataSignature, SHA1_HASH_SIZE) ==
280 read(fileDesc, pSession->headerSignature, SHA1_HASH_SIZE) ==
307 numBytesRead = read(pSession->fileDesc, pBuffer, numBytes);
390 read(pSession->fileDesc, pData->buffer, SIG_CALC_BUFFER_SIZE)) > 0) {
/frameworks/native/include/binder/
H A DParcel.h151 status_t read(void* outData, size_t len) const;
172 status_t read(Flattenable<T>& val) const;
175 status_t read(LightFlattenable<T>& val) const;
180 // response headers. Callers should use this to read & parse the
316 status_t read(FlattenableHelperInterface& val) const;
359 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
361 return read(helper);
365 status_t Parcel::read(LightFlattenable<T>& val) const { function in class:android::Parcel
/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/base/core/java/android/os/
H A DFileUtils.java191 while ((bytesRead = inputStream.read(buffer)) >= 0) {
221 * @param file to read (will not seek, so things like /proc files are OK)
230 // input stream, bytes read not equal to buffer size is not necessarily the correct
235 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes
238 int length = bis.read(data);
252 len = bis.read(data);
264 } else { // "cat" mode: size unknown, read it all in streaming fashion
269 len = bis.read(data);
310 while(cis.read(buf) >= 0) {
311 // Just read fo
[all...]
/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/core/java/com/android/server/
H A DDropBoxManagerService.java197 int read = 0;
198 while (read < buffer.length) {
199 int n = input.read(buffer, read, buffer.length - read);
201 read += n;
213 if (read == buffer.length && ((flags & DropBoxManager.IS_GZIPPED) == 0)) {
219 output.write(buffer, 0, read);
227 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);
158 data.read(cmd, cmdSize);
H A DIAudioPolicyService.cpp430 reply.read(descriptors, sizeof(effect_descriptor_t) * numDesc);
471 reply.read(ports, numPortsReq * sizeof(struct audio_port));
491 reply.read(port, sizeof(struct audio_port));
510 reply.read(handle, sizeof(audio_patch_handle_t));
548 reply.read(patches, numPatchesReq * sizeof(struct audio_patch));
693 data.read(&offloadInfo, sizeof(audio_offload_info_t));
708 data.read(attr, sizeof(audio_attributes_t));
717 data.read(&offloadInfo, sizeof(audio_offload_info_t));
855 data.read(&desc, sizeof(effect_descriptor_t));
864 data.read(
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp109 status_t RepeaterSource::read( function in class:android::RepeaterSource
184 status_t err = mSource->read(&buffer);
186 ALOGV("read mbuf %p", buffer);
/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp72 reply.read(modules, numModulesReq * sizeof(struct sound_trigger_module_descriptor));
142 data.read(&handle, sizeof(sound_trigger_module_handle_t));
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c109 ret = read(fd, buffer, sizeof(buffer));
111 fprintf(stderr, "read failed, errno: %d, fd: %d\n", errno, fd);
167 int count = read(inotify_fd, event_buf, sizeof(event_buf));
/frameworks/base/tools/aapt/
H A DZipEntry.h240 status_t read(FILE* fp);
298 status_t read(FILE* fp);
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DELFObjectLoaderImpl.cpp37 mObject = ELFObject<64>::read(reader);
39 mObject = ELFObject<32>::read(reader);
/frameworks/native/libs/gui/
H A DBitTube.cpp118 ssize_t BitTube::read(void* vaddr, size_t size)
127 // no data to be read. Nothing the client should care about.
164 ssize_t size = tube->read(vaddr, count*objSize);
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h152 void onMakeCurrent(EGLSurface draw, EGLSurface read);
157 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) {
275 status_t err = source->read(&buffer);
336 while ((err = encoder->read(&buffer)) == OK) {
/frameworks/av/include/media/stagefright/
H A DAudioSource.h50 virtual status_t read(
H A DCameraSourceTimeLapse.h49 // If the frame capture interval is large, read will block for a long time.
51 // mediaRecorder waits until the read returns, causing a long wait for
52 // stop() to return. To avoid this, we can make read() return a copy of the
53 // last read frame with the same time stamp frequently. This keeps the
54 // read() call from blocking too long. Calling this function quickly
55 // captures another frame, keeps its copy, and enables this mode of read()
94 // mQuickStop is set to true if we use quick read() returns, otherwise it is set
95 // to false. Once in this mode read() return a copy of the last read frame
99 // Forces the next frame passed to dataCallbackTimestamp() to be read
[all...]
/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) function in class:android::MonoPipeReader
48 // Compute the "next read PTS" and cache it. Callers of read pass a read
62 // Uh-oh, looks like we are underflowing. Update the next read PTS and
H A DPipeReader.cpp49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront
62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS __unused) function in class:android::PipeReader
69 // but it will be caught at next read()
80 // We could re-read the rear pointer here to detect the corruption, but why bother?

Completed in 3167 milliseconds

1234567891011>>