Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 1337) sorted by relevance

12345678910>>...54

/external/jemalloc/test/unit/
Dqr.c16 init_entries(ring_t *entries) in init_entries() argument
21 qr_new(&entries[i], link); in init_entries()
22 entries[i].id = 'a' + i; in init_entries()
27 test_independent_entries(ring_t *entries) in test_independent_entries() argument
34 qr_foreach(t, &entries[i], link) { in test_independent_entries()
43 qr_reverse_foreach(t, &entries[i], link) { in test_independent_entries()
51 t = qr_next(&entries[i], link); in test_independent_entries()
52 assert_ptr_eq(t, &entries[i], in test_independent_entries()
57 t = qr_prev(&entries[i], link); in test_independent_entries()
58 assert_ptr_eq(t, &entries[i], in test_independent_entries()
[all …]
Dql.c47 init_entries(list_t *entries, unsigned nentries) in init_entries() argument
52 entries[i].id = 'a' + i; in init_entries()
53 ql_elm_new(&entries[i], link); in init_entries()
58 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) in test_entries_list() argument
63 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch"); in test_entries_list()
64 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list()
69 assert_c_eq(t->id, entries[i].id, "Element id mismatch"); in test_entries_list()
75 assert_c_eq(t->id, entries[nentries-i-1].id, in test_entries_list()
81 t = ql_next(head, &entries[i], link); in test_entries_list()
82 assert_c_eq(t->id, entries[i+1].id, "Element id mismatch"); in test_entries_list()
[all …]
/external/google-breakpad/src/common/
Ddwarf_cfi_to_module_unittest.cc83 vector<Module::StackFrameEntry *> entries; member
92 module.GetStackFrameEntries(&entries); in TEST_F()
93 EXPECT_EQ(1U, entries.size()); in TEST_F()
94 EXPECT_EQ(0xa21069698096fc98ULL, entries[0]->address); in TEST_F()
95 EXPECT_EQ(0xb440ce248169c8d6ULL, entries[0]->size); in TEST_F()
96 EXPECT_EQ(0U, entries[0]->initial_rules.size()); in TEST_F()
97 EXPECT_EQ(0U, entries[0]->rule_changes.size()); in TEST_F()
104 module.GetStackFrameEntries(&entries); in TEST_F()
105 EXPECT_EQ(1U, entries.size()); in TEST_F()
106 EXPECT_EQ(0x75b8806bb09eab78ULL, entries[0]->address); in TEST_F()
[all …]
/external/v8/test/mjsunit/es6/
Dmirror-collections.js55 var entries = mapMirror.entries(); variable
56 assertEquals(1, entries.length);
57 assertSame(o2, entries[0].key);
58 assertEquals(22, entries[0].value);
64 entries = mapMirror.entries();
65 assertEquals(3, entries.length);
66 assertSame(o1, entries[0].key);
67 assertEquals(33, entries[0].value);
68 assertSame(o3, entries[1].key);
69 assertSame(o2, entries[1].value);
[all …]
/external/libexif/libexif/fuji/
Dexif-mnote-data-fuji.c43 if (n->entries) { in exif_mnote_data_fuji_clear()
45 if (n->entries[i].data) { in exif_mnote_data_fuji_clear()
46 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_fuji_clear()
47 n->entries[i].data = NULL; in exif_mnote_data_fuji_clear()
49 exif_mem_free (d->mem, n->entries); in exif_mnote_data_fuji_clear()
50 n->entries = NULL; in exif_mnote_data_fuji_clear()
75 return mnote_fuji_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_fuji_get_value()
113 exif_set_short (*buf + o + 0, n->order, (ExifShort) n->entries[i].tag); in exif_mnote_data_fuji_save()
114 exif_set_short (*buf + o + 2, n->order, (ExifShort) n->entries[i].format); in exif_mnote_data_fuji_save()
115 exif_set_long (*buf + o + 4, n->order, n->entries[i].components); in exif_mnote_data_fuji_save()
[all …]
/external/libexif/libexif/canon/
Dexif-mnote-data-canon.c43 if (n->entries) { in exif_mnote_data_canon_clear()
45 if (n->entries[i].data) { in exif_mnote_data_canon_clear()
46 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_canon_clear()
47 n->entries[i].data = NULL; in exif_mnote_data_canon_clear()
49 exif_mem_free (d->mem, n->entries); in exif_mnote_data_canon_clear()
50 n->entries = NULL; in exif_mnote_data_canon_clear()
71 to = from + mnote_canon_entry_count_values (&dc->entries[*m]); in exif_mnote_data_canon_get_tags()
89 return mnote_canon_entry_get_value (&dc->entries[m], s, val, maxlen); in exif_mnote_data_canon_get_value()
104 n->entries[i].order = o; in exif_mnote_data_canon_set_byte_order()
105 exif_array_set_byte_order (n->entries[i].format, n->entries[i].data, in exif_mnote_data_canon_set_byte_order()
[all …]
/external/toybox/toys/posix/
Dxargs.c50 long entries, bytes;
76 if (TT.max_entries && TT.entries >= TT.max_entries)
92 if (entry) entry[TT.entries] = save;
93 ++TT.entries;
100 if (TT.max_entries && TT.entries >= TT.max_entries)
102 if (entry) entry[TT.entries] = data;
103 TT.entries++;
112 int entries, bytes, done = 0, status; in xargs_main() local
125 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++) in xargs_main()
126 bytes += strlen(toys.optargs[entries]); in xargs_main()
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_validate.c57 struct pb_validate_entry *entries; member
80 if(vl->used && vl->entries[vl->used - 1].buf == buf) { in pb_validate_add_buffer()
81 vl->entries[vl->used - 1].flags |= flags; in pb_validate_add_buffer()
94 new_entries = (struct pb_validate_entry *)REALLOC(vl->entries, in pb_validate_add_buffer()
103 vl->entries = new_entries; in pb_validate_add_buffer()
106 assert(!vl->entries[vl->used].buf); in pb_validate_add_buffer()
107 pb_reference(&vl->entries[vl->used].buf, buf); in pb_validate_add_buffer()
108 vl->entries[vl->used].flags = flags; in pb_validate_add_buffer()
123 ret = callback(vl->entries[i].buf, data); in pb_validate_foreach()
138 ret = pb_validate(vl->entries[i].buf, vl, vl->entries[i].flags); in pb_validate_validate()
[all …]
/external/libexif/libexif/pentax/
Dexif-mnote-data-pentax.c39 if (n->entries) { in exif_mnote_data_pentax_clear()
41 if (n->entries[i].data) { in exif_mnote_data_pentax_clear()
42 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_pentax_clear()
43 n->entries[i].data = NULL; in exif_mnote_data_pentax_clear()
45 exif_mem_free (d->mem, n->entries); in exif_mnote_data_pentax_clear()
46 n->entries = NULL; in exif_mnote_data_pentax_clear()
66 return mnote_pentax_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_pentax_get_value()
165 (ExifShort) (n->entries[i].tag - base)); in exif_mnote_data_pentax_save()
167 (ExifShort) n->entries[i].format); in exif_mnote_data_pentax_save()
169 n->entries[i].components); in exif_mnote_data_pentax_save()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealVector.java41 private final OpenIntToDoubleHashMap entries; field in OpenMapRealVector
77 entries = new OpenIntToDoubleHashMap(0.0); in OpenMapRealVector()
88 entries = new OpenIntToDoubleHashMap(v.entries); in OpenMapRealVector()
109 entries = new OpenIntToDoubleHashMap(expectedSize, 0.0); in OpenMapRealVector()
130 entries = new OpenIntToDoubleHashMap(0.0); in OpenMapRealVector()
135 entries.put(key, value); in OpenMapRealVector()
157 entries = new OpenIntToDoubleHashMap(0.0); in OpenMapRealVector()
162 entries.put(key, value); in OpenMapRealVector()
173 entries = new OpenIntToDoubleHashMap(v.getEntries()); in OpenMapRealVector()
183 entries = new OpenIntToDoubleHashMap(0.0); in OpenMapRealVector()
[all …]
DOpenMapRealMatrix.java42 private final OpenIntToDoubleHashMap entries; field in OpenMapRealMatrix
53 this.entries = new OpenIntToDoubleHashMap(0.0); in OpenMapRealMatrix()
63 this.entries = new OpenIntToDoubleHashMap(matrix.entries); in OpenMapRealMatrix()
109 for (OpenIntToDoubleHashMap.Iterator iterator = m.entries.iterator(); iterator.hasNext();) { in add()
144 for (OpenIntToDoubleHashMap.Iterator iterator = m.entries.iterator(); iterator.hasNext();) { in subtract()
168 … for (OpenIntToDoubleHashMap.Iterator iterator = entries.iterator(); iterator.hasNext();) { in multiply()
199 for (OpenIntToDoubleHashMap.Iterator iterator = entries.iterator(); iterator.hasNext();) { in multiply()
207 if (m.entries.containsKey(rightKey)) { in multiply()
210 out.entries.get(outKey) + value * m.entries.get(rightKey); in multiply()
212 out.entries.remove(outKey); in multiply()
[all …]
DSparseFieldMatrix.java36 private final OpenIntToFieldHashMap<T> entries; field in SparseFieldMatrix
55 entries = new OpenIntToFieldHashMap<T>(field); in SparseFieldMatrix()
72 entries = new OpenIntToFieldHashMap<T>(field); in SparseFieldMatrix()
83 entries = new OpenIntToFieldHashMap<T>(other.entries); in SparseFieldMatrix()
94 entries = new OpenIntToFieldHashMap<T>(getField()); in SparseFieldMatrix()
109 final T value = entries.get(key).add(increment); in addToEntry()
111 entries.remove(key); in addToEntry()
113 entries.put(key, value); in addToEntry()
142 return entries.get(computeKey(row, column)); in getEntry()
158 final T value = entries.get(key).multiply(factor); in multiplyEntry()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSortedMapNavigationTester.java54 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp() local
56 Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); in setUp()
59 if (entries.size() >= 1) { in setUp()
60 a = entries.get(0); in setUp()
61 if (entries.size() >= 3) { in setUp()
62 c = entries.get(2); in setUp()
116 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testHeadMap() local
118 Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); in testHeadMap()
119 for (int i = 0; i < entries.size(); i++) { in testHeadMap()
120 assertThat(navigableMap.headMap(entries.get(i).getKey()).entrySet()) in testHeadMap()
[all …]
DMapCreationTester.java84 Entry<K, V>[] entries = createSamplesArray(); in testCreateWithNullKeyAndValueSupported() local
85 entries[getNullLocation()] = entry(null, null); in testCreateWithNullKeyAndValueSupported()
86 resetMap(entries); in testCreateWithNullKeyAndValueSupported()
87 expectContents(entries); in testCreateWithNullKeyAndValueSupported()
106 Entry<K, V>[] entries = getEntriesMultipleNullKeys(); in testCreateWithDuplicates_nullDuplicatesRejected() local
108 resetMap(entries); in testCreateWithDuplicates_nullDuplicatesRejected()
117 Entry<K, V>[] entries = getEntriesMultipleNonNullKeys(); in testCreateWithDuplicates_nonNullDuplicatesRejected() local
119 resetMap(entries); in testCreateWithDuplicates_nonNullDuplicatesRejected()
126 Entry<K, V>[] entries = createArrayWithNullKey(); in getEntriesMultipleNullKeys() local
127 entries[0] = entry(null, entries[0].getValue()); in getEntriesMultipleNullKeys()
[all …]
/external/mesa3d/src/mapi/mapi/
Dmapi_abi.py181 entries = entry_dict.values()
182 entries.sort()
184 return entries
251 entries = entry_dict.values()
252 entries.sort()
254 return entries
256 def abi_sanity_check(entries): argument
257 if not entries:
261 last_slot = entries[-1].slot
264 if entries[i].slot != slot:
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/fixtures/
Dformatting_element_list_test.js16 assert.strictEqual(list.entries[0].type, FormattingElementList.MARKER_ENTRY);
20 assert.strictEqual(list.entries[1].type, FormattingElementList.MARKER_ENTRY);
32 assert.strictEqual(list.entries[0].type, FormattingElementList.ELEMENT_ENTRY);
33 assert.strictEqual(list.entries[0].element, element1);
34 assert.strictEqual(list.entries[0].token, element1Token);
38 assert.strictEqual(list.entries[1].type, FormattingElementList.ELEMENT_ENTRY);
39 assert.strictEqual(list.entries[1].element, element2);
40 assert.strictEqual(list.entries[1].token, element2Token);
52 list.bookmark = list.entries[0];
60 assert.strictEqual(list.entries[1].element, element4);
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DMapCreationTester.java81 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] = entry(null, entries[0].getValue()); in getEntriesMultipleNullKeys()
[all …]
/external/valgrind/none/tests/darwin/
Daccess_extended.c20 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/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DZipMultiReportOutputTest.java58 final Map<String, byte[]> entries = readEntries(); in testWrite1() local
59 assertEquals(Collections.singleton("a.txt"), entries.keySet()); in testWrite1()
60 assertArrayEquals(content1, entries.get("a.txt")); in testWrite1()
73 final Map<String, byte[]> entries = readEntries(); in testWrite2() local
74 assertEquals(Collections.singleton("b.txt"), entries.keySet()); in testWrite2()
75 assertArrayEquals("Zip".getBytes("ISO-8859-1"), entries.get("b.txt")); in testWrite2()
88 final Map<String, byte[]> entries = readEntries(); in testWrite3() local
89 assertEquals(Collections.singleton("b.txt"), entries.keySet()); in testWrite3()
90 assertArrayEquals(new byte[] { 40 }, entries.get("b.txt")); in testWrite3()
109 final Map<String, byte[]> entries = readEntries(); in testCreateFiles() local
[all …]
/external/javassist/src/main/javassist/bytecode/
DExceptionTable.java43 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/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DTimeToSampleBox.java47 List<Entry> entries = Collections.emptyList(); field in TimeToSampleBox
55 return 8 + entries.size() * 8; in getContentSize()
62 entries = new ArrayList<Entry>(entryCount); in _parseDetails()
65entries.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 …]
DCompositionTimeToSample.java48 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 …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForMapsInJavaUtil.java101 Entry<String, String>[] entries) { in testsForEmptyMap()
117 Entry<String, String>[] entries) {
119 entries[0].getKey(), entries[0].getValue());
137 Entry<String, String>[] entries) {
138 return toHashMap(entries);
159 Entry<String, String>[] entries) {
160 return populate(new LinkedHashMap<String, String>(), entries);
182 Entry<String, String>[] entries) {
187 return populate(new TreeMap<String, String>(), entries);
207 Entry<String, String>[] entries) {
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DStdConstantPool.java30 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/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimapTest.java92 assertThat(copy.entries()).has().exactlyAs(multimap.entries()).inOrder(); in testCreateFromMultimap()
121 map.entries().toString()); in testLinkedGetAdd()
134 map.entries().toString()); in testLinkedGetInsert()
143 assertEquals("[foo=1, bar=2, bar=3]", map.entries().toString()); in testLinkedPutInOrder()
152 assertEquals("[bar=1, foo=2, bar=3]", map.entries().toString()); in testLinkedPutOutOfOrder()
163 assertEquals("[bar=1, foo=2, bar=3]", src.entries().toString()); in testLinkedPutAllMultimap()
174 assertEquals("[bar=1, foo=2, bar=2]", map.entries().toString()); in testLinkedReplaceValues()
190 assertEquals("[]", map.entries().toString()); in testLinkedClear()
212 map.entries().toString()); in testLinkedKeys()
234 Iterator<Map.Entry<String, Integer>> entries = map.entries().iterator(); in testLinkedEntries() local
[all …]

12345678910>>...54