Home
last modified time | relevance | path

Searched refs:SetError (Results 1 – 25 of 150) sorted by relevance

123456

/external/ukey2/src/main/cpp/src/securegcm/
Dukey2_handshake.cc155 SetError(stream.str()); in GetNextHandshakeMessage()
167 SetError(stream.str()); in GetNextHandshakeMessage()
186 SetError(stream.str()); in ParseHandshakeMessage()
193 SetError("Minimum length is 1 byte, max is 32 bytes."); in GetVerificationString()
200 SetError(stream.str()); in GetVerificationString()
205 SetError("One of our private key or their public key is null."); in GetVerificationString()
220 SetError("Failed to derive shared secret key."); in GetVerificationString()
237 SetError(stream.str()); in VerifyHandshake()
251 SetError(stream.str()); in ToConnectionContext()
256 SetError("Derived key is null."); in ToConnectionContext()
[all …]
/external/llvm-project/lldb/tools/intel-features/intel-mpx/
Dcli-wrapper-mpxtable.cpp27 result.SetError("Bad argument."); in GetPtr()
34 result.SetError("Invalid pointer."); in GetPtr()
106 result.SetError("Invalid arch."); in GetBTEntryAddr()
121 result.SetError("Failed access to BD entry."); in GetBTEntryAddr()
131 result.SetError("Failed access to BD entry."); in GetBTEntryAddr()
136 result.SetError("Invalid bound directory."); in GetBTEntryAddr()
172 result.SetError("Unsuccessful. Failed access to BT entry."); in GetBTEntry()
196 result.SetError("Failed access to BT entry."); in GetBTEntry()
241 result.SetError("Failed access to BT entry."); in SetBTEntry()
257 result.SetError("Invalid target."); in GetInitInfo()
[all …]
/external/rust/crates/tokio/src/sync/
Donce_cell.rs177 pub fn set(&self, value: T) -> Result<(), SetError<T>> { in set()
198 return Err(SetError::InitializingError(value)); in set()
204 Err(SetError::AlreadyInitializedError(value)) in set()
360 pub enum SetError<T> { enum
373 impl<T> fmt::Display for SetError<T> { implementation
376 SetError::AlreadyInitializedError(_) => write!(f, "AlreadyInitializedError"), in fmt()
377 SetError::InitializingError(_) => write!(f, "InitializingError"), in fmt()
382 impl<T: fmt::Debug> Error for SetError<T> {} implementation
384 impl<T> SetError<T> { impl
388 SetError::AlreadyInitializedError(_) => true, in is_already_init_err()
[all …]
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp652 SetError( TIXML_ERROR_PARSING_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); in StreamIn()
664 SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); in StreamIn()
693 SetError( TIXML_ERROR, 0, 0, TIXML_ENCODING_UNKNOWN ); in StreamIn()
699 SetError( TIXML_ERROR, 0, 0, TIXML_ENCODING_UNKNOWN ); in StreamIn()
713 SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); in Parse()
750 SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, TIXML_ENCODING_UNKNOWN ); in Parse()
790 SetError( TIXML_ERROR_DOCUMENT_EMPTY, 0, 0, encoding ); in Parse()
798 void TiXmlDocument::SetError( int err, const char* pError, TiXmlParsingData* data, TiXmlEncoding en… in SetError() function in TiXmlDocument
914 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); in StreamIn()
976 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ); in StreamIn()
[all …]
/external/llvm-project/lldb/source/Commands/
DCommandObjectReproducer.cpp140 static void SetError(CommandReturnObject &result, Error err) { in SetError() function
157 SetError(result, std::move(err)); in GetLoaderFromPathOrCurrent()
167 result.SetError("Not specifying a reproducer is only support during replay."); in GetLoaderFromPathOrCurrent()
196 SetError(result, std::move(e)); in DoExecute()
282 result.SetError( in DoExecute()
432 SetError(result, errorCodeToError(buffer.getError())); in DoExecute()
455 SetError(result, symbol_files.takeError()); in DoExecute()
477 SetError(result, version.takeError()); in DoExecute()
488 SetError(result, cwd.takeError()); in DoExecute()
499 SetError(result, home.takeError()); in DoExecute()
[all …]
/external/llvm-project/lldb/examples/python/
Dlldb_module_utils.py50 result.SetError("option parsing failed")
56 result.SetError("invalid target")
62 result.SetError('no module found that matches "%s".' % (module_path))
148 result.SetError("option parsing failed")
154 result.SetError("invalid target")
158 result.SetError("one or more executable paths must be specified")
164 result.SetError('no module found that matches "%s".' % (module_path))
/external/llvm-project/lldb/source/Host/posix/
DHostThreadPosix.cpp29 error.SetError(err, lldb::eErrorTypePOSIX); in Join()
33 error.SetError(EINVAL, eErrorTypePOSIX); in Join()
47 error.SetError(err, eErrorTypePOSIX); in Cancel()
57 error.SetError(err, eErrorTypePOSIX); in Detach()
/external/llvm-project/lldb/source/API/
DSBError.cpp97 void SBError::SetError(uint32_t err, ErrorType type) { in SetError() function in SBError
98 LLDB_RECORD_METHOD(void, SBError, SetError, (uint32_t, lldb::ErrorType), err, in SetError()
102 m_opaque_up->SetError(err, type); in SetError()
105 void SBError::SetError(const Status &lldb_error) { in SetError() function in SBError
202 LLDB_REGISTER_METHOD(void, SBError, SetError, (uint32_t, lldb::ErrorType)); in RegisterMethods()
DSBCommandReturnObject.cpp350 void SBCommandReturnObject::SetError(lldb::SBError &error, in SetError() function in SBCommandReturnObject
352 LLDB_RECORD_METHOD(void, SBCommandReturnObject, SetError, in SetError()
357 ref().SetError(error.ref(), fallback_error_cstr); in SetError()
359 ref().SetError(Status(), fallback_error_cstr); in SetError()
362 void SBCommandReturnObject::SetError(const char *error_cstr) { in SetError() function in SBCommandReturnObject
363 LLDB_RECORD_METHOD(void, SBCommandReturnObject, SetError, (const char *), in SetError()
367 ref().SetError(error_cstr); in SetError()
429 LLDB_REGISTER_METHOD(void, SBCommandReturnObject, SetError, in RegisterMethods()
431 LLDB_REGISTER_METHOD(void, SBCommandReturnObject, SetError, (const char *)); in RegisterMethods()
DSBTrace.cpp40 error.SetError( in GetTraceData()
59 error.SetError( in GetMetaData()
76 error.SetError(process_sp->StopTrace(GetTraceUID(), thread_id)); in StopTrace()
89 error.SetError(process_sp->GetTraceConfig(GetTraceUID(), in GetTraceConfig()
DSBFile.cpp69 error.SetError(status); in Read()
87 error.SetError(status); in Write()
101 error.SetError(status); in Flush()
116 error.SetError(status); in Close()
DSBHostOS.cpp114 error_ptr->SetError(Status(thread.takeError())); in ThreadCreate()
137 error_ptr->SetError(error); in ThreadCancel()
155 error_ptr->SetError(error); in ThreadDetach()
172 error_ptr->SetError(error); in ThreadJoin()
/external/llvm-project/lldb/source/Host/windows/
DHostProcessWindows.cpp43 error.SetError(ERROR_INVALID_HANDLE, lldb::eErrorTypeWin32); in Terminate()
46 error.SetError(::GetLastError(), lldb::eErrorTypeWin32); in Terminate()
54 error.SetError(ERROR_INVALID_HANDLE, lldb::eErrorTypeWin32); in GetMainModule()
64 error.SetError(::GetLastError(), lldb::eErrorTypeWin32); in GetMainModule()
DFileSystem.cpp40 error.SetError(::GetLastError(), lldb::eErrorTypeWin32); in Symlink()
47 error.SetError(::GetLastError(), lldb::eErrorTypeWin32); in Symlink()
63 error.SetError(::GetLastError(), lldb::eErrorTypeWin32); in Readlink()
74 error.SetError(::GetLastError(), lldb::eErrorTypeWin32); in Readlink()
DHostThreadWindows.cpp45 error.SetError(::GetLastError(), eErrorTypeWin32); in Join()
47 error.SetError(ERROR_INVALID_HANDLE, eErrorTypeWin32); in Join()
57 error.SetError(result, eErrorTypeWin32); in Cancel()
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DRegisterContextDarwin_arm64.cpp175 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
183 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
191 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
199 SetError(set, Read, DoReadDBG(GetThreadID(), set, dbg)); in ReadDBG()
207 SetError(set, Write, -1); in WriteGPR()
210 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
211 SetError(set, Read, -1); in WriteGPR()
218 SetError(set, Write, -1); in WriteFPU()
221 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
222 SetError(set, Read, -1); in WriteFPU()
[all …]
DRegisterContextDarwin_i386.cpp505 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
513 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
521 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
529 SetError(set, Write, -1); in WriteGPR()
532 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
533 SetError(set, Read, -1); in WriteGPR()
540 SetError(set, Write, -1); in WriteFPU()
543 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
544 SetError(set, Read, -1); in WriteFPU()
551 SetError(set, Write, -1); in WriteEXC()
[all …]
DRegisterContextDarwin_i386.h121 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates()
122 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates()
123 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates()
144 bool SetError(int flavor, uint32_t err_idx, int err) { in SetError() function
DRegisterContextDarwin_arm64.h132 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates()
133 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates()
134 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates()
157 bool SetError(int flavor, uint32_t err_idx, int err) { in SetError() function
DRegisterContextDarwin_x86_64.h126 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates()
127 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates()
128 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates()
149 bool SetError(int flavor, uint32_t err_idx, int err) { in SetError() function
DRegisterContextDarwin_arm.cpp993 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
1001 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
1009 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
1017 SetError(set, Read, DoReadDBG(GetThreadID(), set, dbg)); in ReadDBG()
1025 SetError(set, Write, -1); in WriteGPR()
1028 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
1029 SetError(set, Read, -1); in WriteGPR()
1036 SetError(set, Write, -1); in WriteFPU()
1039 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
1040 SetError(set, Read, -1); in WriteFPU()
[all …]
DRegisterContextDarwin_x86_64.cpp554 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
562 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
570 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
578 SetError(set, Write, -1); in WriteGPR()
581 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
582 SetError(set, Read, -1); in WriteGPR()
589 SetError(set, Write, -1); in WriteFPU()
592 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
593 SetError(set, Read, -1); in WriteFPU()
600 SetError(set, Write, -1); in WriteEXC()
[all …]
DRegisterContextDarwin_arm.h165 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates()
166 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates()
167 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates()
190 bool SetError(int flavor, uint32_t err_idx, int err) { in SetError() function
/external/llvm-project/lldb/tools/debugserver/source/
DRNBSocket.cpp76 err.SetError(errno, DNBError::MachKernel); in Listen()
134 err.SetError(errno, DNBError::POSIX); in Listen()
159 err.SetError(errno, DNBError::MachKernel); in Listen()
175 err.SetError(errno, DNBError::POSIX); in Listen()
280 err.SetError(errno, DNBError::POSIX); in OpenFile()
328 err.SetError(errno, DNBError::POSIX); in Read()
361 err.SetError(errno, DNBError::POSIX); in Write()
/external/webrtc/rtc_base/
Dopenssl_adapter.cc436 SetError(err); in Error()
482 SetError(EWOULDBLOCK); in DoSslWrite()
486 SetError(EWOULDBLOCK); in DoSslWrite()
489 SetError(EWOULDBLOCK); in DoSslWrite()
514 SetError(ENOTCONN); in Send()
531 SetError(EWOULDBLOCK); in Send()
580 SetError(ENOTCONN); in SendTo()
590 SetError(ENOTCONN); in Recv()
612 SetError(EWOULDBLOCK); in Recv()
616 SetError(EWOULDBLOCK); in Recv()
[all …]

123456