Searched defs:buf (Results 251 - 270 of 270) sorted by relevance

<<11

/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp3775 unsigned char buf[16]; local
3776 if (Bytes.readBytes(buf, 16, 0) != 16)
3779 if (!isBitcode(buf, buf + 16))
3782 if (isBitcodeWrapper(buf, buf + 4)) {
3783 const unsigned char *bitcodeStart = buf;
3784 const unsigned char *bitcodeEnd = buf + 16;
3786 Bytes.dropLeadingBytes(bitcodeStart - buf);
/frameworks/native/cmds/installd/
H A Dcommands.cpp607 struct stat buf; local
608 memset(&buf, 0, sizeof(buf));
611 if (stat(path.c_str(), &buf) == 0) {
612 *inode = buf.st_ino;
623 char buf[kPropertyValueMax]; local
625 strncpy(buf, str, sizeof(buf));
626 char *pBuf = buf;
636 static int split(char *buf, cons argument
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp147 char buf[EVENT_BUF_SIZE]; local
148 int nread = ::wifi_wait_for_event(buf, sizeof buf);
150 return env->NewStringUTF(buf);
410 char buf[EVENT_BUF_SIZE]; local
416 int result = hal_fn.wifi_get_iface_name(handle, buf, sizeof(buf));
420 JNIObject<jstring> name = helper.newStringUTF(buf);
2485 char *buf = (char *)malloc(size); local
2486 if (buf
[all...]
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp140 char buf[256]; local
141 snprintf(buf, sizeof(buf), "Error: Call to unsupported function %s "
143 rsc->setError(RS_ERROR_FATAL_DRIVER, buf);
458 char buf[256]; local
460 snprintf(buf, sizeof(buf), "Out range ElementAt X %i of %i", x, t->getLODDimX(0));
461 rsc->setError(RS_ERROR_FATAL_DEBUG, buf);
466 snprintf(buf, sizeof(buf), "Ou
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp559 char *buf = (char*)malloc(psshsize); local
560 if (!buf) {
564 char *ptr = buf;
570 mFileMetaData->setData(kKeyPssh, 'pssh', buf, psshsize);
571 free(buf);
1124 char buf[4]; local
1125 memset(buf, 0, 4);
1126 if (mDataSource->readAt(data_offset + 4, buf + 1, 3) < 3) {
1129 uint32_t defaultAlgorithmId = ntohl(*((int32_t*)buf));
1135 memset(buf,
[all...]
H A DACodec.cpp1108 ANativeWindowBuffer *buf; local
1110 err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd);
1116 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false));
1235 ANativeWindowBuffer *buf; local
1237 err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd);
1243 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false));
1349 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info) {
1353 buf, fenceFd, info - &mBuffers[kPortIndexOutput][0]);
1389 ANativeWindowBuffer *buf; local
1405 status_t err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf,
1348 updateRenderInfoForDequeuedBuffer( ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
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/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 DResourceTable.cpp422 char buf[11]; local
423 sprintf(buf, "%d", l10n_required);
425 String16(""), String16("^l10n"), String16(buf), NULL, NULL);
1077 char buf[64]; local
1078 sprintf(buf, "%d", (int)(end-curIdent+1));
1079 curName.append(String16(buf));
2469 char buf[1024]; local
2472 retval = vsnprintf(buf, sizeof(buf), fmt, ap);
2475 buf, a
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp838 char buf[1024]; local
843 buf, sizeof(buf),
850 return _env->NewStringUTF(buf);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp248 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local
249 if (buf) {
252 buf += position << elementSizeShift;
257 return (void*) buf;
1955 char* buf = (char*) malloc(len); local
1957 if (buf == NULL) {
2002 (char *)buf
2014 result = _env->NewStringUTF(buf);
2016 if (buf) {
2017 free(buf);
2051 char* buf = (char*) malloc(len); local
2281 char* buf = (char*) malloc(len); local
2375 char* buf = (char*) malloc(len); local
2894 char* buf = (char*) malloc(infoLen); local
3089 char* buf = (char*) malloc(infoLen); local
3334 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;
2104 char* buf = (char*) malloc(len); local
2106 if (buf == NULL) {
2151 (char *)buf
2163 result = _env->NewStringUTF(buf);
2165 if (buf) {
2166 free(buf);
2200 char* buf = (char*) malloc(len); local
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp176 void* buf = _env->GetDirectBufferAddress(buffer); local
177 if (buf) {
180 buf = ((char*) buf) + (position << elementSizeShift);
186 buf = getPointer(_env, buffer, &array, &remaining, &offset);
188 releasePointer(_env, array, buf, 0);
190 buf = (char*)buf + offset;
196 return buf;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2696 char buf[4]; local
2697 size_t len = unpackLanguage(buf);
2698 out.append(buf, len);
2702 len = unpackRegion(buf);
2703 out.append(buf, len);
2716 char buf[4]; local
2717 size_t len = unpackLanguage(buf);
2718 out.append(buf, len);
2727 len = unpackRegion(buf);
2728 out.append(buf, le
4954 char buf[128]; local
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp956 char buf[1024]; local
961 buf, sizeof(buf),
967 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/ ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/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.java8252 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { argument
8266 invalidateCursor(Selection.getSelectionStart(buf), oldStart, newStart);
8278 int end = Selection.getSelectionEnd(buf);
8287 if ((buf.getSpanFlags(what)&Spanned.SPAN_INTERMEDIATE) == 0) {
8289 newSelStart = Selection.getSelectionStart(buf);
8292 newSelEnd = Selection.getSelectionEnd(buf);
8322 if (MetaKeyKeyListener.isMetaTracker(buf, what)) {
8324 if (ims != null && MetaKeyKeyListener.isSelectingMetaTracker(buf, what)) {
8328 if (Selection.getSelectionStart(buf) >= 0) {
10146 public void getChars(int start, int end, char[] buf, in argument
10384 onSpanChanged(Spannable buf, Object what, int s, int e, int st, int en) argument
10390 onSpanAdded(Spannable buf, Object what, int s, int e) argument
10396 onSpanRemoved(Spannable buf, Object what, int s, int e) argument
[all...]

Completed in 477 milliseconds

<<11