Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 219) sorted by relevance

123456789

/frameworks/av/media/libnbaio/
DPipe.cpp54 size_t written = mMaxFrames - rear; in write() local
55 if (CC_LIKELY(written > count)) { in write()
56 written = count; in write()
58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize); in write()
59 if (CC_UNLIKELY(rear + written == mMaxFrames)) { in write()
60 if (CC_UNLIKELY((count -= written) > rear)) { in write()
64 memcpy(mBuffer, (char *) buffer + (written * mFrameSize), count * mFrameSize); in write()
65 written += count; in write()
68 android_atomic_release_store(written + mRear, &mRear); in write()
69 mFramesWritten += written; in write()
[all …]
DMonoPipe.cpp126 size_t written = avail; in write() local
127 if (CC_LIKELY(written > count)) { in write()
128 written = count; in write()
132 if (part1 > written) { in write()
133 part1 = written; in write()
138 size_t part2 = written - part1; in write()
143 android_atomic_release_store(written + mRear, &mRear); in write()
144 totalFramesWritten += written; in write()
149 count -= written; in write()
150 buffer = (char *) buffer + (written * mFrameSize); in write()
[all …]
DNBLog.cpp180 size_t written = mSize - rear; // written = number of bytes that have been written so far in log() local
183 if (written > need) { in log()
184 written = need; in log()
189 for (i = 0; i < written; ++i) { in log()
192 if (rear + written == mSize && (need -= written) > 0) { in log()
194 mShared->mBuffer[i] = entry->readAt(written + i); in log()
196 written += need; in log()
198 android_atomic_release_store(mRear += written, &mShared->mRear); in log()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java68 boolean written = false; in writeConfig()
94 written = true; in writeConfig()
99 written = true; in writeConfig()
123 written = true; in writeConfig()
131 written = true; in writeConfig()
136 written = true; in writeConfig()
146 if (written) { in writeConfig()
155 return written; in writeConfig()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Delement.rs105 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
106 _RS_ASSERT(written == subElemNamesSizes[i]);
107 _RS_ASSERT(equals(buffer, subElemNames[i], written));
122 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
123 _RS_ASSERT(written == 4);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Delement.rs103 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
104 _RS_ASSERT(written == subElemNamesSizes[i]);
105 _RS_ASSERT(equals(buffer, subElemNames[i], written));
120 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
121 _RS_ASSERT(written == 4);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Delement.rs103 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
104 _RS_ASSERT(written == subElemNamesSizes[i]);
105 _RS_ASSERT(equals(buffer, subElemNames[i], written));
120 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
121 _RS_ASSERT(written == 4);
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp140 bool written = writeAllBytes(fd, (void*) &info, sizeof(AndroidBitmapInfo)); in writeBitmapPixels() local
141 if (!written) { in writeBitmapPixels()
156 written = writeAllBytes(fd, (void*) pixels, byteCount); in writeBitmapPixels()
157 if (!written) { in writeBitmapPixels()
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java245 boolean written = false; in dumpProvidersByClassLocked()
260 written = true; in dumpProvidersByClassLocked()
265 return written; in dumpProvidersByClassLocked()
271 boolean written = false; in dumpProvidersByNameLocked()
286 written = true; in dumpProvidersByNameLocked()
292 return written; in dumpProvidersByNameLocked()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp143 for (int written = 0; written < blen; written++) { in GenerateSegmentMethod() local
151 out << std::setw(4) << static_cast<int>(buff[written]) << ","; in GenerateSegmentMethod()
DNOTICE70 means any form of electronic, verbal, or written communication sent
235 prior written permission.
246 The LLVM software contains code written by third parties. Such software will
305 prior written permission.
318 The LLVM software contains code written by third parties. Such software will
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java201 int written = audioTrack.write(bytes, count, bytes.length); in writeToAudioTrack() local
202 if (written <= 0) { in writeToAudioTrack()
205 count += written; in writeToAudioTrack()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp566 ssize_t written = 0; in writeToTrack() local
570 written = track->write(data + offsetInSamples, sizeInBytes, blocking); in writeToTrack()
572 if (written == (ssize_t) WOULD_BLOCK) { in writeToTrack()
573 written = 0; in writeToTrack()
581 written = sizeInBytes; in writeToTrack()
583 if (written > 0) { in writeToTrack()
584 return written / sizeof(T); in writeToTrack()
587 return written; in writeToTrack()
652 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes.get(), byteOffset, in android_media_AudioTrack_write_native_bytes() local
655 return written; in android_media_AudioTrack_write_native_bytes()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp872 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset, in onDrainAudioQueue() local
874 if (written < 0) { in onDrainAudioQueue()
876 if (written == WOULD_BLOCK) { in onDrainAudioQueue()
879 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy); in onDrainAudioQueue()
885 entry->mOffset += written; in onDrainAudioQueue()
893 size_t copiedFrames = written / mAudioSink->frameSize(); in onDrainAudioQueue()
901 if (written != (ssize_t)copy) { in onDrainAudioQueue()
920 ALOGV("AudioSink write short frame count %zd < %zu", written, copy); in onDrainAudioQueue()
1415 uint32_t written; in onAudioSinkChanged() local
1416 if (mAudioSink->getFramesWritten(&written) == OK) { in onAudioSinkChanged()
[all …]
/frameworks/av/include/cpustats/
DREADME.txt1 This is a static library of CPU usage statistics, originally written
/frameworks/compile/mclinker/
DLICENSE.TXT33 prior written permission.
46 The LLVM software contains code written by third parties. Such software will
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt33 This extension is written against the wording of the EGL 1.4 Specification
56 Note that although this extension is written as if the application
169 less than or equal to <valueSize> then the value is written to the memory
170 pointed to by <value>. Otherwise nothing is written to the memory pointed
/frameworks/base/docs/html/guide/topics/manifest/
Dgrant-uri-permission-element.jd65 For example, a literal '{@code *}' would be written as "{@code \\*}" and a
66 literal '{@code \}' would be written as "{@code \\\\}". This is basically
Dpath-permission-element.jd62 For example, a literal '<code class="Code prettyprint">*</code>' would be written as "<code class="…
63 literal '<code class="Code prettyprint">\</code>' would be written as "<code class="Code prettyprin…
/frameworks/rs/api/
Drs_atomic.spec81 If the value at addr matches compareValue then the newValue is written at addr,
84 You can check that the value was written by checking that the value returned
/frameworks/webview/chromium/
DLICENSE15 // this software without specific prior written permission.
/frameworks/base/obex/
DNOTICE17 without specific prior written permission.
/frameworks/native/opengl/tests/angeles/
Dlicense-BSD.txt21 products derived from this software without specific prior written
/frameworks/base/docs/html/guide/topics/sensors/
Dindex.jd24 <p>I’ve written an open-source reference app that incorporates all of the tips, tricks, and
/frameworks/base/docs/html/ndk/
Dindex.jd16 …r certain types of apps, this can help you reuse existing code libraries written in those language…

123456789