Branch Coverage

yyjson.c
Criterion Covered Total %
branch 1329 9478 14.0


line true false branch
762 14 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
1110 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
0 0 if (size_is_pow2(align)) {
771 0 0 if (size_is_pow2(align)) {
1033 0 0 if (unlikely(size >= ctx->size)) return NULL;
1036 0 0 while (cur) {
1037 0 0 if (cur->size < size) {
1043 0 0 if (cur->size >= size + sizeof(pool_chunk) * 2) {
1053 0 0 if (prev) prev->next = next;
1066 0 0 while (next && next < cur) {
0 0 while (next && next < cur) {
1070 0 0 if (prev) prev->next = cur;
1074 0 0 if (next && ((u8 *)cur + cur->size) == (u8 *)next) {
0 0 if (next && ((u8 *)cur + cur->size) == (u8 *)next) {
1079 0 0 if (prev && ((u8 *)prev + prev->size) == (u8 *)cur) {
0 0 if (prev && ((u8 *)prev + prev->size) == (u8 *)cur) {
1093 0 0 if (unlikely(size >= ctx->size)) return NULL;
1096 0 0 if (unlikely(old_size == size)) return ptr;
1101 0 0 while (next && next < cur) {
0 0 while (next && next < cur) {
1106 0 0 if ((u8 *)cur + cur->size == (u8 *)next && cur->size + next->size >= size) {
0 0 if ((u8 *)cur + cur->size == (u8 *)next && cur->size + next->size >= size) {
1109 0 0 if (free_size > sizeof(pool_chunk) * 2) {
1111 0 0 if (prev) prev->next = tmp;
1117 0 0 if (prev) prev->next = next->next;
1125 0 0 if (new_ptr) {
1137 0 0 if (unlikely(!alc)) return false;
1139 0 0 if (size < sizeof(pool_ctx) * 4) return false;
1141 0 0 if (unlikely(!ctx)) return false;
1186 0 0 if (unlikely(alc_size < *size)) return false; /* overflow */
0 0 if (unlikely(alc_size < *size)) return false; /* overflow */
1194 0 0 for (cur = prev->next; cur; cur = cur->next) {
0 0 for (cur = prev->next; cur; cur = cur->next) {
1195 0 0 if (cur == chunk) {
0 0 if (cur == chunk) {
1215 0 0 if (unlikely(!dyn_size_align(&size))) return NULL;
1218 0 0 if (!ctx->free_list.next) {
1220 0 0 if (unlikely(!chunk)) return NULL;
1231 0 0 if (chunk->size >= size) { /* enough size, reuse this chunk */
1236 0 0 if (!chunk->next) { /* resize the largest chunk */
1238 0 0 if (unlikely(!chunk)) return NULL;
1255 0 0 if (unlikely(!dyn_size_align(&size))) return NULL;
1256 0 0 if (chunk->size >= size) return ptr;
1260 0 0 if (likely(new_chunk)) {
1265 0 0 return new_chunk ? (void *)(new_chunk + 1) : NULL;
1274 0 0 for (prev = &ctx->free_list; prev; prev = prev->next) {
1275 0 0 if (!prev->next || prev->next->size >= chunk->size) {
0 0 if (!prev->next || prev->next->size >= chunk->size) {
1288 0 0 if (unlikely(!alc)) return NULL;
1301 0 0 if (unlikely(!alc)) return;
1302 0 0 for (chunk = ctx->free_list.next; chunk; chunk = next) {
1306 0 0 for (chunk = ctx->used_list.next; chunk; chunk = next) {
1322 0 1150 while (chunk) {
1332 2210 1150 while (chunk) {
1346 0 0 if (unlikely(len > max_len)) return false;
1350 0 0 if (unlikely(!chunk)) return false;
1361 0 0 if (size < pool->chunk_size) size = pool->chunk_size_max; /* overflow */
1373 0 2212 if (unlikely(count > max_count)) return false;
1377 0 2212 if (unlikely(!chunk)) return false;
1388 0 2212 if (size < pool->chunk_size) size = pool->chunk_size_max; /* overflow */
1395 0 0 if (!doc || !len || len > max_size) return false;
0 0 if (!doc || !len || len > max_size) return false;
0 0 if (!doc || !len || len > max_size) return false;
1402 0 0 if (!doc || !count || count > max_count) return false;
0 0 if (!doc || !count || count > max_count) return false;
0 0 if (!doc || !count || count > max_count) return false;
1408 1150 0 if (doc) {
1419 1155 0 if (!alc) alc = &YYJSON_DEFAULT_ALC;
1421 0 1155 if (!doc) return NULL;
1436 0 0 if (!doc || !doc->root) return NULL;
0 0 if (!doc || !doc->root) return NULL;
1438 0 0 if (!m_doc) return NULL;
1440 0 0 if (!m_val) {
1453 0 0 if (!doc) return NULL;
1454 0 0 if (!doc->root) return yyjson_mut_doc_new(alc);
1457 0 0 if (!m_doc) return NULL;
1459 0 0 if (!m_val) {
1478 0 0 if (!m_doc || !i_vals) return NULL;
0 0 if (!m_doc || !i_vals) return NULL;
1480 0 0 i_vals_len = (usize)(unsafe_yyjson_get_next(i_vals) - i_vals);
1482 0 0 if (!m_vals) return NULL;
1486 0 0 for (; i_val < i_end; i_val++, m_val++) {
1490 0 0 if (type == YYJSON_TYPE_STR || type == YYJSON_TYPE_RAW) {
0 0 if (type == YYJSON_TYPE_STR || type == YYJSON_TYPE_RAW) {
1492 0 0 usize str_len = unsafe_yyjson_get_len(i_val);
1494 0 0 if (!m_val->uni.str) return NULL;
1495 0 0 } else if (type == YYJSON_TYPE_ARR) {
1497 0 0 if (len > 0) {
1500 0 0 while (len-- > 1) {
1510 0 0 } else if (type == YYJSON_TYPE_OBJ) {
1512 0 0 if (len > 0) {
1516 0 0 while (len-- > 1) {
1534 0 0 static yyjson_mut_val *unsafe_yyjson_mut_val_mut_copy(yyjson_mut_doc *m_doc,
1544 0 0 if (unlikely(!m_val)) return NULL;
1550 0 0 if (unsafe_yyjson_get_len(m_vals) > 0) {
1554 0 0 if (!prev) return NULL;
1556 0 0 while (next != last) {
1558 0 0 if (!prev->next) return NULL;
1569 0 0 usize str_len = unsafe_yyjson_get_len(m_vals);
1571 0 0 if (!m_val->uni.str) return NULL;
1585 0 0 if (doc && val) return unsafe_yyjson_mut_val_mut_copy(doc, val);
0 0 if (doc && val) return unsafe_yyjson_mut_val_mut_copy(doc, val);
1594 0 0 if (type == YYJSON_TYPE_ARR || type == YYJSON_TYPE_OBJ) {
0 0 if (type == YYJSON_TYPE_ARR || type == YYJSON_TYPE_OBJ) {
1599 0 0 for (i = 0; i < len; i++) {
1601 0 0 if (stype == YYJSON_TYPE_STR || stype == YYJSON_TYPE_RAW) {
0 0 if (stype == YYJSON_TYPE_STR || stype == YYJSON_TYPE_RAW) {
1603 0 0 } else if (stype == YYJSON_TYPE_ARR || stype == YYJSON_TYPE_OBJ) {
0 0 } else if (stype == YYJSON_TYPE_ARR || stype == YYJSON_TYPE_OBJ) {
1609 0 0 } else if (type == YYJSON_TYPE_STR || type == YYJSON_TYPE_RAW) {
0 0 } else if (type == YYJSON_TYPE_STR || type == YYJSON_TYPE_RAW) {
1619 0 0 if (type == YYJSON_TYPE_ARR || type == YYJSON_TYPE_OBJ) {
0 0 if (type == YYJSON_TYPE_ARR || type == YYJSON_TYPE_OBJ) {
1623 0 0 if (type == YYJSON_TYPE_OBJ) {
1624 0 0 if (len) child = child->next->next;
1627 0 0 if (len) child = child->next;
1630 0 0 for (i = 0; i < len; i++) {
1637 0 0 } else if (type == YYJSON_TYPE_STR || type == YYJSON_TYPE_RAW) {
0 0 } else if (type == YYJSON_TYPE_STR || type == YYJSON_TYPE_RAW) {
1657 0 0 if (!mdoc) return NULL;
1670 0 0 if (!mval) return NULL;
1671 0 0 if (!alc) alc = &YYJSON_DEFAULT_ALC;
1680 0 0 if (!doc) return NULL;
1687 0 0 if (str_sum > 0) {
1690 0 0 if (!str_hdr) {
1707 0 0 if (lt == rt) return luni->u64 == runi->u64;
0 0 if (lt == rt) return luni->u64 == runi->u64;
1708 0 0 if (lt == YYJSON_SUBTYPE_SINT && rt == YYJSON_SUBTYPE_UINT) {
0 0 if (lt == YYJSON_SUBTYPE_SINT && rt == YYJSON_SUBTYPE_UINT) {
0 0 if (lt == YYJSON_SUBTYPE_SINT && rt == YYJSON_SUBTYPE_UINT) {
0 0 if (lt == YYJSON_SUBTYPE_SINT && rt == YYJSON_SUBTYPE_UINT) {
1709 0 0 return luni->i64 >= 0 && luni->u64 == runi->u64;
0 0 return luni->i64 >= 0 && luni->u64 == runi->u64;
0 0 return luni->i64 >= 0 && luni->u64 == runi->u64;
0 0 return luni->i64 >= 0 && luni->u64 == runi->u64;
1711 0 0 if (lt == YYJSON_SUBTYPE_UINT && rt == YYJSON_SUBTYPE_SINT) {
0 0 if (lt == YYJSON_SUBTYPE_UINT && rt == YYJSON_SUBTYPE_SINT) {
0 0 if (lt == YYJSON_SUBTYPE_UINT && rt == YYJSON_SUBTYPE_SINT) {
0 0 if (lt == YYJSON_SUBTYPE_UINT && rt == YYJSON_SUBTYPE_SINT) {
1712 0 0 return runi->i64 >= 0 && luni->u64 == runi->u64;
0 0 return runi->i64 >= 0 && luni->u64 == runi->u64;
0 0 return runi->i64 >= 0 && luni->u64 == runi->u64;
0 0 return runi->i64 >= 0 && luni->u64 == runi->u64;
1719 0 0 if (len != unsafe_yyjson_get_len(rhs)) return false;
0 0 if (len != unsafe_yyjson_get_len(rhs)) return false;
1726 0 0 if (type != unsafe_yyjson_get_type(rhs)) return false;
1731 0 0 if (len != unsafe_yyjson_get_len(rhs)) return false;
1732 0 0 if (len > 0) {
1736 0 0 while (len-- > 0) {
1737 0 0 rhs = yyjson_obj_iter_getn(&iter, lhs->uni.str,
1739 0 0 if (!rhs) return false;
1740 0 0 if (!unsafe_yyjson_equals(lhs + 1, rhs)) return false;
1750 0 0 if (len != unsafe_yyjson_get_len(rhs)) return false;
1751 0 0 if (len > 0) {
1754 0 0 while (len-- > 0) {
1755 0 0 if (!unsafe_yyjson_equals(lhs, rhs)) return false;
1781 0 0 if (type != unsafe_yyjson_get_type(rhs)) return false;
1786 0 0 if (len != unsafe_yyjson_get_len(rhs)) return false;
1787 0 0 if (len > 0) {
1791 0 0 while (len-- > 0) {
1792 0 0 rhs = yyjson_mut_obj_iter_getn(&iter, lhs->uni.str,
1794 0 0 if (!rhs) return false;
1795 0 0 if (!unsafe_yyjson_mut_equals(lhs->next, rhs)) return false;
1805 0 0 if (len != unsafe_yyjson_get_len(rhs)) return false;
1806 0 0 if (len > 0) {
1809 0 0 while (len-- > 0) {
1810 0 0 if (!unsafe_yyjson_mut_equals(lhs, rhs)) return false;
1840 0 0 if (!str || pos > len) {
0 0 if (!str || pos > len) {
1841 0 0 if (line) *line = 0;
1842 0 0 if (col) *col = 0;
1843 0 0 if (chr) *chr = 0;
1847 0 0 while (cur < end) {
1850 0 0 if (likely(c < 0x80)) { /* 0xxxxxxx (0x00-0x7F) ASCII */
1851 0 0 if (c == '\n') {
1857 0 0 else if (c < 0xC0) cur += 1; /* 10xxxxxx (0x80-0xBF) Invalid */
1858 0 0 else if (c < 0xE0) cur += 2; /* 110xxxxx (0xC0-0xDF) 2-byte UTF-8 */
1859 0 0 else if (c < 0xF0) cur += 3; /* 1110xxxx (0xE0-0xEF) 3-byte UTF-8 */
1860 0 0 else if (c < 0xF8) cur += 4; /* 11110xxx (0xF0-0xF7) 4-byte UTF-8 */
1864 0 0 if (line) *line = line_sum + 1;
1865 0 0 if (col) *col = chr_sum - line_pos + 1;
1866 0 0 if (chr) *chr = chr_sum;
1893 0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
0 0 while (cur < end && *cur != '/' && *cur != '~') cur++;
1894 0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
0 0 if (likely(cur == end || *cur != '~')) {
1903 0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
0 0 while (cur < end && *cur != '/') {
1904 0 0 if (*cur++ == '~') {
0 0 if (*cur++ == '~') {
0 0 if (*cur++ == '~') {
0 0 if (*cur++ == '~') {
0 0 if (*cur++ == '~') {
1905 0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
0 0 if (cur == end || (*cur != '0' && *cur != '1')) {
1929 0 0 if (unlikely(len == 0 || len > USIZE_SAFE_DIG)) return false;
0 0 if (unlikely(len == 0 || len > USIZE_SAFE_DIG)) return false;
0 0 if (unlikely(len == 0 || len > USIZE_SAFE_DIG)) return false;
0 0 if (unlikely(len == 0 || len > USIZE_SAFE_DIG)) return false;
0 0 if (unlikely(len == 0 || len > USIZE_SAFE_DIG)) return false;
0 0 if (unlikely(len == 0 || len > USIZE_SAFE_DIG)) return false;
1930 0 0 if (*cur == '0') {
0 0 if (*cur == '0') {
0 0 if (*cur == '0') {
1931 0 0 if (unlikely(len > 1)) return false;
0 0 if (unlikely(len > 1)) return false;
0 0 if (unlikely(len > 1)) return false;
1935 0 0 if (*cur == '-') {
0 0 if (*cur == '-') {
0 0 if (*cur == '-') {
1936 0 0 if (unlikely(len > 1)) return false;
0 0 if (unlikely(len > 1)) return false;
0 0 if (unlikely(len > 1)) return false;
1940 0 0 for (; cur < end && (add = (usize)((u8)*cur - (u8)'0')) <= 9; cur++) {
0 0 for (; cur < end && (add = (usize)((u8)*cur - (u8)'0')) <= 9; cur++) {
0 0 for (; cur < end && (add = (usize)((u8)*cur - (u8)'0')) <= 9; cur++) {
0 0 for (; cur < end && (add = (usize)((u8)*cur - (u8)'0')) <= 9; cur++) {
0 0 for (; cur < end && (add = (usize)((u8)*cur - (u8)'0')) <= 9; cur++) {
0 0 for (; cur < end && (add = (usize)((u8)*cur - (u8)'0')) <= 9; cur++) {
1943 0 0 if (unlikely(num == 0 || cur < end)) return false;
0 0 if (unlikely(num == 0 || cur < end)) return false;
0 0 if (unlikely(num == 0 || cur < end)) return false;
0 0 if (unlikely(num == 0 || cur < end)) return false;
0 0 if (unlikely(num == 0 || cur < end)) return false;
0 0 if (unlikely(num == 0 || cur < end)) return false;
1959 0 0 if (unsafe_yyjson_get_len(val) != len) return false;
0 0 if (unsafe_yyjson_get_len(val) != len) return false;
0 0 if (unsafe_yyjson_get_len(val) != len) return false;
1960 0 0 if (likely(!esc)) {
0 0 if (likely(!esc)) {
0 0 if (likely(!esc)) {
1964 0 0 for (; len-- > 0; token++, str++) {
0 0 for (; len-- > 0; token++, str++) {
0 0 for (; len-- > 0; token++, str++) {
1965 0 0 if (*token == '~') {
0 0 if (*token == '~') {
0 0 if (*token == '~') {
1966 0 0 if (*str != (*++token == '0' ? '~' : '/')) return false;
0 0 if (*str != (*++token == '0' ? '~' : '/')) return false;
0 0 if (*str != (*++token == '0' ? '~' : '/')) return false;
0 0 if (*str != (*++token == '0' ? '~' : '/')) return false;
0 0 if (*str != (*++token == '0' ? '~' : '/')) return false;
0 0 if (*str != (*++token == '0' ? '~' : '/')) return false;
1968 0 0 if (*str != *token) return false;
0 0 if (*str != *token) return false;
0 0 if (*str != *token) return false;
1987 0 0 if (unlikely(num == 0)) return NULL;
1988 0 0 if (unlikely(!ptr_token_to_idx(token, len, &idx))) return NULL;
1989 0 0 if (unlikely(idx >= num)) return NULL;
1990 0 0 if (unsafe_yyjson_arr_is_flat(arr)) {
1993 0 0 while (idx-- > 0) val = unsafe_yyjson_get_next(val);
2010 0 0 if (unlikely(num == 0)) return NULL;
2011 0 0 for (; num > 0; num--, key = unsafe_yyjson_get_next(key + 1)) {
2012 0 0 if (ptr_token_eq(key, token, len, esc)) return key + 1;
2034 0 0 if (last) *last = false;
0 0 if (last) *last = false;
2035 0 0 if (pre) *pre = NULL;
0 0 if (pre) *pre = NULL;
2036 0 0 if (unlikely(num == 0)) {
0 0 if (unlikely(num == 0)) {
2037 0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
0 0 if (last && len == 1 && (*token == '0' || *token == '-')) *last = true;
2040 0 0 if (unlikely(!ptr_token_to_idx(token, len, &idx))) return NULL;
0 0 if (unlikely(!ptr_token_to_idx(token, len, &idx))) return NULL;
2041 0 0 if (last) *last = (idx == num || idx == USIZE_MAX);
0 0 if (last) *last = (idx == num || idx == USIZE_MAX);
0 0 if (last) *last = (idx == num || idx == USIZE_MAX);
0 0 if (last) *last = (idx == num || idx == USIZE_MAX);
0 0 if (last) *last = (idx == num || idx == USIZE_MAX);
0 0 if (last) *last = (idx == num || idx == USIZE_MAX);
2042 0 0 if (unlikely(idx >= num)) return NULL;
0 0 if (unlikely(idx >= num)) return NULL;
2043 0 0 while (idx-- > 0) val = val->next;
0 0 while (idx-- > 0) val = val->next;
2063 0 0 if (pre) *pre = NULL;
0 0 if (pre) *pre = NULL;
2064 0 0 if (unlikely(num == 0)) return NULL;
0 0 if (unlikely(num == 0)) return NULL;
2065 0 0 for (; num > 0; num--, pre_key = key) {
0 0 for (; num > 0; num--, pre_key = key) {
2067 0 0 if (ptr_token_eq(key, token, len, esc)) {
0 0 if (ptr_token_eq(key, token, len, esc)) {
2091 0 0 char *dst = unsafe_yyjson_mut_str_alc(doc, len + esc);
0 0 char *dst = unsafe_yyjson_mut_str_alc(doc, len + esc);
2093 0 0 if (unlikely(!dst)) return NULL;
0 0 if (unlikely(!dst)) return NULL;
2094 0 0 for (; src < end; src++, dst++) {
0 0 for (; src < end; src++, dst++) {
2095 0 0 if (*src != '~') *dst = *src;
0 0 if (*src != '~') *dst = *src;
2096 0 0 else *dst = (*++src == '0' ? '~' : '/');
0 0 else *dst = (*++src == '0' ? '~' : '/');
2098 0 0 *dst = '\0';
0 0 *dst = '\0';
2130 0 0 if (unlikely(!token)) return_err_syntax(NULL, ptr - hdr);
0 0 if (unlikely(!token)) return_err_syntax(NULL, ptr - hdr);
2132 0 0 if (type == YYJSON_TYPE_OBJ) {
2134 0 0 } else if (type == YYJSON_TYPE_ARR) {
2139 0 0 if (!val) return_err_resolve(NULL, token - hdr);
0 0 if (!val) return_err_resolve(NULL, token - hdr);
2140 0 0 if (ptr == end) return val;
2158 0 0 if (unlikely(!token)) return_err_syntax(NULL, ptr - hdr);
0 0 if (unlikely(!token)) return_err_syntax(NULL, ptr - hdr);
2161 0 0 if (type == YYJSON_TYPE_OBJ) {
2163 0 0 } else if (type == YYJSON_TYPE_ARR) {
2168 0 0 if (ctx && (ptr == end)) {
0 0 if (ctx && (ptr == end)) {
2169 0 0 if (type == YYJSON_TYPE_OBJ ||
0 0 if (type == YYJSON_TYPE_OBJ ||
2170 0 0 (type == YYJSON_TYPE_ARR && (val || idx_is_last))) {
0 0 (type == YYJSON_TYPE_ARR && (val || idx_is_last))) {
2175 0 0 if (!val) return_err_resolve(NULL, token - hdr);
0 0 if (!val) return_err_resolve(NULL, token - hdr);
2176 0 0 if (ptr == end) return val;
2198 0 0 if (unlikely(!token)) return_err_syntax(false, ptr - hdr);
0 0 if (unlikely(!token)) return_err_syntax(false, ptr - hdr);
2201 0 0 if (ctn_type == YYJSON_TYPE_OBJ) {
2203 0 0 } else if (ctn_type == YYJSON_TYPE_ARR) {
2206 0 0 } else return_err_resolve(false, token - hdr);
2207 0 0 if (!val) break;
2208 0 0 if (ptr == end) break; /* is last token */
2212 0 0 if (unlikely(ptr != end)) { /* not last token */
2213 0 0 if (!create_parent) return_err_resolve(false, token - hdr);
0 0 if (!create_parent) return_err_resolve(false, token - hdr);
2216 0 0 if (ctn_type == YYJSON_TYPE_ARR) {
2217 0 0 if (!idx_is_last || !insert_new) {
0 0 if (!idx_is_last || !insert_new) {
2218 0 0 return_err_resolve(false, token - hdr);
2221 0 0 if (!val) return_err_alloc(false);
0 0 if (!val) return_err_alloc(false);
2233 0 0 if (unlikely(!token)) return_err_resolve(false, token - hdr);
0 0 if (unlikely(!token)) return_err_resolve(false, token - hdr);
2237 0 0 while (ptr != end) { /* not last token */
2238 0 0 key = ptr_new_key(token, token_len, esc, doc);
2239 0 0 if (!key) return_err_alloc(false);
0 0 if (!key) return_err_alloc(false);
2241 0 0 if (!val) return_err_alloc(false);
0 0 if (!val) return_err_alloc(false);
2244 0 0 if (!sep_ctn) {
2256 0 0 if (unlikely(!token)) return_err_syntax(false, ptr - hdr);
0 0 if (unlikely(!token)) return_err_syntax(false, ptr - hdr);
2262 0 0 if (ctn_type == YYJSON_TYPE_OBJ) {
2263 0 0 if (ctx) ctx->ctn = ctn;
2264 0 0 if (!val || insert_new) {
0 0 if (!val || insert_new) {
2266 0 0 key = ptr_new_key(token, token_len, esc, doc);
2267 0 0 if (unlikely(!key)) return_err_alloc(false);
0 0 if (unlikely(!key)) return_err_alloc(false);
2268 0 0 if (ctx) ctx->pre = ctn_len ? (yyjson_mut_val *)ctn->uni.ptr : key;
0 0 if (ctx) ctx->pre = ctn_len ? (yyjson_mut_val *)ctn->uni.ptr : key;
2273 0 0 if (ctx) ctx->pre = pre;
2274 0 0 if (ctx) ctx->old = val;
2279 0 0 if (ctx && (val || idx_is_last)) ctx->ctn = ctn;
0 0 if (ctx && (val || idx_is_last)) ctx->ctn = ctn;
0 0 if (ctx && (val || idx_is_last)) ctx->ctn = ctn;
2280 0 0 if (insert_new) {
2282 0 0 if (val) {
2285 0 0 if (ctx) ctx->pre = pre;
2287 0 0 } else if (idx_is_last) {
2288 0 0 if (ctx) ctx->pre = ctn_len ?
2289 0 0 (yyjson_mut_val *)ctn->uni.ptr : new_val;
2292 0 0 return_err_resolve(false, token - hdr);
2296 0 0 if (!val) return_err_resolve(false, token - hdr);
0 0 if (!val) return_err_resolve(false, token - hdr);
2297 0 0 if (ctn_len > 1) {
2300 0 0 if (ctn->uni.ptr == val) ctn->uni.ptr = new_val;
2306 0 0 if (ctx) ctx->pre = pre;
2307 0 0 if (ctx) ctx->old = val;
2312 0 0 if (unlikely(sep_ctn)) {
2313 0 0 if (sep_key) yyjson_mut_obj_add(sep_ctn, sep_key, sep_val);
2326 0 0 if (!ctx) ctx = &cur_ctx;
2328 0 0 if (!cur_val) return NULL;
2330 0 0 if (yyjson_mut_is_obj(ctx->ctn)) {
0 0 if (yyjson_mut_is_obj(ctx->ctn)) {
2332 0 0 yyjson_mut_obj_put(ctx->ctn, key, new_val);
2348 0 0 if (!ctx) ctx = &cur_ctx;
2350 0 0 if (cur_val) {
2351 0 0 if (yyjson_mut_is_obj(ctx->ctn)) {
0 0 if (yyjson_mut_is_obj(ctx->ctn)) {
2353 0 0 yyjson_mut_obj_put(ctx->ctn, key, NULL);
2390 0 0 if (!memcmp(str, "add", 3)) return PATCH_OP_ADD;
2393 0 0 if (!memcmp(str, "move", 4)) return PATCH_OP_MOVE;
2394 0 0 if (!memcmp(str, "copy", 4)) return PATCH_OP_COPY;
2395 0 0 if (!memcmp(str, "test", 4)) return PATCH_OP_TEST;
2398 0 0 if (!memcmp(str, "remove", 6)) return PATCH_OP_REMOVE;
2401 0 0 if (!memcmp(str, "replace", 7)) return PATCH_OP_REPLACE;
2447 0 0 if (!err) err = &err_tmp;
2451 0 0 if (unlikely(!doc || !orig || !patch)) {
0 0 if (unlikely(!doc || !orig || !patch)) {
0 0 if (unlikely(!doc || !orig || !patch)) {
0 0 if (unlikely(!doc || !orig || !patch)) {
2452 0 0 return_err(INVALID_PARAMETER, "input parameter is NULL");
0 0 return_err(INVALID_PARAMETER, "input parameter is NULL");
2454 0 0 if (unlikely(!yyjson_is_arr(patch))) {
2455 0 0 return_err(INVALID_PARAMETER, "input patch is not array");
0 0 return_err(INVALID_PARAMETER, "input patch is not array");
2458 0 0 if (unlikely(!root)) return_err_copy();
0 0 if (unlikely(!root)) return_err_copy();
0 0 if (unlikely(!root)) return_err_copy();
2462 0 0 while ((obj = yyjson_arr_iter_next(&iter))) {
2467 0 0 if (unlikely(!unsafe_yyjson_is_obj(obj))) {
2468 0 0 return_err(INVALID_OPERATION, "JSON patch operation is not object");
0 0 return_err(INVALID_OPERATION, "JSON patch operation is not object");
2473 0 0 if (unlikely(!op)) return_err_key("`op`");
0 0 if (unlikely(!op)) return_err_key("`op`");
0 0 if (unlikely(!op)) return_err_key("`op`");
2474 0 0 if (unlikely(!yyjson_is_str(op))) return_err_val("`op`");
0 0 if (unlikely(!yyjson_is_str(op))) return_err_val("`op`");
0 0 if (unlikely(!yyjson_is_str(op))) return_err_val("`op`");
2479 0 0 if (unlikely(!path)) return_err_key("`path`");
0 0 if (unlikely(!path)) return_err_key("`path`");
0 0 if (unlikely(!path)) return_err_key("`path`");
2480 0 0 if (unlikely(!yyjson_is_str(path))) return_err_val("`path`");
0 0 if (unlikely(!yyjson_is_str(path))) return_err_val("`path`");
0 0 if (unlikely(!yyjson_is_str(path))) return_err_val("`path`");
2485 0 0 case PATCH_OP_ADD: case PATCH_OP_REPLACE: case PATCH_OP_TEST:
2487 0 0 if (unlikely(!value)) return_err_key("`value`");
0 0 if (unlikely(!value)) return_err_key("`value`");
0 0 if (unlikely(!value)) return_err_key("`value`");
2489 0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
2491 0 0 case PATCH_OP_MOVE: case PATCH_OP_COPY:
2493 0 0 if (unlikely(!from)) return_err_key("`from`");
0 0 if (unlikely(!from)) return_err_key("`from`");
0 0 if (unlikely(!from)) return_err_key("`from`");
2494 0 0 if (unlikely(!yyjson_is_str(from))) return_err_val("`from`");
0 0 if (unlikely(!yyjson_is_str(from))) return_err_val("`from`");
0 0 if (unlikely(!yyjson_is_str(from))) return_err_val("`from`");
2504 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2505 0 0 if (unlikely(!ptr_add(path, val))) {
0 0 if (unlikely(!ptr_add(path, val))) {
2506 0 0 return_err(POINTER, "failed to add `path`");
0 0 return_err(POINTER, "failed to add `path`");
2510 0 0 if (unlikely(!ptr_remove(path))) {
0 0 if (unlikely(!ptr_remove(path))) {
2511 0 0 return_err(POINTER, "failed to remove `path`");
0 0 return_err(POINTER, "failed to remove `path`");
2515 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2516 0 0 if (unlikely(!ptr_replace(path, val))) {
0 0 if (unlikely(!ptr_replace(path, val))) {
2517 0 0 return_err(POINTER, "failed to replace `path`");
0 0 return_err(POINTER, "failed to replace `path`");
2521 0 0 if (unlikely(from_len == 0 && path_len == 0)) break;
0 0 if (unlikely(from_len == 0 && path_len == 0)) break;
2522 0 0 val = ptr_remove(from);
2523 0 0 if (unlikely(!val)) {
2524 0 0 return_err(POINTER, "failed to remove `from`");
0 0 return_err(POINTER, "failed to remove `from`");
2526 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2527 0 0 if (unlikely(!ptr_add(path, val))) {
0 0 if (unlikely(!ptr_add(path, val))) {
2528 0 0 return_err(POINTER, "failed to add `path`");
0 0 return_err(POINTER, "failed to add `path`");
2532 0 0 val = ptr_get(from);
2533 0 0 if (unlikely(!val)) {
2534 0 0 return_err(POINTER, "failed to get `from`");
0 0 return_err(POINTER, "failed to get `from`");
2536 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2538 0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
2539 0 0 if (unlikely(!ptr_add(path, val))) {
0 0 if (unlikely(!ptr_add(path, val))) {
2540 0 0 return_err(POINTER, "failed to add `path`");
0 0 return_err(POINTER, "failed to add `path`");
2544 0 0 test = ptr_get(path);
2545 0 0 if (unlikely(!test)) {
2546 0 0 return_err(POINTER, "failed to get `path`");
0 0 return_err(POINTER, "failed to get `path`");
2548 0 0 if (unlikely(!yyjson_mut_equals(val, test))) {
2549 0 0 return_err(EQUAL, "failed to test equal");
0 0 return_err(EQUAL, "failed to test equal");
2553 0 0 return_err(INVALID_MEMBER, "unsupported `op`");
0 0 return_err(INVALID_MEMBER, "unsupported `op`");
2566 0 0 if (!err) err = &err_tmp;
2570 0 0 if (unlikely(!doc || !orig || !patch)) {
0 0 if (unlikely(!doc || !orig || !patch)) {
0 0 if (unlikely(!doc || !orig || !patch)) {
0 0 if (unlikely(!doc || !orig || !patch)) {
2571 0 0 return_err(INVALID_PARAMETER, "input parameter is NULL");
0 0 return_err(INVALID_PARAMETER, "input parameter is NULL");
2573 0 0 if (unlikely(!yyjson_mut_is_arr(patch))) {
2574 0 0 return_err(INVALID_PARAMETER, "input patch is not array");
0 0 return_err(INVALID_PARAMETER, "input patch is not array");
2577 0 0 if (unlikely(!root)) return_err_copy();
0 0 if (unlikely(!root)) return_err_copy();
0 0 if (unlikely(!root)) return_err_copy();
2581 0 0 while ((obj = yyjson_mut_arr_iter_next(&iter))) {
2586 0 0 if (!unsafe_yyjson_is_obj(obj)) {
2587 0 0 return_err(INVALID_OPERATION, "JSON patch operation is not object");
0 0 return_err(INVALID_OPERATION, "JSON patch operation is not object");
2592 0 0 if (unlikely(!op)) return_err_key("`op`");
0 0 if (unlikely(!op)) return_err_key("`op`");
0 0 if (unlikely(!op)) return_err_key("`op`");
2593 0 0 if (unlikely(!yyjson_mut_is_str(op))) return_err_val("`op`");
0 0 if (unlikely(!yyjson_mut_is_str(op))) return_err_val("`op`");
0 0 if (unlikely(!yyjson_mut_is_str(op))) return_err_val("`op`");
2598 0 0 if (unlikely(!path)) return_err_key("`path`");
0 0 if (unlikely(!path)) return_err_key("`path`");
0 0 if (unlikely(!path)) return_err_key("`path`");
2599 0 0 if (unlikely(!yyjson_mut_is_str(path))) return_err_val("`path`");
0 0 if (unlikely(!yyjson_mut_is_str(path))) return_err_val("`path`");
0 0 if (unlikely(!yyjson_mut_is_str(path))) return_err_val("`path`");
2604 0 0 case PATCH_OP_ADD: case PATCH_OP_REPLACE: case PATCH_OP_TEST:
2606 0 0 if (unlikely(!value)) return_err_key("`value`");
0 0 if (unlikely(!value)) return_err_key("`value`");
0 0 if (unlikely(!value)) return_err_key("`value`");
2608 0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
2610 0 0 case PATCH_OP_MOVE: case PATCH_OP_COPY:
2612 0 0 if (unlikely(!from)) return_err_key("`from`");
0 0 if (unlikely(!from)) return_err_key("`from`");
0 0 if (unlikely(!from)) return_err_key("`from`");
2613 0 0 if (unlikely(!yyjson_mut_is_str(from))) {
2614 0 0 return_err_val("`from`");
0 0 return_err_val("`from`");
2625 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2626 0 0 if (unlikely(!ptr_add(path, val))) {
0 0 if (unlikely(!ptr_add(path, val))) {
2627 0 0 return_err(POINTER, "failed to add `path`");
0 0 return_err(POINTER, "failed to add `path`");
2631 0 0 if (unlikely(!ptr_remove(path))) {
0 0 if (unlikely(!ptr_remove(path))) {
2632 0 0 return_err(POINTER, "failed to remove `path`");
0 0 return_err(POINTER, "failed to remove `path`");
2636 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2637 0 0 if (unlikely(!ptr_replace(path, val))) {
0 0 if (unlikely(!ptr_replace(path, val))) {
2638 0 0 return_err(POINTER, "failed to replace `path`");
0 0 return_err(POINTER, "failed to replace `path`");
2642 0 0 if (unlikely(from_len == 0 && path_len == 0)) break;
0 0 if (unlikely(from_len == 0 && path_len == 0)) break;
2643 0 0 val = ptr_remove(from);
2644 0 0 if (unlikely(!val)) {
2645 0 0 return_err(POINTER, "failed to remove `from`");
0 0 return_err(POINTER, "failed to remove `from`");
2647 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2648 0 0 if (unlikely(!ptr_add(path, val))) {
0 0 if (unlikely(!ptr_add(path, val))) {
2649 0 0 return_err(POINTER, "failed to add `path`");
0 0 return_err(POINTER, "failed to add `path`");
2653 0 0 val = ptr_get(from);
2654 0 0 if (unlikely(!val)) {
2655 0 0 return_err(POINTER, "failed to get `from`");
0 0 return_err(POINTER, "failed to get `from`");
2657 0 0 if (unlikely(path_len == 0)) { root = val; break; }
2659 0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
0 0 if (unlikely(!val)) return_err_copy();
2660 0 0 if (unlikely(!ptr_add(path, val))) {
0 0 if (unlikely(!ptr_add(path, val))) {
2661 0 0 return_err(POINTER, "failed to add `path`");
0 0 return_err(POINTER, "failed to add `path`");
2665 0 0 test = ptr_get(path);
2666 0 0 if (unlikely(!test)) {
2667 0 0 return_err(POINTER, "failed to get `path`");
0 0 return_err(POINTER, "failed to get `path`");
2669 0 0 if (unlikely(!yyjson_mut_equals(val, test))) {
2670 0 0 return_err(EQUAL, "failed to test equal");
0 0 return_err(EQUAL, "failed to test equal");
2674 0 0 return_err(INVALID_MEMBER, "unsupported `op`");
0 0 return_err(INVALID_MEMBER, "unsupported `op`");
2696 0 0 yyjson_mut_val *yyjson_merge_patch(yyjson_mut_doc *doc,
2703 0 0 if (unlikely(!yyjson_is_obj(patch))) {
2708 0 0 if (unlikely(!builder)) return NULL;
2710 0 0 memset(&local_orig, 0, sizeof(local_orig));
2711 0 0 if (!yyjson_is_obj(orig)) {
2718 0 0 if (orig != &local_orig) {
2719 0 0 yyjson_obj_foreach(orig, idx, max, key, orig_val) {
0 0 yyjson_obj_foreach(orig, idx, max, key, orig_val) {
0 0 yyjson_obj_foreach(orig, idx, max, key, orig_val) {
2720 0 0 patch_val = yyjson_obj_getn(patch,
2723 0 0 if (!patch_val) {
2726 0 0 if (!yyjson_mut_obj_add(builder, mut_key, mut_val)) return NULL;
2732 0 0 yyjson_obj_foreach(patch, idx, max, key, patch_val) {
0 0 yyjson_obj_foreach(patch, idx, max, key, patch_val) {
0 0 yyjson_obj_foreach(patch, idx, max, key, patch_val) {
2734 0 0 if (unsafe_yyjson_is_null(patch_val)) {
2738 0 0 orig_val = yyjson_obj_getn(orig,
2742 0 0 if (!yyjson_mut_obj_add(builder, mut_key, merged_val)) return NULL;
2748 0 0 yyjson_mut_val *yyjson_mut_merge_patch(yyjson_mut_doc *doc,
2755 0 0 if (unlikely(!yyjson_mut_is_obj(patch))) {
2760 0 0 if (unlikely(!builder)) return NULL;
2762 0 0 memset(&local_orig, 0, sizeof(local_orig));
2763 0 0 if (!yyjson_mut_is_obj(orig)) {
2770 0 0 if (orig != &local_orig) {
2771 0 0 yyjson_mut_obj_foreach(orig, idx, max, key, orig_val) {
0 0 yyjson_mut_obj_foreach(orig, idx, max, key, orig_val) {
0 0 yyjson_mut_obj_foreach(orig, idx, max, key, orig_val) {
0 0 yyjson_mut_obj_foreach(orig, idx, max, key, orig_val) {
2772 0 0 patch_val = yyjson_mut_obj_getn(patch,
2775 0 0 if (!patch_val) {
2778 0 0 if (!yyjson_mut_obj_add(builder, mut_key, mut_val)) return NULL;
2784 0 0 yyjson_mut_obj_foreach(patch, idx, max, key, patch_val) {
0 0 yyjson_mut_obj_foreach(patch, idx, max, key, patch_val) {
0 0 yyjson_mut_obj_foreach(patch, idx, max, key, patch_val) {
0 0 yyjson_mut_obj_foreach(patch, idx, max, key, patch_val) {
2786 0 0 if (unsafe_yyjson_is_null(patch_val)) {
2790 0 0 orig_val = yyjson_mut_obj_getn(orig,
2794 0 0 if (!yyjson_mut_obj_add(builder, mut_key, merged_val)) return NULL;
3794 0 0 if (likely(byte_match_4(cur, "true"))) {
3 0 if (likely(byte_match_4(cur, "true"))) {
3 0 if (likely(byte_match_4(cur, "true"))) {
5 0 if (likely(byte_match_4(cur, "true"))) {
2 0 if (likely(byte_match_4(cur, "true"))) {
3806 0 0 if (likely(byte_match_4(cur + 1, "alse"))) {
1 0 if (likely(byte_match_4(cur + 1, "alse"))) {
2 0 if (likely(byte_match_4(cur + 1, "alse"))) {
5 0 if (likely(byte_match_4(cur + 1, "alse"))) {
2 0 if (likely(byte_match_4(cur + 1, "alse"))) {
3818 0 0 if (likely(byte_match_4(cur, "null"))) {
1 0 if (likely(byte_match_4(cur, "null"))) {
7 0 if (likely(byte_match_4(cur, "null"))) {
10 0 if (likely(byte_match_4(cur, "null"))) {
2 1 if (likely(byte_match_4(cur, "null"))) {
3831 0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 1 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
0 0 if ((cur[0] == 'I' || cur[0] == 'i') &&
3832 0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
1 0 (cur[1] == 'N' || cur[1] == 'n') &&
1 0 (cur[1] == 'N' || cur[1] == 'n') &&
1 0 (cur[1] == 'N' || cur[1] == 'n') &&
1 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
0 0 (cur[1] == 'N' || cur[1] == 'n') &&
3833 0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
1 0 (cur[2] == 'F' || cur[2] == 'f')) {
1 0 (cur[2] == 'F' || cur[2] == 'f')) {
1 0 (cur[2] == 'F' || cur[2] == 'f')) {
1 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
0 0 (cur[2] == 'F' || cur[2] == 'f')) {
3834 0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
1 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
1 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
1 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
1 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
0 0 if ((cur[3] == 'I' || cur[3] == 'i') &&
3835 0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
1 0 (cur[4] == 'N' || cur[4] == 'n') &&
1 0 (cur[4] == 'N' || cur[4] == 'n') &&
1 0 (cur[4] == 'N' || cur[4] == 'n') &&
1 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
0 0 (cur[4] == 'N' || cur[4] == 'n') &&
3836 0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
1 0 (cur[5] == 'I' || cur[5] == 'i') &&
1 0 (cur[5] == 'I' || cur[5] == 'i') &&
1 0 (cur[5] == 'I' || cur[5] == 'i') &&
1 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
0 0 (cur[5] == 'I' || cur[5] == 'i') &&
3837 0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
1 0 (cur[6] == 'T' || cur[6] == 't') &&
1 0 (cur[6] == 'T' || cur[6] == 't') &&
1 0 (cur[6] == 'T' || cur[6] == 't') &&
1 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
0 0 (cur[6] == 'T' || cur[6] == 't') &&
3838 0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
1 0 (cur[7] == 'Y' || cur[7] == 'y')) {
1 0 (cur[7] == 'Y' || cur[7] == 'y')) {
1 0 (cur[7] == 'Y' || cur[7] == 'y')) {
1 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
0 0 (cur[7] == 'Y' || cur[7] == 'y')) {
3844 0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 1 if (pre) {
0 1 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
3846 0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
3864 0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
0 0 if ((cur[0] == 'N' || cur[0] == 'n') &&
3865 0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
1 0 (cur[1] == 'A' || cur[1] == 'a') &&
1 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
0 0 (cur[1] == 'A' || cur[1] == 'a') &&
3866 0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 1 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
0 0 (cur[2] == 'N' || cur[2] == 'n')) {
3869 0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 1 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
0 0 if (pre) {
3871 0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
0 0 if (*pre) **pre = '\0';
3887 0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
1 0 if (read_inf(sign, ptr, pre, val)) return true;
1 1 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
0 0 if (read_inf(sign, ptr, pre, val)) return true;
3888 0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 1 if (read_nan(sign, ptr, pre, val)) return true;
1 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
0 0 if (read_nan(sign, ptr, pre, val)) return true;
3916 0 0 if (*pre) **pre = '\0';
3922 0 0 if (unlikely(!digi_is_digit(*cur))) {
3923 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
3924 0 0 if (read_inf_or_nan(*hdr == '-', &cur, pre, val)) return_raw();
0 0 if (read_inf_or_nan(*hdr == '-', &cur, pre, val)) return_raw();
3930 0 0 if (*cur == '0') {
3932 0 0 if (unlikely(digi_is_digit(*cur))) {
3935 0 0 if (!digi_is_fp(*cur)) return_raw();
3937 0 0 while (digi_is_digit(*cur)) cur++;
3938 0 0 if (!digi_is_fp(*cur)) return_raw();
3942 0 0 if (*cur == '.') {
3944 0 0 if (!digi_is_digit(*cur++)) {
3947 0 0 while (digi_is_digit(*cur)) cur++;
3951 0 0 if (digi_is_exp(*cur)) {
3953 0 0 if (!digi_is_digit(*cur++)) {
3956 0 0 while (digi_is_digit(*cur)) cur++;
3978 1 8 if (byte_match_2(cur, "/*")) {
3982 1 7 if (byte_match_2(cur, "*/")) {
3986 0 7 if (*cur == 0) {
3994 2 6 if (byte_match_2(cur, "//")) {
3996 13 2 while (!char_is_line_end(*cur)) cur++;
3999 3 3 if (char_is_space(*cur)) {
4001 2 3 while (char_is_space(*cur)) cur++;
4018 0 1 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 1 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 1 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
0 0 if (cur + len <= end || end <= cur) return false;
4019 0 0 if (case_sensitive) {
0 0 if (case_sensitive) {
0 0 if (case_sensitive) {
0 0 if (case_sensitive) {
0 0 if (case_sensitive) {
0 0 if (case_sensitive) {
4022 0 0 for (; cur < end; cur++, str++) {
0 0 for (; cur < end; cur++, str++) {
0 0 for (; cur < end; cur++, str++) {
0 0 for (; cur < end; cur++, str++) {
0 0 for (; cur < end; cur++, str++) {
0 0 for (; cur < end; cur++, str++) {
4023 0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
0 0 if ((*cur != (u8)*str) && (*cur != (u8)*str - 'a' + 'A')) {
4037 1 5 if (cur >= end) return true;
4038 1 4 if (code == YYJSON_READ_ERROR_LITERAL) {
4039 1 0 if (is_truncated_str(cur, end, "true", true) ||
4040 1 0 is_truncated_str(cur, end, "false", true) ||
4041 0 1 is_truncated_str(cur, end, "null", true)) {
4045 2 3 if (code == YYJSON_READ_ERROR_UNEXPECTED_CHARACTER ||
4046 2 0 code == YYJSON_READ_ERROR_INVALID_NUMBER ||
4047 1 1 code == YYJSON_READ_ERROR_LITERAL) {
4048 0 4 if (has_read_flag(ALLOW_INF_AND_NAN)) {
4049 0 0 if (*cur == '-') cur++;
4050 0 0 if (is_truncated_str(cur, end, "infinity", false) ||
4051 0 0 is_truncated_str(cur, end, "nan", false)) {
4056 0 5 if (code == YYJSON_READ_ERROR_UNEXPECTED_CONTENT) {
4057 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
4058 0 0 if (hdr + 3 <= cur &&
4059 0 0 is_truncated_str(cur - 3, end, "infinity", false)) {
0 0 is_truncated_str(cur - 3, end, "infinity", false)) {
4064 0 5 if (code == YYJSON_READ_ERROR_INVALID_STRING) {
4068 0 0 if (*cur == '\\') {
4069 0 0 if (len == 1) return true;
4070 0 0 if (len <= 5) {
4071 0 0 if (*++cur != 'u') return false;
4072 0 0 for (++cur; cur < end; cur++) {
4073 0 0 if (!char_is_hex(*cur)) return false;
4081 0 0 if (*cur & 0x80) {
4083 0 0 if (len == 1) {
4085 0 0 if ((c0 & 0xE0) == 0xC0 && (c0 & 0x1E) != 0x00) return true;
0 0 if ((c0 & 0xE0) == 0xC0 && (c0 & 0x1E) != 0x00) return true;
4087 0 0 if ((c0 & 0xF0) == 0xE0) return true;
4089 0 0 if ((c0 & 0xF8) == 0xF0 && (c0 & 0x07) <= 0x04) return true;
0 0 if ((c0 & 0xF8) == 0xF0 && (c0 & 0x07) <= 0x04) return true;
4091 0 0 if (len == 2) {
4093 0 0 if ((c0 & 0xF0) == 0xE0 &&
4094 0 0 (c1 & 0xC0) == 0x80) {
4096 0 0 return 0x01 <= pat && pat != 0x1B;
0 0 return 0x01 <= pat && pat != 0x1B;
4099 0 0 if ((c0 & 0xF8) == 0xF0 &&
4100 0 0 (c1 & 0xC0) == 0x80) {
4102 0 0 return 0x01 <= pat && pat <= 0x10;
0 0 return 0x01 <= pat && pat <= 0x10;
4105 0 0 if (len == 3) {
4107 0 0 if ((c0 & 0xF8) == 0xF0 &&
4108 0 0 (c1 & 0xC0) == 0x80 &&
4109 0 0 (c2 & 0xC0) == 0x80) {
4111 0 0 return 0x01 <= pat && pat <= 0x10;
0 0 return 0x01 <= pat && pat <= 0x10;
4167 0 0 if (likely((add >= num) || (add >= val))) return;
0 0 if (likely((add >= num) || (add >= val))) return;
4168 0 0 for ((void)(idx = 1), max = big->used; idx < max; idx++) {
4169 0 0 if (likely(big->bits[idx] != U64_MAX)) {
4186 0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
4187 0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
0 0 if (big->bits[idx]) break;
4189 0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
0 0 for (; idx < max; idx++) {
4194 0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
0 0 if (carry) big->bits[big->used++] = carry;
4207 0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
4211 0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
4214 0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
0 0 for (; idx > 0; idx--) {
4221 0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
0 0 while (move) big->bits[--move] = 0;
4231 0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
0 0 for (; exp >= U64_POW10_MAX_EXP; exp -= U64_POW10_MAX_EXP) {
4234 0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
0 0 if (exp) {
4245 0 0 if (a->used < b->used) return -1;
0 0 if (a->used < b->used) return -1;
0 0 if (a->used < b->used) return -1;
0 0 if (a->used < b->used) return -1;
0 0 if (a->used < b->used) return -1;
0 0 if (a->used < b->used) return -1;
4246 0 0 if (a->used > b->used) return +1;
0 0 if (a->used > b->used) return +1;
0 0 if (a->used > b->used) return +1;
0 0 if (a->used > b->used) return +1;
0 0 if (a->used > b->used) return +1;
0 0 if (a->used > b->used) return +1;
4247 0 0 while (idx-- > 0) {
0 0 while (idx-- > 0) {
0 0 while (idx-- > 0) {
0 0 while (idx-- > 0) {
0 0 while (idx-- > 0) {
0 0 while (idx-- > 0) {
4250 0 0 if (av < bv) return -1;
0 0 if (av < bv) return -1;
0 0 if (av < bv) return -1;
0 0 if (av < bv) return -1;
0 0 if (av < bv) return -1;
0 0 if (av < bv) return -1;
4251 0 0 if (av > bv) return +1;
0 0 if (av > bv) return +1;
0 0 if (av > bv) return +1;
0 0 if (av > bv) return +1;
0 0 if (av > bv) return +1;
0 0 if (av > bv) return +1;
4270 0 0 if (unlikely(!sig_cut)) {
4286 0 0 if (dig_len_total > F64_MAX_DEC_DIG) {
4296 0 0 while (cur < sig_end) {
4297 0 0 if (likely(cur != dot_pos)) {
4300 0 0 if (unlikely(cur == sig_end && dig_big_cut)) {
0 0 if (unlikely(cur == sig_end && dig_big_cut)) {
4305 0 0 if (len == U64_SAFE_DIG || cur == sig_end) {
0 0 if (len == U64_SAFE_DIG || cur == sig_end) {
4365 0 0 if (unlikely(exp >= F64_MAX_BIN_EXP)) {
0 0 if (unlikely(exp >= F64_MAX_BIN_EXP)) {
0 0 if (unlikely(exp >= F64_MAX_BIN_EXP)) {
0 4 if (unlikely(exp >= F64_MAX_BIN_EXP)) {
0 0 if (unlikely(exp >= F64_MAX_BIN_EXP)) {
0 0 if (unlikely(exp >= F64_MAX_BIN_EXP)) {
4368 0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - 1)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - 1)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - 1)) {
4 0 } else if (likely(exp >= F64_MIN_BIN_EXP - 1)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - 1)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - 1)) {
4372 0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - F64_SIG_FULL_BITS)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - F64_SIG_FULL_BITS)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - F64_SIG_FULL_BITS)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - F64_SIG_FULL_BITS)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - F64_SIG_FULL_BITS)) {
0 0 } else if (likely(exp >= F64_MIN_BIN_EXP - F64_SIG_FULL_BITS)) {
4473 0 0 if (has_read_flag(NUMBER_AS_RAW)) {
0 18 if (has_read_flag(NUMBER_AS_RAW)) {
0 74 if (has_read_flag(NUMBER_AS_RAW)) {
0 118 if (has_read_flag(NUMBER_AS_RAW)) {
0 13629 if (has_read_flag(NUMBER_AS_RAW)) {
0 8 if (has_read_flag(NUMBER_AS_RAW)) {
4481 0 0 if (unlikely(!digi_is_nonzero(*cur))) { /* 0 or non-digit char */
0 18 if (unlikely(!digi_is_nonzero(*cur))) { /* 0 or non-digit char */
7 67 if (unlikely(!digi_is_nonzero(*cur))) { /* 0 or non-digit char */
5 113 if (unlikely(!digi_is_nonzero(*cur))) { /* 0 or non-digit char */
23 13606 if (unlikely(!digi_is_nonzero(*cur))) { /* 0 or non-digit char */
3 5 if (unlikely(!digi_is_nonzero(*cur))) { /* 0 or non-digit char */
4482 0 0 if (unlikely(*cur != '0')) { /* non-digit char */
0 0 if (unlikely(*cur != '0')) { /* non-digit char */
0 7 if (unlikely(*cur != '0')) { /* non-digit char */
1 4 if (unlikely(*cur != '0')) { /* non-digit char */
0 23 if (unlikely(*cur != '0')) { /* non-digit char */
0 3 if (unlikely(*cur != '0')) { /* non-digit char */
4483 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
1 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
4484 0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 1 if (read_inf_or_nan(sign, &cur, pre, val)) {
1 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
0 0 if (read_inf_or_nan(sign, &cur, pre, val)) {
4492 0 0 if (likely(!digi_is_digit_or_fp(*++cur))) return_0();
0 0 if (likely(!digi_is_digit_or_fp(*++cur))) return_0();
7 0 if (likely(!digi_is_digit_or_fp(*++cur))) return_0();
2 2 if (likely(!digi_is_digit_or_fp(*++cur))) return_0();
21 2 if (likely(!digi_is_digit_or_fp(*++cur))) return_0();
0 3 if (likely(!digi_is_digit_or_fp(*++cur))) return_0();
4493 0 0 if (likely(*cur == '.')) {
0 0 if (likely(*cur == '.')) {
0 0 if (likely(*cur == '.')) {
2 0 if (likely(*cur == '.')) {
2 0 if (likely(*cur == '.')) {
3 0 if (likely(*cur == '.')) {
4495 0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 2 if (unlikely(!digi_is_digit(*cur))) {
0 2 if (unlikely(!digi_is_digit(*cur))) {
0 3 if (unlikely(!digi_is_digit(*cur))) {
4498 0 0 while (unlikely(*cur == '0')) cur++;
0 0 while (unlikely(*cur == '0')) cur++;
0 0 while (unlikely(*cur == '0')) cur++;
0 2 while (unlikely(*cur == '0')) cur++;
0 2 while (unlikely(*cur == '0')) cur++;
0 3 while (unlikely(*cur == '0')) cur++;
4499 0 0 if (likely(digi_is_digit(*cur))) {
0 0 if (likely(digi_is_digit(*cur))) {
0 0 if (likely(digi_is_digit(*cur))) {
2 0 if (likely(digi_is_digit(*cur))) {
2 0 if (likely(digi_is_digit(*cur))) {
3 0 if (likely(digi_is_digit(*cur))) {
4506 0 0 if (unlikely(digi_is_digit(*cur))) {
0 0 if (unlikely(digi_is_digit(*cur))) {
0 0 if (unlikely(digi_is_digit(*cur))) {
0 0 if (unlikely(digi_is_digit(*cur))) {
0 0 if (unlikely(digi_is_digit(*cur))) {
0 0 if (unlikely(digi_is_digit(*cur))) {
4509 0 0 if (unlikely(digi_is_exp(*cur))) { /* 0 with any exponent is still 0 */
0 0 if (unlikely(digi_is_exp(*cur))) { /* 0 with any exponent is still 0 */
0 0 if (unlikely(digi_is_exp(*cur))) { /* 0 with any exponent is still 0 */
0 0 if (unlikely(digi_is_exp(*cur))) { /* 0 with any exponent is still 0 */
0 0 if (unlikely(digi_is_exp(*cur))) { /* 0 with any exponent is still 0 */
0 0 if (unlikely(digi_is_exp(*cur))) { /* 0 with any exponent is still 0 */
4511 0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
4514 0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
4534 0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 18 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
19 48 repeat_in_1_18(expr_intg)
12 7 repeat_in_1_18(expr_intg)
10 2 repeat_in_1_18(expr_intg)
2 8 repeat_in_1_18(expr_intg)
2 0 repeat_in_1_18(expr_intg)
2 0 repeat_in_1_18(expr_intg)
2 0 repeat_in_1_18(expr_intg)
2 0 repeat_in_1_18(expr_intg)
2 0 repeat_in_1_18(expr_intg)
0 2 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
10 103 repeat_in_1_18(expr_intg)
4 6 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
13275 331 repeat_in_1_18(expr_intg)
12385 890 repeat_in_1_18(expr_intg)
4749 7636 repeat_in_1_18(expr_intg)
5 4744 repeat_in_1_18(expr_intg)
4 1 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
4 0 repeat_in_1_18(expr_intg)
0 4 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
4 1 repeat_in_1_18(expr_intg)
0 4 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
0 0 repeat_in_1_18(expr_intg)
4539 0 0 if (!digi_is_digit_or_fp(*cur)) {
0 0 if (!digi_is_digit_or_fp(*cur)) {
0 0 if (!digi_is_digit_or_fp(*cur)) {
3 1 if (!digi_is_digit_or_fp(*cur)) {
0 0 if (!digi_is_digit_or_fp(*cur)) {
0 0 if (!digi_is_digit_or_fp(*cur)) {
4541 0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
1 2 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 1 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
0 0 if (sign && (sig > ((u64)1 << 63))) { /* overflow */
4542 0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
4543 0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
4545 0 0 return_i64(sig);
0 0 return_i64(sig);
0 0 return_i64(sig);
1 2 return_i64(sig);
0 0 return_i64(sig);
0 0 return_i64(sig);
4557 0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
18 0 repeat_in_1_18(expr_sepr)
0 18 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
48 0 repeat_in_1_18(expr_sepr)
0 48 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
7 0 repeat_in_1_18(expr_sepr)
0 7 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
2 0 repeat_in_1_18(expr_sepr)
0 2 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
8 0 repeat_in_1_18(expr_sepr)
0 8 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
2 0 repeat_in_1_18(expr_sepr)
0 2 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
91 12 repeat_in_1_18(expr_sepr)
0 91 repeat_in_1_18(expr_sepr)
10 2 repeat_in_1_18(expr_sepr)
0 6 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
6 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
281 50 repeat_in_1_18(expr_sepr)
0 281 repeat_in_1_18(expr_sepr)
50 0 repeat_in_1_18(expr_sepr)
410 480 repeat_in_1_18(expr_sepr)
0 410 repeat_in_1_18(expr_sepr)
480 0 repeat_in_1_18(expr_sepr)
2836 4800 repeat_in_1_18(expr_sepr)
0 2836 repeat_in_1_18(expr_sepr)
4800 0 repeat_in_1_18(expr_sepr)
4072 672 repeat_in_1_18(expr_sepr)
0 4072 repeat_in_1_18(expr_sepr)
672 0 repeat_in_1_18(expr_sepr)
1 0 repeat_in_1_18(expr_sepr)
0 1 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
4 0 repeat_in_1_18(expr_sepr)
0 4 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
1 0 repeat_in_1_18(expr_sepr)
1 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
4 0 repeat_in_1_18(expr_sepr)
0 4 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
0 0 repeat_in_1_18(expr_sepr)
4567 0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
10 2 repeat_in_1_18(expr_frac)
12 4 repeat_in_1_18(expr_frac)
8 4 repeat_in_1_18(expr_frac)
6 2 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
6 0 repeat_in_1_18(expr_frac)
4 2 repeat_in_1_18(expr_frac)
4 0 repeat_in_1_18(expr_frac)
0 4 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
50 2 repeat_in_1_18(expr_frac)
480 50 repeat_in_1_18(expr_frac)
4800 480 repeat_in_1_18(expr_frac)
672 4800 repeat_in_1_18(expr_frac)
0 672 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 3 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
0 0 repeat_in_1_18(expr_frac)
4571 0 0 if (!digi_is_digit(*cur)) goto digi_frac_end; /* fraction part end */
0 0 if (!digi_is_digit(*cur)) goto digi_frac_end; /* fraction part end */
0 0 if (!digi_is_digit(*cur)) goto digi_frac_end; /* fraction part end */
0 0 if (!digi_is_digit(*cur)) goto digi_frac_end; /* fraction part end */
0 0 if (!digi_is_digit(*cur)) goto digi_frac_end; /* fraction part end */
0 0 if (!digi_is_digit(*cur)) goto digi_frac_end; /* fraction part end */
4586 0 0 if (digi_is_digit(*cur)) {
0 0 if (digi_is_digit(*cur)) {
0 0 if (digi_is_digit(*cur)) {
1 0 if (digi_is_digit(*cur)) {
0 0 if (digi_is_digit(*cur)) {
0 0 if (digi_is_digit(*cur)) {
4587 0 0 if (!digi_is_digit_or_fp(cur[1])) {
0 0 if (!digi_is_digit_or_fp(cur[1])) {
0 0 if (!digi_is_digit_or_fp(cur[1])) {
1 0 if (!digi_is_digit_or_fp(cur[1])) {
0 0 if (!digi_is_digit_or_fp(cur[1])) {
0 0 if (!digi_is_digit_or_fp(cur[1])) {
4590 0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
1 0 if ((sig < (U64_MAX / 10)) ||
1 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
0 0 if ((sig < (U64_MAX / 10)) ||
4591 0 0 (sig == (U64_MAX / 10) && num <= (U64_MAX % 10))) {
0 0 (sig == (U64_MAX / 10) && num <= (U64_MAX % 10))) {
0 0 (sig == (U64_MAX / 10) && num <= (U64_MAX % 10))) {
1 0 (sig == (U64_MAX / 10) && num <= (U64_MAX % 10))) {
0 0 (sig == (U64_MAX / 10) && num <= (U64_MAX % 10))) {
0 0 (sig == (U64_MAX / 10) && num <= (U64_MAX % 10))) {
4595 0 0 if (sign) {
0 0 if (sign) {
0 0 if (sign) {
0 1 if (sign) {
0 0 if (sign) {
0 0 if (sign) {
4596 0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
0 0 if (has_read_flag(BIGNUM_AS_RAW)) return_raw();
4597 0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
0 0 return_f64(normalized_u64_to_f64(sig));
4599 0 0 return_i64(sig);
0 0 return_i64(sig);
0 0 return_i64(sig);
0 1 return_i64(sig);
0 0 return_i64(sig);
0 0 return_i64(sig);
4604 0 0 if (digi_is_exp(*cur)) {
0 0 if (digi_is_exp(*cur)) {
0 0 if (digi_is_exp(*cur)) {
0 0 if (digi_is_exp(*cur)) {
0 0 if (digi_is_exp(*cur)) {
0 0 if (digi_is_exp(*cur)) {
4609 0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
4611 0 0 if (!digi_is_digit(*cur)) {
0 0 if (!digi_is_digit(*cur)) {
0 0 if (!digi_is_digit(*cur)) {
0 0 if (!digi_is_digit(*cur)) {
0 0 if (!digi_is_digit(*cur)) {
0 0 if (!digi_is_digit(*cur)) {
4621 0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
0 0 while (digi_is_digit(*++cur));
4622 0 0 if (!dot_pos) {
0 0 if (!dot_pos) {
0 0 if (!dot_pos) {
0 0 if (!dot_pos) {
0 0 if (!dot_pos) {
0 0 if (!dot_pos) {
4623 0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
0 0 if (!digi_is_fp(*cur) && has_read_flag(BIGNUM_AS_RAW)) {
4624 0 0 return_raw(); /* it's a large integer */
0 0 return_raw(); /* it's a large integer */
0 0 return_raw(); /* it's a large integer */
0 0 return_raw(); /* it's a large integer */
0 0 return_raw(); /* it's a large integer */
0 0 return_raw(); /* it's a large integer */
4627 0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
0 0 if (*cur == '.') {
4628 0 0 if (!digi_is_digit(*++cur)) {
0 0 if (!digi_is_digit(*++cur)) {
0 0 if (!digi_is_digit(*++cur)) {
0 0 if (!digi_is_digit(*++cur)) {
0 0 if (!digi_is_digit(*++cur)) {
0 0 if (!digi_is_digit(*++cur)) {
4631 0 0 while (digi_is_digit(*cur)) cur++;
0 0 while (digi_is_digit(*cur)) cur++;
0 0 while (digi_is_digit(*cur)) cur++;
0 0 while (digi_is_digit(*cur)) cur++;
0 0 while (digi_is_digit(*cur)) cur++;
0 0 while (digi_is_digit(*cur)) cur++;
4639 0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
0 0 while (*tmp == '0' || *tmp == '.') tmp--;
4640 0 0 if (tmp < sig_cut) {
0 0 if (tmp < sig_cut) {
0 0 if (tmp < sig_cut) {
0 0 if (tmp < sig_cut) {
0 0 if (tmp < sig_cut) {
0 0 if (tmp < sig_cut) {
4646 0 0 if (digi_is_exp(*cur)) goto digi_exp_more;
0 0 if (digi_is_exp(*cur)) goto digi_exp_more;
0 0 if (digi_is_exp(*cur)) goto digi_exp_more;
0 0 if (digi_is_exp(*cur)) goto digi_exp_more;
0 0 if (digi_is_exp(*cur)) goto digi_exp_more;
0 0 if (digi_is_exp(*cur)) goto digi_exp_more;
4652 0 0 if (unlikely(dot_pos + 1 == cur)) {
0 0 if (unlikely(dot_pos + 1 == cur)) {
0 0 if (unlikely(dot_pos + 1 == cur)) {
0 18 if (unlikely(dot_pos + 1 == cur)) {
0 6004 if (unlikely(dot_pos + 1 == cur)) {
0 3 if (unlikely(dot_pos + 1 == cur)) {
4657 0 0 if (likely(!digi_is_exp(*cur))) {
0 0 if (likely(!digi_is_exp(*cur))) {
0 0 if (likely(!digi_is_exp(*cur))) {
14 4 if (likely(!digi_is_exp(*cur))) {
6004 0 if (likely(!digi_is_exp(*cur))) {
3 0 if (likely(!digi_is_exp(*cur))) {
4658 0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 14 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 6004 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 3 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
4672 0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 6 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
0 0 if (unlikely(!digi_is_digit(*cur))) {
4675 0 0 while (*cur == '0') cur++;
0 0 while (*cur == '0') cur++;
0 0 while (*cur == '0') cur++;
0 6 while (*cur == '0') cur++;
0 0 while (*cur == '0') cur++;
0 0 while (*cur == '0') cur++;
4679 0 0 while (digi_is_digit(*cur)) {
0 0 while (digi_is_digit(*cur)) {
0 0 while (digi_is_digit(*cur)) {
18 6 while (digi_is_digit(*cur)) {
0 0 while (digi_is_digit(*cur)) {
0 0 while (digi_is_digit(*cur)) {
4682 0 0 if (unlikely(cur - tmp >= U64_SAFE_DIG)) {
0 0 if (unlikely(cur - tmp >= U64_SAFE_DIG)) {
0 0 if (unlikely(cur - tmp >= U64_SAFE_DIG)) {
0 6 if (unlikely(cur - tmp >= U64_SAFE_DIG)) {
0 0 if (unlikely(cur - tmp >= U64_SAFE_DIG)) {
0 0 if (unlikely(cur - tmp >= U64_SAFE_DIG)) {
4683 0 0 if (exp_sign) {
0 0 if (exp_sign) {
0 0 if (exp_sign) {
0 0 if (exp_sign) {
0 0 if (exp_sign) {
0 0 if (exp_sign) {
4686 0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
4689 0 0 exp_sig += exp_sign ? -exp_lit : exp_lit;
0 0 exp_sig += exp_sign ? -exp_lit : exp_lit;
0 0 exp_sig += exp_sign ? -exp_lit : exp_lit;
4 2 exp_sig += exp_sign ? -exp_lit : exp_lit;
0 0 exp_sig += exp_sign ? -exp_lit : exp_lit;
0 0 exp_sig += exp_sign ? -exp_lit : exp_lit;
4694 0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 6 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
0 0 if (unlikely(exp_sig < F64_MIN_DEC_EXP - 19)) {
4697 0 0 if (unlikely(exp_sig > F64_MAX_DEC_EXP)) {
0 0 if (unlikely(exp_sig > F64_MAX_DEC_EXP)) {
0 0 if (unlikely(exp_sig > F64_MAX_DEC_EXP)) {
0 6 if (unlikely(exp_sig > F64_MAX_DEC_EXP)) {
0 0 if (unlikely(exp_sig > F64_MAX_DEC_EXP)) {
0 0 if (unlikely(exp_sig > F64_MAX_DEC_EXP)) {
4698 0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
0 0 return_inf(); /* overflow */
4719 0 0 if (sig < ((u64)1 << 53) &&
0 0 if (sig < ((u64)1 << 53) &&
0 0 if (sig < ((u64)1 << 53) &&
16 4 if (sig < ((u64)1 << 53) &&
6004 0 if (sig < ((u64)1 << 53) &&
3 0 if (sig < ((u64)1 << 53) &&
4720 0 0 exp >= -F64_POW10_EXP_MAX_EXACT &&
0 0 exp >= -F64_POW10_EXP_MAX_EXACT &&
0 0 exp >= -F64_POW10_EXP_MAX_EXACT &&
14 2 exp >= -F64_POW10_EXP_MAX_EXACT &&
6004 0 exp >= -F64_POW10_EXP_MAX_EXACT &&
3 0 exp >= -F64_POW10_EXP_MAX_EXACT &&
4721 0 0 exp <= +F64_POW10_EXP_MAX_EXACT) {
0 0 exp <= +F64_POW10_EXP_MAX_EXACT) {
0 0 exp <= +F64_POW10_EXP_MAX_EXACT) {
14 0 exp <= +F64_POW10_EXP_MAX_EXACT) {
6004 0 exp <= +F64_POW10_EXP_MAX_EXACT) {
3 0 exp <= +F64_POW10_EXP_MAX_EXACT) {
4723 0 0 if (exp < 0) {
0 0 if (exp < 0) {
0 0 if (exp < 0) {
14 0 if (exp < 0) {
6004 0 if (exp < 0) {
3 0 if (exp < 0) {
4728 0 0 return_f64(dbl);
0 0 return_f64(dbl);
0 0 return_f64(dbl);
0 14 return_f64(dbl);
0 6004 return_f64(dbl);
0 3 return_f64(dbl);
4738 0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
6 0 if (likely(!sig_cut &&
4 2 if (likely(!sig_cut &&
4 2 if (likely(!sig_cut &&
2 2 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
0 0 if (likely(!sig_cut &&
4812 0 0 if (bits - 1 < (((u64)1 << (64 - 54 - 1)) - 2)) {
0 0 if (bits - 1 < (((u64)1 << (64 - 54 - 1)) - 2)) {
0 0 if (bits - 1 < (((u64)1 << (64 - 54 - 1)) - 2)) {
2 0 if (bits - 1 < (((u64)1 << (64 - 54 - 1)) - 2)) {
0 0 if (bits - 1 < (((u64)1 << (64 - 54 - 1)) - 2)) {
0 0 if (bits - 1 < (((u64)1 << (64 - 54 - 1)) - 2)) {
4830 0 0 if (add + 1 > (u64)1) {
0 0 if (add + 1 > (u64)1) {
0 0 if (add + 1 > (u64)1) {
0 0 if (add + 1 > (u64)1) {
0 0 if (add + 1 > (u64)1) {
0 0 if (add + 1 > (u64)1) {
4838 0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
0 0 carry = add < lo || add < hi2;
4844 0 0 if (exact) {
0 0 if (exact) {
0 0 if (exact) {
2 0 if (exact) {
0 0 if (exact) {
0 0 if (exact) {
4853 0 0 hi += (round_up ? ((u64)1 << (64 - 54)) : (u64)0);
0 0 hi += (round_up ? ((u64)1 << (64 - 54)) : (u64)0);
0 0 hi += (round_up ? ((u64)1 << (64 - 54)) : (u64)0);
2 0 hi += (round_up ? ((u64)1 << (64 - 54)) : (u64)0);
0 0 hi += (round_up ? ((u64)1 << (64 - 54)) : (u64)0);
0 0 hi += (round_up ? ((u64)1 << (64 - 54)) : (u64)0);
4856 0 0 if (hi < ((u64)1 << (64 - 54))) {
0 0 if (hi < ((u64)1 << (64 - 54))) {
0 0 if (hi < ((u64)1 << (64 - 54))) {
0 2 if (hi < ((u64)1 << (64 - 54))) {
0 0 if (hi < ((u64)1 << (64 - 54))) {
0 0 if (hi < ((u64)1 << (64 - 54))) {
4902 0 0 fp_err = sig_cut ? (u64)(ERR_ULP / 2) : (u64)0;
0 0 fp_err = sig_cut ? (u64)(ERR_ULP / 2) : (u64)0;
0 0 fp_err = sig_cut ? (u64)(ERR_ULP / 2) : (u64)0;
0 4 fp_err = sig_cut ? (u64)(ERR_ULP / 2) : (u64)0;
0 0 fp_err = sig_cut ? (u64)(ERR_ULP / 2) : (u64)0;
0 0 fp_err = sig_cut ? (u64)(ERR_ULP / 2) : (u64)0;
4922 0 0 if (likely(order_of_magnitude >= EXP_SUBNORMAL + F64_SIG_FULL_BITS)) {
0 0 if (likely(order_of_magnitude >= EXP_SUBNORMAL + F64_SIG_FULL_BITS)) {
0 0 if (likely(order_of_magnitude >= EXP_SUBNORMAL + F64_SIG_FULL_BITS)) {
4 0 if (likely(order_of_magnitude >= EXP_SUBNORMAL + F64_SIG_FULL_BITS)) {
0 0 if (likely(order_of_magnitude >= EXP_SUBNORMAL + F64_SIG_FULL_BITS)) {
0 0 if (likely(order_of_magnitude >= EXP_SUBNORMAL + F64_SIG_FULL_BITS)) {
4924 0 0 } else if (order_of_magnitude <= EXP_SUBNORMAL) {
0 0 } else if (order_of_magnitude <= EXP_SUBNORMAL) {
0 0 } else if (order_of_magnitude <= EXP_SUBNORMAL) {
0 0 } else if (order_of_magnitude <= EXP_SUBNORMAL) {
0 0 } else if (order_of_magnitude <= EXP_SUBNORMAL) {
0 0 } else if (order_of_magnitude <= EXP_SUBNORMAL) {
4932 0 0 if (unlikely(precision_digits_count + ERR_ULP_LOG >= DIY_SIG_BITS)) {
0 0 if (unlikely(precision_digits_count + ERR_ULP_LOG >= DIY_SIG_BITS)) {
0 0 if (unlikely(precision_digits_count + ERR_ULP_LOG >= DIY_SIG_BITS)) {
0 4 if (unlikely(precision_digits_count + ERR_ULP_LOG >= DIY_SIG_BITS)) {
0 0 if (unlikely(precision_digits_count + ERR_ULP_LOG >= DIY_SIG_BITS)) {
0 0 if (unlikely(precision_digits_count + ERR_ULP_LOG >= DIY_SIG_BITS)) {
4949 0 0 fp.exp += precision_digits_count;
0 0 fp.exp += precision_digits_count;
0 0 fp.exp += precision_digits_count;
0 4 fp.exp += precision_digits_count;
0 0 fp.exp += precision_digits_count;
0 0 fp.exp += precision_digits_count;
4953 0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 4 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
4954 0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
2 2 if (likely(precision_bits <= half_way - fp_err ||
2 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
0 0 if (likely(precision_bits <= half_way - fp_err ||
4961 0 0 if (raw & F64_EXP_MASK) {
0 0 if (raw & F64_EXP_MASK) {
0 0 if (raw & F64_EXP_MASK) {
0 0 if (raw & F64_EXP_MASK) {
0 0 if (raw & F64_EXP_MASK) {
0 0 if (raw & F64_EXP_MASK) {
4976 0 0 if (exp >= 0) {
0 0 if (exp >= 0) {
0 0 if (exp >= 0) {
0 0 if (exp >= 0) {
0 0 if (exp >= 0) {
0 0 if (exp >= 0) {
4981 0 0 if (fp_upper.exp > 0) {
0 0 if (fp_upper.exp > 0) {
0 0 if (fp_upper.exp > 0) {
0 0 if (fp_upper.exp > 0) {
0 0 if (fp_upper.exp > 0) {
0 0 if (fp_upper.exp > 0) {
4982 0 0 bigint_mul_pow2(&big_comp, (u32)+fp_upper.exp);
0 0 bigint_mul_pow2(&big_comp, (u32)+fp_upper.exp);
0 0 bigint_mul_pow2(&big_comp, (u32)+fp_upper.exp);
0 0 bigint_mul_pow2(&big_comp, (u32)+fp_upper.exp);
0 0 bigint_mul_pow2(&big_comp, (u32)+fp_upper.exp);
0 0 bigint_mul_pow2(&big_comp, (u32)+fp_upper.exp);
4984 0 0 bigint_mul_pow2(&big_full, (u32)-fp_upper.exp);
0 0 bigint_mul_pow2(&big_full, (u32)-fp_upper.exp);
0 0 bigint_mul_pow2(&big_full, (u32)-fp_upper.exp);
0 0 bigint_mul_pow2(&big_full, (u32)-fp_upper.exp);
0 0 bigint_mul_pow2(&big_full, (u32)-fp_upper.exp);
0 0 bigint_mul_pow2(&big_full, (u32)-fp_upper.exp);
4987 0 0 if (likely(cmp != 0)) {
0 0 if (likely(cmp != 0)) {
0 0 if (likely(cmp != 0)) {
0 0 if (likely(cmp != 0)) {
0 0 if (likely(cmp != 0)) {
0 0 if (likely(cmp != 0)) {
4995 0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
0 0 if (unlikely(raw == F64_RAW_INF)) return_inf();
5389 0 26 repeat16_incr(expr_jump)
10 16 repeat16_incr(expr_jump)
0 16 repeat16_incr(expr_jump)
4 12 repeat16_incr(expr_jump)
1 11 repeat16_incr(expr_jump)
4 7 repeat16_incr(expr_jump)
0 7 repeat16_incr(expr_jump)
2 5 repeat16_incr(expr_jump)
0 5 repeat16_incr(expr_jump)
1 4 repeat16_incr(expr_jump)
0 4 repeat16_incr(expr_jump)
1 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
1 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
0 197 repeat16_incr(expr_jump)
24 173 repeat16_incr(expr_jump)
15 158 repeat16_incr(expr_jump)
12 146 repeat16_incr(expr_jump)
54 92 repeat16_incr(expr_jump)
32 60 repeat16_incr(expr_jump)
27 33 repeat16_incr(expr_jump)
16 17 repeat16_incr(expr_jump)
11 6 repeat16_incr(expr_jump)
2 4 repeat16_incr(expr_jump)
2 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
1 63 repeat16_incr(expr_jump)
1 62 repeat16_incr(expr_jump)
6 56 repeat16_incr(expr_jump)
13 43 repeat16_incr(expr_jump)
9 34 repeat16_incr(expr_jump)
11 23 repeat16_incr(expr_jump)
7 16 repeat16_incr(expr_jump)
2 14 repeat16_incr(expr_jump)
1 13 repeat16_incr(expr_jump)
0 13 repeat16_incr(expr_jump)
2 11 repeat16_incr(expr_jump)
2 9 repeat16_incr(expr_jump)
2 7 repeat16_incr(expr_jump)
3 4 repeat16_incr(expr_jump)
0 4 repeat16_incr(expr_jump)
0 4 repeat16_incr(expr_jump)
0 14041 repeat16_incr(expr_jump)
12 14029 repeat16_incr(expr_jump)
0 14029 repeat16_incr(expr_jump)
4 14025 repeat16_incr(expr_jump)
5 14020 repeat16_incr(expr_jump)
24 13996 repeat16_incr(expr_jump)
180 13816 repeat16_incr(expr_jump)
1804 12012 repeat16_incr(expr_jump)
83 11929 repeat16_incr(expr_jump)
1622 10307 repeat16_incr(expr_jump)
10118 189 repeat16_incr(expr_jump)
182 7 repeat16_incr(expr_jump)
1 6 repeat16_incr(expr_jump)
2 4 repeat16_incr(expr_jump)
0 4 repeat16_incr(expr_jump)
0 4 repeat16_incr(expr_jump)
8 27097 repeat16_incr(expr_jump)
190 26907 repeat16_incr(expr_jump)
9171 17736 repeat16_incr(expr_jump)
209 17527 repeat16_incr(expr_jump)
12917 4610 repeat16_incr(expr_jump)
2230 2380 repeat16_incr(expr_jump)
159 2221 repeat16_incr(expr_jump)
2152 69 repeat16_incr(expr_jump)
30 39 repeat16_incr(expr_jump)
20 19 repeat16_incr(expr_jump)
6 13 repeat16_incr(expr_jump)
6 7 repeat16_incr(expr_jump)
2 5 repeat16_incr(expr_jump)
0 5 repeat16_incr(expr_jump)
0 5 repeat16_incr(expr_jump)
1 4 repeat16_incr(expr_jump)
6 11189 repeat16_incr(expr_jump)
14 11175 repeat16_incr(expr_jump)
11 11164 repeat16_incr(expr_jump)
23 11141 repeat16_incr(expr_jump)
2030 9111 repeat16_incr(expr_jump)
133 8978 repeat16_incr(expr_jump)
921 8057 repeat16_incr(expr_jump)
4013 4044 repeat16_incr(expr_jump)
21 4023 repeat16_incr(expr_jump)
180 3843 repeat16_incr(expr_jump)
1806 2037 repeat16_incr(expr_jump)
7 2030 repeat16_incr(expr_jump)
6 2024 repeat16_incr(expr_jump)
9 2015 repeat16_incr(expr_jump)
1 2014 repeat16_incr(expr_jump)
0 2014 repeat16_incr(expr_jump)
14 6255 repeat16_incr(expr_jump)
1 6254 repeat16_incr(expr_jump)
2 6252 repeat16_incr(expr_jump)
0 6252 repeat16_incr(expr_jump)
0 6252 repeat16_incr(expr_jump)
1 6251 repeat16_incr(expr_jump)
1 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
5420 0 0 if (*src & 0x80) { /* non-ASCII character */
0 0 if (*src & 0x80) { /* non-ASCII character */
0 0 if (*src & 0x80) { /* non-ASCII character */
0 0 if (*src & 0x80) { /* non-ASCII character */
4 2 if (*src & 0x80) { /* non-ASCII character */
3 2 if (*src & 0x80) { /* non-ASCII character */
3 8 if (*src & 0x80) { /* non-ASCII character */
5445 0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
2 4 while (is_valid_seq_3(uni)) {
2 0 while (is_valid_seq_3(uni)) {
2 0 while (is_valid_seq_3(uni)) {
0 3 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
3 3 while (is_valid_seq_3(uni)) {
3 0 while (is_valid_seq_3(uni)) {
3 0 while (is_valid_seq_3(uni)) {
5449 0 0 if (is_valid_seq_1(uni)) goto skip_ascii;
0 0 if (is_valid_seq_1(uni)) goto skip_ascii;
0 0 if (is_valid_seq_1(uni)) goto skip_ascii;
0 0 if (is_valid_seq_1(uni)) goto skip_ascii;
2 2 if (is_valid_seq_1(uni)) goto skip_ascii;
0 3 if (is_valid_seq_1(uni)) goto skip_ascii;
1 2 if (is_valid_seq_1(uni)) goto skip_ascii;
5450 0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
2 2 while (is_valid_seq_2(uni)) {
2 0 while (is_valid_seq_2(uni)) {
2 3 while (is_valid_seq_2(uni)) {
2 0 while (is_valid_seq_2(uni)) {
1 2 while (is_valid_seq_2(uni)) {
1 0 while (is_valid_seq_2(uni)) {
5454 0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 2 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
1 3 while (is_valid_seq_4(uni)) {
1 0 while (is_valid_seq_4(uni)) {
1 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
1 2 while (is_valid_seq_4(uni)) {
1 0 while (is_valid_seq_4(uni)) {
1 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
5459 0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 2 if (unlikely(pos == src)) {
0 3 if (unlikely(pos == src)) {
0 2 if (unlikely(pos == src)) {
5460 0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
5469 0 0 if (likely(*src == '\\')) {
0 0 if (likely(*src == '\\')) {
0 0 if (likely(*src == '\\')) {
0 0 if (likely(*src == '\\')) {
2 2 if (likely(*src == '\\')) {
8 2 if (likely(*src == '\\')) {
17 8 if (likely(*src == '\\')) {
5480 0 0 if (unlikely(!read_hex_u16(++src, &hi))) {
0 0 if (unlikely(!read_hex_u16(++src, &hi))) {
0 0 if (unlikely(!read_hex_u16(++src, &hi))) {
0 0 if (unlikely(!read_hex_u16(++src, &hi))) {
0 0 if (unlikely(!read_hex_u16(++src, &hi))) {
0 0 if (unlikely(!read_hex_u16(++src, &hi))) {
0 9 if (unlikely(!read_hex_u16(++src, &hi))) {
5484 0 0 if (likely((hi & 0xF800) != 0xD800)) {
0 0 if (likely((hi & 0xF800) != 0xD800)) {
0 0 if (likely((hi & 0xF800) != 0xD800)) {
0 0 if (likely((hi & 0xF800) != 0xD800)) {
0 0 if (likely((hi & 0xF800) != 0xD800)) {
0 0 if (likely((hi & 0xF800) != 0xD800)) {
7 2 if (likely((hi & 0xF800) != 0xD800)) {
5486 0 0 if (hi >= 0x800) {
0 0 if (hi >= 0x800) {
0 0 if (hi >= 0x800) {
0 0 if (hi >= 0x800) {
0 0 if (hi >= 0x800) {
0 0 if (hi >= 0x800) {
0 7 if (hi >= 0x800) {
5490 0 0 } else if (hi >= 0x80) {
0 0 } else if (hi >= 0x80) {
0 0 } else if (hi >= 0x80) {
0 0 } else if (hi >= 0x80) {
0 0 } else if (hi >= 0x80) {
0 0 } else if (hi >= 0x80) {
2 5 } else if (hi >= 0x80) {
5498 0 0 if (unlikely((hi & 0xFC00) != 0xD800)) {
0 0 if (unlikely((hi & 0xFC00) != 0xD800)) {
0 0 if (unlikely((hi & 0xFC00) != 0xD800)) {
0 0 if (unlikely((hi & 0xFC00) != 0xD800)) {
0 0 if (unlikely((hi & 0xFC00) != 0xD800)) {
0 0 if (unlikely((hi & 0xFC00) != 0xD800)) {
0 2 if (unlikely((hi & 0xFC00) != 0xD800)) {
5501 0 0 if (unlikely(!byte_match_2(src, "\\u"))) {
0 0 if (unlikely(!byte_match_2(src, "\\u"))) {
0 0 if (unlikely(!byte_match_2(src, "\\u"))) {
0 0 if (unlikely(!byte_match_2(src, "\\u"))) {
0 0 if (unlikely(!byte_match_2(src, "\\u"))) {
0 0 if (unlikely(!byte_match_2(src, "\\u"))) {
0 2 if (unlikely(!byte_match_2(src, "\\u"))) {
5504 0 0 if (unlikely(!read_hex_u16(src + 2, &lo))) {
0 0 if (unlikely(!read_hex_u16(src + 2, &lo))) {
0 0 if (unlikely(!read_hex_u16(src + 2, &lo))) {
0 0 if (unlikely(!read_hex_u16(src + 2, &lo))) {
0 0 if (unlikely(!read_hex_u16(src + 2, &lo))) {
0 0 if (unlikely(!read_hex_u16(src + 2, &lo))) {
0 2 if (unlikely(!read_hex_u16(src + 2, &lo))) {
5507 0 0 if (unlikely((lo & 0xFC00) != 0xDC00)) {
0 0 if (unlikely((lo & 0xFC00) != 0xDC00)) {
0 0 if (unlikely((lo & 0xFC00) != 0xDC00)) {
0 0 if (unlikely((lo & 0xFC00) != 0xDC00)) {
0 0 if (unlikely((lo & 0xFC00) != 0xDC00)) {
0 0 if (unlikely((lo & 0xFC00) != 0xDC00)) {
0 2 if (unlikely((lo & 0xFC00) != 0xDC00)) {
5521 0 0 } else if (likely(*src == '"')) {
0 0 } else if (likely(*src == '"')) {
0 0 } else if (likely(*src == '"')) {
0 0 } else if (likely(*src == '"')) {
2 0 } else if (likely(*src == '"')) {
2 0 } else if (likely(*src == '"')) {
8 0 } else if (likely(*src == '"')) {
5528 0 0 if (!inv) return_err(src, "unexpected control character in string");
0 0 if (!inv) return_err(src, "unexpected control character in string");
0 0 if (!inv) return_err(src, "unexpected control character in string");
0 0 if (!inv) return_err(src, "unexpected control character in string");
0 0 if (!inv) return_err(src, "unexpected control character in string");
0 0 if (!inv) return_err(src, "unexpected control character in string");
0 0 if (!inv) return_err(src, "unexpected control character in string");
5529 0 0 if (src >= lst) return_err(src, "unclosed string");
0 0 if (src >= lst) return_err(src, "unclosed string");
0 0 if (src >= lst) return_err(src, "unclosed string");
0 0 if (src >= lst) return_err(src, "unclosed string");
0 0 if (src >= lst) return_err(src, "unclosed string");
0 0 if (src >= lst) return_err(src, "unclosed string");
0 0 if (src >= lst) return_err(src, "unclosed string");
5551 0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 2 repeat16_incr(expr_jump)
2 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
1 10 repeat16_incr(expr_jump)
2 8 repeat16_incr(expr_jump)
2 6 repeat16_incr(expr_jump)
0 6 repeat16_incr(expr_jump)
0 6 repeat16_incr(expr_jump)
1 5 repeat16_incr(expr_jump)
0 5 repeat16_incr(expr_jump)
1 4 repeat16_incr(expr_jump)
0 4 repeat16_incr(expr_jump)
1 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
0 3 repeat16_incr(expr_jump)
14 3 repeat16_incr(expr_jump)
2 1 repeat16_incr(expr_jump)
0 1 repeat16_incr(expr_jump)
0 1 repeat16_incr(expr_jump)
0 1 repeat16_incr(expr_jump)
1 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
5652 0 0 if (*src & 0x80) { /* non-ASCII character */
0 0 if (*src & 0x80) { /* non-ASCII character */
0 0 if (*src & 0x80) { /* non-ASCII character */
0 0 if (*src & 0x80) { /* non-ASCII character */
0 2 if (*src & 0x80) { /* non-ASCII character */
0 8 if (*src & 0x80) { /* non-ASCII character */
0 17 if (*src & 0x80) { /* non-ASCII character */
5682 0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
0 0 while (is_valid_seq_3(uni)) {
5688 0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
0 0 if (is_valid_seq_1(uni)) goto copy_ascii;
5689 0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
0 0 while (is_valid_seq_2(uni)) {
5695 0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
0 0 while (is_valid_seq_4(uni)) {
5702 0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
0 0 if (unlikely(pos == src)) {
5703 0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
0 0 if (!inv) return_err(src, "invalid UTF-8 encoding in string");
5766 0 33 if (unlikely(!val_hdr)) goto fail_alloc;
5768 33 0 raw = has_read_flag(NUMBER_AS_RAW) || has_read_flag(BIGNUM_AS_RAW);
0 33 raw = has_read_flag(NUMBER_AS_RAW) || has_read_flag(BIGNUM_AS_RAW);
5771 0 33 pre = raw ? &raw_end : NULL;
5773 8 25 if (char_is_number(*cur)) {
5774 8 0 if (likely(read_number(&cur, pre, flg, val, &msg))) goto doc_end;
5777 16 9 if (*cur == '"') {
5778 16 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto doc_end;
5781 2 7 if (*cur == 't') {
5782 2 0 if (likely(read_true(&cur, val))) goto doc_end;
5785 2 5 if (*cur == 'f') {
5786 2 0 if (likely(read_false(&cur, val))) goto doc_end;
5789 3 2 if (*cur == 'n') {
5790 2 1 if (likely(read_null(&cur, val))) goto doc_end;
5791 0 1 if (has_read_flag(ALLOW_INF_AND_NAN)) {
5792 0 0 if (read_nan(false, &cur, pre, val)) goto doc_end;
5796 0 2 if (has_read_flag(ALLOW_INF_AND_NAN)) {
5797 0 0 if (read_inf_or_nan(false, &cur, pre, val)) goto doc_end;
5803 0 30 if (unlikely(cur < end) && !has_read_flag(STOP_WHEN_DONE)) {
0 0 if (unlikely(cur < end) && !has_read_flag(STOP_WHEN_DONE)) {
5804 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
5805 0 0 if (!skip_spaces_and_comments(&cur)) {
5806 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
5809 0 0 while (char_is_space(*cur)) cur++;
5811 0 0 if (unlikely(cur < end)) goto fail_garbage;
5814 0 30 if (pre && *pre) **pre = '\0';
0 0 if (pre && *pre) **pre = '\0';
5820 30 0 doc->str_pool = has_read_flag(INSITU) ? NULL : (char *)hdr;
5824 0 0 return_err(cur, INVALID_STRING, msg);
0 0 return_err(cur, INVALID_STRING, msg);
5826 0 0 return_err(cur, INVALID_NUMBER, msg);
0 0 return_err(cur, INVALID_NUMBER, msg);
5828 0 0 return_err(cur, MEMORY_ALLOCATION,
0 0 return_err(cur, MEMORY_ALLOCATION,
5831 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
5834 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
5837 0 1 return_err(cur, LITERAL,
1 0 return_err(cur, LITERAL,
5840 0 2 return_err(cur, UNEXPECTED_CHARACTER,
2 0 return_err(cur, UNEXPECTED_CHARACTER,
5843 0 0 return_err(cur, INVALID_COMMENT,
0 0 return_err(cur, INVALID_COMMENT,
5846 0 0 return_err(cur, UNEXPECTED_CONTENT,
0 0 return_err(cur, UNEXPECTED_CONTENT,
5910 6212 0 dat_len = has_read_flag(STOP_WHEN_DONE) ? 256 : (usize)(end - cur);
5918 0 6212 if (unlikely(!val_hdr)) goto fail_alloc;
5923 6212 0 raw = has_read_flag(NUMBER_AS_RAW) || has_read_flag(BIGNUM_AS_RAW);
0 6212 raw = has_read_flag(NUMBER_AS_RAW) || has_read_flag(BIGNUM_AS_RAW);
5926 0 6212 pre = raw ? &raw_end : NULL;
5928 6167 45 if (*cur++ == '{') {
5944 14 3480 val_incr();
0 14 val_incr();
5953 1165 15534 if (*cur == '{') {
5957 1323 14211 if (*cur == '[') {
5961 118 14093 if (char_is_number(*cur)) {
5962 15 103 val_incr();
0 15 val_incr();
5964 118 0 if (likely(read_number(&cur, pre, flg, val, &msg))) goto arr_val_end;
5967 14037 56 if (*cur == '"') {
5968 2 14035 val_incr();
0 2 val_incr();
5970 14037 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto arr_val_end;
5973 3 53 if (*cur == 't') {
5974 0 3 val_incr();
0 0 val_incr();
5976 3 0 if (likely(read_true(&cur, val))) goto arr_val_end;
5979 2 51 if (*cur == 'f') {
5980 0 2 val_incr();
0 0 val_incr();
5982 2 0 if (likely(read_false(&cur, val))) goto arr_val_end;
5985 7 44 if (*cur == 'n') {
5986 0 7 val_incr();
0 0 val_incr();
5988 7 0 if (likely(read_null(&cur, val))) goto arr_val_end;
5989 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
5990 0 0 if (read_nan(false, &cur, pre, val)) goto arr_val_end;
5994 25 19 if (*cur == ']') {
5996 24 1 if (likely(ctn_len == 0)) goto arr_end;
5997 1 0 if (has_read_flag(ALLOW_TRAILING_COMMAS)) goto arr_end;
5998 0 0 while (*cur != ',') cur--;
6001 17 2 if (char_is_space(*cur)) {
6002 0 17 while (char_is_space(*++cur));
6005 2 0 if (has_read_flag(ALLOW_INF_AND_NAN) &&
6006 2 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
1 1 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
1 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
6007 0 2 val_incr();
0 0 val_incr();
6008 1 1 ctn_len++;
6009 2 0 if (read_inf_or_nan(false, &cur, pre, val)) goto arr_val_end;
6012 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6013 0 0 if (skip_spaces_and_comments(&cur)) goto arr_val_begin;
6014 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6019 13143 3515 if (*cur == ',') {
6023 3514 1 if (*cur == ']') {
6027 1 0 if (char_is_space(*cur)) {
6028 0 1 while (char_is_space(*++cur));
6031 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6032 0 0 if (skip_spaces_and_comments(&cur)) goto arr_val_end;
6033 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6044 45 3494 if (unlikely(ctn == ctn_parent)) goto doc_end;
6049 2171 1323 if ((ctn->tag & YYJSON_TYPE_MASK) == YYJSON_TYPE_OBJ) {
6059 5 3258 val_incr();
0 5 val_incr();
6067 27097 13 if (likely(*cur == '"')) {
6068 28 27069 val_incr();
0 28 val_incr();
6070 27097 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto obj_key_end;
6073 13 0 if (likely(*cur == '}')) {
6075 11 2 if (likely(ctn_len == 0)) goto obj_end;
6076 1 1 if (has_read_flag(ALLOW_TRAILING_COMMAS)) goto obj_end;
6077 2 1 while (*cur != ',') cur--;
6080 0 0 if (char_is_space(*cur)) {
6081 0 0 while (char_is_space(*++cur));
6084 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6085 0 0 if (skip_spaces_and_comments(&cur)) goto obj_key_begin;
6086 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6091 27097 0 if (*cur == ':') {
6095 0 0 if (char_is_space(*cur)) {
6096 0 0 while (char_is_space(*++cur));
6099 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6100 0 0 if (skip_spaces_and_comments(&cur)) goto obj_key_end;
6101 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6106 9178 17919 if (*cur == '"') {
6109 9178 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto obj_val_end;
6112 13629 4290 if (char_is_number(*cur)) {
6115 13629 0 if (likely(read_number(&cur, pre, flg, val, &msg))) goto obj_val_end;
6118 2098 2192 if (*cur == '{') {
6122 2171 21 if (*cur == '[') {
6126 5 16 if (*cur == 't') {
6129 5 0 if (likely(read_true(&cur, val))) goto obj_val_end;
6132 5 11 if (*cur == 'f') {
6135 5 0 if (likely(read_false(&cur, val))) goto obj_val_end;
6138 10 1 if (*cur == 'n') {
6141 10 0 if (likely(read_null(&cur, val))) goto obj_val_end;
6142 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
6143 0 0 if (read_nan(false, &cur, pre, val)) goto obj_val_end;
6147 0 1 if (char_is_space(*cur)) {
6148 0 0 while (char_is_space(*++cur));
6151 0 1 if (has_read_flag(ALLOW_INF_AND_NAN) &&
6152 0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
6154 0 0 ctn_len++;
6155 0 0 if (read_inf_or_nan(false, &cur, pre, val)) goto obj_val_end;
6158 0 1 if (has_read_flag(ALLOW_COMMENTS)) {
6159 0 0 if (skip_spaces_and_comments(&cur)) goto obj_val_begin;
6160 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6165 17680 9416 if (likely(*cur == ',')) {
6169 9415 1 if (likely(*cur == '}')) {
6173 0 1 if (char_is_space(*cur)) {
6174 0 0 while (char_is_space(*++cur));
6177 0 1 if (has_read_flag(ALLOW_COMMENTS)) {
6178 0 0 if (skip_spaces_and_comments(&cur)) goto obj_val_end;
6179 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6189 6164 3263 if (unlikely(ctn == ctn_parent)) goto doc_end;
6192 2098 1165 if ((ctn->tag & YYJSON_TYPE_MASK) == YYJSON_TYPE_OBJ) {
6200 2 6207 if (unlikely(cur < end) && !has_read_flag(STOP_WHEN_DONE)) {
2 0 if (unlikely(cur < end) && !has_read_flag(STOP_WHEN_DONE)) {
6201 0 2 if (has_read_flag(ALLOW_COMMENTS)) {
6203 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6205 7 2 while (char_is_space(*cur)) cur++;
6207 0 2 if (unlikely(cur < end)) goto fail_garbage;
6210 0 6209 if (pre && *pre) **pre = '\0';
0 0 if (pre && *pre) **pre = '\0';
6216 6209 0 doc->str_pool = has_read_flag(INSITU) ? NULL : (char *)hdr;
6220 0 0 return_err(cur, INVALID_STRING, msg);
0 0 return_err(cur, INVALID_STRING, msg);
6222 0 0 return_err(cur, INVALID_NUMBER, msg);
0 0 return_err(cur, INVALID_NUMBER, msg);
6224 0 0 return_err(cur, MEMORY_ALLOCATION,
0 0 return_err(cur, MEMORY_ALLOCATION,
6227 0 1 return_err(cur, JSON_STRUCTURE,
1 0 return_err(cur, JSON_STRUCTURE,
6230 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
6233 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
6236 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
6239 0 1 return_err(cur, UNEXPECTED_CHARACTER,
1 0 return_err(cur, UNEXPECTED_CHARACTER,
6242 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6245 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6248 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6251 1 0 return_err(cur, UNEXPECTED_CHARACTER,
1 0 return_err(cur, UNEXPECTED_CHARACTER,
6254 0 0 return_err(cur, INVALID_COMMENT,
0 0 return_err(cur, INVALID_COMMENT,
6257 0 0 return_err(cur, UNEXPECTED_CONTENT,
0 0 return_err(cur, UNEXPECTED_CONTENT,
6322 29 0 dat_len = has_read_flag(STOP_WHEN_DONE) ? 256 : (usize)(end - cur);
6330 0 29 if (unlikely(!val_hdr)) goto fail_alloc;
6335 29 0 raw = has_read_flag(NUMBER_AS_RAW) || has_read_flag(BIGNUM_AS_RAW);
0 29 raw = has_read_flag(NUMBER_AS_RAW) || has_read_flag(BIGNUM_AS_RAW);
6338 0 29 pre = raw ? &raw_end : NULL;
6340 19 10 if (*cur++ == '{') {
6343 19 0 if (*cur == '\n') cur++;
6348 10 0 if (*cur == '\n') cur++;
6358 4 16 val_incr();
0 4 val_incr();
6365 5 15 if (*cur == '\n') cur++;
6369 62 10 while (true) repeat16({
55 7 while (true) repeat16({
34 21 while (true) repeat16({
19 15 while (true) repeat16({
6 13 while (true) repeat16({
2 4 while (true) repeat16({
2 0 while (true) repeat16({
2 0 while (true) repeat16({
0 2 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
6380 24 48 if (*cur == '{') {
6384 4 44 if (*cur == '[') {
6388 18 26 if (char_is_number(*cur)) {
6389 2 16 val_incr();
0 2 val_incr();
6391 18 0 if (likely(read_number(&cur, pre, flg, val, &msg))) goto arr_val_end;
6394 24 2 if (*cur == '"') {
6395 6 18 val_incr();
0 6 val_incr();
6397 24 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto arr_val_end;
6400 0 2 if (*cur == 't') {
6401 0 0 val_incr();
0 0 val_incr();
6403 0 0 if (likely(read_true(&cur, val))) goto arr_val_end;
6406 0 2 if (*cur == 'f') {
6407 0 0 val_incr();
0 0 val_incr();
6409 0 0 if (likely(read_false(&cur, val))) goto arr_val_end;
6412 0 2 if (*cur == 'n') {
6413 0 0 val_incr();
0 0 val_incr();
6415 0 0 if (likely(read_null(&cur, val))) goto arr_val_end;
6416 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
6417 0 0 if (read_nan(false, &cur, pre, val)) goto arr_val_end;
6421 2 0 if (*cur == ']') {
6423 2 0 if (likely(ctn_len == 0)) goto arr_end;
6424 0 0 if (has_read_flag(ALLOW_TRAILING_COMMAS)) goto arr_end;
6425 0 0 while (*cur != ',') cur--;
6428 0 0 if (char_is_space(*cur)) {
6429 0 0 while (char_is_space(*++cur));
6432 0 0 if (has_read_flag(ALLOW_INF_AND_NAN) &&
6433 0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
6434 0 0 val_incr();
0 0 val_incr();
6435 0 0 ctn_len++;
6436 0 0 if (read_inf_or_nan(false, &cur, pre, val)) goto arr_val_end;
6439 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6440 0 0 if (skip_spaces_and_comments(&cur)) goto arr_val_begin;
6441 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6446 37 53 if (byte_match_2(cur, ",\n")) {
6450 5 48 if (*cur == ',') {
6454 28 20 if (*cur == ']') {
6458 20 0 if (char_is_space(*cur)) {
6459 75 20 while (char_is_space(*++cur));
6462 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6463 0 0 if (skip_spaces_and_comments(&cur)) goto arr_val_end;
6464 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6475 10 20 if (unlikely(ctn == ctn_parent)) goto doc_end;
6480 13 7 if (*cur == '\n') cur++;
6481 16 4 if ((ctn->tag & YYJSON_TYPE_MASK) == YYJSON_TYPE_OBJ) {
6491 3 61 val_incr();
0 3 val_incr();
6497 20 44 if (*cur == '\n') cur++;
6501 149 48 while (true) repeat16({
114 35 while (true) repeat16({
83 31 while (true) repeat16({
68 15 while (true) repeat16({
25 43 while (true) repeat16({
9 16 while (true) repeat16({
2 7 while (true) repeat16({
0 2 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
0 0 while (true) repeat16({
6511 195 2 if (likely(*cur == '"')) {
6512 10 185 val_incr();
0 10 val_incr();
6514 195 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto obj_key_end;
6517 1 1 if (likely(*cur == '}')) {
6519 0 1 if (likely(ctn_len == 0)) goto obj_end;
6520 1 0 if (has_read_flag(ALLOW_TRAILING_COMMAS)) goto obj_end;
6521 0 0 while (*cur != ',') cur--;
6524 0 1 if (char_is_space(*cur)) {
6525 0 0 while (char_is_space(*++cur));
6528 1 0 if (has_read_flag(ALLOW_COMMENTS)) {
6529 1 0 if (skip_spaces_and_comments(&cur)) goto obj_key_begin;
6530 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6535 133 72 if (byte_match_2(cur, ": ")) {
6539 62 10 if (*cur == ':') {
6543 10 0 if (char_is_space(*cur)) {
6544 1 10 while (char_is_space(*++cur));
6547 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6548 0 0 if (skip_spaces_and_comments(&cur)) goto obj_key_end;
6549 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6554 60 136 if (*cur == '"') {
6557 60 0 if (likely(read_string(&cur, end, inv, val, &msg))) goto obj_val_end;
6560 74 62 if (char_is_number(*cur)) {
6563 74 0 if (likely(read_number(&cur, pre, flg, val, &msg))) goto obj_val_end;
6566 40 22 if (*cur == '{') {
6570 16 6 if (*cur == '[') {
6574 3 3 if (*cur == 't') {
6577 3 0 if (likely(read_true(&cur, val))) goto obj_val_end;
6580 1 2 if (*cur == 'f') {
6583 1 0 if (likely(read_false(&cur, val))) goto obj_val_end;
6586 1 1 if (*cur == 'n') {
6589 1 0 if (likely(read_null(&cur, val))) goto obj_val_end;
6590 0 0 if (has_read_flag(ALLOW_INF_AND_NAN)) {
6591 0 0 if (read_nan(false, &cur, pre, val)) goto obj_val_end;
6595 1 0 if (char_is_space(*cur)) {
6596 1 1 while (char_is_space(*++cur));
6599 0 0 if (has_read_flag(ALLOW_INF_AND_NAN) &&
6600 0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
0 0 (*cur == 'i' || *cur == 'I' || *cur == 'N')) {
6602 0 0 ctn_len++;
6603 0 0 if (read_inf_or_nan(false, &cur, pre, val)) goto obj_val_end;
6606 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6607 0 0 if (skip_spaces_and_comments(&cur)) goto obj_val_begin;
6608 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6613 87 164 if (byte_match_2(cur, ",\n")) {
6617 26 138 if (likely(*cur == ',')) {
6621 82 56 if (likely(*cur == '}')) {
6625 56 0 if (char_is_space(*cur)) {
6626 216 56 while (char_is_space(*++cur));
6629 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6630 0 0 if (skip_spaces_and_comments(&cur)) goto obj_val_end;
6631 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6641 19 64 if (unlikely(ctn == ctn_parent)) goto doc_end;
6644 17 47 if (*cur == '\n') cur++;
6645 40 24 if ((ctn->tag & YYJSON_TYPE_MASK) == YYJSON_TYPE_OBJ) {
6653 0 29 if (unlikely(cur < end) && !has_read_flag(STOP_WHEN_DONE)) {
0 0 if (unlikely(cur < end) && !has_read_flag(STOP_WHEN_DONE)) {
6654 0 0 if (has_read_flag(ALLOW_COMMENTS)) {
6656 0 0 if (byte_match_2(cur, "/*")) goto fail_comment;
6658 0 0 while (char_is_space(*cur)) cur++;
6660 0 0 if (unlikely(cur < end)) goto fail_garbage;
6663 0 29 if (pre && *pre) **pre = '\0';
0 0 if (pre && *pre) **pre = '\0';
6669 29 0 doc->str_pool = has_read_flag(INSITU) ? NULL : (char *)hdr;
6673 0 0 return_err(cur, INVALID_STRING, msg);
0 0 return_err(cur, INVALID_STRING, msg);
6675 0 0 return_err(cur, INVALID_NUMBER, msg);
0 0 return_err(cur, INVALID_NUMBER, msg);
6677 0 0 return_err(cur, MEMORY_ALLOCATION,
0 0 return_err(cur, MEMORY_ALLOCATION,
6680 0 0 return_err(cur, JSON_STRUCTURE,
0 0 return_err(cur, JSON_STRUCTURE,
6683 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
6686 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
6689 0 0 return_err(cur, LITERAL,
0 0 return_err(cur, LITERAL,
6692 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6695 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6698 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6701 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6704 0 0 return_err(cur, UNEXPECTED_CHARACTER,
0 0 return_err(cur, UNEXPECTED_CHARACTER,
6707 0 0 return_err(cur, INVALID_COMMENT,
0 0 return_err(cur, INVALID_COMMENT,
6710 0 0 return_err(cur, UNEXPECTED_CONTENT,
0 0 return_err(cur, UNEXPECTED_CONTENT,
6743 0 6274 if (!err) err = &dummy_err;
6744 6041 233 if (likely(!alc_ptr)) {
6749 0 6274 if (unlikely(!dat)) {
6750 0 0 return_err(0, INVALID_PARAMETER, "input data is NULL");
0 0 return_err(0, INVALID_PARAMETER, "input data is NULL");
6752 0 6274 if (unlikely(!len)) {
6753 0 0 return_err(0, INVALID_PARAMETER, "input length is 0");
0 0 return_err(0, INVALID_PARAMETER, "input length is 0");
6757 0 6274 if (has_read_flag(INSITU)) {
6762 0 6274 if (unlikely(len >= USIZE_MAX - YYJSON_PADDING_SIZE)) {
6763 0 0 return_err(0, MEMORY_ALLOCATION, "memory allocation failed");
0 0 return_err(0, MEMORY_ALLOCATION, "memory allocation failed");
6766 0 6274 if (unlikely(!hdr)) {
6767 0 0 return_err(0, MEMORY_ALLOCATION, "memory allocation failed");
0 0 return_err(0, MEMORY_ALLOCATION, "memory allocation failed");
6776 5 6269 if (unlikely(char_is_space_or_comment(*cur))) {
6777 2 3 if (has_read_flag(ALLOW_COMMENTS)) {
6778 0 2 if (!skip_spaces_and_comments(&cur)) {
6779 0 0 return_err(cur - hdr, INVALID_COMMENT,
0 0 return_err(cur - hdr, INVALID_COMMENT,
6783 2 1 if (likely(char_is_space(*cur))) {
6784 9 2 while (char_is_space(*++cur));
6787 0 5 if (unlikely(cur >= end)) {
6788 0 0 return_err(0, EMPTY_CONTENT, "input data is empty");
0 0 return_err(0, EMPTY_CONTENT, "input data is empty");
6793 6241 33 if (likely(char_is_container(*cur))) {
6794 30 6211 if (char_is_space(cur[1]) && char_is_space(cur[2])) {
29 1 if (char_is_space(cur[1]) && char_is_space(cur[2])) {
6804 6268 6 if (likely(doc)) {
6808 3 3 if (err->pos == 0 && err->code != YYJSON_READ_ERROR_MEMORY_ALLOCATION) {
3 0 if (err->pos == 0 && err->code != YYJSON_READ_ERROR_MEMORY_ALLOCATION) {
6809 0 3 if ((hdr[0] == 0xEF && hdr[1] == 0xBB && hdr[2] == 0xBF)) {
0 0 if ((hdr[0] == 0xEF && hdr[1] == 0xBB && hdr[2] == 0xBF)) {
0 0 if ((hdr[0] == 0xEF && hdr[1] == 0xBB && hdr[2] == 0xBF)) {
6811 2 1 } else if (len >= 4 &&
6812 0 2 ((hdr[0] == 0x00 && hdr[1] == 0x00 &&
0 0 ((hdr[0] == 0x00 && hdr[1] == 0x00 &&
6813 0 0 hdr[2] == 0xFE && hdr[3] == 0xFF) ||
0 0 hdr[2] == 0xFE && hdr[3] == 0xFF) ||
6814 0 2 (hdr[0] == 0xFF && hdr[1] == 0xFE &&
0 0 (hdr[0] == 0xFF && hdr[1] == 0xFE &&
6815 0 0 hdr[2] == 0x00 && hdr[3] == 0x00))) {
0 0 hdr[2] == 0x00 && hdr[3] == 0x00))) {
6817 3 0 } else if (len >= 2 &&
6818 0 3 ((hdr[0] == 0xFE && hdr[1] == 0xFF) ||
0 0 ((hdr[0] == 0xFE && hdr[1] == 0xFF) ||
6819 0 3 (hdr[0] == 0xFF && hdr[1] == 0xFE))) {
0 0 (hdr[0] == 0xFF && hdr[1] == 0xFE))) {
6823 6 0 if (!has_read_flag(INSITU)) alc.free(alc.ctx, (void *)hdr);
6845 0 0 if (!err) err = &dummy_err;
6846 0 0 if (unlikely(!path)) return_err(INVALID_PARAMETER, "input path is NULL");
6849 0 0 if (unlikely(!file)) return_err(FILE_OPEN, "file opening failed");
6871 0 0 yyjson_alc alc = alc_ptr ? *alc_ptr : YYJSON_DEFAULT_ALC;
6879 0 0 if (!err) err = &dummy_err;
6880 0 0 if (unlikely(!file)) return_err(INVALID_PARAMETER, "input file is NULL");
0 0 if (unlikely(!file)) return_err(INVALID_PARAMETER, "input file is NULL");
6884 0 0 if (file_pos != -1) {
6886 0 0 if (fseek(file, 0, SEEK_END) == 0) file_size = ftell(file);
6888 0 0 if (fseek(file, file_pos, SEEK_SET) != 0) file_size = 0;
6890 0 0 if (file_size > 0) file_size -= file_pos;
6894 0 0 if (file_size > 0) {
6898 0 0 if (buf == NULL) {
6899 0 0 return_err(MEMORY_ALLOCATION, "fail to alloc memory");
6901 0 0 if (fread_safe(buf, (usize)file_size, file) != (usize)file_size) {
6902 0 0 return_err(FILE_READ, "file reading failed");
6914 0 0 if (buf_size + chunk_now < buf_size) { /* overflow */
6915 0 0 return_err(MEMORY_ALLOCATION, "fail to alloc memory");
6918 0 0 if (!buf) {
6920 0 0 if (!buf) return_err(MEMORY_ALLOCATION, "fail to alloc memory");
0 0 if (!buf) return_err(MEMORY_ALLOCATION, "fail to alloc memory");
6923 0 0 if (!tmp) return_err(MEMORY_ALLOCATION, "fail to alloc memory");
0 0 if (!tmp) return_err(MEMORY_ALLOCATION, "fail to alloc memory");
6929 0 0 if (read_size != chunk_now) break;
6932 0 0 if (chunk_now > chunk_max) chunk_now = chunk_max;
6940 0 0 if (doc) {
6975 0 0 if (!err) err = &dummy_err;
6976 0 0 if (unlikely(!dat)) {
6977 0 0 return_err(cur, INVALID_PARAMETER, "input data is NULL");
6979 0 0 if (unlikely(!val)) {
6980 0 0 return_err(cur, INVALID_PARAMETER, "output value is NULL");
7003 0 0 pre = raw ? &raw_end : NULL;
7014 0 0 if (!read_number(&cur, pre, flg, val, &msg)) {
7015 0 0 return_err(cur, INVALID_NUMBER, msg);
7104 0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
7 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
4538 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
1106 1 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
0 0 } else if (val < 10000) { /* 3-4 digits: aabb */
7113 0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
1 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
0 0 } else if (val < 1000000) { /* 5-6 digits: aabbcc */
7178 3 0 if (val < 100000000) { /* 1-8 digits */
73 1 if (val < 100000000) { /* 1-8 digits */
1605 6 if (val < 100000000) { /* 1-8 digits */
0 0 if (val < 100000000) { /* 1-8 digits */
0 0 if (val < 100000000) { /* 1-8 digits */
0 0 if (val < 100000000) { /* 1-8 digits */
7179 3 0 buf = write_u32_len_1_8((u32)val, buf);
66 7 buf = write_u32_len_1_8((u32)val, buf);
498 1107 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
7182 0 0 } else if (val < (u64)100000000 * 100000000) { /* 9-16 digits */
1 0 } else if (val < (u64)100000000 * 100000000) { /* 9-16 digits */
4 2 } else if (val < (u64)100000000 * 100000000) { /* 9-16 digits */
0 0 } else if (val < (u64)100000000 * 100000000) { /* 9-16 digits */
0 0 } else if (val < (u64)100000000 * 100000000) { /* 9-16 digits */
0 0 } else if (val < (u64)100000000 * 100000000) { /* 9-16 digits */
7185 0 0 buf = write_u32_len_1_8((u32)hgh, buf);
1 0 buf = write_u32_len_1_8((u32)hgh, buf);
4 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
7194 0 0 buf = write_u64_len_5_8((u32)hgh, buf);
0 0 buf = write_u64_len_5_8((u32)hgh, buf);
0 2 buf = write_u64_len_5_8((u32)hgh, buf);
0 0 buf = write_u64_len_5_8((u32)hgh, buf);
0 0 buf = write_u64_len_5_8((u32)hgh, buf);
0 0 buf = write_u64_len_5_8((u32)hgh, buf);
7229 0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
462 4538 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
7234 0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
7254 0 0 } else if (val >= (u64)100000000){ /* len: 9 to 15 */
0 0 } else if (val >= (u64)100000000){ /* len: 9 to 15 */
0 0 } else if (val >= (u64)100000000){ /* len: 9 to 15 */
0 0 } else if (val >= (u64)100000000){ /* len: 9 to 15 */
0 0 } else if (val >= (u64)100000000){ /* len: 9 to 15 */
0 0 } else if (val >= (u64)100000000){ /* len: 9 to 15 */
7257 0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
0 0 buf = write_u32_len_1_8((u32)hgh, buf);
7261 0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
0 0 buf = write_u32_len_1_8((u32)val, buf);
7287 0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
348 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
0 0 lz = bb < 10 && a == 0;
7292 0 1 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 2 if (ffgghhii) {
1 1009 if (ffgghhii) {
2 1 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
0 0 if (ffgghhii) {
7303 0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
1 0 if (hhii) {
2 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
0 0 if (hhii) {
7310 0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 1 tz = ii ? tz2 : (tz1 + 2);
0 2 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
0 0 tz = ii ? tz2 : (tz1 + 2);
7316 0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
0 0 tz = gg ? tz2 : (tz1 + 2);
7321 0 1 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 2 if (ddee) {
658 351 if (ddee) {
0 1 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
0 0 if (ddee) {
7328 0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
658 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
0 0 tz = ee ? tz2 : (tz1 + 2);
7334 1 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
2 0 tz = cc ? tz2 : (tz1 + tz2);
9 342 tz = cc ? tz2 : (tz1 + tz2);
1 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
0 0 tz = cc ? tz2 : (tz1 + tz2);
7400 1 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
1 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
2 1013 regular_spacing = (sig_raw == 0 && exp_raw > 1);
1 1 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
0 0 regular_spacing = (sig_raw == 0 && exp_raw > 1);
7411 1 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
1 1014 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
0 0 k = (i32)(exp_bin * 315653 - (regular_spacing ? 131237 : 0)) >> 20;
7420 1 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 1 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
1014 1 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
2 1012 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
0 0 pow10lo += (exp10 < POW10_SIG_TABLE_MIN_EXACT_EXP ||
7430 1 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
1015 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
0 0 if (s >= 10) {
7434 1 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
1013 2 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
0 0 if (u_inside != w_inside) {
7445 0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
1 1 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 1 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
0 0 round_up = (vb > mid) || (vb == mid && (s & 1) != 0);
7447 0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 2 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
0 0 *sig_dec = s + ((u_inside != w_inside) ? w_inside : round_up);
7474 0 0 if (has_write_flag(INF_AND_NAN_AS_NULL)) {
0 0 if (has_write_flag(INF_AND_NAN_AS_NULL)) {
0 3 if (has_write_flag(INF_AND_NAN_AS_NULL)) {
0 0 if (has_write_flag(INF_AND_NAN_AS_NULL)) {
0 0 if (has_write_flag(INF_AND_NAN_AS_NULL)) {
0 0 if (has_write_flag(INF_AND_NAN_AS_NULL)) {
7478 0 0 else if (has_write_flag(ALLOW_INF_AND_NAN)) {
0 0 else if (has_write_flag(ALLOW_INF_AND_NAN)) {
3 0 else if (has_write_flag(ALLOW_INF_AND_NAN)) {
0 0 else if (has_write_flag(ALLOW_INF_AND_NAN)) {
0 0 else if (has_write_flag(ALLOW_INF_AND_NAN)) {
0 0 else if (has_write_flag(ALLOW_INF_AND_NAN)) {
7479 0 0 if (sig_raw == 0) {
0 0 if (sig_raw == 0) {
2 1 if (sig_raw == 0) {
0 0 if (sig_raw == 0) {
0 0 if (sig_raw == 0) {
0 0 if (sig_raw == 0) {
7499 0 1 if ((raw << 1) == 0) {
0 0 if ((raw << 1) == 0) {
0 6015 if ((raw << 1) == 0) {
0 0 if ((raw << 1) == 0) {
0 0 if ((raw << 1) == 0) {
0 0 if ((raw << 1) == 0) {
7505 1 0 if (likely(exp_raw != 0)) {
0 0 if (likely(exp_raw != 0)) {
6015 0 if (likely(exp_raw != 0)) {
0 0 if (likely(exp_raw != 0)) {
0 0 if (likely(exp_raw != 0)) {
0 0 if (likely(exp_raw != 0)) {
7511 0 1 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
6011 4 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
6010 1 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
0 0 if (-F64_SIG_BITS <= exp_bin && exp_bin <= 0) {
7512 0 0 if (u64_tz_bits(sig_bin) >= (u32)-exp_bin) {
0 0 if (u64_tz_bits(sig_bin) >= (u32)-exp_bin) {
5000 1010 if (u64_tz_bits(sig_bin) >= (u32)-exp_bin) {
0 0 if (u64_tz_bits(sig_bin) >= (u32)-exp_bin) {
0 0 if (u64_tz_bits(sig_bin) >= (u32)-exp_bin) {
0 0 if (u64_tz_bits(sig_bin) >= (u32)-exp_bin) {
7515 0 0 buf = write_u64_len_1_to_16(sig_dec, buf);
0 0 buf = write_u64_len_1_to_16(sig_dec, buf);
5000 0 buf = write_u64_len_1_to_16(sig_dec, buf);
0 0 buf = write_u64_len_1_to_16(sig_dec, buf);
0 0 buf = write_u64_len_1_to_16(sig_dec, buf);
0 0 buf = write_u64_len_1_to_16(sig_dec, buf);
7533 1 0 if (-6 < dot_pos && dot_pos <= 21) {
1 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
1013 2 if (-6 < dot_pos && dot_pos <= 21) {
1012 1 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
0 0 if (-6 < dot_pos && dot_pos <= 21) {
7535 1 0 if (dot_pos <= 0) {
0 0 if (dot_pos <= 0) {
2 1010 if (dot_pos <= 0) {
0 0 if (dot_pos <= 0) {
0 0 if (dot_pos <= 0) {
0 0 if (dot_pos <= 0) {
7539 0 1 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 2 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
7544 0 1 for (i = 0; i < max; i++) hdr[i] = '0';
0 0 for (i = 0; i < max; i++) hdr[i] = '0';
0 2 for (i = 0; i < max; i++) hdr[i] = '0';
0 0 for (i = 0; i < max; i++) hdr[i] = '0';
0 0 for (i = 0; i < max; i++) hdr[i] = '0';
0 0 for (i = 0; i < max; i++) hdr[i] = '0';
7553 0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
348 662 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
0 0 num_end = write_u64_len_15_to_17_trim(num_hdr, sig_dec);
7554 0 0 for (i = 0; i < dot_pos; i++) hdr[i] = hdr[i + 1];
0 0 for (i = 0; i < dot_pos; i++) hdr[i] = hdr[i + 1];
3278 1010 for (i = 0; i < dot_pos; i++) hdr[i] = hdr[i + 1];
0 0 for (i = 0; i < dot_pos; i++) hdr[i] = hdr[i + 1];
0 0 for (i = 0; i < dot_pos; i++) hdr[i] = hdr[i + 1];
0 0 for (i = 0; i < dot_pos; i++) hdr[i] = hdr[i + 1];
7562 0 0 u8 *end = write_u64_len_15_to_17_trim(buf + 1, sig_dec);
0 0 u8 *end = write_u64_len_15_to_17_trim(buf + 1, sig_dec);
0 3 u8 *end = write_u64_len_15_to_17_trim(buf + 1, sig_dec);
0 0 u8 *end = write_u64_len_15_to_17_trim(buf + 1, sig_dec);
0 0 u8 *end = write_u64_len_15_to_17_trim(buf + 1, sig_dec);
0 0 u8 *end = write_u64_len_15_to_17_trim(buf + 1, sig_dec);
7568 0 0 buf = write_f64_exp(exp_dec, end + 1);
0 0 buf = write_f64_exp(exp_dec, end + 1);
0 3 buf = write_f64_exp(exp_dec, end + 1);
0 0 buf = write_f64_exp(exp_dec, end + 1);
0 0 buf = write_f64_exp(exp_dec, end + 1);
0 0 buf = write_f64_exp(exp_dec, end + 1);
7575 0 0 exp_bin = 1 - F64_EXP_BIAS - F64_SIG_BITS;
0 0 exp_bin = 1 - F64_EXP_BIAS - F64_SIG_BITS;
0 0 exp_bin = 1 - F64_EXP_BIAS - F64_SIG_BITS;
0 0 exp_bin = 1 - F64_EXP_BIAS - F64_SIG_BITS;
0 0 exp_bin = 1 - F64_EXP_BIAS - F64_SIG_BITS;
0 0 exp_bin = 1 - F64_EXP_BIAS - F64_SIG_BITS;
7581 0 0 buf = write_u64_len_1_to_17(sig_dec, buf + 1);
0 0 buf = write_u64_len_1_to_17(sig_dec, buf + 1);
0 0 buf = write_u64_len_1_to_17(sig_dec, buf + 1);
0 0 buf = write_u64_len_1_to_17(sig_dec, buf + 1);
0 0 buf = write_u64_len_1_to_17(sig_dec, buf + 1);
0 0 buf = write_u64_len_1_to_17(sig_dec, buf + 1);
7587 0 0 } while (*buf == '0');
0 0 } while (*buf == '0');
0 0 } while (*buf == '0');
0 0 } while (*buf == '0');
0 0 } while (*buf == '0');
0 0 } while (*buf == '0');
7677 6018 1611 if (val->tag & YYJSON_SUBTYPE_REAL) {
0 0 if (val->tag & YYJSON_SUBTYPE_REAL) {
7678 0 1 u64 raw = val->uni.u64;
0 0 u64 raw = val->uni.u64;
3 6015 u64 raw = val->uni.u64;
0 0 u64 raw = val->uni.u64;
0 0 u64 raw = val->uni.u64;
0 0 u64 raw = val->uni.u64;
7685 1 2 return write_u64(sgn ? neg : pos, cur + sgn);
0 74 return write_u64(sgn ? neg : pos, cur + sgn);
0 1611 return write_u64(sgn ? neg : pos, cur + sgn);
0 0 return write_u64(sgn ? neg : pos, cur + sgn);
0 0 return write_u64(sgn ? neg : pos, cur + sgn);
0 0 return write_u64(sgn ? neg : pos, cur + sgn);
7934 0 26 if (has_write_flag(ESCAPE_UNICODE)) {
0 14 if (has_write_flag(ESCAPE_UNICODE)) {
0 1110 if (has_write_flag(ESCAPE_UNICODE)) {
0 0 if (has_write_flag(ESCAPE_UNICODE)) {
0 0 if (has_write_flag(ESCAPE_UNICODE)) {
0 0 if (has_write_flag(ESCAPE_UNICODE)) {
7935 0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
7941 0 26 if (has_write_flag(ESCAPE_SLASHES)) {
0 14 if (has_write_flag(ESCAPE_SLASHES)) {
0 1110 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
0 0 if (has_write_flag(ESCAPE_SLASHES)) {
7964 0 0 while (str_len >= 16) {
0 0 while (str_len >= 16) {
0 0 while (str_len >= 16) {
0 0 while (str_len >= 16) {
0 0 while (str_len >= 16) {
0 0 while (str_len >= 16) {
7970 0 0 while (str_len >= 4) {
0 0 while (str_len >= 4) {
0 0 while (str_len >= 4) {
0 0 while (str_len >= 4) {
0 0 while (str_len >= 4) {
0 0 while (str_len >= 4) {
7976 0 0 while (str_len) {
0 0 while (str_len) {
0 0 while (str_len) {
0 0 while (str_len) {
0 0 while (str_len) {
0 0 while (str_len) {
8095 6250 18 while (end - src >= 16) {
8 175 while (end - src >= 16) {
2017 34204 while (end - src >= 16) {
0 0 while (end - src >= 16) {
0 0 while (end - src >= 16) {
0 0 while (end - src >= 16) {
8096 0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 6250 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 8 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 2017 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
0 0 repeat16_incr(expr_jump)
8101 16 11 while (end - src >= 4) {
154 175 while (end - src >= 4) {
43823 34201 while (end - src >= 4) {
0 0 while (end - src >= 4) {
0 0 while (end - src >= 4) {
0 0 while (end - src >= 4) {
8102 6 10 repeat4_incr(expr_jump)
0 10 repeat4_incr(expr_jump)
1 9 repeat4_incr(expr_jump)
0 9 repeat4_incr(expr_jump)
0 154 repeat4_incr(expr_jump)
0 154 repeat4_incr(expr_jump)
0 154 repeat4_incr(expr_jump)
0 154 repeat4_incr(expr_jump)
2 43821 repeat4_incr(expr_jump)
0 43821 repeat4_incr(expr_jump)
1 43820 repeat4_incr(expr_jump)
0 43820 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
0 0 repeat4_incr(expr_jump)
8107 6 10 while (end > src) {
222 175 while (end > src) {
50089 34201 while (end > src) {
0 0 while (end > src) {
0 0 while (end > src) {
0 0 while (end > src) {
8108 1 5 expr_jump(0)
0 222 expr_jump(0)
0 50089 expr_jump(0)
0 0 expr_jump(0)
0 0 expr_jump(0)
0 0 expr_jump(0)
8121 10 17 if (unlikely(src + 4 > end)) {
0 0 if (unlikely(src + 4 > end)) {
3 3 if (unlikely(src + 4 > end)) {
0 0 if (unlikely(src + 4 > end)) {
0 0 if (unlikely(src + 4 > end)) {
0 0 if (unlikely(src + 4 > end)) {
8122 3 7 if (end == src) goto copy_end;
0 0 if (end == src) goto copy_end;
2 1 if (end == src) goto copy_end;
0 0 if (end == src) goto copy_end;
0 0 if (end == src) goto copy_end;
0 0 if (end == src) goto copy_end;
8123 0 7 if (end - src < enc_table[*src] / 2) goto err_one;
0 0 if (end - src < enc_table[*src] / 2) goto err_one;
0 1 if (end - src < enc_table[*src] / 2) goto err_one;
0 0 if (end - src < enc_table[*src] / 2) goto err_one;
0 0 if (end - src < enc_table[*src] / 2) goto err_one;
0 0 if (end - src < enc_table[*src] / 2) goto err_one;
8136 1 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
2 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 2 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_cpy;
8153 2 1 if (likely(src + 4 <= end)) {
0 0 if (likely(src + 4 <= end)) {
0 0 if (likely(src + 4 <= end)) {
0 0 if (likely(src + 4 <= end)) {
0 0 if (likely(src + 4 <= end)) {
0 0 if (likely(src + 4 <= end)) {
8155 2 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 2 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
2 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 2 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
8159 1 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
1 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_cpy;
8173 1 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
1 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
1 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
1 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 1 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_cpy;
8197 0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_2(v))) goto err_esc;
8213 0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_3(v))) goto err_esc;
8229 0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
0 0 if (unlikely(!is_valid_seq_4(v))) goto err_esc;
8259 0 0 if (esc) goto err_esc;
0 0 if (esc) goto err_esc;
0 0 if (esc) goto err_esc;
0 0 if (esc) goto err_esc;
0 0 if (esc) goto err_esc;
0 0 if (esc) goto err_esc;
8263 0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
8268 0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
0 0 if (!inv) return NULL;
8308 404 175 while (level-- > 0) {
38 74 while (level-- > 0) {
0 2 while (level-- > 0) {
22 49 while (level-- > 0) {
0 0 while (level-- > 0) {
0 1 while (level-- > 0) {
117 63 while (level-- > 0) {
0 0 while (level-- > 0) {
0 0 while (level-- > 0) {
0 0 while (level-- > 0) {
0 0 while (level-- > 0) {
0 0 while (level-- > 0) {
0 0 while (level-- > 0) {
0 0 while (level-- > 0) {
8318 0 0 if (fwrite(dat, len, 1, fp) != 1) {
8338 0 0 if (file == NULL) {
8339 0 0 return_err(FILE_OPEN, "file opening failed");
8341 0 0 if (fwrite(dat, len, 1, file) != 1) {
8342 0 0 return_err(FILE_WRITE, "file writing failed");
8344 0 0 if (fclose(file) != 0) {
8346 0 0 return_err(FILE_WRITE, "file closing failed");
8416 0 0 incr_len(str_len + end_len);
0 0 incr_len(str_len + end_len);
8424 0 13 incr_len(str_len * 6 + 2 + end_len);
0 0 incr_len(str_len * 6 + 2 + end_len);
8425 13 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 13 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
8429 0 13 if (unlikely(!cur)) goto fail_str;
0 0 if (unlikely(!cur)) goto fail_str;
8434 0 4 incr_len(32 + end_len);
1 3 incr_len(32 + end_len);
0 0 incr_len(32 + end_len);
0 0 incr_len(32 + end_len);
8436 0 4 if (unlikely(!cur)) goto fail_num;
0 0 if (unlikely(!cur)) goto fail_num;
8440 0 2 incr_len(8);
0 0 incr_len(8);
8441 1 1 cur = write_bool(cur, unsafe_yyjson_get_bool(val));
0 0 cur = write_bool(cur, unsafe_yyjson_get_bool(val));
8445 0 1 incr_len(8);
0 0 incr_len(8);
8450 0 2 incr_len(2 + end_len);
0 0 incr_len(2 + end_len);
8456 0 4 incr_len(2 + end_len);
0 0 incr_len(2 + end_len);
8465 0 26 if (newline) *cur++ = '\n';
0 0 if (newline) *cur++ = '\n';
8472 0 0 return_err(MEMORY_ALLOCATION, "memory allocation failed");
0 0 return_err(MEMORY_ALLOCATION, "memory allocation failed");
8474 0 0 return_err(INVALID_VALUE_TYPE, "invalid JSON value type");
0 0 return_err(INVALID_VALUE_TYPE, "invalid JSON value type");
8476 0 0 return_err(NAN_OR_INF, "nan or inf number is not allowed");
0 0 return_err(NAN_OR_INF, "nan or inf number is not allowed");
8478 0 0 return_err(INVALID_STRING, "invalid utf-8 encoding in string");
0 0 return_err(INVALID_STRING, "invalid utf-8 encoding in string");
8544 0 0 if (!hdr) goto fail_alloc;
8559 0 0 if (val_type == YYJSON_TYPE_STR) {
8564 0 0 incr_len(str_len * 6 + 16);
0 0 incr_len(str_len * 6 + 16);
8565 0 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
8569 0 0 if (unlikely(!cur)) goto fail_str;
8571 0 0 *cur++ = is_key ? ':' : ',';
8574 0 0 if (val_type == YYJSON_TYPE_NUM) {
8575 0 0 incr_len(32);
0 0 incr_len(32);
8577 0 0 if (unlikely(!cur)) goto fail_num;
8581 0 0 if ((val_type & (YYJSON_TYPE_ARR & YYJSON_TYPE_OBJ)) ==
8585 0 0 incr_len(16);
0 0 incr_len(16);
8586 0 0 if (unlikely(ctn_len_tmp == 0)) {
8602 0 0 if (val_type == YYJSON_TYPE_BOOL) {
8603 0 0 incr_len(16);
0 0 incr_len(16);
8604 0 0 cur = write_bool(cur, unsafe_yyjson_get_bool(val));
8608 0 0 if (val_type == YYJSON_TYPE_NULL) {
8609 0 0 incr_len(16);
0 0 incr_len(16);
8614 0 0 if (val_type == YYJSON_TYPE_RAW) {
8618 0 0 incr_len(str_len + 2);
0 0 incr_len(str_len + 2);
8628 0 0 if (unlikely(ctn_len == 0)) goto ctn_end;
8635 0 0 if (unlikely((u8 *)ctx >= end)) goto doc_end;
8638 0 0 if (likely(ctn_len > 0)) {
8645 0 0 if (newline) {
8646 0 0 incr_len(2);
0 0 incr_len(2);
8656 0 0 return_err(MEMORY_ALLOCATION, "memory allocation failed");
8658 0 0 return_err(INVALID_VALUE_TYPE, "invalid JSON value type");
8660 0 0 return_err(NAN_OR_INF, "nan or inf number is not allowed");
8662 0 0 return_err(INVALID_STRING, "invalid utf-8 encoding in string");
8722 0 0 usize spaces = has_write_flag(PRETTY_TWO_SPACES) ? 2 : 4;
8729 0 0 if (!hdr) goto fail_alloc;
8746 0 0 if (val_type == YYJSON_TYPE_STR) {
8752 0 0 incr_len(str_len * 6 + 16 + (no_indent ? 0 : level * 4));
0 0 incr_len(str_len * 6 + 16 + (no_indent ? 0 : level * 4));
0 0 incr_len(str_len * 6 + 16 + (no_indent ? 0 : level * 4));
8753 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
8754 0 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
8758 0 0 if (unlikely(!cur)) goto fail_str;
8760 0 0 *cur++ = is_key ? ':' : ',';
8761 0 0 *cur++ = is_key ? ' ' : '\n';
8764 0 0 if (val_type == YYJSON_TYPE_NUM) {
8766 0 0 incr_len(32 + (no_indent ? 0 : level * 4));
0 0 incr_len(32 + (no_indent ? 0 : level * 4));
0 0 incr_len(32 + (no_indent ? 0 : level * 4));
8767 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
8769 0 0 if (unlikely(!cur)) goto fail_num;
8774 0 0 if ((val_type & (YYJSON_TYPE_ARR & YYJSON_TYPE_OBJ)) ==
8779 0 0 if (unlikely(ctn_len_tmp == 0)) {
8781 0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
8782 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
8790 0 0 incr_len(32 + (no_indent ? 0 : level * 4));
0 0 incr_len(32 + (no_indent ? 0 : level * 4));
0 0 incr_len(32 + (no_indent ? 0 : level * 4));
8794 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
8802 0 0 if (val_type == YYJSON_TYPE_BOOL) {
8804 0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
8805 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
8806 0 0 cur = write_bool(cur, unsafe_yyjson_get_bool(val));
8810 0 0 if (val_type == YYJSON_TYPE_NULL) {
8812 0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
8813 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
8818 0 0 if (val_type == YYJSON_TYPE_RAW) {
8822 0 0 incr_len(str_len + 3);
0 0 incr_len(str_len + 3);
8833 0 0 if (unlikely(ctn_len == 0)) goto ctn_end;
8839 0 0 incr_len(level * 4);
0 0 incr_len(level * 4);
8842 0 0 if (unlikely((u8 *)ctx >= end)) goto doc_end;
8847 0 0 if (likely(ctn_len > 0)) {
8854 0 0 if (newline) {
8855 0 0 incr_len(2);
0 0 incr_len(2);
8864 0 0 return_err(MEMORY_ALLOCATION, "memory allocation failed");
8866 0 0 return_err(INVALID_VALUE_TYPE, "invalid JSON value type");
8868 0 0 return_err(NAN_OR_INF, "nan or inf number is not allowed");
8870 0 0 return_err(INVALID_STRING, "invalid utf-8 encoding in string");
8884 0 0 yyjson_alc alc = alc_ptr ? *alc_ptr : YYJSON_DEFAULT_ALC;
8887 0 0 err = err ? err : &dummy_err;
8888 0 0 dat_len = dat_len ? dat_len : &dummy_dat_len;
8890 0 0 if (unlikely(!root)) {
8897 0 0 if (!unsafe_yyjson_is_ctn(root) || unsafe_yyjson_get_len(root) == 0) {
0 0 if (!unsafe_yyjson_is_ctn(root) || unsafe_yyjson_get_len(root) == 0) {
8899 0 0 } else if (flg & (YYJSON_WRITE_PRETTY | YYJSON_WRITE_PRETTY_TWO_SPACES)) {
8911 0 0 yyjson_val *root = doc ? doc->root : NULL;
8926 0 0 alc_ptr = alc_ptr ? alc_ptr : &YYJSON_DEFAULT_ALC;
8927 0 0 err = err ? err : &dummy_err;
8928 0 0 if (unlikely(!path || !*path)) {
0 0 if (unlikely(!path || !*path)) {
8935 0 0 if (unlikely(!dat)) return false;
8952 0 0 alc_ptr = alc_ptr ? alc_ptr : &YYJSON_DEFAULT_ALC;
8953 0 0 err = err ? err : &dummy_err;
8954 0 0 if (unlikely(!fp)) {
8961 0 0 if (unlikely(!dat)) return false;
8972 0 0 yyjson_val *root = doc ? doc->root : NULL;
8981 0 0 yyjson_val *root = doc ? doc->root : NULL;
9017 2210 1150 while (chunk) {
9019 1150 1060 if (chunk == doc->val_pool.chunks) {
9095 0 1110 if (!hdr) goto fail_alloc;
9108 1089 21 val = ctn_obj ? val->next->next : val->next;
9112 34203 13104 if (val_type == YYJSON_TYPE_STR) {
9117 0 34203 incr_len(str_len * 6 + 16);
0 0 incr_len(str_len * 6 + 16);
9118 34203 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 34203 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
9122 0 34203 if (unlikely(!cur)) goto fail_str;
9124 16006 18197 *cur++ = is_key ? ':' : ',';
9127 7629 5475 if (val_type == YYJSON_TYPE_NUM) {
9128 0 7629 incr_len(32);
0 0 incr_len(32);
9130 0 7629 if (unlikely(!cur)) goto fail_num;
9134 5450 25 if ((val_type & (YYJSON_TYPE_ARR & YYJSON_TYPE_OBJ)) ==
9138 0 5450 incr_len(16);
0 0 incr_len(16);
9139 29 5421 if (unlikely(ctn_len_tmp == 0)) {
9153 3254 2167 val = ctn_obj ? val->next->next : val->next;
9157 13 12 if (val_type == YYJSON_TYPE_BOOL) {
9158 0 13 incr_len(16);
0 0 incr_len(16);
9159 7 6 cur = write_bool(cur, unsafe_yyjson_get_bool(val));
9163 12 0 if (val_type == YYJSON_TYPE_NULL) {
9164 0 12 incr_len(16);
0 0 incr_len(16);
9169 0 0 if (val_type == YYJSON_TYPE_RAW) {
9173 0 0 incr_len(str_len + 2);
0 0 incr_len(str_len + 2);
9182 6380 35506 if (unlikely(ctn_len == 0)) goto ctn_end;
9190 1110 5421 if (unlikely((u8 *)ctx >= end)) goto doc_end;
9194 5270 151 if (likely(ctn_len > 0)) {
9201 0 1110 if (newline) {
9202 0 0 incr_len(2);
0 0 incr_len(2);
9213 0 0 return_err(MEMORY_ALLOCATION, "memory allocation failed");
9215 0 0 return_err(INVALID_VALUE_TYPE, "invalid JSON value type");
9217 0 0 return_err(NAN_OR_INF, "nan or inf number is not allowed");
9219 0 0 return_err(INVALID_STRING, "invalid utf-8 encoding in string");
9280 13 1 usize spaces = has_write_flag(PRETTY_TWO_SPACES) ? 2 : 4;
9286 0 14 if (!hdr) goto fail_alloc;
9300 13 1 val = ctn_obj ? val->next->next : val->next;
9305 175 126 if (val_type == YYJSON_TYPE_STR) {
9311 31 144 incr_len(str_len * 6 + 16 + (no_indent ? 0 : level * 4));
0 175 incr_len(str_len * 6 + 16 + (no_indent ? 0 : level * 4));
0 0 incr_len(str_len * 6 + 16 + (no_indent ? 0 : level * 4));
9312 31 144 cur = write_indent(cur, no_indent ? 0 : level, spaces);
9313 175 0 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
0 175 if (likely(cpy) && unsafe_yyjson_get_subtype(val)) {
9317 0 175 if (unlikely(!cur)) goto fail_str;
9319 134 41 *cur++ = is_key ? ':' : ',';
9320 134 41 *cur++ = is_key ? ' ' : '\n';
9323 74 52 if (val_type == YYJSON_TYPE_NUM) {
9325 61 13 incr_len(32 + (no_indent ? 0 : level * 4));
0 74 incr_len(32 + (no_indent ? 0 : level * 4));
0 0 incr_len(32 + (no_indent ? 0 : level * 4));
9326 61 13 cur = write_indent(cur, no_indent ? 0 : level, spaces);
0 74 cur = write_indent(cur, no_indent ? 0 : level, spaces);
9328 0 74 if (unlikely(!cur)) goto fail_num;
9333 51 1 if ((val_type & (YYJSON_TYPE_ARR & YYJSON_TYPE_OBJ)) ==
9338 2 49 if (unlikely(ctn_len_tmp == 0)) {
9340 2 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 2 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
9341 2 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
9349 39 10 incr_len(32 + (no_indent ? 0 : level * 4));
0 49 incr_len(32 + (no_indent ? 0 : level * 4));
0 0 incr_len(32 + (no_indent ? 0 : level * 4));
9353 39 10 cur = write_indent(cur, no_indent ? 0 : level, spaces);
9359 37 12 val = ctn_obj ? val->next->next : val->next;
9363 0 1 if (val_type == YYJSON_TYPE_BOOL) {
9365 0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
9366 0 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
9367 0 0 cur = write_bool(cur, unsafe_yyjson_get_bool(val));
9371 1 0 if (val_type == YYJSON_TYPE_NULL) {
9373 1 0 incr_len(16 + (no_indent ? 0 : level * 4));
0 1 incr_len(16 + (no_indent ? 0 : level * 4));
0 0 incr_len(16 + (no_indent ? 0 : level * 4));
9374 1 0 cur = write_indent(cur, no_indent ? 0 : level, spaces);
9379 0 0 if (val_type == YYJSON_TYPE_RAW) {
9383 0 0 incr_len(str_len + 3);
0 0 incr_len(str_len + 3);
9393 41 211 if (unlikely(ctn_len == 0)) goto ctn_end;
9400 0 63 incr_len(level * 4);
0 0 incr_len(level * 4);
9403 14 49 if (unlikely((u8 *)ctx >= end)) goto doc_end;
9409 27 22 if (likely(ctn_len > 0)) {
9416 0 14 if (newline) {
9417 0 0 incr_len(2);
0 0 incr_len(2);
9427 0 0 return_err(MEMORY_ALLOCATION, "memory allocation failed");
9429 0 0 return_err(INVALID_VALUE_TYPE, "invalid JSON value type");
9431 0 0 return_err(NAN_OR_INF, "nan or inf number is not allowed");
9433 0 0 return_err(INVALID_STRING, "invalid utf-8 encoding in string");
9448 0 1150 yyjson_alc alc = alc_ptr ? *alc_ptr : YYJSON_DEFAULT_ALC;
9451 0 1150 err = err ? err : &dummy_err;
9452 0 1150 dat_len = dat_len ? dat_len : &dummy_dat_len;
9454 0 1150 if (unlikely(!root)) {
9461 1130 20 if (!unsafe_yyjson_is_ctn(root) || unsafe_yyjson_get_len(root) == 0) {
6 1124 if (!unsafe_yyjson_is_ctn(root) || unsafe_yyjson_get_len(root) == 0) {
9463 14 1110 } else if (flg & (YYJSON_WRITE_PRETTY | YYJSON_WRITE_PRETTY_TWO_SPACES)) {
9487 1150 0 if (likely(doc)) {
9509 0 0 alc_ptr = alc_ptr ? alc_ptr : &YYJSON_DEFAULT_ALC;
9510 0 0 err = err ? err : &dummy_err;
9511 0 0 if (unlikely(!path || !*path)) {
0 0 if (unlikely(!path || !*path)) {
9518 0 0 if (unlikely(!dat)) return false;
9535 0 0 alc_ptr = alc_ptr ? alc_ptr : &YYJSON_DEFAULT_ALC;
9536 0 0 err = err ? err : &dummy_err;
9537 0 0 if (unlikely(!fp)) {
9544 0 0 if (unlikely(!dat)) return false;
9555 0 0 yyjson_mut_val *root = doc ? doc->root : NULL;
9564 0 0 yyjson_mut_val *root = doc ? doc->root : NULL;