/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
Antlr.Runtime.Collections.Tests.pas | 110 Item: String; 112 Item := 'Item 1'; 113 FIStackList.Push(Item); 114 Item := 'Item 2'; 115 FIStackList.Push(Item); 116 CheckEquals(FIStackList.Pop,'Item 2'); 117 CheckEquals(FIStackList.Pop,'Item 1'); 122 FIStackList.Push('Item 1') [all...] |
/external/chromium_org/extensions/browser/ |
process_map.cc | 9 // Item 10 struct ProcessMap::Item { 11 Item() : process_id(0), site_instance_id(0) { 16 explicit Item(const ProcessMap::Item& other) 22 Item(const std::string& extension_id, int process_id, 29 ~Item() { 32 bool operator<(const ProcessMap::Item& other) const { 65 return items_.insert(Item(extension_id, process_id, site_instance_id)).second; 70 return items_.erase(Item(extension_id, process_id, site_instance_id)) > 0 [all...] |
process_map.h | 84 struct Item; 86 typedef std::set<Item> ItemSet;
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
DiscoverItems.java | 45 private final List<Item> items = new CopyOnWriteArrayList<Item>(); 49 * Adds a new item to the discovered information. 51 * @param item the discovered entity's item 53 public void addItem(Item item) { 55 items.add(item); 64 public void addItems(Collection<Item> itemsToAdd) { 66 for (Item i : itemsToAdd) [all...] |
MUCAdmin.java | 39 private List<Item> items = new ArrayList<Item>(); 42 * Returns an Iterator for item childs that holds information about roles, affiliation, 45 * @return an Iterator for item childs that holds information about roles, affiliation, 48 public Iterator<Item> getItems() { 50 return Collections.unmodifiableList(new ArrayList<Item>(items)).iterator(); 55 * Adds an item child that holds information about roles, affiliation, jids and nicks. 57 * @param item the item child that holds information about roles, affiliation, jids and nicks. 59 public void addItem(Item item) 70 Item item = items.get(i); local [all...] |
OfflineMessageRequest.java | 40 private List<Item> items = new ArrayList<Item>(); 45 * Returns an Iterator for item childs that holds information about offline messages to 48 * @return an Iterator for item childs that holds information about offline messages to 51 public Iterator<Item> getItems() { 53 return Collections.unmodifiableList(new ArrayList<Item>(items)).iterator(); 58 * Adds an item child that holds information about offline messages to view or delete. 60 * @param item the item child that holds information about offline messages to view or delete. 62 public void addItem(Item item) 109 Item item = items.get(i); local 223 Item item = new Item(parser.getAttributeValue("", "node")); local [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ReadContext.java | 39 * Namely, it handles "pre-creating" items when an item needs to resolve some other item 100 * Gets the offsetted item of the specified type for the given offset. This method does not support retrieving an 101 * optional item where a value of 0 indicates "not present". Use getOptionalOffsettedItemByOffset instead. 103 * @param itemType The type of item to get 104 * @param offset The offset of the item 105 * @return the offsetted item of the specified type at the specified offset 107 public Item getOffsettedItemByOffset(ItemType itemType, int offset) { 110 SparseArray<Item> sa = itemsByType[itemType.SectionIndex]; 111 Item item = sa.get(offset) local 132 Item item = sa.get(offset); local 181 sa.append(item.getOffset(), item); local [all...] |
/dalvik/dx/src/com/android/dx/cf/attrib/ |
InnerClassList.java | 38 * Gets the indicated item. 40 * @param n {@code >= 0;} which item 41 * @return {@code null-ok;} the indicated item 43 public Item get(int n) { 44 return (Item) get0(n); 48 * Sets the item at the given index. 51 * @param innerClass {@code non-null;} class this item refers to 60 set0(n, new Item(innerClass, outerClass, innerName, accessFlags)); 64 * Item in an inner classes list. 66 public static class Item { [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
StructPadTest.java | 38 ScriptField_PadMe.Item I = new ScriptField_PadMe.Item(); 43 S.set(new ScriptField_PadMe.Item(), 0, true);
|
/external/emma/core/java12/com/vladium/emma/report/ |
PackageItem.java | 16 final class PackageItem extends Item 62 private static final Item.ItemMetadata METADATA; // set in <clinit> 66 METADATA = new Item.ItemMetadata (IItemMetadata.TYPE_ID_PACKAGE, "package",
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
InstructionWithJumboReference.java | 38 import org.jf.dexlib.Item; 42 protected InstructionWithJumboReference(Opcode opcode, Item referencedItem) { 46 protected InstructionWithJumboReference(Opcode opcode, Item referencedItem, ReferenceType referenceType) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
FormDataList.h | 34 class Item { 36 Item() { } 37 Item(const WTF::CString& data) : m_data(data) { } 38 Item(PassRefPtr<Blob> blob, const String& filename) : m_blob(blob), m_filename(filename) { } 73 const Vector<Item>& items() const { return m_items; } 87 Vector<Item> m_items;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
TextTest.java | 34 ScriptField_TestScripts_s.Item[] mTests; 46 mTests[index] = new ScriptField_TestScripts_s.Item(); 55 ScriptField_TextTestData_s.Item dataItem = new ScriptField_TextTestData_s.Item(); 66 mTests = new ScriptField_TestScripts_s.Item[mNames.length]; 76 public ScriptField_TestScripts_s.Item[] getTests() {
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
profile_list_chromeos.h | 24 virtual const AvatarMenu::Item& GetItemAt(size_t index) const OVERRIDE; 40 std::vector<AvatarMenu::Item*> items_;
|
/external/chromium_org/chrome/browser/profiles/ |
profile_list_desktop.h | 23 virtual const AvatarMenu::Item& GetItemAt(size_t index) const OVERRIDE; 38 std::vector<AvatarMenu::Item*> items_;
|
profile_list.h | 22 // Returns the Item at the specified index. 23 virtual const AvatarMenu::Item& GetItemAt(size_t index) const = 0;
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
ByteCatchList.java | 54 * Gets the indicated item. 56 * @param n {@code >= 0;} which item 57 * @return {@code null-ok;} the indicated item 59 public Item get(int n) { 60 return (Item) get0(n); 64 * Sets the item at the given index. 67 * @param item {@code non-null;} the item 69 public void set(int n, Item item) { [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
ByteCatchList.java | 54 * Gets the indicated item. 56 * @param n {@code >= 0;} which item 57 * @return {@code null-ok;} the indicated item 59 public Item get(int n) { 60 return (Item) get0(n); 64 * Sets the item at the given index. 67 * @param item {@code non-null;} the item 69 public void set(int n, Item item) { [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDragData.cpp | 70 WebVector<WebDragData::Item> WebDragData::items() const 72 Vector<Item> itemList; 74 ChromiumDataObjectItem* originalItem = m_private->item(i).get(); 75 WebDragData::Item item; local 77 item.storageType = Item::StorageTypeString; 78 item.stringType = originalItem->type(); 79 item.stringData = originalItem->internalGetAsString(); 82 item.storageType = Item::StorageTypeBinaryData [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
LeafNode.java | 46 * @return The item details in {@link DiscoverItems} format
62 * @return List of {@link Item} in the node
66 public <T extends Item> List<T> getItems()
83 * @return List of {@link Item} in the node
87 public <T extends Item> List<T> getItems(String subscriptionId)
104 * @param ids Item ids of the items to retrieve
106 * @return The list of {@link Item} with payload
110 public <T extends Item> List<T> getItems(Collection<String> ids)
113 List<Item> itemList = new ArrayList<Item>(ids.size()); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
IndexedItem.java | 20 * An item in a Dalvik file which is referenced by index. 22 public abstract class IndexedItem extends Item { 23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not 44 * Gets the item index. 47 * @throws RuntimeException thrown if the item index is not yet assigned 58 * Sets the item index. This method may only ever be called once 62 * @param index {@code >= 0;} the item index 73 * Gets the index of this item as a string, suitable for including in
|
UniformItemSection.java | 26 * {@link Item} objects. Each of the items must have the same size in 46 Collection<? extends Item> items = items(); 53 // Since each item has to be the same size, we can pick any. 58 * Gets the item corresponding to the given {@link Constant}. This 64 * @return {@code non-null;} the corresponding item found in this instance 75 for (Item one : items()) { 86 for (Item one : items()) { 94 public final int getAbsoluteItemOffset(Item item) { 99 IndexedItem ii = (IndexedItem) item; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
IndexedItem.java | 20 * An item in a Dalvik file which is referenced by index. 22 public abstract class IndexedItem extends Item { 23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not 44 * Gets the item index. 47 * @throws RuntimeException thrown if the item index is not yet assigned 58 * Sets the item index. This method may only ever be called once 62 * @param index {@code >= 0;} the item index 73 * Gets the index of this item as a string, suitable for including in
|
UniformItemSection.java | 25 * {@link Item} objects. Each of the items must have the same size in 45 Collection<? extends Item> items = items(); 52 // Since each item has to be the same size, we can pick any. 57 * Gets the item corresponding to the given {@link Constant}. This 63 * @return {@code non-null;} the corresponding item found in this instance 74 for (Item one : items()) { 85 for (Item one : items()) { 93 public final int getAbsoluteItemOffset(Item item) { 98 IndexedItem ii = (IndexedItem) item; [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebDragData.h | 53 struct Item { 102 BLINK_EXPORT WebVector<Item> items() const; 103 BLINK_EXPORT void setItems(const WebVector<Item>&); 104 BLINK_EXPORT void addItem(const Item&);
|