Searched refs:capacity (Results 1 - 25 of 628) sorted by relevance

1234567891011>>

/external/emma/core/java12/com/vladium/jcd/cls/
H A DElementFactory.java21 public static IAttributeCollection newAttributeCollection (final int capacity) argument
23 return new AttributeCollection (capacity);
26 public static IConstantCollection newConstantCollection (final int capacity) argument
28 return new ConstantCollection (capacity);
31 public static IFieldCollection newFieldCollection (final int capacity) argument
33 return new FieldCollection (capacity);
36 public static IInterfaceCollection newInterfaceCollection (final int capacity) argument
38 return new InterfaceCollection (capacity);
41 public static IMethodCollection newMethodCollection (final int capacity) argument
43 return new MethodCollection (capacity);
[all...]
/external/libcxx/test/std/containers/sequences/vector.bool/
H A Dcapacity.pass.cpp13 // size_type capacity() const;
24 assert(v.capacity() == 0);
28 assert(v.capacity() >= 100);
30 assert(v.capacity() >= 101);
35 assert(v.capacity() == 0);
39 assert(v.capacity() >= 100);
41 assert(v.capacity() >= 101);
H A Dreserve.pass.cpp25 assert(v.capacity() >= 10);
29 assert(v.capacity() >= 100);
32 assert(v.capacity() >= 100);
35 assert(v.capacity() >= 150);
41 assert(v.capacity() >= 10);
45 assert(v.capacity() >= 100);
48 assert(v.capacity() >= 100);
51 assert(v.capacity() >= 150);
H A Dresize_size.pass.cpp26 assert(v.capacity() >= 100);
29 assert(v.capacity() >= 200);
33 assert(v.capacity() >= 400);
40 assert(v.capacity() >= 100);
43 assert(v.capacity() >= 200);
47 assert(v.capacity() >= 400);
H A Dshrink_to_fit.pass.cpp26 assert(v.capacity() >= 101);
34 assert(v.capacity() >= 101);
H A Dresize_size_value.pass.cpp26 assert(v.capacity() >= 100);
30 assert(v.capacity() >= 200);
41 assert(v.capacity() >= 100);
45 assert(v.capacity() >= 200);
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DAttributeElementFactory.java20 public static IExceptionHandlerTable newExceptionHandlerTable (final int capacity) argument
22 return new ExceptionHandlerTable (capacity);
/external/testng/src/test/java/test/morten/
H A DSampleTest.java7 private int capacity = 10; field in class:SampleTest
24 public SampleTest(int capacity, float loadFactor) argument
26 System.out.println("CREATING TEST WITH " + capacity);
27 this.capacity=capacity;
34 //HashMap hashTable = new HashMap(capacity, loadFactor);
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/
H A Dcapacity.pass.cpp12 // size_type capacity() const;
24 assert(v.capacity() == 0);
29 assert(v.capacity() == 100);
31 assert(v.capacity() > 101);
37 assert(v.capacity() == 0);
42 assert(v.capacity() == 100);
44 assert(v.capacity() > 101);
H A Dreserve.pass.cpp25 assert(v.capacity() >= 10);
30 assert(v.capacity() == 100);
33 assert(v.capacity() == 100);
36 assert(v.capacity() == 150);
42 assert(v.capacity() == 100);
45 assert(v.capacity() == 100);
48 assert(v.capacity() == 150);
55 assert(v.capacity() >= 10);
60 assert(v.capacity() == 100);
63 assert(v.capacity()
[all...]
H A Dresize_size.pass.cpp28 assert(v.capacity() == 100);
32 assert(v.capacity() >= 200);
40 assert(v.capacity() == 100);
44 assert(v.capacity() >= 200);
52 assert(v.capacity() == 100);
56 assert(v.capacity() >= 200);
64 assert(v.capacity() == 100);
68 assert(v.capacity() >= 200);
77 assert(v.capacity() == 100);
81 assert(v.capacity() >
[all...]
H A Dswap.pass.cpp29 assert(v1.capacity() == 200);
32 assert(v2.capacity() == 100);
43 assert(v1.capacity() == 200);
46 assert(v2.capacity() == 100);
/external/icu/icu4c/source/common/
H A Dutrace.c90 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { argument
95 * 3. When preflighting buffer len (buffer capacity is exceeded), when
102 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */
103 (c=='\n' && *outIx>=capacity)) /* case 3 */
107 if (*outIx < capacity) {
114 if (*outIx < capacity) {
126 char *outBuf, int32_t *outIx, int32_t capacity) {
131 outputChar(c, outBuf, outIx, capacity, 0);
136 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { argument
150 outputHexBytes(*p, 2, outBuf, outIx, capacity);
125 outputHexBytes(int64_t val, int32_t charsToOutput, char *outBuf, int32_t *outIx, int32_t capacity) argument
155 outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument
169 outputUString(const UChar *s, int32_t len, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument
189 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) argument
383 utrace_format(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, ...) argument
[all...]
H A Duscript.c30 UScriptCode *dest, int32_t capacity, UErrorCode *err) {
33 if(length > capacity) {
44 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { argument
46 if(1 > capacity) {
56 UScriptCode *scripts, int32_t capacity, UErrorCode *err) {
69 return setCodes(JAPANESE, UPRV_LENGTHOF(JAPANESE), scripts, capacity, err);
72 return setCodes(KOREAN, UPRV_LENGTHOF(KOREAN), scripts, capacity, err);
79 return setCodes(HAN_BOPO, UPRV_LENGTHOF(HAN_BOPO), scripts, capacity, err);
88 return setOneCode(scriptCode, scripts, capacity, err);
98 int32_t capacity,
29 setCodes(const UScriptCode *src, int32_t length, UScriptCode *dest, int32_t capacity, UErrorCode *err) argument
55 getCodesFromLocale(const char *locale, UScriptCode *scripts, int32_t capacity, UErrorCode *err) argument
96 uscript_getCode(const char* nameOrAbbrOrLocale, UScriptCode* fillIn, int32_t capacity, UErrorCode* err) argument
[all...]
H A Dustrfmt.h16 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
H A DMonitorBenchmark.java33 @Param({"10", "100", "1000"}) int capacity; field in class:MonitorBenchmark
47 queue = (BlockingQueue<String>) constructor.newInstance(capacity);
49 strings = new String[capacity];
50 for (int i = 0; i < capacity; i++) {
56 int capacity = this.capacity;
60 for (int j = 0; j < capacity; j++) {
63 for (int j = 0; j < capacity; j++) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRawCollationKey.java58 * capacity. Size of the internal byte array will be set to 0.
59 * @param capacity length of internal byte array
61 public RawCollationKey(int capacity) argument
63 bytes = new byte[capacity];
/external/fmtlib/test/
H A Dstring-test.cc18 EXPECT_EQ(0u, buffer.capacity());
20 // std::string may have initial capacity.
21 std::size_t capacity = data.capacity(); local
24 EXPECT_EQ(capacity, data.capacity());
29 std::size_t capacity = std::string().capacity() + 10; local
30 buffer.reserve(capacity);
32 EXPECT_EQ(capacity, buffe
[all...]
/external/icu/icu4c/source/layoutex/
H A DRunArrays.cpp52 void RunArray::init(le_int32 capacity) argument
54 fLimits = LE_NEW_ARRAY(le_int32, capacity);
94 void FontRuns::init(le_int32 capacity) argument
96 RunArray::init(capacity);
97 fFonts = LE_NEW_ARRAY(const LEFontInstance *, capacity);
100 void FontRuns::grow(le_int32 capacity) argument
102 RunArray::grow(capacity);
103 fFonts = (const LEFontInstance **) LE_GROW_ARRAY(fFonts, capacity);
146 void LocaleRuns::init(le_int32 capacity) argument
148 RunArray::init(capacity);
152 grow(le_int32 capacity) argument
198 init(le_int32 capacity) argument
204 grow(le_int32 capacity) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_dynarray.h36 * Also, size <= capacity and data != 0 if and only if capacity != 0
37 * capacity will always be the allocation size of data
43 unsigned capacity; member in struct:util_dynarray
67 if(newsize > buf->capacity)
69 unsigned newcap = buf->capacity << 1;
72 buf->data = REALLOC(buf->data, buf->capacity, newcap);
73 buf->capacity = newcap;
90 if (buf->size != buf->capacity) {
92 buf->data = REALLOC(buf->data, buf->capacity, bu
[all...]
/external/syslinux/com32/gpllib/dmi/
H A Ddmi_battery.c50 void dmi_battery_capacity(uint16_t code, uint8_t multiplier, char *capacity) argument
53 sprintf(capacity, "%s", "Unknown");
55 sprintf(capacity, "%u mWh", code * multiplier);
/external/icu/icu4c/source/i18n/
H A Dupluralrules.cpp43 UChar *keyword, int32_t capacity,
49 if (keyword == NULL ? capacity != 0 : capacity < 0) {
54 return result.extract(keyword, capacity, *status);
41 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
/external/icu/icu4c/source/tools/toolutil/
H A Ddenseranges.h25 * Does it make sense to write 1..capacity ranges?
32 * @param capacity Maximum number of ranges.
33 * @return Minimum number of ranges (at most capacity) that have the desired density,
39 int32_t ranges[][2], int32_t capacity);
/external/llvm/include/llvm/Support/
H A DCapacity.h10 // This file defines the capacity function that computes the amount of
24 // This default definition of capacity should work for things like std::vector
26 return x.capacity() * sizeof(typename T::value_type);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DCapacity.h10 // This file defines the capacity function that computes the amount of
22 // This default definition of capacity should work for things like std::vector
24 return x.capacity() * sizeof(typename T::value_type);

Completed in 1562 milliseconds

1234567891011>>