Home
last modified time | relevance | path

Searched refs:tmpVal (Results 1 - 8 of 8) sorted by relevance

/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()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_utils.cpp197 uint8_t *tmpVal = new uint8_t[len](); in RdSqlBindBlob() local
198 if (tmpVal == nullptr) { in RdSqlBindBlob()
201 errno_t err = memcpy_s(tmpVal, len * sizeof(uint8_t), val, len * sizeof(uint8_t)); in RdSqlBindBlob()
203 delete[] tmpVal; in RdSqlBindBlob()
210 return TransferGrdErrno(GRD_KVApiInfo.DBSqlBindBlob(stmt, idx, tmpVal, len, freeFunc)); in RdSqlBindBlob()
230 char *tmpVal = new char[len + 1](); in RdSqlBindText() local
231 if (tmpVal == nullptr) { in RdSqlBindText()
234 errno_t err = strcpy_s(tmpVal, len + 1, (const char *)val); in RdSqlBindText()
237 delete[] tmpVal; in RdSqlBindText()
243 return TransferGrdErrno(GRD_KVApiInfo.DBSqlBindText(stmt, idx, tmpVal, le in RdSqlBindText()
308 float *tmpVal = new float[dim](); RdSqlBindFloatVector() local
[all...]
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp160 napi_value tmpVal; in CreateObjectArray() local
161 status |= napi_create_string_utf8(env, tmpResult.uri.c_str(), tmpResult.uri.length(), &tmpVal); in CreateObjectArray()
162 status |= napi_set_named_property(env, resultVal, "uri", tmpVal); in CreateObjectArray()
163 status |= napi_create_string_utf8(env, tmpResult.srcPath.c_str(), tmpResult.srcPath.length(), &tmpVal); in CreateObjectArray()
164 status |= napi_set_named_property(env, resultVal, "srcPath", tmpVal); in CreateObjectArray()
165 status |= napi_create_string_utf8(env, tmpResult.fileName.c_str(), tmpResult.fileName.length(), &tmpVal); in CreateObjectArray()
166 status |= napi_set_named_property(env, resultVal, "fileName", 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()
[all...]
/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() local
/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()
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/
H A Dnapi_fileaccess_helper.cpp646 napi_value tmpVal; in CreateObjectArray() local
647 status |= napi_create_string_utf8(env, tmpResult.sourceUri.c_str(), tmpResult.sourceUri.length(), &tmpVal); in CreateObjectArray()
648 status |= napi_set_named_property(env, resultVal, "sourceUri", tmpVal); in CreateObjectArray()
649 status |= napi_create_string_utf8(env, tmpResult.destUri.c_str(), tmpResult.destUri.length(), &tmpVal); in CreateObjectArray()
650 status |= napi_set_named_property(env, resultVal, "destUri", tmpVal); in CreateObjectArray()
651 status |= napi_create_int32(env, tmpResult.errCode, &tmpVal); in CreateObjectArray()
652 status |= napi_set_named_property(env, resultVal, "errCode", tmpVal); in CreateObjectArray()
653 status |= napi_create_string_utf8(env, tmpResult.errMsg.c_str(), tmpResult.errMsg.length(), &tmpVal); in CreateObjectArray()
654 status |= napi_set_named_property(env, resultVal, "errMsg", tmpVal); in CreateObjectArray()
/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()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/
H A Daudio_ffmpeg_decoder_plugin.cpp290 type tmpVal; \ in Prepare()
291 auto ret = FindInParameterMapThenAssignLocked(tag, tmpVal); \ in Prepare()
295 (assign) = tmpVal; \ in Prepare()

Completed in 9 milliseconds