Searched refs:JobNode (Results 1 – 4 of 4) sorted by relevance
/base/startup/init/test/unittest/param/ |
D | trigger_unittest.cpp | 49 CommandNode *cmd = GetNextCmdNode(reinterpret_cast<const JobNode *>(trigger), NULL); in TestCmdExec() 52 cmd = GetNextCmdNode(reinterpret_cast<const JobNode *>(trigger), cmd); in TestCmdExec() 59 JobNode *node = reinterpret_cast<JobNode *>(trigger); in TestTriggerExecute() 122 JobNode *AddTrigger(int type, const char *name, const char *condition, uint32_t size) in AddTrigger() 129 JobNode *node = AddTrigger(TRIGGER_BOOT, "init-later", "", 0); in TestAddTriggerForBoot() 130 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), "init-later"); in TestAddTriggerForBoot() 151 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, "test_param.000=1", 0); in TestAddTriggerForParm() 152 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestAddTriggerForParm() 201 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger1() 202 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger1() [all …]
|
/base/startup/init/services/param/trigger/ |
D | trigger_manager.c | 28 int AddCommand(JobNode *trigger, uint32_t cmdKeyIndex, const char *content) in AddCommand() 59 CommandNode *GetNextCmdNode(const JobNode *trigger, const CommandNode *curr) in GetNextCmdNode() 101 JobNode *node = (JobNode *)trigger; in AddJobNode_() 120 uint32_t triggerNodeLen = PARAM_ALIGN(nameLen + 1) + sizeof(JobNode); in AddJobTrigger_() 139 JobNode *jobNode = (JobNode *)trigger; in DelJobTrigger_() 242 const JobNode *node = (const JobNode *)trigger; in GetBootCondition_() 250 const JobNode *node = (const JobNode *)trigger; in GetJobName_() 262 JobNode *UpdateJobTrigger(const TriggerWorkSpace *workSpace, in UpdateJobTrigger() 269 JobNode *jobNode = GetTriggerByName(workSpace, name); in UpdateJobTrigger() 275 return (JobNode *)triggerHead->addTrigger(workSpace, condition, &extInfo); in UpdateJobTrigger() [all …]
|
D | trigger_processor.c | 37 CommandNode *cmd = GetNextCmdNode((JobNode *)trigger, NULL); in DoTriggerExecute_() 42 cmd = GetNextCmdNode((JobNode *)trigger, cmd); in DoTriggerExecute_() 237 JobNode *trigger = UpdateJobTrigger(workSpace, type, condition, name); in ParseTrigger_() 345 JobNode *trigger = GetTriggerByName(&g_triggerWorkSpace, triggerName); in DoTriggerExec() 358 JobNode *trigger = GetTriggerByName(&g_triggerWorkSpace, triggerName); in DoJobExecNow() 373 JobNode *trigger = UpdateJobTrigger(&g_triggerWorkSpace, type, condition, name); in AddCompleteJob()
|
/base/startup/init/services/param/include/ |
D | trigger_manager.h | 130 } JobNode; typedef 181 JobNode *UpdateJobTrigger(const TriggerWorkSpace *workSpace, 183 JobNode *GetTriggerByName(const TriggerWorkSpace *workSpace, const char *triggerName); 186 int AddCommand(JobNode *trigger, uint32_t cmdIndex, const char *content); 187 CommandNode *GetNextCmdNode(const JobNode *trigger, const CommandNode *curr);
|