Searched refs:itemCount (Results 1 - 25 of 61) sorted by relevance

123

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCountingAdapter.java9 private int itemCount; field in class:CountingAdapter
11 public CountingAdapter(int itemCount) { argument
12 this.itemCount = itemCount;
15 public void setCount(int itemCount) { argument
16 this.itemCount = itemCount;
22 return itemCount;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
H A DSectionAnnotator.java48 public final int itemCount; field in class:SectionAnnotator
58 this.itemCount = mapItem.getItemCount();
71 annotateSectionInner(out, itemCount);
74 protected void annotateSectionInner(@Nonnull AnnotatedBytes out, int itemCount) { argument
77 if (itemCount > 0) {
84 for (int i=0; i<itemCount; i++) {
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLOListElement.h35 int start() const { return m_hasExplicitStart ? m_start : (m_isReversed ? itemCount() : 1); }
47 unsigned itemCount() const function in class:blink::FINAL
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DMapItem.java56 private final int itemCount; field in class:MapItem
122 * @param itemCount {@code > 0;} count of items covered
125 Item lastItem, int itemCount) {
144 if (itemCount <= 0) {
145 throw new IllegalArgumentException("itemCount <= 0");
152 this.itemCount = itemCount;
172 this.itemCount = 1;
226 out.annotate(4, " size: " + Hex.u4(itemCount));
232 out.writeInt(itemCount);
124 MapItem(ItemType type, Section section, Item firstItem, Item lastItem, int itemCount) argument
[all...]
/external/chromium_org/third_party/icu/source/tools/icuswap/
H A Dicuswap.cpp345 uint32_t itemCount, offset, i; local
413 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
414 if(itemCount==0) {
420 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset);
429 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
432 /* itemCount does not fit */
434 itemCount=0; /* make compilers happy */
436 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
437 if(itemCount==0) {
439 } else if((uint32_t)length<(4+8*itemCount)) {
[all...]
/external/icu/icu4c/source/tools/icuswap/
H A Dicuswap.cpp345 uint32_t itemCount, offset, i; local
413 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
414 if(itemCount==0) {
420 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset);
429 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
432 /* itemCount does not fit */
434 itemCount=0; /* make compilers happy */
436 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
437 if(itemCount==0) {
439 } else if((uint32_t)length<(4+8*itemCount)) {
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DViewportControl.js78 itemCount: function() { return 0; },
200 this._cachedProviderElements = new Array(this._provider.itemCount());
213 var itemCount = this._provider.itemCount();
214 if (!itemCount)
216 this._cumulativeHeights = new Int32Array(itemCount);
218 for (var i = 1; i < itemCount; ++i)
297 this._headSelection = this._createSelectionModel(this._provider.itemCount() - 1, this.element, this.element.children.length);
365 var itemCount = this._provider.itemCount();
[all...]
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dpackage.cpp396 itemCount=0;
428 for(idx=0; idx<itemCount; ++idx) {
512 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
515 /* itemCount does not fit */
518 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes);
519 setItemCapacity(itemCount); /* resize so there's space */
520 if(itemCount==0) {
522 } else if(length<(4+8*itemCount)) {
527 offset=20+(int32_t)ds->readUInt32(inEntries[itemCount-1].dataOffset);
537 if(itemCount<
[all...]
H A Dpackage.h168 int32_t itemCount; member in class:Package
192 * Grow itemMax to at least itemCount+1
/external/icu/icu4c/source/tools/toolutil/
H A Dpackage.cpp396 itemCount=0;
428 for(idx=0; idx<itemCount; ++idx) {
512 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
515 /* itemCount does not fit */
518 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes);
519 setItemCapacity(itemCount); /* resize so there's space */
520 if(itemCount==0) {
522 } else if(length<(4+8*itemCount)) {
527 offset=20+(int32_t)ds->readUInt32(inEntries[itemCount-1].dataOffset);
537 if(itemCount<
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DExternalPopupMenu.cpp189 int itemCount = popupMenuClient.listSize(); local
191 Vector<WebMenuItemInfo> items(static_cast<size_t>(itemCount));
192 for (int i = 0; i < itemCount; ++i) {
217 if (count < itemCount)
228 int itemCount = popupMenuClient.listSize(); local
230 for (int i = 0; i < itemCount ; ++i) {
244 int itemCount = popupMenuClient.listSize(); local
246 for (int i = 0; i < itemCount; ++i) {
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dgrid.js105 var itemCount = this.dataModel ? this.dataModel.length : 0;
106 if (!itemCount)
113 var rows = Math.ceil(itemCount / columns);
327 var itemCount = this.dataModel ? this.dataModel.length : 0;
328 if (this.lastItemCount_ != itemCount) {
329 this.lastItemCount_ = itemCount;
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebBlobData.h67 BLINK_PLATFORM_EXPORT size_t itemCount() const;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAdapterView.java33 private int itemCount = 0; field in class:ShadowAdapterView
72 itemCount = adapter == null ? 0 : adapter.getCount();
74 updateEmptyStatus(itemCount == 0);
77 if (hasOnItemSelectedListener() && itemCount == 0) {
181 return itemCount;
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dwrench_menu_model_unittest.cc121 int itemCount = model.GetItemCount(); local
125 EXPECT_GT(itemCount, 10);
145 for (int i = 0; i < itemCount; ++i) {
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
H A Dexterns.js127 AccessibilityObject.prototype.details.itemCount;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DStyleSheetOutlineDialog.js62 itemCount: function()
H A DFilteredItemSelectionDialog.js120 if (!this._delegate.itemCount())
208 for (var i = fromIndex; i < this._delegate.itemCount() && workDone < maxWorkItems; ++i) {
235 if (i < this._delegate.itemCount()) {
352 itemCount: function()
423 itemCount: function()
576 itemCount: function()
701 itemCount: function()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebBlobData.cpp49 size_t WebBlobData::itemCount() const function in class:blink::WebBlobData
/external/chromium_org/third_party/icu/source/tools/genren/
H A Dgenren.pl129 $itemCount = 0;
145 $itemCount++;
222 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
226 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
229 print " Loaded $symbolCount symbols from $itemCount lines in $fileCount files.\n";
/external/icu/icu4c/source/tools/genren/
H A Dgenren.pl129 $itemCount = 0;
145 $itemCount++;
222 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
226 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
229 print " Loaded $symbolCount symbols from $itemCount lines in $fileCount files.\n";
/external/qemu/android/base/containers/
H A DPodVector.cpp138 size_t count = itemCount(itemSize);
150 size_t count = this->itemCount(itemSize);
H A DPodVector.h75 inline size_t itemCount(size_t itemSize) const { function in class:android::base::PodVectorBase
140 size_t size() const { return PodVectorBase::itemCount(sizeof(T)); }
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
H A DSelectFileDialog.java228 int itemCount = clipData.getItemCount();
229 if (itemCount == 0) {
234 Uri[] filePathArray = new Uri[itemCount];
235 for (int i = 0; i < itemCount; ++i) {
/external/chromium_org/ui/app_list/cocoa/
H A Dapps_grid_controller.h79 - (size_t)itemCount;

Completed in 686 milliseconds

123