Home
last modified time | relevance | path

Searched refs:_dbus_string_append (Results 1 – 25 of 40) sorted by relevance

12

/external/dbus/dbus/
Ddbus-string-util.c268 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
314 if (!_dbus_string_append (&str, "a")) in _dbus_string_test()
334 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
349 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
363 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
372 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
385 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
423 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
471 if (!_dbus_string_append (&str, "Hello World")) in _dbus_string_test()
479 if (!_dbus_string_append (&other, "Foo String")) in _dbus_string_test()
[all …]
Ddbus-nonce.c261 || !_dbus_string_append (&noncefile->dir, _dbus_get_tmpdir())) in do_noncefile_create()
268 if (!_dbus_string_append (&noncefile->dir, "/dbus_nonce-") in do_noncefile_create()
269 || !_dbus_string_append (&noncefile->dir, _dbus_string_get_const_data (&randomStr)) ) in do_noncefile_create()
276 || !_dbus_string_append (&noncefile->path, "/nonce")) in do_noncefile_create()
293 || !_dbus_string_append (&noncefile->path, "/dbus_nonce-") in do_noncefile_create()
294 || !_dbus_string_append (&noncefile->path, _dbus_string_get_const_data (&randomStr))) in do_noncefile_create()
Ddbus-auth.c375 if (!_dbus_string_append (&auth->context, "org_freedesktop_general")) in _dbus_auth_new()
484 if (!_dbus_string_append (&to_hash, ":")) in sha1_compute_hash()
491 if (!_dbus_string_append (&to_hash, ":")) in sha1_compute_hash()
634 if (!_dbus_string_append (&tmp2, " ")) in sha1_handle_first_client_response()
640 if (!_dbus_string_append (&tmp2, " ")) in sha1_handle_first_client_response()
978 if (!_dbus_string_append (&tmp, " ")) in handle_client_data_cookie_sha1_mech()
1254 if (!_dbus_string_append (&plaintext, in handle_client_initial_response_anonymous_mech()
1359 if (!_dbus_string_append (&auth_command, in send_auth()
1366 if (!_dbus_string_append (&auth_command, in send_auth()
1375 if (!_dbus_string_append (&auth_command, " ")) in send_auth()
[all …]
Ddbus-transport-unix.c77 !_dbus_string_append (&address, "unix:abstract=")) || in _dbus_transport_new_for_domain_socket()
79 !_dbus_string_append (&address, "unix:path=")) || in _dbus_transport_new_for_domain_socket()
80 !_dbus_string_append (&address, path)) in _dbus_transport_new_for_domain_socket()
153 if (!_dbus_string_append (&address, "unixexec:path=") || in _dbus_transport_new_for_exec()
154 !_dbus_string_append (&address, escaped)) in _dbus_transport_new_for_exec()
Ddbus-server-unix.c105 if (!_dbus_string_append (&filename, in _dbus_server_listen_platform_specific()
108 !_dbus_string_append (&full_path, tmpdir) || in _dbus_server_listen_platform_specific()
245 !_dbus_string_append (&address, "unix:abstract=")) || in _dbus_server_new_for_domain_socket()
247 !_dbus_string_append (&address, "unix:path=")) || in _dbus_server_new_for_domain_socket()
Ddbus-server-socket.c440 if (!_dbus_string_append (&address, use_nonce ? "nonce-tcp:host=" : "tcp:host=") || in _dbus_server_new_for_tcp_socket()
442 !_dbus_string_append (&address, ",port=") || in _dbus_server_new_for_tcp_socket()
443 !_dbus_string_append (&address, _dbus_string_get_const_data(&port_str))) in _dbus_server_new_for_tcp_socket()
449 (!_dbus_string_append (&address, ",family=") || in _dbus_server_new_for_tcp_socket()
450 !_dbus_string_append (&address, family))) in _dbus_server_new_for_tcp_socket()
468 if (!_dbus_string_append (&address, ",noncefile=") || in _dbus_server_new_for_tcp_socket()
Ddbus-sysdeps-win.c1339 !_dbus_string_append(&noncefileStr, noncefile)) in _dbus_connect_tcp_socket_with_nonce()
1512 if (!_dbus_string_append(retport, portbuf)) in _dbus_listen_tcp_socket()
1525 if (!_dbus_string_append(retport, port)) in _dbus_listen_tcp_socket()
1836 retval = _dbus_string_append (str,sid); in _dbus_append_user_from_current_process()
2562 _dbus_string_append(&install_path,path); in _dbus_get_install_root_as_hash()
2577 _dbus_string_append(out,basestring); in _dbus_get_address_string()
2593 _dbus_string_append(out,"-"); in _dbus_get_address_string()
2594 _dbus_string_append(out,_dbus_string_get_const_data(&temp)); in _dbus_get_address_string()
2599 _dbus_string_append(out,"-"); in _dbus_get_address_string()
2608 _dbus_string_append(out,"-"); in _dbus_get_address_string()
[all …]
Ddbus-sysdeps-util-unix.c267 !_dbus_string_append (&pid, "\n")) in _dbus_write_pid_to_file_and_pipe()
553 if (!_dbus_string_append (&f, DBUS_CONSOLE_AUTH_DIR)) in _dbus_user_at_console()
727 if (!_dbus_string_append (filename, ent->d_name)) in _dbus_directory_get_next_file()
1038 return _dbus_string_append (dirname, "."); /* empty string passed in */ in _dbus_string_get_dirname()
1046 return _dbus_string_append (dirname, "/"); in _dbus_string_get_dirname()
1051 return _dbus_string_append (dirname, "."); in _dbus_string_get_dirname()
1061 return _dbus_string_append (dirname, "/"); in _dbus_string_get_dirname()
Ddbus-marshal-validate-util.c488 if (!_dbus_string_append (&str, "abc.def")) in _dbus_marshal_validate_test()
501 if (!_dbus_string_append (&str, "abc")) in _dbus_marshal_validate_test()
509 _dbus_string_append (&str, ":"); in _dbus_marshal_validate_test()
511 if (!_dbus_string_append (&str, "abc")) in _dbus_marshal_validate_test()
Ddbus-transport-socket.c1328 if (!_dbus_string_append (&address, noncefile ? "nonce-tcp:" : "tcp:")) in _dbus_transport_new_for_tcp_socket()
1331 if (!_dbus_string_append (&address, "host=") || in _dbus_transport_new_for_tcp_socket()
1332 !_dbus_string_append (&address, host)) in _dbus_transport_new_for_tcp_socket()
1335 if (!_dbus_string_append (&address, ",port=") || in _dbus_transport_new_for_tcp_socket()
1336 !_dbus_string_append (&address, port)) in _dbus_transport_new_for_tcp_socket()
1340 (!_dbus_string_append (&address, ",family=") || in _dbus_transport_new_for_tcp_socket()
1341 !_dbus_string_append (&address, family))) in _dbus_transport_new_for_tcp_socket()
1345 (!_dbus_string_append (&address, ",noncefile=") || in _dbus_transport_new_for_tcp_socket()
1346 !_dbus_string_append (&address, noncefile))) in _dbus_transport_new_for_tcp_socket()
Ddbus-userdb.c289 if (!_dbus_string_append (&process_username, in init_system_db()
291 !_dbus_string_append (&process_homedir, in init_system_db()
429 if (!_dbus_string_append (homedir, info->homedir)) in _dbus_homedir_from_username()
468 if (!_dbus_string_append (homedir, info->homedir)) in _dbus_homedir_from_uid()
Ddbus-server-launchd.c93 if (!_dbus_string_append (&address, "unix:path=")) in _dbus_server_new_for_launchd()
98 if (!_dbus_string_append (&address, launchd_socket_path)) in _dbus_server_new_for_launchd()
Ddbus-server-debug-pipe.c160 if (!_dbus_string_append (&address, "debug-pipe:name=") || in _dbus_server_debug_pipe_new()
241 if (!_dbus_string_append (&address, "debug-pipe:name=") || in _dbus_transport_debug_pipe_new()
242 !_dbus_string_append (&address, server_name)) in _dbus_transport_debug_pipe_new()
Ddbus-sysdeps-unix.c1540 if (!_dbus_string_append(retport, portbuf)) in _dbus_listen_tcp_socket()
1553 if (!_dbus_string_append(retport, port)) in _dbus_listen_tcp_socket()
3665 if (!_dbus_string_append (address, "unix:path=")) in _dbus_lookup_session_address_launchd()
3753 if (!_dbus_string_append (&servicedir_path, xdg_data_home)) in _dbus_get_standard_session_servicedirs()
3764 if (!_dbus_string_append (&servicedir_path, _dbus_string_get_const_data (homedir))) in _dbus_get_standard_session_servicedirs()
3772 if (!_dbus_string_append (&servicedir_path, ":")) in _dbus_get_standard_session_servicedirs()
3777 if (!_dbus_string_append (&servicedir_path, xdg_data_dirs)) in _dbus_get_standard_session_servicedirs()
3780 if (!_dbus_string_append (&servicedir_path, ":")) in _dbus_get_standard_session_servicedirs()
3785 if (!_dbus_string_append (&servicedir_path, "/usr/local/share:/usr/share:")) in _dbus_get_standard_session_servicedirs()
3795 if (!_dbus_string_append (&servicedir_path, DBUS_DATADIR)) in _dbus_get_standard_session_servicedirs()
[all …]
Ddbus-sysdeps-util-win.c203 !_dbus_string_append (&pid, "\n")) in _dbus_write_pid_to_file_and_pipe()
664 if (!_dbus_string_append (filename, ent->d_name)) in _dbus_directory_get_next_file()
711 return _dbus_string_append (dirname, "."); /* empty string passed in */ in _dbus_string_get_dirname()
735 return _dbus_string_append (dirname, "."); in _dbus_string_get_dirname()
/external/dbus/bus/
Dselinux.c494 if (!_dbus_string_append (&auxdata, "service=")) in bus_selinux_allows_acquire_service()
497 if (!_dbus_string_append (&auxdata, service_name)) in bus_selinux_allows_acquire_service()
502 if (!_dbus_string_append (&auxdata, " spid=")) in bus_selinux_allows_acquire_service()
569 if (!_dbus_string_append (&auxdata, "msgtype=")) in bus_selinux_allows_send()
572 if (!_dbus_string_append (&auxdata, msgtype)) in bus_selinux_allows_send()
577 if (!_dbus_string_append (&auxdata, " interface=")) in bus_selinux_allows_send()
579 if (!_dbus_string_append (&auxdata, interface)) in bus_selinux_allows_send()
585 if (!_dbus_string_append (&auxdata, " member=")) in bus_selinux_allows_send()
587 if (!_dbus_string_append (&auxdata, member)) in bus_selinux_allows_send()
593 if (!_dbus_string_append (&auxdata, " error_name=")) in bus_selinux_allows_send()
[all …]
Dmain.c438 if (!_dbus_string_append (&config_file, file)) in main()
446 if (!_dbus_string_append (&config_file, arg)) in main()
462 if (!_dbus_string_append (&address, file)) in main()
470 if (!_dbus_string_append (&address, arg)) in main()
486 if (!_dbus_string_append (&addr_fd, desc)) in main()
496 if (!_dbus_string_append (&addr_fd, arg)) in main()
514 if (!_dbus_string_append (&pid_fd, desc)) in main()
524 if (!_dbus_string_append (&pid_fd, arg)) in main()
Dactivation-helper.c75 if (!_dbus_string_append (&filename, name) || in desktop_file_for_name()
76 !_dbus_string_append (&filename, ".service")) in desktop_file_for_name()
96 if (!_dbus_string_append (&full_path, dir) || in desktop_file_for_name()
420 if (!_dbus_string_append (&config_file, DBUS_SYSTEM_CONFIG_FILE)) in get_correct_parser()
426 if (!_dbus_string_append (&config_file, test_config_file)) in get_correct_parser()
Dtest-launch-helper.c119 if (!_dbus_string_append (&config_file, dir)) in main()
121 if (!_dbus_string_append (&config_file, "/valid-config-files-system/debug-allow-all-pass.conf")) in main()
Dactivation.c276 if (!_dbus_string_append (&file_path, s_dir->dir_c) || in update_desktop_file_entry()
497 if (!_dbus_string_append (&file_path, entry->s_dir->dir_c) || in check_service_file()
647 if (!_dbus_string_append (&full_path, s_dir->dir_c) || in update_directory()
751 if (!_dbus_string_append (&key, environment[i])) in populate_environment()
2021 if (!_dbus_string_append (&command, servicehelper)) in bus_activation_activate_service()
2027 if (!_dbus_string_append (&command, " ")) in bus_activation_activate_service()
2033 if (!_dbus_string_append (&command, service_name)) in bus_activation_activate_service()
2043 if (!_dbus_string_append (&command, entry->exec)) in bus_activation_activate_service()
2254 if (!_dbus_string_append (&full_path, _dbus_string_get_const_data (dir)) || in test_create_service_file()
2289 if (!_dbus_string_append (&full_path, _dbus_string_get_const_data (dir)) || in test_remove_service_file()
[all …]
Dbus.c366 if (!_dbus_string_append (&log_prefix, "[system] ")) in process_config_first_time_only()
376 if (!_dbus_string_append (&log_prefix, "[session ")) in process_config_first_time_only()
386 if (!_dbus_string_append (&log_prefix, "] ")) in process_config_first_time_only()
548 if (!_dbus_string_append (&full_address, ";")) in process_config_every_time()
555 if (!_dbus_string_append (&full_address, addr)) in process_config_every_time()
802 if (!_dbus_string_append (&addr, a) || in bus_context_new()
803 !_dbus_string_append (&addr, "\n")) in bus_context_new()
1324 if (!_dbus_string_append (&full_msg, context->log_prefix)) in bus_context_log()
Ddriver.c219 if (!_dbus_string_append (str, ":")) in create_unique_client_name()
225 if (!_dbus_string_append (str, ".")) in create_unique_client_name()
1811 if (!_dbus_string_append (xml, "\"/>\n")) in write_args_for_direction()
1827 if (!_dbus_string_append (xml, DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE)) in bus_driver_generate_introspect_string()
1829 if (!_dbus_string_append (xml, "<node>\n")) in bus_driver_generate_introspect_string()
1850 if (!_dbus_string_append (xml, " </method>\n")) in bus_driver_generate_introspect_string()
1855 !_dbus_string_append (xml, ih->extra_introspection)) in bus_driver_generate_introspect_string()
1858 if (!_dbus_string_append (xml, " </interface>\n")) in bus_driver_generate_introspect_string()
1862 if (!_dbus_string_append (xml, "</node>\n")) in bus_driver_generate_introspect_string()
Dsignals.c150 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
162 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
174 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
186 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
198 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
210 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
222 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
247 if (!_dbus_string_append (&str, ",")) in match_rule_to_string()
/external/dbus/test/
Dbreak-loader.c143 _dbus_string_append (&filename, "-exited-"); in try_mutated_data()
150 _dbus_string_append (&filename, "signaled-"); in try_mutated_data()
159 _dbus_string_append (&filename, ".message-raw"); in try_mutated_data()
716 if (!_dbus_string_append (&failure_dir, "failures-")) in main()
Dshell-test.c44 _dbus_string_append (&str, original_argv[i]); in test_command_line()

12