Lines Matching full:if
60 * for the functions for CborParsing. In addition, if the C standard library
64 * These functions also perform UTF-8 validation in CBOR text strings. If they
104 * If NaN or infinite, the actual words \c NaN or \c infinite.
109 …* If the array length is indeterminate, an underscore ("_") appears immediately after the open…
113 …* If the map length is indeterminate, an underscore ("_") appears immediately after the openi…
120 if (r < 0) in hexDump()
133 if (uc < 0x80) { in utf8EscapedDump()
135 if (uc < 0x7f && uc >= 0x20 && uc != '\\' && uc != '"') { in utf8EscapedDump()
136 if (fprintf(out, "%c", (char)uc) < 0) in utf8EscapedDump()
165 if (fprintf(out, "\\%c", escaped) < 0) in utf8EscapedDump()
173 if (unlikely(uc <= 0xC1)) in utf8EscapedDump()
175 if (uc < 0xE0) { in utf8EscapedDump()
180 } else if (uc < 0xF0) { in utf8EscapedDump()
185 } else if (uc < 0xF5) { in utf8EscapedDump()
194 if (n < charsNeeded - 1) in utf8EscapedDump()
199 if ((b & 0xc0) != 0x80) in utf8EscapedDump()
204 if (charsNeeded > 2) { in utf8EscapedDump()
207 if ((b & 0xc0) != 0x80) in utf8EscapedDump()
212 if (charsNeeded > 3) { in utf8EscapedDump()
215 if ((b & 0xc0) != 0x80) in utf8EscapedDump()
223 if (uc < min_uc || uc - 0xd800U < 2048U || uc > 0x10ffff) in utf8EscapedDump()
227 if (charsNeeded > 3) { in utf8EscapedDump()
229 if (fprintf(out, "\\u%04" PRIX32 "\\u%04" PRIX32, in utf8EscapedDump()
236 if (fprintf(out, "\\u%04" PRIX32, uc) < 0) in utf8EscapedDump()
248 if (fprintf(out, "%s", comma) < 0) in container_to_pretty()
253 if (err) in container_to_pretty()
256 if (containerType == CborArrayType) in container_to_pretty()
260 if (fprintf(out, ": ") < 0) in container_to_pretty()
263 if (err) in container_to_pretty()
279 if (fprintf(out, type == CborArrayType ? "[" : "{") < 0) in value_to_pretty()
281 if (!cbor_value_is_length_known(it)) { in value_to_pretty()
282 if (fprintf(out, "_ ") < 0) in value_to_pretty()
287 if (err) { in value_to_pretty()
292 if (err) { in value_to_pretty()
297 if (err) in value_to_pretty()
300 if (fprintf(out, type == CborArrayType ? "]" : "}") < 0) in value_to_pretty()
309 if (cbor_value_is_unsigned_integer(it)) { in value_to_pretty()
310 if (fprintf(out, "%" PRIu64, val) < 0) in value_to_pretty()
315 if (++val) { /* unsigned overflow may happen */ in value_to_pretty()
316 if (fprintf(out, "-%" PRIu64, val) < 0) in value_to_pretty()
322 if (fprintf(out, "-18446744073709551616") < 0) in value_to_pretty()
333 if (err) in value_to_pretty()
345 if (err) in value_to_pretty()
360 if (fprintf(out, "%" PRIu64 "(", tag) < 0) in value_to_pretty()
363 if (err) in value_to_pretty()
366 if (err) in value_to_pretty()
368 if (fprintf(out, ")") < 0) in value_to_pretty()
376 if (fprintf(out, "simple(%" PRIu8 ")", simple_type) < 0) in value_to_pretty()
382 if (fprintf(out, "null") < 0) in value_to_pretty()
387 if (fprintf(out, "undefined") < 0) in value_to_pretty()
394 if (fprintf(out, val ? "true" : "false") < 0) in value_to_pretty()
402 if (false) { in value_to_pretty()
409 } else if (false) { in value_to_pretty()
422 if (r == FP_NAN || r == FP_INFINITE) in value_to_pretty()
426 if (ival == fabs(val)) { in value_to_pretty()
434 if (r < 0) in value_to_pretty()
441 if (fprintf(out, "invalid") < 0) in value_to_pretty()
446 if (err == CborNoError) in value_to_pretty()
455 * representation and writes it to the \a out stream. If an error occurs, this
463 * representation and writes it to the \a out stream. If an error occurs, this
466 * If no error ocurred, this function advances \a value to the next element.