Home
last modified time | relevance | path

Searched refs:mapSize (Results 1 – 11 of 11) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fBufferMapTests.cpp53 …deUint32 bufferTarget, deUint32 usage, int bufferSize, int mapOffset, int mapSize, WriteType write) in BufferMapReadCase() argument
59 , m_mapSize (mapSize) in BufferMapReadCase()
159 …eUint32 bufferTarget, deUint32 usage, int bufferSize, int mapOffset, int mapSize, VerifyType verif… in BufferPartialMapWriteCase() argument
165 , m_mapSize (mapSize) in BufferPartialMapWriteCase()
232 const int mapSize = 1011; in iterate() local
235 const int verifySize = mapSize-mapWriteOffs; in iterate()
246 …fillWithRandomBytes(refBuf.getPtr(mapOffset+mapWriteOffs), mapSize-mapWriteOffs, dataSeed&0xabcdef… in iterate()
248 …void* ptr = glMapBufferRange(m_bufferTarget, mapOffset, mapSize, GL_MAP_WRITE_BIT|GL_MAP_INVALIDAT… in iterate()
252 deMemcpy((deUint8*)ptr+mapWriteOffs, refBuf.getPtr(mapOffset+mapWriteOffs), mapSize-mapWriteOffs); in iterate()
291 const int mapSize = 1011; in iterate() local
[all …]
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp531 int sbMap[ 32 ], mapSize = 0; in test_sub_buffers_overlapping() local
535 for ( j = 0; j < mapSize; j++ ) in test_sub_buffers_overlapping()
542 memmove( &sbMap[ j + 1 ], &sbMap[ j ], sizeof( int ) * ( mapSize - j ) ); in test_sub_buffers_overlapping()
544 mapSize++; in test_sub_buffers_overlapping()
548 if ( j == mapSize ) in test_sub_buffers_overlapping()
551 mapSize++; in test_sub_buffers_overlapping()
555 for ( j = 0; j < mapSize; j++ ) in test_sub_buffers_overlapping()
562 memmove( &sbMap[ j + 1 ], &sbMap[ j ], sizeof( int ) * ( mapSize - j ) ); in test_sub_buffers_overlapping()
564 mapSize++; in test_sub_buffers_overlapping()
568 if ( j == mapSize ) in test_sub_buffers_overlapping()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp79 unsigned int mapSize = 0; in storeVertexAttributes() local
81 mRenderer->getVertexSpaceRequired(context, attrib, binding, count, instances, 0, &mapSize)); in storeVertexAttributes()
84 mVertexBuffer->Lock(offset, mapSize, reinterpret_cast<void **>(&mapPtr), lockFlags); in storeVertexAttributes()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java369 final int mapSize = readSmallUint(mapOffset);
379 return mapSize;
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableMapTest.java891 int mapSize = bytes.size(); in ignore_testSerializationNoDuplication_regularImmutableMap() local
898 assertThat(finalSize - mapSize).isLessThan(100); in ignore_testSerializationNoDuplication_regularImmutableMap()
922 int mapSize = bytes.size(); in ignore_testSerializationNoDuplication_jdkBackedImmutableMap() local
929 assertThat(finalSize - mapSize).isLessThan(100); in ignore_testSerializationNoDuplication_jdkBackedImmutableMap()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp1138 size_t mapSize = ((allocSize + 4095L) & -4096L) + 8192; in generate_random_image_data() local
1140 void *map = mmap(0, mapSize, PROT_READ | PROT_WRITE, in generate_random_image_data()
1142 intptr_t data_end = (intptr_t)map + mapSize - 4096; in generate_random_image_data()
1146 mprotect((void *)((char *)map + mapSize - 4096), 4096, PROT_NONE); in generate_random_image_data()
1147 P.reset(data, map, mapSize, allocSize); in generate_random_image_data()
3199 size_t mapSize = in create_random_image_data() local
3202 void *map = mmap(0, mapSize, PROT_READ | PROT_WRITE, in create_random_image_data()
3208 mapSize); in create_random_image_data()
3210 intptr_t data_end = (intptr_t)map + mapSize - 4096; in create_random_image_data()
3214 mprotect((void *)((char *)map + mapSize - 4096), 4096, PROT_NONE); in create_random_image_data()
[all …]
/external/brotli/research/
Dbrotlidump.py1729 mapSize = {L:64, D:4}[kind]
1731 self.cmaps[kind] = [0]*mapSize
1739 tableSize = mapSize*self.numberOfBlockTypes[kind]
1743 *divmod(len(cmap), mapSize))
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableMapTest.java817 int mapSize = bytes.size(); in ignore_testSerializationNoDuplication_regularImmutableMap() local
824 assertThat(finalSize - mapSize).isLessThan(100); in ignore_testSerializationNoDuplication_regularImmutableMap()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java644 int mapSize = this.builder.getRepeatedFieldCount(fieldDescriptor); in getField() local
649 for (int i = 0; i < mapSize; i++) { in getField()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp1109 size_t mapSize = std::min(size, mBufferSize - offset); in setData() local
1112 ANGLE_TRY(map(context, offset, mapSize, GL_MAP_WRITE_BIT, &writePointer)); in setData()
1114 memcpy(writePointer, data, mapSize); in setData()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1636 int mapSize = map.size(); in TestAvailableCharsets() local
1637 if(mapSize < charsets.length){ in TestAvailableCharsets()
1639 + " JDK: " + mapSize); in TestAvailableCharsets()