/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | mmap.c | 5 struct map_data { struct 26 const size_t map_sz = roundup_page(sizeof(struct map_data)); in test_mmap() argument 36 volatile struct map_data *map_data; in test_mmap() local 76 map_data = map_mmaped; in test_mmap() 80 CHECK_FAIL(map_data->val[0]); in test_mmap() 81 CHECK_FAIL(map_data->val[1]); in test_mmap() 82 CHECK_FAIL(map_data->val[2]); in test_mmap() 83 CHECK_FAIL(map_data->val[far]); in test_mmap() 97 CHECK_FAIL(map_data->val[0] != 111); in test_mmap() 98 CHECK_FAIL(map_data->val[1] != 222); in test_mmap() [all …]
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 731 void *map_data, *addr; in test_gem_map() local 737 addr = map_data = NULL; in test_gem_map() 744 &map_data, 0); in test_gem_map() 747 CHECK(map_data); in test_gem_map() 754 gbm_bo_unmap(bo, map_data); in test_gem_map() 758 addr = map_data = NULL; in test_gem_map() 761 &map_data, 0); in test_gem_map() 764 CHECK(map_data); in test_gem_map() 770 gbm_bo_unmap(bo, map_data); in test_gem_map() 780 void *addr, *map_data; in test_dmabuf_map() local [all …]
|
/external/google-breakpad/src/processor/ |
D | static_map_unittest.cc | 145 map_data[testcase] = in SetUp() 147 test_map[testcase] = TestMap(map_data[testcase]); in SetUp() 152 map_data[testcase] = in SetUp() 154 test_map[testcase] = TestMap(map_data[testcase]); in SetUp() 160 map_data[testcase] = in SetUp() 162 test_map[testcase] = TestMap(map_data[testcase]); in SetUp() 168 map_data[testcase] = in SetUp() 170 test_map[testcase] = TestMap(map_data[testcase]); in SetUp() 183 ::operator delete(map_data[i]); in TearDown() 308 char* map_data[kNumberTestCases]; member in TestValidMap
|
D | static_address_map.h | 55 explicit StaticAddressMap(const char *map_data): map_(map_data) { } in StaticAddressMap() argument
|
D | static_address_map_unittest.cc | 81 map_data[testcase] = serializer.Serialize(addr_map[testcase], NULL); in SetUp() 82 test_map[testcase] = TestMap(map_data[testcase]); in SetUp() 88 delete [] map_data[i]; in TearDown() 150 char *map_data[kNumberTestCases]; member in TestStaticAddressMap
|
/external/marisa-trie/lib/marisa/grimoire/io/ |
D | mapper.h | 23 *obj = *static_cast<const T *>(map_data(sizeof(T))); in map() 31 *objs = static_cast<const T *>(map_data(sizeof(T) * num_objs)); in map() 56 const void *map_data(std::size_t size);
|
D | mapper.cc | 74 map_data(size); in seek() 98 const void *Mapper::map_data(std::size_t size) { in map_data() function in marisa::grimoire::io::Mapper
|
/external/minigbm/ |
D | gbm.c | 265 uint32_t transfer_flags, uint32_t *stride, void **map_data) in gbm_bo_map() argument 267 return gbm_bo_map2(bo, x, y, width, height, transfer_flags, stride, map_data, 0); in gbm_bo_map() 270 PUBLIC void gbm_bo_unmap(struct gbm_bo *bo, void *map_data) in gbm_bo_unmap() argument 273 drv_bo_flush_or_unmap(bo->bo, map_data); in gbm_bo_unmap() 406 uint32_t transfer_flags, uint32_t *stride, void **map_data, int plane) in gbm_bo_map2() argument 413 if (!bo || width == 0 || height == 0 || !stride || !map_data) in gbm_bo_map2() 419 addr = drv_bo_map(bo->bo, &rect, map_flags, (struct mapping **)map_data, plane); in gbm_bo_map2() 423 *stride = ((struct mapping *)*map_data)->vma->map_strides[plane]; in gbm_bo_map2()
|
D | gbm.h | 389 uint32_t flags, uint32_t *stride, void **map_data); 392 gbm_bo_unmap(struct gbm_bo *bo, void *map_data); 494 uint32_t flags, uint32_t *stride, void **map_data, int plane);
|
D | drv.c | 416 struct mapping **map_data, size_t plane) in drv_bo_map() argument 449 *map_data = prior; in drv_bo_map() 468 *map_data = NULL; in drv_bo_map() 480 *map_data = drv_array_append(bo->drv->mappings, &mapping); in drv_bo_map() 482 drv_bo_invalidate(bo, *map_data); in drv_bo_map() 483 addr = (uint8_t *)((*map_data)->vma->addr); in drv_bo_map()
|
D | drv.h | 144 struct mapping **map_data, size_t plane);
|
/external/mesa3d/src/gbm/main/ |
D | gbm.c | 563 uint32_t flags, uint32_t *stride, void **map_data) in gbm_bo_map() argument 565 if (!bo || width == 0 || height == 0 || !stride || !map_data) { in gbm_bo_map() 571 flags, stride, map_data); in gbm_bo_map() 584 gbm_bo_unmap(struct gbm_bo *bo, void *map_data) in gbm_bo_unmap() argument 586 bo->gbm->bo_unmap(bo, map_data); in gbm_bo_unmap()
|
D | gbmint.h | 80 void **map_data); 81 void (*bo_unmap)(struct gbm_bo *bo, void *map_data);
|
D | gbm.h | 341 uint32_t flags, uint32_t *stride, void **map_data); 344 gbm_bo_unmap(struct gbm_bo *bo, void *map_data);
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cShaderImageLoadStoreTests.cpp | 206 …bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int… in CompareValues() argument 210 if (!Equal(map_data[i], expected_value, internalformat)) in CompareValues() 213 << tcu::TestLog::Message << "[" << i << "] Value is: " << ToString(map_data[i]) in CompareValues() 221 …bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalfo… in CompareValues() argument 230 << tcu::TestLog::Message << "[" << i << "] Value is: " << ToString(map_data[i]) in CompareValues() 1147 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in Write() local 1150 if (!Equal(map_data[i], expected_value, internalformat)) in Write() 1153 << tcu::TestLog::Message << "[" << i << "] Value is: " << ToString(map_data[i]) in Write() 1273 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in WriteCS() local 1276 if (!Equal(map_data[i], expected_value, internalformat)) in WriteCS() [all …]
|
D | es31cShaderImageSizeTests.cpp | 545 ivec4* map_data = (ivec4*)glMapBufferRange(output_buffer_type, 0, kSize * 4 * 4, GL_MAP_READ_BIT); in Run() local 548 if (!Equal(map_data[i], expected_result[i])) in Run() 551 …<< tcu::TestLog::Message << "Returned value is: (" << map_data[i][0] << " " << map_data[i][1] << "… in Run() 552 … << map_data[i][2] << " " << map_data[i][3] << "). Expected value is: (" << expected_result[i][0] in Run()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilityShaderImageLoadStoreTests.cpp | 212 …bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int… in CompareValues() argument 216 if (!Equal(map_data[i], expected_value, internalformat)) in CompareValues() 219 << tcu::TestLog::Message << "[" << i << "] Value is: " << ToString(map_data[i]).c_str() in CompareValues() 227 …bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalfo… in CompareValues() argument 236 << tcu::TestLog::Message << "[" << i << "] Value is: " << ToString(map_data[i]).c_str() in CompareValues() 1181 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in Write() local 1184 if (!Equal(map_data[i], expected_value, internalformat)) in Write() 1187 << tcu::TestLog::Message << "[" << i << "] Value is: " << ToString(map_data[i]).c_str() in Write() 1307 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in WriteCS() local 1310 if (!Equal(map_data[i], expected_value, internalformat)) in WriteCS() [all …]
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm_bindings.rs | 148 pub fn gbm_bo_unmap(bo: *mut gbm_bo, map_data: *mut c_void); in gbm_bo_unmap() 256 map_data: *mut *mut c_void, in gbm_bo_map() 269 map_data: *mut *mut c_void, in gbm_bo_map2()
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 1206 uint32_t flags, uint32_t *stride, void **map_data) in gbm_dri_bo_map() argument 1213 *map_data = (char *)bo->map + (bo->base.stride * y) + (x * 4); in gbm_dri_bo_map() 1215 return *map_data; in gbm_dri_bo_map() 1233 map_data); in gbm_dri_bo_map() 1237 gbm_dri_bo_unmap(struct gbm_bo *_bo, void *map_data) in gbm_dri_bo_unmap() argument 1244 assert(map_data >= bo->map); in gbm_dri_bo_unmap() 1245 assert(map_data < (bo->map + bo->size)); in gbm_dri_bo_unmap() 1253 dri->image->unmapImage(dri->context, bo->image, map_data); in gbm_dri_bo_unmap()
|
/external/virglrenderer/src/ |
D | vrend_winsys_gbm.c | 326 void *map_data; in virgl_gbm_transfer() local 346 void *addr = gbm_bo_map(bo, 0, 0, width, height, map_flags, &host_map_stride0, &map_data); in virgl_gbm_transfer() 411 gbm_bo_unmap(bo, map_data); in virgl_gbm_transfer()
|
/external/protobuf/src/google/protobuf/util/internal/testdata/ |
D | anys.proto | 92 map<string, string> map_data = 7; field
|
D | default_value.proto | 129 map<string, string> map_data = 7; field
|
/external/vulkan-validation-layers/layers/generated/ |
D | chassis.h | 2506 VkDisplayKHR WrapDisplay(VkDisplayKHR newlyCreatedHandle, ValidationObject *map_data) { in WrapDisplay() argument 2509 map_data->display_id_reverse_mapping.insert_or_assign(newlyCreatedHandle, unique_id); in WrapDisplay() 2515 VkDisplayKHR MaybeWrapDisplay(VkDisplayKHR handle, ValidationObject *map_data) { in MaybeWrapDisplay() argument 2517 auto it = map_data->display_id_reverse_mapping.find(handle); in MaybeWrapDisplay() 2518 if (it != map_data->display_id_reverse_mapping.end()) return (VkDisplayKHR)it->second; in MaybeWrapDisplay() 2520 return WrapDisplay(handle, map_data); in MaybeWrapDisplay()
|