Home
last modified time | relevance | path

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

12345678910>>...319

/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/ic/
Dic-slot-16-overflow.ts4 * you may not use this file except in compliance with the License.
20 this.a0 = 0
21 this.a1 = 1
22 this.a2 = 2
23 this.a3 = 3
24 this.a4 = 4
25 this.a5 = 5
26 this.a6 = 6
27 this.a7 = 7
28 this.a8 = 8
[all …]
/arkcompiler/ets_frontend/es2panda/test/bytecode/ts/ic/
Dic-slot-16-overflow.ts4 * you may not use this file except in compliance with the License.
18 this.a0 = 0
19 this.a1 = 1
20 this.a2 = 2
21 this.a3 = 3
22 this.a4 = 4
23 this.a5 = 5
24 this.a6 = 6
25 this.a7 = 7
26 this.a8 = 8
[all …]
/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 …]
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 …]
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 …]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/search/
DSearch.js4 * you may not use this file except in compliance with the License.
24 this._index = 0;
25 this._list = [];
26 this._value = false;
27 this.historyMaxCount = 100;
28 this.searchList = [];
29 this.searchELList = [];
30 this.attachShadow({mode: 'open'}).innerHTML = this.initHtml();
31 this.initElements();
35 return this._list;
[all …]
/arkcompiler/ets_runtime/test/aottest/privateproperty/
Dprivateproperty.ts4 * you may not use this file except in compliance with the License.
21 this.#a_ = 0;
24 return this.#a_;
27 this.#a_ = v;
30 return this.#a;
33 this.#a = 1;
62 this.#setterCalledWith = value;
65 return this.#field &= 0b101011;
68 return this.#setterCalledWith;
83 this.#b = Uint8Array;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/
DBlockingQueue.sts4 * you may not use this file except in compliance with the License.
25 this.array = new Array<T>(BlockingQueue.initSize);
26 this.mutex = BlockingQueue.initMutex();
27 this.event = BlockingQueue.initEvent();
32 BlockingQueue.lock(this.mutex);
33 if (this.curTailIdx == this.array.length) {
34 let curQueueSize: int = this.curTailIdx - this.curHeadIdx;
35 let newArr = new Array<T>((this.array.length * 2) as int);
37 newArr[i] = this.array[this.curHeadIdx++];
39 this.array = newArr;
[all …]
DArrayAsList.sts.stub4 * you may not use this file except in compliance with the License.
21 this.data = new T[capacity];
22 for (let i = 0; i < this.data.length; ++i) {
23 this.data[i] = val;
25 this.curSize = capacity;
41 if (this.data.length < capacity) {
43 for (let i = 0; i < this.curSize; ++i) {
44 newData[i] = this.data[i];
46 this.data = newData;
63 let dst = this.data;
[all …]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/
DApApplication.js4 * you may not use this file except in compliance with the License.
27 this.attachShadow({mode: 'open'}).innerHTML = this.initHtml();
28 this.initElements();
33 this.setAttribute('search', '');
35 this.removeAttribute('search');
40 return this.hasAttribute('search');
48 this.rootEL = this.shadowRoot.querySelector('.root');
49 this.headerDiv = this.shadowRoot.querySelector('.search-vessel');
50 this.apWelcome = this.shadowRoot.querySelector('#ap-welcome');
51 this.apTreeTable = this.shadowRoot.querySelector('#tabpane-summary');
[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/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/runtime_core/static_core/plugins/ets/stdlib/std/core/
DFinalizationRegistry.sts4 * you may not use this file except in compliance with the License.
34 this.idxarr = new int[size];
35 this.idxarr[0] = -1; // first elem reserved for useidx head
36 this.enlarge_freeidx(1);
38 this.obj_token_refs = new Object[2 * size];
39 this.callback_arguments = new T[size];
43 let old_idxarr = this.idxarr;
44 this.idxarr = new int[newsize];
46 this.idxarr[i] = old_idxarr[i];
48 this.enlarge_freeidx(old_idxarr.length);
[all …]
DTypeCreator.sts4 * 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 …]
DShort.sts4 * you may not use this file except in compliance with the License.
28 this.value = 0;
37 this.value = value;
46 this.value = value.shortValue();
50 * Returns value of this instance as a primitive
52 * @returns value of this instance
55 return this.value;
71 * Minimal value that this type can have as an shortegral
76 * Maximal value that this type can have as an shortegral
81 * Size of this type in bits
[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/test/
Dthis_type.sts4 * 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/test/parser/ets/
Dclass_instance_initializer.sts4 * 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 …]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/sheet/
DTabPaneApSummary.js4 * you may not use this file except in compliance with the License.
21 this.apDataSource = [];
22 this.apData = [];
23 this.apTreeNodes = [];
24 this.expandedNodeList = new Set();
25 this.selectTreeDepth = 0;
30 this.expansionClickEvent = () => {
32 this.expandedNodeList.clear();
33 …if (((apItem = this.expansionUpIcon) === null || apItem === void 0 ? void 0 : apItem.name) === 'do…
34 this.selectTreeDepth = 0;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
Djson.sts4 * you may not use this file except in compliance with the License.
518 this.replacer = replacer
519 this.fieldsFilter = []
520 this.space = space
522 this.useReplacer = this.replacer != undefined
523 this.useFieldsFilter = false
524 this.useIndent = !(this.space == undefined || this.space == "")
528 this.replacer = undefined
529 this.fieldsFilter = filter
530 this.space = space
[all …]
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
Dgeneric_arrayaslist.sts4 * 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/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/lib/
DTypeScriptLinter.ts4 * you may not use this file except in compliance with the License.
119 this.handlersMap.set(etsComponentExpression, this.handleEtsComponentExpression);
125 this.nodeCounters[i] = 0;
126 this.lineCounters[i] = 0;
140 this.tsUtils = new TsUtils(
141 this.tsTypeChecker,
146 this.currentErrorLine = 0;
147 this.currentWarningLine = 0;
148 this.walkedComments = new Set<number>();
149 this.libraryTypeCallDiagnosticChecker = new LibraryTypeCallDiagnosticChecker(
[all …]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/base-ui/menu/
DMainMenuItem.js4 * you may not use this file except in compliance with the License.
84 this.attachShadow({mode: 'open'}).innerHTML = this.initHtml();
85 this.initElements();
93 return this.getAttribute('title') || '';
97 this.setAttribute('title', val);
101 return this.hasAttribute('multi');
106 this.setAttribute('multi', '');
108 this.removeAttribute('multi');
113 return this.hasAttribute('disabled');
118 this.setAttribute('disabled', val.toString());
[all …]

12345678910>>...319