line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#define FAILUTF8(want) \ |
2
|
|
|
|
|
|
|
parser->bad_beginning = startofutf8string - 1; \ |
3
|
|
|
|
|
|
|
parser->bad_type = json_string; \ |
4
|
|
|
|
|
|
|
parser->bad_byte = parser->end - 1; \ |
5
|
|
|
|
|
|
|
parser->expected = want; \ |
6
|
|
|
|
|
|
|
parser->error = json_error_unexpected_character; \ |
7
|
|
|
|
|
|
|
failbadinput (parser) |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
byte_last_80_bf: |
10
|
|
|
|
|
|
|
|
11
|
4319
|
50
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
case BYTE_80_BF: |
14
|
4215
|
|
|
|
|
|
ADDBYTE; |
15
|
4319
|
|
|
|
|
|
goto string_start; |
16
|
|
|
|
|
|
|
default: |
17
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_80_BF); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
byte_penultimate_80_bf: |
21
|
|
|
|
|
|
|
|
22
|
1376
|
50
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
case BYTE_80_BF: |
25
|
1332
|
|
|
|
|
|
ADDBYTE; |
26
|
1376
|
|
|
|
|
|
goto byte_last_80_bf; |
27
|
|
|
|
|
|
|
default: |
28
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_80_BF); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
byte24_90_bf: |
32
|
|
|
|
|
|
|
|
33
|
78
|
50
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
50
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
case BYTE_90_BF: |
36
|
70
|
|
|
|
|
|
ADDBYTE; |
37
|
78
|
|
|
|
|
|
goto byte_penultimate_80_bf; |
38
|
|
|
|
|
|
|
default: |
39
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_90_BF); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
byte23_80_9f: |
43
|
|
|
|
|
|
|
|
44
|
2
|
50
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
case BYTE_80_9F: |
47
|
2
|
|
|
|
|
|
ADDBYTE; |
48
|
2
|
|
|
|
|
|
goto byte_last_80_bf; |
49
|
|
|
|
|
|
|
default: |
50
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_80_9F); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
byte23_a0_bf: |
54
|
|
|
|
|
|
|
|
55
|
890
|
50
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
case BYTE_A0_BF: |
58
|
890
|
|
|
|
|
|
ADDBYTE; |
59
|
890
|
|
|
|
|
|
goto byte_last_80_bf; |
60
|
|
|
|
|
|
|
default: |
61
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_A0_BF); |
62
|
|
|
|
|
|
|
} |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
byte24_80_bf: |
65
|
|
|
|
|
|
|
|
66
|
0
|
0
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
case BYTE_80_BF: |
69
|
0
|
|
|
|
|
|
ADDBYTE; |
70
|
0
|
|
|
|
|
|
goto byte_penultimate_80_bf; |
71
|
|
|
|
|
|
|
default: |
72
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_80_BF); |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
byte24_80_8f: |
76
|
|
|
|
|
|
|
|
77
|
0
|
0
|
|
|
|
|
switch (NEXTBYTE) { |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
case BYTE_80_8F: |
80
|
0
|
|
|
|
|
|
ADDBYTE; |
81
|
0
|
|
|
|
|
|
goto byte_penultimate_80_bf; |
82
|
|
|
|
|
|
|
default: |
83
|
0
|
|
|
|
|
|
FAILUTF8 (XBYTES_80_8F); |
84
|
|
|
|
|
|
|
} |