Home
last modified time | relevance | path

Searched refs:ud1 (Results 1 – 2 of 2) sorted by relevance

/third_party/grpc/test/core/transport/
Dmetadata_test.cc271 int* ud1; in test_user_data_works() local
278 ud1 = static_cast<int*>(gpr_malloc(sizeof(int))); in test_user_data_works()
279 *ud1 = 1; in test_user_data_works()
285 grpc_mdelem_set_user_data(md, gpr_free, ud1); in test_user_data_works()
287 GPR_ASSERT(grpc_mdelem_get_user_data(md, gpr_free) == ud1); in test_user_data_works()
294 int* ud1; in test_user_data_works_for_allocated_md() local
301 ud1 = static_cast<int*>(gpr_malloc(sizeof(int))); in test_user_data_works_for_allocated_md()
302 *ud1 = 1; in test_user_data_works_for_allocated_md()
307 grpc_mdelem_set_user_data(md, gpr_free, ud1); in test_user_data_works_for_allocated_md()
309 GPR_ASSERT(grpc_mdelem_get_user_data(md, gpr_free) == ud1); in test_user_data_works_for_allocated_md()
/third_party/skia/tests/graphite/
DUniformCacheTest.cpp53 sk_sp<UniformData> ud1 = make_ud(2, 16); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local
54 result1 = cache->findOrCreate(ud1); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
56 REPORTER_ASSERT(reporter, ud1->id() == result1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()