Home
last modified time | relevance | path

Searched refs:next_char (Results 1 – 25 of 25) sorted by relevance

/external/libchrome/build/
Dgn_helpers.py138 next_char = value[i + 1]
139 if next_char in ('$', '"', '\\'):
141 result += next_char
225 next_char = self.input[self.cur]
226 if next_char == '[':
228 elif _IsDigitOrMinus(next_char):
230 elif next_char == '"':
242 next_char = self.input[self.cur]
243 if not next_char.isalpha() and not next_char=='_':
246 ident += next_char
[all …]
/external/rust/crates/regex/src/
Dinput.rs76 fn next_char(&self, at: InputAt) -> Char; in next_char() method
111 fn next_char(&self, at: InputAt) -> Char { in next_char() method
112 (**self).next_char(at) in next_char()
169 fn next_char(&self, at: InputAt) -> Char { in next_char() method
185 let c = self.next_char(at); in is_empty_match()
191 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
195 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
199 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
203 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
262 fn next_char(&self, at: InputAt) -> Char { in next_char() method
[all …]
/external/rust/crates/shlex/src/
Dlib.rs54 '\\' => if let Some(ch2) = self.next_char() { in parse_word()
63 if let Some(ch2) = self.next_char() { ch = ch2; } else { break; } in parse_word()
70 if let Some(ch2) = self.next_char() { in parse_double()
73 if let Some(ch3) = self.next_char() { in parse_double()
97 if let Some(ch2) = self.next_char() { in parse_single()
108 fn next_char(&mut self) -> Option<u8> { in next_char() method
118 if let Some(mut ch) = self.next_char() { in next()
124 while let Some(ch2) = self.next_char() { in next()
130 if let Some(ch2) = self.next_char() { ch = ch2; } else { return None; } in next()
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h746 auto next_char = is.peek();
747 if (next_char == '-' || next_char == '+') {
862 auto next_char = is.peek();
865 if (next_char != '-' && next_char != '0') {
869 if (next_char == '-') {
872 next_char = is.peek();
875 if (next_char == '0') {
897 while ((next_char = is.peek()) == '0') {
908 if (next_char == '.') {
910 } else if (next_char == 'p') {
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h816 auto next_char = is.peek();
817 if (next_char == '-' || next_char == '+') {
932 auto next_char = is.peek();
935 if (next_char != '-' && next_char != '0') {
939 if (next_char == '-') {
942 next_char = is.peek();
945 if (next_char == '0') {
967 while ((next_char = is.peek()) == '0') {
978 if (next_char == '.') {
980 } else if (next_char == 'p') {
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h816 auto next_char = is.peek();
817 if (next_char == '-' || next_char == '+') {
932 auto next_char = is.peek();
935 if (next_char != '-' && next_char != '0') {
939 if (next_char == '-') {
942 next_char = is.peek();
945 if (next_char == '0') {
967 while ((next_char = is.peek()) == '0') {
978 if (next_char == '.') {
980 } else if (next_char == 'p') {
[all …]
/external/webrtc/rtc_base/
Dbase64_unittest.cc1442 char next_char; in TEST() local
1443 EXPECT_TRUE(Base64::GetNextBase64Char('A', &next_char)); in TEST()
1444 EXPECT_EQ('B', next_char); in TEST()
1445 EXPECT_TRUE(Base64::GetNextBase64Char('Z', &next_char)); in TEST()
1446 EXPECT_EQ('a', next_char); in TEST()
1447 EXPECT_TRUE(Base64::GetNextBase64Char('/', &next_char)); in TEST()
1448 EXPECT_EQ('A', next_char); in TEST()
1449 EXPECT_FALSE(Base64::GetNextBase64Char('&', &next_char)); in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_suppressions.cc120 const char *next_char = StripPrefix(line, suppression_types_[type]); in Parse() local
121 if (next_char && *next_char == ':') { in Parse()
122 line = ++next_char; in Parse()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_suppressions.cpp133 const char *next_char = StripPrefix(line, suppression_types_[type]); in Parse() local
134 if (next_char && *next_char == ':') { in Parse()
135 line = ++next_char; in Parse()
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/
Dswitch_msan.ll4 declare i8 @next_char();
14 ; CHECK-NEXT: [[C:%.*]] = call fastcc signext i8 @next_char()
40 %c = call fastcc signext i8 @next_char()
66 ; CHECK-NEXT: [[C:%.*]] = call fastcc signext i8 @next_char()
87 %c = call fastcc signext i8 @next_char()
/external/harfbuzz_ng/src/
Dhb-ot-shape-normalize.cc110 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char() function
175 next_char (buffer, glyph); in decompose_current_character()
187 next_char (buffer, glyph); in decompose_current_character()
198 next_char (buffer, space_glyph); in decompose_current_character()
211 next_char (buffer, other_glyph); in decompose_current_character()
216 next_char (buffer, glyph); /* glyph is initialized in earlier branches. */ in decompose_current_character()
/external/fonttools/Lib/fontTools/feaLib/
Dlexer.py71 next_char = text[start + 1] if start + 1 < limit else None
79 self.pos_ += 2 if next_char == "\n" else 1
98 if cur_char == "\\" and next_char in Lexer.CHAR_DIGIT_:
126 if cur_char == "0" and next_char in "xX":
130 if cur_char == "0" and next_char in Lexer.CHAR_DIGIT_:
140 if cur_char == "-" and next_char in Lexer.CHAR_DIGIT_:
/external/fonttools/Lib/fontTools/voltLib/
Dlexer.py53 next_char = text[start + 1] if start + 1 < limit else None
61 self.pos_ += (2 if next_char == "\n" else 1)
82 if cur_char == "-" and next_char in Lexer.CHAR_DIGIT_:
/external/rust/crates/unicode-segmentation/src/
Dsentence.rs116 for next_char in ahead.chars() { in match_sb8()
118 match se::sentence_category(next_char).2 { in match_sb8()
181 for next_char in self.string[self.pos..].chars() { in next()
185 let next_cat = se::sentence_category(next_char).2; in next()
187 self.pos += next_char.len_utf8(); in next()
/external/rust/crates/idna/src/
Dmake_uts46_mapping_table.py117 next_char = int(g2[0], 16) variable
118 if last_char + 1 == next_char:
124 assert next_char == 0xe000
/external/libchrome/base/json/
Djson_parser.cc455 uint32_t next_char = 0; in ConsumeStringRaw() local
459 &next_char) || in ConsumeStringRaw()
460 !IsValidCharacter(next_char)) { in ConsumeStringRaw()
470 if (next_char == '"') { in ConsumeStringRaw()
474 } else if (next_char != '\\') { in ConsumeStringRaw()
477 string.Append(next_char); in ConsumeStringRaw()
/external/rust/crates/protobuf/src/text_format/lexer/
Dlexer_impl.rs144 fn next_char(&mut self) -> LexerResult<char> { in next_char() method
372 let r = match clone.next_char()? { in next_hex_digit()
459 match self.next_char()? { in next_byte_value()
461 match self.next_char()? { in next_byte_value()
503 match self.next_char()? { in next_json_char_value()
504 '\\' => match self.next_char()? { in next_json_char_value()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dkeyboard.py100 def next_char(): function
115 Keyboard(devices[0], next_char())
/external/pdfium/xfa/fgas/layout/
Dfx_linebreak.h24 FX_BREAKPROPERTY next_char);
Dfx_linebreak.cpp226 FX_BREAKPROPERTY next_char) { in GetLineBreakTypeFromPair() argument
228 size_t col = static_cast<size_t>(next_char); in GetLineBreakTypeFromPair()
/external/rust/crates/serde_json/src/
Dde.rs215 fn next_char(&mut self) -> Result<Option<u8>> { in next_char() method
220 Ok(tri!(self.next_char()).unwrap_or(b'\x00')) in next_char_or_null()
364 match tri!(self.next_char()) { in parse_ident()
380 let next = match tri!(self.next_char()) { in parse_integer()
501 let next = match tri!(self.next_char()) { in parse_exponent()
693 let next = match tri!(self.next_char()) { in parse_long_exponent()
863 match tri!(self.next_char()) { in scan_or_eof()
/external/tensorflow/tensorflow/core/kernels/
Dunicode_ops.cc144 UChar32 next_char = ucnv_getNextUChar(converter, &source, limit, &status); in IterateUnicodeString() local
149 callback(next_char, bytes_consumed, format_error); in IterateUnicodeString()
/external/rust/crates/url/src/
Dparser.rs521 let (next_char, input_after_next_char) = input_after_first_char.split_first(); in parse_file()
522 if matches!(next_char, Some('/') | Some('\\')) { in parse_file()
523 self.log_violation_if(Backslash, || next_char == Some('\\')); in parse_file()
/external/python/cpython3/Lib/
Ddatetime.py293 next_char = tstr[pos:pos+1]
295 if not next_char or comp >= 2:
298 if next_char != ':':
299 raise ValueError('Invalid time separator: %c' % next_char)
/external/jline/
Djline-3.13.3.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jline/ org/ ...