Home
last modified time | relevance | path

Searched full:foreach (Results 1 – 25 of 2652) sorted by relevance

12345678910>>...107

/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
Dokp_importKey_failures.js31 allTestVectors.forEach(function(vector) {
83 …pt", "sign", "verify", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"].forEach(function(usage) {
91 illegalUsages.forEach(function(illegalUsage) {
93 goodUsageCombinations.forEach(function(usageCombination) {
122 testVectors.forEach(function(vector) {
124 validKeyData.forEach(function(test) {
125 allAlgorithmSpecifiersFor(name).forEach(function(algorithm) {
126 … invalidUsages(validUsages(vector, test.format, test.data)).forEach(function(usages) {
127 [true, false].forEach(function(extractable) {
137 testVectors.forEach(function(vector) {
[all …]
/third_party/node/test/parallel/
Dtest-stream-forEach.js11 // forEach works on synchronous streams with a synchronous predicate
15 await stream.forEach((value) => assert.strictEqual(value, result.shift()));
20 // forEach works an asynchronous streams
27 await stream.forEach((value) => assert.strictEqual(value, result.shift()));
32 // forEach works on asynchronous streams with a asynchronous forEach fn
39 await stream.forEach(async (value) => {
47 // forEach works on an infinite stream
54 assert.rejects(stream.forEach(common.mustCall((x) => {
62 // Emitting an error during `forEach`
64 assert.rejects(stream.forEach(async (x) => {
[all …]
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-validators.js51 ].forEach((val) => assert.throws(() => validateInt32(val, 'name'), {
56 ].forEach((val) => assert.throws(() => validateInt32(val, 'name'), {
61 ].forEach((val) => validateInt32(val, 'name'));
64 ].forEach((val) => assert.throws(() => validateUint32(val, 'name'), {
69 ].forEach((val) => assert.throws(() => validateUint32(val, 'name'), {
74 ].forEach((val) => validateUint32(val, 'name'));
83 .forEach((val) => {
100 [undefined, null, 0, 0.0, 42, '', 'string', {}, []].forEach((val) => {
117 .forEach((val) => {
144 ].forEach((i) => assert.throws(() => validateString(i, 'name'), {
[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 …]
/third_party/protobuf/js/experimental/benchmarks/code_size/apps_jspb/
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 …]
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 …]
/third_party/typescript/tests/baselines/reference/
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 …]
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 …]
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, --, --))
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) => …
/third_party/node/test/fixtures/wpt/WebCryptoAPI/generateKey/
Dfailures.js45 allTestVectors.forEach(function(vector) {
93 [64, 127, 129, 255, 257, 512].forEach(function(length) {
97 [new Uint8Array([1]), new Uint8Array([1,0,0])].forEach(function(publicExponent) {
101 ["P-512", "Curve25519"].forEach(function(curveName) {
119 …pt", "sign", "verify", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"].forEach(function(usage) {
127 illegalUsages.forEach(function(illegalUsage) {
129 goodUsageCombinations.forEach(function(usageCombination) {
160 badAlgorithmNames.forEach(function(algorithm) {
162 .forEach(function(usages) {
163 [false, true, "RED", 7].forEach(function(extractable){
[all …]
/third_party/node/deps/openssl/config/
Dopenssl.gypi.tmpl4 %%- foreach $src (@libssl_srcs) {
7 foreach $src (@libcrypto_srcs) {
11 %%- foreach $src (@generated_srcs) {
15 %%- foreach $define (@{$config{defines}}) {
18 foreach $define (@lib_cppflags) {
21 foreach $define (@{$target{defines}}) {
24 foreach $define (@{lib_defines}) {
27 foreach $define (@{$config{lib_defines}}) {
31 %%- foreach $cflag (@cflags) {
Dopenssl-cl.gypi.tmpl4 %%- foreach $define (@{$config{defines}}) {
7 foreach $define (@lib_cppflags) {
10 foreach $define (@{$target{defines}}) {
13 foreach $define (@{lib_defines}) {
16 foreach $define (@{$config{lib_defines}}) {
20 %%- foreach $cflag (@cflags) {
27 %%- foreach $src (@apps_openssl_srcs) {
36 foreach $src (@libapps_srcs) {
Dopenssl-fips.gypi.tmpl4 %%- foreach $src (@libfips_srcs) {
9 %%- foreach $src (@generated_srcs) {
14 %%- foreach $define (@{$config{defines}}) {
17 foreach $define (@lib_cppflags) {
20 foreach $define (@{$target{defines}}) {
23 foreach $define (@{libfips_defines}) {
26 foreach $define (@{$config{libfips_defines}}) {
30 %%- foreach $cflag (@cflags) {
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
DVariable.hpp59 // foreach() calls cb with each of the variables in the container, while cb
61 // foreach() will return when cb returns false.
62 inline void foreach(const ForeachCallback &cb);
64 // foreach() calls cb with each of the variables in the container within the
66 // foreach() will return when cb returns false.
67 virtual void foreach(size_t startIndex, size_t count, const ForeachCallback &cb) = 0;
87 void Variables::foreach(const ForeachCallback &cb) in foreach() function in vk::dbg::Variables
89 foreach(0, std::numeric_limits<size_t>::max(), cb); in foreach()
98 inline void foreach(size_t startIndex, size_t count, const ForeachCallback &cb) override;
120 inline void foreach(ForeachIndex &index, const F &cb);
[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/musl/
DBUILD.gn164 foreach(i, src_files) {
165 foreach(s, musl_src_files_ext) {
173 foreach(s, src_files) {
177 foreach(s, musl_src_files_ext) {
182 foreach(i, src_files) {
183 foreach(s, musl_src_linux_files) {
189 foreach(s, src_files) {
193 foreach(s, musl_src_files_ext) {
284 foreach(file, uspi_files) {
301 foreach(file, uapi_scsi_files) {
[all …]
/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/EGL/sdk/docs/man/xhtml/
Dmaketoc.pl132 foreach (@files)
141 foreach (@funcs)
156 foreach (@files)
175 foreach (@files)
187 foreach (@pageNames)
198 foreach (@realEntrypoints)
205 foreach (@pageNames)
255 foreach (@gl)
274 foreach (@toc)
291 foreach (@gl)
[all …]
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/xhtml/
Dmaketoc.pl132 foreach (@files)
141 foreach (@funcs)
156 foreach (@files)
175 foreach (@files)
187 foreach (@pageNames)
198 foreach (@realEntrypoints)
205 foreach (@pageNames)
255 foreach (@gl)
274 foreach (@toc)
291 foreach (@gl)
[all …]

12345678910>>...107