Searched refs:JobNode (Results 1 – 4 of 4) sorted by relevance
/base/startup/init_lite/test/unittest/param/ |
D | trigger_unittest.cpp | 41 CommandNode *cmd = GetNextCmdNode((JobNode *)trigger, NULL); in TestCmdExec() 44 cmd = GetNextCmdNode((JobNode *)trigger, cmd); in TestCmdExec() 51 JobNode *node = (JobNode *)trigger; in TestTriggerExecute() 104 JobNode *AddTrigger(int type, const char *name, const char *condition, uint32_t size) in AddTrigger() 111 JobNode *node = AddTrigger(TRIGGER_BOOT, "init-later", "", 0); in TestAddTriggerForBoot() 112 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), "init-later"); in TestAddTriggerForBoot() 132 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, "test_param.000=1", 0); in TestAddTriggerForParm() 133 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestAddTriggerForParm() 181 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger1() 182 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger1() [all …]
|
/base/startup/init_lite/services/param/trigger/ |
D | trigger_manager.c | 30 int AddCommand(JobNode *trigger, uint32_t cmdKeyIndex, const char *content) in AddCommand() 61 CommandNode *GetNextCmdNode(const JobNode *trigger, const CommandNode *curr) in GetNextCmdNode() 103 JobNode *node = (JobNode *)trigger; in AddJobNode_() 122 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 | 35 CommandNode *cmd = GetNextCmdNode((JobNode *)trigger, NULL); in DoTriggerExecute_() 40 cmd = GetNextCmdNode((JobNode *)trigger, cmd); in DoTriggerExecute_() 273 JobNode *trigger = UpdateJobTrigger(workSpace, type, condition, name); in ParseTrigger_() 374 JobNode *trigger = GetTriggerByName(&g_triggerWorkSpace, triggerName); in DoTriggerExec() 387 JobNode *trigger = GetTriggerByName(&g_triggerWorkSpace, triggerName); in DoJobExecNow() 403 JobNode *trigger = UpdateJobTrigger(&g_triggerWorkSpace, type, condition, name); in AddCompleteJob()
|
/base/startup/init_lite/services/param/include/ |
D | trigger_manager.h | 131 } JobNode; typedef 182 JobNode *UpdateJobTrigger(const TriggerWorkSpace *workSpace, 184 JobNode *GetTriggerByName(const TriggerWorkSpace *workSpace, const char *triggerName); 187 int AddCommand(JobNode *trigger, uint32_t cmdIndex, const char *content); 188 CommandNode *GetNextCmdNode(const JobNode *trigger, const CommandNode *curr);
|