/external/oboe/samples/RhythmGame/src/main/cpp/utils/ |
D | LockFreeQueue.h | 43 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];
|
/external/brotli/java/org/brotli/dec/ |
D | BitReader.java | 25 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()
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktConstexprVectorUtil.hpp | 40 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];
|
/external/icu/icu4c/source/test/cintltst/ |
D | unumberformattertst.c | 50 #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()
|
D | unumberrangeformattertst.c | 42 #define CAPACITY 30 macro 180 char buffer[CAPACITY]; in TestGetDecimalNumbers() 182 int32_t len = unumrf_resultGetFirstDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestGetDecimalNumbers() 186 len = unumrf_resultGetSecondDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestGetDecimalNumbers()
|
/external/rust/crates/tinyvec/src/ |
D | arrayvec.rs | 201 A::CAPACITY in append() 226 if new_len > A::CAPACITY { in try_append() 366 new_len <= A::CAPACITY, in extend_from_slice() 369 A::CAPACITY in extend_from_slice() 439 A::CAPACITY in from_array_len() 500 if (self.len as usize) < A::CAPACITY { in try_insert() 595 debug_assert!(self.len as usize <= A::CAPACITY); in try_push() 762 if new_len > A::CAPACITY { in set_len() 770 A::CAPACITY in set_len() 949 if len <= A::CAPACITY { in try_from_array_len() [all …]
|
D | array.rs | 24 const CAPACITY: usize; constant
|
D | tinyvec.rs | 214 if vec.len() > A::CAPACITY { in shrink_to_fit() 339 if cap <= A::CAPACITY { in with_capacity() 598 panic!("TinyVec: length {} exceeds capacity {}!", len, A::CAPACITY) in from_array_len() 609 if cap <= A::CAPACITY { in constructor_for_capacity() 1117 if slice.len() > A::CAPACITY { in from()
|
/external/rust/crates/tinyvec/src/array/ |
D | const_generic_impl.rs | 5 const CAPACITY: usize = N; constant
|
D | generated_impl.rs | 9 const CAPACITY: usize = 0; constant 31 const CAPACITY: usize = 1; constant 53 const CAPACITY: usize = 2; constant 75 const CAPACITY: usize = 3; constant 97 const CAPACITY: usize = 4; constant 119 const CAPACITY: usize = 5; constant 141 const CAPACITY: usize = 6; constant 170 const CAPACITY: usize = 7; constant 200 const CAPACITY: usize = 8; constant 231 const CAPACITY: usize = 9; constant [all …]
|
/external/rust/crates/tinyvec/ |
D | gen-array-impls.sh | 8 const CAPACITY: usize = $len;
|
/external/rust/crates/tinyvec/src-backup/ |
D | arrayset.rs | 53 if len.into() > A::CAPACITY { in from() 67 A::CAPACITY in capacity()
|
/external/libxml2/test/valid/dtds/ |
D | xhtml1.dcl | 26 CAPACITY NONE
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | MutableCodePointTrie.java | 662 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];
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MutableCodePointTrie.java | 670 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];
|
/external/icu/icu4c/source/common/ |
D | umutablecptrie.cpp | 709 if (length == CAPACITY) { in findOrAdd() 721 U_ASSERT(length == CAPACITY); in add() 752 static constexpr int32_t CAPACITY = 32; member in __anon1a978a9e0111::AllSameBlocks 757 int32_t indexes[CAPACITY]; 758 uint32_t values[CAPACITY]; 759 int32_t refCounts[CAPACITY];
|
/external/icu/icu4c/source/i18n/ |
D | number_skeletons.cpp | 1004 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local 1005 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption() 1007 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/external/ |
D | nistConversions.txt | 40 CAPACITY (see VOLUME) 355 MASS DIVIDED BY CAPACITY (see MASS DIVIDED BY VOLUME) 575 VOLUME (includes CAPACITY)
|