Home
last modified time | relevance | path

Searched refs:printbuf_memappend (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/msm8998/json-c/
Dprintbuf.h40 printbuf_memappend(struct printbuf *p, const char *buf, int size);
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
Djson_object.c118 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str()
120 if(c == '\b') printbuf_memappend(pb, "\\b", 2); in json_escape_str()
121 else if(c == '\n') printbuf_memappend(pb, "\\n", 2); in json_escape_str()
122 else if(c == '\r') printbuf_memappend(pb, "\\r", 2); in json_escape_str()
123 else if(c == '\t') printbuf_memappend(pb, "\\t", 2); in json_escape_str()
124 else if(c == '\f') printbuf_memappend(pb, "\\f", 2); in json_escape_str()
125 else if(c == '"') printbuf_memappend(pb, "\\\"", 2); in json_escape_str()
126 else if(c == '\\') printbuf_memappend(pb, "\\\\", 2); in json_escape_str()
127 else if(c == '/') printbuf_memappend(pb, "\\/", 2); in json_escape_str()
135 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str()
[all …]
Dprintbuf.c80 int printbuf_memappend(struct printbuf *p, const char *buf, int size) in printbuf_memappend() function
172 printbuf_memappend(p, t, size); in sprintbuf()
176 printbuf_memappend(p, buf, size); in sprintbuf()
Djson_util.c85 printbuf_memappend(pb, buf, ret); in json_object_from_file()
DChangeLog113 * Correction to comment describing printbuf_memappend in printbuf.h
129 * optimizations to json_tokener_parse_ex(), printbuf_memappend()
191 * fix type passed to printbuf_memappend in json_tokener