Home
last modified time | relevance | path

Searched full:this (Results 1 – 25 of 8331) sorted by relevance

12345678910>>...334

/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/
DXScroll.js4 * you may not use this file except in compliance with the License.
21 this.type_ = options['type'];
24 this.type_ = 'right';
26 this.barOff_ = 0;
27 this.useScrH_ = false;
30 this.posX_ = x;
31 this.posY_ = y;
32 this.posW_ = w;
33 this.posH_ = h;
34 return this;
[all …]
DXSelect.js4 * you may not use this file except in compliance with the License.
20 this.pm2f_ = X2DFast.gi();
21 this.resetList(list, default_);
22 this.open_ = false;
23 this.nameColor_ = 0xffffffff;
24 this.backgroundColor_ = 0xff313131;
25 this.tmpSelect_ = -1;
26 this.selectCallback = null;
29 this.list_ = list;
30 this.default_ = default_;
[all …]
DXButton.js4 * you may not use this file except in compliance with the License.
20 this.pm2f_ = X2DFast.gi();
21 this.move(x, y, w, h);
22 this.name_ = name;
23 this.touchDown_ = false;
24 this.clicked_ = false;
25 this.rightClicked_ = false;
26 this.disable_ = false;
27 this.nameColor_ = 0xffffffff;
28 this.backgroundColor_ = 0xff487eb8;
[all …]
/arkcompiler/ets_frontend/ts2panda/src/base/
Diterator.ts4 * you may not use this file except in compliance with the License.
39 this.iterRecord = iterRecord;
40 this.iterDone = iterDone;
41 this.iterValue = iterValue;
42 this.pandaGen = pandaGen;
43 this.node = node;
45 this.kind = kind;
49 this.funcBuilder = funcBuilder;
54 let pandaGen = this.pandaGen;
55 let iterator = this.iterRecord.iterator;
[all …]
DtypeSystem.ts4 * you may not use this file except in compliance with the License.
174 this.typeRecorder.addType2Index(node, index);
178 this.typeRecorder.setVariable2Type(variableNode, index);
182 return this.typeRecorder.tryGetTypeIndex(typeNode);
186 return this.typeChecker.getOrCreateRecordForDeclNode(typeNode, variableNode);
190 return this.typeChecker.getOrCreateRecordForTypeNode(typeNode, variableNode);
212 typeIndex = this.getIndexFromTypeArrayBuffer(new PlaceHolderType());
232 this.preservedIndex = this.getIndexFromTypeArrayBuffer(new PlaceHolderType());
236 this.getIndexFromTypeArrayBuffer(new PlaceHolderType());
243 this.userDefinedClassNum = userDefinedClassNum;
[all …]
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/
DIrViewer.js4 * you may not use this file except in compliance with the License.
32 this.t1_ = Date.now();
33 this.fileName_ = fn;
34 this.parser_ = new LogParser(result);
35 this.inited_ = false;
38 this.data_ = result;
39 this.direct_ = null;
40 this.selectPoint_ = [];
41 this.visable_ = null;
43 this.loaded_ = false;
[all …]
/arkcompiler/ets_frontend/ts2panda/src/statement/
DtryStatement.ts4 * you may not use this file except in compliance with the License.
58 this.beginLabel = beginLabel;
59 this.endLabel = endLabel;
63 return this.beginLabel;
67 return this.endLabel;
77 this.catchBeginLabel = catchBeginLabel;
78 this.labelPairs.push(labelPair);
79 this.depth = TryStatement.getcurrentTryStatementDepth();
81 pandaGen.getCatchMap().set(catchBeginLabel, this);
85 return this.labelPairs;
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js8 var s = this && this.__importDefault || function(t) {
105 this && this.__importDefault;
169 i(this, "audioList", _, this);
170 this._dict = {};
171 this._audioSource = null;
174 for (let t = 0; t < this.audioList.length; t++) {
175 const e = this.audioList[t];
176 this._dict[e.name] = e;
178 this._audioSource = this.getComponent(a);
181 const e = this._dict[t];
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
Dpandagen.ts4 * you may not use this file except in compliance with the License.
21 * This file should not contain imports of TypeScipt's AST nodes.
237 this.internalName = internalName;
238 this.node = node;
239 this.parametersCount = parametersCount;
240 this.scope = scope;
241 this.vregisterCache = new VregisterCache();
242 this.setFunctionKind(node);
265 this.funcKind = FunctionKind.FUNCTION;
277 this.funcKind = FunctionKind.ASYNC_GENERATOR_FUNCTION;
[all …]
Dvariable.ts4 * you may not use this file except in compliance with the License.
42 this.name = name;
43 this.vreg = undefined;
44 this.typeIndex = 0;
48 this.vreg = vreg;
49 this.vreg.setTypeIndex(this.typeIndex);
50 this.vreg.setVariableName(this.name);
54 return this.vreg !== undefined;
58 if (!this.vreg) {
61 return this.vreg;
[all …]
DcmdOptions.ts4 * you may not use this file except in compliance with the License.
54 …', type: String, defaultValue: "", description: "specify the record name, this option can only be …
58 …n: "A file containing a list of source files to be compiled. Each line of this file should be cons…
69 if (!this.options) {
72 return this.options["display-typeinfo"];
76 if (!this.options) {
79 return this.options["debug-log"];
83 if (!this.options) {
86 return this.options["dump-assembly"];
90 if (!this.options) {
[all …]
Dpandasm.ts4 * you may not use this file except in compliance with the License.
25 this.attribute = attribute;
34 this.p = params;
35 this.rt = retType;
55 this.o = op;
56 this.r = regs;
57 this.id = ids;
58 this.im = imms;
59 this.l = label;
60 this.d = dbg_pos;
[all …]
Dcompiler.ts4 * you may not use this file except in compliance with the License.
21 * This file should not contain import from irnodes.ts.
141 this.rootNode = node;
142 this.pandaGen = pandaGen;
143 this.compilerDriver = compilerDriver;
144 this.recorder = recorder;
145 this.funcBuilder = new FunctionBuilder(pandaGen);
147 …// At the beginning of function compile, alloc pandagen.local for 4funcObj/newTarget/this/paramete…
148 // maybe no one used this parameter, will get undefined for RA
149 this.scope = this.pandaGen.getScope()!;
[all …]
/arkcompiler/ets_frontend/ts2panda/src/function/
DasyncGeneratorFunctionBuilder.ts4 * you may not use this file except in compliance with the License.
50 this.funcObj = pandaGen.getTemp();
51 this.resumeVal = pandaGen.getTemp();
52 this.resumeType = pandaGen.getTemp();
53 this.beginLabel = new Label();
54 this.endLabel = new Label();
55 this.compiler = compiler;
59 let pg = this.pg;
63 pg.storeAccumulator(node, this.funcObj);
65 pg.label(node, this.beginLabel);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DTypeCreator.ets4 * you may not use this file except in compliance with the License.
49 * Forces creation of `this` creator and creators it depends on
53 if (this.typ == null) {
56 ctx.create(this)
61 return this.typ!
65 * Traverses all types on which this `TypeCreator` depends
86 * Functions that verifies that this can be modified
89 …if (this.typ != null) throw new TypeAPICreateError("type already created, no modifications allowed…
97 if (this.typ != null) {
98 return this.typ!.td
[all …]
DFinalizationQueue.ets4 * you may not use this file except in compliance with the License.
30 this.idxarr = new int[size];
31 this.idxarr[0] = -1; // first elem reserved for useidx head
32 this.enlarge_freeidx(1);
34 this.trimplets = new Object[3 * size];
38 let old_idxarr = this.idxarr;
39 this.idxarr = new int[newsize];
41 this.idxarr[i] = old_idxarr[i];
43 this.enlarge_freeidx(old_idxarr.length);
45 let old_trimplets = this.trimplets;
[all …]
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DXMat4.js4 * you may not use this file except in compliance with the License.
18 this.unit();
22 return this.mat;
25 this.mat = [
31 return this;
36 this.mat[i][j] = m.mat[i][j];
41 this.unit();
44 this.mat[1][1] = _cos;
45 this.mat[1][2] = -_sin;
46 this.mat[2][1] = _sin;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dptr_list_ref.h4 * you may not use this file except in compliance with the License.
78 return (*this);
101 return (*this);
106 ReversePtrListRefIterator tmp = *this;
114 return (*this);
119 ReversePtrListRefIterator tmp = *this;
126 return this->base() == Iterator.base();
131 return !(*this == Iterator);
177 this->ptr = this->ptr->GetNext();
178 return *this;
[all …]
/arkcompiler/ets_frontend/ets2panda/linter-4.2/src/
DTypeScriptLinter.ts4 * you may not use this file except in compliance with the License.
82 this.tsUtils = new TsUtils(this.tsTypeChecker, TypeScriptLinter.testMode);
83 this.currentErrorLine = 0;
84 this.currentWarningLine = 0;
85 this.staticBlocks = new Set<string>();
86this.libraryTypeCallDiagnosticChecker = new LibraryTypeCallDiagnosticChecker(TypeScriptLinter.filt…
89 this.nodeCounters[i] = 0;
90 this.lineCounters[i] = 0;
95 [ts.SyntaxKind.ObjectLiteralExpression, this.handleObjectLiteralExpression],
96 [ts.SyntaxKind.ArrayLiteralExpression, this.handleArrayLiteralExpression],
[all …]
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
Dgeneric_arrayaslist.ets4 * you may not use this file except in compliance with the License.
16 // This contains the initial implementation of the generic ArrayAsList
17 // class. After development into the stdlib, this test can be removed.
40 this.data = new T[capacity];
41 for (let i = 0; i < this.data.length; ++i) {
43 this.curSize = capacity;
47 this.init(capacity, val);
51 this.init(0, null);
55 this.init(capacity, null);
59 if (this.data.length < capacity) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DError.ets4 * you may not use this file except in compliance with the License.
33 this.stack = stackTraceLines();
40 this.message = "";
41 this.cause = this;
42 this.name = "Error";
43 this.fileName = "";
44 this.lineNumber = 0;
45 this.columnNumber = 0;
46 this.provisionStackTrace();
55 this.message = msg;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dgui.rst4 you may not use this file except in compliance with the License.
18 This section demonstrates mechanisms that |LANG| provides for
50 this.street = street
51 this.zip = zip
52 this.city = city
69 this.id_ = nextId.toString()
72 this.name = name
73 this.address = new Address(street, zip, city)
74 this.phones = new ObservedArray<string>(phones)
83 this.me = me
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dthis_type.ts4 * you may not use this file except in compliance with the License.
17 addFoo(): this;
19 addBar(): this;
21 addGreeting(name: string): this;
28 return this.value;
31 addFoo(): this {
32 this.value += "foo";
33 return this;
36 addBar(): this {
37 this.value += "bar";
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/
DTypeScriptLinter.ts4 * you may not use this file except in compliance with the License.
107this.tsUtils = new TsUtils(this.tsTypeChecker, TypeScriptLinter.testMode, TypeScriptLinter.advance…
108 this.currentErrorLine = 0;
109 this.currentWarningLine = 0;
110 this.staticBlocks = new Set<string>();
111 this.walkedComments = new Set<number>();
112this.libraryTypeCallDiagnosticChecker = new LibraryTypeCallDiagnosticChecker(TypeScriptLinter.filt…
115 this.nodeCounters[i] = 0;
116 this.lineCounters[i] = 0;
121 [ts.SyntaxKind.ObjectLiteralExpression, this.handleObjectLiteralExpression],
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dclass_instance_initializer.ets4 * you may not use this file except in compliance with the License.
22 this.a = 2;
23 this.b = 4;
24 this.a = 10;
25 this.b = 20;
29 this();
30 this.a = 30;
31 this.b = 40;
35 this.a = 2;
36 this.b = 4;
[all …]

12345678910>>...334