/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | HashBiMap.java | 48 * @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 D | Maps.java | 87 * 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...] |
H A D | Sets.java | 179 * 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...] |
/external/guava/guava/src/com/google/common/collect/ |
H A D | HashBiMap.java | 52 * @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 D | HashBasedTable.java | 57 final int expectedSize; field in class:HashBasedTable.Factory 58 Factory(int expectedSize) { argument 59 this.expectedSize = expectedSize; 63 return Maps.newHashMapWithExpectedSize(expectedSize);
|
H A D | MinMaxPriorityQueue.java | 121 * 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 D | Maps.java | 90 * 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...] |
H A D | Sets.java | 182 * 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...] |
/external/webkit/Source/WebKit/qt/Api/ |
H A D | qwebdatabase.h | 42 qint64 expectedSize() const;
|
H A D | qwebdatabase.cpp | 51 For each database the web site can define an expectedSize(). The current size of the database 100 qint64 QWebDatabase::expectedSize() const function in class:QWebDatabase
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
H A D | WebResponse.h | 48 WebResponse(const std::string &url, const std::string &mimeType, long long expectedSize, const std::string &encoding, int httpStatusCode);
|
H A D | WebResponse.cpp | 69 WebResponse::WebResponse(const string &url, const string &mimeType, long long expectedSize, const string &encoding, int httpStatusCode) argument 73 , m_expectedSize(expectedSize)
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | AbstractTableReadTest.java | 50 protected void assertSize(int expectedSize) { argument 51 assertEquals(expectedSize, table.size());
|
H A D | 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();
|
H A D | AbstractMultimapTest.java | 93 protected void assertSize(int expectedSize) { argument 94 assertEquals(expectedSize, multimap.size()); 101 assertEquals(expectedSize, size); 108 assertEquals(expectedSize, size2);
|
H A D | ArrayTableTest.java | 48 @Override protected void assertSize(int expectedSize) { argument
|
H A D | MapsTest.java | 156 for (int expectedSize : largeExpectedSizes) { 157 int capacity = Maps.capacity(expectedSize); 159 "capacity (" + capacity + ") must be >= expectedSize (" + expectedSize + ")", 160 capacity >= expectedSize);
|
/external/icu4c/test/iotest/ |
H A D | filetst.c | 436 int32_t expectedSize = (int32_t)strlen(testStr); local 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*repetition 594 int32_t expectedSize = (int32_t)strlen(testStr); local [all...] |
H A D | 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/ |
H A D | usettest.c | 362 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/skia/tests/ |
H A D | PDFPrimitivesTest.cpp | 50 const char* expectedData, size_t expectedSize, 58 REPORTER_ASSERT(reporter, directSize == expectedSize); 49 CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, const char* expectedData, size_t expectedSize, bool indirect, bool compression) argument
|
/external/webkit/Source/WebCore/html/canvas/ |
H A D | 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);
|
H A D | WebGLRenderingContext.cpp | 4626 void WebGLRenderingContext::vertexAttribfImpl(GC3Duint index, GC3Dsizei expectedSize, GC3Dfloat v0, GC3Dfloat v1, GC3Dfloat v2, GC3Dfloat v3) argument 4636 switch (expectedSize) { 4659 void WebGLRenderingContext::vertexAttribfvImpl(GC3Duint index, Float32Array* v, GC3Dsizei expectedSize) argument 4667 vertexAttribfvImpl(index, v->data(), v->length(), expectedSize); 4670 void WebGLRenderingContext::vertexAttribfvImpl(GC3Duint index, GC3Dfloat* v, GC3Dsizei size, GC3Dsizei expectedSize) argument 4678 if (size < expectedSize) { 4688 switch (expectedSize) { 4706 for (int ii = 0; ii < expectedSize; ++ii)
|
/external/webkit/Tools/Scripts/ |
H A D | VCSUtils.pm | 1799 my $expectedSize = $encodedExpectedSize <= ord("Z") ? $encodedExpectedSize - ord("A") + 1 : $encodedExpectedSize - ord("a") + 27; 1801 die "$fullPath: unexpected size of a line: $&" if int(($expectedSize + 3) / 4) * 4 != $actualSize; 1802 $compressedSize += $expectedSize;
|
/external/clang/lib/CodeGen/ |
H A D | CGAtomic.cpp | 145 uint64_t expectedSize) { 146 return (CGM.getDataLayout().getTypeStoreSize(type) * 8 == expectedSize); 144 isFullSizeType(CodeGenModule &CGM, llvm::Type *type, uint64_t expectedSize) argument
|