/third_party/typescript/tests/baselines/reference/ |
H A D | jsDeclarationsTypeReferences4.js | 5 export class Something {} 9 export const Something = 2; // to show conflict that can occur 14 const Something = require("fs").Something; 15 const thing = new Something(); 25 exports.A = exports.Something = void 0;
27 exports.Something = 2; // to show conflict that can occur
34 var Something = require("fs").Something;
35 var thing = new Something();
[all...] |
H A D | jsDeclarationsTypeReferences.js | 5 export class Something {} 10 const Something = require("fs").Something; 12 const thing = new Something(); 21 var Something = require("fs").Something;
variable 22 var thing = new Something();
30 export const thing: Something;
32 import Something = Something_1.Something;
[all...] |
H A D | jsDeclarationsTypeReferences3.js | 5 export class Something {} 10 const Something = require("fs").Something; 13 thing: new Something() 19 var Something = require("fs").Something;
variable 22 thing: new Something()
30 const thing: Something;
34 import Something = Something_1.Something;
[all...] |
H A D | defaultDeclarationEmitDefaultImport.js | 4 export function getSomething(): Something { return null as any } 5 export default class Something {}
17 var Something = /** @class */ (function () {
18 function Something() {
20 return Something;
22 exports["default"] = Something;
32 export declare function getSomething(): Something;
33 export default class Something {
|
H A D | defaultDeclarationEmitShadowedNamedCorrectly.js | 17 export namespace Something { 25 exports.Something = exports.make = void 0;
37 var Something;
variable 38 (function (Something) {
40 Something.create = make(me["default"]);
41 })(Something = exports.Something || (exports.Something = {}));
60 export declare namespace Something {
|
H A D | mappedTypesAndObjects.js | 30 interface Something { name: string, value: string }; 32 foo: Partial<Something>; // or other mapped type 84 interface Something {
89 foo: Partial<Something>;
|
H A D | decoratedClassExportsCommonJS1.js | 2 declare var Something: any; 3 @Something({ v: () => Testing123 }) 24 Something({ v: () => Testing123_1 })
|
H A D | decoratedClassExportsCommonJS2.js | 3 declare var Something: any; 4 @Something({ v: () => Testing123 }) 21 Something({ v: () => Testing123_1 })
|
H A D | typeVariableConstraintedToAliasNotAssignableToUnion.js | 8 interface Something { 18 declare let aStringOrSomething: string | Something; 19 declare let someUnion: Something | SomethingElse;
|
H A D | conditionalTypesExcessProperties.js | 2 type Something<T> = { test: string } & (T extends object ? { 8 function testFunc2<A extends object>(a: A, sa: Something<A>) {
|
/third_party/skia/experimental/tskit/bindings/ |
H A D | core.cpp | 11 class Something { class 13 Something(std::string n): fName(n) {} in Something() function in Something 43 * The Something class is quite something. See SkSomething.h for more. in EMSCRIPTEN_BINDINGS() 45 class_<Something>("Something") in EMSCRIPTEN_BINDINGS() 47 * Returns a Something with the provided name. in EMSCRIPTEN_BINDINGS() 50 TS_EXPORT("new(name: string): Something") in EMSCRIPTEN_BINDINGS() 56 .function("getName", &Something::getName) in EMSCRIPTEN_BINDINGS() 58 .function("_setName", &Something::setName); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/experimental/tskit/go/gen_types/testdata/ |
H A D | bindings1.cpp | 29 * The Something class is quite something. See SkSomething.h for more. in EMSCRIPTEN_BINDINGS() 31 class_<Something>("Something") in EMSCRIPTEN_BINDINGS() 33 * Returns a Something with the provided name. in EMSCRIPTEN_BINDINGS() 36 TS_EXPORT("new(name: string): Something") in EMSCRIPTEN_BINDINGS() 42 .function("getName", &Something::getName) in EMSCRIPTEN_BINDINGS() 44 .function("_setName", &Something::setName); in EMSCRIPTEN_BINDINGS() 53 * Returns a Something with the provided name. in EMSCRIPTEN_BINDINGS() 57 TS_EXPORT("new(name: string, thing: Something): AnotherClass") in EMSCRIPTEN_BINDINGS() 58 .constructor<std::string,Something>() in EMSCRIPTEN_BINDINGS() [all...] |
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testpatch.py | 42 something = sentinel.Something 98 class Something(object): class 101 @patch.object(Something, 'attribute', sentinel.Patched) 103 self.assertEqual(Something.attribute, sentinel.Patched, "unpatched") 106 self.assertEqual(Something.attribute, sentinel.Original, 110 msg = "'Something' must be the actual object to be patched, not a str" 112 patch.object('Something', 'do_something') 115 class Something(object): class 118 @patch.object(Something, 'attribute', None) 120 self.assertIsNone(Something 128 class Something(object): global() class 447 class Something(object): global() class 469 class Something(object): global() class 495 class Something(object): global() class 813 class Something(object): global() class 831 class Something(object): global() class [all...] |
H A D | testwith.py | 9 something = sentinel.Something 21 self.assertEqual(something, sentinel.Something) 29 self.assertEqual(something, sentinel.Something) 37 self.assertEqual(something, sentinel.Something) 56 self.assertEqual(something, sentinel.Something) 64 self.assertEqual(something, sentinel.Something) 99 self.assertEqual(something, sentinel.Something, "not restored") 110 self.assertEqual(something, sentinel.Something)
|
H A D | testmock.py | 31 class Something(object): class 242 mock(sentinel.Something, something=sentinel.SomethingElse) 423 mock = Mock(spec=Something().meth) 425 mock = Mock(spec=Something.cmeth) 427 mock = Mock(spec=Something().cmeth) 429 mock = Mock(spec=Something.smeth) 431 mock = Mock(spec=Something().smeth) 577 class Something(object): class 598 test_attributes(Mock(spec=Something)) 599 test_attributes(Mock(spec=Something())) 1447 class Something: global() class 2221 class Something: global() class [all...] |
/third_party/skia/experimental/tskit/build/ |
H A D | externs.js | 11 Module.Something = {
|
/third_party/node/deps/v8/tools/release/ |
H A D | test_scripts.py | 704 Revert "Something" 747 Cmd("git log -1 --format=%s ab56789", "Revert \"Something\""), 752 Cmd("git log -1 ab56789", "Revert \"Something\"\nBUG=none"), 844 Merged: Revert \"Something\" 884 Cmd("git log -1 --format=%s ab56789", "Revert \"Something\""), 889 Cmd("git log -1 ab56789", "Revert \"Something\"\nBUG=none"),
|
/third_party/skia/modules/skparagraph/src/ |
H A D | OneLineShaper.h | 67 Something, enumerator 121 // TODO: Something that is not thead-safe since we don't need it
|
H A D | OneLineShaper.cpp | 543 resolved = Resolved::Something; 550 if (resolved == Resolved::Something) { 777 return Resolved::Something;
|
/third_party/python/Lib/test/ |
H A D | test_positional_only_arg.py | 307 class Something: class 312 assert Something().method().__annotations__ == {'x': int}
|
H A D | test_inspect.py | 2015 class Something(Base): class 2022 instance = Something() 2025 self.assertEqual(inspect.getattr_static(Something, 'foo'), 3) 2036 class Something(Base, metaclass=Meta): class 2039 self.assertEqual(inspect.getattr_static(Something(), 'foo'), 3) 2040 self.assertEqual(inspect.getattr_static(Something, 'foo'), 3)
|
H A D | test_typing.py | 131 class Something: pass class 132 self.assertFalse(issubclass(Something, Any)) 133 self.assertNotIsInstance(Something(), Mock) 135 class MockSomething(Something, Mock): pass 139 self.assertIsInstance(ms, Something) 5451 BadModule.__module__ = 'bad' # Something not in sys.modules
|
/third_party/libevdev/ |
H A D | configure | 15683 as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
/third_party/skia/third_party/externals/libpng/ |
H A D | configure | 15519 as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
/third_party/eudev/ |
H A D | configure | 21424 as_fn_error $? "Something went wrong bootstrapping makefile fragments
|