Searched defs:error_ptr (Results 1 - 22 of 22) sorted by relevance

/external/lldb/source/API/
H A DSBHostOS.cpp47 SBError *error_ptr
53 log->Printf ("SBHostOS::ThreadCreate (name=\"%s\", thread_function=%p, thread_arg=%p, error_ptr=%p)", name,
54 thread_function, thread_arg, error_ptr);
58 return Host::ThreadCreate (name, thread_function, thread_arg, error_ptr ? error_ptr->get() : NULL);
68 SBHostOS::ThreadCancel (lldb::thread_t thread, SBError *error_ptr) argument
70 return Host::ThreadCancel (thread, error_ptr ? error_ptr->get() : NULL);
74 SBHostOS::ThreadDetach (lldb::thread_t thread, SBError *error_ptr) argument
76 return Host::ThreadDetach (thread, error_ptr
80 ThreadJoin(lldb::thread_t thread, void **result, SBError *error_ptr) argument
[all...]
/external/lldb/source/Core/
H A DConnectionSharedMemory.cpp51 ConnectionSharedMemory::Connect (const char *s, Error *error_ptr) argument
61 // if (error_ptr)
62 // error_ptr->SetErrorStringWithFormat ("unsupported connection URL: '%s'", s);
65 if (error_ptr)
66 error_ptr->SetErrorString("invalid connect arguments");
71 ConnectionSharedMemory::Disconnect (Error *error_ptr) argument
87 Error *error_ptr)
94 ConnectionSharedMemory::Write (const void *src, size_t src_len, ConnectionStatus &status, Error *error_ptr) argument
101 ConnectionSharedMemory::BytesAvailable (uint32_t timeout_usec, Error *error_ptr) argument
107 ConnectionSharedMemory::Open (bool create, const char *name, size_t size, Error *error_ptr) argument
83 Read(void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
[all...]
H A DConnectionMachPort.cpp53 ConnectionMachPort::Connect (const char *s, Error *error_ptr) argument
57 if (error_ptr)
58 error_ptr->SetErrorString ("already connected");
64 if (error_ptr)
65 error_ptr->SetErrorString ("empty connect URL");
77 status = BootstrapCheckIn (s, error_ptr);
81 if (error_ptr)
82 error_ptr->SetErrorString ("bootstrap port name is empty");
90 status = BootstrapLookup (s, error_ptr);
94 if (error_ptr)
119 BootstrapCheckIn(const char *port, Error *error_ptr) argument
155 BootstrapLookup(const char *port, Error *error_ptr) argument
198 Disconnect(Error *error_ptr) argument
216 Read(void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
239 Write(const void *src, size_t src_len, ConnectionStatus &status, Error *error_ptr) argument
259 BytesAvailable(uint32_t timeout_usec, Error *error_ptr) argument
[all...]
H A DCommunication.cpp82 Communication::Connect (const char *url, Error *error_ptr) argument
90 return connection_sp->Connect (url, error_ptr);
91 if (error_ptr)
92 error_ptr->SetErrorString("Invalid connection.");
97 Communication::Disconnect (Error *error_ptr) argument
104 ConnectionStatus status = connection_sp->Disconnect (error_ptr);
136 Communication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
158 if (error_ptr)
159 error_ptr->SetErrorString("Invalid connection.");
196 return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr);
207 Write(const void *src, size_t src_len, ConnectionStatus &status, Error *error_ptr) argument
230 StartReadThread(Error *error_ptr) argument
253 StopReadThread(Error *error_ptr) argument
318 ReadFromConnection(void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
[all...]
H A DConnectionFileDescriptor.cpp55 Error *error_ptr)
67 if (error_ptr)
68 error_ptr->Clear();
76 if (error_ptr)
77 error_ptr->SetErrorStringWithFormat("invalid host:port specification: '%s'", host_and_port);
176 ConnectionFileDescriptor::Connect (const char *s, Error *error_ptr) argument
192 return SocketListen (listen_port, error_ptr);
197 return NamedSocketAccept (s + strlen("unix-accept://"), error_ptr);
201 return ConnectTCP (s + strlen("connect://"), error_ptr);
205 return ConnectTCP (s + strlen("tcp-connect://"), error_ptr);
51 DecodeHostAndPort(const char *host_and_port, std::string &host_str, std::string &port_str, int32_t& port, Error *error_ptr) argument
318 Disconnect(Error *error_ptr) argument
389 Read(void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
505 Write(const void *src, size_t src_len, ConnectionStatus &status, Error *error_ptr) argument
640 BytesAvailable(uint32_t timeout_usec, Error *error_ptr) argument
790 BytesAvailable(uint32_t timeout_usec, Error *error_ptr) argument
[all...]
H A DValue.cpp183 Value::GetValueByteSize (Error *error_ptr) argument
205 if (error_ptr)
209 if (error_ptr->Success())
210 error_ptr->SetErrorString("Unable to determine byte size.");
214 error_ptr->Clear();
/external/lldb/source/Host/common/
H A DFile.cpp322 File::SeekFromStart (off_t offset, Error *error_ptr) argument
329 if (error_ptr)
332 error_ptr->SetErrorToErrno();
334 error_ptr->Clear();
341 if (error_ptr)
344 error_ptr->SetErrorToErrno();
346 error_ptr->Clear();
349 else if (error_ptr)
351 error_ptr->SetErrorString("invalid file handle");
357 File::SeekFromCurrent (off_t offset, Error *error_ptr) argument
392 SeekFromEnd(off_t offset, Error *error_ptr) argument
[all...]
H A DFileSpec.cpp790 FileSpec::ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const
810 if (error_ptr)
811 *error_ptr = error;
827 FileSpec::ReadFileContents (off_t file_offset, size_t file_size, Error *error_ptr) const
846 if (error_ptr)
847 *error_ptr = error;
852 FileSpec::ReadFileContentsAsCString(Error *error_ptr) argument
873 if (error_ptr)
874 *error_ptr = error;
/external/lldb/source/Expression/
H A DDWARFExpression.cpp721 Error *error_ptr,
727 if (error_ptr)
728 error_ptr->SetErrorStringWithFormat("No register context in frame.\n");
735 if (error_ptr)
736 error_ptr->SetErrorStringWithFormat("Unable to convert register kind=%u reg_num=%u to a native register number.\n", reg_kind, reg_num);
749 if (error_ptr)
750 error_ptr->Clear();
757 if (error_ptr)
758 error_ptr->SetErrorStringWithFormat ("register %s can't be converted to a scalar value",
764 if (error_ptr)
716 ReadRegisterValueAsScalar( RegisterContext *reg_ctx, uint32_t reg_kind, uint32_t reg_num, Error *error_ptr, Value &value ) argument
[all...]
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp96 GDBRemoteCommunicationClient::HandshakeWithServer (Error *error_ptr) argument
103 if (error_ptr)
104 error_ptr->SetErrorString("failed to send the handshake ack");
/external/pdfium/third_party/lpng_v163/
H A Dpngerror.c803 png_set_error_fn(png_structrp png_ptr, png_voidp error_ptr, argument
809 png_ptr->error_ptr = error_ptr;
819 /* This function returns a pointer to the error_ptr associated with the user
829 return ((png_voidp)png_ptr->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);
H A Dpngwrite.c476 png_create_write_struct,(png_const_charp user_png_ver, png_voidp error_ptr,
480 png_structrp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
483 return png_create_write_struct_2(user_png_ver, error_ptr, error_fn,
489 png_create_write_struct_2,(png_const_charp user_png_ver, png_voidp error_ptr,
493 png_structrp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
475 PNG_FUNCTION(png_structp,PNGAPI png_create_write_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn),PNG_ALLOCATED) argument
H A Dpngread.c25 png_create_read_struct,(png_const_charp user_png_ver, png_voidp error_ptr,
29 png_structp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
32 return png_create_read_struct_2(user_png_ver, error_ptr, error_fn,
40 png_create_read_struct_2,(png_const_charp user_png_ver, png_voidp error_ptr,
44 png_structp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
24 PNG_FUNCTION(png_structp,PNGAPI png_create_read_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn),PNG_ALLOCATED) argument
H A Dpngstruct.h156 png_voidp error_ptr; /* user supplied struct for error functions */ member in struct:png_struct_def
H A Dpng.c223 png_create_png_struct,(png_const_charp user_png_ver, png_voidp error_ptr,
263 /* (*error_fn) can return control to the caller after the error_ptr is set,
268 png_set_error_fn(&create_struct, error_ptr, error_fn, warn_fn);
222 PNG_FUNCTION(png_structp , png_create_png_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED) argument
/external/libpng/
H A Dpngwrite.c487 png_create_write_struct,(png_const_charp user_png_ver, png_voidp error_ptr,
491 png_structrp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
494 return png_create_write_struct_2(user_png_ver, error_ptr, error_fn,
500 png_create_write_struct_2,(png_const_charp user_png_ver, png_voidp error_ptr,
504 png_structrp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
486 PNG_FUNCTION(png_structp,PNGAPI png_create_write_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn),PNG_ALLOCATED) argument
H A Dpngread.c26 png_create_read_struct,(png_const_charp user_png_ver, png_voidp error_ptr,
30 png_structp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
33 return png_create_read_struct_2(user_png_ver, error_ptr, error_fn,
41 png_create_read_struct_2,(png_const_charp user_png_ver, png_voidp error_ptr,
45 png_structp png_ptr = png_create_png_struct(user_png_ver, error_ptr,
25 PNG_FUNCTION(png_structp,PNGAPI png_create_read_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn),PNG_ALLOCATED) argument
H A Dpngstruct.h155 png_voidp error_ptr; /* user supplied struct for error functions */ member in struct:png_struct_def
H A Dpng.c230 png_create_png_struct,(png_const_charp user_png_ver, png_voidp error_ptr,
274 /* (*error_fn) can return control to the caller after the error_ptr is set,
279 png_set_error_fn(&create_struct, error_ptr, error_fn, warn_fn);
229 PNG_FUNCTION(png_structp , png_create_png_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED) argument
/external/lldb/source/Target/
H A DStackFrame.cpp1109 StackFrame::GetFrameBaseValue (Scalar &frame_base, Error *error_ptr) argument
1146 if (error_ptr)
1147 *error_ptr = m_frame_base_error;
H A DTarget.cpp1539 Target::GetSharedModule (const ModuleSpec &module_spec, Error *error_ptr) argument
1627 if (error_ptr)
1628 error_ptr->SetErrorString("debug info files aren't valid target modules, please specify an executable");
1631 if (error_ptr)
1632 error_ptr->SetErrorString("stub libraries aren't valid target modules, please specify an executable");
1635 if (error_ptr)
1636 error_ptr->SetErrorString("unsupported file type, please specify an executable");
1674 if (error_ptr)
1675 *error_ptr = error;
/external/libpng/contrib/libtests/
H A Dpngstest.c2057 png_uint_16 *error_ptr; member in struct:__anon10841
2111 result->error_ptr = gpc_error_via_linear[in_format][out_format];
2122 result->error_ptr = gpc_error_to_colormap[in_base][out_base];
2138 result->error_ptr = gpc_error[in_format][out_format];
2247 result->error[0] = result->error_ptr[0];
2248 result->error[1] = result->error_ptr[1];
2249 result->error[2] = result->error_ptr[2];
2250 result->error[3] = result->error_ptr[3];
2733 tr.error_ptr[0] = tr.error[0];
2734 tr.error_ptr[
[all...]

Completed in 737 milliseconds