/external/guava/guava-testlib/src/com/google/common/testing/ |
EquivalenceTester.java | 71 @Override public void assertRelated(T item, T related) { 72 assertTrue("$ITEM must be equivalent to $RELATED", equivalence.equivalent(item, related)); 73 int itemHash = equivalence.hash(item); 75 assertEquals("the hash (" + itemHash + ") of $ITEM must be equal to the hash (" 79 @Override public void assertUnrelated(T item, T unrelated) { 80 assertTrue("$ITEM must be inequivalent to $UNRELATED", 81 !equivalence.equivalent(item, unrelated)); 116 for (T item : items) { 117 assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)) [all...] |
/external/nist-sip/java/gov/nist/core/ |
MultiMap.java | 35 public Object remove( Object key, Object item );
|
/external/qemu/ |
qemu-log.c | 134 const QEMULogItem *item; local 146 for (item = qemu_log_items; item->mask != 0; item++) { 147 mask |= item->mask; 150 for (item = qemu_log_items; item->mask != 0; item++) { 151 if (cmp1(p, p1 - p, item->name)) { 158 mask |= item->mask 169 const QEMULogItem *item; local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/util/ |
CharSequenceConverter.java | 52 protected boolean isImmutable(@Nonnull CharSequence item) { 53 return item instanceof String; 58 protected String makeImmutable(@Nonnull CharSequence item) { 59 return item.toString();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
OnItemClickedListener.java | 19 * Interface for receiving notification when a item is clicked. 25 public void onItemClicked(Object item, Row row);
|
OnItemSelectedListener.java | 17 * Interface for receiving notification when a row or item becomes selected. 23 * Called when the a row or a new item becomes selected. The concept of current selection 24 * is different than focus. Row or item can be selected even they don't have focus. 26 * item or selected row when user selects rows outside row UI (e.g. headers left of 29 * For a none {@link ListRow} case, parameter item is always null. Event is fired when 32 * For a {@link ListRow} case, parameter item can be null if the list row is empty. 42 * focused item in the row. 45 * @param item The item that is currently selected. 48 public void onItemSelected(Object item, Row row) [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
DOMStringList.java | 26 * Returns the <code>index</code>th item in the collection. If 34 public String item(int index); method in interface:DOMStringList
|
/external/chromium_org/chrome/browser/download/ |
all_download_item_notifier.h | 28 // content::DownloadManager* manager, content::DownloadItem* item) { ... } 39 // multiple managers at once and easily distinguish which manager a given item 47 content::DownloadManager* manager, content::DownloadItem* item) {} 49 content::DownloadManager* manager, content::DownloadItem* item) {} 51 content::DownloadManager* manager, content::DownloadItem* item) {} 53 content::DownloadManager* manager, content::DownloadItem* item) {} 71 content::DownloadItem* item) OVERRIDE; 74 virtual void OnDownloadUpdated(content::DownloadItem* item) OVERRIDE; 75 virtual void OnDownloadOpened(content::DownloadItem* item) OVERRIDE; 76 virtual void OnDownloadRemoved(content::DownloadItem* item) OVERRIDE [all...] |
download_history.cc | 11 // store per-DownloadItem data such as whether the item is persisted or being 21 // item is still being added to the database, DownloadHistory uses 22 // |removed_while_adding_| to remember to remove the item when its ItemAdded() 60 static DownloadHistoryData* Get(content::DownloadItem* item) { 61 base::SupportsUserData::Data* data = item->GetUserData(kKey); 66 static const DownloadHistoryData* Get(const content::DownloadItem* item) { 67 const base::SupportsUserData::Data* data = item->GetUserData(kKey); 72 explicit DownloadHistoryData(content::DownloadItem* item) 75 item->SetUserData(kKey, this); 91 // unnecessarily. It is nullified when the item is no longer in progress i 262 content::DownloadItem* item = notifier_.GetManager()->CreateDownloadItem( local [all...] |
/external/chromium_org/chrome/installer/util/ |
work_item_list.cc | 45 LOG(ERROR) << "item execution failed " << work_item->log_message(); 78 WorkItem* item = WorkItem::CreateCallbackWorkItem(callback); local 79 AddWorkItem(item); 80 return item; 89 WorkItem* item = WorkItem::CreateCopyTreeWorkItem( local 95 AddWorkItem(item); 96 return item; 100 WorkItem* item = WorkItem::CreateCreateDirWorkItem(path); local 101 AddWorkItem(item); 102 return item; 108 WorkItem* item = local 117 WorkItem* item = local 128 WorkItem* item = WorkItem::CreateDeleteRegValueWorkItem( local 138 WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, temp_path, local 154 WorkItem* item = WorkItem::CreateMoveTreeWorkItem(base::FilePath(source_path), local 168 WorkItem* item = WorkItem::CreateSetRegValueWorkItem(predefined_root, local 184 WorkItem* item = WorkItem::CreateSetRegValueWorkItem(predefined_root, local 200 WorkItem* item = reinterpret_cast<WorkItem*>( local 214 WorkItem* item = WorkItem::CreateSelfRegWorkItem(dll_path, do_register, local [all...] |
/external/chromium_org/device/hid/ |
hid_report_descriptor.cc | 13 HidReportDescriptorItem* item = NULL; local 15 item = new HidReportDescriptorItem(&bytes[header_index], item); 16 items_.push_back(linked_ptr<HidReportDescriptorItem>(item)); 17 header_index += item->GetSize(); 32 linked_ptr<HidReportDescriptorItem> item = *items_iter; local 35 item->tag() == HidReportDescriptorItem::kTagCollection && 36 item->parent() == NULL; 43 HidReportDescriptorItem* usage = item->previous();
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebBlobData.cpp | 57 bool WebBlobData::itemAt(size_t index, Item& result) const 64 const BlobDataItem& item = m_private->items()[index]; local 68 result.offset = item.offset; 69 result.length = item.length; 70 result.expectedModificationTime = item.expectedModificationTime; 72 switch (item.type) { 74 result.type = Item::TypeData; 75 result.data = item.data; 78 result.type = Item::TypeFile; 79 result.filePath = item.path [all...] |
/external/smack/src/org/jivesoftware/smackx/muc/ |
Occupant.java | 42 Occupant(MUCAdmin.Item item) { 44 this.jid = item.getJid(); 45 this.affiliation = item.getAffiliation(); 46 this.role = item.getRole(); 47 this.nick = item.getNick(); 54 MUCUser.Item item = mucUser.getItem(); local 55 this.jid = item.getJid(); 56 this.affiliation = item.getAffiliation() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_weakrefset.py | 38 def _remove(item, selfref=ref(self)): 42 self._pending_removals.append(item) 44 self.data.discard(item) 61 item = itemref() 62 if item is not None: 63 yield item 68 def __contains__(self, item): 70 wr = ref(item) 81 def add(self, item): 84 self.data.add(ref(item, self._remove) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_weakrefset.py | 38 def _remove(item, selfref=ref(self)): 42 self._pending_removals.append(item) 44 self.data.discard(item) 61 item = itemref() 62 if item is not None: 63 yield item 68 def __contains__(self, item): 70 wr = ref(item) 81 def add(self, item): 84 self.data.add(ref(item, self._remove) [all...] |
/external/chromium_org/ui/file_manager/file_manager/background/js/ |
file_operation_handler.js | 40 * we adds the item to the progress center. 60 * Pending time before a delete item is added to the progress center. 173 var item; 176 item = new ProgressCenterItem(); 177 item.id = event.taskId; 178 item.type = FileOperationHandler.getType_(event.status.operationType); 179 item.message = FileOperationHandler.getMessage_(event); 180 item.progressMax = event.status.totalBytes; 181 item.progressValue = event.status.processedBytes; 182 item.cancelCallback = this.fileOperationManager_.requestTaskCancel.bind [all...] |
/external/chromium_org/content/renderer/ |
history_serialization.cc | 84 void GenerateFrameStateFromItem(const WebHistoryItem& item, 86 state->url_string = item.urlString(); 87 state->referrer = item.referrer(); 88 state->referrer_policy = item.referrerPolicy(); 89 state->target = item.target(); 90 if (!item.stateObject().isNull()) 91 state->state_object = item.stateObject().toString(); 92 state->pinch_viewport_scroll_offset = item.pinchViewportScrollOffset(); 93 state->scroll_offset = item.scrollOffset(); 94 state->item_sequence_number = item.itemSequenceNumber() 126 WebHistoryItem item; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
DataTransferItemList.cpp | 54 PassRefPtrWillBeRawPtr<DataTransferItem> DataTransferItemList::item(unsigned long index) function in class:WebCore::DataTransferItemList 58 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->item(index); 59 if (!item) 62 return DataTransferItem::create(m_clipboard, item); 85 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->add(data, type); 86 if (!item) { 87 exceptionState.throwDOMException(NotSupportedError, "An item already exists for type '" + type + "'."); 90 return DataTransferItem::create(m_clipboard, item); 97 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->add(file) [all...] |
/external/chromium_org/third_party/skia/platform_tools/android/gyp_gen/ |
vars_dict_lib.py | 24 def add(self, item): 25 """Add item, if it is not already in the set. 27 item is appended to the end if it is not already in the set. 30 item: The item to add. 32 if item not in self.__ordered_set: 33 self.__ordered_set.append(item) 35 def __contains__(self, item): 36 """Whether the set contains item. 39 item: The item to search for in the set [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
assocdat.c | 79 assoc_data_item *item = NULL; local 91 item = &assoc_data->vector[i]; 95 if (!item) { 103 item = &assoc_data->vector[assoc_data->size-1]; 104 item->callback = callback; 105 item->data = NULL; 109 if (item->data && item->data != data) 110 item->callback->destroy(item->data) [all...] |
/external/skia/platform_tools/android/gyp_gen/ |
vars_dict_lib.py | 24 def add(self, item): 25 """Add item, if it is not already in the set. 27 item is appended to the end if it is not already in the set. 30 item: The item to add. 32 if item not in self.__ordered_set: 33 self.__ordered_set.append(item) 35 def __contains__(self, item): 36 """Whether the set contains item. 39 item: The item to search for in the set [all...] |
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.cpp | 79 const RingBufferItem& item = *it; local 81 cur.mCrop = item.mCrop; 82 cur.mTransform = item.mTransform; 83 cur.mScalingMode = item.mScalingMode; 84 cur.mTimestamp = item.mTimestamp; 85 cur.mFrameNumber = item.mFrameNumber; 86 cur.mPinned = item.mPinCount > 0; 142 // Fine. Empty buffer item list. 164 void RingBufferConsumer::pinBufferLocked(const BufferItem& item) { 172 if (item.mGraphicBuffer == find.mGraphicBuffer) 224 RingBufferItem& item = *accIt; local 293 RingBufferItem& item = *mBufferItemList.insert(mBufferItemList.end(), local [all...] |
/frameworks/base/core/java/android/speech/tts/ |
AudioPlaybackHandler.java | 41 private void stop(PlaybackQueueItem item) { 42 if (item == null) { 46 item.stop(TextToSpeech.STOPPED); 49 public void enqueue(PlaybackQueueItem item) { 51 mQueue.put(item); 76 * @return false iff the queue is empty and no queue item is currently 106 final PlaybackQueueItem item = it.next(); local 107 if (item.getCallerIdentity() == callerIdentity) { 121 PlaybackQueueItem item = null; local 123 item = mQueue.take() [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_keymap.c | 151 struct keymap_item *item; local 155 item = (struct keymap_item *) cso_hash_iter_data(iter); 156 if (!memcmp(item->key, key, map->key_size)) 192 struct keymap_item *item; local 201 item = hash_table_find_item(map, key, key_hash); 202 if (item) { 203 /* call delete callback for old entry/item */ 204 map->delete_func(map, item->key, item->value, user); 205 item->value = (void *) data 235 struct keymap_item *item; local 261 struct keymap_item *item; local 295 struct keymap_item *item; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_keymap.c | 151 struct keymap_item *item; local 155 item = (struct keymap_item *) cso_hash_iter_data(iter); 156 if (!memcmp(item->key, key, map->key_size)) 192 struct keymap_item *item; local 201 item = hash_table_find_item(map, key, key_hash); 202 if (item) { 203 /* call delete callback for old entry/item */ 204 map->delete_func(map, item->key, item->value, user); 205 item->value = (void *) data 235 struct keymap_item *item; local 261 struct keymap_item *item; local 295 struct keymap_item *item; local [all...] |