Home
last modified time | relevance | path

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

12345678910>>...83

/external/jemalloc_new/test/unit/
Dqr.c18 init_entries(ring_t *entries) { in init_entries() argument
22 qr_new(&entries[i], link); in init_entries()
23 entries[i].id = 'a' + i; in init_entries()
28 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
51 entries[i].id = 'a' + i; in init_entries()
52 ql_elm_new(&entries[i], link); in init_entries()
57 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) { in test_entries_list() argument
61 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch"); in test_entries_list()
62 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list()
67 assert_c_eq(t->id, entries[i].id, "Element id mismatch"); in test_entries_list()
73 assert_c_eq(t->id, entries[nentries-i-1].id, in test_entries_list()
79 t = ql_next(head, &entries[i], link); in test_entries_list()
80 assert_c_eq(t->id, entries[i+1].id, "Element id mismatch"); in test_entries_list()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dmodule-stats.test7 ALL-NEXT: Total: 6 entries ( 204 bytes)
9 ALL-NEXT: S_GPROC32: 1 entries ( 44 bytes)
10 ALL-NEXT: S_FRAMEPROC: 1 entries ( 32 bytes)
11 ALL-NEXT: S_END: 1 entries ( 4 bytes)
12 ALL-NEXT: S_OBJNAME: 1 entries ( 56 bytes)
13 ALL-NEXT: S_COMPILE3: 1 entries ( 60 bytes)
14 ALL-NEXT: S_BUILDINFO: 1 entries ( 8 bytes)
16 ALL-NEXT: Total: 2 entries ( 88 bytes)
18 ALL-NEXT: DEBUG_S_FILECHKSMS: 1 entries ( 32 bytes)
19 ALL-NEXT: DEBUG_S_LINES: 1 entries ( 56 bytes)
[all …]
/external/u-boot/arch/x86/cpu/qemu/
De820.c12 struct e820_entry *entries) in install_e820_map() argument
14 entries[0].addr = 0; in install_e820_map()
15 entries[0].size = ISA_START_ADDRESS; in install_e820_map()
16 entries[0].type = E820_RAM; in install_e820_map()
18 entries[1].addr = ISA_START_ADDRESS; in install_e820_map()
19 entries[1].size = ISA_END_ADDRESS - ISA_START_ADDRESS; in install_e820_map()
20 entries[1].type = E820_RESERVED; in install_e820_map()
27 entries[2].addr = ISA_END_ADDRESS; in install_e820_map()
28 entries[2].size = gd->relocaddr - TOTAL_MALLOC_LEN - ISA_END_ADDRESS; in install_e820_map()
29 entries[2].type = E820_RAM; in install_e820_map()
[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/google-fruit/include/fruit/impl/component_storage/
Dpartial_component_storage.defn.h34 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument
35 (void)entries; in addBindings()
52 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument
53 previous_storage.addBindings(entries); in addBindings()
70 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument
71 previous_storage.addBindings(entries); in addBindings()
89 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument
90 entries.push_back(InjectorStorage::createComponentStorageEntryForBindInstance<C, C>(instance)); in addBindings()
91 previous_storage.addBindings(entries); in addBindings()
109 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument
[all …]
Dcomponent_storage.defn.h26 inline ComponentStorage::ComponentStorage(FixedSizeVector<ComponentStorageEntry>&& entries) in ComponentStorage() argument
27 : entries(std::move(entries)) {} in ComponentStorage()
38 for (ComponentStorageEntry& entry : entries) { in destroy()
41 entries.clear(); in destroy()
49 return std::move(entries); in release()
53 return entries.size(); in numEntries()
59 entries = FixedSizeVector<ComponentStorageEntry>(other.entries.size());
60 for (const ComponentStorageEntry& entry : other.entries) {
61 entries.push_back(entry.copy());
68 entries = std::move(other.entries);
[all …]
/external/syzkaller/prog/
Dparse_test.go19 entries := target.ParseLog([]byte(execLog))
20 if len(entries) != 1 {
21 t.Fatalf("got %v programs, want 1", len(entries))
23 ent := entries[0]
49 entries := target.ParseLog([]byte(execLog))
50 if len(entries) != 5 {
51 for i, ent := range entries {
54 t.Fatalf("got %v programs, want 5", len(entries))
57 for _, ent := range entries {
62 if entries[0].Proc != 0 ||
[all …]
/external/wayland/src/
Dwayland-util.c198 struct wl_array *entries; in wl_map_insert_new() local
202 entries = &map->client_entries; in wl_map_insert_new()
205 entries = &map->server_entries; in wl_map_insert_new()
210 start = entries->data; in wl_map_insert_new()
214 entry = wl_array_add(entries, sizeof *entry); in wl_map_insert_new()
217 start = entries->data; in wl_map_insert_new()
231 struct wl_array *entries; in wl_map_insert_at() local
234 entries = &map->client_entries; in wl_map_insert_at()
236 entries = &map->server_entries; in wl_map_insert_at()
240 count = entries->size / sizeof *start; in wl_map_insert_at()
[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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DSwitchStmt.java54 private NodeList<SwitchEntryStmt> entries; field in SwitchStmt
61 public SwitchStmt(final Expression selector, final NodeList<SwitchEntryStmt> entries) { in SwitchStmt() argument
62 this(null, selector, entries); in SwitchStmt()
69 … public SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntryStmt> entries) { in SwitchStmt() argument
72 setEntries(entries); in SwitchStmt()
90 return entries; in getEntries()
103 public SwitchStmt setEntries(final NodeList<SwitchEntryStmt> entries) { in setEntries() argument
104 assertNotNull(entries); in setEntries()
105 if (entries == this.entries) { in setEntries()
108 notifyPropertyChange(ObservableProperty.ENTRIES, this.entries, entries); in setEntries()
[all …]
/external/toybox/toys/posix/
Dxargs.c47 long entries, bytes;
73 if (TT.n && TT.entries >= TT.n) in handle_entries()
91 if (entry) entry[TT.entries] = save; in handle_entries()
92 ++TT.entries; in handle_entries()
99 if (TT.n && TT.entries >= TT.n) return data; in handle_entries()
100 if (entry) entry[TT.entries] = data; in handle_entries()
101 TT.entries++; in handle_entries()
110 int entries, bytes, done = 0, status; in xargs_main() local
132 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++) in xargs_main()
133 bytes += strlen(toys.optargs[entries]); in xargs_main()
[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 …]
/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/autotest/utils/
Dsummarize_loadtest.py65 def summarize_entries(entries, skip=set()): argument
75 'COUNT': len(entries),
77 summary.update({key: summarize_tags(entries, key) for key in TAG_KEYS
79 summary.update({key: summarize_values(entries, key) for key in VALUE_KEYS
83 def summarize_tags(entries, key): argument
85 tags = {str(entry[key]) for entry in entries}
88 def summarize_values(entries, key): argument
90 if entries is None or len(entries) == 0:
93 values = [entry[key] for entry in entries if key in entry]
100 num_skipped = len(entries) - num_values
[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/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/u-boot/arch/x86/lib/
De820.c21 struct e820_entry *entries) in install_e820_map() argument
23 entries[0].addr = 0; in install_e820_map()
24 entries[0].size = ISA_START_ADDRESS; in install_e820_map()
25 entries[0].type = E820_RAM; in install_e820_map()
26 entries[1].addr = ISA_START_ADDRESS; in install_e820_map()
27 entries[1].size = ISA_END_ADDRESS - ISA_START_ADDRESS; in install_e820_map()
28 entries[1].type = E820_RESERVED; in install_e820_map()
29 entries[2].addr = ISA_END_ADDRESS; in install_e820_map()
30 entries[2].size = gd->ram_size - ISA_END_ADDRESS; in install_e820_map()
31 entries[2].type = E820_RAM; in install_e820_map()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DTracestate.java105 @javax.annotation.Nullable private ArrayList<Entry> entries; field in Tracestate.Builder
114 this.entries = null; in Builder()
130 if (entries == null) { in set()
132 entries = new ArrayList<Entry>(parent.getEntries()); in set()
134 for (int i = 0; i < entries.size(); i++) { in set()
135 if (entries.get(i).getKey().equals(entry.getKey())) { in set()
136 entries.remove(i); in set()
142 entries.add(0, entry); in set()
156 if (entries == null) { in remove()
158 entries = new ArrayList<Entry>(parent.getEntries()); in remove()
[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/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 …]

12345678910>>...83