Home
last modified time | relevance | path

Searched refs:printbuf (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/msm8998/json-c/
Dprintbuf.h23 struct printbuf { struct
29 extern struct printbuf* argument
40 printbuf_memappend(struct printbuf *p, const char *buf, int size);
62 printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len);
65 sprintbuf(struct printbuf *p, const char *msg, ...);
68 printbuf_reset(struct printbuf *p);
71 printbuf_free(struct printbuf *p);
Dprintbuf.c31 static int printbuf_extend(struct printbuf *p, int min_size);
33 struct printbuf* printbuf_new(void) in printbuf_new()
35 struct printbuf *p; in printbuf_new()
37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new()
57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend()
80 int printbuf_memappend(struct printbuf *p, const char *buf, int size) in printbuf_memappend()
92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset()
153 int sprintbuf(struct printbuf *p, const char *msg, ...) in sprintbuf()
181 void printbuf_reset(struct printbuf *p) in printbuf_reset()
187 void printbuf_free(struct printbuf *p) in printbuf_free()
DMakefile.am26 printbuf.h \
45 printbuf.c \
Djson_object.c100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str()
299 static void indent(struct printbuf *pb, int level, int flags) in indent()
310 struct printbuf *pb, in json_object_object_to_json_string()
458 struct printbuf *pb, in json_object_boolean_to_json_string()
501 struct printbuf *pb, in json_object_int_to_json_string()
593 struct printbuf *pb, in json_object_double_to_json_string()
662 struct printbuf *pb, int level, int flags) in json_object_userdata_to_json_string()
727 struct printbuf *pb, in json_object_string_to_json_string()
811 struct printbuf *pb, in json_object_array_to_json_string()
Djson_object.h78 typedef struct printbuf printbuf; typedef
94 struct printbuf *pb,
Djson_object_private.h27 struct printbuf *_pb;
DAndroid.mk33 printbuf.c \
Djson_tokener.h81 struct printbuf *pb;
Djson_util.c69 struct printbuf *pb; in json_object_from_file()
DChangeLog113 * Correction to comment describing printbuf_memappend in printbuf.h
135 * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
196 * printbuf.c - C. Watford (christopher.watford@gmail.com)