Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/
Dclass_operations.cpp36 auto ret = CallEtsMethod<int64_t>("jscall_empty"); in TEST_F() local
42 auto ret = CallEtsMethod<int64_t>("jsnew_empty"); in TEST_F() local
48 auto ret = CallEtsMethod<int64_t>("jscall_static_method_empty"); in TEST_F() local
54 auto ret = CallEtsMethod<int64_t>("jscall_object"); in TEST_F() local
60 auto ret = CallEtsMethod<int64_t>("jsnew_object"); in TEST_F() local
66 auto ret = CallEtsMethod<int64_t>("jsnew_setproperty_object"); in TEST_F() local
73 auto ret = CallEtsMethod<int64_t>("jscall_method_object"); in TEST_F() local
80 auto ret = CallEtsMethod<int64_t>("jscall_method_simple"); in TEST_F() local
86 auto ret = CallEtsMethod<int64_t>("jscall_string"); in TEST_F() local
92 auto ret = CallEtsMethod<int64_t>("jsnew_string"); in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/
Dscenarios.cpp25 auto ret = CallEtsMethod<bool>("Test_standalone_function_call"); in TEST_F() local
31 auto ret = CallEtsMethod<bool>("Test_class_method_call"); in TEST_F() local
37 auto ret = CallEtsMethod<bool>("Test_interface_method_call"); in TEST_F() local
43 auto ret = CallEtsMethod<bool>("Test_class_getter"); in TEST_F() local
49 auto ret = CallEtsMethod<bool>("Test_class_setter"); in TEST_F() local
55 auto ret = CallEtsMethod<bool>("Test_lambda_function_call"); in TEST_F() local
61 auto ret = CallEtsMethod<bool>("Test_generic_function_call"); in TEST_F() local
67 auto ret = CallEtsMethod<bool>("Test_function_arg_type_any"); in TEST_F() local
73 auto ret = CallEtsMethod<bool>("Test_function_arg_type_unknown"); in TEST_F() local
79 auto ret = CallEtsMethod<bool>("Test_function_arg_type_undefined"); in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/strict_equality/
Dstrict_equality.cpp25 auto ret = CallEtsMethod<bool>("TestEqualTrue"); in TEST_F() local
31 auto ret = CallEtsMethod<bool>("TestEqualFalse"); in TEST_F() local
37 auto ret = CallEtsMethod<bool>("TestNotEqualTrue"); in TEST_F() local
43 auto ret = CallEtsMethod<bool>("TestNotEqualFalse"); in TEST_F() local
50 auto ret = CallEtsMethod<bool>("TestNotStrictEqualTrue"); in TEST_F() local
56 auto ret = CallEtsMethod<bool>("TestNotStrictEqualFalse"); in TEST_F() local
62 auto ret = CallEtsMethod<bool>("TestNotStrictNotEqualTrue"); in TEST_F() local
68 auto ret = CallEtsMethod<bool>("TestNotStrictNotEqualFalse"); in TEST_F() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_with_lambda/
Ddynamic_with_lambda.cpp25 auto ret = CallEtsMethod<uint32_t>("TestArgs0"); in TEST_F() local
31 auto ret = CallEtsMethod<uint32_t>("TestArgs1"); in TEST_F() local
37 auto ret = CallEtsMethod<uint32_t>("TestArgs2"); in TEST_F() local
44 auto ret = CallEtsMethod<uint32_t>("TestLambdaJSValue"); in TEST_F() local
51 auto ret = CallEtsMethod<uint32_t>("TestLambdaJSValueCast"); in TEST_F() local
58 auto ret = CallEtsMethod<uint32_t>("TestLambdaJSValueCache"); in TEST_F() local
65 auto ret = CallEtsMethod<uint32_t>("TestLambdaJSValueCastCallAsArgument"); in TEST_F() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_instanceof/
Ddynamic_instanceof.cpp25 auto ret = CallEtsMethod<bool>("Test1"); in TEST_F() local
31 auto ret = CallEtsMethod<bool>("Test2"); in TEST_F() local
37 auto ret = CallEtsMethod<bool>("Test3"); in TEST_F() local
43 auto ret = CallEtsMethod<bool>("Test4"); in TEST_F() local
49 auto ret = CallEtsMethod<bool>("Test5"); in TEST_F() local
55 auto ret = CallEtsMethod<bool>("Test6"); in TEST_F() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_enum/
Ddynamic_enum.cpp25 auto ret = CallEtsMethod<bool>("Test1"); in TEST_F() local
31 auto ret = CallEtsMethod<bool>("Test2"); in TEST_F() local
37 auto ret = CallEtsMethod<bool>("Test3"); in TEST_F() local
43 auto ret = CallEtsMethod<bool>("Test4"); in TEST_F() local
49 auto ret = CallEtsMethod<bool>("Test5"); in TEST_F() local
55 auto ret = CallEtsMethod<bool>("Test6"); in TEST_F() local
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/
Dcallconv32_test.cpp109 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
125 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
141 auto ret = param_info->GetNativeParam(INT64_TYPE); in TEST_F() local
155 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
171 auto ret = param_info->GetNativeParam(FLOAT64_TYPE); in TEST_F() local
187 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
227 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
271 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
/arkcompiler/runtime_core/compiler/tests/aarch32/
Dcallconv32_test.cpp104 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
120 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
136 auto ret = param_info->GetNativeParam(INT64_TYPE); in TEST_F() local
150 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
166 auto ret = param_info->GetNativeParam(FLOAT64_TYPE); in TEST_F() local
182 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
222 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
266 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
/arkcompiler/toolchain/tooling/base/
Dpt_params.cpp23 Result ret; in Create() local
45 Result ret; in Create() local
115 Result ret; in Create() local
151 Result ret; in Create() local
197 Result ret; in Create() local
219 Result ret; in Create() local
241 Result ret; in Create() local
263 Result ret; in Create() local
285 Result ret; in Create() local
315 Result ret; in Create() local
[all …]
Dpt_json.cpp70 cJSON_bool ret = cJSON_AddItemToObject(object_, key, node); in Add() local
103 cJSON_bool ret = cJSON_AddItemToObject(object_, key, node); in Add() local
121 cJSON_bool ret = cJSON_AddItemToObject(object_, key, node); in Add() local
139 cJSON_bool ret = cJSON_AddItemToObject(object_, key, node); in Add() local
154 cJSON_bool ret = cJSON_AddItemToArray(object_, node); in Push() local
185 cJSON_bool ret = cJSON_AddItemToArray(object_, node); in Push() local
201 cJSON_bool ret = cJSON_AddItemToArray(object_, node); in Push() local
221 cJSON_bool ret = cJSON_AddItemToArray(object_, node); in Push() local
377 Result ret = GetDouble(key, &result); in GetInt() local
387 Result ret = GetDouble(key, &result); in GetInt64() local
[all …]
/arkcompiler/runtime_core/assembler/tests/
Dassembler_mangling_test.cpp46 std::string ret = MangleFunctionName(name, std::move(params), return_type); variable
59 std::string ret = DeMangleName(name); variable
78 std::string ret = GetFunctionSignatureFromName(name, std::move(params)); variable
91 std::string ret = GetFunctionNameFromSignature(name); variable
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dmpl_scheduler.cpp41 int ret = pthread_mutex_init(&mutexTaskIdsToRun, nullptr); in Init() local
62 int ret = pthread_mutex_lock(&mutexTaskIdsToRun); in GetTaskToRun() local
74 int ret = pthread_mutex_lock(&mutexTaskIdsToFinish); in GetTaskIdsFinishSize() local
85 int ret = pthread_mutex_lock(&mutexTaskIdsToFinish); in GetTaskFinishFirst() local
97 int ret = pthread_mutex_lock(&mutexTaskIdsToFinish); in RemoveTaskFinish() local
106 int ret = pthread_mutex_lock(&mutexTaskIdsToFinish); in TaskIdFinish() local
176 int ret = 0; in ThreadMain() local
229 int ret = 0; in ThreadFinish() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_undefined/
Dtest_undefined.cpp25 auto ret = CallEtsMethod<bool>("TestPassUndefinedToEts"); in TEST_F() local
31 auto ret = CallEtsMethod<bool>("TestPassUndefinedFromEts"); in TEST_F() local
37 auto ret = CallEtsMethod<bool>("TestPassNullToEts"); in TEST_F() local
43 auto ret = CallEtsMethod<bool>("TestPassNullFromEts"); in TEST_F() local
/arkcompiler/runtime_core/compiler/tests/aarch64/
Dcallconv64_test.cpp96 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
112 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
128 auto ret = param_info->GetNativeParam(INT64_TYPE); in TEST_F() local
144 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
160 auto ret = param_info->GetNativeParam(FLOAT64_TYPE); in TEST_F() local
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
Dcallconv64_test.cpp101 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
117 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
133 auto ret = param_info->GetNativeParam(INT64_TYPE); in TEST_F() local
149 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
165 auto ret = param_info->GetNativeParam(FLOAT64_TYPE); in TEST_F() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi_macros.h89 #define ETS_NAPI_RETURN_IF_EQ(a, b, ret) \ argument
96 #define ETS_NAPI_RETURN_IF_NE(a, b, ret) \ argument
103 #define ETS_NAPI_RETURN_IF_GT(a, b, ret) \ argument
110 #define ETS_NAPI_RETURN_IF_GE(a, b, ret) \ argument
117 #define ETS_NAPI_RETURN_IF_LT(a, b, ret) \ argument
124 #define ETS_NAPI_RETURN_IF_LE(a, b, ret) \ argument
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dcallconv64_test.cpp104 auto ret = paramInfo->GetNativeParam(INT8_TYPE); in TEST_F() local
120 auto ret = paramInfo->GetNativeParam(INT32_TYPE); in TEST_F() local
136 auto ret = paramInfo->GetNativeParam(INT64_TYPE); in TEST_F() local
152 auto ret = paramInfo->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
168 auto ret = paramInfo->GetNativeParam(FLOAT64_TYPE); in TEST_F() local
/arkcompiler/runtime_core/compiler/tests/amd64/
Dcallconv64_test.cpp97 auto ret = param_info->GetNativeParam(INT8_TYPE); in TEST_F() local
113 auto ret = param_info->GetNativeParam(INT32_TYPE); in TEST_F() local
129 auto ret = param_info->GetNativeParam(INT64_TYPE); in TEST_F() local
145 auto ret = param_info->GetNativeParam(FLOAT32_TYPE); in TEST_F() local
161 auto ret = param_info->GetNativeParam(FLOAT64_TYPE); in TEST_F() local
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dthread.cpp46 auto ret = SetThreadPriority(thread, prio); in SetPriority() local
58 auto ret = GetThreadPriority(thread); in GetPriority() local
90 void ThreadExit(void *ret) in ThreadExit()
95 void ThreadJoin(NativeHandleType pthreadHandle, void **ret) in ThreadJoin()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dthread.cpp46 auto ret = SetThreadPriority(thread, prio); in SetPriority() local
58 auto ret = GetThreadPriority(thread); in GetPriority() local
90 void ThreadExit(void *ret) in ThreadExit()
95 void ThreadJoin(native_handle_type pthread_handle, void **ret) in ThreadJoin()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dmcr_circuit_builder.cpp38 …GateRef ret = GetCircuit()->NewGate(circuit_->ObjectTypeCheck(accessor.ToValue()), MachineType::I1, in ObjectTypeCheck() local
52 …GateRef ret = GetCircuit()->NewGate(circuit_->ObjectTypeCompare(accessor.ToValue()), MachineType::… in ObjectTypeCompare() local
64 GateRef ret = GetCircuit()->NewGate(circuit_->HeapObjectCheck(), in HeapObjectCheck() local
81 GateRef ret = GetCircuit()->NewGate(circuit_->ProtoChangeMarkerCheck(), in ProtoChangeMarkerCheck() local
97 GateRef ret = GetCircuit()->NewGate(circuit_->StableArrayCheck(accessor.ToValue()), in StableArrayCheck() local
110 GateRef ret = GetCircuit()->NewGate(circuit_->COWArrayCheck(), in COWArrayCheck() local
123 GateRef ret = GetCircuit()->NewGate(circuit_->EcmaStringCheck(), in EcmaStringCheck() local
136 GateRef ret = GetCircuit()->NewGate(circuit_->FlattenTreeStringCheck(), in FlattenTreeStringCheck() local
148 GateRef ret = GetCircuit()->NewGate(circuit_->HClassStableArrayCheck(accessor.ToValue()), in HClassStableArrayCheck() local
160 GateRef ret = GetCircuit()->NewGate(circuit_->ArrayGuardianCheck(), in ArrayGuardianCheck() local
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/external/
Dpanda_file_external.h46 auto ret = pOpenPandafileFromMemoryExt(addr, size, fileName, &pfExt); in OpenPandafileFromMemory() local
61 auto ret = pOpenPandafileFromFdExt(fd, offset, fileName, &pfExt); in OpenPandafileFromFd() local
74 auto ret = pQueryMethodSymByOffsetExt(pfExt_, offset, &methodInfo); in QueryMethodSymByOffset() local
87 auto ret = pQueryMethodSymAndLineByOffsetExt(pfExt_, offset, &methodInfo); in QueryMethodSymAndLineByOffset() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/mdgen/src/
Dmdrecord.cpp76 auto ret = stringHashTable.insert(std::make_pair(inStr, curInfo)); in CreateStrInTable() local
88 auto ret = stringHashTable.find(inStr); in GetStrInTable() local
107 auto ret = stringHashTable.find(inStr); in ModifyStrTyInTable() local
124 auto ret = allClasses.find(givenIdx); in FillMDClass() local
131 auto ret = allClasses.find(givenIdx); in GetOneMDClass() local
138 auto ret = definedTypes.find(givenTyIdx); in GetOneSpcType() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_object/
Ddynamic_object.cpp28 auto ret = CallEtsMethod<napi_value>("double2jsvalue", TEST_VALUE); in TEST_F() local
49 auto ret = CallEtsMethod<double>("jsvalue2double", jsValue); in TEST_F() local
71 auto ret = CallEtsMethod<double>("get_property_from_jsvalue", jsObj); in TEST_F() local
98 auto ret = CallEtsMethod<double>("get_property_from_jsvalue2", jsObj); in TEST_F() local
116 auto ret = CallEtsMethod<napi_value>("set_property_to_jsvalue", jsObj, TEST_VALUE); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_binary_op.h46 double ret = a0Double + a1Double; in AddWithTSType() local
70 … EcmaString *ret = EcmaStringAccessor::Concat(thread->GetEcmaVM(), stringA0, stringA1); in AddWithTSType() local
82 … EcmaString *ret = EcmaStringAccessor::Concat(thread->GetEcmaVM(), stringA0, stringA1); in AddWithTSType() local
89 … EcmaString *ret = EcmaStringAccessor::Concat(thread->GetEcmaVM(), stringA0, stringA1); in AddWithTSType() local
116 double ret = a0Double - a1Double; in SubWithTSType() local
127 auto ret = number0 - number1; in SubWithTSType() local
305 auto ret = in ShlWithTSType() local
320 auto ret = static_cast<int32_t>(opNumber0 >> shift); // NOLINT(hicpp-signed-bitwise) in ShrWithTSType() local
335 auto ret = in AshrWithTSType() local
349 auto ret = static_cast<uint32_t>(opNumber0) & static_cast<uint32_t>(opNumber1); in AndWithTSType() local
[all …]

12345678910>>...14