Home
last modified time | relevance | path

Searched refs:srcpos (Results 1 – 11 of 11) sorted by relevance

/external/dtc/
Dsrcpos.h57 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 …]
Dsrcpos.c232 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 …]
Ddtc.h178 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);
Dlivetree.c40 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()
Dtreesource.c207 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()
DMakefile.convert-dtsv09 srcpos.c \
DMakefile.dtc14 srcpos.c \
DAndroid.bp77 "srcpos.c",
Dchecks.c68 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()
/external/webrtc/rtc_base/
Dstring_encode.cc62 size_t srcpos = 0, bufpos = 0; in hex_encode_with_delimiter() local
64 while (srcpos < srclen) { in hex_encode_with_delimiter()
65 unsigned char ch = bsource[srcpos++]; in hex_encode_with_delimiter()
71 if (delimiter && (srcpos < srclen)) { in hex_encode_with_delimiter()
114 size_t srcpos = 0, bufpos = 0; in hex_decode_with_delimiter() local
119 while (srcpos < srclen) { in hex_decode_with_delimiter()
120 if ((srclen - srcpos) < 2) { in hex_decode_with_delimiter()
126 if (!hex_decode(source[srcpos], &h1) || in hex_decode_with_delimiter()
127 !hex_decode(source[srcpos + 1], &h2)) in hex_decode_with_delimiter()
131 srcpos += 2; in hex_decode_with_delimiter()
[all …]
/external/libfuse/lib/
Dbuffer.c166 off_t *srcpos = NULL; in fuse_buf_splice() local
180 srcpos = &srcpos_val; in fuse_buf_splice()
188 res = splice(src->fd, srcpos, dst->fd, dstpos, len, in fuse_buf_splice()