| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | expect_output.txt | 14 function Function() { [native code] } 17 function RangeError() { [native code] } 20 function Error() { [native code] } 23 function Object() { [native code] } 26 function SyntaxError() { [native code] } 29 function TypeError() { [native code] } 32 function ReferenceError() { [native code] } 35 function URIError() { [native code] } 38 function Symbol() { [native code] } 41 function EvalError() { [native code] } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/debug/ |
| D | DebuggerAPI.sts | 19 public static native getLocalBoolean(regNumber: long): boolean 21 public static native getLocalByte(regNumber: long): byte 23 public static native getLocalShort(regNumber: long): short 25 public static native getLocalChar(regNumber: long): char 27 public static native getLocalInt(regNumber: long): int 29 public static native getLocalFloat(regNumber: long): float 31 public static native getLocalDouble(regNumber: long): double 33 public static native getLocalLong(regNumber: long): long 35 public static native getLocalObject(regNumber: long): Object 37 public static native setLocalBoolean(regNumber: long, value: boolean): void [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | ArrayBuffer.sts | 202 public static native from(array: Object): ArrayBuffer; 218 internal native static create(byteLength: int): SharedMemory; 232 internal native atomicAddI8(index: int, value: byte): byte; 234 internal native atomicAndI8(index: int, value: byte): byte; 236 …internal native atomicCompareExchangeI8(index: int, expectedValue: byte, replacementValue: byte): … 238 internal native atomicExchangeI8(index: int, value: byte): byte; 240 internal native atomicLoadI8(index: int): byte; 242 internal native atomicOrI8(index: int, value: byte): byte; 244 internal native atomicStoreI8(index: int, value: byte): byte; 246 internal native atomicSubI8(index: int, value: byte): byte; [all …]
|
| D | ConcurrencyHelpers.sts | 23 public static native mutexCreate(): Object; 24 public static native mutexLock(mutex: Object): void; 25 public static native mutexUnlock(mutex: Object): void; 37 public static native eventCreate(): Object; 38 public static native eventWait(event: Object): void; 39 public static native eventFire(event: Object): void; 42 public static native condVarCreate(): Object; 43 public static native condVarWait(condVar: Object, mutex: Object): void; 44 public static native condVarNotifyOne(condVar: Object, mutex: Object): void; 45 public static native condVarNotifyAll(condVar: Object, mutex: Object): void;
|
| D | Process.sts | 105 native close(): void; 130 internal native spawn(command: string, timeout: int, killSignal: int) : void; 132 private native killImpl(signal: int): void; 133 private native waitImpl(): number; 134 private native readOutput(): void; 135 private native readErrorOutput(): void; 219 static native getUidForName(v: string): number; 228 static native getThreadPriority(v: number): number; 237 static native getSystemConfig(name: number): number; 246 static native getEnvironmentVar(name: string): string; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/ |
| D | ConcurrencyHelpers.sts | 21 public static native mutexCreate(): Object; 22 public static native mutexLock(mutex: Object): void; 23 public static native mutexUnlock(mutex: Object): void; 35 public static native eventCreate(): Object; 36 public static native eventWait(event: Object): void; 37 public static native eventFire(event: Object): void; 40 public static native condVarCreate(): Object; 41 public static native condVarWait(condVar: Object, mutex: Object): void; 42 public static native condVarNotifyOne(condVar: Object, mutex: Object): void; 43 public static native condVarNotifyAll(condVar: Object, mutex: Object): void;
|
| /arkcompiler/ets_runtime/test/moduletest/calltype/ |
| D | expect_output.txt | 15 jscall 0 and native call1 16 jscall 1 and native call2 1 17 jscall 2 and native call3 1 2 18 jscall 3 and native callirange 1 2 3 19 jscallirange and native callirange 1 2 3 4 21 native callithisrange 24 newobj native
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/common/bouncing_peas/ |
| D | bouncing_peas_unit_native.sts | 16 native function _skoala_createRedrawerPeer(redrawer: Object/*any*/): long/*KNativePointer*/; 17 native function _skoala_drawPicture(picture: long/*KNativePointer*/, data: long/*KNativePointer*/, … 18 native function _skoala_getFrame(peer: long/*KNativePointer*/, a: int, b: int): long/*KNativePointe… 19 native function _skoala_getFrameWidth(peer: long/*KNativePointer*/, frame: long/*KNativePointer*/):… 20 native function _skoala_getFrameHeight(peer: long/*KNativePointer*/, frame: long/*KNativePointer*/)… 21 native function _skoala_initRedrawer(width: int, height: int, scale: float, peer: long/*KNativePoin… 22 native function _skoala_providePeerFactory(func: long/*KNativePointer*/, arg: long/*KNativePointer*… 23 native function _skoala_setPlatformAPI(api: Object/*any*/): void; 24 native function _skoala_Canvas__1nDrawDrawable(ptr: long/*KNativePointer*/, drawablePtr: long/*KNat… 25 native function _skoala_Canvas__1nRestore(ptr: long/*KNativePointer*/): void; [all …]
|
| /arkcompiler/runtime_core/static_core/pandastdlib/ |
| D | pandastdlib.pa | 588 .function i32 Math.absI32(i32 a0) <native> 590 .function i64 Math.absI64(i64 a0) <native> 592 .function f32 Math.absF32(f32 a0) <native> 594 .function f64 Math.absF64(f64 a0) <native> 596 .function f32 Math.fsin(f32 a0) <native> 598 .function f64 Math.sin(f64 a0) <native> 600 .function f32 Math.fcos(f32 a0) <native> 602 .function f64 Math.cos(f64 a0) <native> 604 .function f32 Math.fpow(f32 a0, f32 a1) <native> 606 .function f64 Math.pow(f64 a0, f64 a1) <native> [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | StringBuilder.sts | 72 public static native concatStrings(lhs: String, rhs: String): String; 93 public native append(s: String): StringBuilder; 95 private native append(s0: String, s1: String): StringBuilder; 96 private native append(s0: String, s1: String, s2: String): StringBuilder; 97 private native append(s0: String, s1: String, s2: String, s3: String): StringBuilder; 106 public native append(i: boolean): StringBuilder; 115 public native append(i: byte): StringBuilder; 124 public native append(i: short): StringBuilder; 133 public native append(i: char): StringBuilder; 142 public native append(i: int): StringBuilder; [all …]
|
| D | GC.sts | 51 public static native getFreeHeapSize(): long; 56 public static native getUsedHeapSize(): long; 61 public static native getReservedHeapSize(): long; 102 …private static native startGCImpl(cause: int, callback: Object | null, runInPlace: boolean): long … 110 public static native waitForFinishGC(gc_id: long): void; 123 public static native scheduleGcAfterNthAlloc(counter: int, cause: int): void throws; 132 public static native isScheduledGCTriggered(): boolean; 145 public static native postponeGCStart(): void; 156 public static native postponeGCEnd(): void; 167 public static native pinObject(obj: Object): void throws; [all …]
|
| D | RuntimeLinker.sts | 27 private native getNameInternal(): string; 44 public native initialize(): void 46 public static native of(obj: Object): Class 51 public static native ofCaller(): Class 53 public native createInstance(): Object 58 public native getDescriptor(): string 68 private static native loadClassInternal(ctxClass: Class, clsName: string, init: boolean): Class 83 export native function loadLibrary(path: String): void;
|
| D | Value.sts | 20 native function ValueAPIGetFieldBoolean(obj: Object, i: long): boolean 22 native function ValueAPIGetFieldByte(obj: Object, i: long): byte 24 native function ValueAPIGetFieldShort(obj: Object, i: long): short 26 native function ValueAPIGetFieldChar(obj: Object, i: long): char 28 native function ValueAPIGetFieldInt(obj: Object, i: long): int 30 native function ValueAPIGetFieldFloat(obj: Object, i: long): float 32 native function ValueAPIGetFieldDouble(obj: Object, i: long): double 34 native function ValueAPIGetFieldLong(obj: Object, i: long): long 36 native function ValueAPIGetFieldObject(obj: Object, i: long): Object 39 native function ValueAPIGetFieldByNameBoolean(obj: Object, name: String): boolean [all …]
|
| D | SyncPrimitives.sts | 51 private static native lock(mutex: Object): void; 52 private static native unlock(mutex: Object): void; 82 private static native wait(event: Object): void; 83 private static native fire(event: Object): void; 125 private static native wait(condVar: Object, mutex: Object): void; 126 private static native notifyOne(condVar: Object, mutex: Object): void; 127 private static native notifyAll(condVar: Object, mutex: Object): void;
|
| /arkcompiler/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 572 .function i32 Math.absI32(i32 a0) <native> 574 .function i64 Math.absI64(i64 a0) <native> 576 .function f32 Math.absF32(f32 a0) <native> 578 .function f64 Math.absF64(f64 a0) <native> 580 .function f32 Math.fsin(f32 a0) <native> 582 .function f64 Math.sin(f64 a0) <native> 584 .function f32 Math.fcos(f32 a0) <native> 586 .function f64 Math.cos(f64 a0) <native> 588 .function f32 Math.fpow(f32 a0, f32 a1) <native> 590 .function f64 Math.pow(f64 a0, f64 a1) <native> [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/math/ |
| D | math.sts | 28 …* Implemented as native function, @see `abs()` intrinsic [declaration](https://gitee.com/openharm… 36 export native function abs(v: double): double; 46 …* Implemented as native function, @see `acosh()` intrinsic [declaration](https://gitee.com/openha… 54 export native function acosh(v: double): double; 64 …* Implemented as native function, @see `acos()` intrinsic [declaration](https://gitee.com/openhar… 72 export native function acos(v: double): double; 82 …* Implemented as native function, @see `asinh()` intrinsic [declaration](https://gitee.com/openha… 90 export native function asinh(v: double): double; 99 export native function asin(v: double): double; 108 export native function atan2(y: double, x: double): double; [all …]
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_container_test.h | 169 { "ArrayList", { "function", "Function", "function ArrayList( { [native code] }", 170 "function ArrayList( { [native code] }" } }, 171 { "Deque", { "function", "Function", "function Deque( { [native code] }", 172 "function Deque( { [native code] }" } }, 173 { "HashMap", { "function", "Function", "function HashMap( { [native code] }", 174 "function HashMap( { [native code] }" } }, 175 { "HashSet", { "function", "Function", "function HashSet( { [native code] }", 176 "function HashSet( { [native code] }" } }, 177 { "LightWeightMap", { "function", "Function", "function LightWeightMap( { [native code] }", 178 "function LightWeightMap( { [native code] }" } }, [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_intrins/ |
| D | test_intrins.sts | 28 native static void$(top: JSValue, qname: String): void; 29 native static void$a(top: JSValue, qname: String, v0: JSValue): void; 30 native static void$an(top: JSValue, qname: String, a0: JSValue, a1: double): void; 31 native static void$n(top: JSValue, qname: String, v0: double): void; 32 native static void$s(top: JSValue, qname: String, v0: String): void; 34 native static bool$a(top: JSValue, qname: String, v0: JSValue): boolean; 36 native static num$a(top: JSValue, qname: String, v0: JSValue): double 37 native static num$an(top: JSValue, qname: String, a0: JSValue, a1: double): double; 38 native static num$ann(top: JSValue, qname: String, a0: JSValue, a1: double, a2: double): double; 39 native static num$nn(top: JSValue, qname: String, a0: double, a1: double): double; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/ets/ |
| D | EtsnapiNameTest.sts | 17 public native static objectArg(cb: Object | null): int; 19 public native static methodOverloaded(): int; 21 public native static methodOverloaded(i: int): int; 23 …public native static methodOverloaded(bool: boolean, b: byte, c: char, d: double, f: float, i: in… 25 public native static methodOverloaded(obj: Object | null, str: String, arr: double[]): int; 46 public native 中文函数2不带参数(): String; 55 native function nativeInGlobal(): int;
|
| D | InterfaceNativeTest.sts | 25 public native static callMethod(): void; 27 public native static testChar(c: char): void; 29 public native static testNewObject(): int; 31 public native static testStrUTFLen(str1: String, str2: String): int; 33 public native static testNewStrUTF(str: String): String; 35 public native static testGetStrUTF(str: String): int; 37 public native static testFloat(f1: float, f2: float, f3: float): int;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/ |
| D | class_operations.sts | 26 native static void$(top: JSValue, qname: String): void; 27 native static num$(top: JSValue, qname: String): double; 28 native static any$(top: JSValue, qname: String): JSValue; 29 native static any$(top: JSValue, qname: String, v0: JSValue): JSValue; 30 native static any$(top: JSValue, qname: String, v0: String): JSValue; 31 native static any$(top: JSValue, qname: String, v0: double, v1: String): JSValue; 32 native static any$(top: JSValue, qname: String, v0: int[], v1: int): JSValue; 34 native static any$a(top: JSValue, qname: String, v0: JSValue): JSValue; 36 native static str$(top: JSValue, qname: String): String; 37 native static str$(top: JSValue, qname: String, v0: String): String; [all …]
|
| /arkcompiler/runtime_core/static_core/scripts/sdk/ |
| D | test.sh | 27 # Search for default OHOS SDK native or download it 29 OHOS_SDK_NATIVE_DEFAULT_1=/opt/ohos-sdk/native 30 OHOS_SDK_NATIVE_DEFAULT_2="$(realpath ./native)" 40 curl --retry 5 -Lo ohos-sdk-native.zip "${OHOS_SDK_NATIVE_URL}" 41 unzip -q ohos-sdk-native.zip 42 OHOS_SDK_NATIVE=native
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/07.native_methods/ |
| D | native_method_declaration_with_keywords.sts | 19 desc: Native method declaraion with '{{mod}}' keyword. 20 …declaration that contains the keyword native also contains any one of the keywords abstract, open,… 25 {{mod}} native run(): void;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/08.native_functions_and_methods/01.native_functions/ |
| D | nat8.sts | 17 desc: A compile-time error occurs if a native function has a body. 21 native function bar(): Object throws; 23 native function foo(func: () => Object throws): Object rethrows; // native with rethrows
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/core/ |
| D | Intl.cpp | 16 #include "plugins/ets/stdlib/native/core/Intl.h" 17 #include "plugins/ets/stdlib/native/core/IntlState.h" 18 #include "plugins/ets/stdlib/native/core/IntlNumberFormat.h" 27 // Register Native methods in InitCoreIntl()
|