/arkcompiler/ets_frontend/ets2panda/linter/test/ |
D | dynamic_lib.d.ts | 67 export type Length = string | number | Resource; 73 top?: Length; 74 right?: Length; 75 bottom?: Length; 76 left?: Length; 80 x?: Length; 81 y?: Length; 84 export function padding(value: Padding | Length): any; 85 export function margin(value: Margin | Length): any;
|
D | d_ts.lib2.d.ts | 17 declare type Length = string | number | Resource; alias 23 top?: Length; 24 right?: Length; 25 bottom?: Length; 26 left?: Length;
|
D | d_ts.lib.d.ts | 16 import { Margin, Length } from "./d_ts.lib2"; 29 declare function margin<T>(value: Margin | Length): T;
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
D | dynamic_lib.d.ts | 67 export type Length = string | number | Resource; 73 top?: Length; 74 right?: Length; 75 bottom?: Length; 76 left?: Length; 80 x?: Length; 81 y?: Length; 84 export function padding(value: Padding | Length): any; 85 export function margin(value: Margin | Length): any;
|
D | d_ts.lib2.d.ts | 17 declare type Length = string | number | Resource; alias 23 top?: Length; 24 right?: Length; 25 bottom?: Length; 26 left?: Length;
|
D | d_ts.lib.d.ts | 16 import { Margin, Length } from "./d_ts.lib2"; 29 declare function margin<T>(value: Margin | Length): T;
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_linked_list_test.cpp | 112 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in HWTEST_F_L0() 134 EXPECT_EQ(list->Length(), 1); in HWTEST_F_L0() 139 EXPECT_EQ(list->Length(), 2); in HWTEST_F_L0() 159 int len = toor->Length(); in HWTEST_F_L0() 162 EXPECT_EQ(toor->Length(), 10); in HWTEST_F_L0() 167 EXPECT_EQ(toor->Length(), 11); in HWTEST_F_L0() 173 EXPECT_EQ(toor->Length(), 12); in HWTEST_F_L0() 194 int len = toor->Length(); in HWTEST_F_L0() 198 EXPECT_EQ(toor->Length(), 10); in HWTEST_F_L0() 204 EXPECT_EQ(toor->Length(), 11); in HWTEST_F_L0() [all …]
|
D | js_api_list_test.cpp | 114 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in HWTEST_F_L0() 150 int len = toor->Length(); in HWTEST_F_L0() 153 EXPECT_EQ(toor->Length(), 10); in HWTEST_F_L0() 158 EXPECT_EQ(toor->Length(), 11); in HWTEST_F_L0() 164 EXPECT_EQ(toor->Length(), 12); in HWTEST_F_L0() 185 int len = toor->Length(); in HWTEST_F_L0() 189 EXPECT_EQ(toor->Length(), 10); in HWTEST_F_L0() 195 EXPECT_EQ(toor->Length(), 11); in HWTEST_F_L0() 201 EXPECT_EQ(toor->Length(), 12); in HWTEST_F_L0() 218 EXPECT_EQ(toor->Length(), 20); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_linked_list_test.cpp | 175 int size = list->Length(); in HWTEST_F_L0() 191 EXPECT_EQ(linkedlist->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 196 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 1)); in HWTEST_F_L0() 201 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 2)); in HWTEST_F_L0() 206 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 3)); in HWTEST_F_L0() 208 uint32_t length = static_cast<uint32_t>(linkedlist->Length()); in HWTEST_F_L0() 234 EXPECT_EQ(linkedlist->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 247 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS - 1)); in HWTEST_F_L0() 259 EXPECT_EQ(linkedlist->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 265 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS - 1)); in HWTEST_F_L0() [all …]
|
D | containers_list_test.cpp | 161 int size = list->Length(); in HWTEST_F_L0() 184 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 228 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 241 EXPECT_EQ(list->Length(), static_cast<int>(NODE_NUMBERS - 1)); in HWTEST_F_L0() 254 EXPECT_EQ(list->Length(), static_cast<int>(NODE_NUMBERS - 2)); in HWTEST_F_L0() 266 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 273 EXPECT_EQ(list1->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 284 EXPECT_EQ(list2->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 298 EXPECT_EQ(list3->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 318 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_linked_list.cpp | 31 int nodeLength = doubleList->Length(); in Insert() 73 int nodeLength = doubleList->Length(); in RemoveFirst() 84 int nodeLength = doubleList->Length(); in RemoveLast() 95 int nodeLength = doubleList->Length(); in RemoveByIndex() 110 int nodeLength = doubleList->Length(); in Remove() 121 int nodeLength = doubleList->Length(); in RemoveFirstFound() 133 int nodeLength = doubleList->Length(); in RemoveLastFound() 178 int nodeLength = doubleList->Length(); in Set() 200 int nodeLength = doubleList->Length(); in Get() 245 uint32_t length = static_cast<uint32_t>(doubleList->Length()); in GetOwnProperty() [all …]
|
D | js_api_list.cpp | 60 int nodeLength = singleList->Length(); in Insert() 77 int nodeLength = singleList->Length(); in Set() 104 int nodeLength = singleList->Length(); in Get() 134 int nodeLength = singleList->Length(); in RemoveByIndex() 185 int nodeLength = singleList->Length(); in GetSubList() 229 uint32_t length = static_cast<uint32_t>(singleList->Length()); in GetOwnProperty() 245 int nodeLength = singleList->Length(); in GetProperty() 265 int nodeLength = singleList->Length(); in SetProperty()
|
D | js_api_list.h | 66 inline uint32_t Length() in Length() function 68 return TaggedSingleList::Cast(GetSingleList().GetTaggedObject())->Length(); in Length()
|
D | js_api_linked_list.h | 64 inline uint32_t Length() in Length() function 66 return TaggedDoubleList::Cast(GetDoubleList().GetTaggedObject())->Length(); in Length()
|
/arkcompiler/ets_frontend/ets2panda/util/ |
D | path.cpp | 59 util::StringView fileName = path_.Substr(position + 1, path_.Length()); in InitializeFileName() 75 if (position != std::string::npos && position + 1 <= path_.Length()) { in InitializeFileExtension() 76 fileExtension_ = path_.Substr(position + 1, path_.Length()); in InitializeFileExtension()
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test_extended_features/ |
D | access_UI_methods_without_this_object_FP.ets | 24 function sizeWH(w: Length, h: Length = '100%') {
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_regexp.h | 36 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
|
D | js_for_in_iterator.h | 40 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
|
/arkcompiler/ets_runtime/test/fuzztest/stringreflength_fuzzer/ |
D | stringreflength_fuzzer.cpp | 36 res->Length(); in StringRefLengthFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | interpreter_stub.h | 33 enum class Length : uint8_t { enum 42 Length length { Length::INVALID }; 46 …return (constpool != 0) && (pc != 0) && (offset != Offset::INVALID) && (length != Length::INVALID); in IsValid()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/ |
D | bigIntLiteral.cpp | 33 util::StringView bigIntValue = src_.Substr(0, src_.Length() - 1); in Compile()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_list.h | 46 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
|
D | containers_lightweightmap.h | 26 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
|
D | containers_linked_list.h | 45 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
D | etsStringType.h | 67 return {IsConstantType(), IsConstantType() ? (GetValue().Length() != 0) : false}; in ResolveConditionExpr()
|