Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp1553 const size_t BUFFER_SIZE = 32; in approximateFloatString() local
1554 char buffer[BUFFER_SIZE] = {}; in approximateFloatString()
1555 auto bytesWritten = snprintf(buffer, BUFFER_SIZE, in approximateFloatString()
1580 const size_t BUFFER_SIZE = 8; in alphaString() local
1581 char buffer[BUFFER_SIZE] = {}; in alphaString()
1582 auto bytesWritten = snprintf(buffer, BUFFER_SIZE, "%.3f", f); in alphaString()
1822 const size_t BUFFER_SIZE = 100; in toString() local
1823 char buffer[BUFFER_SIZE] = {}; in toString()
1824 auto writtenBytes = snprintf(buffer, BUFFER_SIZE, in toString()
1830 std::memset(buffer, 0, BUFFER_SIZE); in toString()
[all …]
/device/google/wahoo/usb/
DUsbGadget.cpp29 constexpr int BUFFER_SIZE = 512; variable
94 char buf[BUFFER_SIZE]; in monitorFfs()
126 int numRead = read(usbGadget->mInotifyFd, buf, BUFFER_SIZE); in monitorFfs()
/device/google/bonito/usb/
DUsbGadget.cpp29 constexpr int BUFFER_SIZE = 512; variable
95 char buf[BUFFER_SIZE]; in monitorFfs()
134 int numRead = read(usbGadget->mInotifyFd, buf, BUFFER_SIZE); in monitorFfs()
/device/google/crosshatch/usb/
DUsbGadget.cpp29 constexpr int BUFFER_SIZE = 512; variable
95 char buf[BUFFER_SIZE]; in monitorFfs()
134 int numRead = read(usbGadget->mInotifyFd, buf, BUFFER_SIZE); in monitorFfs()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp1388 const size_t BUFFER_SIZE = 100; in toString() local
1389 char buffer[BUFFER_SIZE] = {}; in toString()
1390 auto writtenBytes = snprintf(buffer, BUFFER_SIZE, in toString()
1396 std::memset(buffer, 0, BUFFER_SIZE); in toString()
1397 writtenBytes = snprintf(buffer, BUFFER_SIZE, " @ %.1f Hz", in toString()
1404 std::memset(buffer, 0, BUFFER_SIZE); in toString()
1405 writtenBytes = snprintf(buffer, BUFFER_SIZE, in toString()