/external/guava/src/com/google/common/collect/ |
HashBiMap.java | 51 * @param expectedSize the expected number of entries 55 public static <K, V> HashBiMap<K, V> create(int expectedSize) { 56 return new HashBiMap<K, V>(expectedSize); 75 private HashBiMap(int expectedSize) { 76 super(new HashMap<K, V>(Maps.capacity(expectedSize)), 77 new HashMap<V, K>(Maps.capacity(expectedSize)));
|
Maps.java | 83 * @param expectedSize the expected size 85 * capacity to hold {@code expectedSize} elements without rehashing 86 * @throws IllegalArgumentException if {@code expectedSize} is negative 89 int expectedSize) { 92 * expectedSize. The larger value is necessary because HashMap resizes 95 return new HashMap<K, V>(capacity(expectedSize)); 102 * {@code expectedSize} entries. 104 * @throws IllegalArgumentException if {@code expectedSize} is negative 106 static int capacity(int expectedSize) { 107 checkArgument(expectedSize >= 0) [all...] |
Sets.java | 181 * @param expectedSize the expected size 183 * expectedSize} elements without rehashing 184 * @throws IllegalArgumentException if {@code expectedSize} is negative 186 public static <E> HashSet<E> newHashSetWithExpectedSize(int expectedSize) { 187 return new HashSet<E>(Maps.capacity(expectedSize)); [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
qwebdatabase.h | 42 qint64 expectedSize() const;
|
qwebdatabase.cpp | 51 For each database the web site can define an expectedSize(). The current size of the database 100 qint64 QWebDatabase::expectedSize() const
|
/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/webkit/Source/WebKit/android/WebCoreSupport/ |
WebResponse.h | 48 WebResponse(const std::string &url, const std::string &mimeType, long long expectedSize, const std::string &encoding, int httpStatusCode);
|
WebResponse.cpp | 69 WebResponse::WebResponse(const string &url, const string &mimeType, long long expectedSize, const string &encoding, int httpStatusCode) 73 , m_expectedSize(expectedSize)
|
/external/icu4c/test/iotest/ |
filetst.c | 436 int32_t expectedSize = (int32_t)strlen(testStr); 455 u_uastrncpy(buffer, testStr, expectedSize+1); 457 u_file_write(buffer, expectedSize, myFile); 475 if (readSize != expectedSize*repetitions) { 476 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); 478 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { 497 u_uastrncpy(buffer, testStr, expectedSize+1); 499 u_file_write(buffer, expectedSize, myFile); 520 if (readSize != expectedSize*repetitions) { 521 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions) [all...] |
strtst.c | 313 #define Test_u_snprintf(limit, format, value, expectedSize, expectedStr) \ 317 if (size != expectedSize || strcmp(cTestResult, expectedStr) != 0) {\ 318 log_err("Unexpected formatting. size=%d expectedSize=%d cTestResult=%s expectedStr=%s\n",\ 319 size, expectedSize, cTestResult, expectedStr);\
|
/external/icu4c/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/webkit/Source/WebCore/html/canvas/ |
WebGLRenderingContext.h | 597 void vertexAttribfImpl(GC3Duint index, GC3Dsizei expectedSize, GC3Dfloat, GC3Dfloat, GC3Dfloat, GC3Dfloat); 598 void vertexAttribfvImpl(GC3Duint index, Float32Array*, GC3Dsizei expectedSize); 599 void vertexAttribfvImpl(GC3Duint index, GC3Dfloat*, GC3Dsizei size, GC3Dsizei expectedSize);
|
WebGLRenderingContext.cpp | [all...] |
/external/webkit/Tools/Scripts/ |
VCSUtils.pm | [all...] |
/frameworks/base/core/java/android/webkit/ |
BrowserFrame.java | 673 * @param expectedSize The size that the buffer has allocated for this file. 677 int expectedSize) { 683 if (size <= expectedSize && buffer != null [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
LegacyConversionsTests.java | 425 long expectedSize = (sizeString != null) ? Long.parseLong(sizeString) : 0; 426 assertEquals(tag, expectedSize, actual.mSize);
|
/external/webkit/Source/JavaScriptCore/bytecompiler/ |
BytecodeGenerator.cpp | 283 int expectedSize = symbolTable->size() + newGlobals.size(); 284 globalObject->resizeRegisters(symbolTable->size(), expectedSize); 300 if (symbolTable->size() != expectedSize) [all...] |
/frameworks/media/libvideoeditor/vss/3gpwriter/src/ |
M4MP4W_Writer.c | [all...] |