Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 2268) sorted by relevance

12345678910>>...91

/external/dbus/dbus/
Ddbus-errors.c66 message_from_error (const char *error) in message_from_error() argument
68 if (strcmp (error, DBUS_ERROR_FAILED) == 0) in message_from_error()
70 else if (strcmp (error, DBUS_ERROR_NO_MEMORY) == 0) in message_from_error()
72 else if (strcmp (error, DBUS_ERROR_IO_ERROR) == 0) in message_from_error()
74 else if (strcmp (error, DBUS_ERROR_BAD_ADDRESS) == 0) in message_from_error()
76 else if (strcmp (error, DBUS_ERROR_NOT_SUPPORTED) == 0) in message_from_error()
78 else if (strcmp (error, DBUS_ERROR_LIMITS_EXCEEDED) == 0) in message_from_error()
80 else if (strcmp (error, DBUS_ERROR_ACCESS_DENIED) == 0) in message_from_error()
82 else if (strcmp (error, DBUS_ERROR_AUTH_FAILED) == 0) in message_from_error()
84 else if (strcmp (error, DBUS_ERROR_NO_SERVER) == 0) in message_from_error()
[all …]
Ddbus-address.c65 _dbus_set_bad_address (DBusError *error, in _dbus_set_bad_address() argument
71 dbus_set_error (error, DBUS_ERROR_BAD_ADDRESS, in _dbus_set_bad_address()
75 dbus_set_error (error, DBUS_ERROR_BAD_ADDRESS, in _dbus_set_bad_address()
270 DBusError *error) in append_unescaped_value() argument
298 dbus_set_error (error, DBUS_ERROR_BAD_ADDRESS, in append_unescaped_value()
317 dbus_set_error (error, DBUS_ERROR_BAD_ADDRESS, in append_unescaped_value()
325 dbus_set_error (error, DBUS_ERROR_BAD_ADDRESS, in append_unescaped_value()
337 if (!ret && error && !dbus_error_is_set (error)) in append_unescaped_value()
338 _DBUS_SET_OOM (error); in append_unescaped_value()
340 _dbus_assert (ret || error == NULL || dbus_error_is_set (error)); in append_unescaped_value()
[all …]
Ddbus-bus.c375 DBusError *error) in internal_bus_get() argument
383 _dbus_return_val_if_error_is_set (error, NULL); in internal_bus_get()
390 _DBUS_SET_OOM (error); in internal_bus_get()
421 dbus_set_error (error, DBUS_ERROR_FAILED, in internal_bus_get()
428 connection = dbus_connection_open_private (address, error); in internal_bus_get()
430 connection = dbus_connection_open (address, error); in internal_bus_get()
434 _DBUS_ASSERT_ERROR_IS_SET (error); in internal_bus_get()
445 if (!dbus_bus_register (connection, error)) in internal_bus_get()
447 _DBUS_ASSERT_ERROR_IS_SET (error); in internal_bus_get()
513 DBusError *error) in dbus_bus_get() argument
[all …]
Ddbus-shell.c277 goto error; in _dbus_shell_unquote()
285 goto error; in _dbus_shell_unquote()
293 goto error; in _dbus_shell_unquote()
297 goto error; in _dbus_shell_unquote()
305 goto error; in _dbus_shell_unquote()
312 error: in _dbus_shell_unquote()
390 DBusError *error) in delimit_token() argument
397 _DBUS_SET_OOM (error); in delimit_token()
404 _DBUS_SET_OOM (error); in delimit_token()
412 tokenize_command_line (const char *command_line, DBusError *error) in tokenize_command_line() argument
[all …]
Ddbus-spawn.c62 DBusError *error) in read_ints() argument
67 _DBUS_ASSERT_ERROR_IS_CLEAR (error); in read_ints()
92 dbus_set_error (error, in read_ints()
117 DBusError *error) in read_pid() argument
122 _DBUS_ASSERT_ERROR_IS_CLEAR (error); in read_pid()
146 dbus_set_error (error, in read_pid()
367 DBusError error; in read_data() local
370 dbus_error_init (&error); in read_data()
372 r = read_ints (fd, &what, 1, &got, &error); in read_data()
377 _dbus_warn ("Failed to read data from fd %d: %s\n", fd, error.message); in read_data()
[all …]
Ddbus-sysdeps-unix.c84 DBusError *error) in _dbus_open_socket() argument
93 dbus_set_error(error, in _dbus_open_socket()
103 DBusError *error) in _dbus_open_tcp_socket() argument
105 return _dbus_open_socket(fd, AF_INET, SOCK_STREAM, 0, error); in _dbus_open_tcp_socket()
117 DBusError *error) in _dbus_open_unix_socket() argument
119 return _dbus_open_socket(fd, PF_UNIX, SOCK_STREAM, 0, error); in _dbus_open_unix_socket()
132 DBusError *error) in _dbus_close_socket() argument
134 return _dbus_close (fd, error); in _dbus_close_socket()
422 DBusError *error) in _dbus_connect_unix_socket() argument
428 _DBUS_ASSERT_ERROR_IS_CLEAR (error); in _dbus_connect_unix_socket()
[all …]
Ddbus-sysdeps-util-unix.c71 DBusError *error) in _dbus_become_daemon() argument
82 dbus_set_error (error, DBUS_ERROR_FAILED, in _dbus_become_daemon()
92 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_become_daemon()
129 error)) in _dbus_become_daemon()
145 _DBUS_SET_OOM (error); in _dbus_become_daemon()
154 _DBUS_SET_OOM (error); in _dbus_become_daemon()
162 dbus_set_error (error, DBUS_ERROR_FAILED, in _dbus_become_daemon()
196 DBusError *error) in _dbus_write_pid_file() argument
208 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_write_pid_file()
216 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_write_pid_file()
[all …]
Ddbus-keyring.c208 DBusError error; in _dbus_keyring_lock() local
210 dbus_error_init (&error); in _dbus_keyring_lock()
212 &error)) in _dbus_keyring_lock()
216 LOCK_TIMEOUT_MILLISECONDS, error.message); in _dbus_keyring_lock()
217 dbus_error_free (&error); in _dbus_keyring_lock()
226 DBusError error; in _dbus_keyring_lock() local
231 dbus_error_init (&error); in _dbus_keyring_lock()
233 if (!_dbus_delete_file (&keyring->filename_lock, &error)) in _dbus_keyring_lock()
236 error.message); in _dbus_keyring_lock()
237 dbus_error_free (&error); in _dbus_keyring_lock()
[all …]
/external/freetype/src/base/
Dftmm.c39 FT_Error error; in ft_face_get_mm_service() local
47 error = FT_Err_Invalid_Argument; in ft_face_get_mm_service()
56 error = FT_Err_Ok; in ft_face_get_mm_service()
59 return error; in ft_face_get_mm_service()
69 FT_Error error; in FT_Get_Multi_Master() local
73 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master()
74 if ( !error ) in FT_Get_Multi_Master()
76 error = FT_Err_Invalid_Argument; in FT_Get_Multi_Master()
78 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master()
81 return error; in FT_Get_Multi_Master()
[all …]
Dftrfork.c56 FT_Error error; in FT_Raccess_Get_HeaderInfo() local
65 error = FT_Stream_Seek( stream, rfork_offset ); in FT_Raccess_Get_HeaderInfo()
66 if ( error ) in FT_Raccess_Get_HeaderInfo()
67 return error; in FT_Raccess_Get_HeaderInfo()
69 error = FT_Stream_Read( stream, (FT_Byte *)head, 16 ); in FT_Raccess_Get_HeaderInfo()
70 if ( error ) in FT_Raccess_Get_HeaderInfo()
71 return error; in FT_Raccess_Get_HeaderInfo()
91 error = FT_Stream_Seek( stream, map_pos ); in FT_Raccess_Get_HeaderInfo()
92 if ( error ) in FT_Raccess_Get_HeaderInfo()
93 return error; in FT_Raccess_Get_HeaderInfo()
[all …]
/external/dbus/bus/
Ddriver.c41 DBusError *error);
48 DBusError *error) in bus_driver_send_service_owner_changed() argument
54 _DBUS_ASSERT_ERROR_IS_CLEAR (error); in bus_driver_send_service_owner_changed()
68 BUS_SET_OOM (error); in bus_driver_send_service_owner_changed()
84 retval = bus_dispatch_matches (transaction, NULL, NULL, message, error); in bus_driver_send_service_owner_changed()
91 BUS_SET_OOM (error); in bus_driver_send_service_owner_changed()
99 DBusError *error) in bus_driver_send_service_lost() argument
103 _DBUS_ASSERT_ERROR_IS_CLEAR (error); in bus_driver_send_service_lost()
111 BUS_SET_OOM (error); in bus_driver_send_service_lost()
121 BUS_SET_OOM (error); in bus_driver_send_service_lost()
[all …]
/external/freetype/src/pshinter/
Dpshrec.c67 FT_Error error = PSH_Err_Ok; in ps_hint_table_ensure() local
77 return error; in ps_hint_table_ensure()
86 FT_Error error = PSH_Err_Ok; in ps_hint_table_alloc() local
96 error = ps_hint_table_ensure( table, count, memory ); in ps_hint_table_alloc()
97 if ( error ) in ps_hint_table_alloc()
110 return error; in ps_hint_table_alloc()
142 FT_Error error = PSH_Err_Ok; in ps_mask_ensure() local
151 return error; in ps_mask_ensure()
189 FT_Error error = PSH_Err_Ok; in ps_mask_set_bit() local
198 error = ps_mask_ensure( mask, idx + 1, memory ); in ps_mask_set_bit()
[all …]
/external/bluetooth/glib/tests/gobject/
Dgvalue-test.c113 gchar *error; in collect() local
116 error = NULL; in collect()
119 G_VALUE_COLLECT (value, var_args, 0, &error); in collect()
122 return error; in collect()
128 gchar *error; in lcopy() local
131 error = NULL; in lcopy()
134 G_VALUE_LCOPY (value, var_args, 0, &error); in lcopy()
137 return error; in lcopy()
144 gchar *error; in test_collection() local
147 error = collect (&value, 'c'); in test_collection()
[all …]
/external/bluetooth/glib/gio/tests/
Dlive-g-file.c127 GError *error; in create_empty_file() local
133 error = NULL; in create_empty_file()
134 outs = g_file_replace (child, NULL, FALSE, create_flags, NULL, &error); in create_empty_file()
135 g_assert_no_error (error); in create_empty_file()
137 error = NULL; in create_empty_file()
138 res = g_output_stream_close (G_OUTPUT_STREAM (outs), NULL, &error); in create_empty_file()
148 GError *error; in create_empty_dir() local
152 error = NULL; in create_empty_dir()
153 res = g_file_make_directory (child, NULL, &error); in create_empty_dir()
155 g_assert_no_error (error); in create_empty_dir()
[all …]
Ddesktop-app-info.c33 GError *error; in create_app_info() local
36 error = NULL; in create_app_info()
40 &error); in create_app_info()
41 g_assert (error == NULL); in create_app_info()
44 g_app_info_set_as_default_for_type (info, "application/x-blah", &error); in create_app_info()
45 g_assert (error == NULL); in create_app_info()
46 g_app_info_remove_supports_type (info, "application/x-blah", &error); in create_app_info()
47 g_assert (error == NULL); in create_app_info()
101 GError *error = NULL; in test_default() local
107 g_app_info_set_as_default_for_type (info1, "application/x-test", &error); in test_default()
[all …]
/external/stlport/test/unit/
Dmacro_checks.cpp6 # error Missing CHAR_BIT definition.
10 # error Weird WCHAR_BIT value.
14 # error Missing CHAR_MAX definition.
18 # error Missing CHAR_MIN definition.
22 # error Weird CHAR_MIN or CHAR_MAX macro values.
26 # error Missing INT_MAX definition.
30 # error Missing INT_MIN definition.
34 # error Weird INT_MIN or INT_MAX macro values.
38 # error Missing LONG_MAX definition.
42 # error Missing LONG_MIN definition.
[all …]
/external/dbus/test/name-test/
Dtest-names.c78 DBusError error; in check_connection() local
87 dbus_error_init (&error); in check_connection()
109 &error); in check_connection()
113 fprintf (stderr, "Error calling ListQueuedOwners: %s\n", error.message); in check_connection()
114 dbus_error_free (&error); in check_connection()
121 &error, in check_connection()
126 fprintf (stderr, "Error getting args: %s\n", error.message); in check_connection()
127 dbus_error_free (&error); in check_connection()
220 DBusError error; in match_acquired_or_lost_signal() local
221 dbus_error_init (&error); in match_acquired_or_lost_signal()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/
DSDL_error.c53 SDL_error *error; in SDL_SetError() local
56 error = SDL_GetErrBuf(); in SDL_SetError()
57 error->error = 1; in SDL_SetError()
58 SDL_strlcpy((char *)error->key, fmt, sizeof(error->key)); in SDL_SetError()
61 error->argc = 0; in SDL_SetError()
78 error->args[error->argc++].value_i = in SDL_SetError()
82 error->args[error->argc++].value_f = in SDL_SetError()
86 error->args[error->argc++].value_ptr = in SDL_SetError()
91 int i = error->argc; in SDL_SetError()
95 SDL_strlcpy((char *)error->args[i].buf, str, ERR_MAX_STRLEN); in SDL_SetError()
[all …]
/external/bluetooth/glib/gio/
Dgfile.h24 #error "Only <gio/gio.h> can be included directly."
165 GError **error);
171 GError **error);
181 GError **error);
187 GError **error);
197 GError **error);
202 GError **error);
211 GError **error);
215 GError **error);
223 GError **error);
[all …]
Dgfile.c138 GError **error);
147 GError **error);
157 GError **error);
165 GError **error);
174 GError **error);
183 GError **error);
194 GError **error);
199 GError **error);
208 GError **error);
219 GError **error);
[all …]
Dgoutputstream.c62 GError **error);
72 GError **error);
82 GError **error);
90 GError **error);
98 GError **error);
188 GError **error) in g_output_stream_write() argument
201 g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, in g_output_stream_write()
210 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, in g_output_stream_write()
215 if (!g_output_stream_set_pending (stream, error)) in g_output_stream_write()
221 res = class->write_fn (stream, buffer, count, cancellable, error); in g_output_stream_write()
[all …]
/external/bluetooth/glib/tests/
Dconvert-test.c43 GError *error = NULL; in test_iconv_state() local
46 &bytes_read, &bytes_written, &error); in test_iconv_state()
48 if (error && error->code == G_CONVERT_ERROR_NO_CONVERSION) in test_iconv_state()
51 g_assert_no_error (error); in test_iconv_state()
66 GError *error = NULL; in test_one_half() local
71 &error); in test_one_half()
73 g_assert_no_error (error); in test_one_half()
82 &error); in test_one_half()
84 g_assert_error (error, G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE); in test_one_half()
88 g_clear_error (&error); in test_one_half()
[all …]
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/
Dcpp.py303 def check(self, error, line_number): argument
321 error(line_number, 'readability/fn_size', error_level,
500 def remove_multi_line_comments(lines, error): argument
509 error(line_index_begin + 1, 'readability/multiline_comment', 5,
619 def check_for_copyright(lines, error): argument
628 error(0, 'legal/copyright', 5,
648 def check_for_header_guard(filename, lines, error): argument
679 error(0, 'build/header_guard', 5,
686 error(ifndef_line_number, 'build/header_guard', 5,
690 def check_for_unicode_replacement_characters(lines, error): argument
[all …]
/external/dbus/test/
Dtest-service.c31 DBusError error; in check_hello_from_self_reply() local
36 dbus_error_init (&error); in check_hello_from_self_reply()
38 connection = dbus_bus_get (DBUS_BUS_STARTER, &error); in check_hello_from_self_reply()
42 error.message); in check_hello_from_self_reply()
43 dbus_error_free (&error); in check_hello_from_self_reply()
60 &error, in check_hello_from_self_reply()
65 error.name, in check_hello_from_self_reply()
66 error.message); in check_hello_from_self_reply()
91 dbus_set_error_from_message (&error, reply); in check_hello_from_self_reply()
92 printf ("Error type in reply: %s\n", error.message); in check_hello_from_self_reply()
[all …]
/external/bluetooth/glib/
Dmsvc_recommended_pragmas.h2 #pragma error "This header is for Microsoft VC only."
8 #pragma warning(error:4002) /* too many actual parameters for macro */
9 #pragma warning(error:4003) /* not enough actual parameters for macro */
11 #pragma warning(error:4013) /* 'function' undefined; assuming extern returning int */
13 #pragma warning(error:4020) /* too many actual parameters */
14 #pragma warning(error:4021) /* too few actual parameters */
15 #pragma warning(error:4027) /* function declared without formal parameter list */
16 #pragma warning(error:4029) /* declared formal parameter list different from definition */
17 #pragma warning(error:4033) /* 'function' must return a value */
18 #pragma warning(error:4035) /* 'function' : no return value */
[all …]

12345678910>>...91