Home
last modified time | relevance | path

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

12345678910>>...86

/third_party/node/test/fixtures/wpt/user-timing/
Dmark.any.js6 function match_entries(entries, index) argument
8 var entry = entries[index];
38 const entries = self.performance.getEntriesByName("mark");
39 assert_equals(entries.length, 1);
48 const entries = self.performance.getEntriesByName("mark");
49 assert_equals(entries.length, 2);
55 const entries = self.performance.getEntriesByName("mark");
56 assert_equals(entries[index].name, "mark", "Entry has the proper name");
60 const entries = self.performance.getEntriesByName("mark");
61 assert_approx_equals(entries[index].startTime, expectedTimes[index], testThreshold);
[all …]
/third_party/libexif/libexif/fuji/
Dexif-mnote-data-fuji.c45 if (n->entries) { in exif_mnote_data_fuji_clear()
47 if (n->entries[i].data) { in exif_mnote_data_fuji_clear()
48 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_fuji_clear()
49 n->entries[i].data = NULL; in exif_mnote_data_fuji_clear()
51 exif_mem_free (d->mem, n->entries); in exif_mnote_data_fuji_clear()
52 n->entries = NULL; in exif_mnote_data_fuji_clear()
77 return mnote_fuji_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_fuji_get_value()
115 exif_set_short (*buf + o + 0, n->order, (ExifShort) n->entries[i].tag); in exif_mnote_data_fuji_save()
116 exif_set_short (*buf + o + 2, n->order, (ExifShort) n->entries[i].format); in exif_mnote_data_fuji_save()
117 exif_set_long (*buf + o + 4, n->order, n->entries[i].components); in exif_mnote_data_fuji_save()
[all …]
/third_party/libexif/libexif/canon/
Dexif-mnote-data-canon.c46 if (n->entries) { in exif_mnote_data_canon_clear()
48 if (n->entries[i].data) { in exif_mnote_data_canon_clear()
49 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_canon_clear()
50 n->entries[i].data = NULL; in exif_mnote_data_canon_clear()
52 exif_mem_free (d->mem, n->entries); in exif_mnote_data_canon_clear()
53 n->entries = NULL; in exif_mnote_data_canon_clear()
74 to = from + mnote_canon_entry_count_values (&dc->entries[*m]); in exif_mnote_data_canon_get_tags()
92 return mnote_canon_entry_get_value (&dc->entries[m], s, val, maxlen); in exif_mnote_data_canon_get_value()
107 …if (n->entries[i].components && (n->entries[i].size/n->entries[i].components < exif_format_get_siz… in exif_mnote_data_canon_set_byte_order()
109 n->entries[i].order = o; in exif_mnote_data_canon_set_byte_order()
[all …]
/third_party/libexif/libexif/apple/
Dexif-mnote-data-apple.c42 if (d->entries) { in exif_mnote_data_apple_free()
44 if (d->entries[i].data) { in exif_mnote_data_apple_free()
45 exif_mem_free(md->mem, d->entries[i].data); in exif_mnote_data_apple_free()
48 exif_mem_free(md->mem, d->entries); in exif_mnote_data_apple_free()
49 d->entries = NULL; in exif_mnote_data_apple_free()
107 d->entries = exif_mem_alloc(md->mem, sizeof(MnoteAppleEntry) * tcount); in exif_mnote_data_apple_load()
108 if (!d->entries) { in exif_mnote_data_apple_load()
113 memset(d->entries, 0, sizeof(MnoteAppleEntry) * tcount); in exif_mnote_data_apple_load()
121 d->entries[i].tag = exif_get_short(buf + ofs, d->order); in exif_mnote_data_apple_load()
122 d->entries[i].format = exif_get_short(buf + ofs + 2, d->order); in exif_mnote_data_apple_load()
[all …]
/third_party/parse5/packages/parse5/lib/parser/
Dformatting-element-list.test.ts24 assert.strictEqual(list.entries.length, 1);
25 assert.strictEqual(list.entries[0].type, EntryType.Marker);
28 assert.strictEqual(list.entries.length, 2);
29 assert.strictEqual(list.entries[0].type, EntryType.Marker);
40 assert.strictEqual(list.entries.length, 1);
41 assert.strictEqual(list.entries[0].type, EntryType.Element as const);
42 assert.strictEqual(list.entries[0].element, element1);
43 assert.strictEqual(list.entries[0].token, element1Token);
46 assert.strictEqual(list.entries.length, 2);
47 assert.strictEqual(list.entries[0].type, EntryType.Element);
[all …]
Dformatting-element-list.ts28 entries: Entry<T>[] = []; property in FormattingElementList
46 for (let i = 0; i < this.entries.length; i++) {
47 const entry = this.entries[i];
71 if (this.entries.length < NOAH_ARK_CAPACITY) return;
91 this.entries.splice(candidate.idx, 1);
99 this.entries.unshift(MARKER);
105 this.entries.unshift({
113 const bookmarkIdx = this.entries.indexOf(this.bookmark!);
115 this.entries.splice(bookmarkIdx, 0, {
123 const entryIndex = this.entries.indexOf(entry);
[all …]
/third_party/rust/crates/rustix/tests/fs/
Dreaddir.rs16 let entries = read_entries(&mut dir); in dir_entries() localVariable
17 assert_eq!(entries.len(), 0, "no files in directory"); in dir_entries()
21 let entries = read_entries(&mut dir); in dir_entries() localVariable
23 entries.get("file1").is_some(), in dir_entries()
25 entries in dir_entries()
27 assert_eq!(entries.len(), 1); in dir_entries()
30 let entries = read_entries(&mut dir); in dir_entries() localVariable
32 entries.get("file1").is_some(), in dir_entries()
34 entries in dir_entries()
37 entries.get("file2").is_some(), in dir_entries()
[all …]
/third_party/libexif/libexif/pentax/
Dexif-mnote-data-pentax.c41 if (n->entries) { in exif_mnote_data_pentax_clear()
43 if (n->entries[i].data) { in exif_mnote_data_pentax_clear()
44 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_pentax_clear()
45 n->entries[i].data = NULL; in exif_mnote_data_pentax_clear()
47 exif_mem_free (d->mem, n->entries); in exif_mnote_data_pentax_clear()
48 n->entries = NULL; in exif_mnote_data_pentax_clear()
68 return mnote_pentax_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_pentax_get_value()
167 (ExifShort) (n->entries[i].tag - base)); in exif_mnote_data_pentax_save()
169 (ExifShort) n->entries[i].format); in exif_mnote_data_pentax_save()
171 n->entries[i].components); in exif_mnote_data_pentax_save()
[all …]
/third_party/typescript/tests/baselines/reference/
DuseObjectValuesAndEntries1.js8 var entries = Object.entries(o); // [string, number][]
11 var entries1 = Object.entries(1); // [string, any][]
14 var entries2 = Object.entries({ a: true, b: 2 }); // [string, number|boolean][]
17 var entries3 = Object.entries({}); // [string, {}][]
21 var entries4 = Object.entries(a); // [string, string][]
25 var entries5 = Object.entries(E); // [string, any][]
30 var entries6 = Object.entries(i); // [string, any][]
39 var entries = Object.entries(o); // [string, number][]
41 var entries1 = Object.entries(1); // [string, any][]
43 var entries2 = Object.entries({ a: true, b: 2 }); // [string, number|boolean][]
[all …]
DuseObjectValuesAndEntries1.types23 var entries = Object.entries(o); // [string, number][]
24 >entries : [string, number][]
25 >Object.entries(o) : [string, number][]
26 >Object.entries : { <T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][]; (o: {}): [string, an…
28 >entries : { <T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][]; (o: {}): [string, any][]; }
39 var entries1 = Object.entries(1); // [string, any][]
41 >Object.entries(1) : [string, any][]
42 >Object.entries : { <T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][]; (o: {}): [string, an…
44 >entries : { <T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][]; (o: {}): [string, any][]; }
55 var entries2 = Object.entries({ a: true, b: 2 }); // [string, number|boolean][]
[all …]
DuseObjectValuesAndEntries1.symbols19 var entries = Object.entries(o); // [string, number][]
20 >entries : Symbol(entries, Decl(useObjectValuesAndEntries1.ts, 6, 3))
21 >Object.entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.…
23 >entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.es2017.…
33 var entries1 = Object.entries(1); // [string, any][]
35 >Object.entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.…
37 >entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.es2017.…
45 var entries2 = Object.entries({ a: true, b: 2 }); // [string, number|boolean][]
47 >Object.entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.…
49 >entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.es2017.…
[all …]
DmappedTypeGenericIndexedAccess.types26 entries: { [T in keyof Types]?: Types[T][] };
27 >entries : { first?: { a1: true; }[] | undefined; second?: { a2: true; }[] | undefined; third?: { a…
30 this.entries = {};
31 >this.entries = {} : {}
32 >this.entries : { first?: { a1: true; }[] | undefined; second?: { a2: true; }[] | undefined; third?…
34 >entries : { first?: { a1: true; }[] | undefined; second?: { a2: true; }[] | undefined; third?: { a…
43 if (!this.entries[name]) {
44 >!this.entries[name] : boolean
45 >this.entries[name] : { first?: { a1: true; }[] | undefined; second?: { a2: true; }[] | undefined; …
46 >this.entries : { first?: { a1: true; }[] | undefined; second?: { a2: true; }[] | undefined; third?…
[all …]
DmappedTypeGenericIndexedAccess.symbols23 entries: { [T in keyof Types]?: Types[T][] };
24 >entries : Symbol(Test.entries, Decl(mappedTypeGenericIndexedAccess.ts, 8, 12))
31 this.entries = {};
32 >this.entries : Symbol(Test.entries, Decl(mappedTypeGenericIndexedAccess.ts, 8, 12))
34 >entries : Symbol(Test.entries, Decl(mappedTypeGenericIndexedAccess.ts, 8, 12))
47 if (!this.entries[name]) {
48 >this.entries : Symbol(Test.entries, Decl(mappedTypeGenericIndexedAccess.ts, 8, 12))
50 >entries : Symbol(Test.entries, Decl(mappedTypeGenericIndexedAccess.ts, 8, 12))
53 this.entries[name] = [];
54 >this.entries : Symbol(Test.entries, Decl(mappedTypeGenericIndexedAccess.ts, 8, 12))
[all …]
/third_party/pulseaudio/src/tests/
Dhashmap-test.c88 struct int_entry entries[1000]; in START_TEST() local
92 entries[i].key = i; in START_TEST()
93 entries[i].value = i; in START_TEST()
99 pa_hashmap_put(map, &entries[i].key, &entries[i]); in START_TEST()
121 struct int_entry entries[1000]; in START_TEST() local
127 entries[i].key = i; in START_TEST()
129 entries[i].value = i; in START_TEST()
136 if ((put_ret = pa_hashmap_put(map, &entries[i].key, &entries[i])) != 0) { in START_TEST()
137 …k_abort_msg("Unexpected failure putting k=%d v=%d into the map", entries[i].key, entries[i].value); in START_TEST()
173 struct int_entry entries[1000]; in START_TEST() local
[all …]
/third_party/node/test/parallel/
Dtest-perf-hooks-resourcetiming.js93 const entries = performance.getEntries(); constant
94 assert.strictEqual(entries.length, 1);
95 assert(entries[0] instanceof PerformanceResourceTiming);
99 const entries = performance.getEntriesByType('resource'); constant
100 assert.strictEqual(entries.length, 1);
101 assert(entries[0] instanceof PerformanceResourceTiming);
105 const entries = performance.getEntriesByName(resource.name); constant
106 assert.strictEqual(entries.length, 1);
107 assert(entries[0] instanceof PerformanceResourceTiming);
232 const entries = performance.getEntries(); constant
[all …]
Dtest-whatwg-url-custom-searchparams-entries.js8 const entries = params.entries(); constant
9 assert.strictEqual(typeof entries[Symbol.iterator], 'function');
10 assert.strictEqual(entries[Symbol.iterator](), entries);
11 assert.deepStrictEqual(entries.next(), {
15 assert.deepStrictEqual(entries.next(), {
19 assert.deepStrictEqual(entries.next(), {
23 assert.deepStrictEqual(entries.next(), {
29 entries.next.call(undefined);
36 params.entries.call(undefined);
/third_party/libexif/libexif/olympus/
Dexif-mnote-data-olympus.c53 if (n->entries) { in exif_mnote_data_olympus_clear()
55 if (n->entries[i].data) { in exif_mnote_data_olympus_clear()
56 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_olympus_clear()
57 n->entries[i].data = NULL; in exif_mnote_data_olympus_clear()
59 exif_mem_free (d->mem, n->entries); in exif_mnote_data_olympus_clear()
60 n->entries = NULL; in exif_mnote_data_olympus_clear()
85 return mnote_olympus_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_olympus_get_value()
198 (ExifShort) (n->entries[i].tag - base)); in exif_mnote_data_olympus_save()
200 (ExifShort) n->entries[i].format); in exif_mnote_data_olympus_save()
202 n->entries[i].components); in exif_mnote_data_olympus_save()
[all …]
/third_party/toybox/toys/posix/
Dxargs.c42 long entries, bytes;
67 if (TT.n && TT.entries >= TT.n)
82 if (entry) entry[TT.entries] = save;
83 ++TT.entries;
89 if ((TT.s && TT.bytes >= TT.s) || (TT.n && TT.entries >= TT.n)) return data;
90 if (entry) entry[TT.entries] = data;
91 TT.entries++;
100 int entries, bytes, done = 0, ran_once = 0, status; in xargs_main() local
122 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++) in xargs_main()
123 bytes += strlen(toys.optargs[entries]); in xargs_main()
[all …]
/third_party/rust/crates/nix/src/
Dmacros.rs107 entries: [$($entries:tt)*],
113 $($entries)*
123 entries: [$($entries:tt)*],
131 $($entries)*
152 $entries:tt,
161 entries: $entries,
174 $entries:tt,
183 entries: $entries,
194 [$($entries:tt)*],
203 $($entries)*
[all …]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_validate.c58 struct pb_validate_entry *entries; member
84 struct pb_validate_entry *entry = &vl->entries[entry_idx - 1]; in pb_validate_add_buffer()
103 new_entries = (struct pb_validate_entry *)REALLOC(vl->entries, in pb_validate_add_buffer()
112 vl->entries = new_entries; in pb_validate_add_buffer()
115 assert(!vl->entries[vl->used].buf); in pb_validate_add_buffer()
116 pb_reference(&vl->entries[vl->used].buf, buf); in pb_validate_add_buffer()
117 vl->entries[vl->used].flags = flags; in pb_validate_add_buffer()
135 ret = callback(vl->entries[i].buf, data); in pb_validate_foreach()
150 ret = pb_validate(vl->entries[i].buf, vl, vl->entries[i].flags); in pb_validate_validate()
153 pb_validate(vl->entries[i].buf, NULL, 0); in pb_validate_validate()
[all …]
/third_party/node/deps/v8/tools/system-analyzer/
Dindex.mjs105 let entries = [entry];
108 entries = entries.concat(entry.entries);
111 entries = this._state.icTimeline.filter(each => each.map === entry);
114 if (entry.map) entries.push(entry.map);
117 // TODO select map + code entries
118 if (entry.fileSourcePosition) entries.push(entry.fileSourcePosition);
121 entries = entry.entries.concat(entry.sourcePositions);
132 entries.push(entry.sourcePosition);
133 // TODO: find the matching Code log entries.
135 this.selectEntries(entries);
[all …]
/third_party/node/test/fixtures/wpt/performance-timeline/
Dpo-takeRecords.any.js8 let entries = observer.takeRecords();
9 checkEntries(entries, [], 'No records before observe');
12 entries = observer.takeRecords();
13 checkEntries(entries, [], 'No records just from observe');
16 entries = observer.takeRecords();
17 checkEntries(entries, [
24 entries = observer.takeRecords();
25 checkEntries(entries, [
30 entries = observer.takeRecords();
31 checkEntries(entries, [], 'No entries right after takeRecords');
/third_party/mesa3d/src/mapi/
Dmapi_abi.py181 entries = sorted(entry_dict.values())
183 return entries
185 def abi_sanity_check(entries): argument
186 if not entries:
190 last_slot = entries[-1].slot
193 if entries[i].slot != slot:
195 if entries[i].alias:
197 % (slot, entries[i].alias.name))
199 while i < len(entries) and entries[i].slot == slot:
200 ent = entries[i]
[all …]
/third_party/mesa3d/src/util/tests/
Dset_test.cpp39 EXPECT_EQ(s->entries, 2); in TEST()
42 EXPECT_EQ(s->entries, 2); in TEST()
49 EXPECT_EQ(s->entries, 1); in TEST()
55 EXPECT_EQ(s->entries, 0); in TEST()
63 EXPECT_EQ(s->entries, 2); in TEST()
64 unsigned count = s->entries; in TEST()
67 EXPECT_EQ(s->entries, count--); in TEST()
70 EXPECT_EQ(s->entries, 0); in TEST()
97 EXPECT_EQ(s->entries, 2); in TEST()
100 EXPECT_EQ(clone->entries, 2); in TEST()
[all …]
/third_party/protobuf/js/compatibility_tests/v3.1.0/
Dmaps_test.js48 function checkMapEquals(map, entries) { argument
50 assertEquals(arr.length, entries.length);
52 assertElementsEquals(arr[i], entries[i]);
151 var entries = toArray(msg.getMapStringMsgMap().entries());
152 assertEquals(entries.length, 2);
153 entries.forEach(function(entry) {
186 var it = m.entries();
270 var entries = [
275 var msg = new msgInfo.constructor([entries]);
276 assertEquals(entries.length, 3);
[all …]

12345678910>>...86