Home
last modified time | relevance | path

Searched refs:Length (Results 1 – 25 of 80) sorted by relevance

1234

/arkcompiler/ets_frontend/ets2panda/linter/test/
Ddynamic_lib.d.ts67 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;
Dd_ts.lib2.d.ts17 declare type Length = string | number | Resource; alias
23 top?: Length;
24 right?: Length;
25 bottom?: Length;
26 left?: Length;
Dd_ts.lib.d.ts16 import { Margin, Length } from "./d_ts.lib2";
29 declare function margin<T>(value: Margin | Length): T;
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/
Ddynamic_lib.d.ts67 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;
Dd_ts.lib2.d.ts17 declare type Length = string | number | Resource; alias
23 top?: Length;
24 right?: Length;
25 bottom?: Length;
26 left?: Length;
Dd_ts.lib.d.ts16 import { Margin, Length } from "./d_ts.lib2";
29 declare function margin<T>(value: Margin | Length): T;
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_linked_list_test.cpp112 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 …]
Djs_api_list_test.cpp114 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/
Dcontainers_linked_list_test.cpp175 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 …]
Dcontainers_list_test.cpp161 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/
Djs_api_linked_list.cpp31 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 …]
Djs_api_list.cpp60 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()
Djs_api_list.h66 inline uint32_t Length() in Length() function
68 return TaggedSingleList::Cast(GetSingleList().GetTaggedObject())->Length(); in Length()
Djs_api_linked_list.h64 inline uint32_t Length() in Length() function
66 return TaggedDoubleList::Cast(GetDoubleList().GetTaggedObject())->Length(); in Length()
/arkcompiler/ets_frontend/ets2panda/util/
Dpath.cpp59 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/
Daccess_UI_methods_without_this_object_FP.ets24 function sizeWH(w: Length, h: Length = '100%') {
/arkcompiler/ets_runtime/ecmascript/
Djs_regexp.h36 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
Djs_for_in_iterator.h40 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
/arkcompiler/ets_runtime/test/fuzztest/stringreflength_fuzzer/
Dstringreflength_fuzzer.cpp36 res->Length(); in StringRefLengthFuzzTest()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dinterpreter_stub.h33 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/
DbigIntLiteral.cpp33 util::StringView bigIntValue = src_.Substr(0, src_.Length() - 1); in Compile()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_list.h46 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
Dcontainers_lightweightmap.h26 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
Dcontainers_linked_list.h45 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsStringType.h67 return {IsConstantType(), IsConstantType() ? (GetValue().Length() != 0) : false}; in ResolveConditionExpr()

1234