/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 288 bool success = Unmarshalling(parcel, val); in UnmarshallingWithCopy() local 289 if (success && val && val->GetSize() < MIN_DATA_SIZE) { in UnmarshallingWithCopy() 292 return success; in UnmarshallingWithCopy() 642 bool success = parcel.WriteInt32(1) && Marshalling(parcel, val->blurRadius_); in Marshalling() local 643 success = success && parcel.WriteUint32(static_cast<uint32_t>(val->fractionStops_.size())); in Marshalling() 645 success = success && Marshalling(parcel, val->fractionStops_[i].first); in Marshalling() 646 success = success in Marshalling() 661 bool success = Unmarshalling(parcel, blurRadius); Unmarshalling() local 692 bool success = Marshalling(parcel, val->radius); Marshalling() local 704 bool success = Unmarshalling(parcel, radius); Unmarshalling() local 718 bool success = Marshalling(parcel, val->factor_); Marshalling() local 760 bool success = Unmarshalling(parcel, factor); Unmarshalling() local 803 bool success = parcel.WriteInt32(1) && Marshalling(parcel, val->emitterIndex_); Marshalling() local 821 bool success = Unmarshalling(parcel, emitterIndex); Unmarshalling() local 833 bool success = parcel.WriteUint32(static_cast<uint32_t>(val.size())); Marshalling() local 843 bool success = true; Unmarshalling() local 865 bool success = parcel.WriteInt32(1) && Marshalling(parcel, val->fieldStrength_); Marshalling() local 891 bool success = Unmarshalling(parcel, fieldStrength); Unmarshalling() local 914 bool success = parcel.WriteInt32(1) && parcel.WriteUint32(static_cast<uint32_t>(val->fields_.size())); Marshalling() local 928 bool success = true; Unmarshalling() local 946 bool success = Marshalling(parcel, val.emitRate_); Marshalling() local 981 bool success = Unmarshalling(parcel, emitRate); Unmarshalling() local 1018 bool success = Unmarshalling(parcel, valueStart) && Unmarshalling(parcel, valueEnd) && Unmarshalling() local 1030 bool success = Marshalling(parcel, val.val_.start_) && Marshalling(parcel, val.val_.end_) && Marshalling() local 1059 bool success = Unmarshalling() local 1093 bool success = Marshalling(parcel, val.colorVal_.start_) && Marshalling(parcel, val.colorVal_.end_) && Marshalling() local 1135 bool success = Unmarshalling(parcel, colorValStart) && Unmarshalling(parcel, colorValEnd) && Unmarshalling() local 1178 bool success = parcel.WriteInt32(1) && Marshalling(parcel, val->emitterConfig_); Marshalling() local 1203 bool success = Unmarshalling(parcel, emitterConfig); Unmarshalling() local 1221 bool success = parcel.WriteUint32(static_cast<uint32_t>(val.size())); Marshalling() local 1231 bool success = true; Unmarshalling() local 1313 bool success = parcel.WriteInt32(static_cast<int>(val->GetFilterType())); Marshalling() local 1341 bool success = parcel.ReadInt32(type); Unmarshalling() local 1850 bool success = parcel.ReadFloat(left) && parcel.ReadFloat(top) && Unmarshalling() local [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/container/ |
H A D | flat_container.cpp | 54 bool success = true; in Add() local 57 Invoke<IOnChildChanging>(OnAdding(), info, success); in Add() local 58 if (success) { in Add() 64 if (success) { in Add() 68 return success; in Add() 87 bool success = true; in Insert() local 90 Invoke<IOnChildChanging>(OnAdding(), info, success); in Insert() local 91 if (success) { in Insert() 97 if (success) { in Insert() 101 return success; in Insert() 138 bool success = true; Replace() local 140 Invoke<IOnChildChanging>(OnRemoving(), removedInfo, success); Replace() local 147 Invoke<IOnChildChanging>(OnAdding(), addedInfo, success); Replace() local [all...] |
H A D | container.cpp | 62 bool success = true; in Add() local 65 Invoke<IOnChildChanging>(OnAdding(), info, success); in Add() local 66 if (success) { in Add() 71 if (success) { in Add() 75 return success; in Add() 102 bool success = true; in Insert() local 105 Invoke<IOnChildChanging>(OnAdding(), info, success); in Insert() local 106 if (success) { in Insert() 111 if (success) { in Insert() 115 return success; in Insert() 186 bool success = true; Replace() local 189 Invoke<IOnChildChanging>(OnRemoving(), removedInfo, success); Replace() local 196 Invoke<IOnChildChanging>(OnAdding(), addedInfo, success); Replace() local [all...] |
H A D | container_base.cpp | 147 bool success = true; in Remove() local 150 Invoke<IOnChildChanging>(implPreTrans_->OnRemoving(), info, success); in Remove() 151 if (success) { in Remove() 156 if (success) { in Remove() 160 return success; in Remove() 169 bool success = false; in Remove() local 175 success = true; in Remove() 184 if (!success) { in Remove() 189 Invoke<IOnChildChanging>(implPreTrans_->OnRemoving(), info, success); in Remove() 190 if (success) { in Remove() 276 bool success = true; RemoveAll() local [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/ |
H A D | file_sharing.cpp | 37 bool success = PrepareDir(STORAGE_DAEMON_EL1_DIR, STORAGE_DAEMON_DIR_MODE, ROOT_UID, ROOT_GID); in PrepareFileSharingDir() local 38 if (!success) { in PrepareFileSharingDir() 44 success = PrepareDir(SHARE_TOB_DIR, SHARE_TOB_DIR_MODE, SHARE_TOB_UID, SHARE_TOB_GID); in PrepareFileSharingDir() 45 if (!success) { in PrepareFileSharingDir() 53 success = PrepareDir(FILE_SHARING_DIR, FILE_SHARING_DIR_MODE, FILE_MANAGER_UID, FILE_MANAGER_GID); in PrepareFileSharingDir() 54 if (!success) { in PrepareFileSharingDir() 60 success = PrepareDir(PUBLIC_DIR, PUBLIC_DIR_MODE, FILE_MANAGER_UID, FILE_MANAGER_GID); in PrepareFileSharingDir() 61 if (!success) { in PrepareFileSharingDir() 67 LOGI("Prepare file sharing directory success"); in PrepareFileSharingDir() 94 LOGI("Set acl success"); in SetupDirAcl() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | concurrent_map_test.cpp | 74 auto success = values_.Emplace( in HWTEST_F() local 79 ASSERT_TRUE(success); in HWTEST_F() 80 success = values_.Emplace( in HWTEST_F() 85 ASSERT_TRUE(!success); in HWTEST_F() 86 success = values_.Emplace( in HWTEST_F() 96 ASSERT_TRUE(success); in HWTEST_F() 112 auto success = values_.Emplace("test", value); in HWTEST_F() local 113 ASSERT_TRUE(success); in HWTEST_F() 120 success = values_.Emplace(std::piecewise_construct, std::forward_as_tuple("test"), std::forward_as_tuple(value)); in HWTEST_F() 121 ASSERT_TRUE(success); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/ |
H A D | rs_transaction_data.cpp | 101 bool success = parcel.WriteInt32(static_cast<int32_t>(payload_.size())); in Marshalling() local 104 success = success && parcel.WriteBool(isUniRender); in Marshalling() 109 success = success && parcel.WriteUint64(nodeId); in Marshalling() 110 success = success && parcel.WriteUint8(static_cast<uint8_t>(followType)); in Marshalling() 123 success = false; in Marshalling() 125 success = success in Marshalling() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/communication/ |
H A D | connect_manager.cpp | 70 bool success = false; in RegisterSessionCloseListener() local 71 sessionCloseListener_.Compute(name, [&success, &listener](const auto &key, auto &value) { in RegisterSessionCloseListener() 77 success = true; in RegisterSessionCloseListener() 80 return success; in RegisterSessionCloseListener() 98 bool success = false; in RegisterSessionOpenListener() local 99 sessionOpenListener_.Compute(name, [&success, &listener](const auto &key, auto &value) { in RegisterSessionOpenListener() 105 success = true; in RegisterSessionOpenListener() 108 return success; in RegisterSessionOpenListener()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/ |
H A D | load_config_common_strategy.cpp | 62 auto [success, data] = URIUtils::Strtoul(queryParams[USER_PARAM]);
in GetInfoFromProxyURI() 63 if (!success) {
in GetInfoFromProxyURI() 69 auto [success, data] = URIUtils::Strtoul(queryParams[TOKEN_ID_PARAM]);
in GetInfoFromProxyURI() 70 if (!success) {
in GetInfoFromProxyURI() 85 auto [success, data] = URIUtils::Strtoul(queryParams[APP_INDEX]);
in GetAppIndexFromProxyURI() 86 if (!success) {
in GetAppIndexFromProxyURI()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_asset_loader_test.cpp | 82 std::function<void(bool)> lambdaFunc = [](bool success) { in HWTEST_F() 83 if (success) {} in HWTEST_F() 100 std::function<void(bool)> lambdaFunc = [](bool success) { in HWTEST_F() 101 if (success) {} in HWTEST_F() 180 auto [success, hash] = assetLoader->downloaded_.Find(asset_.uri); in HWTEST_F() 181 ASSERT_TRUE(success); in HWTEST_F() 205 auto [success, hash] = assetLoader->downloaded_.Find(asset_.uri); in HWTEST_F() 206 EXPECT_EQ(success, false); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2.cpp | 50 result.success = loadResult.success; in LoadGLTF() 67 result.success = loadResult.success; in LoadGLTF() 109 sceneResult.error = loadResult.success ? 0 : 1; in Load() 171 if (auto result = GLTF2::ExportGLTF(*engine_, ecs); result.success) { in SaveGLTF() 192 result.success = false; in SaveGLTF() 194 return result.success; in SaveGLTF() 196 return result.success; in SaveGLTF()
|
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstoreLockRowJsunit.test.js | 91 console.log(TAG + "set test to be distributed table success"); 118 console.log(TAG + `checkStatus success, status: `+ resultSet.getLong(0) + ', expert is ' + status) 134 console.log(TAG + `query all columns success`) 145 console.log(TAG + `query specified columns success`) 248 console.log(TAG + `lock success`) 296 console.log(TAG + `lock success`) 321 console.log(TAG + `lock success`) 335 console.log(TAG + `lock success`) 349 console.log(TAG + `unlock success`) 375 console.log(TAG + `unlock success`) [all...] |
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | http_async_callback.cpp | 39 bool success = HttpRequest::Request(&asyncCallback->requestData, &responseData); in AsyncExecHttpRequest() local 40 if (success) { in AsyncExecHttpRequest() 102 JSIValue success = responseCallback[CB_SUCCESS]; in OnSuccess() local 103 if (success == nullptr || JSI::ValueIsUndefined(success) || !JSI::ValueIsFunction(success)) { in OnSuccess() 113 JSI::CallFunction(success, thisVal, arg, ARGC_ONE); in OnSuccess()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | store_util_test.cpp | 145 bool success = storeUtil_.InitPath(path);
in HWTEST_F() local 146 ASSERT_TRUE(success);
in HWTEST_F() 154 success = storeUtil_.CreateFile(fileName);
in HWTEST_F() 155 ASSERT_TRUE(success);
in HWTEST_F() 180 bool success = storeUtil_.InitPath(path);
in HWTEST_F() local 181 ASSERT_TRUE(success);
in HWTEST_F() 194 success = storeUtil_.CreateFile(fileName);
in HWTEST_F() 195 ASSERT_TRUE(success);
in HWTEST_F()
|
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/ |
H A D | ability_kit.cpp | 20 int32_t AbilityKit::RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail, in RegisterReceiver() argument 23 return AbilityService::GetInstance().RegisterReceiver(bundleName, success, fail, successCallbackFunc, in RegisterReceiver() 60 int32_t RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail) in RegisterReceiver() argument 62 return OHOS::AbilityKit::RegisterReceiver(bundleName, success, fail, 0, 0, 0); in RegisterReceiver()
|
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_file_download_napi.cpp | 33 bool success = CloudFileNapi::Export(); in Export() local 34 if (!success) { in Export()
|
H A D | gallery_sync_napi.cpp | 33 bool success = CloudSyncNapi::Export(); in Export() local 34 if (!success) { in Export()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ |
H A D | graphics_manager_common.cpp | 52 auto success = engine_->LoadEngineLib(); in LoadEngineLib() local 53 if (success) { in LoadEngineLib() 57 return success; in LoadEngineLib() 71 auto success = engine_->InitEngine(eglContext, data); in InitEngine() local 72 if (success) { in InitEngine() 76 return success; in InitEngine()
|
/foundation/multimedia/audio_framework/services/audio_service/server/include/ |
H A D | pa_capturer_stream_impl.h | 55 static void PAStreamStartSuccessCb(pa_stream *stream, int32_t success, void *userdata); 56 static void PAStreamPauseSuccessCb(pa_stream *stream, int32_t success, void *userdata); 57 static void PAStreamFlushSuccessCb(pa_stream *stream, int32_t success, void *userdata); 58 static void PAStreamStopSuccessCb(pa_stream *stream, int32_t success, void *userdata); 59 static void PAStreamUpdateTimingInfoSuccessCb(pa_stream *stream, int32_t success, void *userdata);
|
H A D | pa_renderer_stream_impl.h | 79 static void PAStreamStartSuccessCb(pa_stream *stream, int32_t success, void *userdata); 80 static void PAStreamPauseSuccessCb(pa_stream *stream, int32_t success, void *userdata); 81 static void PAStreamFlushSuccessCb(pa_stream *stream, int32_t success, void *userdata); 82 static void PAStreamDrainSuccessCb(pa_stream *stream, int32_t success, void *userdata); 83 static void PAStreamDrainInStopCb(pa_stream *stream, int32_t success, void *userdata); 84 static void PAStreamAsyncStopSuccessCb(pa_stream *stream, int32_t success, void *userdata); 86 static void PAStreamUpdateTimingInfoSuccessCb(pa_stream *stream, int32_t success, void *userdata);
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_main.cpp | 29 bool success = DelayedSingleton<MtpFileSystem>::GetInstance()->Exec(); in main() local 30 if (!success) { in main() 36 LOGI("Exec mtpfs.bin to mount mtp device success."); in main()
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 75 succreportParam.appendix = "operation: restore success"; in ReportXmlFileIsBroken() 183 bool success = true; in ReadSettingXml() local 191 success = false; in ReadSettingXml() 199 return success; in ReadSettingXml() 238 bool success = false; in ParsePrimitiveNodeElement() local 245 success = true; in ParsePrimitiveNodeElement() 256 return success; in ParsePrimitiveNodeElement() 265 bool success = false; in ParseStringNodeElement() local 272 success = true; in ParseStringNodeElement() 283 return success; in ParseStringNodeElement() 292 bool success = false; ParseArrayNodeElement() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_unmarshal_thread_test.cpp | 70 bool success = data->WriteParcelable(transactionData.get()); in HWTEST_F() local 71 ASSERT_EQ(success, true); in HWTEST_F() 92 bool success = data->WriteParcelable(transactionData.get()); in HWTEST_F() local 93 ASSERT_EQ(success, true); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_queue.h | 149 bool success = false; in QueueMultiProducerEnqueue() local 182 success = SoftBusAtomicCmpAndSwap32(&queue->producer.head, producerHead, producerNext); in QueueMultiProducerEnqueue() 183 } while (success == false); in QueueMultiProducerEnqueue() 262 bool success = false; in QueueMultiConsumerDequeue() local 301 success = SoftBusAtomicCmpAndSwap32(&queue->consumer.head, consumerHead, consumerNext); in QueueMultiConsumerDequeue() 302 } while (success == false); in QueueMultiConsumerDequeue()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/ |
H A D | heif_stream.cpp | 96 bool success = stream->Read(&buf, UINT8_BYTES_NUM); in Read8() local 97 if (!success) { in Read8() 111 bool success = stream->Read(buf, UINT16_BYTES_NUM); in Read16() local 112 if (!success) { in Read16() 126 bool success = stream->Read(buf, UINT32_BYTES_NUM); in Read32() local 127 if (!success) { in Read32() 144 bool success = stream->Read(buf, UINT64_BYTES_NUM); in Read64() local 145 if (!success) { in Read64()
|