Home
last modified time | relevance | path

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

/third_party/typescript/src/compiler/
Dcore.ts271 …export function contains<T>(array: readonly T[] | undefined, value: T, equalityComparer: EqualityC…
274 if (equalityComparer(v, value)) {
282 …export function arraysEqual<T>(a: readonly T[], b: readonly T[], equalityComparer: EqualityCompare…
283 return a.length === b.length && a.every((x, i) => equalityComparer(x, b[i]));
748 …function deduplicateRelational<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, comp…
759 if (!equalityComparer(last, item)) {
770 function deduplicateEquality<T>(array: readonly T[], equalityComparer: EqualityComparer<T>) {
773 pushIfUnique(result, item, equalityComparer);
784 …export function deduplicate<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, compare…
787 comparer ? deduplicateRelational(array, equalityComparer, comparer) :
[all …]
Dpath.ts752 … const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer; constant
753 if (!equalityComparer(parentComponents[i], childComponents[i])) {
Dprogram.ts1722 …const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStr… constant
1724 return equalityComparer(file.fileName, getDefaultLibraryFileName());
1727 …return some(options.lib, libFileName => equalityComparer(file.fileName, combinePaths(defaultLibrar…
/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/
Dtsc.js289 function contains(array, value, equalityComparer) { argument
290 if (equalityComparer === void 0) { equalityComparer = equateValues; }
294 if (equalityComparer(v, value)) {
302 function arraysEqual(a, b, equalityComparer) { argument
303 if (equalityComparer === void 0) { equalityComparer = equateValues; }
304 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
702 function deduplicateRelational(array, equalityComparer, comparer) { argument
710 if (!equalityComparer(last, item)) {
718 function deduplicateEquality(array, equalityComparer) { argument
722 pushIfUnique(result, item, equalityComparer);
[all …]
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 …]
DtypescriptServices.js563 function contains(array, value, equalityComparer) { argument
564 if (equalityComparer === void 0) { equalityComparer = equateValues; }
568 if (equalityComparer(v, value)) {
576 function arraysEqual(a, b, equalityComparer) { argument
577 if (equalityComparer === void 0) { equalityComparer = equateValues; }
578 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
988 function deduplicateRelational(array, equalityComparer, comparer) { argument
998 if (!equalityComparer(last, item)) {
1007 function deduplicateEquality(array, equalityComparer) { argument
1011 pushIfUnique(result, item, equalityComparer);
[all …]
Dtsserverlibrary.js563 function contains(array, value, equalityComparer) { argument
564 if (equalityComparer === void 0) { equalityComparer = equateValues; }
568 if (equalityComparer(v, value)) {
576 function arraysEqual(a, b, equalityComparer) { argument
577 if (equalityComparer === void 0) { equalityComparer = equateValues; }
578 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
988 function deduplicateRelational(array, equalityComparer, comparer) { argument
998 if (!equalityComparer(last, item)) {
1007 function deduplicateEquality(array, equalityComparer) { argument
1011 pushIfUnique(result, item, equalityComparer);
[all …]
Dtsserver.js369 function contains(array, value, equalityComparer) { argument
370 if (equalityComparer === void 0) { equalityComparer = equateValues; }
374 if (equalityComparer(v, value)) {
382 function arraysEqual(a, b, equalityComparer) { argument
383 if (equalityComparer === void 0) { equalityComparer = equateValues; }
384 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
794 function deduplicateRelational(array, equalityComparer, comparer) { argument
804 if (!equalityComparer(last, item)) {
813 function deduplicateEquality(array, equalityComparer) { argument
817 pushIfUnique(result, item, equalityComparer);
[all …]
Dtypescript.js563 function contains(array, value, equalityComparer) { argument
564 if (equalityComparer === void 0) { equalityComparer = equateValues; }
568 if (equalityComparer(v, value)) {
576 function arraysEqual(a, b, equalityComparer) { argument
577 if (equalityComparer === void 0) { equalityComparer = equateValues; }
578 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); });
988 function deduplicateRelational(array, equalityComparer, comparer) { argument
998 if (!equalityComparer(last, item)) {
1007 function deduplicateEquality(array, equalityComparer) { argument
1011 pushIfUnique(result, item, equalityComparer);
[all …]