Home
last modified time | relevance | path

Searched defs:number (Results 1 – 25 of 208) sorted by relevance

123456789

/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DtupleAssignability24.ts17 var a: [number, number, number] | number[]; variable
18 var b: [number, number, number, number] | string[]; variable
DtupleAssignability21.ts17 var a: [number, number] | [number, number, number] = [1]; variable
DtupleAssignability.ts19 var tuple3: [number, number, number] = [1, 2, 3]; variable
21 var tuple5: [[a: number, b?: string], [boolean | string, number[]]] = [[1], ["foo", [1, 2, 3]]]; variable
53 var tuple16: [typeof tuple10, typeof tuple1, number]; variable
73 var tuple23: [number, number, number] | [number, number, number, number]; variable
77 var tuple24: number[][] | string[][] | [[number, number], [string, string]]; variable
DtupleAssignability3.ts17 var a: [number, number, number] = [1, 2]; variable
DtupleAssignability15.ts17 var a: [number, number, number]; variable
DarrayDestructuring27.ts17 var [...[b = 6, c = "foo", d]]: [number, number | string] = [1, 2]; variable
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ts/
DtupleAssignability24.ts17 var a: [number, number, number] | number[]; variable
18 var b: [number, number, number, number] | string[]; variable
DtupleAssignability21.ts17 var /* @@ label */a: [number, number] | [number, number, number] = [1]; variable
DtupleAssignability3.ts17 var /* @@ label */a: [number, number, number] = [1, 2]; variable
DtupleAssignability15.ts17 var a: [number, number, number]; variable
DarrayDestructuring27.ts17 var [...[b = 6, c = "foo", d]]: [number, number | string] = [1, 2]; variable
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-tuple-type.ts20 var d: [[[number, number], number, number], number, number] variable
Dtest-class-definiton20.ts18 a = () : this is number => { property in C
22 b = (b : number) : this is number => { property in C
26 c = (...c : number[]) : this is number => { property in C
Dtest-ts-conditional-type.ts20 var b: boolean & number extends A ? number : string; variable
21 var c: A | number extends string ? number : string; variable
22 var d: boolean | A & string extends string ? number : string; variable
23 var e: boolean & number | string extends string ? number : string; variable
Dtest-ts-type-predicate.ts28 (asserts: number | string): asserts is number; method
36 (is: number | string): is is number; method
44 (a: number | string): a is number; method
52 (a: number | string): asserts a is number; method
60 (asserts: number | string): asserts asserts is number; method
76 (string: number | string | is): string is number; method
/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest-tuple-type.ts20 var d: [[[number, number], number, number], number, number] variable
Dtest-ts-conditional-type.ts20 var b: boolean & number extends A ? number : string; variable
21 var c: A | number extends string ? number : string; variable
22 var d: boolean | A & string extends string ? number : string; variable
23 var e: boolean & number | string extends string ? number : string; variable
Dtest-ts-type-predicate.ts28 (asserts: number | string): asserts is number; method
36 (is: number | string): is is number; method
44 (a: number | string): a is number; method
52 (a: number | string): asserts a is number; method
60 (asserts: number | string): asserts asserts is number; method
76 (string: number | string | is): string is number; method
/arkcompiler/ets_frontend/ets2panda/test/compiler/ts/
DtupleAssignability.ts19 var tuple3: [number, number, number] = [1, 2, 3]; variable
21 var tuple5: [[a: number, b?: string], [boolean | string, number[]]] = [[1], ["foo", [1, 2, 3]]]; variable
53 var tuple16: [typeof tuple10, typeof tuple1, number]; variable
73 var tuple23: [number, number, number] | [number, number, number, number]; variable
77 var tuple24: number[][] | string[][] | [[number, number], [string, string]]; variable
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dremote_object.h54 static RemoteObject Number(int32_t number) in Number()
60 static RemoteObject Number(T number) in Number()
79 static RemoteObject Number(T number) in Number()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
Dets_to_string_cache.cpp105 ToStringResult TryStore(EtsCoroutine *coro, EtsString *string, T number, Data oldData) in TryStore()
150 void SetNumber(T number) in SetNumber()
192 T number, EtsClass *klass) in Create()
211 EtsString *ToString(T number) in ToString()
256 uint32_t EtsToStringCache<T, Derived, Hash>::GetIndex(T number) in GetIndex()
265 EtsCoroutine *coro, T number, EtsToStringCacheElement<T> *elem, uint64_t cachedAsInt) in FinishUpdate()
291 …*, ToStringResult> EtsToStringCache<T, Derived, Hash>::GetOrCacheImpl(EtsCoroutine *coro, T number) in GetOrCacheImpl()
320 EtsString *EtsToStringCache<T, Derived, Hash>::CacheAndGetNoCheck(EtsCoroutine *coro, T number, Obj… in CacheAndGetNoCheck()
329 EtsString *EtsToStringCache<T, Derived, Hash>::GetNoCache(T number) in GetNoCache()
346 …e<T, Derived, Hash>::StoreToCache(EtsCoroutine *coro, EtsHandle<EtsString> &stringHandle, T number, in StoreToCache()
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/ts/
DIfTest.ts16 let number: number = 10; variable
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/js/
DIfTest.js16 let number = 10; variable
/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.h71 std::enable_if_t<std::is_floating_point_v<T>, CString> FloatToCString(T number) in FloatToCString()
79 std::enable_if_t<std::is_integral_v<T>, CString> ToCString(T number) in ToCString()
102 void AppendToCString(CString &str, T number) in AppendToCString()
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ts/
Dtest-type-alias2.ts17 type bar /* @@ label */number; alias

123456789