Searched refs:small_struct (Results 1 – 5 of 5) sorted by relevance
483 SmallStructPtr small_struct(SmallStruct::New()); in TEST() local484 small_struct->pod_union_array.emplace(2); in TEST()485 small_struct->pod_union_array.value()[0] = PodUnion::New(); in TEST()486 small_struct->pod_union_array.value()[1] = PodUnion::New(); in TEST()488 small_struct->pod_union_array.value()[0]->set_f_int8(10); in TEST()489 small_struct->pod_union_array.value()[1]->set_f_int16(12); in TEST()491 EXPECT_EQ(10, small_struct->pod_union_array.value()[0]->get_f_int8()); in TEST()492 EXPECT_EQ(12, small_struct->pod_union_array.value()[1]->get_f_int16()); in TEST()581 SmallStructPtr small_struct(SmallStruct::New()); in TEST() local582 small_struct->pod_union = PodUnion::New(); in TEST()[all …]
177 …int small_struct = (((cif->flags == FFI_TYPE_INT) || (cif->flags == FFI_TYPE_DOUBLE)) && (cif->rty… in ffi_call() local190 else if (small_struct) in ffi_call()204 if (small_struct) in ffi_call()
91 fn small_struct() { in small_struct() function
308 int small_struct = (cif->flags == FFI_TYPE_INT in ffi_call() local326 else if (small_struct) in ffi_call()352 if (small_struct) in ffi_call()