Home
last modified time | relevance | path

Searched refs:small_struct (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc483 SmallStructPtr small_struct(SmallStruct::New()); in TEST() local
484 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() local
582 small_struct->pod_union = PodUnion::New(); in TEST()
[all …]
/external/libffi/src/metag/
Dffi.c177 …int small_struct = (((cif->flags == FFI_TYPE_INT) || (cif->flags == FFI_TYPE_DOUBLE)) && (cif->rty… in ffi_call() local
190 else if (small_struct) in ffi_call()
204 if (small_struct) in ffi_call()
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/
Dffi.c177 …int small_struct = (((cif->flags == FFI_TYPE_INT) || (cif->flags == FFI_TYPE_DOUBLE)) && (cif->rty… in ffi_call() local
190 else if (small_struct) in ffi_call()
204 if (small_struct) in ffi_call()
/external/rust/crates/serde_cbor/tests/
Dvalue.rs91 fn small_struct() { in small_struct() function
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dffi.c308 int small_struct = (cif->flags == FFI_TYPE_INT in ffi_call() local
326 else if (small_struct) in ffi_call()
352 if (small_struct) in ffi_call()