Home
last modified time | relevance | path

Searched refs:fieldRef (Results 1 – 4 of 4) sorted by relevance

/base/usb/usb_manager/interfaces/kits/js/napi/include/
Dnapi_util.h28 const int32_t bufLen, std::string &fieldRef);
31 …bjectToInt(const napi_env &env, const napi_value &object, std::string fieldStr, int32_t &fieldRef);
33 … const napi_env &env, const napi_value &object, const std::string &fieldStr, uint32_t &fieldRef);
/base/location/interfaces/inner_api/include/
Dnapi_util.h61 const char* fieldStr, const int bufLen, std::string& fieldRef);
62 …ectToDouble(const napi_env& env, const napi_value& object, const char* fieldStr, double& fieldRef);
63 … JsObjectToInt(const napi_env& env, const napi_value& object, const char* fieldStr, int& fieldRef);
64 …ectToInt64(const napi_env& env, const napi_value& object, const char* fieldStr, int64_t& fieldRef);
65 …sObjectToBool(const napi_env& env, const napi_value& object, const char* fieldStr, bool& fieldRef);
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dnapi_util.cpp49 … &env, const napi_value &object, std::string fieldStr, const int32_t bufLen, std::string &fieldRef) in JsObjectToString() argument
75 fieldRef = buf.get(); in JsObjectToString()
94 …ObjectToInt(const napi_env &env, const napi_value &object, std::string fieldStr, int32_t &fieldRef) in JsObjectToInt() argument
106 napi_get_value_int32(env, field, &fieldRef); in JsObjectToInt()
113 const napi_env &env, const napi_value &object, const std::string &fieldStr, uint32_t &fieldRef) in JsObjectToUint() argument
139 status = napi_get_value_uint32(env, field, &fieldRef); in JsObjectToUint()
/base/location/frameworks/native/source/
Dnapi_util.cpp586 const char* fieldStr, const int bufLen, std::string& fieldRef) in JsObjectToString() argument
609 fieldRef = buf.get(); in JsObjectToString()
616 …jectToDouble(const napi_env& env, const napi_value& object, const char* fieldStr, double& fieldRef) in JsObjectToDouble() argument
627 NAPI_CALL_BASE(env, napi_get_value_double(env, field, &fieldRef), COMMON_ERROR); in JsObjectToDouble()
634 …t JsObjectToInt(const napi_env& env, const napi_value& object, const char* fieldStr, int& fieldRef) in JsObjectToInt() argument
645 NAPI_CALL_BASE(env, napi_get_value_int32(env, field, &fieldRef), COMMON_ERROR); in JsObjectToInt()
652 …jectToInt64(const napi_env& env, const napi_value& object, const char* fieldStr, int64_t& fieldRef) in JsObjectToInt64() argument
663 NAPI_CALL_BASE(env, napi_get_value_int64(env, field, &fieldRef), COMMON_ERROR); in JsObjectToInt64()
670 …JsObjectToBool(const napi_env& env, const napi_value& object, const char* fieldStr, bool& fieldRef) in JsObjectToBool() argument
681 NAPI_CALL_BASE(env, napi_get_value_bool(env, field, &fieldRef), COMMON_ERROR); in JsObjectToBool()