Home
last modified time | relevance | path

Searched refs:DBusString (Results 1 – 25 of 123) sorted by relevance

12345

/external/dbus/dbus/
Ddbus-string.h40 typedef struct DBusString DBusString; typedef
42 struct DBusString struct
62 #define _dbus_string_get_data(s) ((char*)(((DBusString*)(s))->dummy1)) argument
63 #define _dbus_string_get_length(s) (((DBusString*)(s))->dummy2)
64 #define _dbus_string_set_byte(s, i, b) ((((unsigned char*)(((DBusString*)(s))->dummy1))[(i)]) = (un…
65 #define _dbus_string_get_byte(s, i) (((const unsigned char*)(((DBusString*)(s))->dummy1))[(i)])
66 #define _dbus_string_get_const_data(s) ((const char*)(((DBusString*)(s))->dummy1))
67 #define _dbus_string_get_const_data_len(s,start,len) (((const char*)(((DBusString*)(s))->dummy1)) +…
70 dbus_bool_t _dbus_string_init (DBusString *str);
71 void _dbus_string_init_const (DBusString *str,
[all …]
Ddbus-sysdeps.h132 DBusString *buffer,
135 const DBusString *buffer,
139 const DBusString *buffer1,
142 const DBusString *buffer2,
147 DBusString *buffer,
152 const DBusString *buffer,
158 const DBusString *buffer1,
161 const DBusString *buffer2,
181 DBusString *retport,
194 const DBusString *username);
[all …]
Ddbus-marshal-recursive.h47 const DBusString *type_str; /**< string containing signature of block */
49 const DBusString *value_str; /**< string containing values of block */
74 DBusString *type_str; /**< where to write typecodes (or read type expectations) */
76 DBusString *value_str; /**< where to write values */
101 const DBusString *type_str,
103 const DBusString *value_str,
106 const DBusString *type_str,
124 const DBusString **str_p,
141 DBusString *type_str,
143 DBusString *value_str,
[all …]
Ddbus-string.c132 _dbus_string_init_preallocated (DBusString *str, in _dbus_string_init_preallocated()
139 _dbus_assert (sizeof (DBusString) == sizeof (DBusRealString)); in _dbus_string_init_preallocated()
175 _dbus_string_init (DBusString *str) in _dbus_string_init()
190 _dbus_string_init_const (DBusString *str, in _dbus_string_init_const()
210 _dbus_string_init_const_len (DBusString *str, in _dbus_string_init_const_len()
242 _dbus_string_free (DBusString *str) in _dbus_string_free()
294 _dbus_string_lock (DBusString *str) in _dbus_string_lock()
367 _dbus_string_compact (DBusString *str, in _dbus_string_compact()
429 _dbus_string_get_data (DBusString *str) in _dbus_string_get_data()
446 _dbus_string_get_const_data (const DBusString *str) in _dbus_string_get_const_data()
[all …]
Ddbus-userdb.h68 const DBusString *username,
72 const DBusString *groupname,
78 const DBusString *username,
82 const DBusString *groupname,
93 dbus_bool_t _dbus_get_user_id (const DBusString *username,
95 dbus_bool_t _dbus_get_group_id (const DBusString *group_name,
97 dbus_bool_t _dbus_get_user_id_and_primary_group (const DBusString *username,
108 dbus_bool_t _dbus_is_a_number (const DBusString *str,
111 dbus_bool_t _dbus_username_from_current_process (const DBusString **username);
112 dbus_bool_t _dbus_homedir_from_current_process (const DBusString **homedir);
[all …]
Ddbus-auth.c71 DBusString *response);
78 const DBusString *data);
84 const DBusString *data,
85 DBusString *encoded);
91 const DBusString *data,
92 DBusString *decoded);
139 const DBusString *args);
158 DBusString incoming; /**< Incoming data buffer */
159 DBusString outgoing; /**< Outgoing data buffer */
165 DBusString identity; /**< Current identity we're authorizing
[all …]
Ddbus-auth.h44 DBusAuth* _dbus_auth_server_new (const DBusString *guid);
52 const DBusString **str);
56 DBusString **buffer);
58 DBusString *buffer,
61 const DBusString **str);
65 const DBusString *plaintext,
66 DBusString *encoded);
69 const DBusString *encoded,
70 DBusString *plaintext);
75 const DBusString *context);
Ddbus-marshal-validate.h119 DBusValidity _dbus_validate_signature_with_reason (const DBusString *type_str,
122 DBusValidity _dbus_validate_body_with_reason (const DBusString *expected_signature,
126 const DBusString *value_str,
132 dbus_bool_t _dbus_validate_path (const DBusString *str,
135 dbus_bool_t _dbus_validate_interface (const DBusString *str,
138 dbus_bool_t _dbus_validate_member (const DBusString *str,
141 dbus_bool_t _dbus_validate_error_name (const DBusString *str,
144 dbus_bool_t _dbus_validate_bus_name (const DBusString *str,
147 dbus_bool_t _dbus_validate_bus_namespace (const DBusString *str,
150 dbus_bool_t _dbus_validate_signature (const DBusString *str,
[all …]
Ddbus-file.h43 dbus_bool_t _dbus_file_get_contents (DBusString *str,
44 const DBusString *filename,
46 dbus_bool_t _dbus_string_save_to_file (const DBusString *str,
47 const DBusString *filename,
51 dbus_bool_t _dbus_make_file_world_readable (const DBusString *filename,
54 dbus_bool_t _dbus_create_file_exclusively (const DBusString *filename,
56 dbus_bool_t _dbus_delete_file (const DBusString *filename,
Ddbus-auth-script.c49 append_quoted_string (DBusString *dest, in append_quoted_string()
50 const DBusString *quoted) in append_quoted_string()
118 same_first_word (const DBusString *a, in same_first_word()
119 const DBusString *b) in same_first_word()
133 auth_state_from_string (const DBusString *str) in auth_state_from_string()
170 split_string (DBusString *str) in split_string()
244 _dbus_auth_script_run (const DBusString *filename) in _dbus_auth_script_run()
246 DBusString file; in _dbus_auth_script_run()
248 DBusString line; in _dbus_auth_script_run()
252 DBusString from_auth; in _dbus_auth_script_run()
[all …]
Ddbus-sysdeps-unix.h50 DBusString *buffer,
54 const DBusString *buffer,
59 const DBusString *buffer1,
62 const DBusString *buffer2,
86 dbus_bool_t _dbus_lookup_launchd_socket (DBusString *socket_path,
118 const DBusString *username,
126 const DBusString *groupname,
136 dbus_bool_t _dbus_parse_uid (const DBusString *uid_str,
Ddbus-test.h58 dbus_bool_t dbus_internal_do_not_use_try_message_file (const DBusString *filename,
60 dbus_bool_t dbus_internal_do_not_use_try_message_data (const DBusString *data,
62 dbus_bool_t dbus_internal_do_not_use_load_message_file (const DBusString *filename,
63 DBusString *data);
67 typedef dbus_bool_t (* DBusForeachMessageFileFunc) (const DBusString *filename,
76 DBusString *signature,
77 DBusString *body);
Ddbus-nonce.h37 DBusString path;
38 DBusString dir;
53 const DBusString* _dbus_noncefile_get_path (const DBusNonceFile *noncefile);
60 dbus_bool_t _dbus_read_nonce (const DBusString *fname,
61 DBusString *nonce,
67 const DBusString *noncefile,
Ddbus-nonce.c34 do_check_nonce (int fd, const DBusString *nonce, DBusError *error) in do_check_nonce()
36 DBusString buffer; in do_check_nonce()
37 DBusString p; in do_check_nonce()
101 _dbus_read_nonce (const DBusString *fname, DBusString *nonce, DBusError* error) in _dbus_read_nonce()
137 DBusString nonce; in _dbus_accept_with_noncefile()
158 generate_and_write_nonce (const DBusString *filename, DBusError *error) in generate_and_write_nonce()
160 DBusString nonce; in generate_and_write_nonce()
195 _dbus_send_nonce (int fd, const DBusString *noncefile, DBusError *error) in _dbus_send_nonce()
199 DBusString nonce; in _dbus_send_nonce()
242 DBusString randomStr; in do_noncefile_create()
[all …]
Ddbus-sysdeps-util-unix.c78 _dbus_become_daemon (const DBusString *pidfile, in _dbus_become_daemon()
169 _dbus_write_pid_file (const DBusString *filename, in _dbus_write_pid_file()
230 _dbus_write_pid_to_file_and_pipe (const DBusString *pidfile, in _dbus_write_pid_to_file_and_pipe()
254 DBusString pid; in _dbus_write_pid_to_file_and_pipe()
306 DBusString u; in _dbus_verify_daemon_user()
329 DBusString u; in _dbus_change_to_daemon_user()
543 DBusString u, f; in _dbus_user_at_console()
583 _dbus_path_is_absolute (const DBusString *filename) in _dbus_path_is_absolute()
600 _dbus_stat (const DBusString *filename, in _dbus_stat()
648 _dbus_directory_open (const DBusString *filename, in _dbus_directory_open()
[all …]
Ddbus-marshal-basic.h174 dbus_bool_t _dbus_marshal_set_basic (DBusString *str,
181 dbus_bool_t _dbus_marshal_write_basic (DBusString *str,
187 dbus_bool_t _dbus_marshal_write_fixed_multi (DBusString *str,
194 void _dbus_marshal_read_basic (const DBusString *str,
200 void _dbus_marshal_read_fixed_multi (const DBusString *str,
207 void _dbus_marshal_skip_basic (const DBusString *str,
211 void _dbus_marshal_skip_array (const DBusString *str,
215 void _dbus_marshal_set_uint32 (DBusString *str,
219 dbus_uint32_t _dbus_marshal_read_uint32 (const DBusString *str,
227 int _dbus_first_type_in_signature (const DBusString *str,
Ddbus-address.c45 DBusString method; /**< The address type (unix, tcp, etc.) */
104 _dbus_address_append_escaped (DBusString *escaped, in _dbus_address_append_escaped()
105 const DBusString *unescaped) in _dbus_address_append_escaped()
267 append_unescaped_value (DBusString *unescaped, in append_unescaped_value()
268 const DBusString *escaped, in append_unescaped_value()
292 DBusString hex; in append_unescaped_value()
368 DBusString str; in dbus_parse_address()
445 DBusString *key; in dbus_parse_address()
446 DBusString *value; in dbus_parse_address()
448 key = dbus_new0 (DBusString, 1); in dbus_parse_address()
[all …]
Ddbus-marshal-basic.c251 set_2_octets (DBusString *str, in set_2_octets()
267 set_4_octets (DBusString *str, in set_4_octets()
283 set_8_octets (DBusString *str, in set_8_octets()
309 _dbus_marshal_set_uint32 (DBusString *str, in _dbus_marshal_set_uint32()
337 set_string (DBusString *str, in set_string()
345 DBusString dstr; in set_string()
383 set_signature (DBusString *str, in set_signature()
391 DBusString dstr; in set_signature()
426 _dbus_marshal_set_basic (DBusString *str, in _dbus_marshal_set_basic()
510 _dbus_marshal_read_uint32 (const DBusString *str, in _dbus_marshal_read_uint32()
[all …]
Ddbus-userdb.c103 _dbus_is_a_number (const DBusString *str, in _dbus_is_a_number()
130 const DBusString *username, in _dbus_user_database_lookup()
224 static DBusString process_username;
225 static DBusString process_homedir;
364 _dbus_username_from_current_process (const DBusString **username) in _dbus_username_from_current_process()
386 _dbus_homedir_from_current_process (const DBusString **homedir) in _dbus_homedir_from_current_process()
408 _dbus_homedir_from_username (const DBusString *username, in _dbus_homedir_from_username()
409 DBusString *homedir) in _dbus_homedir_from_username()
448 DBusString *homedir) in _dbus_homedir_from_uid()
494 const DBusString *username) in _dbus_credentials_add_from_user()
[all …]
Ddbus-sha.h47 const DBusString *data);
49 DBusString *results);
50 dbus_bool_t _dbus_sha_compute (const DBusString *data,
51 DBusString *ascii_output);
Ddbus-syntax.c57 DBusString str; in dbus_validate_path()
104 DBusString str; in dbus_validate_interface()
151 DBusString str; in dbus_validate_member()
198 DBusString str; in dbus_validate_error_name()
245 DBusString str; in dbus_validate_bus_name()
292 DBusString str; in dbus_validate_utf8()
/external/dbus/bus/
Dtest.h33 dbus_bool_t bus_dispatch_test (const DBusString *test_data_dir);
34 dbus_bool_t bus_dispatch_sha1_test (const DBusString *test_data_dir);
35 dbus_bool_t bus_config_parser_test (const DBusString *test_data_dir);
36 dbus_bool_t bus_config_parser_trivial_test (const DBusString *test_data_dir);
37 dbus_bool_t bus_signals_test (const DBusString *test_data_dir);
38 dbus_bool_t bus_expire_list_test (const DBusString *test_data_dir);
39 dbus_bool_t bus_activation_service_reload_test (const DBusString *test_data_dir);
48 BusContext* bus_context_new_test (const DBusString *test_data_dir,
52 dbus_bool_t bus_unix_fds_passing_test (const DBusString *test_data_dir);
Dconfig-parser-trivial.c39 DBusString user; /**< User the dbus-daemon runs as */
40 DBusString bus_type; /**< Message bus type */
41 DBusString service_helper; /**< Location of the setuid helper */
81 bus_config_parser_new (const DBusString *basedir, in bus_config_parser_new()
209 const DBusString *content, in bus_config_parser_content()
212 DBusString content_sane; in bus_config_parser_content()
345 check_return_values (const DBusString *full_path) in check_return_values()
420 do_load (const DBusString *full_path, in do_load()
473 const DBusString *full_path;
486 process_test_valid_subdir (const DBusString *test_base_dir, in process_test_valid_subdir()
[all …]
Dmain.c71 DBusString str; in signal_handler()
102 DBusString str; in signal_handler()
146 DBusString xml; in introspect()
169 check_two_config_files (const DBusString *config_file, in check_two_config_files()
181 check_two_addresses (const DBusString *address, in check_two_addresses()
193 check_two_addr_descriptors (const DBusString *addr_fd, in check_two_addr_descriptors()
205 check_two_pid_descriptors (const DBusString *pid_fd, in check_two_pid_descriptors()
223 DBusString str; in handle_reload_watch()
348 DBusString config_file; in main()
349 DBusString address; in main()
[all …]
/external/dbus/test/
Dbreak-loader.c43 static DBusString failure_dir;
87 try_mutated_data (const DBusString *data) in try_mutated_data()
116 DBusString filename; in try_mutated_data()
190 randomly_shorten_or_lengthen (const DBusString *orig_data, in randomly_shorten_or_lengthen()
191 DBusString *mutated) in randomly_shorten_or_lengthen()
230 randomly_change_one_byte (const DBusString *orig_data, in randomly_change_one_byte()
231 DBusString *mutated) in randomly_change_one_byte()
253 randomly_remove_one_byte (const DBusString *orig_data, in randomly_remove_one_byte()
254 DBusString *mutated) in randomly_remove_one_byte()
276 randomly_add_one_byte (const DBusString *orig_data, in randomly_add_one_byte()
[all …]

12345