Home
last modified time | relevance | path

Searched refs:f_ptr (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/memoffset/src/
Doffset_of.rs249 let f_ptr = &f as *const _; in test_tuple_offset() localVariable
253 f1_ptr as usize - f_ptr as usize, in test_tuple_offset()
272 let f_ptr = &f as *const _; in test_raw_field() localVariable
273 assert_eq!(f_ptr as usize + 0, raw_field!(f_ptr, Foo, a) as usize); in test_raw_field()
274 assert_eq!(f_ptr as usize + 4, raw_field!(f_ptr, Foo, b) as usize); in test_raw_field()
275 assert_eq!(f_ptr as usize + 8, raw_field!(f_ptr, Foo, c) as usize); in test_raw_field()
309 let f_ptr = &f as *const _; in test_raw_field_union() localVariable
310 assert_eq!(f_ptr as usize + 0, raw_field_union!(f_ptr, Foo, a) as usize); in test_raw_field_union()
311 assert_eq!(f_ptr as usize + 0, raw_field_union!(f_ptr, Foo, b) as usize); in test_raw_field_union()
312 assert_eq!(f_ptr as usize + 0, raw_field_union!(f_ptr, Foo, c) as usize); in test_raw_field_union()
/third_party/vulkan-loader/tests/framework/shim/
Dunix_shim.cpp190 FILE* f_ptr; in FOPEN_FUNC_NAME() local
193 f_ptr = real_fopen(fake_path.c_str(), mode); in FOPEN_FUNC_NAME()
195 f_ptr = real_fopen(in_filename, mode); in FOPEN_FUNC_NAME()
198 return f_ptr; in FOPEN_FUNC_NAME()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp205 GLfloat* f_ptr = (GLfloat*)ptr; in GenerateData() local
209 f_ptr[i] = GetRandFloat(); in GenerateData()
268 GLfloat* f_ptr = (GLfloat*)ptr; in GenerateDataPacked() local
272 f_ptr[i] = GetRandFloat(); in GenerateDataPacked()