/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 131 static jint nativeWaitWakeup(JNIEnv *env, jobject clazz, jobject outBuf) in nativeWaitWakeup() argument 133 if (outBuf == NULL) { in nativeWaitWakeup() 177 char* mergedreason = (char*)env->GetDirectBufferAddress(outBuf); in nativeWaitWakeup() 178 int remainreasonlen = (int)env->GetDirectBufferCapacity(outBuf); in nativeWaitWakeup() 408 static jint getPowerStatsHalPlatformData(JNIEnv* env, jobject outBuf) { in getPowerStatsHalPlatformData() argument 418 char *output = (char*)env->GetDirectBufferAddress(outBuf); in getPowerStatsHalPlatformData() 420 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPowerStatsHalPlatformData() 471 static jint getPowerStatsHalSubsystemData(JNIEnv* env, jobject outBuf) { in getPowerStatsHalSubsystemData() argument 481 char *output = (char*)env->GetDirectBufferAddress(outBuf); in getPowerStatsHalSubsystemData() 483 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPowerStatsHalSubsystemData() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 99 status_t GetGraphicBuffer(sp<GraphicBuffer>* outBuf, uint32_t opCode) { in GetGraphicBuffer() argument 108 *outBuf = new GraphicBuffer(); in GetGraphicBuffer() 109 return reply.read(**outBuf); in GetGraphicBuffer()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 99 unsigned char *outBuf = OutputBuf; in encode() local 195 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); in encode() 196 outBuf += size1; in encode() 205 outData.Buffer = outBuf; in encode()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 746 unsigned char* outBuf = NULL; in compressFpToFp() local 756 outBuf = new unsigned char[kBufSize]; in compressFpToFp() 757 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp() 771 zstream.next_out = outBuf; in compressFpToFp() 840 ALOGV("+++ writing %d bytes\n", (int) (zstream.next_out - outBuf)); in compressFpToFp() 841 if (fwrite(outBuf, 1, zstream.next_out - outBuf, dstFp) != in compressFpToFp() 842 (size_t)(zstream.next_out - outBuf)) in compressFpToFp() 845 (int) (zstream.next_out - outBuf)); in compressFpToFp() 849 zstream.next_out = outBuf; in compressFpToFp() 863 delete[] outBuf; in compressFpToFp()
|
/frameworks/base/libs/androidfw/ |
D | StreamingZipInflater.cpp | 136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { in read() argument 137 uint8_t* dest = (uint8_t*) outBuf; in read() 144 if (outBuf != NULL) memcpy(dest, mOutBuf + mOutDeliverable, deliverable); in read()
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 121 int16_t *outBuf; // output buffer used when resampling member 872 session->outBuf = NULL; in Session_CreateEffect() 924 delete session->outBuf; in Session_ReleaseEffect() 925 session->outBuf = NULL; in Session_ReleaseEffect() 1241 session->outBuf, in PreProcessingFx_Process() 1243 memcpy(session->outBuf, in PreProcessingFx_Process() 1244 session->outBuf + fr * session->outChannelCount, in PreProcessingFx_Process() 1342 buf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process() 1346 free(session->outBuf); in PreProcessingFx_Process() 1347 session->outBuf = NULL; in PreProcessingFx_Process() [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | StreamingZipInflater.h | 43 ssize_t read(void* outBuf, size_t count);
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | BitwiseStreamsTest.java | 40 byte[] outBuf = outStream.toByteArray(); in testOne() 41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); in testOne()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 492 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { in format_bytes() argument 493 strlcpy(*outBuf, ": ", sizeof(*outBuf)); in format_bytes() 498 sprintf(*outBuf + pos, (i % 4 ? "." : "|")); in format_bytes() 501 sprintf(*outBuf + pos, "%02x", inBuf[i]); in format_bytes() 505 strlcpy(*outBuf + pos, "...", sizeof(FormatBuf) - pos); in format_bytes() 506 return *outBuf; in format_bytes()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 303 sp<GraphicBuffer>* outBuf) { in requestBuffer() argument 305 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer() 311 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
|
D | VirtualDisplaySurface.h | 104 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
|