Home
last modified time | relevance | path

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

12345678910>>...444

/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/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/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 = ConcurrencyHelpers.mutexCreate();
27 this.condVar = ConcurrencyHelpers.condVarCreate();
32 ConcurrencyHelpers.mutexLock(this.mutex);
33 if (this.curTailIdx == this.array.length) {
34 this.stretch();
36 this.array[this.curTailIdx++] = el;
37 ConcurrencyHelpers.condVarNotifyOne(this.condVar, this.mutex);
38 ConcurrencyHelpers.mutexUnlock(this.mutex);
[all …]
/arkcompiler/runtime_core/panda_guard/obfuscate/
Dmethod.cpp4 * you may not use this file except in compliance with the License.
30 this->nameCacheScope_ = this->name_; in InitNameCacheScope()
35 this->contentNeedUpdate_ = PropertyOptionEntity::NeedUpdate(*this); in RefreshNeedUpdate()
36 this->nameNeedUpdate_ = this->contentNeedUpdate_ && !IsWhiteListOrAnonymousFunction(this->idx_); in RefreshNeedUpdate()
38 …LOG(INFO, PANDAGUARD) << TAG << "Method contentNeedUpdate: " << (this->contentNeedUpdate_ ? "true"… in RefreshNeedUpdate()
39 …LOG(INFO, PANDAGUARD) << TAG << "Method nameNeedUpdate: " << (this->nameNeedUpdate_ ? "true" : "fa… in RefreshNeedUpdate()
45 auto it = literalArrayTable.find(this->literalArrayIdx_); in UpdateDefine()
49 it->second.literals_[this->idxIndex_].value_ = this->obfIdx_; in UpdateDefine()
50 it->second.literals_[this->nameIndex_].value_ = this->obfName_; in UpdateDefine()
56 filePath, this->nameCacheScope_ + this->GetLines(), this->obfName_); in WriteFileCache()
[all …]
Dmodule_record.cpp4 * you may not use this file except in compliance with the License.
57 this->refFilePath_.Update(); in Update()
58 if (this->refFilePath_.filePath_ == this->refFilePath_.obfFilePath_) { in Update()
66 … it->second.literals_[this->refFilePath_.filePathIndex_].value_ = this->refFilePath_.obfFilePath_; in Update()
71 auto parts = StringUtil::Split(this->refFilePath_.GetRawPath(), PATH_DELIMITER.data()); in ExtractNames()
79 this->needUpdate = GuardContext::GetInstance()->GetGuardOptions()->IsFileNameObfEnabled() && in RefreshNeedUpdate()
80 this->refFilePath_.pathType_ != FilePathType::EXTERNAL_DEPENDENCE; in RefreshNeedUpdate()
81 if (!this->needUpdate) { in RefreshNeedUpdate()
82 auto parts = StringUtil::Split(this->refFilePath_.GetRawPath(), PATH_DELIMITER.data()); in RefreshNeedUpdate()
91 this->refFilePath_.Init(); in Build()
[all …]
Dobject.cpp4 * you may not use this file except in compliance with the License.
35 strings.emplace(this->name_); in ExtractNames()
40 if (this->method_ == nullptr) { in Build()
44 this->method_->nameNeedUpdate_ = this->needUpdate; in Build()
45 this->method_->Init(); in Build()
46 this->method_->Create(); in Build()
51 auto &literalArrayTable = this->program_->prog_->literalarray_table; in Update()
52 …PANDA_GUARD_ASSERT_PRINT(literalArrayTable.find(this->literalArrayIdx_) == literalArrayTable.end()… in Update()
53 … ErrorCode::GENERIC_ERROR, "get bad literalArrayIdx:" << this->literalArrayIdx_); in Update()
55 auto &literalArray = literalArrayTable.at(this->literalArrayIdx_); in Update()
[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 …]
/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_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/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/04.iterable_types/
Dit.params.yaml3 # you may not use this file except in compliance with the License.
22 return new CIterator(this)
29 this.base = base
33 done: this.index >= this.base.data.length,
34 … value: this.index >= this.base.data.length ? undefined : this.base.data[this.index++]
51 return new CIterator(this)
58 this.base = base
62 done: this.index >= this.base.data.length,
63 … value: this.index >= this.base.data.length ? undefined : this.base.data[this.index++]
80 return new CIterator(this)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/
DTypeScriptLinter.ts4 * you may not use this file except in compliance with the License.
106 this.handlersMap.set(etsComponentExpression, this.handleEtsComponentExpression);
112 this.nodeCounters[i] = 0;
113 this.lineCounters[i] = 0;
122 this.tsUtils = new TsUtils(this.tsTypeChecker, options);
123 this.currentErrorLine = 0;
124 this.currentWarningLine = 0;
125this.supportedStdCallApiChecker = new SupportedStdCallApiChecker(this.tsUtils, this.tsTypeChecker);
126 this.compatibleSdkVersion = options.compatibleSdkVersion || DEFAULT_COMPATIBLE_SDK_VERSION;
127this.compatibleSdkVersionStage = options.compatibleSdkVersionStage || DEFAULT_COMPATIBLE_SDK_VERSI…
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dclass_instance_initializer.sts4 * you may not use this file except in compliance with the License.
20 this.a = 2;
21 this.b = 4;
22 this.a = 10;
23 this.b = 20;
27 this();
28 this.a = 30;
29 this.b = 40;
33 this.a = 2;
34 this.b = 4;
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
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_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_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 …]

12345678910>>...444