Home
last modified time | relevance | path

Searched refs:tmpVal (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_utils.cpp161 uint8_t *tmpVal = new uint8_t[len](); in RdSqlBindBlob() local
162 if (tmpVal == nullptr) { in RdSqlBindBlob()
167 delete[] tmpVal; in RdSqlBindBlob()
194 char *tmpVal = new char[len + 1](); in RdSqlBindText() local
195 if (tmpVal == nullptr) { in RdSqlBindText()
198 errno_t err = strcpy_s(tmpVal, len + 1, (const char *)val); in RdSqlBindText()
201 delete[] tmpVal; in RdSqlBindText()
272 float *tmpVal = new float[dim](); in RdSqlBindFloatVector() local
273 if (tmpVal == nullptr) { in RdSqlBindFloatVector()
276 errno_t err = memcpy_s(tmpVal, dim * sizeof(float), val, dim * sizeof(float)); in RdSqlBindFloatVector()
[all …]
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp160 napi_value tmpVal; in CreateObjectArray() local
162 status |= napi_set_named_property(env, resultVal, "uri", tmpVal); in CreateObjectArray()
167 status |= napi_create_int64(env, tmpResult.mode, &tmpVal); in CreateObjectArray()
168 status |= napi_set_named_property(env, resultVal, "mode", tmpVal); in CreateObjectArray()
169 status |= napi_create_int64(env, tmpResult.mode, &tmpVal); in CreateObjectArray()
170 status |= napi_set_named_property(env, resultVal, "mode", tmpVal); in CreateObjectArray()
171 status |= napi_create_int64(env, tmpResult.size, &tmpVal); in CreateObjectArray()
172 status |= napi_set_named_property(env, resultVal, "size", tmpVal); in CreateObjectArray()
173 status |= napi_create_int64(env, tmpResult.mtime, &tmpVal); in CreateObjectArray()
174 status |= napi_set_named_property(env, resultVal, "mtime", tmpVal); in CreateObjectArray()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/utils/src/
H A Dstorage_utils.cpp25 auto tmpVal = static_cast<uint64_t>(val); in GetRoundSize() local
26 tmpVal <<= 1; in GetRoundSize()
27 val = static_cast<int64_t>(tmpVal); in GetRoundSize()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp66 uintptr_t tmpVal; in Read() local
72 if (!ReadMem(alignedAddr, &tmpVal)) { in Read()
75 uintptr_t valp = static_cast<uintptr_t>(tmpVal); in Read()
87 …if (!ReadMem(tmpAddr, &tmpVal) || memcpy_s(val, sizeof(uintptr_t), &tmpVal, sizeof(uintptr_t)) != … in Read()
96 if (!ReadMem(tmpAddr, &tmpVal) || memcpy_s(val, leftOver, &tmpVal, leftOver) != 0) { in Read()
H A Ddfx_accessors.cpp191 uintptr_t tmpVal; in AccessMem() local
196 tmpVal = (unsigned long) ptrace(PTRACE_PEEKDATA, ctx->pid, tmpAddr, nullptr); in AccessMem()
202 *val |= tmpVal << (i * THIRTY_TWO_BITS); in AccessMem()
204 *val |= (i == 0 && end == 2 ? tmpVal << THIRTY_TWO_BITS : tmpVal); // 2 : read two times in AccessMem()
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/
H A Dcodec_filter_base.cpp80 Plugin::ValueType tmpVal; in UpdateMetaFromPlugin() local
81 auto ret = TranslatePluginStatus(plugin_->GetParameter(keyPair.first, tmpVal)); in UpdateMetaFromPlugin()
93 if (!keyPair.second.first(keyPair.first, tmpVal)) { in UpdateMetaFromPlugin()
103 meta.SetData(static_cast<Plugin::Tag>(keyPair.first), tmpVal); in UpdateMetaFromPlugin()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dproperty_util.cpp444 bool tmpVal; in SetCustomPropertyBlobValue() local
445 FromJson(*value, tmpVal); in SetCustomPropertyBlobValue()
446 uint32_t val = tmpVal; in SetCustomPropertyBlobValue()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dproperty_util.cpp441 bool tmpVal; in SetCustomPropertyBlobValue() local
442 FromJson(*value, tmpVal); in SetCustomPropertyBlobValue()
443 uint32_t val = tmpVal; in SetCustomPropertyBlobValue()
/ohos5.0/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/
H A Dnapi_fileaccess_helper.cpp645 napi_value tmpVal; in CreateObjectArray() local
646 …= napi_create_string_utf8(env, tmpResult.sourceUri.c_str(), tmpResult.sourceUri.length(), &tmpVal); in CreateObjectArray()
647 status |= napi_set_named_property(env, resultVal, "sourceUri", tmpVal); in CreateObjectArray()
648 …us |= napi_create_string_utf8(env, tmpResult.destUri.c_str(), tmpResult.destUri.length(), &tmpVal); in CreateObjectArray()
649 status |= napi_set_named_property(env, resultVal, "destUri", tmpVal); in CreateObjectArray()
650 status |= napi_create_int32(env, tmpResult.errCode, &tmpVal); in CreateObjectArray()
651 status |= napi_set_named_property(env, resultVal, "errCode", tmpVal); in CreateObjectArray()
652 …atus |= napi_create_string_utf8(env, tmpResult.errMsg.c_str(), tmpResult.errMsg.length(), &tmpVal); in CreateObjectArray()
653 status |= napi_set_named_property(env, resultVal, "errMsg", tmpVal); in CreateObjectArray()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/
H A Daudio_ffmpeg_decoder_plugin.cpp274 type tmpVal; \ in Prepare()
275 auto ret = FindInParameterMapThenAssignLocked(tag, tmpVal); \ in Prepare()
279 (assign) = tmpVal; \ in Prepare()
/ohos5.0/drivers/peripheral/usb/ddk/device/src/
H A Dadapter_if.c157 char tmpVal[MAX_NAMELEN] = {0}; in UsbFnWriteProp() local
169 ret = snprintf_s(tmpVal, MAX_NAMELEN, MAX_NAMELEN - 1, "0x%x", propValue); in UsbFnWriteProp()
175 return UsbFnWriteFile(tmp, tmpVal); in UsbFnWriteProp()
/ohos5.0/base/powermgr/display_manager/brightness_manager/src/
H A Dbrightness_service.cpp340 auto tmpVal = BrightnessService::Get().GetOrigBrightnessLevel(currentValue); in OnChanged() local
341 this->mCallback(tmpVal); in OnChanged()