/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/sax/ |
xmlreader.py | 333 def items(self): member in class:AttributesImpl 334 return self._attrs.items() 352 for (nsname, qname) in self._qnames.items(): 359 for (nsname, qname) in self._qnames.items():
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ConfigParser.py | 73 items(section, raw=False, vars=None) 242 for key, value in defaults.items(): 342 def items(self, section): member in class:RawConfigParser 353 return d.items() 403 for (key, value) in self._defaults.items(): 408 for (key, value) in self._sections[section].items(): 552 for name, val in options.items(): 611 for key, value in vars.items(): 625 def items(self, section, raw=False, vars=None): member in class:ConfigParser 645 for key, value in vars.items() [all...] |
collections.py | 92 'od.clear() -> None. Remove all items from od.' 108 def items(self): member in class:OrderedDict 109 'od.items() -> list of (key, value) pairs in od' 173 return '%s(%r)' % (self.__class__.__name__, self.items()) 179 items = [[k, self[k]] for k in self] 184 return (self.__class__, (items,), inst_dict) 185 return self.__class__, (items,) 226 "od.viewitems() -> a set-like object providing a view on od's items" 382 '''Dict subclass for counting hashable items. Sometimes called a bag 549 for elem, count in iterable.items() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbshelve.py | 199 def items(self, txn=None): member in class:DBShelf 201 items = self.db.items(txn) 203 items = self.db.items() 206 for k, v in items:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
message.py | 47 # A tuple is used for RFC 2231 encoded parameter values where items 346 def items(self): 406 for k, v in _params.items(): 783 The returned list of items describes the Content-Type headers' 344 def items(self): member in class:Message
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/sax/ |
xmlreader.py | 333 def items(self): member in class:AttributesImpl 334 return self._attrs.items() 352 for (nsname, qname) in self._qnames.items(): 359 for (nsname, qname) in self._qnames.items():
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ProjectChooserHelper.java | 231 String[] items = new String[mAvailableProjects.length + 1]; local 232 items[0] = "--- Choose Project ---"; 239 items[i + 1] = labelProvider.getText(project); 244 setItems(items);
|
/system/core/libcutils/ |
str_parms.c | 134 int items = 0; local 174 items++; 179 if (!items) 180 ALOGV("%s: no items found in string\n", __func__);
|
/packages/apps/Browser/src/com/android/browser/ |
SuggestionsAdapter.java | 138 return mMixedResults.items.get(position); 220 protected void onPostExecute(List<SuggestItem> items) { 221 mSuggestResults = items; 333 ArrayList<SuggestItem> items; field in class:SuggestionsAdapter.SuggestionResults 338 items = new ArrayList<SuggestItem>(24); 349 while ((ix < items.size()) && (item.type >= items.get(ix).type)) 351 items.add(ix, item); 356 return Math.min((mLandscapeMode ? mLinesLandscape : mLinesPortrait), items.size()); 361 if (items == null) return null [all...] |
/cts/tools/dasm/src/java_cup/ |
lalr_state.java | 19 * by several items). In our example above, the state would also include 20 * items such as: <pre> 31 * This corresponds to "moving the dot past" a terminal in one or more items 32 * in the state (these new shifted items will then be found in the state at 57 /** Constructor for building a state from a set of items. 58 * @param itms the set of items that makes up this state. 74 /* store the items */ 99 * unclosed, set of items -- which uniquely define the state). This table 107 * found). The kernel item set is the subset of items that were used to 108 * originally create the state. These items are formed by "shifting th 134 public lalr_item_set items() {return _items;} method in class:lalr_state [all...] |
/external/chromium_org/ash/system/tray/ |
system_tray.cc | 163 // Create user items for each possible user. 274 std::vector<SystemTrayItem*> items; local 275 items.push_back(item); 276 ShowItems(items, true, activate, creation_type, GetTrayXOffset(item), false); 322 // Items default to SHELF_ALIGNMENT_BOTTOM. Update them if the initial 448 void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items, 466 // while we add items to the main bubble_ (e.g. in HideNotificationView). 469 system_bubble_->bubble()->UpdateView(items, bubble_type); 481 full_system_tray_menu_ = items.size() > 1; 507 if (items.size() == 1 && items[0]->ShouldHideArrow() [all...] |
/external/chromium_org/chrome/browser/download/ |
download_history_unittest.cc | 223 // Relies on the same object observing all download items. 444 std::vector<content::DownloadItem*> items; local 446 items.push_back(&item(i)); 449 .WillRepeatedly(SetArgPointee<0>(items)); 707 // Test loading multiple items from the database and removing them all. 731 // Pretend that the user removed both items.
|
save_page_browsertest.cc | 331 std::vector<DownloadItem*> items; local 334 manager->GetAllDownloads(&items); 335 if (items.size() == 0u) { 336 DownloadItemCreatedObserver(manager).WaitForDownloadItem(&items); 339 EXPECT_EQ(1u, items.size()); 340 if (1u != items.size()) 342 DownloadItem* download_item(items[0]); 430 std::vector<DownloadItem*> items; local 431 creation_observer.WaitForDownloadItem(&items); 432 ASSERT_EQ(1UL, items.size()) 482 std::vector<DownloadItem*> items; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
menu_manager_unittest.cc | 103 // Tests adding, getting, and removing items. 112 const MenuItem::List* items = manager_.MenuItems(item1->extension_id()); local 113 ASSERT_EQ(1u, items->size()); 114 ASSERT_EQ(item1, items->at(0)); 120 items = manager_.MenuItems(item2->extension_id()); 121 ASSERT_EQ(2u, items->size()); 122 ASSERT_EQ(item1, items->at(0)); 123 ASSERT_EQ(item2, items->at(1)); 151 // Test adding/removing child items. 166 // Add in the first two items 346 const MenuItem::List* items = manager_.MenuItems(item1->extension_id()); local [all...] |
/external/chromium_org/chrome/browser/importer/ |
ie_importer_browsertest_win.cc | 234 } items[] = { local 247 for (int i = 0; i < arraysize(items); ++i) { 248 HRESULT res = pstore->WriteItem(0, type, subtype, items[i].name, 249 items[i].data_size, reinterpret_cast<BYTE*>(items[i].data),
|
/external/chromium_org/components/policy/core/common/ |
schema.cc | 257 const base::DictionaryValue* items = NULL; local 258 if (schema.GetDictionary(schema::kItems, &items)) 259 DetermineStorageSizes(*items, sizes); 391 *error = "Arrays must declare a single schema for their items.";
|
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
drive.cc | 184 AddQueryParameter(&p.url, "fields", "items(id,downloadUrl)", false); 465 if (!root.isMember("items")) { 466 PostMessage("log: ListFiles returned no items...\n"); 470 Json::Value items = root["items"]; local 471 if (!items.isValidIndex(0)) { 472 PostMessage("log: Expected items[0] to be valid.\n"); 476 *metadata = items[0U];
|
/external/chromium_org/net/cert/ |
x509_certificate_mac.cc | 157 CFArrayRef items = NULL; local 162 NULL, 0, NULL, NULL, &items); 167 << "Unable to import items from data of length " << length; 171 ScopedCFTypeRef<CFArrayRef> scoped_items(items); 174 for (CFIndex i = 0; i < CFArrayGetCount(items); ++i) { 176 const_cast<void*>(CFArrayGetValueAtIndex(items, i))); 180 // private keys or other items types, so filter appropriately.
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/irc/ |
ircbot.py | 298 def items(self): member in class:IRCDict 299 return self.data.items() 305 for k, v in dict.items():
|
/external/chromium_org/third_party/bintrees/bintrees/ |
treemixin.py | 40 T.clear() -> None. Remove all items from T. 58 * clear() -> None, Remove all items from T, , O(n) 63 * items([reverse]) -> generator for (k, v) items of T, O(n) 74 * itemslice(s, e) -> generator for (k, v) items of T for s <= key < e, O(n) 78 * del T[s:e] -> remove items by key slicing, for s <= key < e, O(n) 96 * items() -> generator for (k, v) items of T, O(n) 122 * nlargest(i[,pop]) -> get list of i largest items (k, v), O(i*log(n)) 123 * nsmallest(i[,pop]) -> get list of i smallest items (k, v), O(i*log(n) 222 def items(self, reverse=False): member in class:TreeMixin [all...] |
/external/chromium_org/third_party/jinja2/ |
runtime.py | 104 `keys`, `values`, `items`, `iterkeys`, `itervalues`, `iteritems`, 216 items = _all('items') variable in class:Context 302 raise TypeError('no items for cycling given')
|
utils.py | 134 items = import_name.split('.') 135 module = '.'.join(items[:-1]) 136 obj = items[-1] 432 def items(self): member in class:LRUCache 433 """Return a list of items.""" 439 """Iterate over all items.""" 440 return iter(self.items()) 444 return [x[1] for x in self.items()] 463 """Iterate over the values in the cache dict, oldest items 483 def __init__(self, *items) [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
WireFormatTest.java | 564 List<RawMessageSet.Item> items = raw.getItemList(); local 565 for (int i = 0; i < items.size(); i++) { 566 RawMessageSet.Item item = items.get(i);
|
/external/chromium_org/ui/message_center/ |
notification.h | 48 std::vector<NotificationItem> items; member in class:message_center::RichNotificationData 118 const std::vector<NotificationItem>& items() const { function in class:message_center::Notification 119 return optional_fields_.items; 121 void set_items(const std::vector<NotificationItem>& items) { 122 optional_fields_.items = items;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CCombo3.java | 82 // create table for items 344 tableBounds.height = Math.min(tableBounds.height, m_table.getItemHeight() * 20); // max 20 items without scrolling 397 // Access: items 401 * Removes all items. 404 TableItem[] items = m_table.getItems(); local 405 for (int index = 0; index < items.length; index++) { 406 TableItem item = items[index]; 437 * @return the number of items 480 TableItem[] items = m_table.getItems(); local 481 for (int index = 0; index < items.length; index++) [all...] |