Home
last modified time | relevance | path

Searched refs:CAPACITY (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/utils/
DLockFreeQueue.h43 template <typename T, uint32_t CAPACITY, typename INDEX_TYPE = uint32_t>
62 static_assert(isPowerOfTwo(CAPACITY), "Capacity must be a power of 2");
144 bool isFull() const { return size() == CAPACITY; } in isFull()
146 INDEX_TYPE mask(INDEX_TYPE n) const { return static_cast<INDEX_TYPE>(n & (CAPACITY - 1)); } in mask()
148 T buffer[CAPACITY];
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DBitReader.java25 private static final int CAPACITY = 4096; field in BitReader
28 private static final int BUFFER_SIZE = CAPACITY + SLACK;
31 private static final int WATERLINE = CAPACITY - SAFEGUARD;
37 private static final int HALVES_CAPACITY = CAPACITY / HALF_SIZE;
65 int bytesInBuffer = CAPACITY - readOffset; in doReadMoreInput()
67 Utils.copyBytesWithin(s.byteBuffer, 0, readOffset, CAPACITY); in doReadMoreInput()
69 while (bytesInBuffer < CAPACITY) { in doReadMoreInput()
70 int spaceLeft = CAPACITY - bytesInBuffer; in doReadMoreInput()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktConstexprVectorUtil.hpp40 template<typename _t, size_t CAPACITY>
64 static_assert((sizeof...(_args_t) + 1) <= CAPACITY, "Not enough capacity to store values");
78 inline constexpr size_type max_size() const noexcept { return CAPACITY; } in max_size()
81 value_type values[CAPACITY];
/third_party/icu/icu4c/source/test/cintltst/
Dunumberformattertst.c50 #define CAPACITY 30 macro
54 UChar buffer[CAPACITY]; in TestSkeletonFormatToString()
68 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
75 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
82 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
282 char buffer[CAPACITY]; in TestToDecimalNumber()
284 int32_t len = unumf_resultToDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestToDecimalNumber()
Dunumberrangeformattertst.c42 #define CAPACITY 30 macro
181 char buffer[CAPACITY]; in TestGetDecimalNumbers()
183 int32_t len = unumrf_resultGetFirstDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestGetDecimalNumbers()
187 len = unumrf_resultGetSecondDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestGetDecimalNumbers()
/third_party/libxml2/test/valid/dtds/
Dxhtml1.dcl26 CAPACITY NONE
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java670 if (length == CAPACITY) { in findOrAdd()
682 assert(length == CAPACITY); in add()
712 private static final int CAPACITY = 32; field in MutableCodePointTrie.AllSameBlocks
717 private int[] indexes = new int[CAPACITY];
718 private int[] values = new int[CAPACITY];
719 private int[] refCounts = new int[CAPACITY];
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DMutableCodePointTrie.java662 if (length == CAPACITY) { in findOrAdd()
674 assert(length == CAPACITY); in add()
704 private static final int CAPACITY = 32; field in MutableCodePointTrie.AllSameBlocks
709 private int[] indexes = new int[CAPACITY];
710 private int[] values = new int[CAPACITY];
711 private int[] refCounts = new int[CAPACITY];
/third_party/node/deps/icu-small/source/common/
Dumutablecptrie.cpp709 if (length == CAPACITY) { in findOrAdd()
721 U_ASSERT(length == CAPACITY); in add()
752 static constexpr int32_t CAPACITY = 32; member in __anon484428f90111::AllSameBlocks
757 int32_t indexes[CAPACITY];
758 uint32_t values[CAPACITY];
759 int32_t refCounts[CAPACITY];
/third_party/skia/third_party/externals/icu/source/common/
Dumutablecptrie.cpp709 if (length == CAPACITY) { in findOrAdd()
721 U_ASSERT(length == CAPACITY); in add()
752 static constexpr int32_t CAPACITY = 32; member in __anon3e5b45780111::AllSameBlocks
757 int32_t indexes[CAPACITY];
758 uint32_t values[CAPACITY];
759 int32_t refCounts[CAPACITY];
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dumutablecptrie.cpp704 if (length == CAPACITY) { in findOrAdd()
716 U_ASSERT(length == CAPACITY); in add()
747 static constexpr int32_t CAPACITY = 32; member in __anon00fc0a6d0111::AllSameBlocks
752 int32_t indexes[CAPACITY];
753 uint32_t values[CAPACITY];
754 int32_t refCounts[CAPACITY];
/third_party/icu/icu4c/source/common/
Dumutablecptrie.cpp709 if (length == CAPACITY) { in findOrAdd()
721 U_ASSERT(length == CAPACITY); in add()
752 static constexpr int32_t CAPACITY = 32; member in __anonee8a190a0111::AllSameBlocks
757 int32_t indexes[CAPACITY];
758 uint32_t values[CAPACITY];
759 int32_t refCounts[CAPACITY];
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_skeletons.cpp919 static constexpr int32_t CAPACITY = 30; in parseMeasureUnitOption() local
920 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
922 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_skeletons.cpp1067 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local
1068 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
1070 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_skeletons.cpp1061 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local
1062 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
1064 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/icu/icu4c/source/i18n/
Dnumber_skeletons.cpp1061 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local
1062 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
1064 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/flutter/skia/third_party/externals/icu/patches/
Duniset_perf.patch129 int32_t refCounts[CAPACITY];