| /arkcompiler/runtime_core/verification/util/tests/ |
| D | environment.cpp | 37 …onst auto WS = par::of_charset(" \t\r\n"); // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 38 …onst auto DELIM = par::of_string(";"); // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 46 …WS.of_charset("abcdefghijklmnopqrstuvwxyz_") // NOLINT(readability-static-accessed-through-instan… in EnvOptions() 48 …nst auto EQ = NAME.of_string("="); // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 49 …nst auto BOOL_TRUE = EQ.of_string("true"); // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 51 BOOL_TRUE.of_string("false"); // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 64 … auto DEC = BOOL.of_charset("0123456789"); // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 65 … auto HEX = DEC.of_string("0x") >> DEC; // NOLINT(readability-static-accessed-through-instance) in EnvOptions() 73 …static const auto QUOTES = HEX.of_string("\""); // NOLINT(readability-static-accessed-through-ins… in EnvOptions() 75 QUOTES.of_charset(!charset("\"")); // NOLINT(readability-static-accessed-through-instance) in EnvOptions()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | template_map_test.cpp | 53 …* @tc.desc: Create a TemplateMap through calling Create function with numberOfElements. Check whet… 54 …* returned through the TemplateMap's calling Get/GetKey/GetValue function is within expe… 55 …* whether the value returned through the TaggedArray's(transformed from the TemplateMap)… 83 …* the value(entry) returned through the TemplateMap's calling FindEntry function with th… 84 …* within expectations. Check whether the value returned through the TemplateMap's callin… 120 …reate a TemplateMap, let it call IncreaseEntries function, check whether the value returned through 139 …* whether the value returned through calling EntriesCount function and the value returne… 160 …* @tc.desc: Check whether the value returned through a TemplateMap's calling ComputeHashTableSize … 183 …* @tc.desc: Create a source TemplateMap, change it through calling IncreaseEntries/IncreaseHoleEnt… 184 …* Check whether the bool returned through the source TemplateMap's calling IsNeedGrowHas… [all …]
|
| D | js_dataview_test.cpp | 56 …* CaseDescription: Check whether the returned value through "GetElementSize" function is within ex… 76 …* CaseDescription: Check whether the returned value through "GetDataView" function is within expec… 94 // Call "SetDataView" function through "NewJSDataView" function of "object_factory.cpp" in HWTEST_F_L0() 111 …* CaseDescription: Check whether the returned value through "GetViewedArrayBuffer" function is wit… 132 // Call "SetViewedArrayBuffer" function through "NewJSDataView" function of "object_factory.cpp" in HWTEST_F_L0() 152 …* CaseDescription: Check whether the returned value through "GetByteLength" function is within exp… 170 // Call "SetByteLength" function through "NewJSDataView" function of "object_factory.cpp" in HWTEST_F_L0() 185 …* CaseDescription: Check whether the returned value through "GetByteOffset" function is within exp… 203 // Call "SetByteOffset" function through "NewJSDataView" function of "object_factory.cpp" in HWTEST_F_L0()
|
| D | js_map_iterator_test.cpp | 68 * through "IsJSMapIterator" function is within expectations. 94 …* @tc.desc: Create a JSMapIterator through calling "CreateMapIterator" function with the current t… 95 …* the returned value through calling "GetIteratedMap" function from the JSMapIterator is… 96 …* returned value through calling "GetLinkedMap" function. Call "SetIteratedMap" function… 97 …* Check whether the returned JSTaggedValue through calling "GetNextIndex" function from … 120 …* @tc.desc: Create a JSMapIterator through calling "CreateMapIterator" function with the current t… 121 …* whether the returned value through calling "GetNextIndex" function from the JSMapItera… 122 … JSTaggedValue(0) Call "SetNextIndex" to change NextIndex, Check whether the returned value through 142 …* @tc.desc: Create a JSMapIterator through calling CreateMapIterator function with the current thr… 143 …* the returned value through calling "GetIterationKind" function is the same with JSTagg… [all …]
|
| D | ecma_string_test.cpp | 58 …* @tc.desc: Check whether the bool returned through calling CanBeCompressed function is within exp… 74 …* @tc.desc: Check whether the EcmaString created through calling CreateEmptyString function is wit… 88 …* @tc.desc: Check whether the EcmaString created through calling AllocStringObject function is wit… 118 …* @tc.desc: Check whether the EcmaString created through calling CreateFromUtf8 function is within… 138 …* @tc.desc: Check whether the EcmaString created through calling CreateFromUtf16 function is withi… 165 …* @tc.desc: Check whether the value returned through calling ComputeSizeUtf8 function is within ex… 180 …* @tc.desc: Check whether the value returned through calling ComputeDataSizeUtf16 function is with… 195 …* @tc.desc: Check whether the value returned through calling ComputeSizeUtf16 function is within e… 210 …* @tc.desc: Check whether the value returned through calling ObjectSize function is within expecta… 253 …* @tc.desc: Check whether the value returned through calling Compare function between EcmaStrings … [all …]
|
| D | ecma_string_accessor_test.cpp | 52 …* @tc.desc: Check whether the EcmaString created through calling AllocStringObject function is wit… 83 …* @tc.desc: Check whether the EcmaString created through calling CreateEmptyString function is wit… 97 …* @tc.desc: Check whether the EcmaString created through calling CreateFromUtf8 function is within… 117 …* @tc.desc: Check whether the EcmaString created through calling CreateFromUtf16 function is withi… 144 …* @tc.desc: Check whether the EcmaString returned through calling Concat function between EcmaStri… 174 …* @tc.desc: Check whether the EcmaString returned through calling Concat function between EcmaStri… 206 …* @tc.desc: Check whether the EcmaString returned through calling Concat function between EcmaStri… 238 …* @tc.desc: Check whether the EcmaString returned through calling FastSubString function from Ecma… 263 …* @tc.desc: Check whether the EcmaString returned through calling FastSubString function from Ecma… 288 …* @tc.desc: Check whether the EcmaString returned through calling FastSubString function from Ecma… [all …]
|
| D | js_array_iterator_test.cpp | 56 …* CaseDescription: Call the "SetIteratedArray" function, check whether the result returned through… 79 … // Call "SetIteratedArray" function through "NewJSArrayIterator" function of "object_factory.cpp". in HWTEST_F_L0() 106 …* CaseDescription: Call the "SetNextIndex" function, check whether the result returned through "Ge… 122 // Call "SetNextIndex" function through "NewJSArrayIterator" function of "object_factory.cpp". in HWTEST_F_L0() 140 …* CaseDescription: Call the "SetIterationKind" function, check whether the result returned through… 156 … // Call "SetIterationKind" function through "NewJSArrayIterator" function of "object_factory.cpp". in HWTEST_F_L0()
|
| D | js_stable_array_test.cpp | 52 …* @tc.desc: Change a JSArray through calling Push function with the JSArray and a EcmaRuntimeCallI… 85 …* @tc.desc: Change a JSArray through calling Pop function with the JSArray and a EcmaRuntimeCallIn… 122 …* through calling CreateArrayFromList function with the source TaggedArray, create a del… 168 // Check the JSArray(in-out-parameter) changed through calling the Splice function. in HWTEST_F_L0() 222 …* returned through calling Join function with the source Array and the EcmaRuntimeCallIn… 252 …* EcmaString returned through calling Join function with the source Array and the EcmaRu… 283 …ntimeCallInfo an EcmaString as the seperator, check whether the EcmaString returned through calling 315 …e EcmaRuntimeCallInfo an EcmaString as the seperator, check whether the EcmaString returned through
|
| D | js_api_tree_set_iterator_test.cpp | 84 …* @tc.desc: Call the "SetIterationKind" function, check whether the result returned through "GetIt… 105 …* @tc.desc: Call the "SetIteratedSet" function, check whether the result returned through "GetIter… 138 …* @tc.desc: Call the "SetNextIndex" function, check whether the result returned through "GetNextIn… 161 …* @tc.desc: Create TreeSet iterator, check whether the result returned through "IsJSAPITreeSetIter… 188 …* @tc.desc: Create an iterator of JSAPITreeSet,and then loop through the elements(key and keyAndva… 189 * iterator to check whether the elements through "Next" function are consistent.
|
| D | js_api_vector_iterator_test.cpp | 84 …* @tc.desc: Call the "SetIteratedSet" function, check whether the result returned through "GetIter… 116 …* @tc.desc: Call the "SetNextIndex" function, check whether the result returned through "GetNextIn… 138 …* @tc.desc: Create an iterator of JSAPIVector,and then loop through the elements of the iterator t… 139 * whether the elements through "Next" function are consistent.
|
| D | js_api_deque_iterator_test.cpp | 82 …* @tc.desc: Create an iterator of JSAPIDeque,and then loop through the elements of the iterator to… 83 * the elements are consistent through Next function. 165 …* @tc.desc: Call the "SetIteratedDeque" function, check whether the result returned through "GetIt… 201 …* @tc.desc: Call the "SetNextIndex" function, check whether the result returned through "GetNextIn…
|
| D | js_typed_array_test.cpp | 113 …* CaseDescription: Check whether the EcmaStrings transformed through calling ToPropKey function fr… 146 …* CaseDescription: Check whether the EcmaStrings transformed through calling ToPropKey function fr… 192 …* CaseDescription: Check whether the bools returned through calling IsTypedArray/IsInt8Array... fu… 193 …* JSTypedArrays created through calling NewJSObjectByConstructor function are wit… 240 …* CaseDescription: Check whether the JSArrayBuffer returned through calling GetViewedArrayBuffer f… 241 …* JSTypedArray changed through calling SetViewedArrayBuffer function is within ex… 263 …* CaseDescription: Check whether the JSTaggedValue returned through calling GetTypedArrayName func… 264 …* JSTypedArray changed through calling SetTypedArrayName function is within expec… 287 …* CaseDescription: Check whether the Number returned through calling GetByteLength function from t… 288 * changed through calling SetByteLength function is within expectations. [all …]
|
| D | js_api_stack_iterator_test.cpp | 81 …* @tc.desc: Create an iterator of JSAPIStack,and then loop through the elements of the iterator to… 82 * the elements are consistent through Next function. 164 …* @tc.desc: Call the "SetIteratedStack" function, check whether the result returned through "GetIt… 207 …* @tc.desc: Call the "SetNextIndex" function, check whether the result returned through "GetNextIn…
|
| D | js_api_queue_iterator_test.cpp | 85 …* @tc.desc: Create an iterator of JSAPIQueue,and then loop through the elements of the iterator to… 86 * the elements are consistent through Next function. 172 …* @tc.desc: Call the "SetIteratedQueue" function, check whether the result returned through "GetIt… 208 …* @tc.desc: Call the "SetNextIndex" function, check whether the result returned through "GetNextIn…
|
| D | js_api_tree_map_iterator_test.cpp | 85 …* @tc.desc: Call the "SetIterationKind" function, check whether the result returned through "GetIt… 106 …* @tc.desc: Call the "SetIteratedMap" function, check whether the result returned through "GetIter… 146 …* @tc.desc: Call the "SetNextIndex" function, check whether the result returned through "GetNextIn… 169 …* @tc.desc: Create TreeMap iterator, check whether the result returned through "IsJSAPITreeMapIter… 196 …* @tc.desc: Create an iterator of JSAPITreeMap,and then loop through the elements(key,value and ke… 197 * iterator to check whether the elements through "Next" function are consistent.
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | json_stringifier_test.cpp | 92 * @tc.desc: Check whether the result returned through "Stringify" function is within expectations 95 * after through "call" function. 127 * @tc.desc: Check whether the result returned through "Stringify" function is within expectations 129 …* is Number.This situation will stringize parameters through "SerializeJSONObject" funct… 151 * @tc.desc: Check whether the result returned through "Stringify" function is within expectations 153 …* is String,This situation will stringize parameters through "SerializeJSONObject" funct… 179 * @tc.desc: Check whether the result returned through "Stringify" function is within expectations 181 …* is String.This situation will stringize parameters through "SerializeJSONObject" funct… 218 * @tc.desc: Check whether the result returned through "Stringify" function is within expectations 220 …* is Undefined.This situation will stringize the first parameter through "SerializeJSONO… [all …]
|
| D | builtins_base_test.cpp | 55 …* @tc.desc: Create msgs through "CreateEcmaRuntimeCallInfo" function,Set ArgsNumber and CallArg ,t… 80 …* @tc.desc: Create msgs through "CreateEcmaRuntimeCallInfo" function,then through "SetFunction","S… 81 …* function set msgs,check result returned through "GetConstructor","GetFunction","GetThi… 121 …* @tc.desc: Check whether the result returned through "GetTaggedString" function is within expecta… 142 …* @tc.desc: Check whether the result returned through "GetTaggedInt" function is within expectatio… 154 …* @tc.desc: Check whether the result returned through "GetTaggedDouble" function is within expecta… 166 …* @tc.desc: Check whether the result returned through "GetTaggedBoolean" function is within expect…
|
| D | json_parser_test.cpp | 52 …* @tc.desc: Passing in a character of type "uint8_t" check whether the result returned through "Pa… 80 …* @tc.desc: Passing in a character of type "uint16_t" check whether the result returned through "P… 116 …* @tc.desc: Passing in a character of type "uint8_t" check whether the result returned through "Pa… 136 …* @tc.desc: Passing in a character of type "uint8_t" check whether the result returned through "Pa… 163 …* @tc.desc: Passing in a character of type "uint8_t" check whether the result returned through "Pa…
|
| D | array_helper_test.cpp | 54 …* @tc.desc: Check whether the second parameter is a JsArray type through "IsConcatSpreadable" func… 112 * @tc.desc: Check whether the result returned through "GetLength" function is within expectations. 146 …* @tc.desc: Check whether the result returned through "GetArrayLength" function is within expectat…
|
| /arkcompiler/ets_runtime/ecmascript/ic/tests/ |
| D | properties_cache_test.cpp | 52 …* @tc.desc: Creating PropertiesCache through "GetPropertiesCache" function,Set two values through … 53 …* one is string and the other is symbol, and then check whether it is correct through th… 89 …* @tc.desc: Creating PropertiesCache through "GetPropertiesCache" function,Set two values through … 90 …* then call "Clear" function,check the returned value through "get" function is within e…
|
| D | property_box_test.cpp | 51 …* @tc.desc: Creating PropertyBox object through "NewPropertyBox" function,the Property value is ex… 71 …* @tc.desc: Creating PropertyBox object through "NewPropertyBox" function,this object call "SetVal… 72 * check wether the result returned through "GetValue" function is within expectations.
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | inst_generator_test.cpp | 505 /* fall-through */ in DoShift() 558 /* fall-through */ in DoLogic() 562 /* fall-through */ in DoLogic() 567 /* fall-through */ in DoLogic() 572 /* fall-through */ in DoLogic() 577 /* fall-through */ in DoLogic() 582 /* fall-through */ in DoLogic() 587 /* fall-through */ in DoLogic() 593 /* fall-through */ in DoLogic() 598 /* fall-through */ in DoLogic() [all …]
|
| /arkcompiler/runtime_core/cmake/ |
| D | README.md | 44 To check code-style through just one check-system - use `make clang_tidy` or `make clang_format`. 54 * Script to show diff through clang-format execution - `scripts/run-clang-format.py`
|
| D | CodeStyle.cmake | 84 # Function to check through clang-format 118 # Function to force style through clang-format
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | concurrent_sweeper.h | 49 // Help to finish sweeping task. It can be called through js thread 51 // Ensure task finish. It can be called through js thread
|