Searched defs:buff (Results 1 - 7 of 7) sorted by relevance
/development/tools/emulator/system/libqemu/ |
H A D | test_guest_1.c | 60 char buff[64]; local 68 int len = snprintf(buff, sizeof(buff), "Hello World %d\n", count); 70 int ret = pipe_send(pipe, buff, len); 90 if (memcmp(buff, buff2, len) != 0) {
|
H A D | test_host_2.c | 111 char buff[8192], *p; local 114 ret = TFR(read(client, buff, sizeof(buff)));
|
H A D | test_util.c | 86 pipe_send( Pipe* pipe, const void* buff, size_t bufflen ) argument 89 const uint8_t* ptr = buff; 109 pipe_recv( Pipe* pipe, void* buff, size_t bufflen ) argument 114 ret = read(pipe->socket, buff, bufflen);
|
H A D | test_host_1.c | 210 char buff[32768], *p; local 213 ret = TFR(read(client, buff, sizeof(buff))); 223 p = buff;
|
/development/tools/emulator/system/sensors/ |
H A D | sensors_qemu.c | 308 char buff[256]; local 309 int len = qemud_channel_recv(data->events_fd, buff, sizeof buff-1); 318 buff[len] = 0; 326 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) == 3) { 335 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) { 344 if (sscanf(buff, "magnetic:%g:%g:%g", params+0, params+1, params+2) == 3) { 353 if (sscanf(buff, "temperature:%g", params+0) == 1) { 360 if (sscanf(buff, "proximity:%g", params+0) == 1) { 370 if (sscanf(buff, "syn [all...] |
/development/tools/emulator/system/gps/ |
H A D | gps_qemu.c | 745 char buff[32]; local 750 ret = read( fd, buff, sizeof(buff) ); 758 D("received %d bytes: %.*s", ret, ret, buff); 760 nmea_reader_addc( reader, buff[nn] );
|
/development/tools/emulator/system/qemud/ |
H A D | qemud.c | 569 static char* buff = NULL; local 573 xfree(buff); 574 buff = xalloc(count+1); 582 buff[count] = buff[count+1] = '\\'; 590 buff[count] = c; 598 memcpy(buff+count, "<TAB>", 5); 605 memcpy(buff+count, "<LN>", 4); 612 memcpy(buff+count, "<CR>", 4); 619 buff[coun 1677 char buff[1024]; local [all...] |
Completed in 161 milliseconds