Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/external/bluetooth/glib/tests/
Dcompletion-test.c33 GList *items; in main() local
38 items = NULL; in main()
39 items = g_list_append (items, "a\302\243"); in main()
40 items = g_list_append (items, "a\302\244"); in main()
41 items = g_list_append (items, "bb"); in main()
42 items = g_list_append (items, "bc"); in main()
43 g_completion_add_items (cmp, items); in main()
45 items = g_completion_complete (cmp, "a", &prefix); in main()
47 g_assert (g_list_length (items) == 2); in main()
50 items = g_completion_complete_utf8 (cmp, "a", &prefix); in main()
[all …]
/external/qemu/android/utils/
Dreflist.c22 void** items = areflist_items(l); in areflist_setEmpty() local
23 memset(items, 0, l->count*sizeof(items[0])); in areflist_setEmpty()
28 free(l->u.items); in areflist_setEmpty()
39 void** items = (l->max == 1) ? &l->u.item0 : l->u.items; in areflist_indexOf() local
40 void** end = items + l->count; in areflist_indexOf()
41 void** ii = items; in areflist_indexOf()
45 return (ii - items); in areflist_indexOf()
57 void** olditems = l->max == 1 ? NULL : l->u.items; in areflist_grow()
65 l->u.items = newitems; in areflist_grow()
75 void** items; in areflist_add() local
[all …]
/external/clearsilver/util/
Dulist.c37 new_items = (void **) realloc ((void *)(ul->items), new_size * sizeof(void *)); in check_resize()
43 ul->items = new_items; in check_resize()
66 r_ul->items = (void **) calloc (size, sizeof(void *)); in uListInit()
67 if (r_ul->items == NULL) in uListInit()
115 ul->items[ul->num] = data; in uListAppend()
126 *data = ul->items[ul->num - 1]; in uListPop()
148 start = &(ul->items[x]); in uListInsert()
150 ul->items[x] = data; in uListInsert()
168 *data = ul->items[x]; in uListDelete()
170 start = &(ul->items[x]); in uListDelete()
[all …]
/external/webkit/WebCore/dom/
DSelectElement.cpp99 const Vector<Element*>& items = data.listItems(element); in saveLastSelection() local
100 for (unsigned i = 0; i < items.size(); ++i) { in saveLastSelection()
101 OptionElement* optionElement = toOptionElement(items[i]); in saveLastSelection()
108 const Vector<Element*>& items = data.listItems(element); in nextSelectableListIndex() local
110 …while (index >= 0 && (unsigned) index < items.size() && (!isOptionElement(items[index]) || items[i… in nextSelectableListIndex()
112 if ((unsigned) index == items.size()) in nextSelectableListIndex()
119 const Vector<Element*>& items = data.listItems(element); in previousSelectableListIndex() local
121 startIndex = items.size(); in previousSelectableListIndex()
123 …while (index >= 0 && (unsigned) index < items.size() && (!isOptionElement(items[index]) || items[i… in previousSelectableListIndex()
138 const Vector<Element*>& items = data.listItems(element); in setActiveSelectionAnchorIndex() local
[all …]
/external/openssl/crypto/pqueue/
Dpqueue.c66 pitem *items; member
117 if (pq->items == NULL) in pqueue_insert()
119 pq->items = item; in pqueue_insert()
123 for(curr = NULL, next = pq->items; in pqueue_insert()
132 pq->items = item; in pqueue_insert()
152 return pq->items; in pqueue_peek()
158 pitem *item = pq->items; in pqueue_pop()
160 if (pq->items != NULL) in pqueue_pop()
161 pq->items = pq->items->next; in pqueue_pop()
172 if ( pq->items == NULL) in pqueue_find()
[all …]
/external/tesseract/java/com/google/scrollview/ui/
DSVMenuBar.java35 private HashMap<String, SVAbstractMenuItem> items; field in SVMenuBar
47 items = new HashMap<String, SVAbstractMenuItem>(); in SVMenuBar()
58 SVAbstractMenuItem svm = items.get(e.getActionCommand()); in actionPerformed()
75 if (items.get(name) != null) { return; } in add()
80 items.put(name, mli); in add()
85 SVAbstractMenuItem jmi = items.get(parent); in add()
88 items.put(name, mli); in add()
93 SVAbstractMenuItem jmi = items.get(parent); in add()
100 items.put(name, mli); in add()
119 SVAbstractMenuItem jmi = items.get(parent); in add()
[all …]
DSVPopupMenu.java38 private HashMap<String, SVAbstractMenuItem> items; field in SVPopupMenu
50 items = new HashMap<String, SVAbstractMenuItem>(); in SVPopupMenu()
66 if (items.get(name) != null) { return; } in add()
71 items.put(name, mli); in add()
76 SVAbstractMenuItem jmi = items.get(parent); in add()
79 items.put(name, mli); in add()
84 SVAbstractMenuItem jmi = items.get(parent); in add()
91 items.put(name, mli); in add()
110 SVAbstractMenuItem jmi = items.get(parent); in add()
113 items.put(name, mli); in add()
[all …]
/external/webkit/WebCore/platform/win/
DSearchPopupMenuWin.cpp49 RetainPtr<CFMutableArrayRef> items; in saveRecentSearches() local
53 items.adoptCF(CFArrayCreateMutable(0, size, &kCFTypeArrayCallBacks)); in saveRecentSearches()
56 CFArrayAppendValue(items.get(), item.get()); in saveRecentSearches()
60 … CFPreferencesSetAppValue(autosaveKey(name).get(), items.get(), kCFPreferencesCurrentApplication); in saveRecentSearches()
70 …RetainPtr<CFArrayRef> items(AdoptCF, reinterpret_cast<CFArrayRef>(CFPreferencesCopyAppValue(autosa… in loadRecentSearches() local
72 if (!items || CFGetTypeID(items.get()) != CFArrayGetTypeID()) in loadRecentSearches()
75 size_t size = CFArrayGetCount(items.get()); in loadRecentSearches()
77 CFStringRef item = (CFStringRef)CFArrayGetValueAtIndex(items.get(), i); in loadRecentSearches()
/external/icu4c/tools/toolutil/
Dpackage.cpp414 if(items[index].isDataOwned) { in ~Package()
415 free(items[index].data); in ~Package()
543 memset(items, 0, itemCount*sizeof(Item)); in readPackage()
583 items[i].name=s+prefixLength; in readPackage()
586 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); in readPackage()
588 items[i-1].length=(int32_t)(items[i].data-items[i-1].data); in readPackage()
591 typeEnum=getTypeEnumForInputData(items[i-1].data, items[i-1].length, &errorCode); in readPackage()
593 …fprintf(stderr, "icupkg: not an ICU data file: item \"%s\" in \"%s\"\n", items[i-1].name, filename… in readPackage()
596 items[i-1].type=makeTypeLetter(typeEnum); in readPackage()
598 items[i].isDataOwned=FALSE; in readPackage()
[all …]
/external/webkit/WebKit/win/
DMarshallingHelpers.cpp233 CFStringRef* items = 0; in safeArrayToStringArray() local
235 items = new CFStringRef[len]; in safeArrayToStringArray()
239 items[lBound] = BSTRToCFStringRef(str); in safeArrayToStringArray()
243 CFArrayRef result = CFArrayCreate(0, (const void**)items, len, &kCFTypeArrayCallBacks); in safeArrayToStringArray()
244 if (items) in safeArrayToStringArray()
245 delete[] items; in safeArrayToStringArray()
256 CFNumberRef* items = 0; in safeArrayToIntArray() local
258 items = new CFNumberRef[len]; in safeArrayToIntArray()
262 items[lBound] = intToCFNumberRef(num); in safeArrayToIntArray()
265 CFArrayRef result = CFArrayCreate(0, (const void**) items, len, &kCFTypeArrayCallBacks); in safeArrayToIntArray()
[all …]
/external/webkit/WebKit/qt/Api/
Dqwebhistory.cpp265 QList<QWebHistoryItem> QWebHistory::items() const in items() function in QWebHistory
267 const WebCore::HistoryItemVector &items = d->lst->entries(); in items() local
270 for (int i = 0; i < items.size(); ++i) { in items()
271 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get()); in items()
285 WebCore::HistoryItemVector items(maxItems); in backItems() local
286 d->lst->backListWithLimit(maxItems, items); in backItems()
289 for (int i = 0; i < items.size(); ++i) { in backItems()
290 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get()); in backItems()
304 WebCore::HistoryItemVector items(maxItems); in forwardItems() local
305 d->lst->forwardListWithLimit(maxItems, items); in forwardItems()
[all …]
/external/qemu/distrib/zlib-1.2.3/
Dzutil.c216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
219 ulg bsize = (ulg)items*size; in zcalloc()
275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
278 return _halloc((long)items, size); in zcalloc()
296 extern voidp calloc OF((uInt items, uInt size));
300 voidpf zcalloc (opaque, items, size) in zcalloc() argument
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);
/external/webkit/WebCore/platform/image-decoders/zlib/
Dzutil.c216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
219 ulg bsize = (ulg)items*size; in zcalloc()
275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
278 return _halloc((long)items, size); in zcalloc()
296 extern voidp calloc OF((uInt items, uInt size));
300 voidpf zcalloc (opaque, items, size) in zcalloc() argument
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);
/external/zlib/
Dzutil.c216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
219 ulg bsize = (ulg)items*size; in zcalloc()
275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
278 return _halloc((long)items, size); in zcalloc()
296 extern voidp calloc OF((uInt items, uInt size));
300 voidpf zcalloc (opaque, items, size) in zcalloc() argument
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);
/external/webkit/WebCore/bindings/v8/custom/
DV8HTMLSelectElementCollectionCustom.cpp58 Vector<RefPtr<Node> > items; in NAMED_PROPERTY_GETTER() local
59 collection->namedItems(v8StringToAtomicWebCoreString(name), items); in NAMED_PROPERTY_GETTER()
61 if (!items.size()) in NAMED_PROPERTY_GETTER()
64 if (items.size() == 1) in NAMED_PROPERTY_GETTER()
65 return V8DOMWrapper::convertNodeToV8Object(items.at(0).release()); in NAMED_PROPERTY_GETTER()
67 NodeList* list = new V8NamedNodesCollection(items); in NAMED_PROPERTY_GETTER()
/external/webkit/WebCore/wml/
DWMLSelectElement.cpp334 const Vector<Element*>& items = m_data.listItems(this); in initializeVariables() local
335 if (items.isEmpty()) in initializeVariables()
363 ASSERT(listIndex < (int) items.size()); in initializeVariables()
365 if (OptionElement* optionElement = toOptionElement(items[listIndex])) in initializeVariables()
384 const Vector<Element*>& items = m_data.listItems(this); in updateVariables() local
386 for (unsigned i = 0; i < items.size(); ++i) { in updateVariables()
387 OptionElement* optionElement = toOptionElement(items[i]); in updateVariables()
447 const Vector<Element*>& items = m_data.listItems(this); in valueStringToOptionIndices() local
448 if (items.isEmpty()) in valueStringToOptionIndices()
460 for (unsigned i = 0; i < items.size(); ++i) { in valueStringToOptionIndices()
[all …]
/external/webkit/WebCore/html/
DHTMLSelectElement.cpp136 const Vector<Element*>& items = listItems(); in value() local
137 for (unsigned i = 0; i < items.size(); i++) { in value()
138 … if (items[i]->hasLocalName(optionTag) && static_cast<HTMLOptionElement*>(items[i])->selected()) in value()
139 return static_cast<HTMLOptionElement*>(items[i])->value(); in value()
150 const Vector<Element*>& items = listItems(); in setValue() local
152 for (unsigned i = 0; i < items.size(); i++) { in setValue()
153 if (items[i]->hasLocalName(optionTag)) { in setValue()
154 if (static_cast<HTMLOptionElement*>(items[i])->value() == value) { in setValue()
406 const Vector<Element*>& items = listItems(); in setLength() local
409 for (size_t listIndex = 0; listIndex < items.size(); listIndex++) { in setLength()
[all …]
/external/webkit/WebKit/gtk/webkit/
Dwebkitwebbackforwardlist.cpp73 WebCore::HistoryItemVector items = backForwardList->entries(); in webkit_web_back_forward_list_dispose() local
75 for (unsigned i = 0; i < items.size(); i++) in webkit_web_back_forward_list_dispose()
76 g_hash_table_remove(table, items[i].get()); in webkit_web_back_forward_list_dispose()
210 WebCore::HistoryItemVector items; in webkit_web_back_forward_list_get_forward_list_with_limit() local
213 backForwardList->forwardListWithLimit(limit, items); in webkit_web_back_forward_list_get_forward_list_with_limit()
215 for (unsigned i = 0; i < items.size(); i++) { in webkit_web_back_forward_list_get_forward_list_with_limit()
216 WebKitWebHistoryItem* webHistoryItem = kit(items[i]); in webkit_web_back_forward_list_get_forward_list_with_limit()
240 WebCore::HistoryItemVector items; in webkit_web_back_forward_list_get_back_list_with_limit() local
243 backForwardList->backListWithLimit(limit, items); in webkit_web_back_forward_list_get_back_list_with_limit()
245 for (unsigned i = 0; i < items.size(); i++) { in webkit_web_back_forward_list_get_back_list_with_limit()
[all …]
/external/webkit/V8Binding/v8/test/mjsunit/
Dinstanceof.js63 var items = [ 1, new Number(42),
73 for (var i = 0; i < items.length; i++) {
74 for (var j = 0; j < items.length; j++) {
76 if (items[i] instanceof items[j]) instanceofs++;
/external/webkit/WebCore/platform/mac/
DSearchPopupMenuMac.mm51 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];
/external/webkit/WebCore/platform/graphics/gtk/
DGlyphPageTreeNodePango.cpp48 GList* items = pango_itemize(context, buffer, 0, length, NULL, NULL); in pango_font_get_glyph() local
50 if (g_list_length(items) == 1) { in pango_font_get_glyph()
51 PangoItem* item = reinterpret_cast<PangoItem*>(items->data); in pango_font_get_glyph()
68 g_list_foreach(items, (GFunc)pango_item_free, NULL); in pango_font_get_glyph()
69 g_list_free(items); in pango_font_get_glyph()
/external/webkit/WebKit/qt/tests/qwebhistory/
Dtst_qwebhistory.cpp54 void items();
175 void tst_QWebHistory::items() in items() function in tst_QWebHistory
177 QList<QWebHistoryItem> items = hist->items(); in items() local
179 QCOMPARE(histsize, items.count()); in items()
183 QCOMPARE(items.at(i - 1).title(), QString("page") + QString::number(i)); in items()
210 QList<QWebHistoryItem> items = hist->items(); in serialize_1() local
212 QCOMPARE(items.at(i - 1).title(), QString("page") + QString::number(i)); in serialize_1()
/external/bison/src/
Dstate.c140 res = xmalloc (offsetof (state, items) + items_size); in state_new()
150 memcpy (res->items, core, items_size); in state_new()
269 if (s1->items[i] != s2->items[i]) in state_compare()
288 key += s->items[i]; in state_hash()
345 state *probe = xmalloc (offsetof (state, items) + items_size); in state_hash_lookup()
349 memcpy (probe->items, core, items_size); in state_hash_lookup()
/external/webkit/WebKit/win/Interfaces/
DIWebHistory.idl30 items added. The key for the array is WebHistoryItemsKey.
33 items removed. The key for the array is WebHistoryItemsKey.
108 HRESULT addItems([in] int itemCount, [in] IWebHistoryItem** items);
112 @param items An array of WebHistoryItems to remove from the WebHistory.
113 - (void)removeItems:(NSArray *)items;
115 HRESULT removeItems([in] int itemCount, [in] IWebHistoryItem** items);
126 or more history items, ordered from most recent to oldest.
127 @result Returns an array of NSCalendarDates for which history items exist in the WebHistory.
144 …HRESULT orderedItemsLastVisitedOnDay([in, out] int* count, [in] IWebHistoryItem** items, [in] DATE…
157 @discussion Limits the number of items that will be stored by the WebHistory.
[all …]
/external/dbus/bus/
Dexpirelist.c84 _dbus_assert (list->items == NULL); in bus_expire_list_free()
127 link = _dbus_list_get_first_link (&list->items); in do_expiration_with_current_time()
130 DBusList *next = _dbus_list_get_next_link (&list->items, link); in do_expiration_with_current_time()
179 if (list->items != NULL) in bus_expirelist_expire()
286 if (!_dbus_list_append (&list->items, item)) in bus_expire_list_test()
310 _dbus_list_clear (&list->items); in bus_expire_list_test()

12345678910>>...13