/external/bluetooth/glib/tests/ |
D | completion-test.c | 33 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/ |
D | reflist.c | 22 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/webkit/LayoutTests/http/tests/appcache/ |
D | dynamic-entries-no-cache-expected.txt | 3 PASS: applicationCache.items.length is 0 4 PASS: applicationCache.items.item(0) is null 5 PASS: applicationCache.items.item(1) is null 6 PASS: applicationCache.items.item(0xffffffff) is null 7 PASS: applicationCache.items.item(0xfffffffe) is null 8 PASS: applicationCache.items.item(-1) is null 9 PASS: applicationCache.items.item(-2) is null 10 PASS: applicationCache.items[0xfffffffe] is undefined 11 PASS: applicationCache.items[0xffffffff] is undefined 12 PASS: applicationCache.items['0'] is undefined [all …]
|
D | dynamic-entries-no-cache.html-disabled | 54 shouldBe("applicationCache.items.length", "0"); 55 shouldBe("applicationCache.items.item(0)", "null"); 56 shouldBe("applicationCache.items.item(1)", "null"); 57 shouldBe("applicationCache.items.item(0xffffffff)", "null"); 58 shouldBe("applicationCache.items.item(0xfffffffe)", "null"); 59 shouldBe("applicationCache.items.item(-1)", "null"); 60 shouldBe("applicationCache.items.item(-2)", "null"); 62 shouldBe("applicationCache.items[0xfffffffe]", "undefined"); 63 shouldBe("applicationCache.items[0xffffffff]", "undefined"); 66 shouldBe("applicationCache.items['0']", "undefined"); [all …]
|
/external/webkit/WebCore/dom/ |
D | SelectElement.cpp | 100 const Vector<Element*>& items = data.listItems(element); in saveLastSelection() local 101 for (unsigned i = 0; i < items.size(); ++i) { in saveLastSelection() 102 OptionElement* optionElement = toOptionElement(items[i]); in saveLastSelection() 109 const Vector<Element*>& items = data.listItems(element); in nextSelectableListIndex() local 111 …while (index >= 0 && (unsigned) index < items.size() && (!isOptionElement(items[index]) || items[i… in nextSelectableListIndex() 113 if ((unsigned) index == items.size()) in nextSelectableListIndex() 120 const Vector<Element*>& items = data.listItems(element); in previousSelectableListIndex() local 122 startIndex = items.size(); in previousSelectableListIndex() 124 …while (index >= 0 && (unsigned) index < items.size() && (!isOptionElement(items[index]) || items[i… in previousSelectableListIndex() 139 const Vector<Element*>& items = data.listItems(element); in setActiveSelectionAnchorIndex() local [all …]
|
/external/clearsilver/util/ |
D | ulist.c | 37 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/openssl/crypto/pqueue/ |
D | pqueue.c | 66 pitem *items; member 115 if (pq->items == NULL) in pqueue_insert() 117 pq->items = item; in pqueue_insert() 121 for(curr = NULL, next = pq->items; in pqueue_insert() 133 pq->items = item; in pqueue_insert() 153 return pq->items; in pqueue_peek() 159 pitem *item = pq->items; in pqueue_pop() 161 if (pq->items != NULL) in pqueue_pop() 162 pq->items = pq->items->next; in pqueue_pop() 173 if ( pq->items == NULL) in pqueue_find() [all …]
|
/external/chromium/third_party/icu/source/tools/toolutil/ |
D | package.cpp | 414 if(items[idx].isDataOwned) { in ~Package() 415 free(items[idx].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/icu4c/tools/toolutil/ |
D | package.cpp | 419 if(items[idx].isDataOwned) { in ~Package() 420 free(items[idx].data); in ~Package() 548 memset(items, 0, itemCount*sizeof(Item)); in readPackage() 588 items[i].name=s+prefixLength; in readPackage() 591 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); in readPackage() 593 items[i-1].length=(int32_t)(items[i].data-items[i-1].data); in readPackage() 596 typeEnum=getTypeEnumForInputData(items[i-1].data, items[i-1].length, &errorCode); in readPackage() 598 …fprintf(stderr, "icupkg: not an ICU data file: item \"%s\" in \"%s\"\n", items[i-1].name, filename… in readPackage() 601 items[i-1].type=makeTypeLetter(typeEnum); in readPackage() 603 items[i].isDataOwned=FALSE; in readPackage() [all …]
|
/external/quake/quake/src/QW/progs/ |
D | items.qc | 10 sound (self, CHAN_VOICE, "items/itembk2.wav", 1, ATTN_NORM); // play respawn sound 45 other.items = other.items | IT_QUAD; 87 item.noise = "items/damage.wav"; 115 other.items = other.items | IT_INVISIBILITY; 147 item.noise = "items/inv1.wav"; 193 self.nextthink = time + 0.2; // items start after other solids 247 precache_sound("items/r_item1.wav"); 249 self.noise = "items/r_item1.wav"; 257 precache_sound("items/r_item2.wav"); 259 self.noise = "items/r_item2.wav"; [all …]
|
D | client.qc | 44 // remove items 45 self.items = self.items - (self.items & 53 parm1 = self.items; 88 self.items = parm1; 531 self.items = self.items | IT_NAILGUN; 532 self.items = self.items | IT_SUPER_NAILGUN; 533 self.items = self.items | IT_SUPER_SHOTGUN; 534 self.items = self.items | IT_ROCKET_LAUNCHER; 535 // self.items = self.items | IT_GRENADE_LAUNCHER; 536 self.items = self.items | IT_LIGHTNING; [all …]
|
D | files.dat | 2 1 items/r_item1.wav 3 1 items/r_item2.wav 4 1 items/health1.wav 8 1 items/protect.wav 9 1 items/protect2.wav 10 1 items/protect3.wav 11 1 items/suit.wav 12 1 items/suit2.wav 13 1 items/inv1.wav 14 1 items/inv2.wav [all …]
|
/external/webkit/WebCore/platform/win/ |
D | SearchPopupMenuWin.cpp | 49 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/webkit/WebKit/qt/Api/ |
D | qwebhistory.cpp | 286 QList<QWebHistoryItem> QWebHistory::items() const in items() function in QWebHistory 288 const WebCore::HistoryItemVector &items = d->lst->entries(); in items() local 291 for (unsigned i = 0; i < items.size(); ++i) { in items() 292 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get()); in items() 306 WebCore::HistoryItemVector items(maxItems); in backItems() local 307 d->lst->backListWithLimit(maxItems, items); in backItems() 310 for (unsigned i = 0; i < items.size(); ++i) { in backItems() 311 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get()); in backItems() 325 WebCore::HistoryItemVector items(maxItems); in forwardItems() local 326 d->lst->forwardListWithLimit(maxItems, items); in forwardItems() [all …]
|
/external/webkit/WebKit/win/ |
D | MarshallingHelpers.cpp | 233 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/chromium/third_party/zlib/ |
D | zutil.c | 218 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 221 ulg bsize = (ulg)items*size; in zcalloc() 277 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 280 return _halloc((long)items, size); in zcalloc() 298 extern voidp calloc OF((uInt items, uInt size)); 302 voidpf zcalloc (opaque, items, size) in zcalloc() argument 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);
|
/external/qemu/distrib/zlib-1.2.3/ |
D | zutil.c | 216 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/wml/ |
D | WMLSelectElement.cpp | 337 const Vector<Element*>& items = m_data.listItems(this); in initializeVariables() local 338 if (items.isEmpty()) in initializeVariables() 366 ASSERT(listIndex < (int) items.size()); in initializeVariables() 368 if (OptionElement* optionElement = toOptionElement(items[listIndex])) in initializeVariables() 387 const Vector<Element*>& items = m_data.listItems(this); in updateVariables() local 389 for (unsigned i = 0; i < items.size(); ++i) { in updateVariables() 390 OptionElement* optionElement = toOptionElement(items[i]); in updateVariables() 450 const Vector<Element*>& items = m_data.listItems(this); in valueStringToOptionIndices() local 451 if (items.isEmpty()) in valueStringToOptionIndices() 463 for (unsigned i = 0; i < items.size(); ++i) { in valueStringToOptionIndices() [all …]
|
/external/zlib/ |
D | zutil.c | 216 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 219 ulg bsize = (ulg)items*size; in zcalloc() 275 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) in zcalloc() argument 278 return _halloc((long)items, size); in zcalloc() 296 extern voidp calloc OF((uInt items, uInt size)); 300 voidpf ZLIB_INTERNAL 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/quake/quake/src/WinQuake/ |
D | sbar.cpp | 568 if (cl.items & (IT_SHOTGUN<<i) ) in Sbar_DrawInventory() 596 if (cl.items & (1<<hipweapons[i]) ) in Sbar_DrawInventory() 613 if (cl.items & HIT_PROXIMITY_GUN) in Sbar_DrawInventory() 624 if (cl.items & (IT_SHOTGUN<<4)) in Sbar_DrawInventory() 676 if (cl.items & (1<<(17+i))) in Sbar_DrawInventory() 699 if (cl.items & (1<<(24+i))) in Sbar_DrawInventory() 720 if (cl.items & (1<<(29+i))) in Sbar_DrawInventory() 743 if (cl.items & (1<<(28+i))) in Sbar_DrawInventory() 884 if ( (cl.items & (IT_INVISIBILITY | IT_INVULNERABILITY) ) in Sbar_DrawFace() 890 if (cl.items & IT_QUAD) in Sbar_DrawFace() [all …]
|
/external/webkit/WebCore/html/ |
D | HTMLSelectElement.cpp | 136 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() 412 const Vector<Element*>& items = listItems(); in setLength() local 415 for (size_t listIndex = 0; listIndex < items.size(); listIndex++) { in setLength() [all …]
|
/external/webkit/WebKit/gtk/webkit/ |
D | webkitwebbackforwardlist.cpp | 73 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/v8/test/mjsunit/ |
D | instanceof.js | 63 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/bindings/v8/custom/ |
D | V8HTMLSelectElementCustom.cpp | 64 Vector<RefPtr<Node> > items; in namedPropertyGetter() local 65 collection->namedItems(v8StringToAtomicWebCoreString(name), items); in namedPropertyGetter() 67 if (!items.size()) in namedPropertyGetter() 70 if (items.size() == 1) in namedPropertyGetter() 71 return toV8(items.at(0).release()); in namedPropertyGetter() 73 NodeList* list = new V8NamedNodesCollection(items); in namedPropertyGetter()
|
/external/webkit/WebCore/platform/mac/ |
D | 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];
|