/base/print/print_fwk/services/print_service/src/ |
H A D | operation_queue.cpp | 33 std::function<void()> op = Pop(); in Run() 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()
|
H A D | vendor_ipp_everywhere.cpp | 57 auto op = std::bind(&VendorIppEveryWhere::QueryCapabilityByUri, this, printerId); in OnQueryCapability() local 58 return opQueue.Push(op); in OnQueryCapability() 69 auto op = std::bind(&VendorIppEveryWhere::ConnectPrinterByUri, this, uri); in OnQueryCapabilityByIp() local 70 return opQueue.Push(op); in OnQueryCapabilityByIp() 78 auto op = std::bind(&VendorIppEveryWhere::QueryPrinterStatusByUri, this, printerId); in OnQueryProperties() local 79 if (opQueue.Push(op)) { in OnQueryProperties()
|
/base/telephony/ril_adapter/utils/native/include/ |
H A D | telephony_log_c.h | 36 #define DECORATOR_HILOG(op, fmt, args...) \ 38 op(LOG_CORE, fmt, ##args); \ 49 #define DECORATOR_HILOG(op, fmt, args...) \ 51 op(LOG_CORE, "[%{public}s-(%{public}s:%{public}d)] " fmt, __FUNCTION__, GetRawFileName(__FILE__), __LINE__, \
|
/base/telephony/core_service/utils/log/include/ |
H A D | telephony_log_c.h | 36 #define DECORATOR_HILOG(op, fmt, args...) \ 38 op(LOG_CORE, fmt, ##args); \ 49 #define DECORATOR_HILOG(op, fmt, args...) \ 51 op(LOG_CORE, "[%{public}s-(%{public}s:%{public}d)] " fmt, __FUNCTION__, GetRawFileName(__FILE__), __LINE__, \
|
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/ |
H A D | operation_queue_test.cpp | 71 std::function<void()> op = []() { in HWTEST_F() local 78 EXPECT_EQ(operationQueue.Push(op), false); in HWTEST_F() 82 EXPECT_EQ(operationQueue.Push(op), true); in HWTEST_F() 83 operationQueue.Push(op); in HWTEST_F() 84 operationQueue.Push(op); in HWTEST_F()
|
/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":"=", in HWTEST_F() 330 std::string condStr2 = R"~({"version":"V1", "condition":{"and":[{"param":"NAME", "op":"=", in HWTEST_F() 331 "value":"SysEventService"}, {"param":"uid_", "op":"=", "value":1201}]}})~"; in HWTEST_F() 335 std::string condStr3 = R"~({"version":"V1", "condition":{"and":[{"param":"type_", "op":">", "value":0}, in HWTEST_F() 336 {"param":"uid_", "op":"=", "value":1201}]}})~"; in HWTEST_F() 340 std::string condStr4 = R"~({"version":"V1", "condition":{"and":[{"param1":"type_", "op":">", "value":0}, in HWTEST_F() 341 {"param2":"uid_", "op":"=", "value":1201}]}})~"; in HWTEST_F() 345 std::string condSt5 = R"~({"version":"V1", "condition":{"and":[{"param":"", "op":">", "value":0}, in HWTEST_F() 346 {"param":"", "op":"=", "value":1201}]}})~"; in HWTEST_F() 366 std::string condSt7 = R"~({"version":"V1", "condition":{"and":[{"param":"type_", "op" in HWTEST_F() [all...] |
/base/update/updater/services/script/script_interpreter/ |
H A D | script_context.cpp | 170 #define INTEGER_INTEGER_COMPUTER(op, rightValue) do { \
175 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \
179 #define INTEGER_FLOAT_MATH_COMPUTER(op, rightValue) do { \
184 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \
188 #define INTEGER_MATH_COMPUTER(op, rightValue) do { \
190 INTEGER_INTEGER_COMPUTER(op, (rightValue)); \
192 INTEGER_FLOAT_MATH_COMPUTER(op, (rightValue)); \
196 #define INTEGER_FLOAT_LOGIC_COMPUTER(op, rightValue) do { \
201 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \
205 #define INTEGER_LOGIC_COMPUTER(op, rightValu [all...] |
/base/startup/init/services/loopevent/loop/ |
H A D | le_loop.h | 34 LE_STATUS (*addEvent)(const struct EventLoop_ *loop, const BaseTask *task, int op);
35 LE_STATUS (*modEvent)(const struct EventLoop_ *loop, const BaseTask *task, int op);
36 LE_STATUS (*delEvent)(const struct EventLoop_ *loop, int fd, int op);
|
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_()
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | dwarf_test.cpp | 812 DwarfOpTest op(memory); in HWTEST_F() 813 ASSERT_EQ(op.Test01(), false); in HWTEST_F() 814 ASSERT_EQ(op.Test02(), true); in HWTEST_F() 815 ASSERT_EQ(op.Test03(), true); in HWTEST_F() 816 ASSERT_EQ(op.Test04(memory), true); in HWTEST_F() 817 ASSERT_EQ(op.Test05(memory), true); in HWTEST_F() 818 ASSERT_EQ(op.Test06(), true); in HWTEST_F() 819 ASSERT_EQ(op.Test07(), true); in HWTEST_F() 820 ASSERT_EQ(op.Test08(), true); in HWTEST_F() 821 ASSERT_EQ(op in HWTEST_F() [all...] |
/base/security/code_signature/interfaces/innerkits/jit_code_sign/include/ |
H A D | jit_fort_helper.h | 57 int op, unsigned long a, unsigned long b = 0) in PrctlWrapper() 60 return Syscall(SYS_prctl, op, a, b, 0, 0); in PrctlWrapper() 56 PrctlWrapper( int op, unsigned long a, unsigned long b = 0) PrctlWrapper() argument
|
/base/update/updater/services/flashd/daemon/ |
H A D | daemon.cpp | 267 bool HdcDaemon::RemoveInstanceTask(const uint8_t op, HTaskInfo hTask) in RemoveInstanceTask() argument 272 ret = DoTaskRemove<HdcDaemonUnity>(hTask, op); in RemoveInstanceTask() 275 ret = DoTaskRemove<HdcShell>(hTask, op); in RemoveInstanceTask() 278 ret = DoTaskRemove<HdcTransferBase>(hTask, op); in RemoveInstanceTask() 281 ret = DoTaskRemove<HdcDaemonForward>(hTask, op); in RemoveInstanceTask() 284 ret = DoTaskRemove<HdcDaemonApp>(hTask, op); in RemoveInstanceTask() 287 ret = DoTaskRemove<DaemonUpdater>(hTask, op); in RemoveInstanceTask()
|
/base/msdp/device_status/utils/ipc/src/ |
H A D | stream_socket.cpp | 46 int32_t StreamSocket::EpollCtl(int32_t fd, int32_t op, struct epoll_event &event)
in EpollCtl() argument 56 if (::epoll_ctl(epollFd_, op, fd, &event) != 0) {
in EpollCtl() 57 FI_HILOGE("epoll_ctl(%{public}d,%{public}d,%{public}d) failed:%{public}s", epollFd_, op, fd, ::strerror(errno));
in EpollCtl()
|
/base/startup/appspawn/service/devicedebug/kill/src/ |
H A D | devicedebug_kill.c | 42 APPSPAWN_STATIC char* DeviceDebugJsonStringGeneral(int pid, const char *op, cJSON *args) in DeviceDebugJsonStringGeneral() argument 51 cJSON_AddStringToObject(root, "op", op); in DeviceDebugJsonStringGeneral()
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
H A D | print_callback_stub_test.cpp | 103 const PrinterInfo& op = (const PrinterInfo&)arg; in MATCHER_P() local 104 return op.GetPrinterId() == oParam.GetPrinterId(); in MATCHER_P() 109 const PrintJob& op = (const PrintJob&)arg; in MATCHER_P() local 110 return op.GetJobId() == oParam.GetJobId(); in MATCHER_P()
|
/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_query.h | 190 Cond(const std::string &col, Op op, const T &value): col_(col), op_(op), fieldValue_(value) {} in Cond() argument 193 Cond &And(const std::string &col, Op op, const T &value) in And() argument 195 andConds_.emplace_back(Cond(col, op, value)); in And() 267 SysEventQuery &Where(const std::string &col, Op op, const T &value) in Where() argument 269 cond_.And(col, op, value); in Where() 275 SysEventQuery &And(const std::string &col, Op op, const T &value) in And() argument 277 cond_.And(col, op, value); in And()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
H A D | hisysevent_manager_c_test.cpp | 400 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"NAME","op":"=",
in HWTEST_F() 421 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"uid_","op":"=","value":1201}]}})~";
in HWTEST_F() 441 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"pid_","op":">=","value":0}]}})~";
in HWTEST_F() 461 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"type_","op":"<=","value":4}]}})~";
in HWTEST_F() 481 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"pid_","op":">","value":0}]}})~";
in HWTEST_F() 501 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"pid_","op":"<","value":0}]}})~";
in HWTEST_F() 560 std::string cond1 = R"~({"version":"V1","condition":{"and":[{"param":"NAME","op":"=",
561 "value":"SysEventStore"},{"param":"uid_","op":"=","value":1201}]}})~";
564 std::string cond2 = R"~({"version":"V1","condition":{"and":[{"param":"type_","op":">","value":0},
565 {"param":"uid_","op" [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dwarf_cfa_instructions.h | 38 bool DecodeDwCfa(uint8_t op, CommonInfoEntry cie, uintptr_t& pcOffset, uintptr_t& instPtr, RegLocState &rsState);
|
/base/print/print_fwk/services/print_service/include/ |
H A D | operation_queue.h | 30 bool Push(std::function<void()> op);
|
/base/startup/init/services/param/watcher/agent/ |
H A D | watcher_manager_proxy.cpp | 51 int32_t WatcherManagerProxy::SendMsg(int op, const std::string &keyPrefix, uint32_t remoteWatcherId) in SendMsg() argument 59 int32_t res = SendWatcherMsg(op, data, reply, option); in SendMsg()
|
H A D | watcher_manager_proxy.h | 35 int32_t SendMsg(int op, const std::string &keyPrefix, uint32_t remoteWatcherId);
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | event_query_wrapper_builder.cpp | 71 EventStore::Op ConditionParser::GetOpEnum(const std::string& op) in GetOpEnum() argument 80 return opMap.find(op) == opMap.end() ? EventStore::Op::NONE : opMap.at(op); in GetOpEnum() 106 std::string op; in ParseLogicCondition() local 107 if (!ParseJsonString(cond, "op", op) || GetOpEnum(op) == EventStore::Op::NONE) { in ParseLogicCondition() 116 SpliceConditionByLogic(subCondition, EventStore::Cond(param, GetOpEnum(op), value), logic); in ParseLogicCondition() 119 SpliceConditionByLogic(subCondition, EventStore::Cond(param, GetOpEnum(op), value), logic); in ParseLogicCondition()
|
/base/msdp/device_status/utils/ipc/include/ |
H A D | stream_socket.h | 46 int32_t EpollCtl(int32_t fd, int32_t op, struct epoll_event &event);
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
H A D | fuse_mock.cpp | 33 const struct fuse_lowlevel_ops *op, size_t op_size, void *userdata); 94 struct fuse_session *fuse_session_new(struct fuse_args *args, const struct fuse_lowlevel_ops *op, in fuse_session_new() argument 100 return (*reinterpret_cast<NewSessionT>(rawFunc))(args, op, op_size, userdata); in fuse_session_new() 108 return (*func)(args, op, op_size, userdata); in fuse_session_new()
|
/base/update/updater/services/fs_manager/ |
H A D | do_partition.cpp | 39 static int BlkpgPartCommand(const Partition &part, struct blkpg_partition &pg, int op) in BlkpgPartCommand() argument 42 args.op = op; in BlkpgPartCommand() 52 LOG(ERROR) << "ioctl of partition " << part.partName << " with operation " << op << " failed"; in BlkpgPartCommand()
|