Searched defs:items (Results 201 - 225 of 366) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/extensions/api/notifications/
H A Dnotifications_api.cc53 "List items provided for notification type != list";
270 // We should have list items if and only if the type is a multiple type.
271 bool has_list_items = options->items.get() && options->items->size() > 0;
294 for (i = options->items->begin(); i != options->items->end(); ++i) {
298 optional_fields.items.push_back(item);
419 if (options->items.get() && options->items->size() > 0) {
420 // We should have list items i
426 std::vector<message_center::NotificationItem> items; local
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dmenu_manager_unittest.cc107 // Tests adding, getting, and removing items.
116 const MenuItem::List* items = manager_.MenuItems(item1->id().extension_key); local
117 ASSERT_EQ(1u, items->size());
118 ASSERT_EQ(item1, items->at(0));
124 items = manager_.MenuItems(item2->id().extension_key);
125 ASSERT_EQ(2u, items->size());
126 ASSERT_EQ(item1, items->at(0));
127 ASSERT_EQ(item2, items->at(1));
156 // Test adding/removing child items.
171 // Add in the first two items
352 const MenuItem::List* items = manager_.MenuItems(item1->id().extension_key); local
[all...]
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.cc59 int items = GetHistoryItemCount(); local
61 if (items > 0) {
65 if (items == kMaxHistoryItems)
66 chapter_stops = GetChapterStopCount(items);
69 items += chapter_stops + 1; // Chapter stops also need a separator.
73 items += 2;
76 return items;
217 // If the index is past the number of history items + separator,
230 // Look to see if we have reached the separator for the history items.
300 int items local
[all...]
/external/chromium_org/chrome/browser/ui/views/translate/
H A Dtranslate_bubble_view.cc434 std::vector<base::string16> items; local
435 items.push_back(l10n_util::GetStringUTF16(IDS_TRANSLATE_BUBBLE_DENY));
436 items.push_back(base::string16());
437 items.push_back(l10n_util::GetStringFUTF16(
440 items.push_back(base::string16());
441 items.push_back(l10n_util::GetStringUTF16(
444 denial_combobox_model_.reset(new ui::SimpleComboboxModel(items));
/external/chromium_org/components/renderer_context_menu/
H A Drender_view_context_menu_base.cc35 bool IsCustomItemEnabledInternal(const std::vector<content::MenuItem>& items, argument
38 for (size_t i = 0; i < items.size(); ++i) {
40 items[i].action);
42 return items[i].enabled;
43 if (items[i].type == content::MenuItem::SUBMENU) {
44 if (IsCustomItemEnabledInternal(items[i].submenu, id))
51 bool IsCustomItemCheckedInternal(const std::vector<content::MenuItem>& items, argument
54 for (size_t i = 0; i < items.size(); ++i) {
56 items[i].action);
58 return items[
70 AddCustomItemsToMenu(const std::vector<content::MenuItem>& items, size_t depth, size_t* total_items, ui::SimpleMenuModel::Delegate* delegate, ui::SimpleMenuModel* menu_model) argument
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dblob_url_request_job_unittest.cc219 // This only works if all the Blob items have a definite pre-computed length.
223 const std::vector<BlobData::Item>& items = blob_data_->items(); local
224 for (std::vector<BlobData::Item>::const_iterator it = items.begin();
225 it != items.end(); ++it) {
/external/chromium_org/net/cert/
H A Dx509_certificate_mac.cc154 CFArrayRef items = NULL; local
159 NULL, 0, NULL, NULL, &items);
164 << "Unable to import items from data of length " << length;
168 ScopedCFTypeRef<CFArrayRef> scoped_items(items);
171 for (CFIndex i = 0; i < CFArrayGetCount(items); ++i) {
173 const_cast<void*>(CFArrayGetValueAtIndex(items, i)));
177 // private keys or other items types, so filter appropriately.
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8WindowCustom.cpp421 // Search named items in the document.
426 RefPtrWillBeRawPtr<HTMLCollection> items = doc->windowNamedItems(propName); local
427 if (!items->isEmpty()) {
428 if (items->hasExactlyOneItem()) {
429 v8SetReturnValueFast(info, items->item(0), window);
432 v8SetReturnValueFast(info, items.release(), window);
/external/chromium_org/third_party/WebKit/Source/core/clipboard/
H A DDataTransfer.cpp453 PassRefPtrWillBeRawPtr<DataTransferItemList> DataTransfer::items() function in class:blink::DataTransfer
455 // FIXME: According to the spec, we are supposed to return the same collection of items each
456 // time. We now return a wrapper that always wraps the *same* set of items, so JS shouldn't be
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/irc/
H A Dircbot.py298 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/
H A Dtreemixin.py40 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 (
222 def items(self, reverse=False): member in class:TreeMixin
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dusettest.c36 const char* items);
356 const char* items) {
357 const char* p = items;
376 if (uset_isEmpty(set) != (strlen(items)==0)) {
379 strlen(items)==0 ? "TRUE" : "FALSE");
394 log_data_err("FAIL: ran out of items iterating %s (Are you missing data?)\n", pat);
355 expectItems(const USet* set, const char* items) argument
/external/chromium_org/third_party/jinja2/
H A Druntime.py104 `keys`, `values`, `items`, `iterkeys`, `itervalues`, `iteritems`,
216 items = _all('items') variable in class:Context
302 raise TypeError('no items for cycling given')
H A Dutils.py134 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/skia/src/views/
H A DSkOSMenu.cpp34 void SkOSMenu::getItems(const SkOSMenu::Item* items[]) const {
35 if (items) {
37 items[i] = fItems[i];
206 bool SkOSMenu::FindListItems(const SkEvent& evt, SkString items[]) { argument
207 if (evt.isType(gMenuEventType) && items) {
214 items[index].set(token, strlen(token));
/external/chromium_org/ui/message_center/
H A Dnotification.h48 std::vector<NotificationItem> items; member in class:message_center::RichNotificationData
116 const std::vector<NotificationItem>& items() const { function in class:message_center::Notification
117 return optional_fields_.items;
119 void set_items(const std::vector<NotificationItem>& items) { argument
120 optional_fields_.items = items;
/external/icu/icu4c/source/test/cintltst/
H A Dusettest.c36 const char* items);
356 const char* items) {
357 const char* p = items;
376 if (uset_isEmpty(set) != (strlen(items)==0)) {
379 strlen(items)==0 ? "TRUE" : "FALSE");
394 log_data_err("FAIL: ran out of items iterating %s (Are you missing data?)\n", pat);
355 expectItems(const USet* set, const char* items) argument
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
H A DTemplateInterpreter.java369 * &lt;?cs each:x=Stuff &gt; ... &lt;?cs /each &gt; command. Loops over child items of a data
521 private void each(PVariable variable, String parentName, Data items, PCommand command) { argument
531 for (Data child : items.getChildren()) {
/external/lzma/C/Util/SfxSetup/
H A DSfxSetup.c63 static unsigned FindItem(const char **items, unsigned num, const wchar_t *s, unsigned len) argument
68 const char *item = items[i];
/external/oprofile/libpopt/
H A Dpopthelp.c468 * @param items alias/exec array
474 /*@null@*/ poptItem items, int nitems, size_t left,
482 if (items != NULL)
483 for (i = 0, item = items; i < nitems; i++, item++) {
473 itemHelp(FILE * fp, poptItem items, int nitems, size_t left, const char * translation_domain) argument
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_filters.cpp297 static void* my_alloc_func (void* opaque, unsigned int items, unsigned int size) argument
299 return FX_Alloc(FX_BYTE, items * size);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAlertDialog.java30 private CharSequence[] items; field in class:ShadowAlertDialog
79 * Simulates a click on the {@code Dialog} item indicated by {@code index}. Handles both multi- and single-choice dialogs, tracks which items are currently
161 * @return the items that are available to be clicked on
164 return items;
188 * @return an array indicating which items are and are not clicked on a multi-choice dialog
206 if (items != null) {
207 adapter = new ArrayAdapter<CharSequence>(context, R.layout.simple_list_item_checked, R.id.text1, items);
244 private CharSequence[] items; field in class:ShadowAlertDialog.ShadowBuilder
276 * Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. This should be
285 this.items
291 setItems(CharSequence[] items, final DialogInterface.OnClickListener listener) argument
300 setSingleChoiceItems(CharSequence[] items, int checkedItem, final DialogInterface.OnClickListener listener) argument
319 setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, final DialogInterface.OnMultiChoiceClickListener listener) argument
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DListViewTest.java274 adapter.items.remove(0);
281 adapter.items.add("x");
288 adapter.items.remove(2);
289 adapter.items.add("x");
353 if (items.isEmpty()) items.addAll(lazyItems);
496 public List<String> items = new ArrayList<String>(); field in class:ListViewTest.ListAdapter
498 public ListAdapter(String... items) { argument
499 this.items.addAll(asList(items));
[all...]
/external/skia/src/views/
H A DSkOSMenu.cpp34 void SkOSMenu::getItems(const SkOSMenu::Item* items[]) const {
35 if (NULL != items) {
37 items[i] = fItems[i];
206 bool SkOSMenu::FindListItems(const SkEvent& evt, SkString items[]) { argument
207 if (evt.isType(gMenuEventType) && NULL != items) {
214 items[index].set(token, strlen(token));
/external/smack/src/org/jivesoftware/smack/
H A DRoster.java38 * presence updates for. Roster items are categorized into groups for easier management.<p>
312 private void insertRosterItems(List<RosterPacket.Item> items){ argument
316 Iterator<RosterPacket.Item> iter = items.iterator();

Completed in 556 milliseconds

1234567891011>>