/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | ElementFactory.java | 21 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 D | capacity.pass.cpp | 13 // 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 D | reserve.pass.cpp | 25 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 D | resize_size.pass.cpp | 26 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 D | shrink_to_fit.pass.cpp | 26 assert(v.capacity() >= 101); 34 assert(v.capacity() >= 101);
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | AttributeElementFactory.java | 20 public static IExceptionHandlerTable newExceptionHandlerTable (final int capacity) argument 22 return new ExceptionHandlerTable (capacity);
|
/external/lisa/libs/utils/platforms/ |
H A D | pixel_energy.py | 23 ( 307200, ActiveState(capacity=149, power=90)), 24 ( 384000, ActiveState(capacity=188, power=111)), 25 ( 460800, ActiveState(capacity=225, power=133)), 26 ( 537600, ActiveState(capacity=257, power=160)), 27 ( 614400, ActiveState(capacity=281, power=182)), 28 ( 691200, ActiveState(capacity=315, power=210)), 29 ( 768000, ActiveState(capacity=368, power=251)), 30 ( 844800, ActiveState(capacity=406, power=306)), 31 ( 902400, ActiveState(capacity=428, power=332)), 32 ( 979200, ActiveState(capacity [all...] |
H A D | hikey_energy.py | 23 ( 208000, ActiveState(capacity=178, power=16)), 24 ( 432000, ActiveState(capacity=369, power=29)), 25 ( 729000, ActiveState(capacity=622, power=47)), 26 ( 960000, ActiveState(capacity=819, power=75)), 27 (1200000, ActiveState(capacity=1024, power=112)) 37 ( 208000, ActiveState(capacity=178, power=69)), 38 ( 432000, ActiveState(capacity=369, power=124)), 39 ( 729000, ActiveState(capacity=622, power=224)), 40 ( 960000, ActiveState(capacity=819, power=367)), 41 (1200000, ActiveState(capacity [all...] |
H A D | juno_energy.py | 38 (450000, ActiveState(capacity=235, power=33)), 39 (575000, ActiveState(capacity=302, power=46)), 40 (700000, ActiveState(capacity=368, power=61)), 41 (775000, ActiveState(capacity=406, power=76)), 42 (850000, ActiveState(capacity=447, power=93)), 73 (450000, ActiveState(capacity=417, power=168)), 74 (625000, ActiveState(capacity=579, power=251)), 75 (800000, ActiveState(capacity=744, power=359)), 76 (950000, ActiveState(capacity=883, power=479)), 77 (1100000, ActiveState(capacity [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_ir_allocator.h | 37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0) 50 if (capacity <= count) { 51 capacity = MAX2(16, capacity * 2); 52 sizes = (unsigned *)realloc(sizes, capacity * sizeof(unsigned)); 53 offsets = (unsigned *)realloc(offsets, capacity * sizeof(unsigned)); 83 unsigned capacity; member in class:brw::simple_allocator
|
/external/testng/src/test/java/test/morten/ |
H A D | SampleTest.java | 7 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 D | capacity.pass.cpp | 12 // 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 D | reserve.pass.cpp | 25 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 D | resize_size.pass.cpp | 29 assert(v.capacity() == 100); 33 assert(v.capacity() >= 200); 41 assert(v.capacity() == 100); 45 assert(v.capacity() >= 200); 53 assert(v.capacity() == 100); 57 assert(v.capacity() >= 200); 65 assert(v.capacity() == 100); 69 assert(v.capacity() >= 200); 76 assert(v.capacity() == 100); 80 assert(v.capacity() > [all...] |
H A D | swap.pass.cpp | 29 assert(v1.capacity() == 200); 32 assert(v2.capacity() == 100); 43 assert(v1.capacity() == 200); 46 assert(v2.capacity() == 100);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | BufferAllocator.java | 28 public AllocatedBuffer allocateDirectBuffer(int capacity) { 29 return AllocatedBuffer.wrap(ByteBuffer.allocateDirect(capacity)); 41 * Allocates a direct (i.e. non-heap) buffer with the given capacity. 43 public abstract AllocatedBuffer allocateDirectBuffer(int capacity); argument
|
/external/icu/icu4c/source/common/ |
H A D | utrace.cpp | 93 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { argument 98 * 3. When preflighting buffer len (buffer capacity is exceeded), when 105 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ 106 (c=='\n' && *outIx>=capacity)) /* case 3 */ 110 if (*outIx < capacity) { 117 if (*outIx < capacity) { 129 char *outBuf, int32_t *outIx, int32_t capacity) { 134 outputChar(c, outBuf, outIx, capacity, 0); 139 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { argument 153 outputHexBytes(*p, 2, outBuf, outIx, capacity); 128 outputHexBytes(int64_t val, int32_t charsToOutput, char *outBuf, int32_t *outIx, int32_t capacity) argument 158 outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument 172 outputUString(const UChar *s, int32_t len, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument 192 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) argument 386 utrace_format(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, ...) argument [all...] |
H A D | uscript.cpp | 30 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 D | ustrfmt.h | 16 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 D | MonitorBenchmark.java | 33 @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 D | RawCollationKey.java | 58 * 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/icu/icu4c/source/layoutex/ |
H A D | RunArrays.cpp | 52 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 D | u_dynarray.h | 36 * 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 D | dmi_battery.c | 50 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/tools/toolutil/ |
H A D | denseranges.h | 25 * 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);
|