Searched refs:methodName (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/ets_utils/js_concurrent_module/worker/test/ |
H A D | test_worker.cpp | 328 std::string methodName = "onmessage"; in HostOnGlobalCall() local 330 napi_create_string_utf8(env, methodName.c_str(), methodName.length(), &args[1]); in HostOnGlobalCall() 351 std::string methodName = "onmessage"; in HostOnGlobalCallInner001() local 353 napi_create_string_utf8(env, methodName.c_str(), methodName.length(), &args[1]); in HostOnGlobalCallInner001() 377 std::string methodName = "onmessage"; in HostOnGlobalCallInner002() local 379 napi_create_string_utf8(env, methodName.c_str(), methodName.length(), &args[1]); in HostOnGlobalCallInner002() 393 napi_create_string_utf8(env, methodName in HostOnGlobalCallInner002() 406 std::string methodName = "onmessage"; HostOnGlobalCallInner003() local 438 std::string methodName = "onmessage"; HostOnGlobalCallInner004() local 473 std::string methodName = "onmessage"; HostOnGlobalCallInner005() local 505 std::string methodName = "onmessage"; HostOnGlobalCallInner006() local 1530 std::string methodName = "postMessage"; HWTEST_F() local 3267 std::string methodName = "postMessage"; HWTEST_F() local 3305 std::string methodName = "postMessage"; HWTEST_F() local 3343 std::string methodName = "postMessage"; HWTEST_F() local 3382 std::string methodName = "postMessage"; HWTEST_F() local 3422 std::string methodName = "postMessage"; HWTEST_F() local 3463 std::string methodName = "postMessage"; HWTEST_F() local [all...] |
/commonlibrary/ets_utils/js_concurrent_module/worker/ |
H A D | worker.cpp | 1528 napi_value methodName = nullptr; in HostOnGlobalCallInner() local 1529 napi_get_element(hostEnv_, argsArray, 1, &methodName); in HostOnGlobalCallInner() 1543 napi_has_property(hostEnv_, obj, methodName, &hasProperty); in HostOnGlobalCallInner() 1545 std::string methodNameStr = NapiHelper::GetString(hostEnv_, methodName); in HostOnGlobalCallInner() 1553 napi_get_property(hostEnv_, obj, methodName, &method); in HostOnGlobalCallInner() 1558 std::string methodNameStr = NapiHelper::GetString(hostEnv_, methodName); in HostOnGlobalCallInner() 1637 void Worker::CallHostFunction(size_t argc, const napi_value* argv, const char* methodName) const in CallHostFunction() 1650 napi_value callback = NapiHelper::GetNameProperty(hostEnv_, obj, methodName); in CallHostFunction() 1653 HILOG_DEBUG("worker:: host thread %{public}s is not Callable", methodName); in CallHostFunction() 2186 bool Worker::CallWorkerFunction(size_t argc, const napi_value* argv, const char* methodName, boo argument [all...] |
H A D | worker.h | 499 bool CallWorkerFunction(size_t argc, const napi_value* argv, const char* methodName, bool tryCatch); 500 void CallHostFunction(size_t argc, const napi_value* argv, const char* methodName) const;
|
Completed in 11 milliseconds