Searched defs:bufferPos (Results 1 - 11 of 11) sorted by relevance

/system/chre/util/system/
H A Ddebug_dump.cc22 bool debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize, argument
25 if (*bufferPos < bufferSize) {
28 int strLen = vsnprintf(&buffer[*bufferPos], bufferSize - *bufferPos,
35 *bufferPos >= (bufferSize - strLenBytes)) {
36 *bufferPos = bufferSize;
39 *bufferPos += strLenBytes;
/system/chre/platform/shared/
H A Dmemory_manager.cc66 bool MemoryManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument
68 return debugDumpPrint(buffer, bufferPos, bufferSize,
/system/chre/core/
H A Dnanoapp.cc91 bool Nanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
93 bool success = PlatformNanoapp::logStateToBuffer(buffer, bufferPos,
95 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
H A Dwwan_request_manager.cc80 bool WwanRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument
82 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n");
84 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
H A Devent_loop.cc294 bool EventLoop::logStateToBuffer(char *buffer, size_t *bufferPos, argument
296 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n");
298 success &= app->logStateToBuffer(buffer, bufferPos, bufferSize);
301 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
303 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
H A Dgnss_request_manager.cc97 bool GnssRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument
99 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nGNSS:"
104 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
107 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " minInterval(ms)"
113 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
116 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
H A Dsensor_request_manager.cc286 bool SensorRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument
288 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nSensors:\n");
296 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " %s: mode=%d"
H A Dwifi_request_manager.cc177 bool WifiRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument
179 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nWifi: "
183 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
186 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
191 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
196 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
199 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
/system/chre/platform/linux/
H A Dplatform_nanoapp.cc64 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
/system/chre/platform/slpi/
H A Dplatform_nanoapp.cc243 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
247 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " %s: vendor=\"%s\"",
/system/libhwbinder/
H A DBufferedTextOutput.cpp43 , bufferPos(0)
54 if ((len+bufferPos) > bufferSize) {
55 size_t newSize = ((len+bufferPos)*3)/2;
56 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow
62 if ((len+bufferPos) < bufferPos) return NO_MEMORY; // integer overflow
63 memcpy(buffer+bufferPos, txt, len);
64 bufferPos += len;
69 bufferPos = 0;
82 size_t bufferPos; member in struct:android::hardware::BufferedTextOutput::BufferState
[all...]

Completed in 649 milliseconds