Lines Matching full:if
59 if (buffer == NULL) in decode_base64_generic()
66 if (reverse_alphabet[in[0]] < 0 || reverse_alphabet[in[1]] < 0) { in decode_base64_generic()
67 if (in[0] == '\0') in decode_base64_generic()
74 if (in[2] == '=' || in[2] == '\0') { in decode_base64_generic()
75 if (in[2] == '=' && (in[3] != '=' || in[4] != '\0')) in decode_base64_generic()
79 } else if (in[3] == '=' || in[3] == '\0') { in decode_base64_generic()
80 if (in[3] == '=' && in[4] != '\0') in decode_base64_generic()
96 if (!done) { in decode_base64_generic()
155 if (buffer == NULL) in decode_base16()
160 if (c >= '0' && c <= '9') { in decode_base16()
162 } else if ((c | 0x20) >= 'a' && (c | 0x20) <= 'f') { in decode_base16()
170 if (c >= '0' && c <= '9') { in decode_base16()
172 } else if ((c | 0x20) >= 'a' && (c | 0x20) <= 'f') { in decode_base16()
189 if (++s > 255) in get_cjson_size_limited()
200 if (asprintf(&metadatakey, "%s%s", item->string, meta_data_marker) < 0 || metadatakey == NULL) in get_meta_data()
210 if (md == NULL || md->type != cJSON_Object) in parse_meta_data()
214 if (strcmp(md->string, "tag") == 0) { in parse_meta_data()
215 if (md->type != cJSON_String || sscanf(md->valuestring, "%" PRIu64, &result.tag) < 0) in parse_meta_data()
219 } else if (strcmp(md->string, "t") == 0) { in parse_meta_data()
221 } else if (strcmp(md->string, "v") == 0) { in parse_meta_data()
222 if (md->type == cJSON_Number) in parse_meta_data()
239 if (sscanf(md.v, "%" PRIx64, &v) < 0) { in decode_json_with_metadata()
249 if (md.tag == CborExpectedBase64Tag) in decode_json_with_metadata()
251 else if (md.tag == CborExpectedBase16Tag) in decode_json_with_metadata()
253 else if (md.tag == CborNegativeBignumTag) in decode_json_with_metadata()
258 if (data != NULL) { in decode_json_with_metadata()
278 if (!md.v) { in decode_json_with_metadata()
280 } else if (strcmp(md.v, "nan") == 0) { in decode_json_with_metadata()
282 } else if (strcmp(md.v, "-inf") == 0) { in decode_json_with_metadata()
284 } else if (strcmp(md.v, "inf") == 0) { in decode_json_with_metadata()
322 if ((double)json->valueint == json->valuedouble) in decode_json()
329 if (err == CborErrorOutOfMemory) { in decode_json()
332 if (newbuffer == NULL) in decode_json()
351 if (err) in decode_json()
355 if (err) in decode_json()
363 if (err) in decode_json()
367 if (usingMetaData && strlen(item->string) > strlen(meta_data_marker) in decode_json()
372 if (err) in decode_json()
375 if (usingMetaData) { in decode_json()
378 if (md.tagged) { in decode_json()
380 if (err) in decode_json()
388 if (err) in decode_json()
421 if (fname && strcmp(fname, "-") != 0) { in main()
423 if (!in) { in main()
434 if (fseeko(in, 0, SEEK_END) == 0 && (fsize = ftello(in)) >= 0) { in main()
437 if (buffer == NULL) { in main()
451 if (buffer == NULL) in main()
459 if (ferror(in)) { in main()
463 if (in != stdin) in main()
468 if (doc == NULL) { in main()
481 if (err) { in main()