Searched refs:buf (Results 251 - 275 of 406) sorted by relevance

<<11121314151617

/frameworks/base/core/jni/
H A Dandroid_opengl_GLES31Ext.cpp247 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
248 if (buf) {
251 buf += position << elementSizeShift;
256 return (void*) buf;
525 /* void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf ) */
528 (JNIEnv *_env, jobject _this, jint source, jint type, jint id, jint severity, jstring buf) {
535 if (!buf) {
538 _exceptionMessage = "buf == null";
541 _nativebuf = _env->GetStringUTFChars(buf, 0);
542 _length = _env->GetStringUTFLength(buf);
527 android_glDebugMessageInsertKHR__IIIILjava_lang_String_2(JNIEnv *_env, jobject _this, jint source, jint type, jint id, jint severity, jstring buf) argument
764 android_glBlendEquationiEXT__II(JNIEnv *_env, jobject _this, jint buf, jint mode) argument
774 android_glBlendEquationSeparateiEXT__III(JNIEnv *_env, jobject _this, jint buf, jint modeRGB, jint modeAlpha) argument
785 android_glBlendFunciEXT__III(JNIEnv *_env, jobject _this, jint buf, jint src, jint dst) argument
796 android_glBlendFuncSeparateiEXT__IIIII(JNIEnv *_env, jobject _this, jint buf, jint srcRGB, jint dstRGB, jint srcAlpha, jint dstAlpha) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp216 TC* buf = NULL; local
221 (void)posix_memalign(reinterpret_cast<void**>(&buf), 32, (c.mL+1)*c.mHalfNumCoefs*sizeof(TC));
228 firKaiserGen(buf, c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, atten);
229 c.mFirCoefs = buf;
233 mCoefBuffer = buf;
243 testFir(buf, c.mL, c.mHalfNumCoefs, fp, fs, /*passSteps*/ 1000, /*stopSteps*/ 100000,
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifParser.java560 byte[] buf = new byte[(int) numOfComp];
562 buf, 0, (int) numOfComp);
563 tag.setValue(buf);
682 byte buf[] = new byte[tag.getComponentCount()];
683 read(buf);
684 tag.setValue(buf);
/frameworks/rs/cpu_ref/
H A DrsCpuExecutable.cpp173 char buf[len + 1]; local
179 buf[i] = 'a' + r;
182 buf[i] = 'A' + (r - 26);
185 buf[i] = '0' + (r - 52);
188 buf[len] = '\0';
189 return String8(buf);
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp257 void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { argument
268 strftime(buf, bufLen, format, &tm);
273 strlcat(buf, tmpBuf, bufLen);
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp47 status_t OpcodeListBuilder::buildOpList(uint8_t* buf) const {
49 memcpy(buf, &count, sizeof(count));
50 memcpy(buf + sizeof(count), mOpList.getArray(), mOpList.getSize());
/frameworks/av/media/libmedia/
H A DVisualizer.cpp294 uint8_t buf[mCaptureSize]; local
295 status = getWaveForm(buf);
297 status = doFft(fft, buf);
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java238 byte[] buf = new byte[512];
242 while ((bytesRead = fis.read(buf)) != -1) {
243 stdout.append(new String(buf, 0, bytesRead));
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp215 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; local
218 while ((n = receiver->getEvents(buf, EVENT_BUFFER_SIZE)) > 0) {
220 const DisplayEventReceiver::Event& ev = buf[i];
/frameworks/native/libs/gui/
H A DSurface.cpp162 ANativeWindowBuffer* buf; local
164 int result = c->dequeueBuffer(&buf, &fenceFd);
173 c->cancelBuffer(buf, -1);
176 *buffer = buf;
260 int buf = -1; local
262 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence,
274 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer);
277 ALOGE_IF(fence == NULL, "Surface::dequeueBuffer: received null Fence! buf=%d", buf);
284 result = mGraphicBufferProducer->requestBuffer(buf,
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.h132 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
139 const sp<GraphicBuffer>& buf);
326 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
/frameworks/rs/
H A DrsGrallocConsumer.cpp158 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat();
258 int buf = mAcquiredBuffer[idx].mSlot; local
264 mSlots[buf].mGraphicBuffer)) {
266 buf, mAcquiredBuffer[idx].mGraphicBuffer,
H A DrsType.cpp152 char buf[1024]; local
160 snprintf(buf, sizeof(buf), "%s element: ", prefix);
161 mElement->dumpLOGV(buf);
/frameworks/av/drm/libdrmframework/include/
H A DNoOpDrmManagerClientImpl.h59 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
/frameworks/av/include/drm/
H A DDrmManagerClient.h88 * @param[in] buf Data to initiate decrypt session
93 sp<DecryptHandle> openDecryptSession(const DrmBuffer& buf, const String8& mimeType);
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h69 virtual status_t buildOpList(/*out*/ uint8_t* buf) const;
/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java125 public void write(byte[] buf, int off, int nbytes) { argument
126 digest.update(buf, off, nbytes);
258 * @param buf
262 void addMetaEntry(String name, byte[] buf) { argument
263 metaEntries.put(name.toUpperCase(Locale.US), buf);
/frameworks/native/include/gui/
H A DBufferQueueProducer.h40 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf);
50 // location pointed to by the buf argument and a status of OK is returned.
51 // If no slot is available then a status of -EBUSY is returned and buf is
77 // returned in buf.
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp222 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
223 if (buf) {
226 buf += position << elementSizeShift;
231 return (void*) buf;
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.h37 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf);
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h251 static void addRR(const sp<ABuffer> &buf) { argument
252 uint8_t *ptr = buf->data() + buf->size();
262 buf->setRange(0, buf->size() + 8);
385 sp<ABuffer> buf = new ABuffer(65536); local
386 buf->setRange(0, 0);
387 addRR(buf);
388 addSDES(rtpSocket, buf);
393 rtpSocket, buf
[all...]
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp379 char *buf = (char *) malloc(size + 1); local
380 if (buf == NULL) {
384 int retval = klogctl(KLOG_READ_ALL, buf, size);
387 free(buf);
390 buf[retval] = '\0';
391 printf("%s\n\n", buf);
392 free(buf);
888 char buf[PROPERTY_KEY_MAX + PROPERTY_VALUE_MAX + 10]; local
889 snprintf(buf, sizeof(buf), "[
[all...]
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp143 const DrmBuffer& buf, const String8& mimeType) {
144 return onOpenDecryptSession(uniqueId, decryptHandle, buf, mimeType);
142 openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp134 const DrmBuffer& buf, const String8& mimeType) {
135 return mDrmManagerClientImpl->openDecryptSession(mUniqueId, buf, mimeType);
133 openDecryptSession( const DrmBuffer& buf, const String8& mimeType) argument
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.h118 #define ive_aligned_free(buf) free(buf)

Completed in 594 milliseconds

<<11121314151617