Home
last modified time | relevance | path

Searched refs:ahead (Results 1 - 25 of 31) sorted by relevance

12

/third_party/rust/crates/syn/src/
H A Drestriction.rs71 let ahead = input.fork(); in parse()
72 let group = crate::group::parse_group(&ahead)?; in parse()
74 input.advance_to(&ahead); in parse()
92 let ahead = input.fork(); in parse_pub()
95 let paren_token = parenthesized!(content in ahead); in parse_pub()
107 input.advance_to(&ahead); in parse_pub()
119 input.advance_to(&ahead); in parse_pub()
H A Dstmt.rs188 let ahead = input.fork(); in parse_stmt()
190 if let Ok(path) = ahead.call(Path::parse_mod_style) { in parse_stmt()
191 if ahead.peek(Token![!]) { in parse_stmt()
192 if ahead.peek2(Ident) || ahead.peek2(Token![try]) { in parse_stmt()
194 } else if ahead.peek2(token::Brace) in parse_stmt()
195 && !(ahead.peek3(Token![.]) || ahead.peek3(Token![?])) in parse_stmt()
197 input.advance_to(&ahead); in parse_stmt()
H A Ditem.rs915 let ahead = input.fork();
916 let vis: Visibility = ahead.parse()?;
918 let lookahead = ahead.lookahead1();
919 let mut item = if lookahead.peek(Token![fn]) || peek_signature(&ahead) {
929 ahead.parse::<Token![extern]>()?;
930 let lookahead = ahead.lookahead1();
936 ahead.parse::<LitStr>()?;
937 let lookahead = ahead.lookahead1();
1023 ahead.parse::<Token![unsafe]>()?;
1024 let lookahead = ahead
[all...]
H A Dattr.rs695 let ahead = input.fork(); in parse_meta_name_value_after_path()
696 let lit: Option<Lit> = ahead.parse()?; in parse_meta_name_value_after_path()
697 let value = if let (Some(lit), true) = (lit, ahead.is_empty()) { in parse_meta_name_value_after_path()
698 input.advance_to(&ahead); in parse_meta_name_value_after_path()
H A Ddata.rs184 let ahead = input.fork(); in parse()
185 let mut discriminant: Result<Expr> = ahead.parse(); in parse()
187 input.advance_to(&ahead); in parse()
H A Dexpr.rs1196 let ahead = input.fork(); in parse_expr()
1197 if let Some(op) = match ahead.parse::<BinOp>() { in parse_expr()
1201 input.advance_to(&ahead); in parse_expr()
1289 let ahead = input.fork(); in parse_expr()
1290 if let Some(op) = match ahead.parse::<BinOp>() { in parse_expr()
1294 input.advance_to(&ahead); in parse_expr()
2570 let ahead = input.fork(); in expr_break()
2571 let label: Option<Lifetime> = ahead.parse()?; in expr_break()
2572 if label.is_some() && ahead.peek(Token![:]) { in expr_break()
2585 input.advance_to(&ahead); in expr_break()
[all...]
/third_party/rust/crates/cxx/gen/src/
H A Dfile.rs34 let ahead = input.fork(); in parse()
35 ahead.parse::<Visibility>()?; in parse()
36 ahead.parse::<Option<Token![unsafe]>>()?; in parse()
37 if !ahead.peek(Token![mod]) { in parse()
52 input.advance_to(&ahead); in parse()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dfile.rs34 let ahead = input.fork(); in parse()
35 ahead.parse::<Visibility>()?; in parse()
36 ahead.parse::<Option<Token![unsafe]>>()?; in parse()
37 if !ahead.peek(Token![mod]) { in parse()
52 input.advance_to(&ahead); in parse()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dfile.rs34 let ahead = input.fork(); in parse()
35 ahead.parse::<Visibility>()?; in parse()
36 ahead.parse::<Option<Token![unsafe]>>()?; in parse()
37 if !ahead.peek(Token![mod]) { in parse()
52 input.advance_to(&ahead); in parse()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dfile.rs34 let ahead = input.fork(); in parse()
35 ahead.parse::<Visibility>()?; in parse()
36 ahead.parse::<Option<Token![unsafe]>>()?; in parse()
37 if !ahead.peek(Token![mod]) { in parse()
52 input.advance_to(&ahead); in parse()
/third_party/ffmpeg/libavformat/
H A Dnsvdec.c171 AVPacket ahead[2]; /* [v, a] if .data is !NULL there is something */ member
492 nsv->ahead[0].data = nsv->ahead[1].data = NULL; in nsv_read_header()
535 if (nsv->ahead[0].data || nsv->ahead[1].data) in nsv_read_chunk()
583 pkt = &nsv->ahead[NSV_ST_VIDEO]; in nsv_read_chunk()
597 pkt = &nsv->ahead[NSV_ST_AUDIO]; in nsv_read_chunk()
651 if (!nsv->ahead[0].data && !nsv->ahead[1].data) in nsv_read_packet()
658 if (nsv->ahead[ in nsv_read_packet()
[all...]
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dfile.rs85 let ahead = input.fork(); in parse()
86 let unsafety = if ahead.parse::<Option<Token![unsafe]>>()?.is_some() in parse()
87 && ahead.parse::<Option<Token![extern]>>()?.is_some() in parse()
88 && ahead.parse::<Option<LitStr>>().is_ok() in parse()
89 && ahead.peek(token::Brace) in parse()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dfile.rs85 let ahead = input.fork(); in parse()
86 let unsafety = if ahead.parse::<Option<Token![unsafe]>>()?.is_some() in parse()
87 && ahead.parse::<Option<Token![extern]>>()?.is_some() in parse()
88 && ahead.parse::<Option<LitStr>>().is_ok() in parse()
89 && ahead.peek(token::Brace) in parse()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dfile.rs85 let ahead = input.fork(); in parse()
86 let unsafety = if ahead.parse::<Option<Token![unsafe]>>()?.is_some() in parse()
87 && ahead.parse::<Option<Token![extern]>>()?.is_some() in parse()
88 && ahead.parse::<Option<LitStr>>().is_ok() in parse()
89 && ahead.peek(token::Brace) in parse()
/third_party/rust/crates/cxx/syntax/
H A Dfile.rs85 let ahead = input.fork(); in parse()
86 let unsafety = if ahead.parse::<Option<Token![unsafe]>>()?.is_some() in parse()
87 && ahead.parse::<Option<Token![extern]>>()?.is_some() in parse()
88 && ahead.parse::<Option<LitStr>>().is_ok() in parse()
89 && ahead.peek(token::Brace) in parse()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dfile.rs85 let ahead = input.fork(); in parse()
86 let unsafety = if ahead.parse::<Option<Token![unsafe]>>()?.is_some() in parse()
87 && ahead.parse::<Option<Token![extern]>>()?.is_some() in parse()
88 && ahead.parse::<Option<LitStr>>().is_ok() in parse()
89 && ahead.peek(token::Brace) in parse()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUtility.java596 // if we could look ahead, but we can't, so we use 'node' to in RLEStringToByteArray()
891 int ahead = offset+1; in unescapeAndLengthAt()
893 if (c == '\\' && ahead < length) { in unescapeAndLengthAt()
896 // Limit the length to 11 ("x{0000DFFF}") after ahead. in unescapeAndLengthAt()
897 int tailLimit = ahead + 11; in unescapeAndLengthAt()
901 int cpAndLength = unescapeAndLengthAt(s, ahead, tailLimit); in unescapeAndLengthAt()
904 ahead += cpAndLength & 0xff; in unescapeAndLengthAt()
908 offset = ahead; in unescapeAndLengthAt()
/third_party/rust/crates/syn/codegen/src/
H A Dparse.rs289 let ahead = input.fork(); in peek_tag()
290 ahead.parse::<Token![#]>().is_ok() in peek_tag()
291 && ahead in peek_tag()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUtility.java599 // if we could look ahead, but we can't, so we use 'node' to in RLEStringToByteArray()
871 int ahead = offset+1; in unescapeAt()
873 if (c == '\\' && ahead < length) { in unescapeAt()
874 int o[] = new int[] { ahead }; in unescapeAt()
876 ahead = o[0]; in unescapeAt()
879 offset = ahead; in unescapeAt()
/third_party/icu/icu4c/source/common/
H A Dustring.cpp1037 * sufficient to look ahead one because of UTF-16; in u_countChar32()
1038 * safe to look ahead one because at worst that would be the terminating NUL in u_countChar32()
1293 int32_t ahead = *offset + 1; in u_unescapeAt() local
1295 if (c == u'\\' && ahead < length) { in u_unescapeAt()
1298 // Limit the length to 11 ("x{0000DFFF}") after ahead. in u_unescapeAt()
1299 int32_t tailLimit = ahead + 11; in u_unescapeAt()
1303 c = u_unescapeAt(charAt, &ahead, tailLimit, context); in u_unescapeAt()
1306 *offset = ahead; in u_unescapeAt()
/third_party/node/deps/icu-small/source/common/
H A Dustring.cpp1037 * sufficient to look ahead one because of UTF-16; in u_countChar32()
1038 * safe to look ahead one because at worst that would be the terminating NUL in u_countChar32()
1293 int32_t ahead = *offset + 1; in u_unescapeAt() local
1295 if (c == u'\\' && ahead < length) { in u_unescapeAt()
1298 // Limit the length to 11 ("x{0000DFFF}") after ahead. in u_unescapeAt()
1299 int32_t tailLimit = ahead + 11; in u_unescapeAt()
1303 c = u_unescapeAt(charAt, &ahead, tailLimit, context); in u_unescapeAt()
1306 *offset = ahead; in u_unescapeAt()
/third_party/skia/third_party/externals/icu/source/common/
H A Dustring.cpp1037 * sufficient to look ahead one because of UTF-16; in u_countChar32()
1038 * safe to look ahead one because at worst that would be the terminating NUL in u_countChar32()
1294 int32_t ahead = *offset + 1; in u_unescapeAt() local
1296 if (c == 0x5C /*'\\'*/ && ahead < length) { in u_unescapeAt()
1299 // length to 5 ('u' and 4 hex) after ahead. in u_unescapeAt()
1300 int32_t tailLimit = ahead + 5; in u_unescapeAt()
1304 c = (UChar) u_unescapeAt(charAt, &ahead, tailLimit, in u_unescapeAt()
1308 *offset = ahead; in u_unescapeAt()
/third_party/lzma/C/
H A DLzmaDec.c1118 unsigned ahead = 0; in LzmaDec_DecodeToDic() local
1121 while (rem < LZMA_REQUIRED_INPUT_MAX && ahead < inSize) in LzmaDec_DecodeToDic()
1122 p->tempBuf[rem++] = src[ahead++]; in LzmaDec_DecodeToDic()
1124 // ahead - the size of new data copied from (src) to (p->tempBuf) in LzmaDec_DecodeToDic()
1138 (*srcLen) += (SizeT)ahead; in LzmaDec_DecodeToDic()
/third_party/node/deps/openssl/openssl/crypto/sha/asm/
H A Dsha1-c64xplus.pl138 || LDW *${XPB}[4],$X2 ; 2 iterations ahead
162 || XOR $X0,$X2,$TX0 ; Xupdate XORs are 1 iteration ahead
/third_party/openssl/crypto/sha/asm/
H A Dsha1-c64xplus.pl138 || LDW *${XPB}[4],$X2 ; 2 iterations ahead
162 || XOR $X0,$X2,$TX0 ; Xupdate XORs are 1 iteration ahead

Completed in 25 milliseconds

12