/external/lzma/CPP/7zip/UI/Common/ |
SortUtils.cpp | 17 int numItems = strings.Size();
18 indices.Reserve(numItems);
19 for(int i = 0; i < numItems; i++)
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListWithNoFadingEdgeTest.java | 52 final int numItems = mListView.getCount(); 54 for (int i = 0; i < numItems; i++) { 58 assertEquals("selected position", numItems - 1, mListView.getSelectedItemPosition()); 63 final int numItems = mListView.getCount(); 67 mListView.setSelection(numItems - 1); 72 for (int i = numItems - 1; i >=0; i--) {
|
ListOfThinItemsTest.java | 51 final int numItems = mListView.getAdapter().getCount(); 53 for (int i = 0; i < numItems; i++) { 79 final int numItems = mListView.getAdapter().getCount(); 81 for (int i = 0; i < numItems - 1; i++) { 85 numItems - 1, mListView.getSelectedItemPosition()); 90 for (int i = 0; i < numItems; i++) { 91 int expectedPostion = numItems - (i + 1);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bc-reserve.c | 41 /*@only@*/ /*@null@*/ yasm_expr *numitems; /* number of items to reserve */ member in struct:bytecode_reserve 73 yasm_expr_destroy(reserve->numitems); 83 yasm_expr_print(reserve->numitems, f); 93 bc->multiple = reserve->numitems; 96 reserve->numitems, bc->line); 97 reserve->numitems = NULL; 128 yasm_bc_create_reserve(yasm_expr *numitems, unsigned int itemsize, 134 reserve->numitems = numitems; 151 return reserve->numitems; [all...] |
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuScenario.java | 54 mItems = new MenuItem[mParams.numItems]; 55 mWasItemClicked = new boolean[mParams.numItems]; 66 for (int i = 0; i < mParams.numItems; i++) { 140 for (int i = 0; i < mParams.numItems; i++) { 150 private int numItems = 10; 159 public Params setNumItems(int numItems) { 160 this.numItems = numItems;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfInternalSelectionViews.java | 38 public static final String BUNDLE_PARAM_NUM_ITEMS = "com.google.test.numItems"; 98 * @param numItems The number of items in the list. 103 public static Bundle getBundleFor(int numItems, int numRowsPerItem, double itemScreenHeightFactor) { 105 bundle.putInt(BUNDLE_PARAM_NUM_ITEMS, numItems); 136 int numItems = icicle.getInt(BUNDLE_PARAM_NUM_ITEMS, -1); 137 if (numItems != -1) { 138 mNumItems = numItems;
|
/external/chromium_org/chrome/browser/resources/print_preview/search/ |
recent_destination_list.js | 37 var numItems = Math.min(destinations.length, this.shortListSize_); 38 for (var i = 0; i < numItems; i++) {
|
destination_list.js | 127 getEstimatedHeightInPixels: function(numItems) { 128 numItems = Math.min(numItems, this.destinations_.length); 134 return headerHeight + numItems * DestinationList.HEIGHT_OF_ITEM_ + 227 var numItems = destinations.length; 229 numItems = this.shortListSize_ - 1; 234 for (var i = 0; i < numItems; i++) {
|
/external/llvm/test/CodeGen/ARM/ |
2009-09-22-LiveVariablesBug.ll | 12 define arm_aapcs_vfpcc void @ccc(i8* nocapture %pBuffer, i32 %numItems) nounwind {
|
2009-09-20-LiveIntervalsBug.ll | 5 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 {
|
2009-11-02-NegativeLane.ll | 5 define arm_aapcs_vfpcc void @foo(i8* nocapture %pBuffer, i32 %numItems) nounwind {
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
app_runtime_custom_bindings.js | 24 var numItems = launchData.items.length; 31 if (--numItems === 0) {
|
/frameworks/base/libs/hwui/utils/ |
SortedListImpl.h | 56 ssize_t insertAt(size_t where, size_t numItems = 1); 57 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zExtract.cpp | 46 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
54 bool allFilesMode = (numItems == (UInt32)-1);
56 numItems =
63 if(numItems == 0)
75 for (UInt32 ii = 0; ii < numItems; ii++)
|
7zIn.h | 171 void ReadHashDigests(int numItems,
204 void ReadBoolVector(int numItems, CBoolVector &v);
205 void ReadBoolVector2(int numItems, CBoolVector &v);
|
/external/llvm/include/llvm/ADT/ |
StringMap.h | 60 unsigned NumItems; 68 NumItems = 0; 101 unsigned getNumItems() const { return NumItems; } 103 bool empty() const { return NumItems == 0; } 104 unsigned size() const { return NumItems; } 109 std::swap(NumItems, Other.NumItems); 332 ++NumItems; 333 assert(NumItems + NumTombstones <= NumBuckets); 353 NumItems = 0 [all...] |
/external/lzma/CPP/7zip/Archive/ |
LzmaHandler.cpp | 220 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems)
222 *numItems = 1;
321 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
325 if (numItems == 0)
327 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
|
SplitHandler.cpp | 276 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems)
278 *numItems = _streams.IsEmpty() ? 0 : 1;
297 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
301 if (numItems == 0)
303 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
|
IArchive.h | 120 numItems = 0xFFFFFFFF means "all files"
127 STDMETHOD(GetNumberOfItems)(UInt32 *numItems) x; \
129 STDMETHOD(Extract)(const UInt32* indices, UInt32 numItems, Int32 testMode, IArchiveExtractCallback *extractCallback) x; \
174 STDMETHOD(UpdateItems)(ISequentialOutStream *outStream, UInt32 numItems, IArchiveUpdateCallback *updateCallback) x; \
|
XzHandler.cpp | 270 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems)
272 *numItems = 1;
451 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
455 if (numItems == 0)
457 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
589 STDMETHODIMP CHandler::UpdateItems(ISequentialOutStream *outStream, UInt32 numItems,
594 if (numItems == 0)
600 if (numItems != 1)
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PopupListBox.cpp | 211 if (!numItems() && event.windowsVirtualKeyCode() != VKEY_ESCAPE) 350 int itemCount = numItems(); 379 for (int i = 0; i < numItems(); ++i) 383 if (!numItems()) 574 for (int i = 0; i < numItems(); ++i) { 592 if (index >= numItems()) 620 if (index < 0 || index >= numItems()) 703 ASSERT(index >= 0 && index < numItems()); 718 if (!m_settings.loopSelectionNavigation || m_selectedIndex != numItems() - 1) { 741 selectIndex(numItems() - 1) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableDictionary.h | 39 - (id) initWithCapacity:(NSUInteger)numItems;
|
/external/clang/test/SemaObjC/ |
property-6.m | 43 + (id)arrayWithCapacity:(int)numItems;
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.h | 74 ssize_t insertAt(size_t where, size_t numItems = 1); 75 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 183 ssize_t insertAt(size_t where, size_t numItems = 1); 184 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderListBox.cpp | 117 int size = numItems(); 172 bool enabled = numVisibleItems() < numItems(); 174 m_vBar->setProportion(numVisibleItems(), numItems()); 251 int RenderListBox::numItems() const 258 return itemHeight() * numItems() - rowSpacing; 286 int listItemsSize = numItems(); 339 int size = numItems(); 487 if (!numItems()) 501 return newOffset < numItems() ? newOffset : -1; 599 if (index < 0 || index >= numItems() || listIndexIsVisible(index) [all...] |