Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 25 of 3653) sorted by relevance

12345678910>>...147

/aosp_15_r20/frameworks/av/media/libaaudio/tests/
H A Dtest_atomic_fifo.cpp34 constexpr int capacity = 83; in TEST() local
78 constexpr int capacity = 7; // arbitrary prime in TEST() local
112 explicit TestFifoBuffer(fifo_frames_t capacity, fifo_frames_t threshold = 0) in TestFifoBuffer()
176 fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in verifyWrappingBuffer() local
256 const fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in checkWriteRead() local
270 const fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in checkWriteReadSmallLarge() local
342 constexpr int capacity = 51; // arbitrary in TEST() local
349 constexpr int capacity = 59; // arbitrary, a little bigger this time in TEST() local
355 constexpr int capacity = 51; // arbitrary in TEST() local
361 constexpr int capacity = 51; // arbitrary in TEST() local
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/training/
H A Dinput.py123 capacity=32, argument
210 capacity=32, argument
281 capacity=32, shared_name=None, name=None): argument
324 capacity=32, shared_name=None, name=None): argument
757 def _batch(tensors, batch_size, keep_input, num_threads=1, capacity=32, argument
797 def _batch_join(tensors_list, batch_size, keep_input, capacity=32, argument
832 def _shuffle_batch(tensors, batch_size, capacity, min_after_dequeue, argument
876 def _shuffle_batch_join(tensors_list, batch_size, capacity, argument
926 def batch(tensors, batch_size, num_threads=1, capacity=32, argument
1025 def maybe_batch(tensors, keep_input, batch_size, num_threads=1, capacity=32, argument
[all …]
/aosp_15_r20/frameworks/native/libs/input/tests/
H A DBlockingQueue_test.cpp32 constexpr size_t capacity = 10; in TEST() local
51 constexpr size_t capacity = 3; in TEST() local
66 constexpr size_t capacity = 10; in TEST() local
78 constexpr size_t capacity = 2; in TEST() local
90 constexpr size_t capacity = 4; in TEST() local
107 constexpr size_t capacity = 100; // large capacity to increase likelihood that threads overlap in TEST() local
132 constexpr size_t capacity = 1; in TEST() local
/aosp_15_r20/external/google-fruit/include/fruit/impl/util/
H A Dhash_helpers.defn.h32 inline HashSet<T> createHashSet(size_t capacity) { in createHashSet()
37 inline HashSetWithArenaAllocator<T> createHashSetWithArenaAllocator(size_t capacity, MemoryPool& me… in createHashSetWithArenaAllocator()
43 createHashSetWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher h… in createHashSetWithArenaAllocatorAndCustomFunctors()
55 inline HashMap<Key, Value> createHashMap(size_t capacity) { in createHashMap()
60 inline HashMapWithArenaAllocator<Key, Value> createHashMapWithArenaAllocator(std::size_t capacity, in createHashMapWithArenaAllocator()
68 createHashMapWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher h… in createHashMapWithArenaAllocatorAndCustomFunctors()
/aosp_15_r20/external/icu/icu4c/source/layoutex/
H A DRunArrays.cpp52 void RunArray::init(le_int32 capacity) in init()
94 void FontRuns::init(le_int32 capacity) in init()
100 void FontRuns::grow(le_int32 capacity) in grow()
146 void LocaleRuns::init(le_int32 capacity) in init()
152 void LocaleRuns::grow(le_int32 capacity) in grow()
198 void ValueRuns::init(le_int32 capacity) in init()
204 void ValueRuns::grow(le_int32 capacity) in grow()
/aosp_15_r20/packages/modules/StatsD/statsd/benchmark/
Ddata_structures_benchmark.cpp29 void benchmarkFunctionForVector(std::vector<ContainerType>& vec, int capacity) { in benchmarkFunctionForVector()
47 void benchmarkStdFillForVector(std::vector<ContainerType>& vec, int capacity) { in benchmarkStdFillForVector()
62 const int capacity = state.range(0); in BM_BasicVectorBoolUsage() local
72 const int capacity = state.range(0); in BM_VectorBoolStdFill() local
82 const int capacity = state.range(0); in BM_BasicVectorInt8Usage() local
92 const int capacity = state.range(0); in BM_VectorInt8StdFill() local
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/ext/base/
H A Dcontainer_annotations.h28 #define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) \ argument
34 #define ANNOTATE_DELETE_BUFFER(buffer, capacity, old_size) \ argument
40 #define ANNOTATE_CHANGE_SIZE(buffer, capacity, old_size, new_size) \ argument
52 #define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) argument
53 #define ANNOTATE_DELETE_BUFFER(buffer, capacity, old_size) argument
54 #define ANNOTATE_CHANGE_SIZE(buffer, capacity, old_size, new_size) argument
/aosp_15_r20/external/perfetto/include/perfetto/ext/base/
H A Dcontainer_annotations.h28 #define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) \ argument
34 #define ANNOTATE_DELETE_BUFFER(buffer, capacity, old_size) \ argument
40 #define ANNOTATE_CHANGE_SIZE(buffer, capacity, old_size, new_size) \ argument
52 #define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) argument
53 #define ANNOTATE_DELETE_BUFFER(buffer, capacity, old_size) argument
54 #define ANNOTATE_CHANGE_SIZE(buffer, capacity, old_size, new_size) argument
/aosp_15_r20/external/emma/core/java12/com/vladium/jcd/cls/
H A DElementFactory.java21 public static IAttributeCollection newAttributeCollection (final int capacity) in newAttributeCollection()
26 public static IConstantCollection newConstantCollection (final int capacity) in newConstantCollection()
31 public static IFieldCollection newFieldCollection (final int capacity) in newFieldCollection()
36 public static IInterfaceCollection newInterfaceCollection (final int capacity) in newInterfaceCollection()
41 public static IMethodCollection newMethodCollection (final int capacity) in newMethodCollection()
/aosp_15_r20/external/emma/core/java12/com/vladium/util/
H A DByteArrayOStream.java52 final int capacity = pos + 2; in write2() local
76 final int capacity = pos + 3; in write3() local
101 final int capacity = pos + 4; in write4() local
226 public final int capacity () in capacity() method in ByteArrayOStream
244 final int capacity = pos + 1; in write() local
273 final int capacity = pos + length; in write() local
/aosp_15_r20/libcore/ojluni/src/test/java/util/Vector/
H A DArrayManagement.java51 public PublicVector(int capacity) { super(capacity); } in PublicVector()
52 public PublicVector(int capacity, int capacityIncrement) { in PublicVector()
58 public int capacity() { return elementData.length; } in capacity() method in ArrayManagement.PublicVector
122 int capacity = list.capacity(); in defaultCapacityEnsureCapacity() local
127 int capacity = list.capacity(); in defaultCapacityEnsureCapacity() local
129 assertEquals(list.capacity(), 3 * capacity); in defaultCapacityEnsureCapacity() local
/aosp_15_r20/external/cronet/third_party/icu/source/common/
H A Dutrace.cpp92 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar()
128 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes()
138 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes()
157 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString()
172 char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputUString()
191 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) { in utrace_vformat()
385 utrace_format(char *outBuf, int32_t capacity, in utrace_format()
H A Duts46.cpp612 int32_t capacity=dest.getCapacity(); in mapDevChars() local
1327 void *dest, int32_t capacity, in checkArgs()
1358 char16_t *dest, int32_t capacity, in uidna_labelToASCII()
1374 char16_t *dest, int32_t capacity, in uidna_labelToUnicode()
1390 char16_t *dest, int32_t capacity, in uidna_nameToASCII()
1406 char16_t *dest, int32_t capacity, in uidna_nameToUnicode()
1422 char *dest, int32_t capacity, in uidna_labelToASCII_UTF8()
1438 char *dest, int32_t capacity, in uidna_labelToUnicodeUTF8()
1454 char *dest, int32_t capacity, in uidna_nameToASCII_UTF8()
1470 char *dest, int32_t capacity, in uidna_nameToUnicodeUTF8()
H A Duscript.cpp33 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes()
47 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode()
59 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale()
101 int32_t capacity, in uscript_getCode()
/aosp_15_r20/external/icu/icu4c/source/common/
H A Dutrace.cpp92 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar()
128 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes()
138 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes()
157 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString()
172 char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputUString()
191 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) { in utrace_vformat()
385 utrace_format(char *outBuf, int32_t capacity, in utrace_format()
H A Duts46.cpp613 int32_t capacity=dest.getCapacity(); in mapDevChars() local
1328 void *dest, int32_t capacity, in checkArgs()
1359 char16_t *dest, int32_t capacity, in uidna_labelToASCII()
1375 char16_t *dest, int32_t capacity, in uidna_labelToUnicode()
1391 char16_t *dest, int32_t capacity, in uidna_nameToASCII()
1407 char16_t *dest, int32_t capacity, in uidna_nameToUnicode()
1423 char *dest, int32_t capacity, in uidna_labelToASCII_UTF8()
1442 char *dest, int32_t capacity, in uidna_labelToUnicodeUTF8()
1461 char *dest, int32_t capacity, in uidna_nameToASCII_UTF8()
1480 char *dest, int32_t capacity, in uidna_nameToUnicodeUTF8()
H A Duscript.cpp32 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes()
46 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode()
58 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale()
92 int32_t capacity, in uscript_getCode()
/aosp_15_r20/libcore/ojluni/src/test/java/util/ArrayList/
H A DArrayManagement.java77 static int capacity(ArrayList<?> list) { in capacity() method in ArrayManagement
85 static void ensureCapacity(ArrayList<Object> list, int capacity) { in ensureCapacity()
139 int capacity = capacity(list); in defaultCapacityEnsureCapacity() local
144 int capacity = capacity(list); in defaultCapacityEnsureCapacity() local
146 assertEquals(capacity(list), 3 * capacity); in defaultCapacityEnsureCapacity() local
/aosp_15_r20/external/google-fruit/include/fruit/impl/normalized_component_storage/
H A Dnormalized_component_storage.defn.h26 NormalizedComponentStorage::createLazyComponentWithNoArgsSet(size_t capacity, MemoryPool& memory_po… in createLazyComponentWithNoArgsSet()
33 NormalizedComponentStorage::createLazyComponentWithArgsSet(size_t capacity, MemoryPool& memory_pool… in createLazyComponentWithArgsSet()
40 NormalizedComponentStorage::createLazyComponentWithNoArgsReplacementMap(size_t capacity, MemoryPool… in createLazyComponentWithNoArgsReplacementMap()
47 NormalizedComponentStorage::createLazyComponentWithArgsReplacementMap(size_t capacity, MemoryPool& … in createLazyComponentWithArgsReplacementMap()
/aosp_15_r20/external/coreboot/src/commonlib/storage/
H A Dstorage.c17 struct capacity { struct
24 uint64_t capacity; in display_capacity() argument
124 uint64_t capacity; in storage_startup() local
/aosp_15_r20/frameworks/av/media/codec2/vndk/
H A DC2AllocatorBlob.cpp37 c2_status_t GetCapacityFromHandle(const C2Handle* const grallocHandle, size_t* capacity) { in GetCapacityFromHandle()
79 std::shared_ptr<C2GraphicAllocation> graphicAllocation, size_t capacity, in C2AllocationBlob()
170 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation>* allocation) { in newLinearAllocation()
216 size_t capacity = 0; in priorLinearAllocation() local
241 size_t capacity; in CheckHandle() local
/aosp_15_r20/system/chre/util/include/chre/util/
H A Darray_queue.h313 ArrayQueueExternalStorage(ElementType *storage, size_t capacity) in ArrayQueueExternalStorage()
324 size_t capacity() const { in capacity() function
357 ArrayQueueExt(ElementType *storage, size_t capacity) in ArrayQueueExt()
377 size_t capacity) in ArrayQueueIterator()
/aosp_15_r20/external/webrtc/rtc_base/
H A Dbuffer.h91 BufferT(size_t size, size_t capacity) in BufferT()
107 BufferT(U* data, size_t size, size_t capacity) : BufferT(size, capacity) { in BufferT()
160 size_t capacity() const { in capacity() function
350 void EnsureCapacity(size_t capacity) { in EnsureCapacity()
373 void EnsureCapacityWithHeadroom(size_t capacity, bool extra_headroom) { in EnsureCapacityWithHeadroom()
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dudatpg.cpp61 char16_t *bestPattern, int32_t capacity, in udatpg_getBestPattern()
72 char16_t *bestPattern, int32_t capacity, in udatpg_getBestPatternWithOptions()
89 char16_t *skeleton, int32_t capacity, in udatpg_getSkeleton()
107 char16_t *skeleton, int32_t capacity, in udatpg_getBaseSkeleton()
126 char16_t *conflictingPattern, int32_t capacity, int32_t *pLength, in udatpg_addPattern()
188 char16_t *fieldName, int32_t capacity, in udatpg_getFieldDisplayName()
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dudatpg.cpp61 char16_t *bestPattern, int32_t capacity, in udatpg_getBestPattern()
72 char16_t *bestPattern, int32_t capacity, in udatpg_getBestPatternWithOptions()
89 char16_t *skeleton, int32_t capacity, in udatpg_getSkeleton()
107 char16_t *skeleton, int32_t capacity, in udatpg_getBaseSkeleton()
126 char16_t *conflictingPattern, int32_t capacity, int32_t *pLength, in udatpg_addPattern()
188 char16_t *fieldName, int32_t capacity, in udatpg_getFieldDisplayName()

12345678910>>...147