/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jerryScript/ |
H A D | jerryScript.pro | 83 …ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.c \ 87 …OT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-boolean-prototype.c \ 91 …{ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.c \ 93 …ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-error-prototype.c \ 112 …${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-map-prototype.c \ 115 …OOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.c \ 117 …OOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-object-prototype.c \ 127 …OOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-prototype.c \ 130 …${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-set-prototype.c \ 133 …OOT_PATH}/third_party/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-string-prototype.c \ [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/ |
H A D | observer.js | 32 Observer.prototype._get = function() { 41 Observer.prototype.update = function() { 53 Observer.prototype.subscribe = function(subject, key) { 65 Observer.prototype.unsubscribe = function() {
|
H A D | subject.js | 52 Subject.prototype.attach = function(key, observer) { 72 Subject.prototype.notify = function(key) { 84 Subject.prototype.setParent = function(parent, key) { 89 Subject.prototype.notifyParent = function() { 117 const args = Array.prototype.slice.call(arguments);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/v2/ |
H A D | v2_decorated_variables.ts | 121 const meta = checkView.constructor?.prototype[ObserveV2.V2_DECO_META]; 233 …if (BaseClass.prototype && Reflect.has(BaseClass.prototype, TrackedObject.___IS_TRACKED_OPTIMISED)… 239 if (BaseClass.prototype && !Reflect.has(BaseClass.prototype, ObserveV2.V2_DECO_META)) { 245 const attrList = Object.getOwnPropertyNames(BaseClass.prototype); 249 BaseClass.prototype[ObserveV2.ID_REFS] = {};
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/adapters/ |
H A D | BUILD.gn | 32 "${device_status_root_path}/intention/prototype/include", 63 "${device_status_root_path}/intention/prototype/include", 70 "${device_status_root_path}/intention/prototype:intention_prototype", 101 "${device_status_root_path}/intention/prototype/include", 136 "${device_status_root_path}/intention/prototype/include",
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/unittest/ |
H A D | UdmfUtdJsTest.js | 61 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) + 62 ', belongingToTypes: ' + belonging + ', ' + Object.prototype.toString.call(belonging)); 65 ', iconFile: ' + iconFile + ', ' + Object.prototype.toString.call(iconFile)); 135 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) + 136 ', belongingToTypes: ' + belonging + ', ' + Object.prototype.toString.call(belonging)); 139 ', iconFile: ' + iconFile + ', ' + Object.prototype.toString.call(iconFile)); 1032 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) + 1033 ', belongingToTypes: ' + belonging + ', ' + Object.prototype.toString.call(belonging)); 1036 ', iconFile: ' + iconFile + ', ' + Object.prototype.toString.call(iconFile)); 1066 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) + [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | ast.js | 62 let callType = Object.prototype.toString.call(name); 67 …if (Object.prototype.toString.call(value) === '[object Number]' || Object.prototype.toString.call(… 68 if (Object.prototype.toString.call(bindToken) === '[object Object]') { 73 } else if (Object.prototype.toString.call(value) === '[object String]') { 74 if (Object.prototype.toString.call(bindToken) === '[object Object]') { 357 if (Object.prototype.toString.call(name) === '[object String]') { 364 } else if (Object.prototype.toString.call(nodeType) === '[object Number]') { 581 if (Object.prototype.toString.call(name) === '[object String]') { 589 Object.prototype.toString.call(value) === '[object Object]' || 590 Object.prototype.toString.call(value) === '[object Null]' [all …]
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-JavaScript-coding-style-guide.md | 508 Array.prototype.indexOf = function () { return -1 } 513 #### 规则3.8 禁止直接使用`Object.prototype`的内置属性 515 …对象来提供新创建的对象的proto。`Object.create(null)`是用于创建用作map的对象的常用模式。当该对象具有`Object.prototype`同名的属性时,可能会导致意外行为… 528 var hasBarProperty = Object.prototype.hasOwnProperty.call(foo, "bar"); 529 var isPrototypeOfBar = Object.prototype.isPrototypeOf.call(foo, bar); 567 #### 建议3.11 在使用原型`prototype`实现继承时,尽量使用现有稳定的库方法而非自行实现 588 Animals.prototype.walk = function() {}; 646 2. 使用JavaScript的原生方法`Number.prototype.toFixed(digits)`,`digits`参数表示小数点后数字的个数,不使用指数法,在必要时会进行四舍五入。使用该…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.1/ |
H A D | changelog-security.md | 11 API prototype before the change: 14 API prototype after the change: 205 API prototype before the change: 208 API prototype after the change: 226 API prototype after the change: 245 API prototype after the change: 264 API prototype after the change: 283 API prototype after the change: 302 API prototype after the change: 321 API prototype after the change: [all …]
|
/ohos5.0/foundation/multimodalinput/input/intention/adapters/test/unittest/ |
H A D | BUILD.gn | 32 "${device_status_root_path}/intention/prototype/include", 63 "${device_status_root_path}/intention/prototype/include", 70 "${device_status_root_path}/intention/prototype:intention_prototype",
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/ |
H A D | BUILD.gn | 63 "${device_status_root_path}/intention/prototype:intention_prototype", 116 "${device_status_root_path}/intention/prototype:intention_prototype", 157 "${device_status_root_path}/intention/prototype:intention_prototype", 196 "${device_status_root_path}/intention/prototype:intention_prototype", 247 "${device_status_root_path}/intention/prototype:intention_prototype",
|
/ohos5.0/foundation/multimodalinput/input/intention/services/test/unittest/ |
H A D | BUILD.gn | 37 "${device_status_root_path}/intention/prototype:intention_prototype", 77 "${device_status_root_path}/intention/prototype:intention_prototype", 115 "${device_status_root_path}/intention/prototype:intention_prototype", 165 "${device_status_root_path}/intention/prototype:intention_prototype",
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_bindings.inl | 203 auto prototype = Local<ObjectRef>(classFunction_->GetFunctionPrototype(vm)); local 204 prototype->Set(vm, panda::StringRef::NewFromUtf8(vm, "constructor"), 210 prototype->Set(vm, panda::StringRef::NewFromUtf8(vm, name.c_str()), val.ToLocal()); 216 prototype->SetAccessorProperty( 240 prototype->Set(vm, panda::StringRef::NewFromUtf8(vm, "constructor"), 252 prototype->SetAccessorProperty( 275 prototype->Set(vm, panda::StringRef::NewFromUtf8(vm, "constructor"), 287 prototype->SetAccessorProperty( 348 prototype->SetPrototype(vm, baseClassPrototype); 349 prototype->Set(vm, panda::StringRef::NewFromUtf8(vm, "constructor"), [all …]
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/json/src/ |
H A D | json_js.ts | 100 if (Object.prototype.hasOwnProperty.call(value, key)) { 162 return Object.prototype.hasOwnProperty.call(value, key); 178 if (Object.prototype.hasOwnProperty.call(value, key)) {
|
/ohos5.0/foundation/multimodalinput/input/intention/ipc/socket/ |
H A D | BUILD.gn | 44 "${device_status_root_path}/intention/prototype:intention_prototype", 90 "${device_status_root_path}/intention/prototype:intention_prototype", 137 "${device_status_root_path}/intention/prototype:intention_prototype",
|
/ohos5.0/base/msdp/device_status/intention/ipc/socket/ |
H A D | BUILD.gn | 44 "${device_status_root_path}/intention/prototype:intention_prototype", 91 "${device_status_root_path}/intention/prototype:intention_prototype", 138 "${device_status_root_path}/intention/prototype:intention_prototype",
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/fullscreenlaunchcomponent/interfaces/ |
H A D | fullscreenlaunchcomponent_preview.js | 15 if (!("finalizeConstruction" in ViewPU.prototype)) { 16 Reflect.set(ViewPU.prototype, "finalizeConstruction", () => { });
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/core/ |
H A D | index.js | 42 if (Object.prototype.toString.call(options) === '[object Object]') { 62 ViewModel.prototype.$watch = function(getter, callback, meta) {
|
/ohos5.0/base/web/webview/interfaces/kits/napi/js/ |
H A D | webview_export.js | 231 Object.defineProperty(webview.WebviewController.prototype, 'getCertificate', { 257 Object.defineProperty(webview.WebviewController.prototype, 'fileSelectorShowFromUserWeb', { 311 Object.defineProperty(webview.WebviewController.prototype, 'requestPermissionsFromUserWeb', { 332 Object.defineProperty(webview.WebviewController.prototype, 'openAppLink', {
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/vector/ |
H A D | js_vector.ts | 283 if ((Object.prototype.toString.call(curElement) === '[object String]' || 284 Object.prototype.toString.call(curElement) === '[object Number]') && 285 (Object.prototype.toString.call(nextElement) === '[object String]' || 286 Object.prototype.toString.call(nextElement) === '[object Number]')) {
|
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/test/ |
H A D | BUILD.gn | 53 "${device_status_root_path}/intention/prototype:intention_prototype", 92 "${device_status_root_path}/intention/prototype/include", 118 "${device_status_root_path}/intention/prototype:intention_prototype",
|
/ohos5.0/foundation/multimedia/av_session/avpicker/ |
H A D | avpicker_mock.js | 16 if (!('finalizeConstruction' in ViewPU.prototype)) { 17 Reflect.set(ViewPU.prototype, 'finalizeConstruction', () => { });
|
/ohos5.0/foundation/multimedia/av_session/avvolumepanel/ |
H A D | avvolumepanel.js | 15 if (!('finalizeConstruction' in ViewPU.prototype)) { 16 Reflect.set(ViewPU.prototype, 'finalizeConstruction', () => {});
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/src/ |
H A D | js_convertxml.ts | 53 if (Object.prototype.hasOwnProperty.call(converted, 'spaces')) { 74 if (Object.prototype.hasOwnProperty.call(converted, 'spaces')) {
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/stream/src/ |
H A D | stream_js.ts | 707 Readable.prototype.doRead = null; 1344 Writable.prototype.doWritev = null; 1345 Writable.prototype.doWrite = Writable.prototype.noWriteOpes; 1492 Duplex.prototype.doWrite = null; 1494 Duplex.prototype.doWritev = null; 1625 Transform.prototype.doTransform = null; 1627 Transform.prototype.doFlush = null;
|