/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/qemu/android/utils/ |
reflist.c | 20 /* deferred empty, set all items to NULL 22 void** items = areflist_items(l); local 23 memset(items, 0, l->count*sizeof(items[0])); 28 free(l->u.items); 39 void** items = (l->max == 1) ? &l->u.item0 : l->u.items; local 40 void** end = items + l->count; 41 void** ii = items; 45 return (ii - items); 75 void** items; local 90 void** items = areflist_items(l); local 121 void** items = areflist_items(l); local 151 void** items = areflist_items(l); local 195 void** items; local [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...] |
MemberIdsSection.java | 39 for (Object i : items()) {
|
MixedItemSection.java | 63 /** {@code non-null;} the items in this part */ 64 private final ArrayList<OffsettedItem> items; field in class:MixedItemSection 66 /** {@code non-null;} items that have been explicitly interned */ 69 /** {@code non-null;} how to sort the items */ 86 * @param sort how the items should be sorted in the final output 92 this.items = new ArrayList<OffsettedItem>(100); 100 public Collection<? extends Item> items() { method in class:MixedItemSection 101 return items; 119 * Gets the size of this instance, in items. 124 return items.size() [all...] |
/external/webkit/WebCore/platform/win/ |
SearchPopupMenuWin.cpp | 49 RetainPtr<CFMutableArrayRef> items; 53 items.adoptCF(CFArrayCreateMutable(0, size, &kCFTypeArrayCallBacks)); 56 CFArrayAppendValue(items.get(), item.get()); 60 CFPreferencesSetAppValue(autosaveKey(name).get(), items.get(), kCFPreferencesCurrentApplication); 70 RetainPtr<CFArrayRef> items(AdoptCF, reinterpret_cast<CFArrayRef>(CFPreferencesCopyAppValue(autosaveKey(name).get(), kCFPreferencesCurrentApplication))); 72 if (!items || CFGetTypeID(items.get()) != CFArrayGetTypeID()) 75 size_t size = CFArrayGetCount(items.get()); 77 CFStringRef item = (CFStringRef)CFArrayGetValueAtIndex(items.get(), i);
|
/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/WebKit/chromium/public/ |
WebPopupMenuInfo.h | 45 WebVector<WebMenuItemInfo> items; member in struct:WebKit::WebPopupMenuInfo
|
/external/webkit/WebCore/platform/mac/ |
SearchPopupMenuMac.mm | 51 NSMutableArray* items = [[NSMutableArray alloc] initWithCapacity:size]; 53 [items addObject:searchItems[i]]; 54 [[NSUserDefaults standardUserDefaults] setObject:items forKey:autosaveKey(name)]; 55 [items release]; 65 NSArray* items = [[NSUserDefaults standardUserDefaults] arrayForKey:autosaveKey(name)]; 66 size_t size = [items count]; 68 NSString* item = [items objectAtIndex:i];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
FrameworkResourceRepository.java | 53 List<ResourceItem> items = mResourcesMap.get(type); local 55 if (items != null) { 56 return items.toArray(new ResourceItem[items.size()]); 65 List<ResourceItem> items = mResourcesMap.get(type); local 67 return (items != null && items.size() > 0);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ArrayBlockingQueue.java | 57 * even for the items array, which is default-serialized, even if 63 /** The queued items */ 64 private final E[] items; field in class:ArrayBlockingQueue 65 /** items index for next take, poll or remove */ 67 /** items index for next put, offer, or add. */ 69 /** Number of items in the queue */ 90 return (++i == items.length)? 0 : i; 98 items[putIndex] = x; 109 final E[] items = this.items; local 123 final E[] items = this.items; local 251 final E[] items = this.items; local 484 final E[] items = this.items; local 538 final E[] items = this.items; local 577 final E[] items = this.items; local 607 final E[] items = this.items; local [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...] |
/external/clearsilver/util/ |
ulist.c | 37 new_items = (void **) realloc ((void *)(ul->items), new_size * sizeof(void *)); 43 ul->items = new_items; 66 r_ul->items = (void **) calloc (size, sizeof(void *)); 67 if (r_ul->items == NULL) 115 ul->items[ul->num] = data; 126 *data = ul->items[ul->num - 1]; 148 start = &(ul->items[x]); 150 ul->items[x] = data; 168 *data = ul->items[x]; 170 start = &(ul->items[x]) [all...] |
/external/webkit/WebCore/platform/graphics/gtk/ |
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);
|
/external/bluetooth/glib/glib/ |
gcompletion.h | 51 GList* items; member in struct:_GCompletion 61 GList* items); 63 GList* items);
|
/external/webkit/WebCore/dom/ |
SelectElement.cpp | 100 const Vector<Element*>& items = data.listItems(element); local 101 for (unsigned i = 0; i < items.size(); ++i) { 102 OptionElement* optionElement = toOptionElement(items[i]); 109 const Vector<Element*>& items = data.listItems(element); local 111 while (index >= 0 && (unsigned) index < items.size() && (!isOptionElement(items[index]) || items[index]->disabled())) 113 if ((unsigned) index == items.size()) 120 const Vector<Element*>& items = data.listItems(element); local 122 startIndex = items.size() 139 const Vector<Element*>& items = data.listItems(element); local 160 const Vector<Element*>& items = data.listItems(element); local 182 const Vector<Element*>& items = data.listItems(element); local 302 const Vector<Element*>& items = data.listItems(element); local 316 const Vector<Element*>& items = data.listItems(element); local 360 const Vector<Element*>& items = data.listItems(element); local 379 const Vector<Element*>& items = data.listItems(element); local 409 const Vector<Element*>& items = data.listItems(element); local 421 const Vector<Element*>& items = data.listItems(element); local 440 const Vector<Element*>& items = data.listItems(element); local 468 const Vector<Element*>& items = data.listItems(element); local 501 const Vector<Element*>& items = data.listItems(element); local 817 const Vector<Element*>& items = data.listItems(element); local 872 const Vector<Element*>& items = data.listItems(element); local 919 const Vector<Element*>& items = data.listItems(element); local 936 const Vector<Element*>& items = data.listItems(element); local 962 const Vector<Element*>& items = m_listItems; local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebug.java | 80 // items is the list of items to display in the list. 81 List<Map<String, String>> items = new ArrayList<Map<String, String>>(); local 88 addItem(items, mActivity.getString(R.string.calendar_info_error), ""); 128 addItem(items, displayName, text); 134 addItem(items, mActivity.getString(R.string.calendar_info_error), e.toString()); 141 if (items.size() == 0) { 142 addItem(items, mActivity.getString(R.string.calendar_info_no_calendars), ""); 144 return items; 150 * @param items The info items to display [all...] |
/external/webkit/WebCore/bindings/js/ |
JSInspectorFrontendHostCustom.cpp | 60 Vector<ContextMenuItem*> items; local 67 items.append(new ContextMenuItem(SeparatorType, ContextMenuItemTagNoAction, String())); 70 items.append(new ContextMenuItem(ActionType, typedId, label.toString(execState))); 74 impl()->showContextMenu(event, items);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
ListValueCellEditor.java | 51 String[] items = uiListAttribute.getPossibleValues(null); local 52 mItems = new String[items.length]; 53 System.arraycopy(items, 0, mItems, 0, items.length);
|
/external/chromium/third_party/zlib/ |
zutil.c | 218 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) 221 ulg bsize = (ulg)items*size; 277 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) 280 return _halloc((long)items, size); 298 extern voidp calloc OF((uInt items, uInt size)); 302 voidpf zcalloc (opaque, items, size) 304 unsigned items; 307 if (opaque) items += size - size; /* make compiler happy */ 308 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : 309 (voidpf)calloc(items, size) [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
zutil.c | 216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) 219 ulg bsize = (ulg)items*size; 275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) 278 return _halloc((long)items, size); 296 extern voidp calloc OF((uInt items, uInt size)); 300 voidpf zcalloc (opaque, items, size) 302 unsigned items; 305 if (opaque) items += size - size; /* make compiler happy */ 306 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : 307 (voidpf)calloc(items, size) [all...] |
/libcore/luni/src/main/java/java/security/ |
BasicPermissionCollection.java | 49 private transient Map<String, Permission> items = new HashMap<String, Permission>(); field in class:BasicPermissionCollection 90 items.put(name, permission); 99 return Collections.enumeration(items.values()); 121 if (items.containsKey(checkName)) { 137 if (items.containsKey(new String(name, 0, pos + 2))) { 168 fields.put("permissions", new Hashtable<String, Permission>(items)); 181 items = new HashMap<String, Permission>(); 184 items.putAll((Hashtable<String, Permission>) fields.get( 186 for (Iterator<Permission> iter = items.values().iterator(); iter.hasNext();) { 192 if (allEnabled && !items.containsKey("*")) [all...] |
/external/webkit/WebCore/inspector/ |
InspectorFrontendHost.h | 79 void showContextMenu(Event*, const Vector<ContextMenuItem*>& items); 84 static PassRefPtr<MenuProvider> create(InspectorFrontendHost* frontendHost, const Vector<ContextMenuItem*>& items) 86 return adoptRef(new MenuProvider(frontendHost, items)); 120 MenuProvider(InspectorFrontendHost* frontendHost, const Vector<ContextMenuItem*>& items) 122 , m_items(items) { }
|