Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 5 of 5) sorted by relevance

/sdk/emulator/tests/
Dtest-qemud-pipes.c79 char buff[1024], *p; in main() local
83 ret = read(client, buff, sizeof(buff)); in main()
92 p = buff; in main()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt.ndk/src/com/android/ide/eclipse/adt/ndk/internal/templates/
DTemplatedInputStream.java62 StringBuffer buff = new StringBuffer(); in read() local
64 buff.append((char) c); in read()
65 String str = mMap.get(buff.toString()); in read()
/sdk/emulator/qemud/
Dqemud.c569 static char* buff = NULL; in quote() local
573 xfree(buff); in quote()
574 buff = xalloc(count+1); in quote()
582 buff[count] = buff[count+1] = '\\'; in quote()
590 buff[count] = c; in quote()
598 memcpy(buff+count, "<TAB>", 5); in quote()
605 memcpy(buff+count, "<LN>", 4); in quote()
612 memcpy(buff+count, "<CR>", 4); in quote()
619 buff[count+0] = '\\'; in quote()
620 buff[count+1] = 'x'; in quote()
[all …]
/sdk/emulator/sensors/
Dsensors_qemu.c308 char buff[256]; in data__poll() local
309 int len = qemud_channel_recv(data->events_fd, buff, sizeof buff-1); in data__poll()
318 buff[len] = 0; in data__poll()
326 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) == 3) { in data__poll()
335 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) { in data__poll()
344 if (sscanf(buff, "magnetic-field:%g:%g:%g", params+0, params+1, params+2) == 3) { in data__poll()
353 if (sscanf(buff, "temperature:%g", params+0) == 2) { in data__poll()
360 if (sscanf(buff, "proximity:%g", params+0) == 1) { in data__poll()
370 if (sscanf(buff, "sync:%lld", &event_time) == 1) { in data__poll()
/sdk/emulator/gps/
Dgps_qemu.c731 char buff[32]; in gps_state_thread() local
736 ret = read( fd, buff, sizeof(buff) ); in gps_state_thread()
744 D("received %d bytes: %.*s", ret, ret, buff); in gps_state_thread()
746 nmea_reader_addc( reader, buff[nn] ); in gps_state_thread()