/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
HashBiMap.java | 48 * @param expectedSize the expected number of entries 52 public static <K, V> HashBiMap<K, V> create(int expectedSize) { 53 return new HashBiMap<K, V>(expectedSize); 72 private HashBiMap(int expectedSize) { 74 Maps.<K, V>newHashMapWithExpectedSize(expectedSize), 75 Maps.<V, K>newHashMapWithExpectedSize(expectedSize));
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ColorSpace.java | 105 private static void expectInputSize(ByteBuffer input, int expectedSize) { 106 if (input.remaining() < expectedSize) { 108 + "and height! Expected: " + expectedSize + ", Got: " + input.remaining() 113 private static void expectOutputSize(ByteBuffer output, int expectedSize) { 114 if (output.remaining() < expectedSize) { 116 + "and height! Expected: " + expectedSize + ", Got: " + output.remaining()
|
/external/guava/guava/src/com/google/common/collect/ |
HashBiMap.java | 52 * @param expectedSize the expected number of entries 56 public static <K, V> HashBiMap<K, V> create(int expectedSize) { 57 return new HashBiMap<K, V>(expectedSize); 76 private HashBiMap(int expectedSize) { 78 Maps.<K, V>newHashMapWithExpectedSize(expectedSize), 79 Maps.<V, K>newHashMapWithExpectedSize(expectedSize));
|
HashBasedTable.java | 57 final int expectedSize; 58 Factory(int expectedSize) { 59 this.expectedSize = expectedSize; 63 return Maps.newHashMapWithExpectedSize(expectedSize);
|
MinMaxPriorityQueue.java | 121 * expectedSize} elements. 123 public static Builder<Comparable> expectedSize(int expectedSize) { 125 .expectedSize(expectedSize); 144 * MinMaxPriorityQueue#expectedSize(int)} or {@link 162 private int expectedSize = UNSET_EXPECTED_SIZE; 171 * expected size of {@code expectedSize}. 173 public Builder<B> expectedSize(int expectedSize) { [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
InitDataParser.cpp | 77 uint32_t expectedSize = initData.size(); 78 expectedSize = htonl(expectedSize); 79 if (memcmp(&initData[readPosition], &expectedSize, 80 sizeof(expectedSize)) != 0) { 83 readPosition += sizeof(expectedSize);
|
/external/skia/tests/ |
OSPathTest.cpp | 34 size_t expectedSize = dir.size() + filename.size(); 36 expectedSize++; 38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
|
/cts/tests/tests/app/src/android/app/cts/ |
WallpaperManagerTest.java | 60 private void assertDesiredMinimum(Point suggestedSize, Point expectedSize) { 65 assertEquals(expectedSize, actualSize);
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 46 int expectedSize = expectedScreenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 56 assertEquals("Expected screen size value of " + expectedSize + " but got " + actualSize 57 + " for orientation " + ORIENTATIONS[i], expectedSize, actualSize);
|
/external/chromium_org/third_party/skia/tests/ |
OSPathTest.cpp | 34 size_t expectedSize = dir.size() + filename.size(); 36 expectedSize++; 38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestInnerClass.java | 61 public void assertSize(String assertID, int expectedSize, NodeList collection) { 62 test.assertSize(assertID, expectedSize, collection); 65 public void assertSize(String assertID, int expectedSize, 67 test.assertSize(assertID, expectedSize, collection); 70 public void assertSize(String assertID, int expectedSize, 72 test.assertSize(assertID, expectedSize, collection);
|
DOMTestFramework.java | 59 int expectedSize, 65 int expectedSize, 71 int expectedSize,
|
DOMTestCase.java | 236 * @param expectedSize 243 int expectedSize, 245 framework.assertSize(this, assertID, expectedSize, collection); 253 * @param expectedSize 260 int expectedSize, 262 framework.assertSize(this, assertID, expectedSize, collection); 270 * @param expectedSize 277 int expectedSize, 279 framework.assertSize(this, assertID, expectedSize, collection);
|
JUnitTestCaseAdapter.java | 226 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NodeList collection) { 227 assertEquals(assertID,expectedSize, collection.getLength()); 230 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NamedNodeMap collection) { 231 assertEquals(assertID, expectedSize, collection.getLength()); 234 public void assertSize(DOMTestCase test, String assertID, int expectedSize, Collection collection) { 235 assertEquals(assertID, expectedSize, collection.size());
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayBufferBuilderTest.cpp | 138 size_t expectedSize = sizeof(expected) - 1; 142 ASSERT_EQ(expectedSize, result->byteLength()); 143 EXPECT_EQ(0, memcmp(expected, result->data(), expectedSize)); 172 size_t expectedSize = sizeof(expected) - 1; 175 EXPECT_EQ(expectedSize, result.length());
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractTableReadTest.java | 50 protected void assertSize(int expectedSize) { 51 assertEquals(expectedSize, table.size());
|
MinMaxPriorityQueueTest.java | 70 .expectedSize(8) 80 .expectedSize(8) 108 .expectedSize(8) 140 .expectedSize(8) 163 .expectedSize(8) 188 MinMaxPriorityQueue.expectedSize(heapSize).create(); 470 MinMaxPriorityQueue.expectedSize(5).create(); 502 Ordering.natural().reverse()).expectedSize(5).create(); 552 MinMaxPriorityQueue.expectedSize(heapSize).create();
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodSubtypeArray.java | 237 private static byte[] decompress(final byte[] data, final int expectedSize) { 243 final byte [] result = new byte[expectedSize]; 253 if (expectedSize != totalReadBytes) {
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
filetst.c | 442 int32_t expectedSize = (int32_t)strlen(testStr); 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*repetitions) [all...] |
/external/icu/icu4c/source/test/iotest/ |
filetst.c | 442 int32_t expectedSize = (int32_t)strlen(testStr); 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*repetitions) [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
usettest.c | 362 int32_t expectedSize = 0; 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/ |
usettest.c | 362 int32_t expectedSize = 0; 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);
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerBaseTest.java | 474 long expectedSize = getBytesDownloaded(id) + bytesToReceive; 476 while ((currentSize = getBytesDownloaded(id)) <= expectedSize) { 478 expectedSize, currentSize));
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
LocalFrame.h | 128 FloatSize resizePageRectsKeepingRatio(const FloatSize& originalSize, const FloatSize& expectedSize);
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderBase.h | 95 uint32_t expectedSize, uint32_t *outsize, uint32_t *stride, uint8_t **usrptr);
|