Home
last modified time | relevance | path

Searched refs:valueBuf (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_device_mitigation.cpp250 char valueBuf[MAX_PATH] = {0}; in IsolateCpu() local
266 ret = snprintf_s(valueBuf, MAX_PATH, sizeof(valueBuf) - 1, "%d", num); in IsolateCpu()
272 if (WriteSysfsFile(isolateCpuPath, valueBuf, strlen(valueBuf)) > NUM_ZERO) { in IsolateCpu()
/ohos5.0/drivers/peripheral/thermal/test/unittest/
H A Dhdf_thermal_hdi_test.cpp289 char valueBuf[MAX_PATH] = {0}; variable
295 ret = HdfThermalHdiTest::ReadFile(path, valueBuf, sizeof(valueBuf));
301 std::string isolateNumStr = valueBuf;
/ohos5.0/base/startup/init/interfaces/kits/jskits/src/
H A Dnative_parameters_js.cpp144 char valueBuf[BUF_LENGTH] = { 0 }; in SetSync() local
146 NAPI_CALL(env, napi_get_value_string_utf8(env, args[1], valueBuf, BUF_LENGTH - 1, &valueSize)); in SetSync()
152 std::string valueStr = valueBuf; in SetSync()
195 char valueBuf[BUF_LENGTH] = { 0 }; in GetSync() local
200 … NAPI_CALL(env, napi_get_value_string_utf8(env, args[1], valueBuf, BUF_LENGTH - 1, &valueSize)); in GetSync()
204 valueStr = valueBuf; in GetSync()
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/kits/js/src/
H A Dapp_domain_verify_manager_napi.cpp33 std::unique_ptr<char[]> valueBuf = std::make_unique<char[]>(STRING_BUF_MAX_SIZE); in GetString() local
35 …NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, value, valueBuf.get(), STRING_BUF_MAX_SIZE, &s… in GetString()
36 std::string result = std::string(valueBuf.get(), size); in GetString()
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/client/src/
H A Dmediakeysystem_service_proxy.cpp301 const uint8_t *valueBuf = static_cast<const uint8_t *>(reply.ReadUnpadBuffer(configSize)); in GetConfigurationByteArray() local
302 if (valueBuf == nullptr) { in GetConfigurationByteArray()
306 value.assign(valueBuf, valueBuf + configSize); in GetConfigurationByteArray()
/ohos5.0/base/global/i18n/interfaces/js/kits/include/
H A Di18n_system_addon.h79 …ic bool GetNapiStringValueWithError(napi_env env, napi_value napiValue, size_t len, char* valueBuf,
81 …c bool GetCountryNapiValueWithError(napi_env env, napi_value napiValue, size_t len, char* valueBuf,
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystem_service_stub.cpp214 const uint8_t *valueBuf = static_cast<const uint8_t *>(data.ReadUnpadBuffer(valueSize)); in ProcessSetConfigurationByteArray() local
215 if (valueBuf == nullptr) { in ProcessSetConfigurationByteArray()
219 value.assign(valueBuf, valueBuf + valueSize); in ProcessSetConfigurationByteArray()
/ohos5.0/base/global/i18n/interfaces/js/kits/src/
H A Di18n_system_addon.cpp426 …Addon::GetCountryNapiValueWithError(napi_env env, napi_value napiValue, size_t len, char* valueBuf, in GetCountryNapiValueWithError() argument
429 napi_status status = napi_get_value_string_utf8(env, napiValue, valueBuf, len + 1, &len); in GetCountryNapiValueWithError()
486 …mAddon::GetNapiStringValueWithError(napi_env env, napi_value napiValue, size_t len, char* valueBuf, in GetNapiStringValueWithError() argument
489 napi_status status = napi_get_value_string_utf8(env, napiValue, valueBuf, len + 1, &len); in GetNapiStringValueWithError()