/external/chromium_org/ui/base/models/ |
list_model.h | 17 // A list model that manages a list of ItemType pointers. Items added to the 20 template <class ItemType> 27 void AddAt(size_t index, ItemType* item) { 34 void Add(ItemType* item) { 40 scoped_ptr<ItemType> RemoveAt(size_t index) { 42 ItemType* item = items_[index]; 45 return make_scoped_ptr<ItemType>(item); 57 scoped_ptr<ItemType> item = RemoveAt(index); 63 ScopedVector<ItemType> to_be_deleted(items_.Pass()); 76 ItemType* item = items_[index] [all...] |
/external/chromium_org/tools/gn/ |
builder_record.h | 33 enum ItemType { 41 BuilderRecord(ItemType type, const Label& label); 44 ItemType type() const { return type_; } 48 static const char* GetNameForType(ItemType type); 51 static bool IsItemOfType(const Item* item, ItemType type); 54 static ItemType TypeOfItem(const Item* item); 98 ItemType type_;
|
builder_record.cc | 9 BuilderRecord::BuilderRecord(ItemType type, const Label& label) 21 const char* BuilderRecord::GetNameForType(ItemType type) { 36 bool BuilderRecord::IsItemOfType(const Item* item, ItemType type) { 51 BuilderRecord::ItemType BuilderRecord::TypeOfItem(const Item* item) {
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ItemType.java | 36 public enum ItemType { 56 /** A map to facilitate looking up an <code>ItemType</code> by ordinal */ 57 private final static TreeMap<Integer, ItemType> itemTypeIntegerMap; 61 itemTypeIntegerMap = new TreeMap<Integer, ItemType>(); 63 for (ItemType itemType: ItemType.values()) { 64 itemTypeIntegerMap.put(itemType.MapValue, itemType); 97 private ItemType(int mapValue, int sectionIndex, int itemAlignment, String typeName) [all...] |
OffsettedSection.java | 34 public OffsettedSection(DexFile dexFile, ItemType itemType) { 35 super(dexFile, itemType); 43 in.alignTo(ItemType.ItemAlignment); 45 T item = (T)ItemFactory.makeItem(ItemType, DexFile); 51 readContext.setItemsForSection(ItemType, items);
|
Section.java | 63 public final ItemType ItemType; 73 * @param itemType The itemType that this section will hold 75 protected Section(DexFile dexFile, ItemType itemType) { 78 this.ItemType = itemType; 88 offset = AlignmentUtils.alignOffset(offset, ItemType.ItemAlignment); 95 offset = AlignmentUtils.alignOffset(offset, ItemType.ItemAlignment) [all...] |
IndexedSection.java | 39 * @param itemType The itemType that this section will hold 41 public IndexedSection(DexFile dexFile, ItemType itemType) { 42 super(dexFile, itemType); 48 T item = (T)ItemFactory.makeItem(ItemType, DexFile); 77 throw ExceptionWithContext.withContext(ex, "Error occured while retrieving the " + this.ItemType.TypeName +
|
MapItem.java | 70 ItemType itemType = ItemType.fromInt(in.readShort()); 78 readContext.addSection(itemType, sectionSize, sectionOffset); 94 writeSectionInfo(out, ItemType.TYPE_HEADER_ITEM, 1, 0); 100 writeSectionInfo(out, section.ItemType, section.getItems().size(), section.getOffset()); 106 writeSectionInfo(out, ItemType.TYPE_MAP_LIST, 1, dexFile.MapItem.getOffset()); 110 private void writeSectionInfo(AnnotatedOutput out, ItemType itemType, int sectionSize, int sectionOffset) { 112 out.annotate(2, "item_type: " + itemType); [all...] |
ReadContext.java | 103 * @param itemType The type of item to get 107 public Item getOffsettedItemByOffset(ItemType itemType, int offset) { 108 assert !itemType.isIndexedItem(); 110 SparseArray<Item> sa = itemsByType[itemType.SectionIndex]; 114 itemType.TypeName, offset)); 122 * @param itemType The type of item to get 126 public Item getOptionalOffsettedItemByOffset(ItemType itemType, int offset) { 127 assert !itemType.isIndexedItem() [all...] |
/external/chromium_org/content/renderer/media/ |
tagged_list.h | 23 template <class ItemType> 26 typedef std::list<scoped_refptr<ItemType> > ItemList; 30 void AddAndTag(ItemType* item) { 54 scoped_refptr<ItemType> Remove(UnaryPredicate predicate) { 60 scoped_refptr<ItemType> removed_item = *it;
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
FieldIdItem.java | 36 public ItemType itemType() { 37 return ItemType.TYPE_FIELD_ID_ITEM;
|
MethodIdItem.java | 36 public ItemType itemType() { 37 return ItemType.TYPE_METHOD_ID_ITEM;
|
Item.java | 38 public abstract ItemType itemType(); 47 return itemType().toHuman();
|
AnnotationSetRefItem.java | 52 public ItemType itemType() { 53 return ItemType.TYPE_ANNOTATION_SET_REF_ITEM;
|
MapItem.java | 35 private final ItemType type; 81 ItemType currentType = null; 87 ItemType type = item.itemType(); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); 124 private MapItem(ItemType type, Section section, Item firstItem, 168 this.type = ItemType.TYPE_MAP_LIST; 177 public ItemType itemType() { 178 return ItemType.TYPE_MAP_ITEM [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
FieldIdItem.java | 36 public ItemType itemType() { 37 return ItemType.TYPE_FIELD_ID_ITEM;
|
MethodIdItem.java | 36 public ItemType itemType() { 37 return ItemType.TYPE_METHOD_ID_ITEM;
|
Item.java | 38 public abstract ItemType itemType(); 47 return itemType().toHuman();
|
AnnotationSetRefItem.java | 52 public ItemType itemType() { 53 return ItemType.TYPE_ANNOTATION_SET_REF_ITEM;
|
MapItem.java | 34 private final ItemType type; 80 ItemType currentType = null; 86 ItemType type = item.itemType(); 111 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); 123 private MapItem(ItemType type, Section section, Item firstItem, 167 this.type = ItemType.TYPE_MAP_LIST; 176 public ItemType itemType() { 177 return ItemType.TYPE_MAP_ITEM [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
FieldIdItem.java | 36 public ItemType itemType() { 37 return ItemType.TYPE_FIELD_ID_ITEM;
|
MethodIdItem.java | 36 public ItemType itemType() { 37 return ItemType.TYPE_METHOD_ID_ITEM;
|
Item.java | 38 public abstract ItemType itemType(); 47 return itemType().toHuman();
|
AnnotationSetRefItem.java | 52 public ItemType itemType() { 53 return ItemType.TYPE_ANNOTATION_SET_REF_ITEM;
|
MapItem.java | 35 private final ItemType type; 81 ItemType currentType = null; 87 ItemType type = item.itemType(); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); 124 private MapItem(ItemType type, Section section, Item firstItem, 168 this.type = ItemType.TYPE_MAP_LIST; 177 public ItemType itemType() { 178 return ItemType.TYPE_MAP_ITEM [all...] |