Lines Matching refs:flags
276 const char* json_object_to_json_string_ext(struct json_object *jso, int flags) in json_object_to_json_string_ext() argument
286 if(jso->_to_json_string(jso, jso->_pb, 0, flags) < 0) in json_object_to_json_string_ext()
299 static void indent(struct printbuf *pb, int level, int flags) in indent() argument
301 if (flags & JSON_C_TO_STRING_PRETTY) in indent()
312 int flags) in json_object_object_to_json_string() argument
318 if (flags & JSON_C_TO_STRING_PRETTY) in json_object_object_to_json_string()
325 if (flags & JSON_C_TO_STRING_PRETTY) in json_object_object_to_json_string()
329 if (flags & JSON_C_TO_STRING_SPACED) in json_object_object_to_json_string()
331 indent(pb, level+1, flags); in json_object_object_to_json_string()
334 if (flags & JSON_C_TO_STRING_SPACED) in json_object_object_to_json_string()
341 iter.val->_to_json_string(iter.val, pb, level+1,flags); in json_object_object_to_json_string()
343 if (flags & JSON_C_TO_STRING_PRETTY) in json_object_object_to_json_string()
347 indent(pb,level,flags); in json_object_object_to_json_string()
349 if (flags & JSON_C_TO_STRING_SPACED) in json_object_object_to_json_string()
460 int flags) in json_object_boolean_to_json_string() argument
503 int flags) in json_object_int_to_json_string() argument
595 int flags) in json_object_double_to_json_string() argument
619 if (p && (flags & JSON_C_TO_STRING_NOZERO)) { in json_object_double_to_json_string()
662 struct printbuf *pb, int level, int flags) in json_object_userdata_to_json_string() argument
729 int flags) in json_object_string_to_json_string() argument
813 int flags) in json_object_array_to_json_string() argument
818 if (flags & JSON_C_TO_STRING_PRETTY) in json_object_array_to_json_string()
826 if (flags & JSON_C_TO_STRING_PRETTY) in json_object_array_to_json_string()
830 if (flags & JSON_C_TO_STRING_SPACED) in json_object_array_to_json_string()
832 indent(pb, level + 1, flags); in json_object_array_to_json_string()
837 val->_to_json_string(val, pb, level+1, flags); in json_object_array_to_json_string()
839 if (flags & JSON_C_TO_STRING_PRETTY) in json_object_array_to_json_string()
843 indent(pb,level,flags); in json_object_array_to_json_string()
846 if (flags & JSON_C_TO_STRING_SPACED) in json_object_array_to_json_string()