Home
last modified time | relevance | path

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

12

/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp68 char buff[1024]; in main() local
69 auto read = pipe->Read(buff, sizeof(buff)); in main()
74 auto written = cuttlefish::WriteAll(logcat_file, buff, read); in main()
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp77 char buff[CHUNK_RECV_MAX_LEN]; in main() local
78 auto bytes_read = conn->Read(buff, sizeof(buff)); in main()
83 file.write(buff, bytes_read); in main()
/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.cpp176 char buff[256]; in gps_state_thread() local
179 ret = read(fd, buff, sizeof(buff)); in gps_state_thread()
187 D("Thread received %d bytes: %.*s", ret, ret, buff); in gps_state_thread()
188 reader_accept_string(&reader, buff, ret); in gps_state_thread()
/device/generic/goldfish/camera/
DJpegCompressor.cpp44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff);
87 void NV21JpegCompressor::getCompressedImage(void* buff) in getCompressedImage() argument
91 (*f)(&mStub, buff); in getCompressedImage()
DJpegCompressor.h79 void getCompressedImage(void* buff);
/device/google/cuttlefish/guest/hals/camera/
DJpegCompressor.cpp44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff);
86 void NV21JpegCompressor::getCompressedImage(void* buff) { in getCompressedImage() argument
89 (*f)(&mStub, buff); in getCompressedImage()
DJpegStub.cpp56 extern "C" void JpegStub_getCompressedImage(JpegStub* stub, void* buff) { in JpegStub_getCompressedImage() argument
60 memcpy(buff, &data[0], data.size()); in JpegStub_getCompressedImage()
DJpegCompressor.h74 void getCompressedImage(void* buff);
DJpegStub.h39 void JpegStub_getCompressedImage(JpegStub* stub, void* buff);
/device/google/cuttlefish/host/libs/screen_connector/
Dsocket_based_screen_connector.cpp80 auto buff = reinterpret_cast<uint8_t*>(GetBuffer(current_buffer)); in ServerLoop() local
82 auto read = conn->Read(buff, size); in ServerLoop()
89 buff += read; in ServerLoop()
/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc66 char buff[BUFF_SIZE]; in ReadAll() local
69 while ((read = fd->Read(buff, BUFF_SIZE - 1)) > 0) { in ReadAll()
71 ss << std::string(buff, read); in ReadAll()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
Dvsocket_screen_view.cpp106 auto buff = static_cast<char*>(GetBuffer(current_offset)); in BroadcastLoop() local
108 auto written = screen_server_->Write(buff, size); in BroadcastLoop()
114 buff += written; in BroadcastLoop()
/device/google/cuttlefish/host/libs/vm_manager/
Dqemu_manager.cpp77 char buff[1000]; in Stop() local
78 while ((len = monitor_sock->Read(buff, sizeof(buff) - 1)) > 0) { in Stop()
79 buff[len] = '\0'; in Stop()
80 LOG(INFO) << "From qemu monitor: " << buff; in Stop()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Datchannel.h29 extern void AT_DUMP(const char* prefix, const char* buff, int len);
31 #define AT_DUMP(prefix,buff,len) do{}while(0)
Datchannel.c55 void AT_DUMP(const char* prefix __unused, const char* buff, int len) in AT_DUMP() argument
58 len = strlen(buff); in AT_DUMP()
59 RLOGD("%.*s", len, buff); in AT_DUMP()
/device/generic/goldfish/camera/jpeg-stub/
DJpegStub.cpp56 extern "C" void JpegStub_getCompressedImage(JpegStub* stub, void* buff) { in JpegStub_getCompressedImage() argument
60 memcpy(buff, &data[0], data.size()); in JpegStub_getCompressedImage()
DJpegStub.h39 void JpegStub_getCompressedImage(JpegStub* stub, void* buff);
/device/generic/goldfish/radio/ril/
Datchannel.h29 extern void AT_DUMP(const char* prefix, const char* buff, int len);
31 #define AT_DUMP(prefix,buff,len) do{}while(0)
Datchannel.c56 void AT_DUMP(const char* prefix, const char* buff, int len) in AT_DUMP() argument
59 len = strlen(buff); in AT_DUMP()
60 RLOGD("%.*s", len, buff); in AT_DUMP()
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.cpp391 Var& var, EntryPoint* e, char* buff, size_t bufflen, in getVarEncodingSizeExpression() argument
395 snprintf(buff, bufflen, "%u", (unsigned int) var.type()->bytes()); in getVarEncodingSizeExpression()
400 snprintf(buff, bufflen, "8"); in getVarEncodingSizeExpression()
403 snprintf(buff, bufflen, "0"); in getVarEncodingSizeExpression()
405 snprintf(buff, bufflen, "__size_%s", var.name().c_str()); in getVarEncodingSizeExpression()
414 snprintf(buff, bufflen, "((%s != NULL) ? %s : 0)", varname, lenExpr); in getVarEncodingSizeExpression()
416 snprintf(buff, bufflen, "%s", lenExpr); in getVarEncodingSizeExpression()
587 char buff[256]; in genEncoderImpl() local
600 getVarEncodingSizeExpression(var, e, buff, sizeof(buff), in genEncoderImpl()
602 fprintf(fp, "%s;\n", buff); in genEncoderImpl()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dbase_composer.h38 virtual void Dump(char* buff, int buff_len);
Dstats_keeper.h210 void Dump(char* buff, int buff_len) override { in Dump() argument
211 stats_keeper_.SynchronizedDump(buff, buff_len); in Dump()
Dbase_composer.cpp29 void BaseComposer::Dump(char* buff __unused, int buff_len __unused) {} in Dump()
Dhwcomposer.cpp440 static void cvd_hwc_dump(hwc_composer_device_1_t* dev, char* buff, int buff_len) { in cvd_hwc_dump() argument
441 reinterpret_cast<cvd_hwc_composer_device_1_t*>(dev)->composer->Dump(buff, in cvd_hwc_dump()
/device/google/wahoo/
Dsystem.prop37 vendor.vidc.enc.dcvs.extra-buff-count=2

12