Home
last modified time | relevance | path

Searched refs:vsize (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.cpp430 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData() local
434 vsize = vsize / 4; in glUtilsPackPointerData()
440 if (stride == 0) stride = vsize; in glUtilsPackPointerData()
442 if (stride == vsize) { in glUtilsPackPointerData()
445 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsPackPointerData()
446 memcpy(dst, src, vsize); in glUtilsPackPointerData()
447 dst += vsize; in glUtilsPackPointerData()
459 unsigned int vsize = size * glSizeof(type); in glUtilsWritePackPointerData() local
460 if (stride == 0) stride = vsize; in glUtilsWritePackPointerData()
462 if (stride == vsize) { in glUtilsWritePackPointerData()
[all …]
/device/google/cuttlefish_common/common/libs/auto_resources/
Dauto_free_buffer_test.cpp112 size_t vsize = snprintf(&temp_buffer[0], sizeof(temp_buffer), in TEST_F() local
116 EXPECT_EQ(vsize, in TEST_F()
119 EXPECT_EQ(vsize + 1, buffer_.size()); in TEST_F()
127 EXPECT_EQ(vsize, in TEST_F()
130 EXPECT_EQ(vsize + 1, buffer_.size()); in TEST_F()