Searched defs:buf (Results 276 - 300 of 301) sorted by relevance

<<111213

/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11Ext.cpp248 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
249 if (buf) {
252 buf += position << elementSizeShift;
257 return (void*) buf;
H A Dandroid_opengl_GLES31.cpp246 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
247 if (buf) {
250 buf += position << elementSizeShift;
255 return (void*) buf;
3228 char* buf = (char*) malloc(infoLen); local
3229 if (buf == NULL) {
3233 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf);
3234 jstring result = _env->NewStringUTF(buf);
3235 free(buf);
H A Dandroid_opengl_GLES20.cpp248 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
249 if (buf) {
252 buf += position << elementSizeShift;
257 return (void*) buf;
2056 char* buf = (char*) malloc(len); local
2058 if (buf == NULL) {
2103 (char *)buf
2115 result = _env->NewStringUTF(buf);
2117 if (buf) {
2118 free(buf);
2152 char* buf = (char*) malloc(len); local
2382 char* buf = (char*) malloc(len); local
2476 char* buf = (char*) malloc(len); local
3027 char* buf = (char*) malloc(infoLen); local
3234 char* buf = (char*) malloc(infoLen); local
3492 char* buf = (char*) malloc(shaderLen); local
[all...]
H A Dandroid_opengl_GLES30.cpp248 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
249 if (buf) {
252 buf += position << elementSizeShift;
257 return (void*) buf;
2375 char* buf = (char*) malloc(len); local
2377 if (buf == NULL) {
2422 (char *)buf
2434 result = _env->NewStringUTF(buf);
2436 if (buf) {
2437 free(buf);
2471 char* buf = (char*) malloc(len); local
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp178 void* buf = _env->GetDirectBufferAddress(buffer); local
179 if (buf) {
182 buf = ((char*) buf) + (position << elementSizeShift);
188 buf = getPointer(_env, buffer, &array, &remaining, &offset);
190 releasePointer(_env, array, buf, 0);
192 buf = (char*)buf + offset;
198 return buf;
/frameworks/base/opengl/java/android/opengl/
H A DGLES31Ext.java285 // C function void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf )
292 String buf
445 // C function void glBlendEquationiEXT ( GLuint buf, GLenum mode )
448 int buf,
452 // C function void glBlendEquationSeparateiEXT ( GLuint buf, GLenum modeRGB, GLenum modeAlpha )
455 int buf,
460 // C function void glBlendFunciEXT ( GLuint buf, GLenum src, GLenum dst )
463 int buf,
468 // C function void glBlendFuncSeparateiEXT ( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
471 int buf,
447 glBlendEquationiEXT( int buf, int mode ) argument
454 glBlendEquationSeparateiEXT( int buf, int modeRGB, int modeAlpha ) argument
462 glBlendFunciEXT( int buf, int src, int dst ) argument
470 glBlendFuncSeparateiEXT( int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha ) argument
[all...]
H A DGLES32.java290 // C function void glDebugMessageInsert ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf )
298 String buf
415 // C function void glBlendEquationi ( GLuint buf, GLenum mode )
418 int buf,
422 // C function void glBlendEquationSeparatei ( GLuint buf, GLenum modeRGB, GLenum modeAlpha )
425 int buf,
430 // C function void glBlendFunci ( GLuint buf, GLenum src, GLenum dst )
433 int buf,
438 // C function void glBlendFuncSeparatei ( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
441 int buf,
417 glBlendEquationi( int buf, int mode ) argument
424 glBlendEquationSeparatei( int buf, int modeRGB, int modeAlpha ) argument
432 glBlendFunci( int buf, int src, int dst ) argument
440 glBlendFuncSeparatei( int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha ) argument
[all...]
H A DGLLogWrapper.java130 private void formattedAppend(StringBuilder buf, int value, int format) { argument
133 buf.append(value);
136 buf.append(Float.intBitsToFloat(value));
139 buf.append(value / 65536.0f);
145 StringBuilder buf = new StringBuilder();
146 buf.append("{\n");
150 buf.append(" [" + index + "] = ");
152 buf.append("out of bounds");
154 formattedAppend(buf, arr[index], format);
156 buf
198 toString(int n, FloatBuffer buf) argument
208 toString(int n, int format, IntBuffer buf) argument
220 toString(int n, ShortBuffer buf) argument
230 arg(String name, int n, FloatBuffer buf) argument
234 arg(String name, int n, IntBuffer buf) argument
238 arg(String name, int n, ShortBuffer buf) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp3792 unsigned char buf[16]; local
3793 if (Bytes.readBytes(buf, 16, 0) != 16)
3796 if (!isBitcode(buf, buf + 16))
3799 if (isBitcodeWrapper(buf, buf + 4)) {
3800 const unsigned char *bitcodeStart = buf;
3801 const unsigned char *bitcodeEnd = buf + 16;
3803 Bytes.dropLeadingBytes(bitcodeStart - buf);
/frameworks/native/cmds/installd/
H A Ddexopt.cpp152 char buf[kPropertyValueMax]; local
154 strncpy(buf, str, sizeof(buf));
155 char *pBuf = buf;
165 static int split(char *buf, const char **argv) argument
170 char *pBuf = buf;
1804 char buf[kPropertyValueMax]; local
1805 if (get_property("ro.boot.slot_suffix", buf, nullptr) <= 0) {
1808 slot_suffix = buf;
/frameworks/native/libs/binder/
H A DParcel.cpp1279 void* const buf = this->writeInplace(pad_size(len)); local
1280 if (buf == NULL)
1292 err = val.flatten(buf, len, fds, fd_count);
2220 void const* const buf = this->readInplace(pad_size(len)); local
2221 if (buf == NULL)
2248 err = val.unflatten(buf, len, fds, fd_count);
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp156 char buf[256]; local
157 snprintf(buf, sizeof(buf), "Error: Call to unsupported function %s "
159 rsc->setError(RS_ERROR_FATAL_DRIVER, buf);
475 char buf[256]; local
477 snprintf(buf, sizeof(buf), "Out range ElementAt X %i of %i", x, t->getLODDimX(0));
478 rsc->setError(RS_ERROR_FATAL_DEBUG, buf);
483 snprintf(buf, sizeof(buf), "Ou
[all...]
/frameworks/rs/
H A DrsHidlAdaptation.cpp63 char buf[PROPERTY_VALUE_MAX]; local
64 property_get(str, buf, "0");
65 return atoi(buf);
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp569 char *buf = (char*)malloc(psshsize); local
570 if (!buf) {
574 char *ptr = buf;
580 mFileMetaData->setData(kKeyPssh, 'pssh', buf, psshsize);
581 free(buf);
1160 char buf[4]; local
1161 memset(buf, 0, 4);
1162 if (mDataSource->readAt(data_offset + 4, buf + 1, 3) < 3) {
1165 uint32_t defaultAlgorithmId = ntohl(*((int32_t*)buf));
1171 memset(buf,
[all...]
H A DACodec.cpp1238 ANativeWindowBuffer *buf; local
1240 err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd);
1246 sp<GraphicBuffer> graphicBuffer(GraphicBuffer::from(buf));
1423 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info) {
1427 buf, fenceFd, info - &mBuffers[kPortIndexOutput][0]);
1459 ANativeWindowBuffer *buf; local
1475 status_t err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd);
1487 info->mGraphicBuffer->handle == buf->handle) {
1496 ALOGI("dequeued stale buffer %p. discarding", buf);
1508 updateRenderInfoForDequeuedBuffer(buf, fenceF
1422 updateRenderInfoForDequeuedBuffer( ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp3131 buffer_handle_t buf = *(request->input_buffer->buffer); local
3132 auto pair = getBufferId(buf, streamId);
3137 captureRequest->inputBuffer.buffer = (isNewBuffer) ? buf : nullptr;
3161 buffer_handle_t buf = *(src->buffer); local
3162 auto pair = getBufferId(buf, streamId);
3166 dst.buffer = isNewBuffer ? buf : nullptr;
3352 const buffer_handle_t& buf, int streamId) {
3356 auto it = bIdMap.find(buf);
3358 bIdMap[buf] = mNextBufferId++;
3359 ALOGV("stream %d now have %zu buffer caches, buf
3351 getBufferId( const buffer_handle_t& buf, int streamId) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize);
1044 ret = rewriteExif(buf, tags);
1060 * @param buf a ByteBuffer containing a jpeg file with existing exif tags to
1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException { argument
1071 mod = new ExifModifier(buf, this);
2044 byte[] buf = new byte[1024];
2045 int ret = is.read(buf, 0, 1024);
2047 os.write(buf, 0, ret);
2048 ret = is.read(buf, 0, 1024);
/frameworks/base/tools/aapt/
H A DResource.cpp2179 char* buf = result.lockBuffer(size); local
2181 if (buf[i] == ':' || buf[i] == '.') {
2182 buf[i] = '_';
H A DResourceTable.cpp433 char buf[11]; local
434 sprintf(buf, "%d", l10n_required);
436 String16(""), String16("^l10n"), String16(buf), NULL, NULL);
1088 char buf[64]; local
1089 sprintf(buf, "%d", (int)(end-curIdent+1));
1090 curName.append(String16(buf));
2482 char buf[1024]; local
2485 retval = vsnprintf(buf, sizeof(buf), fmt, ap);
2488 buf, a
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp851 char buf[1024]; local
856 buf, sizeof(buf),
863 return _env->NewStringUTF(buf);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2769 char buf[4]; local
2770 size_t len = unpackLanguage(buf);
2771 out.append(buf, len);
2775 len = unpackRegion(buf);
2776 out.append(buf, len);
2789 char buf[4]; local
2790 size_t len = unpackLanguage(buf);
2791 out.append(buf, len);
2800 len = unpackRegion(buf);
2801 out.append(buf, le
5069 char buf[128]; local
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp967 char buf[1024]; local
972 buf, sizeof(buf),
978 return _env->NewStringUTF(buf);
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/core/java/android/widget/
H A DTextView.java9454 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { argument
9468 invalidateCursor(Selection.getSelectionStart(buf), oldStart, newStart);
9480 int end = Selection.getSelectionEnd(buf);
9489 if ((buf.getSpanFlags(what) & Spanned.SPAN_INTERMEDIATE) == 0) {
9491 newSelStart = Selection.getSelectionStart(buf);
9494 newSelEnd = Selection.getSelectionEnd(buf);
9525 if (MetaKeyKeyListener.isMetaTracker(buf, what)) {
9527 if (ims != null && MetaKeyKeyListener.isSelectingMetaTracker(buf, what)) {
9531 if (Selection.getSelectionStart(buf) >= 0) {
11679 public void getChars(int start, int end, char[] buf, in argument
11924 onSpanChanged(Spannable buf, Object what, int s, int e, int st, int en) argument
11932 onSpanAdded(Spannable buf, Object what, int s, int e) argument
11939 onSpanRemoved(Spannable buf, Object what, int s, int e) argument
[all...]

Completed in 2329 milliseconds

<<111213