Home
last modified time | relevance | path

Searched refs:mod2 (Results 1 – 25 of 72) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DcheckExportsObjectAssignProperty.symbols74 import m2 = require("./mod2");
78 >m2.thing : Symbol(m2.thing, Decl(mod2.js, 0, 0))
80 >thing : Symbol(m2.thing, Decl(mod2.js, 0, 0))
83 >m2.readonlyProp : Symbol(m2.readonlyProp, Decl(mod2.js, 0, 81))
85 >readonlyProp : Symbol(m2.readonlyProp, Decl(mod2.js, 0, 81))
88 >m2.rwAccessors : Symbol(m2.rwAccessors, Decl(mod2.js, 1, 91))
90 >rwAccessors : Symbol(m2.rwAccessors, Decl(mod2.js, 1, 91))
93 >m2.readonlyAccessor : Symbol(m2.readonlyAccessor, Decl(mod2.js, 2, 104))
95 >readonlyAccessor : Symbol(m2.readonlyAccessor, Decl(mod2.js, 2, 104))
98 >m2.setonlyAccessor : Symbol(m2.setonlyAccessor, Decl(mod2.js, 3, 86))
[all …]
DtypedefCrossModule3.symbols1 === tests/cases/conformance/jsdoc/mod2.js ===
4 >ns : Symbol(ns, Decl(mod2.js, 1, 5), Decl(mod2.js, 1, 14))
7 >ns.Foo : Symbol(Foo, Decl(mod2.js, 1, 14), Decl(mod2.js, 0, 4))
8 >ns : Symbol(ns, Decl(mod2.js, 1, 5), Decl(mod2.js, 1, 14))
9 >Foo : Symbol(Foo, Decl(mod2.js, 1, 14), Decl(mod2.js, 0, 4))
12 >module.exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
13 >module : Symbol(export=, Decl(mod2.js, 2, 17))
14 >exports : Symbol(export=, Decl(mod2.js, 2, 17))
15 >ns : Symbol(ns, Decl(mod2.js, 1, 5), Decl(mod2.js, 1, 14))
DnodeModulesSynchronousCallErrors(module=node16).types13 import mod2 = require("./index.js");
14 >mod2 : typeof mod2
26 >mod4 : { default: typeof mod2; f(): Promise<void>; }
27 >await import ("./index.js") : { default: typeof mod2; f(): Promise<void>; }
28 >import ("./index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
47 import mod2 = require("./subfolder/index.js");
48 >mod2 : typeof mod2
60 >mod4 : { default: typeof mod2; f(): Promise<void>; }
61 >await import ("./subfolder/index.js") : { default: typeof mod2; f(): Promise<void>; }
62 >import ("./subfolder/index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
DnodeModulesAllowJsSynchronousCallErrors(module=nodenext).types13 import mod2 = require("./index.js");
14 >mod2 : typeof mod2
26 >mod4 : { default: typeof mod2; f(): Promise<void>; }
27 >await import ("./index.js") : { default: typeof mod2; f(): Promise<void>; }
28 >import ("./index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
47 import mod2 = require("./subfolder/index.js");
48 >mod2 : typeof mod2
60 >mod4 : { default: typeof mod2; f(): Promise<void>; }
61 >await import ("./subfolder/index.js") : { default: typeof mod2; f(): Promise<void>; }
62 >import ("./subfolder/index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
DnodeModulesSynchronousCallErrors(module=nodenext).types13 import mod2 = require("./index.js");
14 >mod2 : typeof mod2
26 >mod4 : { default: typeof mod2; f(): Promise<void>; }
27 >await import ("./index.js") : { default: typeof mod2; f(): Promise<void>; }
28 >import ("./index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
47 import mod2 = require("./subfolder/index.js");
48 >mod2 : typeof mod2
60 >mod4 : { default: typeof mod2; f(): Promise<void>; }
61 >await import ("./subfolder/index.js") : { default: typeof mod2; f(): Promise<void>; }
62 >import ("./subfolder/index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
DnodeModulesAllowJsSynchronousCallErrors(module=node16).types13 import mod2 = require("./index.js");
14 >mod2 : typeof mod2
26 >mod4 : { default: typeof mod2; f(): Promise<void>; }
27 >await import ("./index.js") : { default: typeof mod2; f(): Promise<void>; }
28 >import ("./index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
47 import mod2 = require("./subfolder/index.js");
48 >mod2 : typeof mod2
60 >mod4 : { default: typeof mod2; f(): Promise<void>; }
61 >await import ("./subfolder/index.js") : { default: typeof mod2; f(): Promise<void>; }
62 >import ("./subfolder/index.js") : Promise<{ default: typeof mod2; f(): Promise<void>; }>
DnodeModulesSynchronousCallErrors(module=nodenext).symbols13 import mod2 = require("./index.js");
14 >mod2 : Symbol(mod2, Decl(index.ts, 3, 35))
25 >"./index.js" : Symbol(mod2, Decl(index.ts, 0, 0))
42 import mod2 = require("./subfolder/index.js");
43 >mod2 : Symbol(mod2, Decl(index.ts, 3, 39))
54 >"./subfolder/index.js" : Symbol(mod2, Decl(index.ts, 0, 0))
DnodeModulesSynchronousCallErrors(module=node16).symbols13 import mod2 = require("./index.js");
14 >mod2 : Symbol(mod2, Decl(index.ts, 3, 35))
25 >"./index.js" : Symbol(mod2, Decl(index.ts, 0, 0))
42 import mod2 = require("./subfolder/index.js");
43 >mod2 : Symbol(mod2, Decl(index.ts, 3, 39))
54 >"./subfolder/index.js" : Symbol(mod2, Decl(index.ts, 0, 0))
DnodeModulesAllowJsSynchronousCallErrors(module=node16).symbols13 import mod2 = require("./index.js");
14 >mod2 : Symbol(mod2, Decl(index.js, 3, 35))
25 >"./index.js" : Symbol(mod2, Decl(index.js, 0, 0))
42 import mod2 = require("./subfolder/index.js");
43 >mod2 : Symbol(mod2, Decl(index.js, 3, 39))
54 >"./subfolder/index.js" : Symbol(mod2, Decl(index.js, 0, 0))
DnodeModulesAllowJsSynchronousCallErrors(module=nodenext).symbols13 import mod2 = require("./index.js");
14 >mod2 : Symbol(mod2, Decl(index.js, 3, 35))
25 >"./index.js" : Symbol(mod2, Decl(index.js, 0, 0))
42 import mod2 = require("./subfolder/index.js");
43 >mod2 : Symbol(mod2, Decl(index.js, 3, 39))
54 >"./subfolder/index.js" : Symbol(mod2, Decl(index.js, 0, 0))
DtypeReferenceDirectives9.symbols1 === /mod2.ts ===
3 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
8 >cls : Symbol(cls, Decl(mod2.ts, 3, 12))
9 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
12 >foo : Symbol(foo, Decl(mod2.ts, 4, 12))
14 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
18 >bar : Symbol(bar, Decl(mod2.ts, 5, 12))
20 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
DtypeReferenceDirectives12.symbols1 === /mod2.ts ===
3 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
8 >cls : Symbol(cls, Decl(mod2.ts, 3, 12))
9 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
12 >foo : Symbol(foo, Decl(mod2.ts, 4, 12))
14 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
18 >bar : Symbol(bar, Decl(mod2.ts, 5, 12))
20 >Cls : Symbol(Cls, Decl(mod2.ts, 0, 8))
DtypedefTagWrapping.symbols24 === tests/cases/conformance/jsdoc/mod2.js ===
39 >check : Symbol(check, Decl(mod2.js, 0, 0))
40 >obj : Symbol(obj, Decl(mod2.js, 13, 15))
43 >obj.boo : Symbol(boo, Decl(mod2.js, 3, 17))
44 >obj : Symbol(obj, Decl(mod2.js, 13, 15))
45 >boo : Symbol(boo, Decl(mod2.js, 3, 17))
46 >obj.num : Symbol(num, Decl(mod2.js, 1, 14))
47 >obj : Symbol(obj, Decl(mod2.js, 13, 15))
48 >num : Symbol(num, Decl(mod2.js, 1, 14))
49 >obj.str : Symbol(str, Decl(mod2.js, 2, 17))
[all …]
DtypedefCrossModule3.errors.txt1 tests/cases/conformance/jsdoc/mod2.js(1,23): error TS2300: Duplicate identifier 'Foo'.
2 tests/cases/conformance/jsdoc/mod2.js(3,4): error TS2300: Duplicate identifier 'Foo'.
5 ==== tests/cases/conformance/jsdoc/mod2.js (2 errors) ====
9 !!! related TS6203 tests/cases/conformance/jsdoc/mod2.js:3:4: 'Foo' was also declared here.
14 !!! related TS6203 tests/cases/conformance/jsdoc/mod2.js:1:23: 'Foo' was also declared here.
DpropertyIdentityWithPrivacyMismatch.types6 import m2 = require('mod2');
13 var x: m2.Foo; // Should be error (mod1.Foo !== mod2.Foo)
46 declare module 'mod2' {
47 >'mod2' : typeof import("mod2")
DmoduleExportsElementAccessAssignment.symbols1 === tests/cases/conformance/jsdoc/mod2.js ===
3 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
9 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
14 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
19 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
24 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
30 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
36 >mod1 : Symbol(mod1, Decl(mod2.js, 0, 5))
DtypeReferenceDirectives11.symbols1 === /mod2.ts ===
3 >foo : Symbol(foo, Decl(mod2.ts, 0, 8))
6 >bar : Symbol(bar, Decl(mod2.ts, 1, 12))
7 >foo : Symbol(foo, Decl(mod2.ts, 0, 8))
DtypeReferenceDirectives8.symbols1 === /mod2.ts ===
3 >foo : Symbol(foo, Decl(mod2.ts, 0, 8))
6 >bar : Symbol(bar, Decl(mod2.ts, 1, 12))
7 >foo : Symbol(foo, Decl(mod2.ts, 0, 8))
DnodeModulesAllowJsSynchronousCallErrors(module=node16).js8 import mod2 = require("./index.js");
19 import mod2 = require("./subfolder/index.js");
43 const mod2 = __require("./subfolder/index.js"); constant
57 const mod2 = require("./index.js"); constant
DnodeModulesAllowJsSynchronousCallErrors(module=nodenext).js8 import mod2 = require("./index.js");
19 import mod2 = require("./subfolder/index.js");
43 const mod2 = __require("./subfolder/index.js"); constant
57 const mod2 = require("./index.js"); constant
DtypedefCrossModule.symbols26 === tests/cases/conformance/jsdoc/mod2.js ===
33 >C : Symbol(C, Decl(mod2.js, 0, 0))
36 >this.p : Symbol(C.p, Decl(mod2.js, 5, 21))
37 >this : Symbol(C, Decl(mod2.js, 0, 0))
38 >p : Symbol(C.p, Decl(mod2.js, 5, 21))
65 /** @type {import('./mod2').Both} */
DpropertyIdentityWithPrivacyMismatch.symbols6 import m2 = require('mod2');
14 var x: m2.Foo; // Should be error (mod1.Foo !== mod2.Foo)
50 declare module 'mod2' {
51 >'mod2' : Symbol("mod2", Decl(propertyIdentityWithPrivacyMismatch_0.ts, 4, 1))
DtypedefCrossModule5.symbols6 === tests/cases/conformance/jsdoc/mod2.js ===
8 >Foo : Symbol(Foo, Decl(mod2.js, 0, 0))
11 >Bar : Symbol(Bar, Decl(mod2.js, 1, 5))
/third_party/icu/icu4c/source/i18n/
Dnumber_padding.cpp62 int32_t Padder::padAndApply(const Modifier &mod1, const Modifier &mod2, in padAndApply() argument
65 int32_t modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
86 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_padding.cpp62 int32_t Padder::padAndApply(const Modifier &mod1, const Modifier &mod2, in padAndApply() argument
65 int32_t modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
86 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()

123