/external/selinux/libsepol/src/ |
D | write.c | 60 size_t items; in ebitmap_write() local 70 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write() 71 if (items != 3) in ebitmap_write() 76 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write() 77 if (items != 1) in ebitmap_write() 80 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write() 81 if (items != 1) in ebitmap_write() 107 size_t items, items2; in avtab_write_item() local 121 items = 1; /* item 0 is used for the item count */ in avtab_write_item() 123 buf32[items++] = cpu_to_le32(val); in avtab_write_item() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
D | set.py | 30 def __init__(self, items=None): argument 37 self.items = [] 38 if not items is None: 39 for item in items: 43 return "dns.simpleset.Set(%s)" % repr(self.items) 47 if not item in self.items: 48 self.items.append(item) 52 self.items.remove(item) 57 self.items.remove(item) 76 obj.items = list(self.items) [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | MonitorBasedArrayBlockingQueue.java | 69 final E[] items; field in MonitorBasedArrayBlockingQueue 97 return (++i == items.length) ? 0 : i; in inc() 105 items[putIndex] = x; in insert() 115 final E[] items = this.items; in extract() local 116 E x = items[takeIndex]; in extract() 117 items[takeIndex] = null; in extract() 128 final E[] items = this.items; in removeAt() local 131 items[takeIndex] = null; in removeAt() 138 items[i] = items[nexti]; in removeAt() 141 items[i] = null; in removeAt() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | UniformListItem.java | 46 private final List<T> items; field in UniformListItem 55 public UniformListItem(ItemType itemType, List<T> items) { in UniformListItem() argument 56 super(getAlignment(items), writeSize(items)); in UniformListItem() 62 this.items = items; in UniformListItem() 74 private static int getAlignment(List<? extends OffsettedItem> items) { in getAlignment() argument 77 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment() 93 private static int writeSize(List<? extends OffsettedItem> items) { in writeSize() argument 98 OffsettedItem first = items.get(0); in writeSize() 99 return (items.size() * first.writeSize()) + getAlignment(items); in writeSize() 114 sb.append(items); in toString() [all …]
|
D | AnnotationSetItem.java | 42 private final AnnotationItem[] items; field in AnnotationSetItem 53 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem() 57 items[at] = new AnnotationItem(a); in AnnotationSetItem() 117 int size = items.length; in addContents() 120 items[i] = byteData.intern(items[i]); in addContents() 128 AnnotationItem.sortByTypeIdIndex(items); in place0() 135 int size = items.length; in writeTo0() 145 AnnotationItem item = items[i]; in writeTo0() 151 items[i].annotateTo(out, " "); in writeTo0()
|
D | MixedItemSection.java | 64 private final ArrayList<OffsettedItem> items; field in MixedItemSection 92 this.items = new ArrayList<OffsettedItem>(100); in MixedItemSection() 100 public Collection<? extends Item> items() { in items() method in MixedItemSection 101 return items; in items() 124 return items.size(); in size() 182 items.add(item); in add() 241 for (OffsettedItem item : items) { in writeIndexAnnotation() 273 int sz = items.size(); in prepare0() 279 OffsettedItem one = items.get(i); in prepare0() 298 Collections.sort(items); in placeItems() [all …]
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
D | test_multidict.py | 14 assert d.items() == [('a', 1)] 18 assert d.items() == [('a', 1), ('b', 2), ('c', 3)] 21 assert d.items() == [('a', 1), ('c', 3), ('b', 4)] 26 assert d.items() == [('a', 1), ('c', 3), ('b', 4), ('b', 5)] 29 assert d.items() == [('a', 1), ('c', 3)] 33 assert d.items() == [('a', 1)] 37 assert d.items() == [('a', 1), ('z', item)] 52 assert d.items() == [('a', 1), ('z', []), ('y', 6), ('x', 'x test'), 83 assert d.items() == [(k('a'), u'a test')] 89 assert d.items() == [(k('a'), u'a test'), (k('b'), u'2 test'), (k('c'), u'3 test')] [all …]
|
/external/autotest/cli/ |
D | topic_common.py | 222 for items in add_on: 225 result.update(__get_items(items, split_spaces=False)) 229 items = getattr(options, self.inline_option) 230 result.update(__get_items(items)) 364 for (errmsg, items) in self.failed[what_failed].iteritems(): 365 if len(items) == 0: 367 elif items == set(['']): 369 elif len(items) == 1: 372 errmsg = errmsg.replace(FAIL_TAG, items.pop()) 374 errmsg = '%s (%s)' % (errmsg, items.pop()) [all …]
|
/external/mesa3d/src/mesa/program/ |
D | prog_cache.c | 47 struct cache_item **items; member 84 struct cache_item **items; in rehash() local 91 items = (struct cache_item**) malloc(size * sizeof(*items)); in rehash() 92 memset(items, 0, size * sizeof(*items)); in rehash() 95 for (c = cache->items[i]; c; c = next) { in rehash() 97 c->next = items[c->hash % size]; in rehash() 98 items[c->hash % size] = c; in rehash() 101 free(cache->items); in rehash() 102 cache->items = items; in rehash() 117 for (c = cache->items[i]; c; c = next) { in clear_cache() [all …]
|
/external/llvm/utils/llvm-build/llvmbuild/ |
D | componentinfo.py | 25 def parse_items(items, has_dependencies = True): argument 27 kwargs['name'] = items.get_string('name') 28 kwargs['parent'] = items.get_optional_string('parent') 30 kwargs['dependencies'] = items.get_list('dependencies') 98 def parse(subpath, items): argument 99 kwargs = ComponentInfo.parse_items(items, has_dependencies = False) 116 def parse_items(items): argument 117 kwargs = ComponentInfo.parse_items(items) 118 kwargs['library_name'] = items.get_optional_string('library_name') 119 kwargs['required_libraries'] = items.get_list('required_libraries') [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Row.java | 21 protected Object[] items; field in Row 42 items = new Object[] {a, b}; in R2() 47 items = new Object[] {a, b, c}; in R3() 52 items = new Object[] {a, b, c, d}; in R4() 57 items = new Object[] {a, b, c, d, e}; in R5() 65 return (C0) items[0]; in get0() 71 return (C1) items[1]; in get1() 77 return (C2) items[2]; in get2() 83 return (C3) items[3]; in get3() 89 return (C4) items[4]; in get4() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Row.java | 17 protected Object[] items; field in Row 38 items = new Object[] {a, b}; in R2() 43 items = new Object[] {a, b, c}; in R3() 48 items = new Object[] {a, b, c, d}; in R4() 53 items = new Object[] {a, b, c, d, e}; in R5() 61 return (C0) items[0]; in get0() 67 return (C1) items[1]; in get1() 73 return (C2) items[2]; in get2() 79 return (C3) items[3]; in get3() 85 return (C4) items[4]; in get4() [all …]
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | letrperf.cpp | 19 long *items = 0; variable 22 long items[ITEM_COUNT]; member 30 Long items[ITEM_COUNT]; member 36 if(items[i]==2) { in time_null() 47 if(obj.items[i]==2) { in time_obj() 55 long *items2 = ((OneObject*)ref)->items; in time_obj2() 75 long *items2 = ((OneObject*)ref)->items; in time_letr1() 77 if(items[i]==2) { in time_letr1() 91 long *items2 = ((OneObject*)ref)->items; in time_letr2() 98 if(items[i]==2) { in time_letr2() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deRandom.cpp | 110 static const int items[] = { 3, 42, 45, 123, 654, -123, -90, 0, 43 }; in Random_selfTest() local 130 rnd.choose(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), &itemsDst[0], numItemsPicked); in Random_selfTest() 139 static const int items[] = { 3, 42, 45, 123, 654, -123, -90, 0, 43 }; in Random_selfTest() local 144 DE_TEST_ASSERT(expected[i] == rnd.choose<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items))); in Random_selfTest() 150 static const int items[] = { 3, 42, 45, 123, 654, -123, -90, 0 }; in Random_selfTest() local 152 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(items) == DE_LENGTH_OF_ARRAY(weights)); in Random_selfTest() 157 …DE_TEST_ASSERT(expected[i] == rnd.chooseWeighted<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), … in Random_selfTest() 163 int items[] = { 3, 42, 45, 123, 654, -123, -90, 0, 43 }; in Random_selfTest() local 164 static const int expected[][DE_LENGTH_OF_ARRAY(items)] = in Random_selfTest() 181 rnd.shuffle(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items)); in Random_selfTest() [all …]
|
/external/boringssl/src/ssl/pqueue/ |
D | pqueue.c | 66 pitem *items; member 109 assert(pq->items == NULL); in pqueue_free() 113 pitem *pqueue_peek(pqueue_s *pq) { return pq->items; } in pqueue_peek() 118 for (curr = pq->items; curr; curr = curr->next) { in pqueue_find() 128 pitem *item = pq->items; in pqueue_size() 138 piterator pqueue_iterator(pqueue_s *pq) { return pq->items; } in pqueue_iterator() 156 if (pq->items == NULL) { in pqueue_insert() 157 pq->items = item; in pqueue_insert() 161 for (curr = NULL, next = pq->items; next != NULL; in pqueue_insert() 170 pq->items = item; in pqueue_insert() [all …]
|
/external/harfbuzz_ng/src/ |
D | gen-arabic-table.py | 69 for value,short in short_value.items(): 146 for value,short in short_value.items(): 161 items = fields[5].split (' ') 162 shape, items = items[0][1:-1], tuple (int (x, 16) for x in items[1:]) 168 if len (items) != 1: 170 if len (items) != 2 or items[0] != 0x0644 or items[1] not in [0x0622, 0x0623, 0x0625, 0x0627]: 175 if items not in ligatures: 176 ligatures[items] = {} 177 ligatures[items][shape] = c 181 if items[0] not in names: [all …]
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/ |
D | open_element_stack.js | 85 this.items = []; property 98 if (this.items[i] === element) { 115 this.current = this.items[this.stackTop]; 123 this.items[++this.stackTop] = element; 142 this.items[idx] = newElement; 151 this.items.splice(insertionIdx, 0, newElement); 229 if (this.items[i] === element) { 230 this.items.splice(i, 1); 241 var element = this.items[1]; 252 return --elementIdx >= 0 ? this.items[elementIdx] : null; [all …]
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | pubsubtasks_unittest.cc | 34 const std::vector<buzz::PubSubItem>& items) { in OnReceiveUpdate() argument 35 OnItems(items); in OnReceiveUpdate() 39 const std::vector<buzz::PubSubItem>& items) { in OnRequestResult() argument 40 OnItems(items); in OnRequestResult() 43 void OnItems(const std::vector<buzz::PubSubItem>& items) { in OnItems() argument 44 for (std::vector<buzz::PubSubItem>::const_iterator item = items.begin(); in OnItems() 45 item != items.end(); ++item) { in OnItems() 51 this->items.push_back(handled_item); in OnItems() 67 std::vector<HandledPubSubItem> items; member in TestPubSubTasksListener 126 ASSERT_EQ(2U, listener->items.size()); in TEST_F() [all …]
|
D | pubsubtasks.cc | 92 std::vector<PubSubItem>* items) { in ParseItem() argument 96 items->push_back(item); in ParseItem() 103 std::vector<PubSubItem>* items) { in ParseRetract() argument 104 ParseItem(retract_elem, items); in ParseRetract() 108 std::vector<PubSubItem>* items) { in ParseEventItemsElem() argument 118 ParseItem(item_elem, items); in ParseEventItemsElem() 124 ParseRetract(retract_elem, items); in ParseEventItemsElem() 131 std::vector<PubSubItem>* items) { in ParsePubSubItemsElem() argument 139 ParseItem(item_elem, items); in ParsePubSubItemsElem() 154 std::vector<PubSubItem> items; in HandleResult() local [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otTables.py | 169 items = list(mapping.items()) 171 gidItems = [(getGlyphID(a), getGlyphID(b)) for a,b in items] 172 sortableItems = sorted(zip(gidItems, items)) 205 items = sorted(self.mapping.items()) 206 for inGlyph, outGlyph in items: 274 items = list(classDefs.items()) 278 for i in range(len(items)): 279 glyphName, cls = items[i] 280 items[i] = getGlyphID(glyphName), glyphName, cls 281 items.sort() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | package.cpp | 393 items=NULL; in Package() 424 if(items[idx].isDataOwned) { in ~Package() 425 uprv_free(items[idx].data); in ~Package() 429 uprv_free((void*)items); in ~Package() 569 memset(items, 0, itemCount*sizeof(Item)); in readPackage() 641 items[i].name=s+prefixLength; in readPackage() 644 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); in readPackage() 646 items[i-1].length=(int32_t)(items[i].data-items[i-1].data); in readPackage() 649 typeEnum=getTypeEnumForInputData(items[i-1].data, items[i-1].length, &errorCode); in readPackage() 651 …fprintf(stderr, "icupkg: not an ICU data file: item \"%s\" in \"%s\"\n", items[i-1].name, filename… in readPackage() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | peers.cpp | 518 QStringList items = in add_p2p_group_client() local 525 for (int i = 0; i < items.size(); i++) { in add_p2p_group_client() 526 QString str = items.at(i); in add_p2p_group_client() 552 item->setData(items.join(QString("\n")), peer_role_details); in add_p2p_group_client() 831 QStringList items = text.split(' '); in event_notify() local 832 QString uuid = items[1]; in event_notify() 833 QString addr = items[2]; in event_notify() 844 items = text.mid(pos + 1, pos2 - pos - 1). in event_notify() 846 name = items[0]; in event_notify() 847 items.append(addr); in event_notify() [all …]
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.py | 37 items = {} variable 97 global items, _line_number, _groups_to_be_defined 106 dep_item = items.get(dep) 112 items[dep] = {"type": "group"} 113 if library_name: items[dep]["library"] = library_name 142 global items, libraries, _line_number, _groups_to_be_defined 154 if name in items: 157 item = items[name] = {"type": "library", "name": name} 163 if name not in items: 169 item = items[name] [all …]
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
D | multidict.py | 34 items = list(args[0].iteritems()) 36 items = list(args[0].items()) 38 items = list(args[0]) 39 self._items = items 43 self._items.extend(kw.items()) 142 for key, value in self.items(): 160 for key, val in self.items(): 165 items = self._items 167 for i in range(len(items)-1, -1, -1): 168 if items[i][0] == key: [all …]
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
D | context.py | 124 self.items = [] 131 return "ItemList of with %s items" % len(self.items) 143 self.items.append(item) 147 if not self.items: 154 self.__flush_function(self.items, options) 175 sizes = [len(self.__repr_function(i)) for i in self.items] 177 zip(sizes, self.items), 185 self.items = [] 193 return len(self.items) >= self.__max_entity_count 315 def _flush_puts(self, items, options): argument [all …]
|