/external/chromium/net/ftp/ |
D | ftp_directory_listing_parser.cc | 26 std::vector<FtpDirectoryListingEntry>* entries) { in FillInRawName() argument 27 for (size_t i = 0; i < entries->size(); i++) { in FillInRawName() 28 if (!base::UTF16ToCodepage(entries->at(i).name, encoding.c_str(), in FillInRawName() 30 &entries->at(i).raw_name)) { in FillInRawName() 43 std::vector<FtpDirectoryListingEntry>* entries, in ParseListing() argument 50 entries->clear(); in ParseListing() 51 if (ParseFtpDirectoryListingLs(lines, current_time, entries)) { in ParseListing() 53 return FillInRawName(encoding, entries); in ParseListing() 56 entries->clear(); in ParseListing() 57 if (ParseFtpDirectoryListingWindows(lines, entries)) { in ParseListing() [all …]
|
/external/smack/src/org/jivesoftware/smack/ |
D | RosterGroup.java | 43 private final List<RosterEntry> entries; field in RosterGroup 54 entries = new ArrayList<RosterEntry>(); in RosterGroup() 75 synchronized (entries) { in setName() 76 for (RosterEntry entry : entries) { in setName() 94 synchronized (entries) { in getEntryCount() 95 return entries.size(); in getEntryCount() 105 synchronized (entries) { in getEntries() 106 return Collections.unmodifiableList(new ArrayList<RosterEntry>(entries)); in getEntries() 125 synchronized (entries) { in getEntry() 126 for (RosterEntry entry : entries) { in getEntry() [all …]
|
/external/chromium/net/proxy/ |
D | init_proxy_resolver_unittest.cc | 190 CapturingNetLog::EntryList entries; in TEST() local 191 log.GetEntries(&entries); in TEST() 193 EXPECT_EQ(6u, entries.size()); in TEST() 195 entries, 0, NetLog::TYPE_INIT_PROXY_RESOLVER)); in TEST() 197 entries, 1, NetLog::TYPE_INIT_PROXY_RESOLVER_FETCH_PAC_SCRIPT)); in TEST() 199 entries, 2, NetLog::TYPE_INIT_PROXY_RESOLVER_FETCH_PAC_SCRIPT)); in TEST() 201 entries, 3, NetLog::TYPE_INIT_PROXY_RESOLVER_SET_PAC_SCRIPT)); in TEST() 203 entries, 4, NetLog::TYPE_INIT_PROXY_RESOLVER_SET_PAC_SCRIPT)); in TEST() 205 entries, 5, NetLog::TYPE_INIT_PROXY_RESOLVER)); in TEST() 227 CapturingNetLog::EntryList entries; in TEST() local [all …]
|
D | proxy_resolver_js_bindings_unittest.cc | 307 net::CapturingNetLog::EntryList entries; in TEST() local 308 log.GetEntries(&entries); in TEST() 309 ASSERT_EQ(0u, entries.size()); in TEST() 316 log.GetEntries(&entries); in TEST() 317 EXPECT_EQ(2u, entries.size()); in TEST() 319 entries, 0, NetLog::TYPE_PAC_JAVASCRIPT_MY_IP_ADDRESS)); in TEST() 321 entries, 1, NetLog::TYPE_PAC_JAVASCRIPT_MY_IP_ADDRESS)); in TEST() 325 log.GetEntries(&entries); in TEST() 326 EXPECT_EQ(4u, entries.size()); in TEST() 328 entries, 2, NetLog::TYPE_PAC_JAVASCRIPT_MY_IP_ADDRESS_EX)); in TEST() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapCreationTester.java | 81 Entry<K, V>[] entries = createSamplesArray(); in testCreateWithNullKeyAndValueSupported() local 82 entries[getNullLocation()] = entry(null, null); in testCreateWithNullKeyAndValueSupported() 83 resetMap(entries); in testCreateWithNullKeyAndValueSupported() 84 expectContents(entries); in testCreateWithNullKeyAndValueSupported() 103 Entry<K, V>[] entries = getEntriesMultipleNullKeys(); in testCreateWithDuplicates_nullDuplicatesRejected() local 105 resetMap(entries); in testCreateWithDuplicates_nullDuplicatesRejected() 114 Entry<K, V>[] entries = getEntriesMultipleNonNullKeys(); in testCreateWithDuplicates_nonNullDuplicatesRejected() local 116 resetMap(entries); in testCreateWithDuplicates_nonNullDuplicatesRejected() 123 Entry<K, V>[] entries = createArrayWithNullKey(); in getEntriesMultipleNullKeys() local 124 entries[0] = entries[getNullLocation()]; in getEntriesMultipleNullKeys() [all …]
|
D | MapEqualsTester.java | 61 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); in testEquals_containingNullKey() local 62 entries.add(entry(null, samples.e3.getValue())); in testEquals_containingNullKey() 64 resetContainer(getSubjectGenerator().create(entries.toArray())); in testEquals_containingNullKey() 67 getMap().equals(newHashMap(entries))); in testEquals_containingNullKey() 72 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); in testEquals_otherContainsNullKey() local 73 entries.add(entry(null, samples.e3.getValue())); in testEquals_otherContainsNullKey() 74 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullKey() 85 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); in testEquals_containingNullValue() local 86 entries.add(entry(samples.e3.getKey(), null)); in testEquals_containingNullValue() 88 resetContainer(getSubjectGenerator().create(entries.toArray())); in testEquals_containingNullValue() [all …]
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
D | VertexCache.java | 40 int[] entries; field in VertexCache 49 entries = new int[numEntries]; in VertexCache() 56 if(entries[i] == entry) in inCache() 67 removed = entries[numEntries - 1]; in addEntry() 72 entries[i + 1] = entries[i]; in addEntry() 75 entries[0] = entry; in addEntry() 81 Arrays.fill(entries,-1); in clear() 85 return entries[index]; in at() 89 entries[index] = value; in set() 96 inVcache.set(i, entries[i]); in copy()
|
/external/valgrind/main/none/tests/darwin/ |
D | access_extended.c | 20 struct accessx_descriptor* entries = malloc(entries_szB); in main() local 21 char* string1 = (char*)&entries[3]; in main() 26 entries[0].ad_name_offset = string1 - (char*)entries; in main() 27 entries[1].ad_name_offset = 0; // reuse the previous entry's string in main() 28 entries[2].ad_name_offset = string2 - (char*)entries; in main() 29 entries[0].ad_flags = F_OK; // succeeds in main() 30 entries[1].ad_flags = X_OK; // fails in main() 31 entries[2].ad_flags = F_OK; // fails in main() 35 retval = syscall(SYS_access_extended, entries, entries_szB, results, in main()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | TimeToSampleBox.java | 47 List<Entry> entries = Collections.emptyList(); field in TimeToSampleBox 55 return 8 + entries.size() * 8; in getContentSize() 62 entries = new ArrayList<Entry>(entryCount); in _parseDetails() 65 … entries.add(new Entry(IsoTypeReader.readUInt32(content), IsoTypeReader.readUInt32(content))); in _parseDetails() 73 IsoTypeWriter.writeUInt32(byteBuffer, entries.size()); in getContent() 74 for (Entry entry : entries) { in getContent() 81 return entries; in getEntries() 84 public void setEntries(List<Entry> entries) { in setEntries() argument 85 this.entries = entries; in setEntries() 89 return "TimeToSampleBox[entryCount=" + entries.size() + "]"; in toString() [all …]
|
D | CompositionTimeToSample.java | 48 List<Entry> entries = Collections.emptyList(); field in CompositionTimeToSample 55 return 8 + 8 * entries.size(); in getContentSize() 59 return entries; in getEntries() 62 public void setEntries(List<Entry> entries) { in setEntries() argument 63 this.entries = entries; in setEntries() 70 entries = new ArrayList<Entry>(numberOfEntries); in _parseDetails() 73 entries.add(e); in _parseDetails() 80 IsoTypeWriter.writeUInt32(byteBuffer, entries.size()); in getContent() 82 for (Entry entry : entries) { in getContent() 130 public static int[] blowupCompositionTimes(List<CompositionTimeToSample.Entry> entries) { in blowupCompositionTimes() argument [all …]
|
D | ProgressiveDownloadInformationBox.java | 15 List<Entry> entries = Collections.emptyList(); field in ProgressiveDownloadInformationBox 23 return 4 + entries.size() * 8; in getContentSize() 29 for (Entry entry : entries) { in getContent() 36 return entries; in getEntries() 39 public void setEntries(List<Entry> entries) { in setEntries() argument 40 this.entries = entries; in setEntries() 46 entries = new LinkedList<Entry>(); in _parseDetails() 49 entries.add(entry); in _parseDetails() 91 "entries=" + entries + in toString()
|
D | SampleToChunkBox.java | 38 List<Entry> entries = Collections.emptyList(); field in SampleToChunkBox 47 return entries; in getEntries() 50 public void setEntries(List<Entry> entries) { in setEntries() argument 51 this.entries = entries; in setEntries() 55 return entries.size() * 12 + 8; in getContentSize() 63 entries = new ArrayList<Entry>(entryCount); in _parseDetails() 65 entries.add(new Entry( in _parseDetails() 75 IsoTypeWriter.writeUInt32(byteBuffer, entries.size()); in getContent() 76 for (Entry entry : entries) { in getContent() 84 return "SampleToChunkBox[entryCount=" + entries.size() + "]"; in toString() [all …]
|
/external/openssh/ |
D | hostfile.c | 62 struct hostkey_entry *entries; member 234 ret->entries = NULL; in init_hostkeys() 309 hostkeys->entries = xrealloc(hostkeys->entries, in load_hostkeys() 310 hostkeys->num_entries + 1, sizeof(*hostkeys->entries)); in load_hostkeys() 311 hostkeys->entries[hostkeys->num_entries].host = xstrdup(host); in load_hostkeys() 312 hostkeys->entries[hostkeys->num_entries].file = xstrdup(path); in load_hostkeys() 313 hostkeys->entries[hostkeys->num_entries].line = linenum; in load_hostkeys() 314 hostkeys->entries[hostkeys->num_entries].key = key; in load_hostkeys() 315 hostkeys->entries[hostkeys->num_entries].marker = marker; in load_hostkeys() 330 xfree(hostkeys->entries[i].host); in free_hostkeys() [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | ExceptionTable.java | 43 private ArrayList entries; field in ExceptionTable 52 entries = new ArrayList(); in ExceptionTable() 67 entries = list; in ExceptionTable() 77 r.entries = new ArrayList(entries); in clone() 86 return entries.size(); in size() 95 ExceptionTableEntry e = (ExceptionTableEntry)entries.get(nth); in startPc() 106 ExceptionTableEntry e = (ExceptionTableEntry)entries.get(nth); in setStartPc() 116 ExceptionTableEntry e = (ExceptionTableEntry)entries.get(nth); in endPc() 127 ExceptionTableEntry e = (ExceptionTableEntry)entries.get(nth); in setEndPc() 137 ExceptionTableEntry e = (ExceptionTableEntry)entries.get(nth); in handlerPc() [all …]
|
/external/chromium/net/socket/ |
D | socks_client_socket_unittest.cc | 144 net::CapturingNetLog::EntryList entries; in TEST_F() local 145 log.GetEntries(&entries); in TEST_F() 147 LogContainsBeginEvent(entries, 0, NetLog::TYPE_SOCKS_CONNECT)); in TEST_F() 153 log.GetEntries(&entries); in TEST_F() 155 entries, -1, NetLog::TYPE_SOCKS_CONNECT)); in TEST_F() 213 net::CapturingNetLog::EntryList entries; in TEST_F() local 214 log.GetEntries(&entries); in TEST_F() 216 entries, 0, NetLog::TYPE_SOCKS_CONNECT)); in TEST_F() 222 log.GetEntries(&entries); in TEST_F() 224 entries, -1, NetLog::TYPE_SOCKS_CONNECT)); in TEST_F() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | RegularImmutableSortedMultiset.java | 59 List<? extends Multiset.Entry<E>> entries) { in createFromSorted() argument 60 List<CumulativeCountEntry<E>> newEntries = Lists.newArrayListWithCapacity(entries.size()); in createFromSorted() 62 for (Multiset.Entry<E> entry : entries) { in createFromSorted() 69 final transient ImmutableList<CumulativeCountEntry<E>> entries; field in RegularImmutableSortedMultiset 72 Comparator<? super E> comparator, ImmutableList<CumulativeCountEntry<E>> entries) { in RegularImmutableSortedMultiset() argument 74 this.entries = entries; in RegularImmutableSortedMultiset() 75 assert !entries.isEmpty(); in RegularImmutableSortedMultiset() 79 return new TransformedImmutableList<CumulativeCountEntry<E>, E>(entries) { in elementList() 100 return (UnmodifiableIterator) entries.iterator(); 106 return (UnmodifiableIterator) entries.reverse().iterator(); [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
D | StdConstantPool.java | 30 private final Constant[] entries; field in StdConstantPool 47 entries = new Constant[size]; in StdConstantPool() 52 return entries.length; in size() 58 return entries[n]; in getOrNull() 77 Constant result = entries[n]; in get() 107 if (n == (entries.length - 1)) { in set() 111 entries[n + 1] = null; in set() 114 if ((cst != null) && (entries[n] == null)) { in set() 119 Constant prev = entries[n - 1]; in set() 121 entries[n - 1] = null; in set() [all …]
|
/external/chromium/net/base/ |
D | net_log_unittest.h | 24 const CapturingNetLog::EntryList& entries, in LogContainsEventHelper() argument 32 static_cast<size_t>(static_cast<int>(entries.size()) + i) : in LogContainsEventHelper() 34 if (j >= entries.size()) in LogContainsEventHelper() 36 const CapturingNetLog::Entry& entry = entries[j]; in LogContainsEventHelper() 96 const CapturingNetLog::EntryList& entries, in LogContainsEntryWithType() argument 101 static_cast<size_t>(static_cast<int>(entries.size()) + i) : in LogContainsEntryWithType() 103 if (j >= entries.size()) in LogContainsEntryWithType() 105 const CapturingNetLog::Entry& entry = entries[j]; in LogContainsEntryWithType() 116 const CapturingNetLog::EntryList& entries, in ExpectLogContainsSomewhere() argument 121 for (; i < entries.size(); ++i) { in ExpectLogContainsSomewhere() [all …]
|
/external/javassist/src/main/javassist/tools/reflect/ |
D | Compiler.java | 78 CompiledClass[] entries = new CompiledClass[args.length]; in main() local 79 int n = parse(args, entries); in main() 86 processClasses(entries, n); in main() 89 private static void processClasses(CompiledClass[] entries, int n) in processClasses() argument 97 CtClass c = pool.get(entries[i].classname); in processClasses() 98 if (entries[i].metaobject != null in processClasses() 99 || entries[i].classobject != null) { in processClasses() 102 if (entries[i].metaobject == null) in processClasses() 105 metaobj = entries[i].metaobject; in processClasses() 107 if (entries[i].classobject == null) in processClasses() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | brel_ma.c | 43 struct ext2_block_relocate_entry *entries; member 79 sizeof(struct ext2_block_relocate_entry), &ma->entries); in ext2fs_brel_memarray_create() 82 memset(ma->entries, 0, size); in ext2fs_brel_memarray_create() 112 ma->entries[(unsigned)old] = *ent; in bma_put() 124 if (ma->entries[(unsigned)old].new == 0) in bma_get() 126 *ent = ma->entries[old]; in bma_get() 143 if (ma->entries[(unsigned)brel->current].new == 0) in bma_next() 146 *ent = ma->entries[(unsigned)brel->current]; in bma_next() 160 if (ma->entries[(unsigned)old].new == 0) in bma_move() 162 ma->entries[(unsigned)new] = ma->entries[old]; in bma_move() [all …]
|
D | irel_ma.c | 58 struct ext2_inode_relocate_entry *entries; member 102 sizeof(struct ext2_inode_relocate_entry), &ma->entries); in ext2fs_irel_memarray_create() 105 memset(ma->entries, 0, size); in ext2fs_irel_memarray_create() 155 if (ma->entries[(unsigned) old].new == 0) 158 ent->orig = ma->entries[(unsigned) old].orig; 165 ma->entries[(unsigned) old].max_refs) { 168 ma->entries[(unsigned) old].max_refs); 174 ma->entries[(unsigned) old] = *ent; 187 if (ma->entries[(unsigned) old].new == 0) 189 *ent = ma->entries[(unsigned) old]; [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestsForMapsInJavaUtil.java | 89 Entry<String, String>[] entries) { in testsForEmptyMap() 105 Entry<String, String>[] entries) { 107 entries[0].getKey(), entries[0].getValue()); 123 Entry<String, String>[] entries) { 124 return toHashMap(entries); 149 Entry<String, String>[] entries) { 150 return populate(new LinkedHashMap<String, String>(), entries); 168 Entry<String, String>[] entries) { 170 arbitraryNullFriendlyComparator()), entries); 188 Entry<AnEnum, String>[] entries) { [all …]
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | JarFileTest.java | 106 Enumeration<JarEntry> e = jarFile.entries(); in testEntries() 119 Enumeration<JarEntry> enumeration = jarFile.entries(); in testEntriesIterator() 128 enumeration = jarFile.entries(); in testEntriesIterator() 150 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getEntryLjava_lang_String() 157 enumeration = jarFile.entries(); in test_getEntryLjava_lang_String() 183 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getJarEntryLjava_lang_String() 190 enumeration = jarFile.entries(); in test_getJarEntryLjava_lang_String() 260 Enumeration<JarEntry> e = jarFile.entries(); in testGetJarEntry() 437 Enumeration<JarEntry> entries = jarFile.entries(); in testJar14() local 438 while (entries.hasMoreElements()) { in testJar14() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | ListMap.java | 95 private ListMapEntry<K, V>[] entries; field in ListMap 100 entries = new ListMapEntry[4]; in ListMap() 106 entries = new ListMapEntry[initialCapacity]; in ListMap() 112 entries = new ListMapEntry[map.size()]; in ListMap() 125 return entries[index]; in getEntry() 130 return entries[index].value; in getValue() 135 return entries[index].key; in getKey() 190 ListMapEntry<K, V> entry = entries[i]; in put() 199 if (size == entries.length){ in put() 200 ListMapEntry<K, V>[] tmpEntries = entries; in put() [all …]
|
/external/chromium/chrome/browser/sessions/ |
D | tab_restore_service_browsertest.cc | 129 ASSERT_EQ(1U, service_->entries().size()); in TEST_F() 132 TabRestoreService::Entry* entry = service_->entries().front(); in TEST_F() 151 ASSERT_EQ(2U, service_->entries().size()); in TEST_F() 154 entry = service_->entries().front(); in TEST_F() 171 EXPECT_TRUE(service_->entries().empty()); in TEST_F() 185 ASSERT_EQ(1U, service_->entries().size()); in TEST_F() 188 TabRestoreService::Entry* entry = service_->entries().front(); in TEST_F() 209 ASSERT_EQ(1U, service_->entries().size()); in TEST_F() 213 TabRestoreService::Entry* entry = service_->entries().front(); in TEST_F() 224 ASSERT_EQ(1U, service_->entries().size()); in TEST_F() [all …]
|