/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/ |
H A D | offline_pipeline_manager.cpp | 38 if (op == nullptr) { in SwitchToOfflinePipeline() 44 op->SwitchToOfflineMode(); in SwitchToOfflinePipeline() 57 if (op == nullptr) { in CancelCapture() 61 return op->CancelCapture(captureId); in CancelCapture() 67 if (op == nullptr) { in DestoryOfflinePipeline() 72 op->FlushOfflineStream(); in DestoryOfflinePipeline() 118 op = it.second; in FindOfflinePipeline() 122 if (op == nullptr) { in FindOfflinePipeline() 126 return op; in FindOfflinePipeline() 131 auto op = FindOfflinePipeline(id); in CheckCaptureIdExist() local [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/ |
H A D | common_func.cpp | 61 if (op.HasProp("offset")) { in GetActualBuf() 84 if (op.HasProp("length")) { in GetActualLen() 101 if (op.HasProp("length")) { in GetActualLenV9() 192 NVal op(env, option); in GetReadArg() local 204 if (op.HasProp("position") && !op.GetProp("position").TypeIs(napi_undefined)) { in GetReadArg() 249 NVal op(env, argOption); in GetWriteArg() local 274 if (op.HasProp("position") && !op.GetProp("position").TypeIs(napi_undefined)) { in GetWriteArg() 301 NVal op = NVal(env, option); in GetReadArgV9() local 307 if (op.HasProp("offset")) { in GetReadArgV9() 331 NVal op(env, argOption); in GetWriteArgV9() local [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd_list.cpp | 182 if (op) { in MarshallingDrawOps() 272 if (!op) { in UnmarshallingDrawOps() 444 if (!op || op->GetType() != DrawOpItem::TEXT_BLOB_OPITEM) { in GenerateCacheByVector() 548 for (auto op : drawOpItems_) { in PlaybackByVector() local 549 if (op) { in PlaybackByVector() 584 for (auto op : drawOpItems_) { in PlaybackByBuffer() local 585 if (op) { in PlaybackByBuffer() 622 for (auto op : drawOpItems_) { in Purge() local 623 if (!op) { in Purge() 626 auto type = op->GetType(); in Purge() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvstore_sync_manager.cpp | 71 auto pred = [syncId](const KvSyncOperation &op) -> bool { return syncId == op.syncId; }; in RemoveSyncOperation() argument 105 auto pred = [opSeq](const KvSyncOperation &op) -> bool { return opSeq == op.opSeq; }; in RemoveSyncingOp() argument 136 const auto &op = it->second; in GetTimeoutSyncOps() local 138 if (currentTime + std::chrono::milliseconds(GetExpireTimeRange(op.delayMs)) < expireTime) { in GetTimeoutSyncOps() 142 syncOps.push_back(op); in GetTimeoutSyncOps() 143 if (op.syncEnd != nullptr) { in GetTimeoutSyncOps() 144 delaySyncingOps_.push_back(op); in GetTimeoutSyncOps() 153 auto syncingTimeoutPred = [](const KvSyncOperation &op) -> bool { in DoCheckSyncingTimeout() argument 154 …return op.beginTime + std::chrono::milliseconds(SYNCING_TIMEOUT_MS) < std::chrono::steady_clock::n… in DoCheckSyncingTimeout() 169 for (const auto &op : syncOps) { in Schedule() local [all …]
|
/ohos5.0/base/print/print_fwk/services/print_service/src/ |
H A D | operation_queue.cpp | 33 std::function<void()> op = Pop(); in Run() local 34 if (op != nullptr) { in Run() 35 op(); in Run() 59 bool OperationQueue::Push(std::function<void()> op) in Push() argument 71 opList.push_front(op); in Push() 83 std::function<void()> op = opList.back(); in Pop() local 85 return op; in Pop()
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
H A D | vendor_interface.cpp | 121 result = vendorInterface_->op(BtOpcodeT::BT_OP_POWER_ON, nullptr); in Initialize() 140 vendorInterface_->op(BtOpcodeT::BT_OP_INIT, nullptr); in Initialize() 156 vendorInterface_->op(BtOpcodeT::BT_OP_LPM_DISABLE, nullptr); in CleanUp() 157 vendorInterface_->op(BtOpcodeT::BT_OP_HCI_CHANNEL_CLOSE, nullptr); in CleanUp() 158 vendorInterface_->op(BtOpcodeT::BT_OP_POWER_OFF, nullptr); in CleanUp() 180 vendorInterface_->op(BtOpcodeT::BT_OP_WAKEUP_LOCK, nullptr); in SendPacket() 249 if (vendorInterface_ && vendorInterface_->op) { in OnEventReceived() 250 vendorInterface_->op(BtOpcodeT::BT_OP_EVENT_CALLBACK, buff); in OnEventReceived() 265 if (vendorInterface_ && vendorInterface_->op) { in OnEventReceived() 266 vendorInterface_->op(BtOpcodeT::BT_OP_EVENT_CALLBACK, buff); in OnEventReceived() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_log.h | 29 #define DECORATOR_HILOG(op, fmt, args...) \ argument 31 op(LOG_CORE, "[%{public}s]" fmt, __FUNCTION__, ##args); \ 34 #define DECORATOR_HILOG(op, fmt, args...) \ argument 36 op(LOG_CORE, "{%s()-%s:%d} " fmt, __FUNCTION__, __FILENAME__, __LINE__, ##args); \ 92 #define DECORATOR_PRERELEASE_HILOG(op, fmt, args...) \ argument 94 op(LOG_ONLY_PRERELEASE, "[%{public}s]" fmt, __FUNCTION__, ##args); \ 97 #define DECORATOR_PRERELEASE_HILOG(op, fmt, args...) … argument 99 … op(LOG_ONLY_PRERELEASE, "{%s()-%s:%d} " fmt, __FUNCTION__, __FILENAME__, __LINE__, ##args); \
|
/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A D | script_context.cpp | 170 #define INTEGER_INTEGER_COMPUTER(op, rightValue) do { \ argument 175 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 179 #define INTEGER_FLOAT_MATH_COMPUTER(op, rightValue) do { \ argument 184 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 188 #define INTEGER_MATH_COMPUTER(op, rightValue) do { \ argument 190 INTEGER_INTEGER_COMPUTER(op, (rightValue)); \ 192 INTEGER_FLOAT_MATH_COMPUTER(op, (rightValue)); \ 196 #define INTEGER_FLOAT_LOGIC_COMPUTER(op, rightValue) do { \ argument 201 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 205 #define INTEGER_LOGIC_COMPUTER(op, rightValue) do { \ argument [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/ |
H A D | common_func.cpp | 141 if (op.HasProp("length")) { in GetActualLen() 413 NVal op = NVal(env, option); in GetReadArg() local 414 tie(succ, retLen) = GetActualLen(env, bufLen, 0, op); in GetReadArg() 420 if (op.HasProp("offset") && !op.GetPropValue("offset").TypeIs(napi_undefined)) { in GetReadArg() 423 if (op.HasProp("offset") && !op.GetProp("offset").TypeIs(napi_undefined)) { in GetReadArg() 424 tie(succ, offset) = op.GetProp("offset").ToInt64(); in GetReadArg() 442 NVal op(env, argOption); in GetReadArg() local 466 tie(succ, retLen) = GetActualLen(env, bufLen, 0, op); in GetReadArg() 473 if (op.HasProp("offset") && !op.GetPropValue("offset").TypeIs(napi_undefined)) { in GetReadArg() 476 if (op.HasProp("offset") && !op.GetProp("offset").TypeIs(napi_undefined)) { in GetReadArg() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | boot_independent_display_strategy.cpp | 32 std::shared_ptr<BootAnimationOperation> op = std::make_shared<BootAnimationOperation>(); in Display() local 35 op->SetSoundEnable(false); in Display() 39 op->Init(config, screenWidth, screenHeight, duration); in Display() 40 operators_.emplace_back(op); in Display() 43 for (const auto& op : operators_) { in Display() local 44 op->GetThread().join(); in Display()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | io_event_epoll.cpp | 57 bool IOEventEpoll::OperateEpoll(int op, int fd, EPEventId epollEvents) in OperateEpoll() argument 64 if (epoll_ctl(epollFd_, op, fd, &event) != 0) { in OperateEpoll() 66 target fd: %{public}d", __FUNCTION__, strerror(errno), epollFd_, op, fd); in OperateEpoll() 70 switch (op) { in OperateEpoll() 90 int op = EPOLL_CTL_ADD; in ModifyEvents() local 93 op = EPOLL_CTL_DEL; in ModifyEvents() 95 op = EPOLL_CTL_MOD; in ModifyEvents() 99 if (!OperateEpoll(op, fd, Reactor2Epoll(events))) { in ModifyEvents()
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/qos/ |
H A D | flow_control.c | 181 static int32_t RegisterFlowControlOp(struct FlowControlModule *fcm, struct FlowControlOp *op) in RegisterFlowControlOp() argument 183 if ((fcm == NULL) || (op == NULL)) { in RegisterFlowControlOp() 187 fcm->op = op; in RegisterFlowControlOp() 310 if (fcm->op != NULL && fcm->op->getTxPriorityId != NULL) { in SendFlowControlQueue() 311 fwPriorityId = fcm->op->getTxPriorityId(id); in SendFlowControlQueue() 313 if (fcm->op != NULL && fcm->op->txDataPacket != NULL) { in SendFlowControlQueue() 314 fcm->op->txDataPacket(q, fcm->fcmPriv, fwPriorityId); in SendFlowControlQueue() 322 if (fcm->op != NULL && fcm->op->getRxPriorityId != NULL) { in SendFlowControlQueue() 323 rxPriorityId = fcm->op->getRxPriorityId(id); in SendFlowControlQueue() 325 if (fcm->op != NULL && fcm->op->rxDataPacket != NULL) { in SendFlowControlQueue() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
H A D | sys_event_service_ohos_test.cpp | 326 std::string condStr = R"~({"version":"V1", "condition":{"and":[{"param":"NAME", "op":"=", 331 "value":"SysEventService"}, {"param":"uid_", "op":"=", "value":1201}]}})~"; 336 {"param":"uid_", "op":"=", "value":1201}]}})~"; 341 {"param2":"uid_", "op":"=", "value":1201}]}})~"; 346 {"param":"", "op":"=", "value":1201}]}})~"; 367 {"param":"uid_", "op":"=", "value2":1201}]}})~"; 372 {"param":"uid_", "op":"=", "value":[]}]}})~"; 377 {"param":"uid_", "op":"=", "value":1201}]}})~"; 386 {"param2":"uid_", "op":"=", "value":1201}]}})~"; 431 {"and":[{"param":"NAME", "op":"=", "value":"SysEventService"}]}})~"); [all …]
|
/ohos5.0/base/startup/init/services/loopevent/loop/ |
H A D | le_epoll.c | 27 static void GetEpollEvent_(int fd, int op, struct epoll_event *event) in GetEpollEvent_() argument 30 if (LE_TEST_FLAGS(op, EVENT_READ)) { in GetEpollEvent_() 33 if (LE_TEST_FLAGS(op, EVENT_WRITE)) { in GetEpollEvent_() 48 static LE_STATUS AddEvent_(const EventLoop *loop, const BaseTask *task, int op) in AddEvent_() argument 56 GetEpollEvent_(fd, op, &event); in AddEvent_() 64 static LE_STATUS ModEvent_(const EventLoop *loop, const BaseTask *task, int op) in ModEvent_() argument 72 GetEpollEvent_(fd, op, &event); in ModEvent_() 80 static LE_STATUS DelEvent_(const EventLoop *loop, int fd, int op) in DelEvent_() argument 87 GetEpollEvent_(fd, op, &event); in DelEvent_()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | poller_api.cpp | 35 int ffrt_epoll_ctl(ffrt_qos_t qos, int op, int fd, uint32_t events, void* data, ffrt_poller_cb cb) 41 if (op == EPOLL_CTL_DEL) { 43 } else if (op == EPOLL_CTL_ADD || op == EPOLL_CTL_MOD) { 44 …int ret = ffrt::FFRTFacade::GetPPInstance().GetPoller(ffrtQos).AddFdEvent(op, events, fd, data, cb… 50 FFRT_LOGE("ffrt_epoll_ctl input error: op=%d, fd=%d", op, fd);
|
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op.cpp | 40 bool ToolsOp::Register(ToolsOp &&op) in Register() argument 42 auto &&opName = op.GetDescriptor().opName; in Register() 62 fprintf(stderr, "Failed to register an illegal operation '%s'\n", op.GetName().c_str()); in Register() 66 ToolsOp::opsAvailable_.emplace_back(std::move(op)); in Register() 75 bool ToolsOp::TryMatch(CRefVStrView op) const in TryMatch() 77 return op == desc_.opName; in TryMatch()
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/common/ |
H A D | log.h | 87 #define HST_HILOG(op, fmt, args...) \ argument 89 op(LOG_TYPE, PUBLIC_LOG_S ":" fmt, HST_LOG_TAG, ##args); \ 92 #define HST_HILOG(op, fmt, args...) … argument 94 … op(LOG_TYPE, "(" PUBLIC_LOG_S "(), " PUBLIC_LOG_D32 "): " fmt, __FUNCTION__, __LINE__, ##args); \ 96 #define HST_HILOG_SHORT(op, fmt, args...) \ argument 98 op(LOG_TYPE, "#" PUBLIC_LOG_D32 " " fmt, __LINE__, ##args); \ 100 #define HST_HILOG_NO_RELEASE(op, fmt, args...) … argument 105 #define HST_HILOG_TAG(op, fmt, args...) \ argument 107 op(LOG_TYPE, "[" PUBLIC_LOG_S "]:" fmt, HST_LOG_TAG, ##args); \ 154 #define MEDIA_LOG_LIMIT(op, frequency, fmt, ...) \ argument [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/system/include/ |
H A D | dfsu_actor.h | 118 const CmdOptions &op = currentCmd->option_; in ExceptionHandler() local 120 if (IsExistStopTask() && (op.tryTimes_ > 0)) { in ExceptionHandler() 124 if (op.importance_ == CmdImportance::TRIVIAL) { in ExceptionHandler() 125 if (op.tryTimes_) { in ExceptionHandler() 131 if (op.tryTimes_) { in ExceptionHandler() 135 if (op.importance_ == CmdImportance::VITAL) { in ExceptionHandler() 138 if (op.importance_ == CmdImportance::NORMAL) { in ExceptionHandler()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_log.h | 28 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument 30 op("%{public}s() " fmt, __FUNCTION__, ##args); \ 33 #define DECORATOR_HDFLOG(op, fmt, args...) \ 35 op("{%s()-%s:%d} " fmt, __FUNCTION__, __LINE__, ##args); \
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_log.h | 28 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument 30 op("%{public}s() " fmt, __FUNCTION__, ##args); \ 33 #define DECORATOR_HDFLOG(op, fmt, args...) \ 35 op("{%s()-%s:%d} " fmt, __FUNCTION__, __LINE__, ##args); \
|
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/ |
H A D | loop.cpp | 69 int Loop::EpollCtl(int op, int fd, uint32_t events, void *data, ffrt_poller_cb cb) in EpollCtl() argument 71 if (op == EPOLL_CTL_ADD) { in EpollCtl() 75 return poller_.AddFdEvent(op, events, fd, data, cb); in EpollCtl() 77 } else if (op == EPOLL_CTL_DEL) { in EpollCtl() 83 } else if (op == EPOLL_CTL_MOD) { in EpollCtl()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_occlusion_region.cpp | 149 void Region::getRange(std::vector<Range>& ranges, Node& node, Region::OP op) in getRange() argument 151 switch (op) { in getRange() 211 void Region::RegionOp(Region& r1, Region& r2, Region& res, Region::OP op) in RegionOp() argument 214 if (op == Region::OP::AND || op == Region::OP::SUB) { in RegionOp() 222 if (op == Region::OP::AND) { in RegionOp() 229 RegionOpAccelate(r1, r2, res, op); in RegionOp() 232 void Region::RegionOpLocal(Region& r1, Region& r2, Region& res, Region::OP op) in RegionOpLocal() argument 271 getRange(ranges, rootNode, op); in RegionOpLocal() 295 if (op == Region::OP::SUB && relationship == RectType::RHS_ONLY) { in RegionOpAccelate() 310 Region& Region::OperationSelf(Region& r, Region::OP op) in OperationSelf() argument [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | dwarf_test.cpp | 816 DwarfOpTest op(memory); 840 DwarfOpTest op(memory); 865 DwarfOpTest op(memory); 899 DwarfOpTest op(memory); 936 DwarfOpTest op(memory); 970 DwarfOpTest op(memory); 1006 DwarfOpTest op(memory); 1040 DwarfOpTest op(memory); 1073 DwarfOpTest op(memory); 1102 DwarfOpTest op(memory); [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | option.cpp | 59 int32_t op = 0; in ParseOptions() local 60 while (op != OPTION_END) { in ParseOptions() 61 op = getopt(argc, argv, HCS_SUPPORT_ARGS); in ParseOptions() 62 SetOptionData(op); in ParseOptions() 71 void Option::SetOptionData(char op) in SetOptionData() argument 73 switch (op) { in SetOptionData()
|
/ohos5.0/foundation/multimodalinput/input/util/socket/test/ |
H A D | uds_socket_test.cpp | 66 int32_t op = 0; variable 70 int32_t retResult = socObj.EpollCtl(fd, op, event); 77 int32_t op = 1001; variable 81 int32_t retResult = socObj.EpollCtl(fd, op, event); 88 int32_t op = -2002; variable 92 int32_t retResult = socObj.EpollCtl(fd, op, event);
|