Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dstringencode.cc33 size_t srcpos = 0, bufpos = 0; in escape() local
34 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in escape()
35 char ch = source[srcpos++]; in escape()
55 size_t srcpos = 0, bufpos = 0; in unescape() local
56 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in unescape()
57 char ch = source[srcpos++]; in unescape()
58 if ((ch == escape) && (srcpos < srclen)) { in unescape()
59 ch = source[srcpos++]; in unescape()
74 size_t srcpos = 0, bufpos = 0; in encode() local
75 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in encode()
[all …]
/external/dtc/
Dsrcpos.h71 struct srcpos { struct
79 #define YYLTYPE struct srcpos argument
104 extern struct srcpos srcpos_empty;
106 extern void srcpos_update(struct srcpos *pos, const char *text, int len);
107 extern struct srcpos *srcpos_copy(struct srcpos *pos);
108 extern char *srcpos_string(struct srcpos *pos);
110 extern void PRINTF(3, 0) srcpos_verror(struct srcpos *pos, const char *prefix,
112 extern void PRINTF(3, 4) srcpos_error(struct srcpos *pos, const char *prefix,
Dsrcpos.c204 struct srcpos srcpos_empty = {
214 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update()
238 struct srcpos *
239 srcpos_copy(struct srcpos *pos) in srcpos_copy()
241 struct srcpos *pos_new; in srcpos_copy()
243 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
244 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
250 srcpos_string(struct srcpos *pos) in srcpos_string()
274 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror()
288 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()
DMakefile.convert-dtsv08 srcpos.c \
DMakefile.dtc13 srcpos.c \
DAndroid.bp35 "srcpos.c",
/external/u-boot/scripts/dtc/
Dsrcpos.h71 struct srcpos { struct
79 #define YYLTYPE struct srcpos argument
104 extern struct srcpos srcpos_empty;
106 extern void srcpos_update(struct srcpos *pos, const char *text, int len);
107 extern struct srcpos *srcpos_copy(struct srcpos *pos);
108 extern char *srcpos_string(struct srcpos *pos);
110 extern void PRINTF(3, 0) srcpos_verror(struct srcpos *pos, const char *prefix,
112 extern void PRINTF(3, 4) srcpos_error(struct srcpos *pos, const char *prefix,
Dsrcpos.c204 struct srcpos srcpos_empty = {
212 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update()
233 struct srcpos *
234 srcpos_copy(struct srcpos *pos) in srcpos_copy()
236 struct srcpos *pos_new; in srcpos_copy()
238 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
239 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
245 srcpos_string(struct srcpos *pos) in srcpos_string()
269 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror()
283 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()
DMakefile.dtc13 srcpos.c \
DMakefile8 srcpos.o checks.o util.o
/external/libvterm/src/
Dvterm.c364 VTermPos srcpos = { pos.row + downward, pos.col + rightward }; in vterm_copy_cells() local
365 (*copycell)(pos, srcpos, user); in vterm_copy_cells()