Home
last modified time | relevance | path

Searched refs:initialSize (Results 1 – 25 of 82) sorted by relevance

1234

/external/deqp/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp83 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
86 const deUint32 height = !initialSize ? (deUint32)DEFAULT_WINDOW_HEIGHT : initialSize->y(); in createWindow()
87 const deUint32 width = !initialSize ? (deUint32)DEFAULT_WINDOW_WIDTH : initialSize->x(); in createWindow()
126 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
129 const deUint32 height = !initialSize ? (deUint32)DEFAULT_WINDOW_HEIGHT : initialSize->y(); in createWindow()
130 const deUint32 width = !initialSize ? (deUint32)DEFAULT_WINDOW_WIDTH : initialSize->x(); in createWindow()
167 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
169 const deUint32 height = !initialSize ? (deUint32)DEFAULT_WINDOW_HEIGHT : initialSize->y(); in createWindow()
170 const deUint32 width = !initialSize ? (deUint32)DEFAULT_WINDOW_WIDTH : initialSize->x(); in createWindow()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java470 int initialSize = map.size(); in testEntrySetIteratorRemove() local
476 assertEquals(initialSize - 1, map.size()); in testEntrySetIteratorRemove()
510 int initialSize = map.size(); in testEntrySetRemove() local
513 assertEquals(initialSize - 1, map.size()); in testEntrySetRemove()
538 int initialSize = map.size(); in testEntrySetRemoveMissingKey() local
548 assertEquals(initialSize, map.size()); in testEntrySetRemoveMissingKey()
565 int initialSize = map.size(); in testEntrySetRemoveDifferentValue() local
575 assertEquals(initialSize, map.size()); in testEntrySetRemoveDifferentValue()
621 int initialSize = map.size(); in testEntrySetRemoveNullKeyMissing() local
635 assertEquals(initialSize, map.size()); in testEntrySetRemoveNullKeyMissing()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.cpp83 int initialSize = GrNextPow2(SkTMax(minWidth, minHeight)); local
84 initialSize = SkTMax(int(kMinSize), initialSize);
85 initialSize = SkTMin(initialSize, fMaxAtlasSize);
86 fHeight = fWidth = initialSize;
87 fTopNode = skstd::make_unique<Node>(nullptr, 0, 0, initialSize, initialSize);
/external/skia/src/gpu/ccpr/
DGrCCAtlas.cpp92 int initialSize = GrNextPow2(minSize + kPadding); in GrCCAtlas() local
93 initialSize = SkTMax(kAtlasMinSize, initialSize); in GrCCAtlas()
94 initialSize = SkTMin(initialSize, fMaxAtlasSize); in GrCCAtlas()
95 fHeight = fWidth = initialSize; in GrCCAtlas()
/external/deqp/framework/platform/win32/
DtcuWin32VulkanPlatform.cpp77 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
80 const deUint32 width = !initialSize ? 400 : initialSize->x(); in createWindow()
81 const deUint32 height = !initialSize ? 300 : initialSize->y(); in createWindow()
/external/swiftshader/src/OpenGL/libGLES_CM/
DIndexDataManager.cpp154 …ndexBuffer::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(nullptr), mBufferSize(in… in StreamingIndexBuffer() argument
156 if(initialSize > 0) in StreamingIndexBuffer()
158 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer()
162 ERR("Out of memory allocating an index buffer of size %u.", initialSize); in StreamingIndexBuffer()
/external/swiftshader/src/OpenGL/libGL/
DIndexDataManager.cpp172 …ndexBuffer::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(nullptr), mBufferSize(in… in StreamingIndexBuffer() argument
174 if(initialSize > 0) in StreamingIndexBuffer()
176 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer()
180 ERR("Out of memory allocating an index buffer of size %u.", initialSize); in StreamingIndexBuffer()
/external/deqp/framework/delibs/debase/
DdeMemory.c293 size_t initialSize; in deMemory_selfTest() member
331 …void* const ptr = deAlignedMalloc(s_alignedReallocCases[caseNdx].initialSize, s_alignedReallocCa… in deMemory_selfTest()
336 deMemset(ptr, 0xaa, s_alignedReallocCases[caseNdx].initialSize); in deMemory_selfTest()
340 … numPreserved = s_alignedReallocCases[caseNdx].newSize < s_alignedReallocCases[caseNdx].initialSize in deMemory_selfTest()
342 : s_alignedReallocCases[caseNdx].initialSize; in deMemory_selfTest()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_StringWriter.java42 public Support_StringWriter(int initialSize) { in Support_StringWriter() argument
43 if (initialSize >= 0) { in Support_StringWriter()
44 buf = new StringBuffer(initialSize); in Support_StringWriter()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionRemoveTester.java48 int initialSize = collection.size(); in testRemove_present() local
52 initialSize - 1, collection.size()); in testRemove_present()
82 int initialSize = collection.size(); in testRemove_nullPresent() local
85 initialSize - 1, collection.size()); in testRemove_nullPresent()
DMapRemoveTester.java50 int initialSize = getMap().size(); in testRemove_present() local
54 initialSize - 1, getMap().size()); in testRemove_present()
112 int initialSize = getMap().size(); in testRemove_nullPresent() local
116 initialSize - 1, getMap().size()); in testRemove_nullPresent()
DListRemoveTester.java44 int initialSize = getList().size(); in testRemove_duplicate() local
53 initialSize - 1, getList().size()); in testRemove_duplicate()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DBiMapRemoveTester.java88 int initialSize = getNumElements(); in testKeySetIteratorRemove() local
92 assertEquals(initialSize - 1, getMap().size()); in testKeySetIteratorRemove()
93 assertEquals(initialSize - 1, getMap().inverse().size()); in testKeySetIteratorRemove()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs56 public FlatBufferBuilder(int initialSize) in FlatBufferBuilder() argument
58 if (initialSize <= 0) in FlatBufferBuilder()
60 initialSize, "Must be greater than zero"); in FlatBufferBuilder()
61 _space = initialSize; in FlatBufferBuilder()
62 _bb = new ByteBuffer(new byte[initialSize]); in FlatBufferBuilder()
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp242 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
250 if (initialSize) in createWindow()
251 … window->setBuffersGeometry((int)initialSize->x(), (int)initialSize->y(), WINDOW_FORMAT_RGBA_8888); in createWindow()
/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp373 …eamingIndexBuffer::StreamingIndexBuffer(size_t initialSize) : mIndexBuffer(NULL), mBufferSize(init… in StreamingIndexBuffer() argument
375 if(initialSize > 0) in StreamingIndexBuffer()
377 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer()
381 ERR("Out of memory allocating an index buffer of size %u.", initialSize); in StreamingIndexBuffer()
/external/javassist/src/main/javassist/bytecode/
DLongVector.java30 public LongVector(int initialSize) { in LongVector() argument
31 int vsize = ((initialSize >> ABITS) & ~(VSIZE - 1)) + VSIZE; in LongVector()
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
DGwtWorkarounds.java96 static CharOutput stringBuilderOutput(int initialSize) { in stringBuilderOutput() argument
97 final StringBuilder builder = new StringBuilder(initialSize); in stringBuilderOutput()
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractMultimapAsMapImplementsMapTest.java77 int initialSize = map.size(); in testRemove() local
83 assertEquals(initialSize - 1, map.size()); in testRemove()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java128 long initialSize = cache.size();
129 assertTrue(initialSize == 1 || initialSize == 2);
/external/flatbuffers/go/
Dbuilder.go24 func NewBuilder(initialSize int) *Builder {
25 if initialSize <= 0 {
26 initialSize = 0
30 b.Bytes = make([]byte, initialSize)
31 b.head = UOffsetT(initialSize)
/external/guava/guava/src/com/google/common/io/
DGwtWorkarounds.java210 static CharOutput stringBuilderOutput(int initialSize) {
211 final StringBuilder builder = new StringBuilder(initialSize);
/external/annotation-tools/asmx/src/org/objectweb/asm/
DByteVector.java64 public ByteVector(final int initialSize) { in ByteVector() argument
65 data = new byte[initialSize]; in ByteVector()
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp615 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; in SpoofData() local
616 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); in SpoofData()
618 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); in SpoofData()
619 fMemLimit = initialSize; in SpoofData()
624 uprv_memset(fRawData, 0, initialSize); in SpoofData()
/external/flatbuffers/python/flatbuffers/
Dbuilder.py115 def __init__(self, initialSize): argument
121 if not (0 <= initialSize <= Builder.MAX_BUFFER_SIZE):
125 self.Bytes = bytearray(initialSize)
128 self.head = UOffsetTFlags.py_type(initialSize)

1234