| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/ |
| D | ets_interop_js_gtest.h | 58 [[maybe_unused]] napi_status status = napi_is_exception_pending(GetJsEnv(), &hasPendingExc); in SetUp() local 83 [[maybe_unused]] napi_status status = napi_create_object(jsEnv_, &jsObject); in SetGtestEnv() local 146 …napi_status status = napi_load_module_with_module_request(jsEnv_, pathToModule.c_str(), &jsModule); in LoadModule() local 163 [[maybe_unused]] napi_status status; in DoRunJsScript() local 208 … [[maybe_unused]] napi_status status = napi_get_value_string_utf8(env, jsStr, nullptr, 0, &length); in GetString() local 223 [[maybe_unused]] napi_status status = napi_get_value_double(env, jsValue, &v); in GetRetValue() local 228 [[maybe_unused]] napi_status status = napi_get_value_int32(env, jsValue, &v); in GetRetValue() local 233 [[maybe_unused]] napi_status status = napi_get_value_uint32(env, jsValue, &v); in GetRetValue() local 238 [[maybe_unused]] napi_status status = napi_get_value_int64(env, jsValue, &v); in GetRetValue() local 243 [[maybe_unused]] napi_status status = napi_get_value_bool(env, jsValue, &v); in GetRetValue() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/bindings/native/src/ |
| D | convertors-napi.cpp | 37 napi_status status = napi_typeof(env, value, &type); in getValueTypeChecked() local 45 napi_status status = napi_is_typedarray(env, value, &result); in isTypedArray() local 118 napi_status status = napi_get_value_string_utf8(env, value, nullptr, 0, &length); in getString() local 133 napi_status status = napi_get_value_external(env, value, &result); in getPointer() local 145 napi_status status = napi_get_value_bigint_uint64(env, value, &ptrU64, &isWithinRange); in getPointer() local 174 …napi_status status = napi_create_string_utf8(env, value.isNull() ? "" : value.data(), value.length… in makeString() local 182 napi_status status = napi_create_string_utf8(env, value.c_str(), value.length(), &result); in makeString() local 190 napi_status status = napi_get_boolean(env, value != 0, &result); in makeBoolean() local 198 napi_status status = napi_create_int32(env, value, &result); in makeInt32() local 206 napi_status status = napi_create_uint32(env, value, &result); in makeUInt32() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/string_ops/ |
| D | string_new_utf16_test.cpp | 27 auto status = env_->String_NewUTF16(nullptr, size, &result); in TEST_F() local 36 auto status = env_->String_NewUTF16(stringTest, 0U, &result); in TEST_F() local 46 auto status = env_->c_api->String_NewUTF16(nullptr, example, length, &result); in TEST_F() local 55 auto status = env_->String_NewUTF16(example, length, &result); in TEST_F() local 65 auto status = env_->String_NewUTF16(example, length, &result); in TEST_F() local 75 auto status = env_->String_NewUTF16(example, length, &result); in TEST_F() local 85 auto status = env_->String_NewUTF16(example, length, &result); in TEST_F() local 96 auto status = env_->String_NewUTF16(example, strSize, &result); in TEST_F() local 108 auto status = env_->String_NewUTF16(example, length, &result); in TEST_F() local
|
| D | string_get_utf8_size_test.cpp | 25 ani_status status = env_->String_GetUTF8Size(nullptr, &result); in TEST_F() local 33 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 44 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 55 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 68 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 82 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 95 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local
|
| D | string_new_utf8_test.cpp | 26 auto status = env_->String_NewUTF8(nullptr, size, &result); in TEST_F() local 34 auto status = env_->String_NewUTF8("", 0U, &result); in TEST_F() local 44 auto status = env_->String_NewUTF8(longString.c_str(), longString.size(), &result); in TEST_F() local 53 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &result); in TEST_F() local 73 auto status = env_->c_api->String_NewUTF8(nullptr, example.c_str(), example.size(), &string); in TEST_F() local 81 ani_status status = env_->String_NewUTF8(example.c_str(), example.size() - 1U, &result); in TEST_F() local 100 ani_status status = env_->String_NewUTF8(example.c_str(), 0U, &result); in TEST_F() local 121 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &result); in TEST_F() local
|
| D | string_get_utf16_size_test.cpp | 26 ani_status status = env_->String_GetUTF16Size(nullptr, &result); in TEST_F() local 34 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 45 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 56 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 69 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 84 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 97 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local
|
| D | string_get_utf8_test.cpp | 27 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 42 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 58 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 73 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 86 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 101 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 114 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 128 ani_status status = env_->String_GetUTF8(nullptr, utfBuffer, bufferSize, &result); in TEST_F() local 136 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 149 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local [all …]
|
| D | string_get_utf16_test.cpp | 30 auto status = env_->String_GetUTF16(string, utf16Buffer, bufferSize, &result); in TEST_F() local 39 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 52 auto status = env_->String_NewUTF16(example, 0U, &string); in TEST_F() local 66 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 83 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 98 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t), &string); in TEST_F() local 113 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 127 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t), &string); in TEST_F() local 139 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t), &string); in TEST_F() local 152 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t), &string); in TEST_F() local [all …]
|
| D | string_get_utf16_substr_test.cpp | 27 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 46 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 65 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 84 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t), &string); in TEST_F() local 104 ani_status status = in TEST_F() local 113 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 129 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 143 auto status = env_->String_NewUTF16(example, sizeof(example) / sizeof(uint16_t) - 1U, &string); in TEST_F() local 157 auto status = env_->String_NewUTF16(example, 0U, &string); in TEST_F() local 174 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local [all …]
|
| D | string_get_utf8_substr.cpp | 27 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 45 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 68 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 86 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 101 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 117 ani_status status = in TEST_F() local 126 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 141 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 156 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local 173 auto status = env_->String_NewUTF8(example.c_str(), example.size(), &string); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | compiler_graph_test.cpp | 67 bool status = false; variable 92 bool status = false; variable 123 bool status = false; variable 145 bool status = false; variable 180 bool status = false; variable 205 bool status = false; variable 241 bool status = false; variable 269 bool status = false; variable 292 bool status = false; variable 331 bool status = false; variable [all …]
|
| D | compiler_basicblock_test.cpp | 81 bool status = false; variable 110 bool status = false; variable 136 bool status = false; variable 158 bool status = false; variable 183 bool status = false; variable 213 bool status = false; variable 244 bool status = false; variable 269 bool status = false; variable 298 bool status = false; variable 322 bool status = false; variable [all …]
|
| D | loop_analyzer_new_test.cpp | 48 bool status = false; variable 71 bool status = false; variable 105 bool status = false; variable 139 bool status = false; variable 173 bool status = false; variable 209 bool status = false; variable
|
| D | reg_alloc_graph_coloring_new_test.cpp | 73 bool status = false; variable 99 bool status = false; variable 142 bool status = false; variable 192 bool status = false; variable 239 bool status = false; variable 287 bool status = false; variable 337 bool status = false; variable 384 bool status = false; variable 417 bool status = false; variable 455 bool status = false; variable [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | object_fast_operator.h | 36 static inline bool UseOwn(Status status) in UseOwn() 41 static inline bool GetInternal(Status status) in GetInternal() 46 static inline bool DefineSemantics(Status status) in DefineSemantics()
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 69 def log_run_negative_failure(output, status) argument 73 def log_verifier_negative_failure(output, status) argument 77 def log_run_failure(output, status, core) argument 81 def log_verifier_failure(output, status, core) argument 85 def log_passed(output, status) argument 93 def verbose_log(status) argument
|
| D | jtr_reporter.rb | 119 def log_run_negative_failure(output, status) argument 124 def log_verifier_negative_failure(output, status) argument 129 def log_run_failure(output, status, core) argument 135 def log_verifier_failure(output, status, core) argument 141 def log_passed(output, status) argument 150 def verbose_log(status) argument
|
| D | test_reporter.rb | 103 def log_run_negative_failure(output, status) argument 109 def log_verifier_negative_failure(output, status) argument 115 def log_run_failure(output, status, core) argument 122 def log_verifier_failure(output, status, core) argument 129 def log_passed(output, status) argument 139 def verbose_log(status) argument
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 69 def log_run_negative_failure(output, status) argument 73 def log_verifier_negative_failure(output, status) argument 77 def log_run_failure(output, status, core) argument 81 def log_verifier_failure(output, status, core) argument 85 def log_passed(output, status) argument 93 def verbose_log(status) argument
|
| D | jtr_reporter.rb | 119 def log_run_negative_failure(output, status) argument 124 def log_verifier_negative_failure(output, status) argument 129 def log_run_failure(output, status, core) argument 135 def log_verifier_failure(output, status, core) argument 141 def log_passed(output, status) argument 150 def verbose_log(status) argument
|
| D | test_reporter.rb | 103 def log_run_negative_failure(output, status) argument 109 def log_verifier_negative_failure(output, status) argument 115 def log_run_failure(output, status, core) argument 122 def log_verifier_failure(output, status, core) argument 129 def log_passed(output, status) argument 139 def verbose_log(status) argument
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/ |
| D | result.rb | 69 def update_run_negative_failure(output, status, file) argument 77 def update_verifier_negative_failure(output, status, file) argument 85 def update_run_failure(output, status, file, core) argument 95 def update_verifier_failure(output, status, file, core) argument 105 def update_passed(output, status, file) argument
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/runner/ |
| D | result.rb | 69 def update_run_negative_failure(output, status, file) argument 77 def update_verifier_negative_failure(output, status, file) argument 85 def update_run_failure(output, status, file, core) argument 95 def update_verifier_failure(output, status, file, core) argument 105 def update_passed(output, status, file) argument
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/libani_helpers/interop_js/ |
| D | hybridgref_ani.cpp | 41 [[maybe_unused]] auto status = env->FindClass(descriptor, &cls); in CacheGlobalClass() local 55 auto status = env->String_NewUTF8(str.data(), str.size(), &aniStr); in CacheGlobalString() local 77 … [[maybe_unused]] auto status = env->Class_FindMethod(doubleClass, "<ctor>", "d:", &g_doubleCtor); in InitializeGlobal() local 111 …[[maybe_unused]] auto status = env->Object_CallMethod_Boolean(esvalue, g_methodIsNumber, &isNumber… in ESValueToNumber() local 133 auto status = env->Object_CallMethod_Ref(storage, g_methodGetPropertyByIndex, &tidHolder, 0.0); in CheckCorrectThread() local 161 ani_status status; in GetStorage() local 223 auto status = env->Object_CallMethod_Ref(storage, g_methodGetPropertyByName, &lenRef, in IsValidStorage() local 255 auto status = in HybridGrefGetESValue() local 280 auto status = in HybridGrefCreateRefFromAni() local 310 auto status = in HybridGrefDeleteRefFromAni() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/native/array_buffer/ |
| D | managed_test.cpp | 48 … auto status = env_->ArrayBufferGetInfo(arrayBuffer, reinterpret_cast<void **>(&data), &length); in ArrayBufferAtTest() local 72 … auto status = env_->ArrayBufferGetInfo(arrayBuffer, reinterpret_cast<void **>(&data), &length); in ArrayBufferSetTest() local 130 auto status = env_->ArrayBufferCreate(0, &data, &arrayBuffer); in TEST_F() local 143 auto status = env_->ArrayBufferCreate(TWENTY_FOUR, &data, &arrayBuffer); in TEST_F() local 157 …auto status = env_->ArrayBufferCreate(TWENTY_FOUR, reinterpret_cast<void **>(&data), &arrayBuffer); in TEST_F() local 168 …auto status = env_->ArrayBufferCreate(TWENTY_FOUR, reinterpret_cast<void **>(&data), &arrayBuffer); in TEST_F() local 178 auto status = env_->ArrayBufferCreate(HUNDRED_TWENTY_FOUR, &data, &arrayBuffer); in TEST_F() local 194 auto status = env->ArrayBufferCreateExternal(data, LENGTH, TestFinalizer, nullptr, arrayBuffer); in CreateExternalArrayBuffer() local 261 auto status = env_->ArrayBufferGetInfo(arrayBuffer, &data, &length); in TEST_F() local 275 auto status = env_->ArrayBufferGetInfo(arrayBuffer, &data, &length); in TEST_F() local [all …]
|