Searched refs:outBuf (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/services/core/jni/
H A Dcom_android_server_am_BatteryStatsService.cpp84 static jint nativeWaitWakeup(JNIEnv *env, jobject clazz, jobject outBuf) argument
86 if (outBuf == NULL) {
124 char* mergedreason = (char*)env->GetDirectBufferAddress(outBuf);
125 int remainreasonlen = (int)env->GetDirectBufferCapacity(outBuf);
279 static jint getPlatformLowPowerStats(JNIEnv* env, jobject /* clazz */, jobject outBuf) { argument
280 char *output = (char*)env->GetDirectBufferAddress(outBuf);
282 int remaining = (int)env->GetDirectBufferCapacity(outBuf);
285 if (outBuf == NULL) {
358 static jint getSubsystemLowPowerStats(JNIEnv* env, jobject /* clazz */, jobject outBuf) { argument
359 char *output = (char*)env->GetDirectBufferAddress(outBuf);
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DStreamingZipInflater.h41 // read 'count' bytes of uncompressed data from the current position. outBuf may
43 ssize_t read(void* outBuf, size_t count);
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { argument
137 uint8_t* dest = (uint8_t*) outBuf;
144 if (outBuf != NULL) memcpy(dest, mOutBuf + mOutDeliverable, deliverable);
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c99 unsigned char *outBuf = OutputBuf; local
192 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1);
193 outBuf += size1;
202 outData.Buffer = outBuf;
/frameworks/base/tools/aapt/
H A DZipFile.cpp746 unsigned char* outBuf = NULL; local
756 outBuf = new unsigned char[kBufSize];
757 if (inBuf == NULL || outBuf == NULL) {
771 zstream.next_out = outBuf;
840 ALOGV("+++ writing %d bytes\n", (int) (zstream.next_out - outBuf));
841 if (fwrite(outBuf, 1, zstream.next_out - outBuf, dstFp) !=
842 (size_t)(zstream.next_out - outBuf))
845 (int) (zstream.next_out - outBuf));
849 zstream.next_out = outBuf;
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp121 int16_t *outBuf; // output buffer used when resampling member in struct:preproc_session_s
871 session->outBuf = NULL;
923 delete session->outBuf;
924 session->outBuf = NULL;
1240 session->outBuf,
1242 memcpy(session->outBuf,
1243 session->outBuf + fr * session->outChannelCount,
1341 buf = (int16_t *)realloc(session->outBuf,
1345 free(session->outBuf);
1346 session->outBuf
[all...]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DBitwiseStreamsTest.java40 byte[] outBuf = outStream.toByteArray();
41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h101 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
H A DVirtualDisplaySurface.cpp293 sp<GraphicBuffer>* outBuf) {
295 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf);
301 *outBuf = mProducerBuffers[pslot];
292 requestBuffer(int pslot, sp<GraphicBuffer>* outBuf) argument
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp469 // to an output (outBuf).
478 // - outBuf -- Pointer to buffer of type "FormatBuf" into which output is written
479 // - inBuf -- Pointer to bytes which are to be formatted into outBuf
487 // - pointer (const char *) to output (which is part of outBuf)
492 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { argument
493 strlcpy(*outBuf, ": ", sizeof(*outBuf));
498 sprintf(*outBuf + pos, (i % 4 ? "." : "|"));
501 sprintf(*outBuf + pos, "%02x", inBuf[i]);
505 strlcpy(*outBuf
[all...]

Completed in 608 milliseconds