Home
last modified time | relevance | path

Searched refs:mapPtr (Results 1 – 25 of 69) sorted by relevance

123

/third_party/cef/tests/ceftests/
Dstring_unittest.cc228 cef_string_map_t mapPtr = cef_string_map_alloc(); in TEST() local
232 cef_string_map_append(mapPtr, it->first.GetStruct(), in TEST()
239 EXPECT_EQ(cef_string_map_size(mapPtr), 3U); in TEST()
241 ret = cef_string_map_key(mapPtr, 0U, str.GetWritableStruct()); in TEST()
244 ret = cef_string_map_value(mapPtr, 0U, str.GetWritableStruct()); in TEST()
248 ret = cef_string_map_key(mapPtr, 1U, str.GetWritableStruct()); in TEST()
251 ret = cef_string_map_value(mapPtr, 1U, str.GetWritableStruct()); in TEST()
255 ret = cef_string_map_key(mapPtr, 2U, str.GetWritableStruct()); in TEST()
258 ret = cef_string_map_value(mapPtr, 2U, str.GetWritableStruct()); in TEST()
264 ret = cef_string_map_find(mapPtr, key.GetStruct(), str.GetWritableStruct()); in TEST()
[all …]
/third_party/skia/src/utils/
DSkCamera.cpp119 const SkScalar* mapPtr = (const SkScalar*)(const void*)&fOrientation; in patchToMatrix() local
123 SkScalar dot = diff.dot({mapPtr[6], mapPtr[7], mapPtr[8]}); in patchToMatrix()
135 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
136 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
137 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
140 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
141 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
142 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
145 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
146 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() local
72 deMemset(mapPtr, uninitData, (size_t)offset); in createDataBuffer()
74 deMemset((deUint8 *)mapPtr + offset, initData, initDataSize); in createDataBuffer()
75 deMemset((deUint8 *)mapPtr + offset + initDataSize, uninitData, in createDataBuffer()
116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer() local
119 deMemset(mapPtr, 0x5A, (size_t) offset); in createColorDataBuffer()
121 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer()
122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer()
123 deMemset((deUint8 *) mapPtr + offset + 2 * sizeof(tcu::Vec4), 0x5A, in createColorDataBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp519 void *mapPtr; in copySubData() local
520 ANGLE_TRY(sourceVk->mapRangeImpl(contextVk, sourceOffset, size, GL_MAP_READ_BIT, &mapPtr)); in copySubData()
523 updateShadowBuffer(static_cast<uint8_t *>(mapPtr), size, destOffset); in copySubData()
561 uint8_t **mapPtr) in handleDeviceLocalBufferMap() argument
565 ANGLE_TRY(mHostVisibleBufferPool.allocate(contextVk, static_cast<size_t>(size), mapPtr, nullptr, in handleDeviceLocalBufferMap()
602 angle::Result BufferVk::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
607 return mapImpl(vk::GetImpl(context), GL_MAP_WRITE_BIT, mapPtr); in map()
614 void **mapPtr) in mapRange() argument
617 return mapRangeImpl(vk::GetImpl(context), offset, length, access, mapPtr); in mapRange()
620 angle::Result BufferVk::mapImpl(ContextVk *contextVk, GLbitfield access, void **mapPtr) in mapImpl() argument
[all …]
DBufferVk.h84 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
89 void **mapPtr) override;
121 angle::Result mapImpl(ContextVk *contextVk, GLbitfield access, void **mapPtr);
126 void **mapPtr);
132 void **mapPtr);
173 uint8_t **mapPtr);
194 uint8_t **mapPtr);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBufferGL.cpp125 angle::Result BufferGL::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
129 *mapPtr = mShadowCopy.data(); in map()
134 *mapPtr = mFunctions->mapBuffer(gl::ToGLenum(DestBufferOperationTarget), access); in map()
140 *mapPtr = mFunctions->mapBufferRange(gl::ToGLenum(DestBufferOperationTarget), 0, in map()
155 void **mapPtr) in mapRange() argument
159 *mapPtr = mShadowCopy.data() + offset; in mapRange()
164 *mapPtr = mFunctions->mapBufferRange(gl::ToGLenum(DestBufferOperationTarget), offset, in mapRange()
/third_party/flutter/skia/src/utils/
DSkCamera.cpp270 const SkScalar* mapPtr = (const SkScalar*)(const void*)&fOrientation; in patchToMatrix() local
280 SkUnit3D{mapPtr[6], mapPtr[7], mapPtr[8]}); in patchToMatrix()
292 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
293 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
294 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
297 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
298 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
299 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
302 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
303 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
/third_party/flutter/skia/third_party/externals/angle2/include/platform/
DFeature.h94 FeatureMap *const mapPtr,
119 FeatureMap *const mapPtr,
123 if (mapPtr != nullptr) in name()
125 (*mapPtr)[std::string(name)] = this; in name()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DBufferNULL.cpp77 angle::Result BufferNULL::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
79 *mapPtr = mData.data(); in map()
87 void **mapPtr) in mapRange() argument
89 *mapPtr = mData.data() + offset; in mapRange()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBufferGL.cpp144 angle::Result BufferGL::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
153 *mapPtr = mShadowCopy.data(); in map()
158 *mapPtr = ANGLE_GL_TRY( in map()
165 *mapPtr = in map()
183 void **mapPtr) in mapRange() argument
192 *mapPtr = mShadowCopy.data() + offset; in mapRange()
197 *mapPtr = in mapRange()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp188 angle::Result BufferVk::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
192 return mapImpl(vk::GetImpl(context), mapPtr); in map()
199 void **mapPtr) in mapRange() argument
201 return mapRangeImpl(vk::GetImpl(context), offset, length, access, mapPtr); in mapRange()
204 angle::Result BufferVk::mapImpl(ContextVk *contextVk, void **mapPtr) in mapImpl() argument
206 return mapRangeImpl(contextVk, 0, static_cast<VkDeviceSize>(mState.getSize()), 0, mapPtr); in mapImpl()
213 void **mapPtr) in mapRangeImpl() argument
229 reinterpret_cast<uint8_t **>(mapPtr))); in mapRangeImpl()
DBufferVk.h65 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
70 void **mapPtr) override;
96 angle::Result mapImpl(ContextVk *contextVk, void **mapPtr);
101 void **mapPtr);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp77 uint8_t *mapPtr = nullptr; in storeVertexAttributes() local
84 mVertexBuffer->Lock(offset, mapSize, reinterpret_cast<void **>(&mapPtr), lockFlags); in storeVertexAttributes()
102 memcpy(mapPtr, input, copySize); in storeVertexAttributes()
106 d3dVertexInfo.copyFunction(input, inputStride, count, mapPtr); in storeVertexAttributes()
DIndexBuffer9.cpp83 void *mapPtr = nullptr; in mapBuffer() local
84 HRESULT result = mIndexBuffer->Lock(offset, size, &mapPtr, lockFlags); in mapBuffer()
87 *outMappedMemory = mapPtr; in mapBuffer()
DBuffer9.h47 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
52 void **mapPtr) override;
/third_party/skia/third_party/externals/angle2/include/platform/
DFeature.h119 FeatureMap *const mapPtr,
147 FeatureMap *const mapPtr,
156 if (mapPtr != nullptr) in name()
158 (*mapPtr)[std::string(name)] = this; in name()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp77 uint8_t *mapPtr = nullptr; in storeVertexAttributes() local
84 mVertexBuffer->Lock(offset, mapSize, reinterpret_cast<void **>(&mapPtr), lockFlags); in storeVertexAttributes()
102 memcpy(mapPtr, input, copySize); in storeVertexAttributes()
106 d3dVertexInfo.copyFunction(input, inputStride, count, mapPtr); in storeVertexAttributes()
DIndexBuffer9.cpp83 void *mapPtr = nullptr; in mapBuffer() local
84 HRESULT result = mIndexBuffer->Lock(offset, size, &mapPtr, lockFlags); in mapBuffer()
87 *outMappedMemory = mapPtr; in mapBuffer()
/third_party/skia/src/gpu/
DGrStagingBufferManager.cpp37 void* mapPtr = newBuffer->map(); in allocateStagingBufferSlice() local
38 if (!mapPtr) { in allocateStagingBufferSlice()
41 fBuffers.emplace_back(std::move(newBuffer), mapPtr); in allocateStagingBufferSlice()
DGrStagingBufferManager.h52 StagingBuffer(sk_sp<GrGpuBuffer> buffer, void* mapPtr) in StagingBuffer()
54 , fMapPtr(mapPtr) {} in StagingBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DBufferNULL.cpp96 angle::Result BufferNULL::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
98 *mapPtr = mData.data(); in map()
106 void **mapPtr) in mapRange() argument
108 *mapPtr = mData.data() + offset; in mapRange()
/third_party/skia/src/gpu/dawn/
DGrDawnBuffer.h32 void setMapPtr(void* mapPtr) { in setMapPtr() argument
33 fMapPtr = mapPtr; in setMapPtr()
/third_party/icu/icu4c/source/test/intltest/
Dcaltest.cpp3720 const GregoToLunar * mapPtr = gregoToLunar; // in "caltestdata.h" included above in TestChineseCalendarMapping() local
3723 for (; mapPtr->gyr != 0; mapPtr++) { in TestChineseCalendarMapping()
3725 calGregory->set(mapPtr->gyr, mapPtr->gmo - 1, mapPtr->gda, 8, 0); in TestChineseCalendarMapping()
3730 mapPtr->gyr, mapPtr->gmo, mapPtr->gda, u_errorName(status)); in TestChineseCalendarMapping()
3740 mapPtr->gyr, mapPtr->gmo, mapPtr->gda, u_errorName(status)); in TestChineseCalendarMapping()
3743 if (yr != mapPtr->cyr || mo != mapPtr->cmo || lp != mapPtr->clp || da != mapPtr->cda) { in TestChineseCalendarMapping()
3745mapPtr->gyr, mapPtr->gmo, mapPtr->gda, mapPtr->cyr, mapPtr->cmo, mapPtr->clp, mapPtr->cda, yr, mo,… in TestChineseCalendarMapping()
3750 calChinese->set(UCAL_YEAR, mapPtr->cyr); in TestChineseCalendarMapping()
3751 calChinese->set(UCAL_MONTH, mapPtr->cmo - 1); in TestChineseCalendarMapping()
3752 calChinese->set(UCAL_IS_LEAP_MONTH, mapPtr->clp); in TestChineseCalendarMapping()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBufferDataTest.cpp651 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
652 ASSERT_NE(nullptr, mapPtr); in TEST_P()
654 memcpy(mapPtr, data.data(), data.size()); in TEST_P()
769 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
770 ASSERT_NE(nullptr, mapPtr); in TEST_P()
772 memcpy(mapPtr, data2.data(), sizeof(GLfloat) * data2.size()); in TEST_P()
816 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
817 ASSERT_NE(nullptr, mapPtr); in TEST_P()
819 memcpy(mapPtr, data2.data(), sizeof(GLfloat) * data2.size()); in TEST_P()
1111 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
[all …]
/third_party/flutter/skia/src/gpu/vk/
DGrVkMemory.cpp149 void* mapPtr; in MapAlloc() local
152 alloc.fSize, 0, &mapPtr)); in MapAlloc()
154 mapPtr = nullptr; in MapAlloc()
156 return mapPtr; in MapAlloc()

123