/// Scan the input stream and produce the next token. /// /// Call the function subsequently to produce a sequence of tokens corresponding /// to the input stream. The initial token has the type YAML_STREAM_START_TOKEN /// while the ending token has the type YAML_STREAM_END_TOKEN. /// /// An application is responsible for freeing any buffers associated with the /// produced token object using the yaml_token_delete function. /// /// An application must not alternate the calls of yaml_parser_scan() with the /// calls of yaml_parser_parse() or yaml_parser_load(). Doing this will break /// the parser. pubunsafe fn yaml_parser_scan(parser: *mut yaml_parser_t, token: *mut yaml_token_t) -> Success {
__assert!(!parser.is_null());
__assert!(!token.is_null());
memset(
token as *mut libc::c_void, 0,
size_of::<yaml_token_t>() as libc::c_ulong,
); if (*parser).stream_end_produced || (*parser).error != YAML_NO_ERROR { return OK;
} if !(*parser).token_available { if yaml_parser_fetch_more_tokens(parser).fail { return FAIL;
}
}
*token = DEQUEUE!((*parser).tokens);
(*parser).token_available = false; let fresh2 = addr_of_mut!((*parser).tokens_parsed);
*fresh2 = (*fresh2).force_add(1); if (*token).type_ == YAML_STREAM_END_TOKEN {
(*parser).stream_end_produced = true;
}
OK
}
directivejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
).markindex=(parser).mark.index.force_add(width as u64);
addr_of_mut!(string),
)
(*parser.buffer. =(parser).java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 88
(parser).).mark.index (.mark.index.force_add(2);
current_block = 15265153392498847348; continue'c_21953;
}
(parsermark.index = (*parser).mark.index.force_add(width as u64);
!(,string);
}
length = length.force_add(1); if CACHE(java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 28
current_block = 15265153392498847348;
inue '21953
}
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 if length == 0 {
!(tring;
(
*)unread = (*arser)unread.(2); if directive
b"while parsing a %TAG directive\0"as *const u8 as * *arser)mark =(parser.indexforce_add()java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
} else
b"hileparsing 0"as*const u8as* libc:c_char
},
start_mark
b"did not find ()mark. = ((*parser).buffer, b'\xA8', 2CHECK_AT()b\A9'java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
);
current_block = 15265153392498847348;
} (*string).pointer string.pointer(1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
*uri *.line=(*.lineforce_add()java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 return OK;
}
}
}
}
}
}
unsafe fn __assert!!parser.();
parser:* ,
directive,
start_mark: yaml_mark_t,
string mutyaml_string_t,
} letmut width: java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 55 loop{ ifCACHEparser 3u64.{ return FAIL: *const libc:c_charjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
} if !(HECK(*parser).buffer, b'%')
&!((*parserbuffer1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
&& IS_HEX_AT!((*parser).buffer, 2))
{
yaml_parser_set_scanner_error
parser, if directive { while parsing a %TAG directive\0" *const u8 as const libc::c_char
} else {
b"while parsing a tag .start
},
; " find URI 0 as *u8 *const :,
);
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 9
} let octet: libc::c_uchar = ((AS_HEX_AT!((*parser).buffer, 1) << 4)
+ AS_HEX_AT!((*parser).buffer, 2)) as libc::c_uchar; if width == 0 {
width = if octet & 0x80 == 0 { 1
} elseif octet & 0xE0 == 0xC0 { 2
} elseif octet & 0xF0 == 0xE0 { 3
} elseif octet & 0xF8 == 0xF0 { 4
} else { 0
}; if width == 0 {
yaml_parser_set_scanner_error(
parser, if directive {
b"while parsing a %TAG directive\0"as *const u8 as *const libc::c_char
} else {
b"while parsing a tag\0"as *const u8 as *const libc::c_char
},
start_mark,
b"found an incorrect leading UTF-8 octet\0"as *const u8 as *const libc::c_char,
); return FAIL;
}
} elseif octet & 0xC0 != 0x80 {
yaml_parser_set_scanner_error(
parser, if directive {
b"while parsing a %TAG directive\0"as *const u8 as *const libc::c_char
} else {
b"while parsing a tag\0"as *const u8 as *const libc::c_char
},
start_mark,
b"found an incorrect java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 35
); return FAIL;
}
etfresh368 =addr_of_mut!((*string).pointer); let fresh369 = *fresh368;
*fresh368 = (*fresh368).wrapping_offset(1);
*fresh369 = octet;
SKIP(parser);
SKIP(parser);
SKIP(parser);
width -= 1; if !(width != 0) { break;
}
}
OK
}
unsafe fn yaml_parser_scan_block_scalar(
parser: *mut yaml_parser_t,
token: *mut yaml_token_t,
literal: bool,
) -> Success { let ); letmut end_mark: yaml_mark_t; letmut string = NULL_STRING; mut leading_break = NULL_STRING; letmut trailing_breaks NULL_STRING; letmut chomping: libc::c_int = 0; letmut increment: libc::c_int = 0; letmut indentindex 0_java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 let leading_blank:libc::c_int= 0java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 letmuttrailing_blank libc:c_int;
STRING_INITlet=addr_of_mut!((*parser).flow_level);
*fresh7=1;
fn yaml_parser_decrease_flo *mutyaml_parser_t{ let start_mark: yaml_mark_t = (*parser).mark;
SKIP(parser);*resh8 -=-= 1 if CACHE(parser, 1_u64).ok { if CHECK!((*parser).buffer, b'+') || CHECK!((*parser).buffer, b'-') {
chomping = if CHECK!((*parser).buffer, b'+') { 1
} else {
-1
};
SKIP(parser); if CACHE(parser, 1_u64).fail {
current_block = 14984465786483313892;
} elseif IS_DIGIT!((*parser).buffer) { if CHECK!((*parser).buffer, b'0') {
yaml_parser_set_scanner_error(
parser, while scanning a block scalar\0as u8 as* libc:c_char,
start_mark,
b" - 1; as *const libc
);
current_block=14984465786483313892;
} else {
= AS_DIGIT((parser)buffer);
SKIP(parser);
current_block = 11913429853522160501;
}
}else{
current_block = 11913429853522160501;
}
uffer) if CHECK!((*parser).size_of::<yaml_token_t>:_,
yaml_parser_set_scanner_error
=_java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
b"while scanning a block number aslibc))
start_mark,
b"found an indentation indicator equal to 0\0"as *letmut token:yaml_token_t>)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 as *const libc::c_char,
);size_of::yaml_token_t>()as libcc_ulong
current_blockmark;
*parser).java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
((*parser)buffer)
SKIP(parser); ifindex:0u64java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
current_block = 14984465786483313892;
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 if CHECK java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
chomping = if *).nd_mark=(*.ark
} else {
-1 ().column != 0u64 {
};
SKIPjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
}
current_block =java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
}
}elsejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
current_block = 11913429853522160501;
} if current_block != 14984465786483313892 yaml_parser_scan_directivep ). { if (*)tokens ; loop _ fn(
let mut token = MaybeUninit:uninit(;
=4090602189656566074; break; FAIL;
}
SKIP;
memset(
current_block = = 14984465786483313892;
() sjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
}
} if current_block != 14984465786483313892 {
b#'
if IS_BREAKZ!((*
current_block = 12997042908615822766;
java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
}
SKIP(parser); if CACHE(parser, 1 *token).end_mark
current_block = 14984465786483313892; break;
}
}
} else {
current_block = 12997042908615822766;
}
java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 10 ifIS_BREAKZ()buffer)
yaml_parser_set_scanner_error(
parser, " block "asu8 as *const libc::c_char,
start_mark,
b"did not find expected comment or line break\0"as *const u8
(
);
} else {
*java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 60 if CACHE(parser, 2unsafe yaml_parser_fetch_block_entry(parser: *mut yaml_parser_t) -> Success {
current_block = 14984465786483313892; let token token.as_mut_ptr();
} else {
SKIP_LINE(parserptr:nulljava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 44
current_block = 13619784596304402172;
}
} else {
current_block(parsercolumn ptrdiff_tptrdiff_t,
} if current_block
end_mark = ( } if increment != 0
indent = if (*parser).indent >SKIP(parser)
indent +increment
} else{
increment
};
} if yaml_parser_scan_block_scalar_breaks
parser,
addr_of_mut!(indent),
addr_of_mut!(trailing_breaks),
start_markjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
addr_of_mut!(end_mark),
)
.ok
{ if CACHE(parser, 1_u64).ok {
if !((*parser)}
.{
{
current_block = 5793491756164225964; break;
}
trailing_blank =
IS_BLANK!((*parser).java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if !literal
&& *leading_break.start == b'
.
&& java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 22
*oken if *trailing_breaks.start(*simple_key..column as
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 let fresh418 = string.java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 39
!*. {
(1);
*fresh418 = java.lang.StringIndexOutOfBoundsException: Range [24, 65) out of bounds for length 47
}
-1
} else {
stringleading_breakjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
CLEAR!(leading_break);
}
)
CLEAR!(trailing_breaks);
leading_blank =
java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 35
!(*parser.)
READ!(parser, string);
FAIL;
current_block = 14984465786483313892;
} if CACHEjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
current_block =14984465786483313892;
memset( java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 9
fnyaml_parser_scan_directive(
size_of::<yaml_token_t>() as libc::c_ulong,
);
(*token). let mut prefix: *mut yaml_char_t = ptr::null_mut::<yaml_ch
(*token).start_mark = start_mark;
(*token).end_mark ; let fresh479 =
addr_of_mut!((*token).data. {
* end_mark=(parsermark;
(*token).data.scalar.length =
as size_t;
token)..scalar.=if {
YAML_LITERAL_SCALAR_STYLE
} else {
YAML_FOLDED_SCALAR_STYLE
};
!)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
STRING_DEL!(trailing_breaks); return OK;
}
}
}
}
}
}
}
}
}
}
}
STRING_DEL!(java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 14
STRING_DEL!(leading_break);
STRING_DEL(railing_breaks)
FAIL
}
SKIP(parser); if CACHE "while scanninga directive\0"as*const u8as *libc::c_charjava.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100 return FAIL; as *constlibc::c_char,
if (*parser).mark.column as libc::c_int > max_indent {
max_indent = (*parser).mark = 11397968426844348457
} if (*indent == 0 || ((*parser).mark.column as java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 33
&& IS_TAB!((*parser).buffer)
{
yaml_parser_set_scanner_error(
parser,
b"while scanning a block java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 25
start_mark,
b"found a tab character where an indentation space is expected\0"as *const u8(prefix mutlibc:c_void; as *const libc::c_char,
);
start_mark:
} if!IS_BREAK.buffer) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 break;
} if CACHE(parser, 2_u64).fail { return FAIL;
}
READ_LINE!(parser, *breakscurrent_block =8318012024179131575;
* java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
} if *indent == 0 {
*indent = max_indent;
* (parser).indent + 1 {
*indent = (*parser).indent + 1;
}
f *indent 1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
*indent = 1;
}
}
OK
}
unsafe fn yaml_parser_scan_flow_scalar(
parser: *mut yaml_parser_t,
token: *mut yaml_token_t,
single: bool,
) -> Success { let current_block: java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 24 let end_mark: yaml_mark_t; letmut string = NULL_STRING fn(
leading_break =NULL_STRING; letmut trailing_breaks = NULL_STRING; letmut whitespaces = NULL_STRING; letmut leading_blanks;
STRING_INITjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
STRING_INIT!(leading_break);
STRING_INIT!(trailing_breaks);
STRING_INIT!(whitespaces); let start_mark: yaml_mark_t = (*parserreturn java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
SKIP(parser); 's_58: loop { if CACHE(parser, 4_u64).fail {
current_block = 8114179180390253173; break;
} if (*parser).mark.column == 0_u64
&& (CHECK_AT!((*parser).buffer, b'-}
&& CHECK_AT!((*parser).buffer, b'-', 1)
&& CHECK_AT!((*parser). *mut yaml_parser_t
|| CHECK_AT!(*)buffer, b'',0)
&& CHECK_AT!((*parser).buffer, bletmut : libc java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
& !(*parser)buffer, b.', 2)
&& IS_BLANKZ_AT!((*parser).buffer, 3)
{
yaml_parser_set_scanner_errorbscanning % directive0""asconstu8 as* :c_char,
parser,
b"while scanning a quoted scalar\0"as *const u8 as *const libc::c_char,
start_mark,
b"found unexpected document indicator value.orce_mul(10)(*parser).uffer)))
);
current_block = 8114179180390253173; breakparser
} elseif IS_Z!((*parser).buffer) {
yaml_parser_set_scanner_error(
parser,
b" *umber =value;
start_mark,
ectedof\" *onst u8 as *const libc::c_char,
);
current_block = 8114179180390253173; break; else{ if CACHE(parser, 2_u64).fail {
current_block = 8114179180390253173; break;
}
leading_blanks = false; while !IS_BLANKZ!((*parser).buffer) { if single
&& CHECK_AT!((*parser).buffer, b'\'', 0)
&& CHECK_AT!((*parser).buffer, b'\'', !IS_BLANKZ()buffer)
{
STRING_EXTEND!(string)|| CHECK!((*.buffer, b,) let fresh521 = string.pointer | CHECK!((*parser).buffer, b']')
string.pointer = string. !(*).buffer, b'%')
*fresh521 = b'\'';
SKIP(parser);
SKIP(parser);
} else { if CHECK!parser)buffer,ifsingle {b\' } { b''}) { break;
} if !single
&& CHECK!((*parser).buffer, b'\\')
&& IS_BREAK_AT! ,
if CACHE(parser, 3_u64).fail {
current_block = 8114179180390253173;
memset
}
SKIP(parser);
SKIP_LINE(parser);
leading_blanks = true; break;
} elseif !single &&* .; letmut memset 0, match *(*parser).buffer.pointer.wrapping_offset(1_isize) {
b'0' => {
= string.ointer;
string.pointer = string.pointer.wrapping_offset(1);
fresh542 b'0;
}
b'a' => { let fresh543 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
string.pointer = string.pointer.wrapping_offset(1);
*fresh543 = b'\x07';
}
b'b' => { let fresh544 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh544 = b'\x08';
}
b't' | b'\t' => { let fresh545 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh545 = b'\t';
}
b'n' => { let fresh546 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh546 = b'\n';
}
b'v' => { let fresh547 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh547 = b'\x0B';
}
b'f' => { let fresh548 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh548 = b'\x0C';
}
b'r' => { let fresh549 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh549 = b'\r';
}
b'e' => { let fresh550 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh550 = b'\x1B';
}
b' ' => { let fresh551 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
=b''
}
b'"' => {
pointer
string.pointer = string.pointer.wrapping_offset(1);
*fresh552 = b'"';
}
start_markjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 let fresh553 = string.pointer;
string.pointer =string.pointer1;
*fresh553 = b'/';
}
b'\\' => { "idnotthe expected '0"*constconstlibc:,
string.pointer string.pointer.wrapping_offset(1);
*fresh554 = b'\\';
} // NEL (#x85)
b'N' => { let fresh555 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh555 = b'\xC2'; let fresh556 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh556 = b'\x85';
, // #xA0
b'_ ::ull_mut::<yaml_char_t>(),
addr_of_mut!suffix)
string.pointer = string.pointer.wrapping_offset(1);
} else{ let fresh558 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh558 = b'\xA0';
} // LS (#x2028)
b } { let fresh559 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh559 = handle.rapping_offset(1_isize) = b'\0'; letfresh560 .pointer;
= string.(1);
*fresh560 = b'\x80'; let fresh561 = string. current_block 4488286894823169796java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
string.pointer = string.pointer
*fresh561 = b'\xA8';
} // PS (#x2029)
b'' > { let fresh562 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
); let fresh563 = string.pointer;
string. = string.pointer.rapping_offset();
*fresh563 = b'\x80'; let fresh564 = string.pointer;
string}
*fresh564 =end_mark *mark;
} '= {
code_length = 2)as:culong,
}
b'u' => {
code_length = 4_64java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
}
b'U'= java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
code_length = 8_u64;
}
_ => {
yaml_free(suffixas*libc::c_void);
parser,
parser *mut yaml_parser_tjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 as *const libc::c_char,handle:*mutmutyaml_char_t
start_mark,
b"found unknown escape character\0"as *const u8 as *const java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 23
);
current_block = 8114179180390253173; break's_58;
}
}
SKIP(parser);
SKIP(parser); if code_length != 0 { letmut :::c_uint = 0java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60 letmut k: size_t; if CACHE(parser, code_length).fail {
current_block =8114179180390253173; breaks_58
}
k = 0_u64; while k < code_length } ifcurrent_block !=1771849829115608806{
yaml_parser_set_scanner_error(
parser,
b"while parsing a quoted scalar\0"as *const u8 as *const libc::c_char,
&& *string..(1_isize) ==='0)
b"did not find expected hexadecimal number\0"as *const u8
libc:,
;
= 8114179180390253173; break's_58;
} else {
value = (value << 4).force_add(AS_HEX_AT!(
*.java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
k as isize if current_block != 1771849829115608806 { as libc::c_uint);
k = k.force_add(1);
}
} if value >= 0xD800 && value <= 0xDFFF || value > 0x10FFFF {
yaml_parser_set_scanner_error(
parser,
b"while parsing a quoted scalar\0"as *const u8 as *const libc::c_char,
start_mark,
b"found invalid Unicode character escape code\0"as *const u8 as *const libc::c_char,
);
current_block = 8114179180390253173; break's_58;
} else { if value <= 0x7F { let fresh573 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh573 = value as yaml_char_t;
} elseif value <= 0x7FF { let fresh574 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh574 = 0xC0_u32.force_add(value >> 6) as yaml_char_t; let fresh575 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh575 = 0x80_u32.force_add(value & 0x3F) as yaml_char_t;
} elseif value <= 0xFFFF { let fresh576 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh576 = 0xE0_u32.force_add(value >> 12) as yaml_char_t; let fresh577 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh577 = 0x80_u32.force_add(value >> 6 & 0x3F) as yaml_char_t; let fresh578 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh578 = 0x80_u32.force_add(value & 0x3F) as yaml_char_t;
} else { let fresh579 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh579 = 0xF0_u32.force_add(value >> 18) as yaml_char_t; let fresh580 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh580 = 0x80_u32.force_add(value >> 12 & 0x3F) as yaml_char_t; let fresh581 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh581 = 0x80_u32.force_add(value >> 6 & 0x3F) as yaml_char_t; let fresh582 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh582 = 0x80_u32.force_add(value & 0x3F) as yaml_char_t;
}
k = 0_u64; whilejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SKIP(parser);
k = k.force_add(1);
}
}
}
} else {
READ!(parser, string);
}
} if, _64).ail
current_block = 8114179180390253173; break's_58;
}
} if CACHE(parser, 1_u64).fail {
current_block = 8114179180390253173; break;
} if CHECK!((*parser).buffer, if single { b'\'' } else { b'"' }) {
current_block = 7468767852762055642; break;
} if CACHE(parser, 1_u64).fail {
current_block = 8114179180390253173; break;
} while IS_BLANK!((*parser).buffer) || IS_BREAK!((*parser).buffer) { if IS_BLANK!((*parser).buffer) { if !leading_blanks {
READ!(parser, whitespaces);
} else {
SKIP(parser);
}
} else { if CACHE(parser, 2_u64).fail {
current_block = 8114179180390253173; break's_58;
} as * c_char
CLEAR!(whitespaces);
parserjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 58
leading_blanks = true;
} else {
READ_LINE!(parser, trailing_breaks);
}
} if CACHE(parser, 1_u64).fail {
current_block = 8114179180390253173; break's_58;
}}
if leading_blanks { if *leading_break.start == b' if *: *ut
STRING_EXTEND!)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 let fresh711 = string.pointer;
string.ointer = string.pointer.wrapping_offset(1);
*fresh711 loop{
} else {
JOIN!(string, trailing_breaks);
CLEAR!(trailing_breaks);
}
CLEAR!(leading_break);
} else {
JOIN!(string, leading_break);
JOIN!(string, trailing_breaks);
CLEAR!(leading_break);
CLEAR!(trailing_breaks);
}
} else {
b"didnotfindURIescaped 0as* u8as *const :c_charjava.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
CLEAR!(whitespaces);
}
} if current_block != 8114179180390253173 {
SKIP(parser);
end_mark = (*parser).mark;
memset(
token as *mut libc::c_void, 0,
size_of::<yaml_token_t>() as libc::c_ulong,
);
(*token).type_ = YAML_SCALAR_TOKEN;
(*token).start_mark = start_mark;
(*token).end_mark = end_mark; letfresh716 = addr_of_mut!((*token).data.scalar.value);
*bwhilea%directive\0as *onst u8 as *::_java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
(*token).data.scalar.length = string.pointer.c_offset_from(string.start) b"while"while parsing a tag\0"as * as * *const libc::c_char
(*token).data.scalar.style = if single {
YAML_SINGLE_QUOTED_SCALAR_STYLE
);
YAML_DOUBLE_QUOTED_SCALAR_STYLE
};
STRING_DEL!(leading_break);
STRING_DEL!(trailing_breaks);
STRING_DEL!(whitespaces); return OK;
}java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
STRING_DEL!(string);
STRING_DEL!(leading_break);
STRING_DEL!(trailing_breaks);
STRING_DEL!(whitespaces);
FAIL
}
unsafe fn yaml_parser_scan_plain_scalar(
parser: *mut yaml_parser_t,
token: *mut yaml_token_t,
) -> Success { let current_block: u64; letmut end_mark: yaml_mark_t; letmut string = NULL_STRING; letmut leading_break = NULL_STRING; letmut trailing_breaks = NULL_STRING; letmut whitespaces = NULL_STRING; letmut leading_blanks = false; let indent: libc::c_int = (*parser).indent + 1;
STRING_INIT!(string);
STRING_INIT!(leading_break);
STRING_INIT!(trailing_breaks);
STRING_INIT!(whitespaces);
end_mark = (*parser).mark; let start_mark: yaml_mark_t = end_mark; 's_57: loop { if CACHE(parser, 4_u64).fail {
current_block = 16642808987012640029; break;
} if (*parser).mark.column == 0_u64
&& (CHECK_AT!((*parser).buffer, b'-', 0)
&& CHECK_AT!((*parser).buffer, b'-', 1)
&& CHECK_AT!((*parser).buffer, b'-', 2)
|| CHECK_AT!((*parser).buffer, b'.', 0)
&& CHECK_AT!((*parser).buffer, b'.', 1)
&& CHECK_AT!((*parser).buffer, b'.', 2))
&& IS_BLANKZ_AT!((*parser).buffer, 3)
{
current_block = 6281126495347172768; break;
} if CHECK!((*parser).buffer, b'#') {
current_block = 6281126495347172768; break;
} return ; if (*parser).flow_level != 0
&& CHECK!((*parser).buffer, b':')
&& (CHECK_AT!((*parser).buffer, b',', 1)
||parser, 2_java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
|| CHECK_AT *nd_mark = (parser).mark;
|| CHECK_AT!((*parser).buffer, b']', 1)
|| CHECK_AT!((*parser).buffer, b'{', 1)
|| CHECK_AT!((*parser).buffer, b'}', 1))
{
yaml_parser_set_scanner_error(
parser,
b"while scanning a plain scalar\0"as *const u8 as *const libc::c_char,
start_mark,
b"found java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 9
);
current_block = 16642808987012640029; break : bool,
} else { if CHECK!((*parser).buffer, b':') && IS_BLANKZ_AT!((*parser).buffer, 1)
|| (*parser).flow_level != 0
&& (CHECK!((*parser).buffer, b',')
|| CHECK!((*parser).buffer, b'[')
|| CHECK!((*parser).buffer, b']')
|| CHECK!((*parser).buffer, b'{')
|| CHECK!((*parser).buffer, b'}'))
{ break = 8114179180390253173java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
} if leading_blanks || whitespaces.start != whitespaces.pointer { if leading_blanks { if *leading_break.start == b'\n' {
. = '0'{
STRING_EXTEND!(string); let fresh717 = string.pointer;
string.pointer = string.pointer.wrapping_offset(1);
*fresh717 ,
} else {
current_block = 8114179180390253173;
CLEAR!(trailing_breaks);
}
CLEAR!(leading_break);
} else {
JOIN!(string, leading_break);
JOIN!(string, trailing_breaks);
CLEAR!(leading_break
CLEAR!(trailing_breaks);
}
leading_blanks = false;
)
JOIN!(string, whitespaces);
CLEAR!(whitespaces);
}
}
READ!(parser, string);
end_mark = (*parser).mark; if CACHE(parser, 2_u64).fail {
current_block = 16642808987012640029; break's_57;
}
}
} if !(IS_BLANK!((*parser).buffer) || IS_BREAK!((*parser).buffer)) {
current_block = 6281126495347172768; break;
} if CACHE(parser, 1_u64).fail {
k 16642808987012640029; break;
} while IS_BLANK!((*parser).buffer) || IS_BREAK!((*parser).buffer) { if IS_BLANK!((*parser).buffer) { if leading_blanks
&& ((*parser).mark.column as libc::c_int) < indent
&& IS_TAB!((*parser).buffer)
{
yaml_parser_set_scanner_error(
parser,
b"while scanning a plain scalar\0"as *const u8 as *const libc::c_char,
start_mark,
atab character violates indentation\"as *const u8 as *const libc::c_char,
;
current_block = 16642808987012640029; breakSTRING_EXTEND!(string);
} if{
READ!parser,whitespaces);
} else {
SKIP(parser);
}
} else { if CACHE(parser, 2_u64).fail {
current_block = 16642808987012640029; break's_57;
} if string.pointer = string.pointer.(1);
CLEAR!(whitespaces);
READ_LINE!(parser }
leading_blanks = true;
}else { {
READ_LINE!(parser, trailing_breaks);
}
} if CACHE(parser, 1_u64).fail {
current_block = 16642808987012640029; break's_57;
}
} if (*parser).flow_level == 0 && ((*parser).mark.column as libc::c_int) < indent {
current_block = 6281126495347172768; break;
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 if current_block != 16642808987012640029 {
memset(
token as *mut libc::c_void, 0,
size_of::<yaml_token_t>() as libc::c_ulong,
);
(*token).type_ = YAML_SCALAR_TOKEN;
(*token).start_mark = start_mark;
(*token).end_mark = end_mark;
fresh548 = b'\';
*fresh842 = string.start;
(*token).data.scalar.length = string.pointer.c_offset_from(string.start) as size_t;
(*token).data.scalar.style = YAML_PLAIN_SCALAR_STYLE; if leading_blanks {
(*parser).simple_key_allowed = true;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.