Home
last modified time | relevance | path

Searched refs:equalityComparer (Results 1 – 9 of 9) sorted by relevance

/third_party/typescript/src/compiler/
Dcore.ts227 …export function contains<T>(array: readonly T[] | undefined, value: T, equalityComparer: EqualityC…
230 if (equalityComparer(v, value)) {
238 …export function arraysEqual<T>(a: readonly T[], b: readonly T[], equalityComparer: EqualityCompare…
239 return a.length === b.length && a.every((x, i) => equalityComparer(x, b[i]));
704 …function deduplicateRelational<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, comp…
715 if (!equalityComparer(last, item)) {
726 function deduplicateEquality<T>(array: readonly T[], equalityComparer: EqualityComparer<T>) {
729 pushIfUnique(result, item, equalityComparer);
740 …export function deduplicate<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, compare…
743 comparer ? deduplicateRelational(array, equalityComparer, comparer) :
[all …]
Dpath.ts755 … const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer; constant
756 if (!equalityComparer(parentComponents[i], childComponents[i])) {
Dprogram.ts2040 …const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStr… constant
2042 return equalityComparer(file.fileName, getDefaultLibraryFileName());
2045 …return some(options.lib, libFileName => equalityComparer(file.fileName, pathForLibFile(libFileName…
/third_party/typescript/tests/baselines/reference/
DgenericClassPropertyInheritanceSpecialization.types12 equalityComparer(a: T, b: T): boolean;
13 >equalityComparer : (a: T, b: T) => boolean
DgenericClassPropertyInheritanceSpecialization.symbols24 equalityComparer(a: T, b: T): boolean;
25 >equalityComparer : Symbol(KnockoutObservable.equalityComparer, Decl(genericClassPropertyInheritanc…
DgenericClassPropertyInheritanceSpecialization.js9 equalityComparer(a: T, b: T): boolean;
/third_party/typescript/tests/cases/compiler/
DgenericClassPropertyInheritanceSpecialization.ts8 equalityComparer(a: T, b: T): boolean; method
/third_party/typescript/lib/
DtypingsInstaller.js358 function contains(array, value, equalityComparer) { argument
359 if (equalityComparer === void 0) { equalityComparer = equateValues; }
363 if (equalityComparer(v, value)) {
371 function arraysEqual(a, b, equalityComparer) { argument
372 if (equalityComparer === void 0) { equalityComparer = equateValues; }
373 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
783 function deduplicateRelational(array, equalityComparer, comparer) { argument
793 if (!equalityComparer(last, item)) {
802 function deduplicateEquality(array, equalityComparer) { argument
806 pushIfUnique(result, item, equalityComparer);
[all …]
Dtsc.js294 function contains(array, value, equalityComparer) { argument
295 if (equalityComparer === void 0) { equalityComparer = equateValues; }
299 if (equalityComparer(v, value)) {
307 function arraysEqual(a, b, equalityComparer) { argument
308 if (equalityComparer === void 0) { equalityComparer = equateValues; }
309 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
707 function deduplicateRelational(array, equalityComparer, comparer) { argument
715 if (!equalityComparer(last, item)) {
723 function deduplicateEquality(array, equalityComparer) { argument
727 pushIfUnique(result, item, equalityComparer);
[all …]