/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_device_info.h | 368 std::set<T> res; in UnmarshallingSetInt32() local 370 res.insert(static_cast<T>(parcel.ReadInt32())); in UnmarshallingSetInt32() 372 return res; in UnmarshallingSetInt32()
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | EnvironmentJS.cpp | 332 NapiApi::Array res(ctx, 9); // array size 9 in GetIrradianceCoefficients() 339 res.Set(index++, vec); in GetIrradianceCoefficients() 341 return res; in GetIrradianceCoefficients()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helpers_gles.cpp | 265 const int32_t res = FindConstant(reflections, t);
in ProcessStruct() local 266 assert((res >= -1) && "Push constant conflict.");
in ProcessStruct() 267 if (res == -1) {
in ProcessStruct()
|
/foundation/multimedia/media_foundation/src/filter/ |
H A D | filter.cpp | 506 Status res = Status::OK; in WaitAllState() local 510 res = filter->GetErrCode(); in WaitAllState() 514 return res; in WaitAllState()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_pixel_map_napi_kits.cpp | 46 napi_valuetype res = napi_undefined; in isUndefine() local 47 napi_typeof(env, value, &res); in isUndefine() 48 return (res == napi_undefined); in isUndefine()
|
/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | mediakeysystemfactory_service.cpp | 90 bool res = Publish(this);
in OnStart() local 91 if (res) {
in OnStart() 92 DRM_DEBUG_LOG("MediaKeySystemFactoryService OnStart res=%{public}d", res);
in OnStart()
|
/foundation/multimedia/av_session/frameworks/native/ohavsession/src/ |
H A D | OHAVMetadataBuilder.cpp | 138 CURLcode res = curl_easy_perform(easyHandle_); in CurlSetRequestOptions() local 139 if (res != CURLE_OK) { in CurlSetRequestOptions() 140 SLOGI("DoDownload curl easy_perform failure: %{public}s\n", curl_easy_strerror(res)); in CurlSetRequestOptions()
|
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/ |
H A D | player_mem_manage.cpp | 402 int32_t res = HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::MEMMGR, PURGEABLE_EVENT_NAME.c_str(), in WritePurgeableEvent() local 405 if (res != 0) { in WritePurgeableEvent() 406 MEDIA_LOGE("write hiSysEvent error, res:%{public}d", res); in WritePurgeableEvent()
|
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/ |
H A D | js_screen.cpp | 86 napi_valuetype res = napi_undefined;
in GetType() local 87 napi_typeof(env, value, &res);
in GetType() 88 return res;
in GetType()
|
/foundation/window/window_manager/extension/window_extension/src/ |
H A D | js_window_extension.cpp | 328 napi_valuetype res = napi_undefined; in GetType() local 329 napi_typeof(env, value, &res); in GetType() 330 return res; in GetType()
|
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/inner/ |
H A D | js_pip_manager.cpp | 32 napi_valuetype res = napi_undefined; in GetType() local 33 napi_typeof(env, value, &res); in GetType() 34 return res; in GetType()
|
/foundation/window/window_manager/interfaces/kits/napi/screenshot/ |
H A D | native_screenshot_module.cpp | 59 napi_valuetype res = napi_undefined; in GetType() local 60 napi_typeof(env, root, &res); in GetType() 61 return res; in GetType()
|
/foundation/communication/dsoftbus/core/adapter/huks/src/ |
H A D | softbus_rsa_encrypt.c | 252 int32_t res; in DataToPublicKey() local 264 res = BIO_write(pBio, bufKey, bufKeyLen); in DataToPublicKey() 265 if (res <= 0) { in DataToPublicKey()
|
/foundation/communication/ipc/interfaces/innerkits/rust/tests/ |
H A D | parcel_remote.rs | 216 let mut res = vec![]; in parcel_read_and_write() variables 217 file.read_to_end(&mut res); in parcel_read_and_write() 218 let s = String::from_utf8(res).unwrap(); in parcel_read_and_write()
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_utils.cpp | 38 char* res = static_cast<char*>(malloc(sizeof(char) * len)); in MallocCString() local 39 if (res == nullptr) { in MallocCString() 42 return std::char_traits<char>::copy(res, origin.c_str(), len); in MallocCString()
|
/foundation/communication/nfc/interfaces/inner_api/tags/ |
H A D | tag_session_proxy.cpp | 194 int res = Remote()->SendRequest(static_cast<uint32_t>(NfcServiceIpcInterfaceCode::COMMAND_GET_TECHLIST), in GetTechList() local 196 if (res != ERR_NONE) { in GetTechList() 197 ErrorLog("It is failed To Get Tech List with Res(%{public}d).", res); in GetTechList()
|
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/ |
H A D | profileutils_fuzzer.cpp | 85 std::vector<std::string> res; in SplitStringFuzzTest() local 87 res.push_back(strs); in SplitStringFuzzTest() 88 ProfileUtils::SplitString(str, splits, res); in SplitStringFuzzTest()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
H A D | relational_store_delegate_impl.cpp | 183 std::map<std::string, std::vector<TableStatus>> res; in OnSyncComplete() local 189 res[device].push_back(table); in OnSyncComplete() 193 onComplete(res); in OnSyncComplete()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_service_stub.cpp | 340 int res = -1; in OnRemoteRequest() local 343 res = (this->*HANDLERS[code])(data, reply); in OnRemoteRequest() 352 return res; in OnRemoteRequest()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | value_proxy_test.cpp | 120 auto res = ValueProxy::Convert<int64_t>(testMap); in HWTEST_F() local 121 auto testMap2 = std::map<std::string, int64_t>(res); in HWTEST_F() 124 auto errorMap = std::map<std::string, double>(res); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | query_expression.cpp | 412 std::vector<QueryExpression> res; in GetQueryExpressions() local 414 res.push_back(expressions_.at(item)); in GetQueryExpressions() 416 return res; in GetQueryExpressions()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | query_sync_object.cpp | 424 std::vector<QuerySyncObject> res; in GetQuerySyncObject() local 427 res.push_back(QuerySyncObject(item)); in GetQuerySyncObject() 429 return res; in GetQuerySyncObject()
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/system_storage/src/ |
H A D | napi_system_storage.cpp | 160 napi_value res = nullptr; in Complete() local 161 napi_get_undefined(env, &res); in Complete() 162 napi_resolve_deferred(env, ctx->deferred, res); in Complete()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | abs_result_set.cpp | 359 int res = E_OK;
in IsEnded() local 360 std::tie(res, result) = IsEnded();
in IsEnded() 361 return res;
in IsEnded()
|
H A D | sqlite_utils.cpp | 194 std::string res = ""; in GetAnonymousName() local 196 res += (AnonyDigits(alnum[i]) + noAlnum[i]); in GetAnonymousName() 198 return res; in GetAnonymousName()
|