/external/dbus/dbus/ |
D | dbus-marshal-validate-util.c | 236 run_validity_tests (signature_tests, _DBUS_N_ELEMENTS (signature_tests), in _dbus_marshal_validate_test() 241 while (i < (int) _DBUS_N_ELEMENTS (valid_paths)) in _dbus_marshal_validate_test() 256 while (i < (int) _DBUS_N_ELEMENTS (invalid_paths)) in _dbus_marshal_validate_test() 272 while (i < (int) _DBUS_N_ELEMENTS (valid_interfaces)) in _dbus_marshal_validate_test() 287 while (i < (int) _DBUS_N_ELEMENTS (invalid_interfaces)) in _dbus_marshal_validate_test() 305 while (i < (int) _DBUS_N_ELEMENTS (valid_interfaces)) in _dbus_marshal_validate_test() 320 while (i < (int) _DBUS_N_ELEMENTS (invalid_interfaces)) in _dbus_marshal_validate_test() 339 while (i < (int) _DBUS_N_ELEMENTS (valid_unique_names)) in _dbus_marshal_validate_test() 354 while (i < (int) _DBUS_N_ELEMENTS (invalid_unique_names)) in _dbus_marshal_validate_test() 372 while (i < (int) _DBUS_N_ELEMENTS (valid_interfaces)) in _dbus_marshal_validate_test() [all …]
|
D | dbus-message-util.c | 96 while (i < _DBUS_N_ELEMENTS (validities_seen)) in reset_validities_seen() 114 while (i < _DBUS_N_ELEMENTS (validities_seen)) in print_validities_seen() 1232 _DBUS_N_ELEMENTS (our_uint32_array), in _dbus_message_test() 1234 _DBUS_N_ELEMENTS (our_int32_array), in _dbus_message_test() 1237 _DBUS_N_ELEMENTS (our_uint64_array), in _dbus_message_test() 1239 _DBUS_N_ELEMENTS (our_int64_array), in _dbus_message_test() 1242 _DBUS_N_ELEMENTS (our_double_array), in _dbus_message_test() 1244 _DBUS_N_ELEMENTS (our_byte_array), in _dbus_message_test() 1246 _DBUS_N_ELEMENTS (our_boolean_array), in _dbus_message_test() 1248 _DBUS_N_ELEMENTS (our_string_array), in _dbus_message_test() [all …]
|
D | dbus-object-tree.c | 1468 while (i < _DBUS_N_ELEMENTS (decompose_tests)) in run_decompose_tests() 1736 while (i < (int) _DBUS_N_ELEMENTS (tree_test_data)) in object_tree_test_iteration() 1885 while (i < (int) _DBUS_N_ELEMENTS (tree_test_data)) in object_tree_test_iteration() 1917 if (!do_test_dispatch (tree, path0, 0, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() 1919 if (!do_test_dispatch (tree, path1, 1, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() 1921 if (!do_test_dispatch (tree, path2, 2, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() 1923 if (!do_test_dispatch (tree, path3, 3, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() 1925 if (!do_test_dispatch (tree, path4, 4, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() 1927 if (!do_test_dispatch (tree, path5, 5, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() 1929 if (!do_test_dispatch (tree, path6, 6, tree_test_data, _DBUS_N_ELEMENTS (tree_test_data))) in object_tree_test_iteration() [all …]
|
D | dbus-message-factory.c | 834 if (len_seq == _DBUS_N_ELEMENTS (lengths)) in generate_wrong_length() 837 _dbus_assert (len_seq < _DBUS_N_ELEMENTS (lengths)); in generate_wrong_length() 1058 _dbus_assert (typecode_seq <= _DBUS_N_ELEMENTS (typecodes)); 1060 if (typecode_seq == _DBUS_N_ELEMENTS (typecodes)) 1144 if (change_seq == _DBUS_N_ELEMENTS (uint32_changes)) in generate_uint32_changed() 1270 if (generator == _DBUS_N_ELEMENTS (generators)) in _dbus_message_data_iter_get_and_next()
|
D | dbus-threads.c | 512 _dbus_assert (_DBUS_N_ELEMENTS (global_locks) == in init_locks() 521 while (i < _DBUS_N_ELEMENTS (global_locks)) in init_locks()
|
D | dbus-string-util.c | 201 while (i < _DBUS_N_ELEMENTS (buf)) in test_roundtrips() 207 while (i < _DBUS_N_ELEMENTS (buf)) in test_roundtrips() 237 while (i < _DBUS_N_ELEMENTS (lens)) in _dbus_string_test()
|
D | dbus-address.c | 706 while (i < _DBUS_N_ELEMENTS (escape_tests)) in _dbus_address_test() 745 while (i < _DBUS_N_ELEMENTS (invalid_escaped_values)) in _dbus_address_test()
|
D | dbus-socket-set-epoll.c | 301 MIN (_DBUS_N_ELEMENTS (events), max_events), in socket_set_epoll_poll()
|
D | dbus-server.c | 580 for (j = 0; j < (int) _DBUS_N_ELEMENTS (listen_funcs); ++j) in dbus_server_listen() 1213 for (i = 0; i < _DBUS_N_ELEMENTS (valid_addresses); i++) in _dbus_server_test()
|
D | dbus-internals.h | 178 #define _DBUS_N_ELEMENTS(array) ((int) (sizeof ((array)) / sizeof ((array)[0]))) macro
|
D | dbus-mempool.c | 626 while (i < _DBUS_N_ELEMENTS (element_sizes)) in _dbus_mem_pool_test()
|
D | dbus-mainloop.c | 682 _DBUS_N_ELEMENTS (ready_fds), timeout); in _dbus_loop_iterate()
|
D | dbus-marshal-recursive-util.c | 918 #define N_BASICS (_DBUS_N_ELEMENTS (basic_nodes)) 933 #define N_CONTAINERS (_DBUS_N_ELEMENTS (container_nodes)) 2807 strcpy (buf, sample_signatures[seed % _DBUS_N_ELEMENTS(sample_signatures)]); in signature_from_seed()
|
D | dbus-transport.c | 386 for (i = 0; i < (int) _DBUS_N_ELEMENTS (open_funcs); ++i) in _dbus_transport_open()
|
D | dbus-spawn.c | 1092 if (_dbus_poll (pfds, _DBUS_N_ELEMENTS (pfds), -1) < 0 && errno != EINTR) in babysit()
|
D | dbus-sysdeps-unix.c | 3513 _dbus_assert (i == _DBUS_N_ELEMENTS (argv)); in _dbus_get_autolaunch_address() 3606 _dbus_assert (i == _DBUS_N_ELEMENTS (argv)); in _dbus_lookup_launchd_socket()
|
D | dbus-hash.c | 306 _dbus_assert (DBUS_SMALL_HASH_TABLE == _DBUS_N_ELEMENTS (table->static_buckets)); in _dbus_hash_table_new()
|
D | dbus-marshal-basic.c | 1628 &v_ARRAY_##typename, _DBUS_N_ELEMENTS(literal), \
|
D | dbus-auth.c | 2117 for (i = 0; i < _DBUS_N_ELEMENTS (auth_command_names); i++) in lookup_command_from_name()
|
/external/dbus/test/ |
D | break-loader.c | 387 which = random_int_in_range (0, _DBUS_N_ELEMENTS (extreme_ints)); in randomly_set_extreme_ints() 390 _dbus_assert (which < _DBUS_N_ELEMENTS (extreme_ints)); in randomly_set_extreme_ints() 416 _dbus_assert (_DBUS_N_ELEMENTS (types) == DBUS_NUMBER_OF_TYPES + 1); in random_type() 418 return types[ random_int_in_range (0, _DBUS_N_ELEMENTS (types)) ]; in random_type() 488 which = random_int_in_range (0, _DBUS_N_ELEMENTS (functions)); in randomly_do_n_things() 746 _DBUS_N_ELEMENTS (times_we_did_each_thing), in main()
|
/external/dbus/bus/ |
D | signals.c | 2412 while (i < _DBUS_N_ELEMENTS (equality_tests)) in test_equality() 2437 while (j < _DBUS_N_ELEMENTS (equality_tests)) in test_equality()
|