Home
last modified time | relevance | path

Searched refs:pb (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/msm8998/json-c/
Djson_tokener.c118 tok->pb = printbuf_new(); in json_tokener_new_ex()
132 if (tok->pb) printbuf_free(tok->pb); in json_tokener_free()
270 printbuf_reset(tok->pb); in json_tokener_parse_ex()
271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
294 printbuf_reset(tok->pb); in json_tokener_parse_ex()
300 printbuf_reset(tok->pb); in json_tokener_parse_ex()
311 printbuf_reset(tok->pb); in json_tokener_parse_ex()
319 printbuf_reset(tok->pb); in json_tokener_parse_ex()
338 printbuf_reset(tok->pb); in json_tokener_parse_ex()
359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
[all …]
Djson_object.c100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str() argument
118 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()
[all …]
Dprintbuf.c92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset() argument
97 offset = pb->bpos; in printbuf_memset()
99 if (pb->size < size_needed) in printbuf_memset()
101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset()
105 memset(pb->buf + offset, charvalue, len); in printbuf_memset()
106 if (pb->bpos < size_needed) in printbuf_memset()
107 pb->bpos = size_needed; in printbuf_memset()
Djson_util.c69 struct printbuf *pb; in json_object_from_file() local
79 if(!(pb = printbuf_new())) { in json_object_from_file()
85 printbuf_memappend(pb, buf, ret); in json_object_from_file()
91 printbuf_free(pb); in json_object_from_file()
94 obj = json_tokener_parse(pb->buf); in json_object_from_file()
95 printbuf_free(pb); in json_object_from_file()
Dprintbuf.h62 printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len);
Djson_tokener.h81 struct printbuf *pb; member
Djson_object.h94 struct printbuf *pb,
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_audio_alac.h13 uint8_t pb; /* currently unused */ member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_audio_alac.h13 uint8_t pb; /* currently unused */ member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_audio_alac.h29 uint8_t pb; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_audio_alac.h29 uint8_t pb; member
/hardware/qcom/audio/hal/audio_extn/
Daudio_extn.h79 #define audio_extn_usb_is_config_supported(bit_width, sample_rate, ch, pb) (false) argument
/hardware/qcom/msm8996/kernel-headers/sound/
Dcompress_params.h259 __u8 pb; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Dcompress_params.h259 __u8 pb; member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dcompress_params.h369 __u8 pb; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dcompress_params.h369 __u8 pb; member
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dcompress_params.h376 __u8 pb; member
/hardware/qcom/msm8998/kernel-headers/sound/
Dcompress_params.h262 __u8 pb; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c146 unsigned char *pb = (unsigned char *)addr; in lib2d_dump_tga() local