Home
last modified time | relevance | path

Searched refs:BytesRead (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/Support/
DStreamableMemoryObject.h140 mutable size_t BytesRead; // Bytes read from stream variable
152 while (Pos >= BytesRead) { in fetchToPos()
153 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
154 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
156 BytesRead += bytes; in fetchToPos()
158 assert((!ObjectSize || BytesRead >= Pos) && in fetchToPos()
160 if (BytesRead <= Pos) { // reached EOF/ran out of bytes in fetchToPos()
161 ObjectSize = BytesRead; in fetchToPos()
/external/llvm/lib/Support/
DStreamableMemoryObject.cpp96 size_t pos = BytesRead + kChunkSize; in getExtent()
117 if (BytesRead < s) return true; in dropLeadingBytes()
119 BytesRead -= s; in dropLeadingBytes()
136 Bytes(kChunkSize), Streamer(streamer), BytesRead(0), BytesSkipped(0), in StreamingMemoryObject()
138 BytesRead = streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
DPath.cpp860 int BytesRead = 0, BytesWritten = 0; in copy_file() local
862 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
863 if (BytesRead <= 0) in copy_file()
865 while (BytesRead) { in copy_file()
866 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
869 BytesRead -= BytesWritten; in copy_file()
878 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/external/chromium_org/extensions/browser/
Dcontent_verify_job.cc74 void ContentVerifyJob::BytesRead(int count, const char* data) { in BytesRead() function in extensions::ContentVerifyJob
81 g_test_delegate->BytesRead(hash_reader_->extension_id(), count, data); in BytesRead()
179 BytesRead(tmp.size(), string_as_array(&tmp)); in OnHashesReady()
Dcontent_verify_job.h65 void BytesRead(int count, const char* data);
75 virtual FailureReason BytesRead(const std::string& extension_id,
Dextension_protocols.cc252 verify_job_->BytesRead(result, buffer->data()); in OnReadComplete()
/external/libnfc-nxp/src/
DphFriNfc_DesfireMap.c627 uint32_t BytesRead = 0; in phFriNfc_Desfire_Process() local
855 BytesRead = phFriNfc_Desfire_HGetLeBytes(NdefMap); in phFriNfc_Desfire_Process()
859 …( (NdefMap->DesfireCapContainer.SkipNlenBytesFlag == 1) && ((BytesRead == 1) || (BytesRead == 2 )… in phFriNfc_Desfire_Process()
861BytesRead += PH_FRINFC_NDEFMAP_DESF_NLEN_SIZE_IN_BYTES; /* to take care of first 2 len bytes*/ in phFriNfc_Desfire_Process()
870 if ( ( BytesRead == SendRecLen ) && in phFriNfc_Desfire_Process()
/external/chromium_org/chrome/browser/extensions/
Dcontent_verifier_browsertest.cc63 virtual ContentVerifyJob::FailureReason BytesRead(const ExtensionId& id, in BytesRead() function in extensions::__anon7e56108e0111::JobDelegate
Duser_script_loader.cc54 job->BytesRead(content.size(), content.data()); in VerifyContent()
/external/chromium_org/chrome/browser/task_manager/
Dtask_manager.h435 void BytesRead(BytesReadParam param);
Dtask_manager.cc1316 void TaskManagerModel::BytesRead(BytesReadParam param) { in BytesRead() function in TaskManagerModel
1343 BytesRead(param); in BytesRead()
1365 BytesRead(*it); in MultipleBytesRead()