Searched refs:srcpos (Results 1 – 7 of 7) sorted by relevance
/scripts/dtc/ |
D | srcpos.h | 57 struct srcpos { struct 63 struct srcpos *next; argument 66 #define YYLTYPE struct srcpos 87 extern void srcpos_update(struct srcpos *pos, const char *text, int len); 88 extern struct srcpos *srcpos_copy(struct srcpos *pos); 89 extern struct srcpos *srcpos_extend(struct srcpos *new_srcpos, 90 struct srcpos *old_srcpos); 91 extern char *srcpos_string(struct srcpos *pos); 92 extern char *srcpos_string_first(struct srcpos *pos, int level); 93 extern char *srcpos_string_last(struct srcpos *pos, int level); [all …]
|
D | srcpos.c | 232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() 253 struct srcpos * 254 srcpos_copy(struct srcpos *pos) in srcpos_copy() 256 struct srcpos *pos_new; in srcpos_copy() 262 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy() 264 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy() 274 struct srcpos *srcpos_extend(struct srcpos *pos, struct srcpos *newtail) in srcpos_extend() 276 struct srcpos *p; in srcpos_extend() 287 srcpos_string(struct srcpos *pos) in srcpos_string() 312 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) in srcpos_string_comment() [all …]
|
D | dtc.h | 178 struct srcpos *srcpos; member 198 struct srcpos *srcpos; member 228 struct srcpos *srcpos); 234 struct srcpos *srcpos); 235 struct node *build_node_delete(struct srcpos *srcpos);
|
D | livetree.c | 40 struct srcpos *srcpos) in build_property() argument 48 new->srcpos = srcpos_copy(srcpos); in build_property() 89 struct srcpos *srcpos) in build_node() argument 98 new->srcpos = srcpos_copy(srcpos); in build_node() 107 struct node *build_node_delete(struct srcpos *srcpos) in build_node_delete() argument 114 new->srcpos = srcpos_copy(srcpos); in build_node_delete() 177 free(old_prop->srcpos); in merge_nodes() 178 old_prop->srcpos = new_prop->srcpos; in merge_nodes() 219 old_node->srcpos = srcpos_extend(old_node->srcpos, new_node->srcpos); in merge_nodes()
|
D | treesource.c | 207 srcstr = srcpos_string_first(prop->srcpos, annotate); in write_propval() 272 srcstr = srcpos_string_first(prop->srcpos, annotate); in write_propval() 297 srcstr = srcpos_string_first(tree->srcpos, annotate); in write_tree_source_node() 319 srcstr = srcpos_string_last(tree->srcpos, annotate); in write_tree_source_node()
|
D | Makefile | 8 srcpos.o checks.o util.o
|
D | checks.c | 68 struct srcpos *pos = NULL; in check_msg() 74 if (prop && prop->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 76 else if (node && node->srcpos) in check_msg() 77 pos = node->srcpos; in check_msg() 106 pos = node->srcpos; in check_msg()
|