Home
last modified time | relevance | path

Searched refs:newItem (Results 1 – 13 of 13) sorted by relevance

/external/chromium/third_party/icu/source/common/
Dulist.c33 static void ulist_addFirstItem(UList *list, UListNode *newItem);
61 static void ulist_addFirstItem(UList *list, UListNode *newItem) { in ulist_addFirstItem() argument
62 newItem->next = NULL; in ulist_addFirstItem()
63 newItem->previous = NULL; in ulist_addFirstItem()
64 list->head = newItem; in ulist_addFirstItem()
65 list->tail = newItem; in ulist_addFirstItem()
70 UListNode *newItem = NULL; in ulist_addItemEndList() local
76 newItem = (UListNode *)uprv_malloc(sizeof(UListNode)); in ulist_addItemEndList()
77 if (newItem == NULL) { in ulist_addItemEndList()
81 newItem->data = (void *)(data); in ulist_addItemEndList()
[all …]
/external/icu4c/common/
Dulist.c33 static void ulist_addFirstItem(UList *list, UListNode *newItem);
61 static void ulist_addFirstItem(UList *list, UListNode *newItem) { in ulist_addFirstItem() argument
62 newItem->next = NULL; in ulist_addFirstItem()
63 newItem->previous = NULL; in ulist_addFirstItem()
64 list->head = newItem; in ulist_addFirstItem()
65 list->tail = newItem; in ulist_addFirstItem()
70 UListNode *newItem = NULL; in ulist_addItemEndList() local
76 newItem = (UListNode *)uprv_malloc(sizeof(UListNode)); in ulist_addItemEndList()
77 if (newItem == NULL) { in ulist_addItemEndList()
81 newItem->data = (void *)(data); in ulist_addItemEndList()
[all …]
/external/webkit/WebCore/svg/
DSVGList.h61 Item initialize(Item newItem, ExceptionCode& ec) in initialize() argument
63 if (TypeOperations::isNull(newItem)) { in initialize()
68 return appendItem(newItem, ec); in initialize()
103 Item insertItemBefore(Item newItem, unsigned int index, ExceptionCode& ec) in insertItemBefore() argument
105 if (TypeOperations::isNull(newItem)) { in insertItemBefore()
111 m_vector.insert(index, newItem); in insertItemBefore()
113 m_vector.append(newItem); in insertItemBefore()
115 return newItem; in insertItemBefore()
118 Item replaceItem(Item newItem, unsigned int index, ExceptionCode& ec) in replaceItem() argument
125 if (TypeOperations::isNull(newItem)) { in replaceItem()
[all …]
DSVGPathSegList.idl34 [JSCCustom] SVGPathSeg initialize(in SVGPathSeg newItem)
38 [JSCCustom] SVGPathSeg insertItemBefore(in SVGPathSeg newItem, in unsigned long index)
40 [JSCCustom] SVGPathSeg replaceItem(in SVGPathSeg newItem, in unsigned long index)
44 [JSCCustom] SVGPathSeg appendItem(in SVGPathSeg newItem)
/external/webkit/WebCore/bindings/js/
DJSSVGPathSegListCustom.cpp55 SVGPathSeg* newItem = toSVGPathSeg(args.at(0)); in initialize() local
59 SVGPathSeg* obj = WTF::getPtr(list->initialize(newItem, ec)); in initialize()
92 SVGPathSeg* newItem = toSVGPathSeg(args.at(0)); in insertItemBefore() local
104 …JSValue result = toJS(exec, globalObject(), WTF::getPtr(list->insertItemBefore(newItem, index, ec)… in insertItemBefore()
114 SVGPathSeg* newItem = toSVGPathSeg(args.at(0)); in replaceItem() local
126 …JSValue result = toJS(exec, globalObject(), WTF::getPtr(list->replaceItem(newItem, index, ec)), co… in replaceItem()
159 SVGPathSeg* newItem = toSVGPathSeg(args.at(0)); in appendItem() local
164 … JSValue result = toJS(exec, globalObject(), WTF::getPtr(list->appendItem(newItem, ec)), context); in appendItem()
/external/webkit/WebKit/android/jni/
DWebHistory.cpp169 RefPtr<WebCore::HistoryItem> newItem = WebCore::HistoryItem::create(); in WebHistoryInflate() local
170 RefPtr<WebHistoryItem> bridge = new WebHistoryItem(env, obj, newItem.get()); in WebHistoryInflate()
171 newItem->setBridge(bridge.get()); in WebHistoryInflate()
180 read_item_recursive(newItem.get(), &ptr, (int)size); in WebHistoryInflate()
186 pFrame->page()->backForwardList()->addItem(newItem); in WebHistoryInflate()
189 bridge->updateHistoryItem(newItem.get()); in WebHistoryInflate()
331 jobject newItem = env->NewObject(clazz, gWebHistoryItem.mInit); in AddItem() local
334 WebHistoryItem* bridge = new WebHistoryItem(env, newItem, item); in AddItem()
343 env->CallVoidMethod(list.get(), gWebBackForwardList.mAddHistoryItem, newItem); in AddItem()
346 env->DeleteLocalRef(newItem); in AddItem()
[all …]
/external/webkit/WebCore/history/
DBackForwardList.cpp239 void BackForwardList::pushStateItem(PassRefPtr<HistoryItem> newItem) in pushStateItem() argument
241 ASSERT(newItem); in pushStateItem()
242 ASSERT(newItem->stateObject()); in pushStateItem()
247 addItem(newItem); in pushStateItem()
DBackForwardListChromium.cpp124 void BackForwardList::pushStateItem(PassRefPtr<HistoryItem> newItem) in pushStateItem() argument
128 addItem(newItem); in pushStateItem()
/external/oprofile/libpopt/
Dpopt.c1125 int poptAddItem(poptContext con, poptItem newItem, int flags) in poptAddItem() argument
1151 (newItem->option.longName ? xstrdup(newItem->option.longName) : NULL); in poptAddItem()
1152 item->option.shortName = newItem->option.shortName; in poptAddItem()
1153 item->option.argInfo = newItem->option.argInfo; in poptAddItem()
1154 item->option.arg = newItem->option.arg; in poptAddItem()
1155 item->option.val = newItem->option.val; in poptAddItem()
1157 (newItem->option.descrip ? xstrdup(newItem->option.descrip) : NULL); in poptAddItem()
1159 (newItem->option.argDescrip ? xstrdup(newItem->option.argDescrip) : NULL); in poptAddItem()
1160 item->argc = newItem->argc; in poptAddItem()
1161 item->argv = newItem->argv; in poptAddItem()
Dpopt.h348 int poptAddItem(poptContext con, poptItem newItem, int flags)
/external/oprofile/
Dpopt.h348 int poptAddItem(poptContext con, poptItem newItem, int flags)
/external/webkit/WebKit/win/
DWebView.cpp5041 RefPtr<HistoryItem> newItem = otherBackForwardList->itemAtIndex(i)->copy(); in loadBackForwardListFromOtherView() local
5043 newItemToGoTo = newItem.get(); in loadBackForwardListFromOtherView()
5044 backForwardList->addItem(newItem.release()); in loadBackForwardListFromOtherView()
/external/webkit/WebKit/mac/WebView/
DWebView.mm1203 RefPtr<HistoryItem> newItem = otherBackForwardList->itemAtIndex(i)->copy();
1205 newItemToGoTo = newItem.get();
1206 backForwardList->addItem(newItem.release());