/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.js | 43 var item = 0; 45 array[item++] = new TestCase( SECTION, 50 array[item++] = new TestCase( SECTION, "typeof String.prototype", "object", typeof String.prototype ); 51 array[item++] = new TestCase( SECTION, "String.prototype.valueOf()", "", String.prototype.valueOf() ); 52 array[item++] = new TestCase( SECTION, "String.prototype +''", "", String.prototype + '' ); 53 array[item++] = new TestCase( SECTION, "String.prototype.length", 0, String.prototype.length ); 54 // array[item++] = new TestCase( SECTION, "String.prototype.__proto__", Object.prototype, String.prototype.__proto__ );
|
/external/webkit/Source/WebKit/win/ |
WebBackForwardList.cpp | 121 /* [in] */ IWebHistoryItem* item) 125 if (!item || FAILED(item->QueryInterface(&webHistoryItem))) 145 /* [in] */ IWebHistoryItem* item) 149 if (!item || FAILED(item->QueryInterface(&webHistoryItem))) 157 /* [retval][out] */ IWebHistoryItem** item) 159 if (!item) 167 *item = WebHistoryItem::createInstance(historyItem); 172 /* [retval][out] */ IWebHistoryItem** item) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
StackActivity.java | 46 View item = convertView; 47 if (item == null) { 48 item = LayoutInflater.from(getContext()).inflate( 51 ((ImageView) item.findViewById(R.id.textview_icon)).setImageDrawable( 53 ((TextView) item.findViewById(R.id.mini_text)).setText("" + position); 54 return item;
|
/external/qemu/android/tools/ |
gen-hw-config.py | 28 # a dictionary that maps item types as they appear in the .ini 65 class Item: 110 lastItem = Item(value) 133 for item in items: 134 if item.type == None: 135 sys.stderr.write("ignoring config item with no type '%s'\n" % item.name) 138 if not typesToMacros.has_key(item.type): 139 sys.stderr.write("ignoring config item with unknown type '%s': '%s'\n" % \ 140 (item.type, item.name) [all...] |
/external/webkit/Source/WebCore/history/cf/ |
HistoryPropertyList.cpp | 88 void HistoryPropertyListWriter::writeHistoryItem(BinaryPropertyListObjectStream& stream, HistoryItem* item) 92 const String& title = item->title(); 93 const String& displayTitle = item->alternateTitle(); 94 double lastVisitedDate = item->lastVisitedTime(); 95 int visitCount = item->visitCount(); 96 Vector<String>* redirectURLs = item->redirectURLs(); 97 const Vector<int>& dailyVisitCounts = item->dailyVisitCounts(); 98 const Vector<int>& weeklyVisitCounts = item->weeklyVisitCounts(); 110 if (item->lastVisitWasFailure()) 112 if (item->lastVisitWasHTTPNonGet() [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 171 private View constructAttendeeView(AttendeeItem item) { 172 item.mView = mInflater.inflate(R.layout.contact_item, null); 173 return updateAttendeeView(item); 180 private View updateAttendeeView(AttendeeItem item) { 181 final Attendee attendee = item.mAttendee; 182 final View view = item.mView; 185 if (item.mRemoved) { 195 button.setTag(item); 196 if (item.mRemoved) { 211 badge = mRecycledPhotos.get(item.mAttendee.mEmail) 284 final AttendeeItem item = new AttendeeItem(attendee, mDefaultBadge); local 426 final AttendeeItem item = (AttendeeItem)cookie; local 482 final AttendeeItem item = (AttendeeItem) view.getTag(); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 29 /** {@code non-null;} data about each type of item */ 40 * Adds the given item to the statistics. 42 * @param item {@code non-null;} the item to add 44 public void add(Item item) { 45 String typeName = item.typeName(); 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 61 Collection<? extends Item> items = list.items() [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 29 /** {@code non-null;} data about each type of item */ 40 * Adds the given item to the statistics. 42 * @param item {@code non-null;} the item to add 44 public void add(Item item) { 45 String typeName = item.typeName(); 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 61 Collection<? extends Item> items = list.items() [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
Statistics.java | 29 /** {@code non-null;} data about each type of item */ 40 * Adds the given item to the statistics. 42 * @param item {@code non-null;} the item to add 44 public void add(Item item) { 45 String typeName = item.typeName(); 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 61 Collection<? extends Item> items = list.items() [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
RelationshipTester.java | 76 T item = group.get(itemNumber); local 79 assertion.assertRelated(item, related); 83 .replace("$ITEM", itemString(item, groupNumber, itemNumber)) 90 T item = groups.get(groupNumber).get(itemNumber); local 93 assertion.assertUnrelated(item, unrelated); 97 .replace("$ITEM", itemString(item, groupNumber, itemNumber)) 102 private static String itemString(Object item, int groupNumber, int itemNumber) { 104 .append(item) [all...] |
/external/tcpdump/ |
makemib | 232 function dump(item, c, s) { 233 # newitem=sofar"."item"("oid[item]")" 234 # printf "/* %s c=%s s=%s */\n", newitem, child[item], sibling[item] 236 if (child[item] != "") { 237 dump(child[item]) 238 c = "&_"child[item]"_obj" 241 if (sibling[item] != "") { 242 dump(sibling[item]) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.4.3.js | 50 var item = 0; 69 array[item++] = new TestCase( SECTION, "Object.prototype.valueOf.length", 0, Object.prototype.valueOf.length ); 71 array[item++] = new TestCase( SECTION, 75 array[item++] = new TestCase( SECTION, 79 array[item++] = new TestCase( SECTION, 83 array[item++] = new TestCase( SECTION, 87 array[item++] = new TestCase( SECTION, 91 array[item++] = new TestCase( SECTION, 95 array[item++] = new TestCase( SECTION, 99 array[item++] = new TestCase( SECTION [all...] |
/external/webkit/Source/WebCore/css/ |
WebKitCSSKeyframesRule.cpp | 50 if (m_lstCSSRules->item(i)->isKeyframeRule()) { 51 if (CSSMutableStyleDeclaration* style = static_cast<WebKitCSSKeyframeRule*>(m_lstCSSRules->item(i))->style()) 54 m_lstCSSRules->item(i)->setParent(0); 78 WebKitCSSKeyframeRule* WebKitCSSKeyframesRule::item(unsigned index) function in class:WebCore::WebKitCSSKeyframesRule 80 CSSRule* rule = m_lstCSSRules.get()->item(index); 84 const WebKitCSSKeyframeRule* WebKitCSSKeyframesRule::item(unsigned index) const function in class:WebCore::WebKitCSSKeyframesRule 86 CSSRule* rule = m_lstCSSRules.get()->item(index); 120 return (i >= 0) ? item(i) : 0; 134 if (item(i)->keyText() == percentageString) 151 result += m_lstCSSRules->item(i)->cssText() [all...] |
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuScenario.java | 65 MenuItem item; 67 if ((item = onAddMenuItem(menu, i)) == null) { 68 // Add a default item for this position if the subclasses 71 item = menu.add(0, 0, 0, (givenTitle != null) ? givenTitle : ("Item " + i)); 74 if (item != null) { 75 mItems[i] = item; 78 item.setOnMenuItemClickListener(this); 96 * Override this to add an item to the menu. 98 * @param itemPosition The position of the item to add (only for you [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
Editors.java | 35 Runnable bindEditor(View v, EditableItem item, Runnable afterChange); 57 final ViewGroup parent, final EditableItem item) { 59 ((TextView) editorView.findViewById(R.id.caption)).setText(item.getCaption(activity)); 62 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); 63 item.setVisibilityListener(new Runnable(){ 65 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); 69 Editor editor = EDITORS.get(item.getType()); 72 Runnable updater = editor.bindEditor(editorView, item, new Runnable() { 74 if (item.equals(EditableItem.PRESET)) { 85 if (item.equals(EditableItem.PRESET) [all...] |
/dalvik/libdex/ |
DexSwapVerify.cpp | 365 ALOGE("Unknown map item type %04x", mapType); 372 * Helper for swapMap(), which indicates if an item type should appear 397 DexMapItem* item = pMap->list; local 408 CHECK_LIST_SIZE(item, count, sizeof(DexMapItem)); 411 SWAP_FIELD2(item->type); 412 SWAP_FIELD2(item->unused); 413 SWAP_FIELD4(item->size); 414 SWAP_OFFSET4(item->offset); 418 } else if (lastOffset >= item->offset) { 419 ALOGE("Out-of-order map item: %#x then %#x" 548 DexStringId* item = (DexStringId*) ptr; local 558 const DexStringId* item = (const DexStringId*) ptr; local 581 DexTypeId* item = (DexTypeId*) ptr; local 591 const DexTypeId* item = (const DexTypeId*) ptr; local 615 DexProtoId* item = (DexProtoId*) ptr; local 672 const DexProtoId* item = (const DexProtoId*) ptr; local 765 DexFieldId* item = (DexFieldId*) ptr; local 777 const DexFieldId* item = (const DexFieldId*) ptr; local 837 DexMethodId* item = (DexMethodId*) ptr; local 849 const DexMethodId* item = (const DexMethodId*) ptr; local 903 DexClassDef* item = (DexClassDef*) ptr; local 969 const DexClassDef* item = (const DexClassDef*) ptr; local 1063 DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local 1092 DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local 1122 DexParameterAnnotationsItem* item = (DexParameterAnnotationsItem*) addr; local 1150 DexAnnotationsDirectoryItem* item = (DexAnnotationsDirectoryItem*) ptr; local 1188 const DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local 1208 const DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local 1228 const DexParameterAnnotationsItem* item = local 1280 const DexAnnotationsDirectoryItem* item = (const DexAnnotationsDirectoryItem*) ptr; local 1342 DexAnnotationSetRefItem* item; local 1363 const DexAnnotationSetRefItem* item = list->list; local 1381 u4* item; local 1802 DexCode* item = (DexCode*) ptr; local 2515 const DexMapItem* item = pMap->list; local 2689 const DexMapItem* item = pMap->list; local [all...] |
/external/webrtc/src/system_wrappers/source/ |
map_unittest.cc | 20 int* ItemPointer(MapItem* item) { 21 if (item == NULL) { 24 return reinterpret_cast<int*>(item->GetItem()); 27 bool DeleteItemContent(MapItem* item) { 28 if(item == NULL) { 31 int* value_ptr = ItemPointer(item); 36 int ItemValue(MapItem* item) { 37 if (item == NULL) { 40 const int* value_ptr = ItemPointer(item); 88 void PrintMapItem(MapItem* item, bool supress) 100 MapItem* item = print_map.First(); local 115 MapItem* item = print_map.Last(); local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 64 ActionMenuItem item = new ActionMenuItem(getContext(), local 66 mItems.add(order, item); 67 return item; 89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) local 93 outSpecificItems[ri.specificIndex] = item; 168 ActionMenuItem item = items.get(i); local 169 final char shortcut = qwerty ? item.getAlphabeticShortcut() : 170 item.getNumericShortcut(); 172 return item; 192 ActionMenuItem item = findItemWithShortcut(keyCode, event) local 224 ActionMenuItem item = items.get(i); local 237 ActionMenuItem item = items.get(i); local 249 ActionMenuItem item = items.get(i); local [all...] |
/hardware/ti/wlan/lib/ |
scanmerge.c | 126 Routine Description: copies scan result structure to scan merge list item 149 Return Value: Pointer to scan merge item 170 Routine Description: Looks for scan merge item in scan results array 172 scan_ptr - pointer to scan merge item 175 Return Value: 1 - if item was found, 0 - otherwise 194 res_ptr - pointer to scan result item 195 Return Value: pointer to new scan result item, or NULL 237 SHLIST *item, *del_item; local 243 item = shListGetFirstItem(head); 244 while( item != NULL ) 325 SHLIST *item; local [all...] |
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
LocalDataTest.java | 118 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0); local 119 assertEquals(1, item.id); 120 assertEquals("IMG_0072", item.caption); 121 assertEquals("image/jpeg", item.mimeType); 122 assertEquals(12.0, item.latitude); 123 assertEquals(34.0, item.longitude); 124 assertEquals(0xD000, item.dateTakenInMs); 125 assertEquals(1280395646L, item.dateAddedInSec); 126 assertEquals(1275934796L, item.dateModifiedInSec); 127 assertEquals("/mnt/sdcard/DCIM/100CANON/IMG_0072.JPG", item.filePath) 152 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); local 219 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0); local 296 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0); local 331 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); local [all...] |
/external/webkit/Source/WebKit2/UIProcess/API/qt/ |
qwkhistory.cpp | 62 QWKHistoryItem::QWKHistoryItem(WKBackForwardListItemRef item) 63 : d(new QWKHistoryItemPrivate(item)) 130 QWKHistoryItem item(itemRef.get()); 131 return item; 137 QWKHistoryItem item(itemRef.get()); 138 return item; 144 QWKHistoryItem item(itemRef.get()); 145 return item; 151 QWKHistoryItem item(itemRef.get()); 152 return item; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
FakeExpandableAdapter.java | 75 AdapterItem item = new AdapterItem(dataBindingItem, typeIndex, mItems.size(), local 77 mItems.add(item); 87 private void createItems(DataBindingItem item, int depth) { 89 createItems(item, item.getChildren().size(), item.getCount(), mChildrenTypes, depth); 94 AdapterItem item = mItems.get(groupPosition); local 96 List<AdapterItem> children = item.getChildren(); 109 AdapterItem item = mItems.get(groupPosition); local 110 return item.getChildren().size() 127 AdapterItem item = mItems.get(groupPosition); local 136 AdapterItem item = getChildItem(groupPosition, childPosition); local [all...] |
/frameworks/native/include/utils/ |
VectorImpl.h | 77 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 80 void push(const void* item); 82 ssize_t add(const void* item); 84 ssize_t replaceAt(const void* item, size_t index); 105 virtual void do_splat(void* dest, const void* item, size_t num) const = 0; 126 inline void _do_splat(void* dest, const void* item, size_t num) const; 150 //! finds the index of an item 151 ssize_t indexOf(const void* item) const; 153 //! finds where this item should be inserted 154 size_t orderOf(const void* item) const [all...] |
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.h | 75 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 78 void push(const void* item); 80 ssize_t add(const void* item); 82 ssize_t replaceAt(const void* item, size_t index); 98 virtual void do_splat(void* dest, const void* item, size_t num) const = 0; 119 inline void _do_splat(void* dest, const void* item, size_t num) const; 143 //! finds the index of an item 144 ssize_t indexOf(const void* item) const; 146 //! finds where this item should be inserted 147 size_t orderOf(const void* item) const [all...] |
/external/chromium/base/ |
message_pump_win.cc | 496 IOItem item; local 497 if (completed_io_.empty() || !MatchCompletedIOItem(filter, &item)) { 499 if (!GetIOItem(timeout, &item)) 502 if (ProcessInternalIOItem(item)) 506 if (item.context->handler) { 507 if (filter && item.handler != filter) { 508 // Save this item for later 509 completed_io_.push_back(item); 511 DCHECK_EQ(item.context->handler, item.handler) [all...] |