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

/art/runtime/jdwp/
H A Djdwp_expand_buf.cc40 int maxLen; member in struct:art::JDWP::ExpandBuf
52 newBuf->maxLen = kInitialStorage;
87 if (pBuf->curLen + newCount <= pBuf->maxLen) {
91 while (pBuf->curLen + newCount > pBuf->maxLen) {
92 pBuf->maxLen *= 2;
95 uint8_t* newPtr = reinterpret_cast<uint8_t*>(realloc(pBuf->storage, pBuf->maxLen));
97 LOG(FATAL) << "realloc(" << pBuf->maxLen << ") failed";

Completed in 28 milliseconds