/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MapItem.java | 25 * Class that represents a map item. 34 /** {@code non-null;} item type this instance covers */ 41 * {@code null-ok;} first item covered or {@code null} if this is 44 private final Item firstItem; 47 * {@code null-ok;} last item covered or {@code null} if this is 50 private final Item lastItem; 59 * Constructs a list item with instances of this class representing 82 Item firstItem = null; 83 Item lastItem = null; 86 for (Item item : section.items()) [all...] |
HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 40 HeaderItem item = new HeaderItem(); local 41 item.setIndex(0); 43 this.list = Collections.singletonList(item); 54 public Collection<? extends Item> items() {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
MapItem.java | 24 * Class that represents a map item. 33 /** {@code non-null;} item type this instance covers */ 40 * {@code null-ok;} first item covered or {@code null} if this is 43 private final Item firstItem; 46 * {@code null-ok;} last item covered or {@code null} if this is 49 private final Item lastItem; 58 * Constructs a list item with instances of this class representing 81 Item firstItem = null; 82 Item lastItem = null; 85 for (Item item : section.items()) [all...] |
HeaderSection.java | 28 /** {@code non-null;} the list of the one item in the section */ 39 HeaderItem item = new HeaderItem(); local 40 item.setIndex(0); 42 this.list = Collections.singletonList(item); 53 public Collection<? extends Item> items() {
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
AppListFragment.java | 45 private List<Item> mItems; 59 final Item item = mItems.get(position); local 61 Log.i("AppListFragment", "Item clicked: " + position + " -- " + item.component); 66 args.putParcelable(BrowserListFragment.ARG_COMPONENT, item.component); 76 private static class Item { 80 Item(String l, ComponentName c) { 103 mItems.add(new Item(ri.loadLabel(pm).toString(), new ComponentName( 115 public Item getItem(int position) 136 final Item item = mItems.get(position); local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
DecObject.py | 112 # Add sub-item to current object, sub-class should override it if needed
114 # @param Item: Sub-item to be added
117 def AddItem(self, Item, Scope):
120 if not Item:
125 self.ValueDict[Ele[1]].append(Item)
127 self.ValueDict[Ele[1]] = [Item]
129 Item.ArchAndModuleType = ArchModule
147 for Item in self.ValueDict[Arch]:
148 if Item not in Retlst: [all...] |
/prebuilts/go/darwin-x86/src/container/heap/ |
example_pq_test.go | 13 // An Item is something we manage in a priority queue. 14 type Item struct { 15 value string // The value of the item; arbitrary. 16 priority int // The priority of the item in the queue. 18 index int // The index of the item in the heap. 22 type PriorityQueue []*Item 39 item := x.(*Item) 40 item.index = n 41 *pq = append(*pq, item) [all...] |
/prebuilts/go/linux-x86/src/container/heap/ |
example_pq_test.go | 13 // An Item is something we manage in a priority queue. 14 type Item struct { 15 value string // The value of the item; arbitrary. 16 priority int // The priority of the item in the queue. 18 index int // The index of the item in the heap. 22 type PriorityQueue []*Item 39 item := x.(*Item) 40 item.index = n 41 *pq = append(*pq, item) [all...] |
/external/protobuf/src/google/protobuf/util/internal/ |
protostream_objectwriter.h | 180 // Represents an item in a stack of items used to keep state between 182 class LIBPROTOBUF_EXPORT Item : public BaseElement { 184 // Indicates the type of item. 191 // Constructor for the root item. 192 Item(ProtoStreamObjectWriter* enclosing, ItemType item_type, 196 Item(Item* parent, ItemType item_type, bool is_placeholder, bool is_list); 198 virtual ~Item() {} 207 virtual Item* parent() const { 208 return static_cast<Item*>(BaseElement::parent()) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
MkPkg.py | 261 for Item in FileList:
262 Ext = os.path.splitext(Item)[1]
265 ErrorStringExt % Item)
267 Item = os.path.normpath(Item)
268 Path = mws.join(WorkspaceDir, Item)
270 Logger.Error("\nMkPkg", FILE_NOT_FOUND, ST.ERR_NOT_FOUND % Item)
271 elif Item == Path:
273 ErrorStringFullPath % Item)
274 elif not IsValidPath(Item, WorkspaceDir): [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
PopupPopulator.java | 59 public enum Item { 68 Item(int layoutId, boolean isShortcut) { 74 public static @NonNull Item[] getItemsToPopulate(@NonNull List<String> shortcutIds, 85 Item[] items = new Item[numItems]; 87 items[i] = Item.SHORTCUT; 91 items[0] = Item.NOTIFICATION; 96 items[numItems - 1 - i] = iconsOnly ? Item.SYSTEM_SHORTCUT_ICON : Item.SYSTEM_SHORTCUT; 101 public static Item[] reverseItems(Item[] items) [all...] |
/frameworks/base/core/java/android/content/ |
ClipData.java | 50 * <p>ClipData is a complex type containing one or more Item instances, 51 * each of which can hold one or more representations of an item of data. 63 * <p>Each Item instance can be one of three main classes of data: a simple 64 * CharSequence of text, a single Intent object, or a Uri. See {@link Item} 78 * the application must correctly interpret the data for its use. If the {@link Item} 85 * can use the convenience method {@link Item#coerceToText Item.coerceToText}. 88 * since any clip item can always be converted to a string. 91 * "content:" URIs. A content URI allows the recipient of a ClipData item 114 * <p>For example, the implementation of {@link Item#coerceToText Item.coerceToText 741 Item item = new Item(text); local 757 Item item = new Item(text, htmlText); local 770 Item item = new Item(intent); local 787 Item item = new Item(uri); local 833 Item item = new Item(uri); local 935 final Item item = mItems.get(i); local 955 final Item item = mItems.get(i); local 966 final Item item = mItems.get(i); local 983 final Item item = mItems.get(i); local 1052 ClipData.Item item = getItemAt(i); local 1087 Item item = mItems.get(i); local [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
DnsImpl.c | 33 NET_MAP_ITEM *Item;
38 Item = NetMapFindKey (TokenMap, (VOID *) TokenEntry);
40 if (Item != NULL) {
44 NetMapRemoveItem (TokenMap, Item, NULL);
68 NET_MAP_ITEM *Item;
73 Item = NetMapFindKey (TokenMap, (VOID *) TokenEntry);
75 if (Item != NULL) {
79 NetMapRemoveItem (TokenMap, Item, NULL);
91 @param[in] Item Pointer to the NET_MAP_ITEM.
97 is not the same as that in the Item, if Arg is not [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 42 List<Item> mItems = new ArrayList<Item>(); 91 mItems.add(new Item( 106 /** Returns a random Item. If there are no items available, returns null. */ 107 public Item getRandomItem() { 112 public static class Item { 119 public Item(long id, String artist, String title, String album, long duration) {
|
/frameworks/base/tools/aapt2/ |
ValueVisitor.h | 33 virtual void VisitItem(Item* value) { VisitAny(value); } 83 for (std::unique_ptr<Item>& item : array->items) { 84 item->Accept(this); 89 for (std::unique_ptr<Item>& item : plural->values) { 90 if (item) { 91 item->Accept(this); 120 * Specialization that checks if the value is an Item. 123 struct DynCastVisitor<Item> : public RawValueVisitor [all...] |
/prebuilts/go/darwin-x86/test/ken/ |
rob1.go | 11 type Item interface { 16 item Item 28 func (list *List) Insert(i Item) { 29 item := new(ListItem) 30 item.item = i 31 item.next = list.head 32 list.head = item 39 r += i.item.Print( [all...] |
/prebuilts/go/linux-x86/test/ken/ |
rob1.go | 11 type Item interface { 16 item Item 28 func (list *List) Insert(i Item) { 29 item := new(ListItem) 30 item.item = i 31 item.next = list.head 32 list.head = item 39 r += i.item.Print( [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
Report.py | 79 for Item in FvObj.UnDispatchedFfsDict:
80 EotGlobalData.gOP_UN_DISPATCHED.write('%s\n' % FvObj.UnDispatchedFfsDict[Item])
144 for Item in ItemList:
145 if Item not in NonGuidList:
146 SqlCommand = """select DISTINCT GuidName from Report where GuidValue like '%s' and ItemMode = 'Produced' group by GuidName""" % (Item)
149 Item = RecordSet[0][0]
150 DepexString = DepexString + Item + ' '
212 for Item in EotGlobalData.gMap:
213 if Function in EotGlobalData.gMap[Item]:
214 Address = EotGlobalData.gMap[Item][Function] [all...] |
/external/skia/src/views/ |
SkOSMenu.cpp | 26 const SkOSMenu::Item* SkOSMenu::getItemByID(int itemID) const { 34 void SkOSMenu::getItems(const SkOSMenu::Item* items[]) const { 54 Item* item = fItems[i]; local 55 if (item->getKeyEquivalent()== key) { 57 switch (item->getType()) { 59 SkOSMenu::FindListItemCount(*item->getEvent(), &size); 60 SkOSMenu::FindListIndex(*item->getEvent(), item->getSlotName(), &value); 62 item->setInt(value) 138 SkOSMenu::Item* item = new Item(label, type, slotName, evt); local [all...] |
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
ProgramRestrictionsFragment.java | 21 import com.android.tv.ui.sidepanel.Item; 53 protected List<Item> getItemList() { 54 List<Item> items = new ArrayList<>();
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6ConfigImpl.c | 290 @param[in] Item The registered event.
298 IN NET_MAP_ITEM *Item,
302 gBS->SignalEvent ((EFI_EVENT) Item->Key);
406 // This data item has variable length data.
534 IP6_CONFIG_DATA_ITEM *Item;
559 Item = &Instance->DataItem[Ip6ConfigDataTypeInterfaceInfo];
561 CopyMem (IfInfo, Item->Data.Ptr, sizeof (EFI_IP6_CONFIG_INTERFACE_INFO));
776 IP6_CONFIG_DATA_ITEM *Item;
785 Item = &Instance->DataItem[Ip6ConfigDataTypeManualAddress];
788 for (Index = 0; Index < Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS); Index++) { [all...] |
/external/clang/test/SemaCXX/ |
typo-correction-delayed.cpp | 55 struct Item { 58 Item* next(); // expected-note {{'next' declared here}} 60 void testExprFilter(Item *i) { 61 Item *j; 62 j = i->Next(); // expected-error {{no member named 'Next' in 'Item'; did you mean 'next'?}}
|
/external/icu/icu4c/source/tools/toolutil/ |
package.h | 37 struct Item { 72 * The header and item name strings are swapped into this object, 80 * The item names are swapped and sorted in the outCharset rather than the local one. 90 // find the item in items[], return the non-negative index if found, else the binary-not of the insertion point 119 /* The extractItem() functions accept outputType=0 to mean "don't swap the item". */ 124 /* This variant extracts an item to a specific filename. */ 128 const Item *getItem(int32_t idx) const; 143 void enumDependencies(Item *pItem, void *context, CheckDependency check); 172 Item *items;
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PollingsQueue.java | 77 public synchronized void add(int type, List<Contacts.Item> list) { 82 List<Contacts.Item> contacts = new ArrayList<Contacts.Item>(); 85 Contacts.Item item = list.get(i); local 89 Contacts.Item item0 = contacts.get(j); 90 if (item.equals(item0)) { 102 Contacts.Item item0 = task.mContacts.get(k); 103 if (item.equals(item0)) { 113 contacts.add(item); 147 Contacts.Item item = contacts.get(pos); local [all...] |
/external/llvm/lib/DebugInfo/CodeView/ |
RecordSerialization.cpp | 134 uint32_t &Item) { 138 Item = *IntPtr; 142 std::error_code llvm::codeview::consume(StringRef &Data, uint32_t &Item) { 144 auto EC = consume(Bytes, Item); 150 int32_t &Item) { 154 Item = *IntPtr; 159 StringRef &Item) { 164 std::tie(Item, Rest) = getBytesAsCharacters(Data).split('\0'); 166 if (Data.size() == Item.size())
|