Home
last modified time | relevance | path

Searched refs:itemCount (Results 1 – 21 of 21) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCountingAdapter.java9 private int itemCount; field in CountingAdapter
11 public CountingAdapter(int itemCount) { in CountingAdapter() argument
12 this.itemCount = itemCount; in CountingAdapter()
15 public void setCount(int itemCount) { in setCount() argument
16 this.itemCount = itemCount; in setCount()
22 return itemCount; in getCount()
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp344 uint32_t itemCount, offset, i; in udata_swapPackage() local
412 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage()
413 if(itemCount==0) { in udata_swapPackage()
419 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset); in udata_swapPackage()
433 itemCount=0; /* make compilers happy */ in udata_swapPackage()
435 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage()
436 if(itemCount==0) { in udata_swapPackage()
438 } else if((uint32_t)length<(4+8*itemCount)) { in udata_swapPackage()
443 offset=20+ds->readUInt32(inEntries[itemCount-1].dataOffset); in udata_swapPackage()
458 if(itemCount==0) { in udata_swapPackage()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp391 itemCount=0; in Package()
423 for(idx=0; idx<itemCount; ++idx) { in ~Package()
513 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes); in readPackage()
514 setItemCapacity(itemCount); /* resize so there's space */ in readPackage()
515 if(itemCount==0) { in readPackage()
517 } else if(length<(4+8*itemCount)) { in readPackage()
522 offset=20+(int32_t)ds->readUInt32(inEntries[itemCount-1].dataOffset); in readPackage()
532 if(itemCount<=0) { in readPackage()
541 if(itemCount>itemMax) { in readPackage()
547 int32_t stringsOffset=4+8*itemCount; in readPackage()
[all …]
Dpackage.h168 int32_t itemCount; variable
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DMapItem.java56 private final int itemCount; field in MapItem
125 Item lastItem, int itemCount) { in MapItem() argument
144 if (itemCount <= 0) { in MapItem()
152 this.itemCount = itemCount; in MapItem()
172 this.itemCount = 1; in MapItem()
226 out.annotate(4, " size: " + Hex.u4(itemCount)); in writeTo0()
232 out.writeInt(itemCount); in writeTo0()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DSectionAnnotator.java48 public final int itemCount; field in SectionAnnotator
58 this.itemCount = mapItem.getItemCount(); in SectionAnnotator()
71 annotateSectionInner(out, itemCount); in annotateSection()
74 protected void annotateSectionInner(@Nonnull AnnotatedBytes out, int itemCount) { in annotateSectionInner() argument
77 if (itemCount > 0) { in annotateSectionInner()
84 for (int i=0; i<itemCount; i++) { in annotateSectionInner()
/external/icu/icu4c/source/tools/genren/
Dgenren.pl129 $itemCount = 0;
145 $itemCount++;
222 …die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.…
226 …die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.…
229 print " Loaded $symbolCount symbols from $itemCount lines in $fileCount files.\n";
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetSelector.java63 int itemCount = unicodePointSet.getRangeCount(); in generateSelectorData() local
64 for (int j = 0; j < itemCount; ++j) { in generateSelectorData()
74 int itemCount = excludedCodePoints.getRangeCount(); in generateSelectorData() local
75 for (int j = 0; j < itemCount; ++j) { in generateSelectorData()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAdapterView.java33 private int itemCount = 0; field in ShadowAdapterView
72 itemCount = adapter == null ? 0 : adapter.getCount(); in invalidateAndScheduleUpdate()
74 updateEmptyStatus(itemCount == 0); in invalidateAndScheduleUpdate()
77 if (hasOnItemSelectedListener() && itemCount == 0) { in invalidateAndScheduleUpdate()
181 return itemCount; in getCount()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DItemLocationBox.java110 int itemCount = IsoTypeReader.readUInt16(content); in _parseDetails() local
111 for (int i = 0; i < itemCount; i++) { in _parseDetails()
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp335 int32_t itemCount; in CollData() local
359 itemCount = uset_getItemCount(charsToTest); in CollData()
360 for(int32_t item = 0; item < itemCount; item += 1) { in CollData()
Dalphaindextst.cpp228 int itemCount = 0; in APITest() local
234 ++itemCount; in APITest()
238 TEST_ASSERT(itemCount == 4); in APITest()
Ddtptngts.cpp1005 int itemCount = sizeof(testData) / sizeof(testData[0]); in testAllFieldPatterns() local
1006 for (; itemCount-- > 0; ++testDataPtr) { in testAllFieldPatterns()
Dssearch.cpp1068 int32_t itemCount = uset_getItemCount(set), len = 0; in append() local
1069 int32_t index = m_rand() % itemCount; in append()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCTableCombo.java522 int itemCount = m_table.getItemCount(); in dropDown() local
523 if (itemCount > 20) { in dropDown()
524 itemCount = 20; in dropDown()
528 m_table.getItemHeight() * itemCount + 5, in dropDown()
/external/icu/icu4c/source/test/cintltst/
Dusettest.c362 int32_t itemCount = uset_getItemCount(set); in expectItems() local
392 if (itemIndex >= itemCount) { in expectItems()
Dcldrtest.c1144 int32_t itemCount; in TestExemplarSet() local
1204 itemCount = uset_getItemCount(exemplarSet); in TestExemplarSet()
1205 for (m=0; m<itemCount && !existsInScript; ++m) { in TestExemplarSet()
Dcmsccoll.c5545 int32_t itemCount; in TestImport() local
5598 itemCount = uset_getItemCount(tailoredSet); in TestImport()
5600 for( i = 0; i < itemCount; i++){ in TestImport()
5652 int32_t itemCount; in TestImportWithType() local
5709 itemCount = uset_getItemCount(tailoredSet); in TestImportWithType()
5711 for( i = 0; i < itemCount; i++){ in TestImportWithType()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java376 Counter<String> itemCount = new Counter(); in checkBuckets() local
379 itemCount.add(item, 1); in checkBuckets()
418 long globalCount = itemCount.get(item); in checkBuckets()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java380 Counter<String> itemCount = new Counter(); in checkBuckets() local
383 itemCount.add(item, 1); in checkBuckets()
422 long globalCount = itemCount.get(item); in checkBuckets()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DModelCache.java257 int itemCount = items.size; in end() local