Home
last modified time | relevance | path

Searched refs:numItems (Results 1 – 25 of 57) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineUniqueRandomIterator.hpp41 UniqueRandomIterator (deUint32 numItems, deUint32 numValues, int seed);
56 UniqueRandomIterator<T>::UniqueRandomIterator (deUint32 numItems, deUint32 numValues, int seed) in UniqueRandomIterator() argument
60 DE_ASSERT(numItems <= numValues); in UniqueRandomIterator()
62 if (numItems == numValues) in UniqueRandomIterator()
65 m_indices = std::vector<deUint32>(numItems); in UniqueRandomIterator()
67 for (deUint32 itemNdx = 0; itemNdx < numItems; itemNdx++) in UniqueRandomIterator()
75 while (uniqueIndices.size() < numItems) in UniqueRandomIterator()
DvktPipelineCombinationsIterator.hpp41 CombinationsIterator (deUint32 numItems, deUint32 combinationSize);
72 CombinationsIterator<T>::CombinationsIterator (deUint32 numItems, deUint32 combinationSize) in CombinationsIterator() argument
73 : m_numItems (numItems) in CombinationsIterator()
79 …m_combinationCount = seriesProduct(numItems - combinationSize + 1, numItems) / seriesProduct(1, co… in CombinationsIterator()
/external/deqp/framework/delibs/decpp/
DdeRandom.hpp58 void choose (InputIter first, InputIter last, OutputIter result, int numItems);
103 void Random::choose (InputIter first, InputIter last, OutputIter result, int numItems) in choose() argument
112 if (ndx < numItems) in choose()
117 if (r < numItems) in choose()
122 DE_ASSERT(ndx >= numItems); in choose()
171 int numItems = (int)std::distance(first, last); in shuffle() local
173 for (int i = numItems-1; i >= 1; i--) in shuffle()
/external/lzma/CPP/7zip/UI/Common/
DSortUtils.cpp17 unsigned numItems = strings.Size(); in SortFileNames() local
18 indices.ClearAndSetSize(numItems); in SortFileNames()
20 for (unsigned i = 0; i < numItems; i++) in SortFileNames()
DOpenArchive.cpp320 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems) in GetNumberOfItems() argument
322 *numItems = _items.Size(); in GetNumberOfItems()
367 HRESULT CHandler::Extract(const UInt32 *indices, UInt32 numItems, in Extract() argument
371 bool allFilesMode = (numItems == (UInt32)(Int32)-1); in Extract()
373 numItems = _items.Size(); in Extract()
374 if (_stream && numItems == 0) in Extract()
378 for (i = 0; i < numItems; i++) in Extract()
398 for (i = 0; i < numItems; i++) in Extract()
1152 UInt32 numItems; in ReadParseItemProps() local
1153 RINOK(archive->GetNumberOfItems(&numItems)); in ReadParseItemProps()
[all …]
DExtract.cpp78 UInt32 numItems; in DecompressArchive() local
79 RINOK(archive->GetNumberOfItems(&numItems)); in DecompressArchive()
83 for (UInt32 i = 0; i < numItems; i++) in DecompressArchive()
/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c557 EAS_I32 numItems; in XMF_ReadNode() local
572 if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &numItems)) != EAS_SUCCESS) in XMF_ReadNode()
603 if (numItems == 0) in XMF_ReadNode()
649 for ( ; numItems > 0; numItems--) in XMF_ReadNode()
691 EAS_I32 numItems;
720 if ((result = XMF_ReadVLQ(pEASData, fileHandle, &numItems)) != EAS_SUCCESS)
743 while (numItems > 0)
807 numItems--;
810 if (numItems >0)
/external/lzma/CPP/7zip/Archive/7z/
D7zExtract.cpp46 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems, in Extract() argument
54 bool allFilesMode = (numItems == (UInt32)(Int32)-1); in Extract()
56 numItems = in Extract()
63 if(numItems == 0) in Extract()
75 for (UInt32 ii = 0; ii < numItems; ii++) in Extract()
D7zIn.cpp627 void CInArchive::ReadHashDigests(unsigned numItems, CUInt32DefVector &crcs) in ReadHashDigests() argument
629 ReadBoolVector2(numItems, crcs.Defs); in ReadHashDigests()
630 crcs.Vals.ClearAndSetSize(numItems); in ReadHashDigests()
633 for (unsigned i = 0; i < numItems; i++) in ReadHashDigests()
1038 void CInArchive::ReadBoolVector(unsigned numItems, CBoolVector &v) in ReadBoolVector() argument
1040 v.ClearAndSetSize(numItems); in ReadBoolVector()
1044 for (unsigned i = 0; i < numItems; i++) in ReadBoolVector()
1056 void CInArchive::ReadBoolVector2(unsigned numItems, CBoolVector &v) in ReadBoolVector2() argument
1061 ReadBoolVector(numItems, v); in ReadBoolVector2()
1064 v.ClearAndSetSize(numItems); in ReadBoolVector2()
[all …]
D7zIn.h358 void ReadHashDigests(unsigned numItems, CUInt32DefVector &crcs);
378 void ReadBoolVector(unsigned numItems, CBoolVector &v);
379 void ReadBoolVector2(unsigned numItems, CBoolVector &v);
381 CUInt64DefVector &v, unsigned numItems);
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.cpp94 CRecordVector<const UInt64 *> &sizePointers, UInt32 numItems) in SetSizes() argument
96 sizes.ClearAndSetSize(numItems); in SetSizes()
97 sizePointers.ClearAndSetSize(numItems); in SetSizes()
98 for(UInt32 i = 0; i < numItems; i++) in SetSizes()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java1126 int numItems = 0;
1129 numItems++;
1132 numItems += 2; // index and data
1135 numItems++;
1138 numItems++;
1141 numItems++;
1144 numItems++;
1147 numItems++;
1150 numItems++;
1153 numItems++;
[all …]
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp275 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems) in GetNumberOfItems() argument
277 *numItems = _streams.IsEmpty() ? 0 : 1; in GetNumberOfItems()
296 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems, in Extract() argument
300 if (numItems == 0) in Extract()
302 if (numItems != (UInt32)(Int32)-1 && (numItems != 1 || indices[0] != 0)) in Extract()
DLzmaHandler.cpp258 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems) in GetNumberOfItems() argument
260 *numItems = 1; in GetNumberOfItems()
426 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems, in Extract() argument
430 if (numItems == 0) in Extract()
432 if (numItems != (UInt32)(Int32)-1 && (numItems != 1 || indices[0] != 0)) in Extract()
DXzHandler.cpp375 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems) in GetNumberOfItems() argument
377 *numItems = 1; in GetNumberOfItems()
733 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems, in Extract() argument
737 if (numItems == 0) in Extract()
739 if (numItems != (UInt32)(Int32)-1 && (numItems != 1 || indices[0] != 0)) in Extract()
808 STDMETHODIMP CHandler::UpdateItems(ISequentialOutStream *outStream, UInt32 numItems, in UpdateItems() argument
813 if (numItems == 0) in UpdateItems()
819 if (numItems != 1) in UpdateItems()
DIArchive.h198 STDMETHOD(GetNumberOfItems)(UInt32 *numItems) MY_NO_THROW_DECL_ONLY x; \
200 …STDMETHOD(Extract)(const UInt32* indices, UInt32 numItems, Int32 testMode, IArchiveExtractCallback…
374 …STDMETHOD(UpdateItems)(ISequentialOutStream *outStream, UInt32 numItems, IArchiveUpdateCallback *u…
/external/lzma/CPP/7zip/UI/FileManager/
DLangUtils.h23 void LangSetDlgItems(HWND dialog, const UInt32 *ids, unsigned numItems);
24 void LangSetDlgItems_Colon(HWND dialog, const UInt32 *ids, unsigned numItems);
/external/lzma/CPP/Windows/Control/
DListView.h56 void SetItemCount(int numItems) { ListView_SetItemCount(_window, numItems); } in SetItemCount() argument
57 …void SetItemCountEx(int numItems, DWORD flags) { ListView_SetItemCountEx(_window, numItems, flags… in SetItemCountEx() argument
/external/lzma/C/
D7zArcIn.c339 static SRes RememberBitVector(CSzData *sd, UInt32 numItems, const Byte **v) in RememberBitVector() argument
341 UInt32 numBytes = (numItems + 7) >> 3; in RememberBitVector()
349 static UInt32 CountDefinedBits(const Byte *bits, UInt32 numItems) in CountDefinedBits() argument
354 for (; numItems != 0; numItems--) in CountDefinedBits()
367 static MY_NO_INLINE SRes ReadBitVector(CSzData *sd, UInt32 numItems, Byte **v, ISzAlloc *alloc) in ReadBitVector() argument
372 UInt32 numBytes = (numItems + 7) >> 3; in ReadBitVector()
388 unsigned numBits = (unsigned)numItems & 7; in ReadBitVector()
395 static MY_NO_INLINE SRes ReadUi32s(CSzData *sd2, UInt32 numItems, CSzBitUi32s *crcs, ISzAlloc *allo… in ReadUi32s() argument
401 MY_ALLOC(UInt32, crcs->Vals, numItems, alloc); in ReadUi32s()
405 for (i = 0; i < numItems; i++) in ReadUi32s()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleReader.java944 int numItems = reader.getArrayLength(res); in getAllItems() local
945 ArraySink subSink = sink.getOrCreateArraySink(i, numItems); in getAllItems()
948 assert(array.size == numItems); in getAllItems()
952 int numItems = reader.getTableLength(res); in getAllItems() local
953 TableSink subSink = sink.getOrCreateTableSink(i, numItems); in getAllItems()
956 assert(table.size == numItems); in getAllItems()
1045 int numItems = reader.getArrayLength(res); in getAllItems() local
1046 ArraySink subSink = sink.getOrCreateArraySink(key, numItems); in getAllItems()
1049 assert(array.size == numItems); in getAllItems()
1053 int numItems = reader.getTableLength(res); in getAllItems() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleReader.java942 int numItems = reader.getArrayLength(res); in getAllItems() local
943 ArraySink subSink = sink.getOrCreateArraySink(i, numItems); in getAllItems()
946 assert(array.size == numItems); in getAllItems()
950 int numItems = reader.getTableLength(res); in getAllItems() local
951 TableSink subSink = sink.getOrCreateTableSink(i, numItems); in getAllItems()
954 assert(table.size == numItems); in getAllItems()
1043 int numItems = reader.getArrayLength(res); in getAllItems() local
1044 ArraySink subSink = sink.getOrCreateArraySink(key, numItems); in getAllItems()
1047 assert(array.size == numItems); in getAllItems()
1051 int numItems = reader.getTableLength(res); in getAllItems() local
[all …]
/external/llvm/test/CodeGen/ARM/
D2009-09-20-LiveIntervalsBug.ll5 define arm_aapcs_vfpcc void @foo(i8* nocapture %pBuffer, i32 %numItems) nounwind {
26 define arm_aapcs_vfpcc <4 x float> @bar(i8* nocapture %pBuffer, i32 %numItems) nounwind {
D2009-09-22-LiveVariablesBug.ll12 define arm_aapcs_vfpcc void @ccc(i8* nocapture %pBuffer, i32 %numItems) nounwind {
/external/glide/library/src/main/java/com/bumptech/glide/
DListPreloader.java116 final int numItems = items.size(); in preload() local
117 for (int i = 0; i < numItems; i++) { in preload()
/external/icu/icu4c/source/common/
Duresdata.cpp754 int32_t numItems = getArrayLength(pResData, res); in ures_getAllTableItems() local
755 icu::ResourceArraySink *subSink = sink.getOrCreateArraySink(key, numItems, errorCode); in ures_getAllTableItems()
760 int32_t numItems = getTableLength(pResData, res); in ures_getAllTableItems() local
761 icu::ResourceTableSink *subSink = sink.getOrCreateTableSink(key, numItems, errorCode); in ures_getAllTableItems()
844 int32_t numItems = getArrayLength(pResData, res); in ures_getAllArrayItems() local
845 icu::ResourceArraySink *subSink = sink.getOrCreateArraySink(i, numItems, errorCode); in ures_getAllArrayItems()
850 int32_t numItems = getTableLength(pResData, res); in ures_getAllArrayItems() local
851 icu::ResourceTableSink *subSink = sink.getOrCreateTableSink(i, numItems, errorCode); in ures_getAllArrayItems()

123