Searched defs:buff (Results 1 - 14 of 14) sorted by relevance

/device/generic/goldfish/libqemu/
H A Dtest_guest_1.c60 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 Dtest_host_2.c111 char buff[8192], *p; local
114 ret = TFR(read(client, buff, sizeof(buff)));
H A Dtest_util.c86 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 Dtest_host_1.c210 char buff[32768], *p; local
213 ret = TFR(read(client, buff, sizeof(buff)));
223 p = buff;
/device/generic/goldfish/camera/
H A DJpegStub.cpp59 extern "C" void JpegStub_getCompressedImage(JpegStub* stub, void* buff) { argument
62 stream->copyTo(buff);
H A DJpegCompressor.cpp44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff);
88 void NV21JpegCompressor::getCompressedImage(void* buff) argument
92 (*f)(&mStub, buff);
/device/asus/flo/camera/QCamera2/HAL/test/
H A Dqcamera_test.cpp108 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());
/device/google/accessory/arduino/AndroidAccessory/
H A DAndroidAccessory.cpp263 int AndroidAccessory::read(void *buff, int len, unsigned int nakLimit) argument
265 return usb.newInTransfer(1, in, len, (char *)buff, nakLimit);
268 int AndroidAccessory::write(void *buff, int len) argument
270 usb.outTransfer(1, out, len, (char *)buff);
/device/lge/hammerhead/camera/QCamera2/HAL/test/
H A Dqcamera_test.cpp108 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());
/device/generic/goldfish/sensors/
H A Dsensors_qemu.c305 char buff[256]; local
306 int len = qemud_channel_recv(data->events_fd, buff, sizeof buff-1);
315 buff[len] = 0;
323 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) == 3) {
333 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) {
355 if (sscanf(buff, "temperature:%g", params+0) == 1) {
363 if (sscanf(buff, "proximity:%g", params+0) == 1) {
374 if (sscanf(buff, "syn
[all...]
/device/generic/goldfish/gps/
H A Dgps_qemu.c745 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] );
/device/moto/shamu/camera/QCamera2/HAL/test/
H A Dqcamera_test.h319 void *buff; member in struct:qcamera::TestContext::ViVBuff_t
H A Dqcamera_test.cpp202 unsigned char *buff = NULL; local
223 buff = (unsigned char *)mem->pointer();
224 if (!buff) {
230 if ( size != write(fd, buff, size) ) {
239 __FUNCTION__, (int)buff, size, path.string());
322 const void *buff = NULL; local
325 buff = (const void *)mem->pointer();
367 if (SkImageDecoder::DecodeMemory(buff, size, skBM, prefConfig,
397 unsigned char *buff; local
427 buff
839 unsigned char *buff = NULL; local
[all...]
/device/generic/goldfish/qemud/
H A Dqemud.c569 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 110 milliseconds