Home
last modified time | relevance | path

Searched refs:to_add (Results 1 – 8 of 8) sorted by relevance

/third_party/grpc/test/core/channel/
Dchannel_args_test.cc34 grpc_arg to_add[2]; in test_create() local
37 to_add[0] = in test_create()
39 to_add[1] = grpc_channel_arg_string_create(const_cast<char*>("str key"), in test_create()
41 ch_args = grpc_channel_args_copy_and_add(nullptr, to_add, 2); in test_create()
44 GPR_ASSERT(strcmp(ch_args->args[0].key, to_add[0].key) == 0); in test_create()
45 GPR_ASSERT(ch_args->args[0].type == to_add[0].type); in test_create()
46 GPR_ASSERT(ch_args->args[0].value.integer == to_add[0].value.integer); in test_create()
48 GPR_ASSERT(strcmp(ch_args->args[1].key, to_add[1].key) == 0); in test_create()
49 GPR_ASSERT(ch_args->args[1].type == to_add[1].type); in test_create()
50 GPR_ASSERT(strcmp(ch_args->args[1].value.string, to_add[1].value.string) == in test_create()
/third_party/node/tools/inspector_protocol/
Droll.py123 to_add = [f for f in src_files if f not in dest_files]
128 print('To add: %s' % to_add)
131 if not to_add and not to_delete and not to_copy:
138 for f in to_add + to_copy:
/third_party/grpc/src/core/lib/channel/
Dchannel_args.h41 const grpc_arg* to_add,
53 const grpc_arg* to_add, size_t num_to_add);
Dchannel_args.cc61 const grpc_arg* to_add, in grpc_channel_args_copy_and_add() argument
63 return grpc_channel_args_copy_and_add_and_remove(src, nullptr, 0, to_add, in grpc_channel_args_copy_and_add()
84 const grpc_arg* to_add, size_t num_to_add) { in grpc_channel_args_copy_and_add_and_remove() argument
115 dst->args[dst_idx++] = copy_arg(&to_add[i]); in grpc_channel_args_copy_and_add_and_remove()
/third_party/weston/libweston-desktop/
Dwl-shell.c152 bool to_add = (parent == NULL); in weston_desktop_wl_shell_change_state() local
156 if (to_add && surface->added) { in weston_desktop_wl_shell_change_state()
165 if (to_add) { in weston_desktop_wl_shell_change_state()
175 surface->added = to_add; in weston_desktop_wl_shell_change_state()
Dxwayland.c76 bool to_add = (parent == NULL && state != XWAYLAND); in weston_desktop_xwayland_surface_change_state() local
81 if (to_add && surface->added) { in weston_desktop_xwayland_surface_change_state()
98 if (to_add) { in weston_desktop_xwayland_surface_change_state()
/third_party/glib/gio/
Dgdesktopappinfo.c808 gchar **to_add, in expand_strv() argument
817 *strv_ptr = to_add; in expand_strv()
823 add_len = g_strv_length (to_add); in expand_strv()
826 for (i = 0; to_add[i]; i++) in expand_strv()
831 if (g_str_equal (to_add[i], blocklist[j])) in expand_strv()
836 if (g_str_equal (to_add[i], strv[j])) in expand_strv()
839 strv[strv_len++] = to_add[i]; in expand_strv()
843 g_free (to_add[i]); in expand_strv()
849 g_free (to_add); in expand_strv()
/third_party/gstreamer/gstreamer/gst/
Dgstmessage.c3109 GValue to_add = G_VALUE_INIT; in gst_message_streams_selected_add() local
3118 g_value_init (&to_add, GST_TYPE_STREAM); in gst_message_streams_selected_add()
3119 g_value_set_object (&to_add, stream); in gst_message_streams_selected_add()
3120 gst_value_array_append_and_take_value (val, &to_add); in gst_message_streams_selected_add()