| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/ic/ |
| D | ic-slot-16-overflow.ts | 4 * 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/ |
| D | ic-slot-16-overflow.ts | 4 * 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/ |
| D | XScroll.js | 4 * 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 …]
|
| D | XButton.js | 4 * 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 …]
|
| D | XSelect.js | 4 * 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/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Tuple.ets | 4 * you may not use this file except in compliance with the License. 38 this.$0 = p0 43 this.$0 53 this.$0 = p0 54 this.$1 = p1 59 this.$0 + "," + 60 this.$1 71 this.$0 = p0 72 this.$1 = p1 73 this.$2 = p2 [all …]
|
| D | Locale.ets | 4 * you may not use this file except in compliance with the License. 115 this._baseName = value 119 return this._baseName 123 this._language = value 127 return this._language 131 this._calendar = value 135 return this._calendar 139 this._caseFirst = value 143 return this._caseFirst 147 this._numeric = value [all …]
|
| D | DateTimeFormat.ets | 4 * you may not use this file except in compliance with the License. 32 this.locale = Locale.defaultTag() 35 … this.locale = lookupLocale ? intlLookUpLocale(locales!) : intlBestFitLocale(locales!) 39 this.options = DateTimeFormat.DEFAULT_OPTIONS 41 this.options = this.getResolvedOptions(options!) 44 this.pattern = this.getPattern() 53 return this.formatImpl(Date.now()) 56 return this.formatImpl(date.getTime()) 58 return this.formatImpl(date!) 63 return this.formatToPartsImpl(Date.now()) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/ |
| D | ArrayBlockingQueue.ets | 4 * you may not use this file except in compliance with the License. 27 this.capacitySize = capacity; 28 this.array = new Array<T>(this.capacitySize); 29 this.mutex = ConcurrencyHelpers.mutexCreate(); 30 this.condVar = ConcurrencyHelpers.condVarCreate(); 37 this.capacitySize = capacity; 38 this.array = new Array<T>(this.capacitySize); 39 this.mutex = ConcurrencyHelpers.mutexCreate(); 40 this.condVar = ConcurrencyHelpers.condVarCreate(); 46 this.add(val as T); [all …]
|
| D | LinkedBlockingQueue.ets | 4 * you may not use this file except in compliance with the License. 27 this.element = element; 39 this.actualCapacity = Int.MAX_VALUE; 40 this.pushMutex = ConcurrencyHelpers.mutexCreate(); 41 this.pushCondVar = ConcurrencyHelpers.condVarCreate(); 42 this.popMutex = ConcurrencyHelpers.mutexCreate(); 43 this.popCondVar = ConcurrencyHelpers.condVarCreate(); 44 this.sizeMutex = ConcurrencyHelpers.mutexCreate(); 45 this.mutex = ConcurrencyHelpers.mutexCreate(); 57 this.actualCapacity = capacity; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/09.methods_returning_this/ |
| D | met_ret_this_n.params.yaml | 3 # you may not use this file except in compliance with the License. 19 static foo(): this { // CTE, 'this' cannot be used as return type of static method 21 return this 32 foo(): this|A { // CTE, 'this' cannot be used as a part of union type 33 if (this.fld == 0) { 34 return this 45 foo(): A|this { // CTE, 'this' cannot be used as a part of union type 46 if (this.fld == 0) { 47 return this 58 foo(): [A, this] { // CTE, 'this' cannot be used as a part of tuple type [all …]
|
| D | met_ret_this.params.yaml | 3 # you may not use this file except in compliance with the License. 17 // return 'this' from instance method 20 foo(): this { 21 if (this.fld == 0) { 22 return this 32 // return 'this' from extension function and overloaded method 37 function foo(this: B, p: int): this { 38 this.fld += p 39 return this 42 foo(): this { [all …]
|
| /arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/search/ |
| D | Search.js | 4 * 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/ |
| D | privateproperty.ts | 4 * 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_frontend/ets2panda/linter/arkanalyzer/src/save/ |
| D | ArkStream.ts | 4 * you may not use this file except in compliance with the License. 23 this.indent = indent; 26 public write(s: string): this { 27 this.output.push(s); 28 return this; 31 public writeLine(s: string): this { 32 this.write(s); 33 this.write('\n'); 34 return this; 37 public writeSpace(s: string): this { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/ |
| D | @ohos.uri.ets | 4 * you may not use this file except in compliance with the License. 34 this.uriEntry = new UriEntry(input); 35 let errStr: string = this.uriEntry.getErrStr(); 51 return toAscllString(this.uriEntry.toString()); 55 return this.uriEntry.equals(other.uriEntry); 59 return this.uriEntry.equals(other.uriEntry); 63 return this.uriEntry.isAbsolute(); 67 return this.uriEntry.isRelative(); 71 return this.uriEntry.isOpaque(); 75 return this.uriEntry.isHierarchical(); [all …]
|
| D | @ohos.util.Deque.ets | 4 * you may not use this file except in compliance with the License. 30 internal capacity: int = this.DEFAULT_CAPACITY; 36 const buf = this.buffer; 49 return (this.rear - this.front + this.capacity) % this.capacity; 58 if (this.isEmpty()) { 62 return this.buffer[this.front]; 71 if (this.isEmpty()) { 75 return this.buffer[(this.rear - 1 + this.capacity) % this.capacity]; 84 if (this.isEmpty()) { 88 let firstElement: T = this.buffer[this.front]; [all …]
|
| /arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/ |
| D | ApApplication.js | 4 * 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/ |
| D | IrViewer.js | 4 * 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/ets2panda/linter/arkanalyzer/src/save/source/ |
| D | SourceStmt.ts | 4 * you may not use this file except in compliance with the License. 89 this.original = original; 90 this.context = context; 91 this.line = original.getOriginPositionInfo().getLineNo(); 92 this.transformer = new SourceTransformer(context); 96 return this.line; 100 this.line = line; 104 this.beforeDump(); 105 let code = this.dumpTs(); 106 this.afterDump(); [all …]
|
| D | SourceBody.ts | 4 * you may not use this file except in compliance with the License. 66 this.printer = new ArkCodeBuffer(indent); 67 this.method = method; 68 this.arkBody = method.getBody()!; 69 this.cfgUtils = new AbstractFlowGraph(method.getCfg()!, this.arkBody.getTraps()); 70 this.tempCodeMap = new Map(); 71 this.tempVisitor = new Set(); 72 this.definedLocals = new Set(); 73 this.inBuilder = inBuilder; 74 this.skipStmts = new Set(); [all …]
|
| /arkcompiler/runtime_core/panda_guard/obfuscate/ |
| D | method.cpp | 4 * 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 …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/12.adding_functionality_to_existing_types/03.accessors_with_receiver/ |
| D | accessors_with_receiver.params.yaml | 3 # you may not use this file except in compliance with the License. 20 get m(this: A): int { 21 return this.member 30 set m(this: A, param: int) { 31 this.member = param 40 get m(this: A): int { 41 return this.member 43 set m(this: A, param: int) { 44 this.member = param 53 get m(this: A): int { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/ |
| D | Builtin.ts | 4 * you may not use this file except in compliance with the License. 28 public static BUILT_IN_CLASSES = this.buildBuiltInClasses(); 35 public static OBJECT_CLASS_SIGNATURE = this.buildBuiltInClassSignature(this.OBJECT); 36 public static OBJECT_CLASS_TYPE = new ClassType(this.OBJECT_CLASS_SIGNATURE); 37 public static ARRAY_CLASS_SIGNATURE = this.buildBuiltInClassSignature(this.ARRAY); 38 public static SET_CLASS_SIGNATURE = this.buildBuiltInClassSignature(this.SET); 39 public static MAP_CLASS_SIGNATURE = this.buildBuiltInClassSignature(this.MAP); 40 public static REGEXP_CLASS_SIGNATURE = this.buildBuiltInClassSignature(this.REGEXP); 41 public static REGEXP_CLASS_TYPE = new ClassType(this.REGEXP_CLASS_SIGNATURE); 42 public static BUILT_IN_CLASS_SIGNATURE_MAP = this.buildBuiltInClassSignatureMap(); [all …]
|
| /arkcompiler/ets_runtime/common_components/common/ |
| D | mark_work_stack.h | 4 * you may not use this file except in compliance with the License. 65 this->h_ = stack.head(); in MarkStack() 66 this->t_ = stack.tail(); in MarkStack() 67 this->s_ = stack.size(); in MarkStack() 76 this->t_ = tmp; in MarkStack() 78 this->s_++; in MarkStack() 85 MarkStackBuffer<T>* head() { return this->h_; } in head() 87 MarkStackBuffer<T>* tail() { return this->t_; } in tail() 89 size_t size() { return this->s_; } in size() 93 MarkStackBuffer<T> *current = this->h_; in count() [all …]
|