/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...] |
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 64 int read(void *buff, int len, unsigned int nakLimit = USB_NAK_LIMIT); 65 int write(void *buff, int len);
|
/external/qemu/slirp-android/ |
misc.c | 36 static char buff[32]; local 38 snprintf(buff, sizeof(buff), "%d.%d.%d.%d", 43 return buff; 234 char buff[256]; 292 sprintf(buff, "%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen); 293 setenv("DISPLAY", buff, 1); 295 sprintf(buff, "DISPLAY=%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen); 296 putenv(buff); 329 char buff[256] local [all...] |
debug.c | 88 char buff[512]; 93 strcpy(buff, "on"); 95 strcpy(buff, "off"); 97 strcpy(buff, "off (for now)"); 103 "SLIP"), buff); 270 char buff[256]; 281 n = sprintf(buff, "tcp[%s]", so->so_tcpcb?tcpstates[so->so_tcpcb->t_state]:"NONE"); 283 buff[n++] = ' '; 284 buff[17] = 0; 286 buff, so->s [all...] |
/bionic/libc/private/ |
resolv_iface.h | 71 * If no interface is found, 0 is returned and buff is set to empty ('\0'). 72 * If an interface is found, the name is copied to buff and the length of the name is returned. 74 * buff A buffer to copy the result to 75 * buffLen Length of buff. An interface is at most IF_NAMESIZE in length */ 76 extern int _resolv_get_pids_associated_interface(int pid, char* buff, int buffLen);
|
/external/qemu/android/ |
adb-server.h | 44 * buff, size - Buffer that has ben sent by the host. 48 const void* buff,
|
/hardware/libhardware/include/hardware/ |
qemud.h | 44 qemud_fd_write(int fd, const void* buff, int len) 48 len2 = write(fd, buff, len); 54 qemud_fd_read(int fd, void* buff, int len) 58 len2 = read(fd, buff, len);
|
/device/generic/goldfish/camera/ |
JpegCompressor.cpp | 44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff); 88 void NV21JpegCompressor::getCompressedImage(void* buff) 92 (*f)(&mStub, buff);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
ChannelOutputStream.java | 30 byte[] buff = new byte[1]; 32 buff[0] = (byte) b; 34 write(buff, 0, 1);
|
/external/quake/quake/src/WinQuake/ |
net_mp.cpp | 52 char buff[MAXHOSTNAMELEN];
local 73 if (gethostname(buff, MAXHOSTNAMELEN) == 0)
74 local = gethostbyname(buff);
83 for (p = buff; *p; p++)
91 if (buff[i] == '.')
93 buff[i] = 0;
95 Cvar_Set ("hostname", buff);
195 char buff[256];
local 203 buff[0] = '.';
204 b = buff;
[all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/ |
TemplatedInputStream.java | 62 StringBuffer buff = new StringBuffer(); local 64 buff.append((char) c); 65 String str = mMap.get(buff.toString());
|
/external/bzip2/ |
dlltest.c | 116 char buff[0x1000];
local 137 while((len=BZ2_bzread(BZ2fp_r,buff,0x1000))>0){
138 fwrite(buff,1,len,fp_w);
164 while((len=fread(buff,1,0x1000,fp_r))>0){
165 BZ2_bzwrite(BZ2fp_w,buff,len);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 134 Buffer buff = new Buffer(bytes, length); local 135 buff.ptr = start; 137 buffList.add(buff); 145 Buffer buff = new Buffer(bytes, bytes.length); local 147 buffList.add(buff);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
TypesWriter.java | 117 public void writeBytes(byte[] buff) 119 writeBytes(buff, 0, buff.length); 122 public void writeBytes(byte[] buff, int off, int len) 127 System.arraycopy(buff, off, arr, pos, len); 131 public void writeString(byte[] buff, int off, int len) 134 writeBytes(buff, off, len);
|
/system/core/adb/ |
usb_vendors.c | 205 int get_adb_usb_ini(char* buff, size_t len); 255 int build_path(char* buff, size_t len, const char* format, const char* home) 257 if (snprintf(buff, len, format, home, ANDROID_PATH, ANDROID_ADB_INI) >= (signed)len) { 264 /* fills buff with the path to the adb vendor id file. returns 0 if success */ 265 int get_adb_usb_ini(char* buff, size_t len) 270 return build_path(buff, len, "%s\\%s\\%s", home); 274 return build_path(buff, len, "%s\\%s\\%s", path); 281 return build_path(buff, len, "%s/%s/%s", home);
|
/external/qemu/slirp/ |
debug.c | 89 char buff[512]; 94 strcpy(buff, "on"); 96 strcpy(buff, "off"); 98 strcpy(buff, "off (for now)"); 104 "SLIP"), buff); 298 char buff[256]; local 309 n = sprintf(buff, "tcp[%s]", so->so_tcpcb?tcpstates[so->so_tcpcb->t_state]:"NONE"); 311 buff[n++] = ' '; 312 buff[17] = 0; 314 buff, so->s [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractSequentialListTest.java | 301 final String buff[] = {"0", "1", "2", "3", "4", "5"}; local 307 return buff.length; 326 return buff[currPos]; 350 for (int i = 0; i < buff.length; i++) { 351 assertEquals(buff[i], asl.get(i)); 417 String buff[] = {"0", "1", "2", "3", "4", "5"}; 422 return buff.length; 441 return buff[currPos]; 457 buff[currPos] = "removed element"; 489 String buff[] = {"0", "1", "2", "3", "4", "5"} [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLRecordProtocol.java | 229 byte[] buff = new byte[5+fragment.length]; 230 buff[0] = type; 232 buff[1] = version[0]; 233 buff[2] = version[1]; 235 buff[1] = 3; 236 buff[2] = 1; 238 buff[3] = (byte) ((0x00FF00 & fragment.length) >> 8); 239 buff[4] = (byte) (0x0000FF & fragment.length); 240 System.arraycopy(fragment, 0, buff, 5, fragment.length); 241 return buff; [all...] |
/device/generic/goldfish/libqemu/ |
test_host_2.c | 111 char buff[8192], *p; local 114 ret = TFR(read(client, buff, sizeof(buff)));
|
test_util.c | 86 pipe_send( Pipe* pipe, const void* buff, size_t bufflen ) 89 const uint8_t* ptr = buff; 109 pipe_recv( Pipe* pipe, void* buff, size_t bufflen ) 114 ret = read(pipe->socket, buff, bufflen);
|
/external/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/speex/libspeex/ |
scal.c | 72 float *buff; member in struct:SpeexDecorrState_ 96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); 156 float *buff; local 162 buff = st->buff+ch*2*st->frame_size; 169 buff[i] = buff[i+st->frame_size]; 171 buff[i+st->frame_size] = in[i*st->channels+ch]; 173 x = buff+st->frame_size; 229 frame[i] = buff[i] [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_common_test.cc | 92 char buff[100]; local 93 EXPECT_TRUE(SanitizerGetThreadName(buff, sizeof(buff) - 1)); 94 EXPECT_EQ(0, internal_strcmp(buff, names[i]));
|
/external/openssl/crypto/ui/ |
ui_compat.h | 78 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify);
|
/external/openssl/include/openssl/ |
ui_compat.h | 78 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify);
|