Searched refs:buffer_or_error (Results 1 – 5 of 5) sorted by relevance
18 auto buffer_or_error = GetAuxvData(); in GetAuxValue() local19 if (!buffer_or_error) in GetAuxValue()21 DataExtractor auxv_data(buffer_or_error.get()->getBufferStart(), in GetAuxValue()22 buffer_or_error.get()->getBufferSize(), in GetAuxValue()
38 auto buffer_or_error = llvm::MemoryBuffer::getFile(input_spec.GetPath()); in ParseJSONFromFile() local39 if (!buffer_or_error) { in ParseJSONFromFile()42 buffer_or_error.getError().message()); in ParseJSONFromFile()46 json::parse(buffer_or_error.get()->getBuffer().str()); in ParseJSONFromFile()
102 auto buffer_or_error = llvm::MemoryBuffer::getFile(json_file.GetPath()); in DoExecute() local103 if (!buffer_or_error) { in DoExecute()107 buffer_or_error.getError().message().c_str())); in DoExecute()111 json::parse(buffer_or_error.get()->getBuffer().str()); in DoExecute()
309 auto buffer_or_error = in CreateDataBuffer() local311 if (!buffer_or_error) in CreateDataBuffer()313 buffer = std::move(*buffer_or_error); in CreateDataBuffer()315 auto buffer_or_error = llvm::WritableMemoryBuffer::getFileSlice( in CreateDataBuffer() local317 if (!buffer_or_error) in CreateDataBuffer()319 buffer = std::move(*buffer_or_error); in CreateDataBuffer()
2943 auto buffer_or_error = m_debugged_process_up->GetAuxvData(); in ReadXferObject() local2944 if (!buffer_or_error) in ReadXferObject()2945 return llvm::errorCodeToError(buffer_or_error.getError()); in ReadXferObject()2946 return std::move(*buffer_or_error); in ReadXferObject()