Home
last modified time | relevance | path

Searched refs:something (Results 1 - 25 of 69) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
H A DunionReductionMutualSubtypes.js5 something(): void;
8 const k: ReturnVal = { something() { } }
11 function run(options: { something?(b?: string): void }) {
12 const something = options.something ?? val.something;
13 something('');
20 var k = { something: function () { } };
23 var something = (_a = options.something) !
[all...]
H A DexportSpecifiers.js4 import { type, as, something, foo, bar } from "./exports.js";
7 something; // Error (used in emitting position)
14 const something = 0;
17 export { type something };
20 export type { type something as whatever }; // Error
26 var something = 0; variable
32 something; // Error (used in emitting position)
40 declare const something = 0;
43 export { type something };
46 export type { type something a
[all...]
H A DunionTypeReduction2.js56 something(): void;
59 const k: ReturnVal = { something() { } }
62 function run(options: { something?(b?: string): void }) {
63 const something = options.something ?? val.something;
64 something('');
105 var k = { something: function () { } };
108 var something = (_a = options.something) !
[all...]
H A DcheckSuperCallBeforeThisAccess.js58 constructor(something: boolean) {
59 if (!something) {
71 constructor(something: boolean) {
72 if (something) {
139 constructor(something) {
140 if (!something) {
151 constructor(something) {
152 if (something) {
H A DunionAndIntersectionInference1.js7 something: a | Y,
11 return something === y ? haveY(y) : haveValue(<a>something);
103 function destructure(something, haveValue, haveY) {
104 return something === y ? haveY(y) : haveValue(something);
H A DdeeplyNestedAssignabilityIssue.js7 something: {
20 something: {
35 something: {
H A DcontextuallyTypedStringLiteralsInJsxAttributes01.js7 something?: any;
33 something?: any;
H A DprivateNameInLhsReceiverExpression.js4 static something(obj: { [key: string]: Test }) {
29 static something(obj) {
/third_party/typescript/tests/baselines/reference/tsbuild/outfile-concat/
H A DstripInternal-when-one-two-three-are-prepended-in-order.js86 /*@internal*/ export namespace someOther.something { export class someClass {} }
95 /*@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
229 namespace someOther.something {
249 declare namespace internalOther.something {
634 >>> namespace someOther.something {
646 5 > something
876 >>>declare namespace internalOther.something {
888 5 > something
1071 > console.log("something go
[all...]
H A DstripInternal-jsdoc-style-comment.js86 /**@internal*/ export namespace someOther.something { export class someClass {} }
95 /**@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
200 namespace someOther.something {
220 declare namespace internalOther.something {
485 >>> namespace someOther.something {
497 5 > something
727 >>>declare namespace internalOther.something {
739 5 > something
922 > console.log("something go
[all...]
H A DstripInternal-with-comments-emit-enabled.js86 /*@internal*/ export namespace someOther.something { export class someClass {} }
95 /*@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
200 namespace someOther.something {
220 declare namespace internalOther.something {
485 >>> namespace someOther.something {
497 5 > something
727 >>>declare namespace internalOther.something {
739 5 > something
922 > console.log("something go
[all...]
H A DstripInternal-jsdoc-style-with-comments-emit-enabled.js86 /**@internal*/ export namespace someOther.something { export class someClass {} }
95 /**@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
200 /**@internal*/ namespace someOther.something {
220 /**@internal*/ declare namespace internalOther.something {
537 >>> /**@internal*/ namespace someOther.something {
553 7 > something
827 >>>/**@internal*/ declare namespace internalOther.something {
843 7 > something
1052 > console.log("something go
[all...]
H A DstripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js86 /**@internal*/ export namespace someOther.something { export class someClass {} }
95 /**@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
209 namespace someOther.something {
229 declare namespace internalOther.something {
614 >>> namespace someOther.something {
626 5 > something
856 >>>declare namespace internalOther.something {
868 5 > something
1051 > console.log("something go
[all...]
H A DstripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js86 /*@internal*/ export namespace someOther.something { export class someClass {} }
95 /*@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
209 namespace someOther.something {
229 declare namespace internalOther.something {
614 >>> namespace someOther.something {
626 5 > something
856 >>>declare namespace internalOther.something {
868 5 > something
1051 > console.log("something go
[all...]
H A DstripInternal.js86 /*@internal*/ export namespace someOther.something { export class someClass {} }
95 /*@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
220 namespace someOther.something {
240 declare namespace internalOther.something {
505 >>> namespace someOther.something {
517 5 > something
747 >>>declare namespace internalOther.something {
759 5 > something
942 > console.log("something go
[all...]
H A DstripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js86 /**@internal*/ export namespace someOther.something { export class someClass {} }
95 /**@internal*/ namespace internalOther.something { export class someClass {} }
104 console.log("something got done");
209 /**@internal*/ namespace someOther.something {
229 /**@internal*/ declare namespace internalOther.something {
672 >>> /**@internal*/ namespace someOther.something {
688 7 > something
962 >>>/**@internal*/ declare namespace internalOther.something {
978 7 > something
1187 > console.log("something go
[all...]
/third_party/python/Lib/unittest/test/testmock/
H A Dtestwith.py9 something = sentinel.Something variable
19 with patch('%s.something' % __name__, sentinel.Something2):
20 self.assertEqual(something, sentinel.Something2, "unpatched")
21 self.assertEqual(something, sentinel.Something)
26 with patch('%s.something' % __name__, sentinel.Something2):
27 self.assertEqual(something, sentinel.Something2, "unpatched")
29 self.assertEqual(something, sentinel.Something)
33 with patch('%s.something' % __name__) as mock_something:
34 self.assertEqual(something, mock_something, "unpatched")
37 self.assertEqual(something, sentine
42 something = 'foo' global() variable in WithTest.test_patch_object_with_statement.Foo
[all...]
H A Dtestmock.py47 def something(a): pass function
240 spec = ["something"]
242 mock(sentinel.Something, something=sentinel.SomethingElse)
243 something = mock.something
244 mock.something()
272 self.assertEqual(mock._mock_children, {'something': something},
274 self.assertEqual(mock.something, something,
[all...]
H A Dtestpatch.py42 something = sentinel.Something variable
148 global something
149 original = something
150 @patch('%s.something' % __name__, sentinel.Something2)
155 something = sentinel.replacement_value
157 self.assertEqual(something, sentinel.replacement_value)
159 something = original
163 @patch('%s.something' % __name__, sentinel.Something2)
165 self.assertEqual(PTModule.something, sentinel.Something2,
169 self.assertEqual(PTModule.something, sentine
219 something = sentinel.Original global() variable in PatchTest.test_patchobject_with_default_mock.Test
[all...]
/third_party/typescript/tests/baselines/reference/tsc/incremental/
H A Dwhen-global-file-is-added,-the-signatures-are-updated.js24 function something() { return 10; } function
90 declare function something(): number;
94 function something() { return 10; }
109 {"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// <reference path=\"./filePresent.ts\"/>\n/// <reference path=\"./fileNotFound.ts\"/>\nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// <reference path=\"filePresent.d.ts\" />\r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-21256825585-/// <reference path=\"./filePresent.ts\"/>\n/// <reference path=\"./fileNotFound.ts\"/>\nfunction main() { }\n","signature":"-7575087679-/// <reference path=\"filePresent.d.ts\" />\r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"}
134 "version": "-12346563362-function something() { return 10; }",
135 "signature": "-2893492081-declare function something(): number;\r\n",
222 something();
265 something();
269 {"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { retur
[all...]
/third_party/PyYAML/examples/pygments-lexer/
H A Dyaml.py32 def something(TokenClass): function
219 (r'[ ]*$', something(Text.Blank), '#pop:2'),
231 (r'[ ]*(?=#|$)', something(Text.Blank), '#pop'),
242 something(Literal.Scalar.Plain),
296 something(Literal.Scalar.Plain),
386 (r'^(?=---|\.\.\.)', something(Punctuation.Document), '#pop:3'),
394 (r'[ ]*(?=:[ ]|:$)', something(Text.Blank), '#pop'),
411 (r'[ ]*(?=[,:?\[\]{}])', something(Text.Blank), '#pop'),
/third_party/popt/tests/
H A Dtestit.sh47 run test1 "test1 - 3" "arg1: 1 arg2: something" --arg1 --arg2 something
61 run test1 "test1 - 16" "arg1: 1 arg2: (none) rest: foo --arg2 something" --arg1 foo --arg2 something
64 run test1 "test1 - 17" "arg1: 1 arg2: (none) rest: foo --arg2 something" --arg1 foo --arg2 something
69 run test1 "test1 - 21" "--arg2 something" -T something -e
70 run test1 "test1 - 22" "--arg2 something more args" -T something
[all...]
/third_party/eudev/src/shared/
H A Dtime-util.c98 bool something = false; in format_timespan() local
126 if (t < accuracy && something) in format_timespan()
182 something = true; in format_timespan()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_threads.py47 await asyncio.to_thread(func, 'test', something=True)
49 func.assert_called_once_with('test', something=True)
/third_party/node/test/js-native-api/test_string/
H A Dtest_null.c34 static const char16_t something[] = { variable
47 DECLARE_TEST(utf8, "something")
48 DECLARE_TEST(latin1, "something")
49 DECLARE_TEST(utf16, something) in DECLARE_TEST()

Completed in 40 milliseconds

123