Home
last modified time | relevance | path

Searched refs:_DBUS_N_ELEMENTS (Results 1 – 21 of 21) sorted by relevance

/external/dbus/dbus/
Ddbus-marshal-validate-util.c236 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 …]
Ddbus-message-util.c96 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 …]
Ddbus-object-tree.c1468 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 …]
Ddbus-message-factory.c834 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()
Ddbus-threads.c512 _dbus_assert (_DBUS_N_ELEMENTS (global_locks) == in init_locks()
521 while (i < _DBUS_N_ELEMENTS (global_locks)) in init_locks()
Ddbus-string-util.c201 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()
Ddbus-address.c706 while (i < _DBUS_N_ELEMENTS (escape_tests)) in _dbus_address_test()
745 while (i < _DBUS_N_ELEMENTS (invalid_escaped_values)) in _dbus_address_test()
Ddbus-socket-set-epoll.c301 MIN (_DBUS_N_ELEMENTS (events), max_events), in socket_set_epoll_poll()
Ddbus-server.c580 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()
Ddbus-internals.h178 #define _DBUS_N_ELEMENTS(array) ((int) (sizeof ((array)) / sizeof ((array)[0]))) macro
Ddbus-mempool.c626 while (i < _DBUS_N_ELEMENTS (element_sizes)) in _dbus_mem_pool_test()
Ddbus-mainloop.c682 _DBUS_N_ELEMENTS (ready_fds), timeout); in _dbus_loop_iterate()
Ddbus-marshal-recursive-util.c918 #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()
Ddbus-transport.c386 for (i = 0; i < (int) _DBUS_N_ELEMENTS (open_funcs); ++i) in _dbus_transport_open()
Ddbus-spawn.c1092 if (_dbus_poll (pfds, _DBUS_N_ELEMENTS (pfds), -1) < 0 && errno != EINTR) in babysit()
Ddbus-sysdeps-unix.c3513 _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()
Ddbus-hash.c306 _dbus_assert (DBUS_SMALL_HASH_TABLE == _DBUS_N_ELEMENTS (table->static_buckets)); in _dbus_hash_table_new()
Ddbus-marshal-basic.c1628 &v_ARRAY_##typename, _DBUS_N_ELEMENTS(literal), \
Ddbus-auth.c2117 for (i = 0; i < _DBUS_N_ELEMENTS (auth_command_names); i++) in lookup_command_from_name()
/external/dbus/test/
Dbreak-loader.c387 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/
Dsignals.c2412 while (i < _DBUS_N_ELEMENTS (equality_tests)) in test_equality()
2437 while (j < _DBUS_N_ELEMENTS (equality_tests)) in test_equality()