Searched refs:map_out (Results 1 – 3 of 3) sorted by relevance
/thrift-3.4.0/test/c_glib/src/ |
D | test_client.c | 320 GHashTable *map_out, *map_in, *inner_map_in; in main() local 787 map_out = g_hash_table_new_full (g_int_hash, in main() 798 g_hash_table_insert (map_out, i32_key_ptr, i32_value_ptr); in main() 802 g_hash_table_iter_init (&hash_table_iter, map_out); in main() 822 map_out, in main() 839 if (g_hash_table_size (map_in) != g_hash_table_size (map_out)) in main() 842 g_hash_table_iter_init (&hash_table_iter, map_out); in main() 864 g_hash_table_unref (map_out); in main() 869 map_out = g_hash_table_new_full (g_str_hash, in main() 873 g_hash_table_insert (map_out, "a", "2"); in main() [all …]
|
/thrift-3.4.0/lib/c_glib/test/ |
D | testthrifttestclient.cpp | 372 GHashTable *map_in = nullptr, *map_out = nullptr; in test_thrift_client() local 457 map_out = g_hash_table_new (nullptr, nullptr); in test_thrift_client() 458 map_in = g_hash_table_new (nullptr, nullptr); g_hash_table_insert (map_out, &i32, &i32); in test_thrift_client() 459 assert (t_test_thrift_test_client_test_map (iface, &map_in, map_out, &error) == TRUE); in test_thrift_client() 461 g_hash_table_destroy (map_out); in test_thrift_client() 464 map_out = g_hash_table_new (nullptr, nullptr); in test_thrift_client() 466 g_hash_table_insert (map_out, g_strdup ("a"), g_strdup ("123")); in test_thrift_client() 467 g_hash_table_insert (map_out, g_strdup ("a b"), g_strdup ("with spaces ")); in test_thrift_client() 468 g_hash_table_insert (map_out, g_strdup ("same"), g_strdup ("same")); in test_thrift_client() 469 g_hash_table_insert (map_out, g_strdup ("0"), g_strdup ("numeric key")); in test_thrift_client() [all …]
|
D | testthrifttestzlibclient.cpp | 369 GHashTable *map_in = nullptr, *map_out = nullptr; in test_thrift_client() local 456 map_out = g_hash_table_new (nullptr, nullptr); in test_thrift_client() 457 map_in = g_hash_table_new (nullptr, nullptr); g_hash_table_insert (map_out, &i32, &i32); in test_thrift_client() 458 assert (t_test_thrift_test_client_test_map (iface, &map_in, map_out, &error) == TRUE); in test_thrift_client() 460 g_hash_table_destroy (map_out); in test_thrift_client() 463 map_out = g_hash_table_new (nullptr, nullptr); in test_thrift_client() 465 g_hash_table_insert (map_out, g_strdup ("a"), g_strdup ("123")); in test_thrift_client() 466 g_hash_table_insert (map_out, g_strdup ("a b"), g_strdup ("with spaces ")); in test_thrift_client() 467 g_hash_table_insert (map_out, g_strdup ("same"), g_strdup ("same")); in test_thrift_client() 468 g_hash_table_insert (map_out, g_strdup ("0"), g_strdup ("numeric key")); in test_thrift_client() [all …]
|