Lines Matching defs:format
600 cJSON_bool format; /* is this print a formatted print */
1430 static unsigned char *print(const cJSON * const item, cJSON_bool format, const internal_hooks * const hooks)
1441 buffer->format = format;
1523 p.format = fmt;
1535 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const cJSON_bool format)
1548 p.format = format;
1814 length = (size_t) (output_buffer->format ? 2 : 1);
1821 if(output_buffer->format)
1974 length = (size_t) (output_buffer->format ? 2 : 1); /* fmt: {\n */
1983 if (output_buffer->format)
1991 if (output_buffer->format)
2013 length = (size_t) (output_buffer->format ? 2 : 1);
2020 if (output_buffer->format)
2034 length = ((size_t)(output_buffer->format ? 1 : 0) + (size_t)(current_item->next ? 1 : 0));
2045 if (output_buffer->format)
2055 output_pointer = ensure(output_buffer, output_buffer->format ? (output_buffer->depth + 1) : 2);
2060 if (output_buffer->format)