Home
last modified time | relevance | path

Searched refs:error_ptr (Results 1 – 25 of 45) sorted by relevance

12

/external/lldb/source/Core/
DConnectionMachPort.cpp53 ConnectionMachPort::Connect (const char *s, Error *error_ptr) in Connect() argument
57 if (error_ptr) in Connect()
58 error_ptr->SetErrorString ("already connected"); in Connect()
64 if (error_ptr) in Connect()
65 error_ptr->SetErrorString ("empty connect URL"); in Connect()
77 status = BootstrapCheckIn (s, error_ptr); in Connect()
81 if (error_ptr) in Connect()
82 error_ptr->SetErrorString ("bootstrap port name is empty"); in Connect()
90 status = BootstrapLookup (s, error_ptr); in Connect()
94 if (error_ptr) in Connect()
[all …]
DConnectionFileDescriptor.cpp55 Error *error_ptr) in DecodeHostAndPort() argument
67 if (error_ptr) in DecodeHostAndPort()
68 error_ptr->Clear(); in DecodeHostAndPort()
76 if (error_ptr) in DecodeHostAndPort()
77 error_ptr->SetErrorStringWithFormat("invalid host:port specification: '%s'", host_and_port); in DecodeHostAndPort()
176 ConnectionFileDescriptor::Connect (const char *s, Error *error_ptr) in Connect() argument
192 return SocketListen (listen_port, error_ptr); in Connect()
197 return NamedSocketAccept (s + strlen("unix-accept://"), error_ptr); in Connect()
201 return ConnectTCP (s + strlen("connect://"), error_ptr); in Connect()
205 return ConnectTCP (s + strlen("tcp-connect://"), error_ptr); in Connect()
[all …]
DCommunication.cpp82 Communication::Connect (const char *url, Error *error_ptr) in Connect() argument
90 return connection_sp->Connect (url, error_ptr); in Connect()
91 if (error_ptr) in Connect()
92 error_ptr->SetErrorString("Invalid connection."); in Connect()
97 Communication::Disconnect (Error *error_ptr) in Disconnect() argument
104 ConnectionStatus status = connection_sp->Disconnect (error_ptr); in Disconnect()
136 …Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) in Read() argument
158 if (error_ptr) in Read()
159 error_ptr->SetErrorString("Invalid connection."); in Read()
196 return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr); in Read()
[all …]
DConnectionSharedMemory.cpp51 ConnectionSharedMemory::Connect (const char *s, Error *error_ptr) in Connect() argument
65 if (error_ptr) in Connect()
66 error_ptr->SetErrorString("invalid connect arguments"); in Connect()
71 ConnectionSharedMemory::Disconnect (Error *error_ptr) in Disconnect() argument
87 Error *error_ptr) in Read() argument
94 …onSharedMemory::Write (const void *src, size_t src_len, ConnectionStatus &status, Error *error_ptr) in Write() argument
101 ConnectionSharedMemory::BytesAvailable (uint32_t timeout_usec, Error *error_ptr) in BytesAvailable() argument
107 ConnectionSharedMemory::Open (bool create, const char *name, size_t size, Error *error_ptr) in Open() argument
111 if (error_ptr) in Open()
112 error_ptr->SetErrorString("already open"); in Open()
DValue.cpp183 Value::GetValueByteSize (Error *error_ptr) in GetValueByteSize() argument
205 if (error_ptr) in GetValueByteSize()
209 if (error_ptr->Success()) in GetValueByteSize()
210 error_ptr->SetErrorString("Unable to determine byte size."); in GetValueByteSize()
214 error_ptr->Clear(); in GetValueByteSize()
/external/lldb/source/Expression/
DDWARFExpression.cpp721 Error *error_ptr, in ReadRegisterValueAsScalar() argument
727 if (error_ptr) in ReadRegisterValueAsScalar()
728 error_ptr->SetErrorStringWithFormat("No register context in frame.\n"); in ReadRegisterValueAsScalar()
735 if (error_ptr) in ReadRegisterValueAsScalar()
736error_ptr->SetErrorStringWithFormat("Unable to convert register kind=%u reg_num=%u to a native reg… in ReadRegisterValueAsScalar()
749 if (error_ptr) in ReadRegisterValueAsScalar()
750 error_ptr->Clear(); in ReadRegisterValueAsScalar()
757 if (error_ptr) in ReadRegisterValueAsScalar()
758error_ptr->SetErrorStringWithFormat ("register %s can't be converted to a scalar value", in ReadRegisterValueAsScalar()
764 if (error_ptr) in ReadRegisterValueAsScalar()
[all …]
/external/lldb/source/API/
DSBHostOS.cpp47 SBError *error_ptr in ThreadCreate() argument
54 thread_function, thread_arg, error_ptr); in ThreadCreate()
58 …return Host::ThreadCreate (name, thread_function, thread_arg, error_ptr ? error_ptr->get() : NULL); in ThreadCreate()
68 SBHostOS::ThreadCancel (lldb::thread_t thread, SBError *error_ptr) in ThreadCancel() argument
70 return Host::ThreadCancel (thread, error_ptr ? error_ptr->get() : NULL); in ThreadCancel()
74 SBHostOS::ThreadDetach (lldb::thread_t thread, SBError *error_ptr) in ThreadDetach() argument
76 return Host::ThreadDetach (thread, error_ptr ? error_ptr->get() : NULL); in ThreadDetach()
80 SBHostOS::ThreadJoin (lldb::thread_t thread, void **result, SBError *error_ptr) in ThreadJoin() argument
82 return Host::ThreadJoin (thread, result, error_ptr ? error_ptr->get() : NULL); in ThreadJoin()
/external/lldb/source/Host/common/
DFile.cpp322 File::SeekFromStart (off_t offset, Error *error_ptr) in SeekFromStart() argument
329 if (error_ptr) in SeekFromStart()
332 error_ptr->SetErrorToErrno(); in SeekFromStart()
334 error_ptr->Clear(); in SeekFromStart()
341 if (error_ptr) in SeekFromStart()
344 error_ptr->SetErrorToErrno(); in SeekFromStart()
346 error_ptr->Clear(); in SeekFromStart()
349 else if (error_ptr) in SeekFromStart()
351 error_ptr->SetErrorString("invalid file handle"); in SeekFromStart()
357 File::SeekFromCurrent (off_t offset, Error *error_ptr) in SeekFromCurrent() argument
[all …]
DFileSpec.cpp790 FileSpec::ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const in ReadFileContents()
810 if (error_ptr) in ReadFileContents()
811 *error_ptr = error; in ReadFileContents()
827 FileSpec::ReadFileContents (off_t file_offset, size_t file_size, Error *error_ptr) const in ReadFileContents()
846 if (error_ptr) in ReadFileContents()
847 *error_ptr = error; in ReadFileContents()
852 FileSpec::ReadFileContentsAsCString(Error *error_ptr) in ReadFileContentsAsCString() argument
873 if (error_ptr) in ReadFileContentsAsCString()
874 *error_ptr = error; in ReadFileContentsAsCString()
/external/lldb/include/lldb/Core/
DConnectionFileDescriptor.h44 Connect (const char *s, Error *error_ptr);
47 Disconnect (Error *error_ptr);
54 Error *error_ptr);
60 Error *error_ptr);
81 BytesAvailable (uint32_t timeout_usec, Error *error_ptr);
84 SocketListen (uint16_t listen_port_num, Error *error_ptr);
87 ConnectTCP (const char *host_and_port, Error *error_ptr);
90 ConnectUDP (const char *args, Error *error_ptr);
93 NamedSocketAccept (const char *socket_name, Error *error_ptr);
96 NamedSocketConnect (const char *socket_name, Error *error_ptr);
DConnectionMachPort.h37 BytesAvailable (uint32_t timeout_usec, lldb_private::Error *error_ptr);
40 Connect (const char *s, lldb_private::Error *error_ptr);
43 Disconnect (lldb_private::Error *error_ptr);
50 lldb_private::Error *error_ptr);
56 lldb_private::Error *error_ptr);
60 lldb_private::Error *error_ptr);
64 lldb_private::Error *error_ptr);
DConnectionSharedMemory.h38 BytesAvailable (uint32_t timeout_usec, Error *error_ptr);
41 Connect (const char *s, Error *error_ptr);
44 Disconnect (Error *error_ptr);
51 Error *error_ptr);
54 Write (const void *src, size_t src_len, lldb::ConnectionStatus &status, Error *error_ptr);
57 Open (bool create, const char *name, size_t size, Error *error_ptr);
DCommunication.h141 Connect (const char *url, Error *error_ptr);
156 Disconnect (Error *error_ptr = NULL);
211 Error *error_ptr);
234 Error *error_ptr);
277 StartReadThread (Error *error_ptr = NULL);
287 StopReadThread (Error *error_ptr = NULL);
365 Error *error_ptr);
DConnection.h69 Connect (const char *url, Error *error_ptr) = 0;
88 Disconnect (Error *error_ptr) = 0;
126 Error *error_ptr) = 0;
151 Write (const void *buffer, size_t length, lldb::ConnectionStatus &status, Error *error_ptr) = 0;
/external/lldb/include/lldb/Host/
DFileSpec.h527 ReadFileContents (off_t offset = 0, size_t length = SIZE_MAX, Error *error_ptr = NULL) const;
530 ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const;
546 ReadFileContentsAsCString(Error *error_ptr = NULL);
DFile.h297 SeekFromStart (off_t offset, Error *error_ptr = NULL);
320 SeekFromCurrent (off_t offset, Error *error_ptr = NULL);
344 SeekFromEnd (off_t offset, Error *error_ptr = NULL);
/external/lldb/include/lldb/Expression/
DDWARFExpression.h258 Error *error_ptr) const;
272 Error *error_ptr) const;
341 Error *error_ptr);
/external/lldb/source/Interpreter/
DArgs.cpp792 …Address (const ExecutionContext *exe_ctx, const char *s, lldb::addr_t fail_value, Error *error_ptr) in StringToAddress() argument
801 if (error_ptr) in StringToAddress()
802 error_ptr->Clear(); in StringToAddress()
809 if (error_ptr) in StringToAddress()
810 error_ptr->Clear(); in StringToAddress()
838 if (error_ptr) in StringToAddress()
839 error_ptr->Clear(); in StringToAddress()
844 if (error_ptr) in StringToAddress()
847error_ptr->SetErrorStringWithFormat("address expression \"%s\" resulted in a value whose type can'… in StringToAddress()
892 if (error_ptr) in StringToAddress()
[all …]
/external/pdfium/third_party/lpng_v163/
Dpngerror.c803 png_set_error_fn(png_structrp png_ptr, png_voidp error_ptr, in png_set_error_fn() argument
809 png_ptr->error_ptr = error_ptr; in png_set_error_fn()
829 return ((png_voidp)png_ptr->error_ptr); in png_get_error_ptr()
857 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
892 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr); in png_safe_warning()
/external/libpng/
Dpngerror.c835 png_set_error_fn(png_structrp png_ptr, png_voidp error_ptr,
841 png_ptr->error_ptr = error_ptr;
861 return ((png_voidp)png_ptr->error_ptr);
889 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
924 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
/external/libpng/contrib/libtests/
Dpngstest.c2057 png_uint_16 *error_ptr; member
2111 result->error_ptr = gpc_error_via_linear[in_format][out_format]; in transform_from_formats()
2122 result->error_ptr = gpc_error_to_colormap[in_base][out_base]; in transform_from_formats()
2138 result->error_ptr = gpc_error[in_format][out_format]; in transform_from_formats()
2247 result->error[0] = result->error_ptr[0]; in transform_from_formats()
2248 result->error[1] = result->error_ptr[1]; in transform_from_formats()
2249 result->error[2] = result->error_ptr[2]; in transform_from_formats()
2250 result->error[3] = result->error_ptr[3]; in transform_from_formats()
2733 tr.error_ptr[0] = tr.error[0]; in compare_two_images()
2734 tr.error_ptr[1] = tr.error[1]; in compare_two_images()
[all …]
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServer.h54 HandshakeWithClient (lldb_private::Error *error_ptr);
/external/pdfium/core/src/fxcodec/lgif/
Dfx_gif.h129 CGifLZWDecoder(FX_CHAR* error_ptr = NULL) { err_msg_ptr = error_ptr; }
/external/lldb/source/Target/
DTarget.cpp1539 Target::GetSharedModule (const ModuleSpec &module_spec, Error *error_ptr) in GetSharedModule() argument
1627 if (error_ptr) in GetSharedModule()
1628error_ptr->SetErrorString("debug info files aren't valid target modules, please specify an executa… in GetSharedModule()
1631 if (error_ptr) in GetSharedModule()
1632error_ptr->SetErrorString("stub libraries aren't valid target modules, please specify an executabl… in GetSharedModule()
1635 if (error_ptr) in GetSharedModule()
1636error_ptr->SetErrorString("unsupported file type, please specify an executable"); in GetSharedModule()
1674 if (error_ptr) in GetSharedModule()
1675 *error_ptr = error; in GetSharedModule()
/external/lldb/include/lldb/Target/
DStackFrame.h89 GetFrameBaseValue(Scalar &value, Error *error_ptr);

12