Home
last modified time | relevance | path

Searched refs:cur_trigger (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dinit_parser.cpp550 struct trigger *cur_trigger; in action_for_each_trigger() local
555 cur_trigger = node_to_item(node2, struct trigger, nlist); in action_for_each_trigger()
556 if (!strcmp(cur_trigger->name, trigger)) { in action_for_each_trigger()
568 struct trigger *cur_trigger; in queue_property_triggers() local
576 cur_trigger = node_to_item(node2, struct trigger, nlist); in queue_property_triggers()
577 if (!strncmp(cur_trigger->name, "property:", strlen("property:"))) { in queue_property_triggers()
578 const char *test = cur_trigger->name + strlen("property:"); in queue_property_triggers()
626 trigger* cur_trigger = (trigger*) calloc(1, sizeof(*cur_trigger)); in queue_builtin_action() local
627 cur_trigger->name = name; in queue_builtin_action()
629 list_add_tail(&act->triggers, &cur_trigger->nlist); in queue_builtin_action()
[all …]
Dinit.cpp573 struct trigger *cur_trigger; in build_triggers_string() local
576 cur_trigger = node_to_item(node, struct trigger, nlist); in build_triggers_string()
580 strlcat(name_str, cur_trigger->name , length); in build_triggers_string()