Home
last modified time | relevance | path

Searched refs:flat2 (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc312 auto* flat2 = Flat(2000); in TEST() local
313 auto* concat = ref.NeedsUnref(Concat(flat1, flat2)); in TEST()
318 SizeOf(concat) + SizeOf(flat1) + SizeOf(flat2); in TEST()
331 auto* flat2 = Flat(2000); in TEST() local
335 auto* concat1 = Concat(flat1, flat2); in TEST()
342 SizeOf(flat2) + SizeOf(flat3) + in TEST()
359 auto* flat2 = ref.Ref(Flat(2000), 4); in TEST() local
363 auto* concat1 = Concat(flat1, flat2); in TEST()
370 SizeOf(flat2) + SizeOf(flat3) + in TEST()
387 auto* flat2 = Flat(2000); in TEST() local
[all …]
Dcord_rep_consume_test.cc160 CordRepFlat* flat2 = CreateFlatWithLength(20); in TEST() local
161 CordRepConcat* concat = CreateConcat(flat1, flat2); in TEST()
164 EXPECT_CALL(consume, Call(flat2, 5, 10)); in TEST()
166 EXPECT_TRUE(flat2->refcount.IsOne()); in TEST()
167 CordRep::Unref(flat2); in TEST()
/third_party/typescript/tests/baselines/reference/
DrecursiveTypeReferences1.js54 declare function flat2<T>(a: Array<T | Array<T | Array<T>>>): Array<T>;
69 flat2([1, [2, [3]]]); // number[]
70 flat2([[[0]]]); // number[]
71 flat2([1, 'a', [2]]); // (string | number)[]
72 flat2([1, [2, 'a']]); // (string | number)[]
73 flat2([1, ['a']]); // Error
181 flat2([1, [2, [3]]]); // number[]
182 flat2([[[0]]]); // number[]
183 flat2([1, 'a', [2]]); // (string | number)[]
184 flat2([1, [2, 'a']]); // (string | number)[]
[all …]
DrecursiveTypeReferences1.types194 declare function flat2<T>(a: Array<T | Array<T | Array<T>>>): Array<T>;
195 >flat2 : <T>(a: Array<T | Array<T | Array<T>>>) => Array<T>
302 flat2([1, [2, [3]]]); // number[]
303 >flat2([1, [2, [3]]]) : number[]
304 >flat2 : <T>(a: (T | (T | T[])[])[]) => T[]
312 flat2([[[0]]]); // number[]
313 >flat2([[[0]]]) : number[]
314 >flat2 : <T>(a: (T | (T | T[])[])[]) => T[]
320 flat2([1, 'a', [2]]); // (string | number)[]
321 >flat2([1, 'a', [2]]) : (string | number)[]
[all …]
DrecursiveTypeReferences1.symbols189 declare function flat2<T>(a: Array<T | Array<T | Array<T>>>): Array<T>;
190 >flat2 : Symbol(flat2, Decl(recursiveTypeReferences1.ts, 51, 59))
235 flat2([1, [2, [3]]]); // number[]
236 >flat2 : Symbol(flat2, Decl(recursiveTypeReferences1.ts, 51, 59))
238 flat2([[[0]]]); // number[]
239 >flat2 : Symbol(flat2, Decl(recursiveTypeReferences1.ts, 51, 59))
241 flat2([1, 'a', [2]]); // (string | number)[]
242 >flat2 : Symbol(flat2, Decl(recursiveTypeReferences1.ts, 51, 59))
244 flat2([1, [2, 'a']]); // (string | number)[]
245 >flat2 : Symbol(flat2, Decl(recursiveTypeReferences1.ts, 51, 59))
[all …]
DrecursiveTypeReferences1.errors.txt71 declare function flat2<T>(a: Array<T | Array<T | Array<T>>>): Array<T>;
90 flat2([1, [2, [3]]]); // number[]
91 flat2([[[0]]]); // number[]
92 flat2([1, 'a', [2]]); // (string | number)[]
93 flat2([1, [2, 'a']]); // (string | number)[]
94 flat2([1, ['a']]); // Error
/third_party/typescript/tests/cases/conformance/types/typeRelationships/recursiveTypes/
DrecursiveTypeReferences1.ts56 declare function flat2<T>(a: Array<T | Array<T | Array<T>>>): Array<T>;
71 flat2([1, [2, [3]]]); // number[]
72 flat2([[[0]]]); // number[]
73 flat2([1, 'a', [2]]); // (string | number)[]
74 flat2([1, [2, 'a']]); // (string | number)[]
75 flat2([1, ['a']]); // Error
/third_party/ffmpeg/libavcodec/mips/
Dvp9_lpf_msa.c628 v16u8 flat, flat2, filter8; in vp9_hz_lpf_t16_16w() local
646 VP9_FLAT5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, flat, flat2); in vp9_hz_lpf_t16_16w()
649 if (__msa_test_bz_v(flat2)) { in vp9_hz_lpf_t16_16w()
699 p6 = __msa_bmnz_v(p6, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
719 p5 = __msa_bmnz_v(p5, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
739 p4 = __msa_bmnz_v(p4, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
759 p3 = __msa_bmnz_v(p3, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
780 filter8 = __msa_bmnz_v(filter8, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
801 filter8 = __msa_bmnz_v(filter8, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
822 filter8 = __msa_bmnz_v(filter8, (v16u8) r_out, flat2); in vp9_hz_lpf_t16_16w()
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-string.cc191 String::FlatContent flat2 = str2->GetFlatContent(no_gc); in BUILTIN() local
194 if (flat1.Get(i) != flat2.Get(i)) { in BUILTIN()
195 return Smi::FromInt(flat1.Get(i) - flat2.Get(i)); in BUILTIN()
/third_party/node/deps/v8/src/objects/
Dstring.cc1123 String::FlatContent flat2 = two->GetFlatContent(no_gc); in SlowEquals() local
1125 if (flat1.IsOneByte() && flat2.IsOneByte()) { in SlowEquals()
1127 flat2.ToOneByteVector().begin(), one_length); in SlowEquals()
1128 } else if (flat1.IsTwoByte() && flat2.IsTwoByte()) { in SlowEquals()
1130 flat2.ToUC16Vector().begin(), one_length); in SlowEquals()
1131 } else if (flat1.IsOneByte() && flat2.IsTwoByte()) { in SlowEquals()
1133 flat2.ToUC16Vector().begin(), one_length); in SlowEquals()
1134 } else if (flat1.IsTwoByte() && flat2.IsOneByte()) { in SlowEquals()
1136 flat2.ToOneByteVector().begin(), one_length); in SlowEquals()
Dintl-objects.cc1362 const String::FlatContent& flat2 = string2->GetFlatContent(no_gc); in TryFastCompareStrings() local
1363 if (!FastCompareStringFlatContent(flat1, flat2, common_length, &d)) { in TryFastCompareStrings()
1372 !CharIsAsciiOrOutOfBounds(flat2, length2, d.processed_until + 1)) { in TryFastCompareStrings()
1386 !CharCanFastCompareOrOutOfBounds(flat2, length2, common_length)) { in TryFastCompareStrings()