Searched refs:buff (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java136 StringBuffer buff = new StringBuffer(text);
139 for (int i=0; i<buff.length(); i++) {
142 if (buff.charAt(i) == 's') {
143 buff.setCharAt(i, ' ');
144 buff.deleteCharAt(--i);
147 if (buff.charAt(i) == '%') {
152 char[] chars = buff.toString().toCharArray();
/frameworks/base/core/java/android/database/
H A DCursorWindow.java738 StringBuilder buff = new StringBuilder();
756 buff.append(" (# cursors opened by ");
759 buff.append("this proc=");
761 buff.append("pid " + pid + "=");
764 buff.append(num + ")");
768 String s = (buff.length() > 980) ? buff.substring(0, 980) : buff.toString();
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp130 const char *buff, int blen, int seg_num, FILE *pfout) {
143 " %4d,", static_cast<int>(buff[write_length]));
179 char *buff = new char[SEG_SIZE]; local
183 while ((read_length = fread(buff, 1, SEG_SIZE, pfin)) > 0) {
184 GenerateSegmentMethod(buff, read_length, seg_num, pfout);
188 delete []buff;
129 GenerateSegmentMethod( const char *buff, int blen, int seg_num, FILE *pfout) argument
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCursorTest.java71 StringBuilder buff = new StringBuilder();
73 buff.append(i % 10 + "");
76 values.put("desc", buff.toString());
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp259 jbyteArray buff = allocator->getStorageObjAndReset(); local
260 return GraphicsJNI::createBitmap(env, bitmap, buff, false, NULL, NULL, -1);
H A DBitmap.cpp229 jbyteArray buff = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL); local
230 if (NULL == buff) {
239 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), buff, isMutable, NULL, NULL);
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp113 void *buff = ::XML_GetBuffer(parser, BUFF_SIZE); local
114 if (buff == NULL) {
120 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_half.s36 buff RN 1 label
119 ADD buff, sp, #0x28 ;// buff = p1[21*21/4+1]
H A Dh264bsd_interpolate_hor_quarter.s36 buff RN 1 label
121 ADD buff, sp, #0x28 ;// buff = p1[21*21/4+1]
H A Dh264bsd_interpolate_ver_half.s36 buff RN 1 label
120 ADD buff, sp, #0x28 ;// buff = p1[21*21/4+1]
H A Dh264bsd_interpolate_ver_quarter.s35 buff RN 1 label
119 ADD buff, sp, #0x28 ;// buff = p1[21*21/4+1]
H A Dh264bsd_interpolate_hor_ver_quarter.s37 buff RN 1 label
128 ADD buff, sp, #0x28 ;// buff = p1[21*21/4+1]
/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp1349 const int16_t *buff = NULL;
1360 if (buff == NULL) {
1361 buff = new int16_t[MAX_NUM_CHANNELS * state->frameCount];
1363 in0 = buff;
1376 if (buff == NULL) {
1377 buff = new int16_t[MAX_NUM_CHANNELS * state->frameCount];
1379 in1 = buff;
1416 delete [] buff;
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp916 void *buff = ::XML_GetBuffer(parser, BUFF_SIZE); local
917 if (buff == NULL) {
924 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp);
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c1762 M4OSA_UInt8 *buff; local
1809 buff = inbuff + frame_size + 4;
1813 if( ( buff[0] == 0x00) && (buff[1] == 0x00) && (buff[2] == 0x00)
1814 && (buff[3] == 0x01) )
1818 buff = buff + 1;
1828 // M4OSA_TRACE1_3("H264MCS_ProcessNALU frame input buff size = %d current position
2003 M4OSA_UInt8 *buff; local
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java784 private static native void nDrawBitmap(int renderer, int bitmap, byte[] buff, argument

Completed in 97 milliseconds