Lines Matching refs:p
87 struct property *p = first; in reverse_properties() local
91 while (p) { in reverse_properties()
92 next = p->next; in reverse_properties()
93 p->next = head; in reverse_properties()
94 head = p; in reverse_properties()
95 p = next; in reverse_properties()
237 struct property *p; in add_orphan_node() local
244 p = build_property("target-path", d); in add_orphan_node()
249 p = build_property("target", d); in add_orphan_node()
255 node = build_node(p, new_node); in add_orphan_node()
272 struct property **p; in add_property() local
276 p = &node->proplist; in add_property()
277 while (*p) in add_property()
278 p = &((*p)->next); in add_property()
280 *p = prop; in add_property()
304 struct node **p; in add_child() local
309 p = &parent->children; in add_child()
310 while (*p) in add_child()
311 p = &((*p)->next_sibling); in add_child()
313 *p = child; in add_child()
346 struct property *p; in append_to_property() local
348 p = get_property(node, name); in append_to_property()
349 if (p) { in append_to_property()
350 d = data_append_data(p->val, data, len); in append_to_property()
351 p->val = d; in append_to_property()
354 p = build_property(name, d); in append_to_property()
355 add_property(node, p); in append_to_property()
478 struct property *p; in get_marker_label() local
483 for_each_property(tree, p) { in get_marker_label()
484 *prop = p; in get_marker_label()
485 m = p->val.markers; in get_marker_label()
515 const char *p; in get_node_by_path() local
527 p = strchr(path, '/'); in get_node_by_path()
530 if (p && (strlen(child->name) == p-path) && in get_node_by_path()
531 strprefixeq(path, p - path, child->name)) in get_node_by_path()
532 return get_node_by_path(child, p+1); in get_node_by_path()
533 else if (!p && streq(path, child->name)) in get_node_by_path()
857 struct property *p; in generate_label_tree_internal() local
867 p = get_property(an, l->label); in generate_label_tree_internal()
868 if (p) { in generate_label_tree_internal()
876 p = build_property(l->label, in generate_label_tree_internal()
879 add_property(an, p); in generate_label_tree_internal()