Home
last modified time | relevance | path

Searched refs:bytes_available (Results 1 – 6 of 6) sorted by relevance

/external/google-breakpad/src/common/windows/
Dhttp_upload.cc213 DWORD bytes_available; in ReadResponse() local
217 while (((return_code = InternetQueryDataAvailable(request, &bytes_available, in ReadResponse()
218 0, 0)) != 0) && bytes_available > 0) { in ReadResponse()
219 vector<char> response_buffer(bytes_available); in ReadResponse()
224 bytes_available, &size_read); in ReadResponse()
/external/lldb/tools/debugserver/source/MacOSX/
DMachProcess.cpp1230 size_t bytes_available = m_stdout_data.size(); in GetAvailableSTDOUT() local
1231 if (bytes_available > 0) in GetAvailableSTDOUT()
1233 if (bytes_available > buf_size) in GetAvailableSTDOUT()
1237 bytes_available = buf_size; in GetAvailableSTDOUT()
1241 memcpy(buf, m_stdout_data.data(), bytes_available); in GetAvailableSTDOUT()
1245 return bytes_available; in GetAvailableSTDOUT()
1408 size_t bytes_available = m_profile_data.front().size(); in GetAsyncProfileData() local
1409 if (bytes_available > 0) in GetAsyncProfileData()
1411 if (bytes_available > buf_size) in GetAsyncProfileData()
1415 bytes_available = buf_size; in GetAsyncProfileData()
[all …]
/external/lldb/source/Target/
DProcess.cpp4415 size_t bytes_available = one_profile_data.size(); in GetAsyncProfileData() local
4416 if (bytes_available > 0) in GetAsyncProfileData()
4421 if (bytes_available > buf_size) in GetAsyncProfileData()
4425 bytes_available = buf_size; in GetAsyncProfileData()
4429 memcpy(buf, one_profile_data.c_str(), bytes_available); in GetAsyncProfileData()
4433 return bytes_available; in GetAsyncProfileData()
4445 size_t bytes_available = m_stdout_data.size(); in GetSTDOUT() local
4446 if (bytes_available > 0) in GetSTDOUT()
4451 if (bytes_available > buf_size) in GetSTDOUT()
4455 bytes_available = buf_size; in GetSTDOUT()
[all …]
DMemory.cpp251 const uint32_t bytes_available = pos->first - last_offset; in ReserveBlock() local
252 const uint32_t num_chunks = CalculateChunksNeededForSize (bytes_available); in ReserveBlock()
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
DCommunicationKDP.cpp306 const size_t bytes_available = m_bytes.size(); in CheckForPacket() local
307 if (bytes_available >= 8) in CheckForPacket()
309 packet.SetData (&m_bytes[0], bytes_available, m_byte_order); in CheckForPacket()
362 if (length <= bytes_available) in CheckForPacket()
/external/lldb/source/Core/
DDataExtractor.cpp172 offset_t bytes_available = data.GetByteSize() - offset; in DataExtractor() local
173 if (length > bytes_available) in DataExtractor()
174 length = bytes_available; in DataExtractor()