Home
last modified time | relevance | path

Searched refs:forEach (Results 1 – 25 of 1496) sorted by relevance

12345678910>>...60

/third_party/protobuf/js/experimental/benchmarks/code_size/apps_jspb/
Dall_types_proto3.js31 [true].forEach((e) => msgPackedTypes.addPackedBool(e));
33 [true].forEach((e) => msgAllTypes.addRepeatedBool(e));
35 ['1'].forEach((e) => msgAllTypes.addRepeatedBytes(e));
37 [1.0].forEach((e) => msgPackedTypes.addPackedDouble(e));
39 [1.0].forEach((e) => msgAllTypes.addRepeatedDouble(e));
41 [1].forEach((e) => msgPackedTypes.addPackedFixed32(e));
43 [1].forEach((e) => msgAllTypes.addRepeatedFixed32(e));
45 [1].forEach((e) => msgPackedTypes.addPackedFixed64(e));
47 [1].forEach((e) => msgAllTypes.addRepeatedFixed64(e));
49 [1.0].forEach((e) => msgPackedTypes.addPackedFloat(e));
[all …]
Dall_types_proto2.js31 [true].forEach((e) => msgPackedTypes.addPackedBool(e));
33 [true].forEach((e) => msgAllTypes.addRepeatedBool(e));
35 ['1'].forEach((e) => msgAllTypes.addRepeatedBytes(e));
37 [1.0].forEach((e) => msgPackedTypes.addPackedDouble(e));
39 [1.0].forEach((e) => msgAllTypes.addRepeatedDouble(e));
41 [1].forEach((e) => msgPackedTypes.addPackedFixed32(e));
43 [1].forEach((e) => msgAllTypes.addRepeatedFixed32(e));
45 [1].forEach((e) => msgPackedTypes.addPackedFixed64(e));
47 [1].forEach((e) => msgAllTypes.addRepeatedFixed64(e));
49 [1.0].forEach((e) => msgPackedTypes.addPackedFloat(e));
[all …]
/third_party/node/test/parallel/
Dtest-buffer-writeint.js38 ['', '0', null, {}, [], () => {}, true, false].forEach((off) => {
44 [NaN, Infinity, -1, 1.01].forEach((off) => {
76 ['writeInt16BE', 'writeInt16LE'].forEach((fn) => {
89 ['', '0', null, {}, [], () => {}, true, false].forEach((off) => {
95 [NaN, Infinity, -1, 1.01].forEach((off) => {
138 ['writeInt32BE', 'writeInt32LE'].forEach((fn) => {
151 ['', '0', null, {}, [], () => {}, true, false].forEach((off) => {
157 [NaN, Infinity, -1, 1.01].forEach((off) => {
185 ['writeIntBE', 'writeIntLE'].forEach((fn) => {
186 ['', '0', null, {}, [], () => {}, true, false, undefined].forEach((bl) => {
[all …]
Dtest-buffer-readuint.js10 ['UInt8', 'UInt16BE', 'UInt16LE', 'UInt32BE', 'UInt32LE'].forEach((fn) => {
16 ['', '0', null, {}, [], () => {}, true, false].forEach((o) => {
25 [Infinity, -1, -4294967295].forEach((offset) => {
34 [NaN, 1.01].forEach((offset) => {
101 ['readUIntBE', 'readUIntLE'].forEach((fn) => {
102 ['', '0', null, {}, [], () => {}, true, false, undefined].forEach((len) => {
108 [Infinity, -1].forEach((byteLength) => {
118 [NaN, 1.01].forEach((byteLength) => {
132 ['readUIntBE', 'readUIntLE'].forEach((fn) => {
133 ['', '0', null, {}, [], () => {}, true, false, undefined].forEach((o) => {
[all …]
Dtest-buffer-writeuint.js14 ['UInt8', 'UInt16BE', 'UInt16LE', 'UInt32BE', 'UInt32LE'].forEach((fn) => {
20 ['', '0', null, {}, [], () => {}, true, false].forEach((o) => {
26 [NaN, Infinity, -1, 1.01].forEach((o) => {
87 ['writeUInt16BE', 'writeUInt16LE'].forEach((fn) => {
140 ['writeUIntBE', 'writeUIntLE'].forEach((fn) => {
141 ['', '0', null, {}, [], () => {}, true, false, undefined].forEach((bl) => {
147 [Infinity, -1].forEach((byteLength) => {
158 [NaN, 1.01].forEach((byteLength) => {
176 ['writeUIntBE', 'writeUIntLE'].forEach((fn) => {
186 ['', '0', null, {}, [], () => {}, true, false].forEach((o) => {
[all …]
Dtest-buffer-readint.js10 ['Int8', 'Int16BE', 'Int16LE', 'Int32BE', 'Int32LE'].forEach((fn) => {
16 ['', '0', null, {}, [], () => {}, true, false].forEach((o) => {
25 [Infinity, -1, -4294967295].forEach((offset) => {
34 [NaN, 1.01].forEach((offset) => {
133 ['readIntBE', 'readIntLE'].forEach((fn) => {
134 ['', '0', null, {}, [], () => {}, true, false, undefined].forEach((len) => {
140 [Infinity, -1].forEach((byteLength) => {
150 [NaN, 1.01].forEach((byteLength) => {
164 ['readIntBE', 'readIntLE'].forEach((fn) => {
165 ['', '0', null, {}, [], () => {}, true, false, undefined].forEach((o) => {
[all …]
Dtest-cluster-basic.js32 function forEach(obj, fn) { function
33 Object.keys(obj).forEach((name, index) => {
82 forEach(checks.cluster.events, (bool, name, index) => {
114 forEach(checks.worker.events, function(bool, name, index) {
152 forEach(checks.cluster.events, (check, name) => {
158 forEach(checks.cluster.equal, (check, name) => {
164 forEach(checks.worker.states, (check, name) => {
170 forEach(checks.worker.events, (check, name) => {
176 forEach(checks.worker.equal, (check, name) => {
Dtest-fs-read-stream-throw-type-error.js33 [123, 0, true, false].forEach((opts) =>
38 [{}, { start: 0 }, { end: Infinity }].forEach((opts) =>
47 ].forEach((opts) => createReadStreamErr(example, opts, typeError));
50 [{ start: NaN }, { end: NaN }, { start: NaN, end: NaN }].forEach((opts) =>
55 [{ start: -1 }, { end: -1 }, { start: -1, end: -1 }].forEach((opts) =>
60 [{ start: 0.1 }, { end: 0.1 }, { start: 0.1, end: 0.1 }].forEach((opts) =>
75 ].forEach((opts) =>
/third_party/node/deps/npm/node_modules/es-abstract/test/
Dtests.js5 var forEach = require('foreach'); variable
52 forEach(v.primitives, testPrimitive);
87 forEach([0, -0, NaN], function (falsyNumber) {
90 forEach([Infinity, 42, 1, -Infinity], function (truthyNumber) {
101 forEach(v.objects, function (obj) {
120 forEach([0, -0, 42, Infinity, -Infinity], function (num) {
123 forEach(['foo', '0', '4a', '2.0', 'Infinity', '-Infinity'], function (numString) {
130 forEach(v.objects, function (object) {
175 forEach(nonWhitespaces, function (desc, nonWS) {
182 forEach(v.symbols, function (symbol) {
[all …]
Des5.js6 var forEach = require('foreach'); variable
31 forEach(primitives, testPrimitive);
58 forEach([0, -0, NaN], function (falsyNumber) {
61 forEach([Infinity, 42, 1, -Infinity], function (truthyNumber) {
66 forEach(objects, function (obj) {
79 forEach([0, -0, 42, Infinity, -Infinity], function (num) {
82 forEach(['foo', '0', '4a', '2.0', 'Infinity', '-Infinity'], function (numString) {
85 forEach(objects, function (object) {
94 forEach([0, Infinity, 42], function (num) {
105 forEach([0, Infinity], function (num) {
[all …]
/third_party/typescript/tests/baselines/reference/
DautoLift2.symbols24 [1, 2].forEach((p) => this.foo);
25 >[1, 2].forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
26 >forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
30 [1, 2].forEach((p) => this.bar);
31 >[1, 2].forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
32 >forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
DcovariantCallbacks.types51 forEach(cb: (item: A) => void): void;
52 >forEach : (cb: (item: A) => void) => void
58 forEach(cb: (item: B) => void): void;
59 >forEach : (cb: (item: B) => void) => void
81 forEach(cb: (item: A) => boolean): void;
82 >forEach : (cb: (item: A) => boolean) => void
88 forEach(cb: (item: A) => void): void;
89 >forEach : (cb: (item: A) => void) => void
111 forEach(cb: (item: A) => void): void;
112 >forEach : (cb: (item: A) => void) => void
[all …]
DcovariantCallbacks.symbols64 forEach(cb: (item: A) => void): void;
65 >forEach : Symbol(AList1.forEach, Decl(covariantCallbacks.ts, 19, 18))
74 forEach(cb: (item: B) => void): void;
75 >forEach : Symbol(BList1.forEach, Decl(covariantCallbacks.ts, 23, 18))
100 forEach(cb: (item: A) => boolean): void;
101 >forEach : Symbol(AList2.forEach, Decl(covariantCallbacks.ts, 32, 18))
110 forEach(cb: (item: A) => void): void;
111 >forEach : Symbol(BList2.forEach, Decl(covariantCallbacks.ts, 36, 18))
136 forEach(cb: (item: A) => void): void;
137 >forEach : Symbol(AList3.forEach, Decl(covariantCallbacks.ts, 45, 18))
[all …]
DcontextualTypingOfGenericFunctionTypedArguments1.symbols23 forEach<T>(c: Collection<T>, f: (x: T) => Date): void;
24 >forEach : Symbol(Combinators.forEach, Decl(contextualTypingOfGenericFunctionTypedArguments1.ts, 6,…
51 var r5 = _.forEach<number>(c2, f);
53 >_.forEach : Symbol(Combinators.forEach, Decl(contextualTypingOfGenericFunctionTypedArguments1.ts, …
55 >forEach : Symbol(Combinators.forEach, Decl(contextualTypingOfGenericFunctionTypedArguments1.ts, 6,…
59 var r6 = _.forEach<number>(c2, (x) => { return x.toFixed() });
61 >_.forEach : Symbol(Combinators.forEach, Decl(contextualTypingOfGenericFunctionTypedArguments1.ts, …
63 >forEach : Symbol(Combinators.forEach, Decl(contextualTypingOfGenericFunctionTypedArguments1.ts, 6,…
DcontextualTypingOfGenericFunctionTypedArguments1.types16 forEach<T>(c: Collection<T>, f: (x: T) => Date): void;
17 >forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void
39 var r5 = _.forEach<number>(c2, f);
41 >_.forEach<number>(c2, f) : void
42 >_.forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void
44 >forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void
48 var r6 = _.forEach<number>(c2, (x) => { return x.toFixed() });
50 >_.forEach<number>(c2, (x) => { return x.toFixed() }) : void
51 >_.forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void
53 >forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void
DcovariantCallbacks.js22 forEach(cb: (item: A) => void): void;
26 forEach(cb: (item: B) => void): void;
35 forEach(cb: (item: A) => boolean): void;
39 forEach(cb: (item: A) => void): void;
48 forEach(cb: (item: A) => void): void;
52 forEach(cb: (item: A, context: any) => void): void;
61 forEach(cb: (item: A) => A): void;
65 forEach(cb: (item: B) => B): void;
DautoLift2.types38 [1, 2].forEach((p) => this.foo);
39 >[1, 2].forEach((p) => this.foo) : void
40 >[1, 2].forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: a…
44 >forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => …
51 [1, 2].forEach((p) => this.bar);
52 >[1, 2].forEach((p) => this.bar) : void
53 >[1, 2].forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: a…
57 >forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => …
DcovariantCallbacks.errors.txt6 Types of property 'forEach' are incompatible.
12 Types of property 'forEach' are incompatible.
16 Types of property 'forEach' are incompatible.
20 Types of property 'forEach' are incompatible.
55 forEach(cb: (item: A) => void): void;
59 forEach(cb: (item: B) => void): void;
67 !!! error TS2322: Types of property 'forEach' are incompatible.
75 forEach(cb: (item: A) => boolean): void;
79 forEach(cb: (item: A) => void): void;
87 !!! error TS2322: Types of property 'forEach' are incompatible.
[all …]
/third_party/node/deps/npm/node_modules/safer-buffer/
Dtests.js23 [index, safer, dangerous].forEach(function (impl) {
27 [buffer].forEach(function (impl) {
35 [index, safer, dangerous].forEach(function (impl) {
49 [index, safer, dangerous].forEach(function (impl) {
57 [index, safer].forEach(function (impl) {
61 [dangerous].forEach(function (impl) {
69 ['poolSize', 'isBuffer', 'concat', 'byteLength'].forEach(function (method) {
70 [index, safer, dangerous].forEach(function (impl) {
79 Object.keys(buffer).forEach(function (method) {
81 [index, safer, dangerous].forEach(function (impl) {
[all …]
/third_party/node/deps/npm/node_modules/yargs-parser/
Dindex.js57 ;[].concat(opts.array).filter(Boolean).forEach(function (opt) {
78 ;[].concat(opts.boolean).filter(Boolean).forEach(function (key) {
83 ;[].concat(opts.string).filter(Boolean).forEach(function (key) {
88 ;[].concat(opts.number).filter(Boolean).forEach(function (key) {
93 ;[].concat(opts.count).filter(Boolean).forEach(function (key) {
98 ;[].concat(opts.normalize).filter(Boolean).forEach(function (key) {
103 Object.keys(opts.narg || {}).forEach(function (k) {
108 Object.keys(opts.coerce || {}).forEach(function (k) {
114 ;[].concat(opts.config).filter(Boolean).forEach(function (key) {
118 Object.keys(opts.config || {}).forEach(function (k) {
[all …]
/third_party/jerryscript/tests/jerry/
Darray-prototype-foreach.js22 array.forEach(f);
27 obj.forEach = Array.prototype.forEach;
30 obj.forEach(f);
41 obj.forEach = Array.prototype.forEach
44 obj.forEach(f);
/third_party/typescript/tests/cases/conformance/types/typeRelationships/assignmentCompatibility/
DcovariantCallbacks.ts24 forEach(cb: (item: A) => void): void; method
28 forEach(cb: (item: B) => void): void; method
37 forEach(cb: (item: A) => boolean): void; method
41 forEach(cb: (item: A) => void): void; method
50 forEach(cb: (item: A) => void): void; method
54 forEach(cb: (item: A, context: any) => void): void; method
63 forEach(cb: (item: A) => A): void; method
67 forEach(cb: (item: B) => B): void; method
/third_party/node/deps/npm/node_modules/yargs/lib/
Dvalidation.js62 Object.keys(demandedOptions).forEach((key) => {
71 Object.keys(missing).forEach((key) => {
95 Object.keys(argv).forEach((key) => {
106 argv._.slice(currentContext.commands.length).forEach((key) => {
145 Object.keys(argv).forEach((key) => {
148 [].concat(argv[key]).forEach((value) => {
163 invalidKeys.forEach((key) => {
208 Object.keys(key).forEach((k) => {
217 value.forEach((i) => self.implies(key, i))
249 Object.keys(implied).forEach((key) => {
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dmap-prototype-foreach.js26 map.forEach (function (value, key) {
44 map.forEach (function (value, key) {
65 map.forEach (function (value, key) {
76 Map.prototype.forEach.call ({}); method in Map
84 map.forEach (5);
92 map.forEach (function (value, key) {
106 map.forEach (function (value, key) {
115 map.forEach(function(value, key, thisArg) {
Dset-iterators.js17 methods.forEach(function (method) {
26 methods.forEach(function (method) {
37 methods.forEach(function(method) {
41 methods.forEach(function (method) {
50 methods.forEach(function (method) {
67 iterators.forEach(function(element) {
79 iterators.forEach(function(element) {
95 iterators.forEach(function(element) {
114 s.forEach(function(element) {

12345678910>>...60