Searched defs:expectedSize (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DArrayBufferBuilderTest.cpp138 size_t expectedSize = sizeof(expected) - 1; local
142 ASSERT_EQ(expectedSize, result->byteLength());
143 EXPECT_EQ(0, memcmp(expected, result->data(), expectedSize));
172 size_t expectedSize = sizeof(expected) - 1; local
175 EXPECT_EQ(expectedSize, result.length());
/external/chromium_org/third_party/skia/tests/
H A DOSPathTest.cpp34 size_t expectedSize = dir.size() + filename.size(); local
36 expectedSize++;
38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
H A DPDFPrimitivesTest.cpp73 const char* expectedData, size_t expectedSize,
81 REPORTER_ASSERT(reporter, directSize == expectedSize);
72 CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, const char* expectedData, size_t expectedSize, bool indirect, bool compression) argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DHashBiMap.java48 * @param expectedSize the expected number of entries
52 public static <K, V> HashBiMap<K, V> create(int expectedSize) { argument
53 return new HashBiMap<K, V>(expectedSize);
72 private HashBiMap(int expectedSize) { argument
74 Maps.<K, V>newHashMapWithExpectedSize(expectedSize),
75 Maps.<V, K>newHashMapWithExpectedSize(expectedSize));
H A DSets.java179 * that it <i>should</i> hold {@code expectedSize} elements without growth.
184 * @param expectedSize the number of elements you expect to add to the
187 * expectedSize} elements without resizing
188 * @throws IllegalArgumentException if {@code expectedSize} is negative
190 public static <E> HashSet<E> newHashSetWithExpectedSize(int expectedSize) { argument
191 return new HashSet<E>(Maps.capacity(expectedSize));
250 * capacity" that it <i>should</i> hold {@code expectedSize} elements without
255 * @param expectedSize the number of elements you expect to add to the
258 * {@code expectedSize} elements without resizing
259 * @throws IllegalArgumentException if {@code expectedSize} i
262 newLinkedHashSetWithExpectedSize( int expectedSize) argument
[all...]
H A DMaps.java87 * that it <i>should</i> hold {@code expectedSize} elements without growth.
92 * @param expectedSize the number of elements you expect to add to the
95 * expectedSize} elements without resizing
96 * @throws IllegalArgumentException if {@code expectedSize} is negative
99 int expectedSize) {
100 return new HashMap<K, V>(capacity(expectedSize));
105 * long as it grows no larger than expectedSize and the load factor is >= its
108 static int capacity(int expectedSize) { argument
109 if (expectedSize < 3) {
110 checkArgument(expectedSize >
98 newHashMapWithExpectedSize( int expectedSize) argument
[all...]
/external/skia/tests/
H A DOSPathTest.cpp34 size_t expectedSize = dir.size() + filename.size(); local
36 expectedSize++;
38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
H A DPDFPrimitivesTest.cpp72 const char* expectedData, size_t expectedSize,
80 REPORTER_ASSERT(reporter, directSize == expectedSize);
71 CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, const char* expectedData, size_t expectedSize, bool indirect, bool compression) argument
/external/guava/guava/src/com/google/common/collect/
H A DHashBiMap.java52 * @param expectedSize the expected number of entries
56 public static <K, V> HashBiMap<K, V> create(int expectedSize) { argument
57 return new HashBiMap<K, V>(expectedSize);
76 private HashBiMap(int expectedSize) { argument
78 Maps.<K, V>newHashMapWithExpectedSize(expectedSize),
79 Maps.<V, K>newHashMapWithExpectedSize(expectedSize));
H A DHashBasedTable.java57 final int expectedSize; field in class:HashBasedTable.Factory
58 Factory(int expectedSize) { argument
59 this.expectedSize = expectedSize;
63 return Maps.newHashMapWithExpectedSize(expectedSize);
H A DMinMaxPriorityQueue.java121 * expectedSize} elements.
123 public static Builder<Comparable> expectedSize(int expectedSize) { argument
125 .expectedSize(expectedSize);
144 * MinMaxPriorityQueue#expectedSize(int)} or {@link
162 private int expectedSize = UNSET_EXPECTED_SIZE; field in class:MinMaxPriorityQueue.Builder
171 * expected size of {@code expectedSize}.
173 public Builder<B> expectedSize(int expectedSize) { argument
[all...]
H A DSets.java182 * that it <i>should</i> hold {@code expectedSize} elements without growth.
187 * @param expectedSize the number of elements you expect to add to the
190 * expectedSize} elements without resizing
191 * @throws IllegalArgumentException if {@code expectedSize} is negative
193 public static <E> HashSet<E> newHashSetWithExpectedSize(int expectedSize) { argument
194 return new HashSet<E>(Maps.capacity(expectedSize));
253 * capacity" that it <i>should</i> hold {@code expectedSize} elements without
258 * @param expectedSize the number of elements you expect to add to the
261 * {@code expectedSize} elements without resizing
262 * @throws IllegalArgumentException if {@code expectedSize} i
265 newLinkedHashSetWithExpectedSize( int expectedSize) argument
[all...]
H A DMaps.java90 * that it <i>should</i> hold {@code expectedSize} elements without growth.
95 * @param expectedSize the number of elements you expect to add to the
98 * expectedSize} elements without resizing
99 * @throws IllegalArgumentException if {@code expectedSize} is negative
102 int expectedSize) {
103 return new HashMap<K, V>(capacity(expectedSize));
108 * long as it grows no larger than expectedSize and the load factor is >= its
111 static int capacity(int expectedSize) { argument
112 if (expectedSize < 3) {
113 checkArgument(expectedSize >
101 newHashMapWithExpectedSize( int expectedSize) argument
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractTableReadTest.java50 protected void assertSize(int expectedSize) { argument
51 assertEquals(expectedSize, table.size());
H A DArrayTableTest.java48 @Override protected void assertSize(int expectedSize) { argument
H A DAbstractMultimapTest.java93 protected void assertSize(int expectedSize) { argument
94 assertEquals(expectedSize, multimap.size());
101 assertEquals(expectedSize, size);
108 assertEquals(expectedSize, size2);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dusettest.c362 int32_t expectedSize = 0; local
389 ++expectedSize;
467 if (uset_size(set) == expectedSize) {
468 log_verbose("Ok: %s size is %d\n", pat, expectedSize);
471 pat, uset_size(set), expectedSize);
/external/icu/icu4c/source/test/cintltst/
H A Dusettest.c362 int32_t expectedSize = 0; local
389 ++expectedSize;
467 if (uset_size(set) == expectedSize) {
468 log_verbose("Ok: %s size is %d\n", pat, expectedSize);
471 pat, uset_size(set), expectedSize);
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DLocalFrame.cpp254 FloatSize LocalFrame::resizePageRectsKeepingRatio(const FloatSize& originalSize, const FloatSize& expectedSize) argument
263 resultSize.setWidth(floorf(expectedSize.width()));
268 resultSize.setHeight(floorf(expectedSize.height()));
/external/chromium_org/third_party/icu/source/test/iotest/
H A Dfiletst.c442 int32_t expectedSize = (int32_t)strlen(testStr); local
461 u_uastrncpy(buffer, testStr, expectedSize+1);
463 u_file_write(buffer, expectedSize, myFile);
481 if (readSize != expectedSize*repetitions) {
482 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
484 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) {
503 u_uastrncpy(buffer, testStr, expectedSize+1);
505 u_file_write(buffer, expectedSize, myFile);
526 if (readSize != expectedSize*repetitions) {
527 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetition
600 int32_t expectedSize = (int32_t)strlen(testStr); local
[all...]
/external/icu/icu4c/source/test/iotest/
H A Dfiletst.c442 int32_t expectedSize = (int32_t)strlen(testStr); local
461 u_uastrncpy(buffer, testStr, expectedSize+1);
463 u_file_write(buffer, expectedSize, myFile);
481 if (readSize != expectedSize*repetitions) {
482 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
484 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) {
503 u_uastrncpy(buffer, testStr, expectedSize+1);
505 u_file_write(buffer, expectedSize, myFile);
526 if (readSize != expectedSize*repetitions) {
527 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetition
600 int32_t expectedSize = (int32_t)strlen(testStr); local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dteximage.c1977 GLint expectedSize; local
2029 expectedSize = _mesa_cpal_compressed_size(level, internalFormat,
2058 expectedSize = compressed_tex_size(width, height, depth, internalFormat);
2098 if (expectedSize != imageSize) {
3600 GLint expectedSize, maxLevels = 0, maxTextureSize; local
3664 expectedSize = compressed_tex_size(width, height, depth, format);
3665 if (expectedSize != imageSize)
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp138 uint64_t expectedSize) {
139 return (CGM.getDataLayout().getTypeStoreSize(type) * 8 == expectedSize);
137 isFullSizeType(CodeGenModule &CGM, llvm::Type *type, uint64_t expectedSize) argument
/external/mesa3d/src/mesa/main/
H A Dteximage.c1977 GLint expectedSize; local
2029 expectedSize = _mesa_cpal_compressed_size(level, internalFormat,
2058 expectedSize = compressed_tex_size(width, height, depth, internalFormat);
2098 if (expectedSize != imageSize) {
3600 GLint expectedSize, maxLevels = 0, maxTextureSize; local
3664 expectedSize = compressed_tex_size(width, height, depth, format);
3665 if (expectedSize != imageSize)
/external/deqp/modules/gles3/functional/
H A Des3fShaderTextureFunctionTests.cpp1032 tcu::IVec3 expectedSize; member in struct:deqp::gles3::Functional::TextureSizeCase::TestSize
1229 m_context.getTestContext().getLog() << TestLog::Message << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSize.y() << "x" << testSize.expectedSize.z() << TestLog::EndMessage;
1231 gl.uniform3iv(sizeLoc, 1, testSize.expectedSize.m_data);
1243 m_context.getTestContext().getLog() << TestLog::Message << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSize.y() << TestLog::EndMessage;
1245 gl.uniform2iv(sizeLoc, 1, testSize.expectedSize.m_data);
1254 tcu::IVec3 expectedSize(testSize.expectedSize
[all...]

Completed in 530 milliseconds

12