/frameworks/base/cmds/input/src/com/android/commands/input/ |
Input.java | 153 StringBuffer buff = new StringBuffer(text); local 156 for (int i=0; i<buff.length(); i++) { 159 if (buff.charAt(i) == 's') { 160 buff.setCharAt(i, ' '); 161 buff.deleteCharAt(--i); 164 if (buff.charAt(i) == '%') { 169 char[] chars = buff.toString().toCharArray();
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
FilterPostProcessor.java | 167 * @param buff
170 private void renderProcessing(Renderer r, FrameBuffer buff, Material mat) {
171 if (buff == outputBuffer) {
177 fsQuad.setWidth(buff.getWidth());
178 fsQuad.setHeight(buff.getHeight());
179 filterCam.resize(buff.getWidth(), buff.getHeight(), true);
192 r.setFrameBuffer(buff);
221 FrameBuffer buff = sceneFb;
local 251 filter.postFrame(renderManager, viewPort, buff, sceneFb); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
BufferUtils.java | 166 FloatBuffer buff = createFloatBuffer(3 * data.length); local 169 buff.put(data[x].x).put(data[x].y).put(data[x].z); 171 buff.put(0).put(0).put(0); 174 buff.flip(); 175 return buff; 188 FloatBuffer buff = createFloatBuffer(4 * data.length); local 191 buff.put(data[x].getX()).put(data[x].getY()).put(data[x].getZ()).put(data[x].getW()); 193 buff.put(0).put(0).put(0); 196 buff.flip(); 197 return buff; 208 FloatBuffer buff = createFloatBuffer(data.length); local 459 FloatBuffer buff = createFloatBuffer(2 * data.length); local 665 IntBuffer buff = createIntBuffer(data.length); local 1018 ShortBuffer buff = createShortBuffer(data.length); local [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Channel.java | 764 * @param buff Buffer to expand. 769 public ByteBuffer ExpandIf(ByteBuffer buff, int extra) { 770 if (extra <= buff.remaining()) { 771 return buff; 773 ByteBuffer ret = ByteBuffer.allocate(buff.position() + extra); 774 ret.order(buff.order()); 775 ret.put(buff.array(), 0, buff.position());
|
/external/chromium_org/native_client_sdk/src/examples/api/audio/ |
audio.cc | 68 int16_t* buff = reinterpret_cast<int16_t*>(samples); local 72 (sizeof(*buff) * kChannels * instance->sample_frame_count_)); 83 *buff++ = scaled_value;
|
/external/chromium_org/third_party/libjingle/source/talk/examples/chat/ |
chatapp.cc | 100 char buff[128]; local 103 snprintf(buff, sizeof(buff), "%s) %s\n", kUIStrings[index][0], 105 console_task_->Print(buff);
|
/external/clang/test/SemaCXX/ |
warn-memset-bad-sizeof.cpp | 87 typedef char Buff[8]; 88 memcpy(0, &arr, sizeof(Buff)); 139 char buff[80]; local 141 strncpy(buff, BAR, sizeof(BAR)); // \
|
/external/qemu/slirp/ |
socket.c | 295 char buff[2048]; /* XXX Shouldn't be sending more oob data than this */ local 320 memcpy(buff, sb->sb_rptr, len); 325 memcpy((buff + len), sb->sb_data, n); 329 n = slirp_send(so, buff, len, (MSG_OOB)); /* |MSG_DONTWAIT)); */ 453 char buff[256]; local 456 len = recvfrom(so->s, buff, 256, 0,
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
PYXScanner.java | 48 char[] buff = null; local 52 if (buff == null || buff.length < size) { 53 buff = new char[size]; 55 s.getChars(0, size, buff, 0); 56 switch (buff[0]) { 59 h.stagc(buff, 0, 0); 62 h.gi(buff, 1, size - 1); 67 h.stagc(buff, 0, 0); 70 h.etag(buff, 1, size - 1) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
h264bsd_interpolate_hor_ver_quarter.s | 37 buff RN 1 label 128 ADD buff, sp, #0x28 ;// buff = p1[21*21/4+1]
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 130 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;
|
/ndk/sources/android/libthread_db/gdb-6.6/ |
libthread_db.c | 59 char buff[1024]; local 74 /* Read its content, up to sizeof buff-1, then zero-terminate */ 76 len = read(fd, buff, sizeof buff-1); 84 buff[len] = 0; 87 perm = strstr(buff, "CapPrm:"); 90 path, len, buff);
|
/ndk/sources/android/libthread_db/gdb-7.3.x/ |
libthread_db.c | 55 char buff[1024]; local 70 /* Read its content, up to sizeof buff-1, then zero-terminate */ 72 len = read(fd, buff, sizeof buff-1); 80 buff[len] = 0; 83 perm = strstr(buff, "CapPrm:"); 86 path, len, buff);
|
/ndk/sources/android/libthread_db/gdb-7.6/ |
libthread_db.c | 67 char buff[1024]; local 82 /* Read its content, up to sizeof buff-1, then zero-terminate */ 84 len = read(fd, buff, sizeof buff-1); 92 buff[len] = 0; 95 perm = strstr(buff, "CapPrm:"); 98 path, len, buff);
|
/art/runtime/jdwp/ |
jdwp_adb.cc | 196 char buff[5]; local 208 snprintf(buff, sizeof(buff), "%04x", getpid()); 209 buff[4] = 0; 237 ret = TEMP_FAILURE_RETRY(send(control_sock_, buff, 4, 0)); 239 VLOG(jdwp) << StringPrintf("PID sent as '%.*s' to ADB", 4, buff);
|
/device/asus/flo/camera/QCamera2/HAL/test/ |
qcamera_test.cpp | 108 unsigned char *buff = NULL; local 129 buff = (unsigned char *)mem->pointer(); 130 if (!buff) { 136 if ( size != write(fd, buff, size) ) { 145 __FUNCTION__, (int)buff, size, path.string());
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3basetreeadaptor.c | 167 char buff[64]; local 199 sprintf(buff, "\tn%p[label=\"", child); 200 dotSpec->append8(dotSpec, buff); 272 char buff[128]; local 282 sprintf(buff, "\t\tn%p -> n%p\t\t// ", t, child); 284 dotSpec->append8(dotSpec, buff); 364 char buff[64]; local 392 sprintf(buff, "\tn%p[label=\"", theTree); 393 dotSpec->append8(dotSpec, buff);
|
/external/bluetooth/bluedroid/btif/src/ |
btif_sock_sdp.c | 88 UINT8 buff[48]; local 91 p = type_buf[0] = buff;
|
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_utils.c | 1440 char buff[200]; local [all...] |
/external/chromium_org/sandbox/win/src/ |
file_policy_test.cc | 274 wchar_t buff[MAX_PATH]; local 275 ::wsprintfW(buff, L"File_CreateSys32 %s", nt_path.c_str()); 276 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(buff)); 279 ::wsprintfW(buff, L"File_CreateSys32 %s", nt_path.c_str()); 280 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(buff));
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
enc.c | 107 unsigned char *buff=NULL,*bufsize=NULL; local 375 buff=(unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize)); 376 if ((buff == NULL) || (strbuf == NULL)) 662 inl=BIO_read(rbio,(char *)buff,bsize); 664 if (BIO_write(wbio,(char *)buff,inl) != inl) 685 if (buff != NULL) OPENSSL_free(buff);
|
/external/chromium_org/third_party/openssl/openssl/crypto/conf/ |
conf_def.c | 214 BUF_MEM *buff=NULL; local 225 if ((buff=BUF_MEM_new()) == NULL) 257 if (!BUF_MEM_grow(buff,bufnum+CONFBUFSIZE)) 262 p= &(buff->data[bufnum]); 297 p= &(buff->data[bufnum-1]); 307 buf=buff->data; 435 if (buff != NULL) BUF_MEM_free(buff); 439 if (buff != NULL) BUF_MEM_free(buff); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
read_pwd.c | 219 char buff[BUFSIZ]; local 222 ret=des_read_pw(buf,buff,(length>BUFSIZ)?BUFSIZ:length,prompt,verify); 223 OPENSSL_cleanse(buff,BUFSIZ); 229 int des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify) 232 memset(buff,0,size); 238 int des_read_pw(char *buf, char *buff, int size, char *prompt, int verify) 241 memset(buff,0,size); 259 int des_read_pw(char *buf, char *buff, int size, const char *prompt, 375 buff[0]='\0'; 376 fgets(buff,size,tty) [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontConfigParser_android.cpp | 56 char *buff; local 57 buff = (char*) malloc((len + 1) * sizeof(char)); 58 strncpy(buff, s, len); 59 buff[len] = '\0'; 62 *(familyData->currentFamily->fNames.append()) = buff; 66 familyData->currentFontInfo->fFileName = buff;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 102 char buff[17]; local 103 if (prctl(PR_GET_NAME, (unsigned long)buff, 0, 0, 0)) // NOLINT 105 internal_strncpy(name, buff, max_len);
|