/external/webrtc/src/system_wrappers/interface/ |
map_wrapper.h | 19 class MapItem 24 MapItem(int id, void* ptr); 25 virtual ~MapItem(); 47 int Erase(MapItem* item); 55 // Returns a pointer to the first MapItem in the map. 56 MapItem* First() const; 58 // Returns a pointer to the last MapItem in the map. 59 MapItem* Last() const; 61 // Returns a pointer to the MapItem stored after item in the map. 62 MapItem* Next(MapItem* item) const [all...] |
/external/webrtc/src/system_wrappers/source/ |
map.cc | 16 MapItem::MapItem(int id, void* item) : item_id_(id), item_pointer_(item) 20 MapItem::~MapItem() 24 void* MapItem::GetItem() 29 int MapItem::GetId() 34 unsigned int MapItem::GetUnsignedId() 39 void MapItem::SetItem(void* ptr) 70 map_[id] = new MapItem(id,ptr); 74 MapItem* MapWrapper::First() cons [all...] |
map_unittest.cc | 16 using ::webrtc::MapItem; 20 int* ItemPointer(MapItem* item) { 27 bool DeleteItemContent(MapItem* item) { 36 int ItemValue(MapItem* item) { 74 MapItem* remove_item = clear_map->First(); 88 void PrintMapItem(MapItem* item, bool supress) { 100 MapItem* item = print_map.First(); 115 MapItem* item = print_map.Last(); 127 bool CompareItems(MapItem* lhs_item, MapItem* rhs_item) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
RawDexFile.java | 70 public MapItem getMapItemForSection(int itemType) { 71 for (MapItem mapItem: getMapItems()) { 72 if (mapItem.getType() == itemType) { 73 return mapItem; 79 public List<MapItem> getMapItems() { 83 return new FixedSizeList<MapItem>() { 85 public MapItem readItem(int index) { 86 int mapItemOffset = mapOffset + 4 + index * MapItem.ITEM_SIZE; 87 return new MapItem(RawDexFile.this, mapItemOffset) [all...] |
MapItem.java | 41 public class MapItem { 51 public MapItem(DexBackedDexFile dexFile, int offset) { 74 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 75 return new SectionAnnotator(annotator, mapItem) {
|
EncodedArrayItem.java | 43 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 44 return new SectionAnnotator(annotator, mapItem) {
|
TypeIdItem.java | 45 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 46 return new SectionAnnotator(annotator, mapItem) { 79 MapItem mapItem = dexFile.getMapItemForSection(ItemType.TYPE_ID_ITEM); 80 if (mapItem == null) { 84 int typeCount = mapItem.getItemCount();
|
FieldIdItem.java | 49 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 50 return new SectionAnnotator(annotator, mapItem) { 96 MapItem mapItem = dexFile.getMapItemForSection(ItemType.FIELD_ID_ITEM); 97 if (mapItem == null) { 101 int fieldCount = mapItem.getItemCount();
|
MethodIdItem.java | 49 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 50 return new SectionAnnotator(annotator, mapItem) { 96 MapItem mapItem = dexFile.getMapItemForSection(ItemType.METHOD_ID_ITEM); 97 if (mapItem == null) { 101 int methodCount = mapItem.getItemCount();
|
ProtoIdItem.java | 49 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 50 return new SectionAnnotator(annotator, mapItem) { 99 MapItem mapItem = dexFile.getMapItemForSection(ItemType.PROTO_ID_ITEM); 100 if (mapItem == null) { 104 int protoCount = mapItem.getItemCount();
|
StringIdItem.java | 46 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 47 return new SectionAnnotator(annotator, mapItem) { 106 MapItem mapItem = dexFile.getMapItemForSection(ItemType.STRING_ID_ITEM); 107 if (mapItem == null) { 111 int stringCount = mapItem.getItemCount();
|
AnnotationItem.java | 47 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 48 return new SectionAnnotator(annotator, mapItem) {
|
AnnotationSetItem.java | 46 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 47 return new SectionAnnotator(annotator, mapItem) {
|
AnnotationSetRefList.java | 46 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 47 return new SectionAnnotator(annotator, mapItem) {
|
StringDataItem.java | 44 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 45 return new SectionAnnotator(annotator, mapItem) {
|
ClassDefItem.java | 56 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 57 return new SectionAnnotator(annotator, mapItem) { 128 MapItem mapItem = dexFile.getMapItemForSection(ItemType.CLASS_DEF_ITEM); 129 if (mapItem == null) { 133 int classCount = mapItem.getItemCount();
|
SectionAnnotator.java | 52 public SectionAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 55 this.itemType = mapItem.getType(); 57 this.sectionOffset = mapItem.getOffset(); 58 this.itemCount = mapItem.getItemCount();
|
TypeListItem.java | 46 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 47 return new SectionAnnotator(annotator, mapItem) {
|
AnnotationDirectoryItem.java | 47 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 48 return new SectionAnnotator(annotator, mapItem) {
|
ClassDataItem.java | 45 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { 46 return new SectionAnnotator(annotator, mapItem) {
|
/external/webrtc/src/system_wrappers/test/map/ |
map.cc | 29 int GetStoredIntegerValue(MapItem* map_item) 41 MapItem* map_item = map.First(); 67 MapItem* remove_item = test_map.Find(2); 81 MapItem* first_item = test_map.First(); 85 MapItem* last_item = test_map.Last(); 89 MapItem* second_item = test_map.Next(first_item); 94 MapItem* second_to_last_item = test_map.Previous(last_item);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MapItem.java | 27 public final class MapItem extends OffsettedItem { 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 106 // Add a MapItem for the self-referential section. 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); 124 private MapItem(ItemType type, Section section, Item firstItem [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
MapItem.java | 26 public final class MapItem extends OffsettedItem { 77 ArrayList<MapItem> items = new ArrayList<MapItem>(50); 89 items.add(new MapItem(currentType, section, 101 // Add a MapItem for the final items in the section. 102 items.add(new MapItem(currentType, section, 105 // Add a MapItem for the self-referential section. 106 items.add(new MapItem(mapSection)); 111 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); 123 private MapItem(ItemType type, Section section, Item firstItem [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
MapItem.java | 27 public final class MapItem extends OffsettedItem { 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 106 // Add a MapItem for the self-referential section. 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); 124 private MapItem(ItemType type, Section section, Item firstItem [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/ |
DexAnnotator.java | 90 for (MapItem mapItem: dexFile.getMapItems()) { 91 switch (mapItem.getType()) { 93 annotators.put(mapItem.getType(), HeaderItem.makeAnnotator(this, mapItem)); 96 annotators.put(mapItem.getType(), StringIdItem.makeAnnotator(this, mapItem)); 99 annotators.put(mapItem.getType(), TypeIdItem.makeAnnotator(this, mapItem)); 102 annotators.put(mapItem.getType(), ProtoIdItem.makeAnnotator(this, mapItem)) [all...] |