Home
last modified time | relevance | path

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

12

/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/cronet/build/
Dgn_helpers.py237 next_char = value[i + 1]
238 if next_char in ('$', '"', '\\'):
240 result += next_char
373 next_char = self.input[self.cur]
374 if next_char == '[':
376 elif next_char == '{':
378 elif _IsDigitOrMinus(next_char):
380 elif next_char == '"':
392 next_char = self.input[self.cur]
393 if not next_char.isalpha() and not next_char=='_':
[all …]
/external/angle/build/
Dgn_helpers.py240 next_char = value[i + 1]
241 if next_char in ('$', '"', '\\'):
243 result += next_char
376 next_char = self.input[self.cur]
377 if next_char == '[':
379 elif next_char == '{':
381 elif _IsDigitOrMinus(next_char):
383 elif next_char == '"':
395 next_char = self.input[self.cur]
396 if not next_char.isalpha() and not next_char=='_':
[all …]
/external/rust/crates/regex/src/
Dinput.rs74 fn next_char(&self, at: InputAt) -> Char; in next_char() method
109 fn next_char(&self, at: InputAt) -> Char { in next_char() method
110 (**self).next_char(at) in next_char()
167 fn next_char(&self, at: InputAt) -> Char { in next_char() method
183 let c = self.next_char(at); in is_empty_match()
189 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
193 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
197 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
201 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match()
260 fn next_char(&self, at: InputAt) -> Char { in next_char() method
[all …]
/external/rust/crates/shlex/src/
Dlib.rs66 '\\' => if let Some(ch2) = self.next_char() { in parse_word()
75 if let Some(ch2) = self.next_char() { ch = ch2; } else { break; } in parse_word()
82 if let Some(ch2) = self.next_char() { in parse_double()
85 if let Some(ch3) = self.next_char() { in parse_double()
109 if let Some(ch2) = self.next_char() { in parse_single()
120 fn next_char(&mut self) -> Option<u8> { in next_char() method
130 if let Some(mut ch) = self.next_char() { in next()
136 while let Some(ch2) = self.next_char() { in next()
142 if let Some(ch2) = self.next_char() { ch = ch2; } else { return None; } in next()
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h733 auto next_char = is.peek();
734 if (next_char == '-' || next_char == '+') {
849 auto next_char = is.peek();
852 if (next_char != '-' && next_char != '0') {
856 if (next_char == '-') {
859 next_char = is.peek();
862 if (next_char == '0') {
884 while ((next_char = is.peek()) == '0') {
895 if (next_char == '.') {
897 } else if (next_char == 'p') {
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
Dhex_float.h733 auto next_char = is.peek();
734 if (next_char == '-' || next_char == '+') {
849 auto next_char = is.peek();
852 if (next_char != '-' && next_char != '0') {
856 if (next_char == '-') {
859 next_char = is.peek();
862 if (next_char == '0') {
884 while ((next_char = is.peek()) == '0') {
895 if (next_char == '.') {
897 } else if (next_char == 'p') {
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h817 auto next_char = is.peek();
818 if (next_char == '-' || next_char == '+') {
933 auto next_char = is.peek();
936 if (next_char != '-' && next_char != '0') {
940 if (next_char == '-') {
943 next_char = is.peek();
946 if (next_char == '0') {
974 while ((next_char = is.peek()) == '0') {
987 if (next_char == '.') {
989 } else if (next_char == 'p') {
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h817 auto next_char = is.peek();
818 if (next_char == '-' || next_char == '+') {
974 auto next_char = is.peek();
977 if (next_char != '-' && next_char != '0') {
981 if (next_char == '-') {
984 next_char = is.peek();
987 if (next_char == '0') {
1015 while ((next_char = is.peek()) == '0') {
1028 if (next_char == '.') {
1030 } else if (next_char == 'p') {
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dhex_float.h817 auto next_char = is.peek();
818 if (next_char == '-' || next_char == '+') {
974 auto next_char = is.peek();
977 if (next_char != '-' && next_char != '0') {
981 if (next_char == '-') {
984 next_char = is.peek();
987 if (next_char == '0') {
1015 while ((next_char = is.peek()) == '0') {
1028 if (next_char == '.') {
1030 } 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/cronet/base/json/
Djson_parser.cc537 base_icu::UChar32 next_char = 0; in ConsumeStringRaw() local
540 next_char = *c; in ConsumeStringRaw()
542 &next_char) || in ConsumeStringRaw()
543 !IsValidCodepoint(next_char)) { in ConsumeStringRaw()
553 if (next_char == '"') { in ConsumeStringRaw()
558 if (next_char != '\\') { in ConsumeStringRaw()
563 if (next_char <= 0x1F) { in ConsumeStringRaw()
576 if ((next_char == '\r') || (next_char == '\n')) { in ConsumeStringRaw()
581 if ((next_char == '\r') || (input_[index_ - 1] != '\r')) { in ConsumeStringRaw()
586 string.Append(next_char); in ConsumeStringRaw()
/external/icing/icing/query/advanced_query_parser/
Dlexer.cc128 char next_char = PeekNext(1); in ConsumeComparator() local
129 if (next_char == '=') { in ConsumeComparator()
130 tokens_.push_back({{current_char_, next_char}, in ConsumeComparator()
151 char next_char = PeekNext(1); in ConsumeAndOr() local
152 if (current_char_ != next_char) { in ConsumeAndOr()
/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/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/harfbuzz_ng/src/
Dhb-ot-shape-normalize.cc111 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()
199 next_char (buffer, space_glyph); in decompose_current_character()
212 next_char (buffer, other_glyph); in decompose_current_character()
217 next_char (buffer, glyph); /* glyph is initialized in earlier branches. */ in decompose_current_character()
/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.rs112 for next_char in ahead.chars() { in match_sb8()
114 match se::sentence_category(next_char).2 { in match_sb8()
188 for next_char in self.string[self.pos..].chars() { in next()
192 let next_cat = se::sentence_category(next_char).2; in next()
194 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-json-mapping/src/
Drfc_3339.rs309 fn next_char(&mut self, expect: u8) -> Rfc3339ParseResult<()> { in parse_rfc_3339() method
326 parser.next_char(b'-')?; in parse_rfc_3339()
328 parser.next_char(b'-')?; in parse_rfc_3339()
345 parser.next_char(b':')?; in parse_rfc_3339()
347 parser.next_char(b':')?; in parse_rfc_3339()
399 parser.next_char(b':')?; in parse_rfc_3339()
/external/crosvm/serde_keyvalue/src/
Dkey_values.rs112 let next_char = s.chars().next(); in any_separator() localVariable
114 if is_separator(next_char) { in any_separator()
115 let pos = if let Some(c) = next_char { in any_separator()
120 Ok((&s[pos..], next_char)) in any_separator()
299 let _ = self.next_char(); in skip_char()
304 pub fn next_char(&mut self) -> Option<char> { in next_char() method
316 let _ = self.next_char(); in confirm_separator()
538 self.next_char(); in struct_variant()
544 self.next_char(); in struct_variant()
693 self.next_char() in deserialize_char()
[all …]
/external/rust/crates/protobuf/2.27.1/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/rust/crates/protobuf-support/src/lexer/
Dlexer_impl.rs130 fn next_char(&mut self) -> LexerResult<char> { in next_char() method
358 let r = match clone.next_char()? { in next_hex_digit()
445 match self.next_char()? { in next_byte_value()
447 match self.next_char()? { in next_byte_value()
489 match self.next_char()? { in next_json_char_value()
490 '\\' => match self.next_char()? { in next_json_char_value()
/external/crosvm/devices/src/virtio/vhost/user/
Dmod.rs56 if deserializer.next_char() != Some('=') { in from_arg_value()
60 match deserializer.next_char() { in from_arg_value()

12