HomeSort by relevance Sort by last modified time
    Searched refs:items (Results 1 - 25 of 542) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bluetooth/glib/tests/
completion-test.c 33 GList *items; local
38 items = NULL;
39 items = g_list_append (items, "a\302\243");
40 items = g_list_append (items, "a\302\244");
41 items = g_list_append (items, "bb");
42 items = g_list_append (items, "bc")
    [all...]
  /external/webkit/Tools/QueueStatusServer/model/
workitems_unittest.py 37 items = WorkItems()
38 items.item_ids = [0, 1, 2]
39 self.assertEquals(items.display_position_for_attachment(0), 1)
40 self.assertEquals(items.display_position_for_attachment(1), 2)
41 self.assertEquals(items.display_position_for_attachment(3), None)
activeworkitems_unittest.py 48 items = ActiveWorkItems.lookup_by_queue("test-queue")
52 self.assertEqual(items.next_item(queued_items, time), 1)
53 self.assertEqual(items.next_item([1], time), None)
54 self.assertEqual(items.next_item([], time), None)
56 self.assertEqual(items.time_for_item(1), time)
57 self.assertEqual(items.time_for_item(2), None)
59 items.expire_item(1)
61 self.assertEqual(items.time_for_item(1), time)
63 items = ActiveWorkItems.lookup_by_queue("test-queue")
64 self.assertEqual(items.time_for_item(1), None
    [all...]
  /external/qemu/android/utils/
reflist.c 23 return l->u.items;
30 AFREE(l->u.items);
40 /* deferred empty, set all items to NULL
42 void** items = _areflist_items(l); local
43 AARRAY_ZERO(items, l->count);
57 void** items = _areflist_items(l); local
58 void** end = items + l->count;
59 void** ii = items;
63 return (ii - items);
75 void** items; local
102 void** items; local
126 void** items = _areflist_items(l); local
161 void** items = _areflist_items(l); local
192 void** items = _areflist_items(l); local
229 void** items = _areflist_items(l); local
281 void** items; local
    [all...]
vector.c 5 _avector_ensure( void** items, size_t itemSize, unsigned* pMaxItems, unsigned newCount )
14 AASSERT_FAIL("trying to reallocate array of 0-size items (count=%d)\n", newCount);
18 AASSERT_FAIL("trying to reallocate over-sized array of %d-bytes items (%d > %d)\n",
29 *items = _android_array_realloc( *items, itemSize, newMax );
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
UniformListItem.java 26 * Class that represents a contiguous list of uniform items. Each
30 * <p>This class inherits its alignment from its items, bumped up to
31 * {@code 4} if the items have a looser alignment requirement. If
46 private final List<T> items; field in class:UniformListItem
53 * @param items {@code non-null and non-empty;} list of items to represent
55 public UniformListItem(ItemType itemType, List<T> items) {
56 super(getAlignment(items), writeSize(items));
62 this.items = items
    [all...]
UniformItemSection.java 26 * {@link Item} objects. Each of the items must have the same size in
46 Collection<? extends Item> items = items(); local
47 int sz = items.size();
54 return sz * items.iterator().next().writeSize();
75 for (Item one : items()) {
86 for (Item one : items()) {
96 * Since all items must be the same size, we can use the size
106 * Alters or picks the order for items in this instance if desired,
107 * so that subsequent calls to {@link #items} will yield
    [all...]
AnnotationSetItem.java 38 * {@code non-null;} set of annotations as individual items in an array.
42 private final AnnotationItem[] items; field in class:AnnotationSetItem
53 this.items = new AnnotationItem[annotations.size()];
57 items[at] = new AnnotationItem(a);
117 int size = items.length;
120 items[i] = byteData.intern(items[i]);
128 AnnotationItem.sortByTypeIdIndex(items);
135 int size = items.length;
145 AnnotationItem item = items[i]
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
UniformListItem.java 26 * Class that represents a contiguous list of uniform items. Each
30 * <p>This class inherits its alignment from its items, bumped up to
31 * {@code 4} if the items have a looser alignment requirement. If
46 private final List<T> items; field in class:UniformListItem
53 * @param items {@code non-null and non-empty;} list of items to represent
55 public UniformListItem(ItemType itemType, List<T> items) {
56 super(getAlignment(items), writeSize(items));
62 this.items = items
    [all...]
UniformItemSection.java 26 * {@link Item} objects. Each of the items must have the same size in
46 Collection<? extends Item> items = items(); local
47 int sz = items.size();
54 return sz * items.iterator().next().writeSize();
75 for (Item one : items()) {
86 for (Item one : items()) {
96 * Since all items must be the same size, we can use the size
106 * Alters or picks the order for items in this instance if desired,
107 * so that subsequent calls to {@link #items} will yield
    [all...]
AnnotationSetItem.java 38 * {@code non-null;} set of annotations as individual items in an array.
42 private final AnnotationItem[] items; field in class:AnnotationSetItem
53 this.items = new AnnotationItem[annotations.size()];
57 items[at] = new AnnotationItem(a);
117 int size = items.length;
120 items[i] = byteData.intern(items[i]);
128 AnnotationItem.sortByTypeIdIndex(items);
135 int size = items.length;
145 AnnotationItem item = items[i]
    [all...]
  /external/bison/src/
closure.h 36 ITEMS, of length N), set up RULESET and ITEMSET to indicate what
37 rules could be run and which items could be accepted when those
38 items are the active ones.
46 significant). CLOSURE places there the indices of all items which
49 void closure (item_number *items, size_t n);
  /external/webkit/Source/WebKit/chromium/public/
WebPopupMenuInfo.h 44 WebVector<WebMenuItemInfo> items; member in struct:WebKit::WebPopupMenuInfo
  /external/webkit/Source/WebCore/platform/efl/
ContextMenuEfl.cpp 35 void ContextMenu::getContextMenuItems(void* menu, Vector<ContextMenuItem>& items)
40 void* ContextMenu::createNativeMenuFromItems(const Vector<ContextMenuItem>& items)
  /external/webkit/Source/WebCore/platform/mac/
SearchPopupMenuMac.mm 57 NSMutableArray* items = [[NSMutableArray alloc] initWithCapacity:size];
59 [items addObject:searchItems[i]];
60 [[NSUserDefaults standardUserDefaults] setObject:items forKey:autosaveKey(name)];
61 [items release];
71 NSArray* items = [[NSUserDefaults standardUserDefaults] arrayForKey:autosaveKey(name)];
72 size_t size = [items count];
74 NSString* item = [items objectAtIndex:i];
  /external/webkit/Source/WebCore/platform/win/
SearchPopupMenuWin.cpp 65 RetainPtr<CFMutableArrayRef> items;
69 items.adoptCF(CFArrayCreateMutable(0, size, &kCFTypeArrayCallBacks));
72 CFArrayAppendValue(items.get(), item.get());
76 CFPreferencesSetAppValue(autosaveKey(name).get(), items.get(), kCFPreferencesCurrentApplication);
88 RetainPtr<CFArrayRef> items(AdoptCF, reinterpret_cast<CFArrayRef>(CFPreferencesCopyAppValue(autosaveKey(name).get(), kCFPreferencesCurrentApplication)));
90 if (!items || CFGetTypeID(items.get()) != CFArrayGetTypeID())
93 size_t size = CFArrayGetCount(items.get());
95 CFStringRef item = (CFStringRef)CFArrayGetValueAtIndex(items.get(), i);
  /external/webkit/Source/WebCore/platform/
ContextMenu.cpp 37 static const ContextMenuItem* findItemWithAction(unsigned action, const Vector<ContextMenuItem>& items)
39 for (size_t i = 0; i < items.size(); ++i) {
40 const ContextMenuItem& item = items[i];
  /libcore/luni/src/main/java/java/util/concurrent/
ArrayBlockingQueue.java 51 * even for the items array, which is default-serialized, even if
57 /** The queued items */
58 final Object[] items; field in class:ArrayBlockingQueue
60 /** items index for next take, poll, peek or remove */
63 /** items index for next put, offer, or add */
87 return (++i == items.length) ? 0 : i;
94 return ((i == 0) ? items.length : i) - 1;
106 return this.<E>cast(items[i]);
124 items[putIndex] = x;
135 final Object[] items = this.items local
150 final Object[] items = this.items; local
490 final Object[] items = this.items; local
542 final Object[] items = this.items; local
588 final Object[] items = this.items; local
613 final Object[] items = this.items; local
    [all...]
  /external/oprofile/libutil++/
comma_list.h 3 * Container holding items from a list of comma separated items
31 * setup items array according to str parameters. Implement PP:3.17
45 * return true if value match one the stored value in items
54 container_type items; member in class:comma_list
68 items.clear();
76 items.clear();
79 items.push_back(op_lexical_cast<T>(result[i]));
90 const_iterator cit = items.begin();
91 const_iterator const end = items.end()
    [all...]
  /external/openssl/crypto/pqueue/
pqueue.c 66 pitem *items; member in struct:_pqueue
115 if (pq->items == NULL)
117 pq->items = item;
121 for(curr = NULL, next = pq->items;
133 pq->items = item;
153 return pq->items;
159 pitem *item = pq->items;
161 if (pq->items != NULL)
162 pq->items = pq->items->next
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenu.java 129 final ArrayList<ActionMenuItem> items = mItems; local
130 final int itemCount = items.size();
132 if (items.get(i).getItemId() == id) {
149 final ArrayList<ActionMenuItem> items = mItems; local
150 final int itemCount = items.size();
153 if (items.get(i).isVisible()) {
164 final ArrayList<ActionMenuItem> items = mItems; local
165 final int itemCount = items.size();
168 ActionMenuItem item = items.get(i);
201 final ArrayList<ActionMenuItem> items = mItems local
220 final ArrayList<ActionMenuItem> items = mItems; local
233 final ArrayList<ActionMenuItem> items = mItems; local
245 final ArrayList<ActionMenuItem> items = mItems; local
    [all...]
  /system/core/toolbox/
dynarray.c 9 a->items = NULL;
37 new_items = realloc(a->items, new_cap*sizeof(void*));
41 a->items = new_items;
51 a->items[a->count++] = item;
57 free(a->items);
58 a->items = NULL;
98 qsort(list->items,
  /external/webkit/Source/WebKit2/UIProcess/mac/
WebContextMenuProxyMac.mm 133 static Vector<RetainPtr<NSMenuItem> > nsMenuItemVector(const Vector<WebContextMenuItemData>& items)
137 unsigned size = items.size();
140 switch (items[i].type()) {
143 NSMenuItem* menuItem = [[NSMenuItem alloc] initWithTitle:nsStringFromWebCoreString(items[i].title()) action:@selector(forwardContextMenuAction:) keyEquivalent:@""];
144 [menuItem setTag:items[i].action()];
145 [menuItem setEnabled:items[i].enabled()];
146 [menuItem setState:items[i].checked() ? NSOnState : NSOffState];
148 if (items[i].userData()) {
149 WebUserDataWrapper *wrapper = [[WebUserDataWrapper alloc] initWithUserData:items[i].userData()];
161 NSMenu* menu = [[NSMenu alloc] initWithTitle:nsStringFromWebCoreString(items[i].title())]
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
InMemoryResourceLoader.java 28 * ResourceLoader that pulls all items from memory. This is particularly useful for small templates
37 private ConcurrentMap<String, String> items = new ConcurrentHashMap<String, String>(); field in class:InMemoryResourceLoader
41 String content = items.get(name);
56 items.put(name, contents);
60 items.remove(name);
64 return items;
  /external/webkit/Source/WebCore/platform/graphics/pango/
GlyphPageTreeNodePango.cpp 48 GList* items = pango_itemize(context, buffer, 0, length, NULL, NULL); local
50 if (g_list_length(items) == 1) {
51 PangoItem* item = reinterpret_cast<PangoItem*>(items->data);
68 g_list_foreach(items, (GFunc)pango_item_free, NULL);
69 g_list_free(items);

Completed in 2201 milliseconds

1 2 3 4 5 6 7 8 91011>>