Home
last modified time | relevance | path

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

12

/third_party/skia/src/utils/
DSkParse.cpp23 static inline bool is_digit(int c) in is_digit() function
35 if (is_digit(c)) in to_hex()
149 if (!is_digit(*str)) in FindS32()
153 while (is_digit(*str)) in FindS32()
175 if (!is_digit(*str)) in FindMSec()
179 while (is_digit(*str)) in FindMSec()
187 while (is_digit(*str)) in FindMSec()
DSkJSON.cpp263 static inline bool is_digit(char c) { return g_token_flags[static_cast<uint8_t>(c)] & 0x08; } in is_digit() function
745 if (!is_digit(*p)) break; in matchFastFloatDecimalPart()
747 if (!is_digit(*p)) break; in matchFastFloatDecimalPart()
765 if (!is_digit(*p)) break; in matchFastFloatPart()
767 if (!is_digit(*p)) break; in matchFastFloatPart()
796 if (is_digit(*p)) { in matchFast32OrFloat()
799 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat()
819 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat()
821 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat()
DSkParsePath.cpp18 static inline bool is_digit(int c) { in is_digit() function
110 if (is_digit(ch) || ch == '-' || ch == '+' || ch == '.') { in FromSVGString()
/third_party/icu/icu4c/source/tools/tzcode/
Dscheck.c39 if (is_digit(*fp)) { in scheck()
44 } while (is_digit(c)); in scheck()
Dprivate.h113 #define is_digit(c) ((unsigned)(c) - '0' <= 9) macro
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dscheck.c39 if (is_digit(*fp)) { in scheck()
44 } while (is_digit(c)); in scheck()
Dprivate.h113 #define is_digit(c) ((unsigned)(c) - '0' <= 9) macro
Dlocaltime.c653 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' && in getzname()
691 if (strp == NULL || !is_digit(c = *strp)) in getnum()
699 } while (is_digit(c)); in getnum()
806 } else if (is_digit(*strp)) { in getrule()
/third_party/rust/crates/nom/src/character/
Dmod.rs35 pub fn is_digit(chr: u8) -> bool { in is_digit() function
83 is_alphabetic(chr) || is_digit(chr) in is_alphanumeric()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_text.c50 static boolean is_digit( const char *cur ) in is_digit() function
57 return is_digit( cur ) || is_alpha_underscore( cur ); in is_digit_alpha_underscore()
184 if (is_digit( cur )) { in parse_uint()
186 while (is_digit( cur )) in parse_uint()
217 while (is_alpha_underscore( cur ) || is_digit( cur )) { in parse_identifier()
248 if (is_digit( cur )) { in parse_float()
251 while (is_digit( cur )) in parse_float()
256 if (is_digit( cur )) { in parse_float()
259 while (is_digit( cur )) in parse_float()
269 if (is_digit( cur )) { in parse_float()
[all …]
/third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/
D_common.rs36 fn is_digit(c: u8) -> bool { in is_digit() function
53 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/rust/crates/minimal-lexical/examples/
Dsimple.rs78 fn is_digit(c: u8) -> bool { in is_digit() function
95 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
D_common.rs50 fn is_digit(c: u8) -> bool { in is_digit() function
67 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc123 bool Lexer::is_digit(char ch) const { in is_digit() function in tint::reader::wgsl::Lexer
128 return is_alpha(ch) || is_digit(ch) || ch == '_'; in is_alphanum_underscore()
234 while (end < len_ && is_digit(content_->data[end])) { in try_float()
245 while (end < len_ && is_digit(content_->data[end])) { in try_float()
691 if (end >= len_ || !is_digit(content_->data[end])) { in try_integer()
700 if (content_->data[first] == '0' && is_digit(content_->data[next])) { in try_integer()
708 while (end < len_ && is_digit(content_->data[end])) { in try_integer()
Dlexer.h80 bool is_digit(char ch) const;
/third_party/rust/crates/minimal-lexical/fuzz/fuzz_targets/
Dparse.rs31 fn is_digit(c: u8) -> bool { in is_digit() function
48 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/
Dmain.rs43 fn is_digit(c: u8) -> bool { in is_digit() function
60 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/rust/crates/minimal-lexical/tests/
Dintegration_tests.rs31 fn is_digit(c: u8) -> bool { in is_digit() function
48 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dmain.rs50 fn is_digit(c: u8) -> bool { in is_digit() function
67 while index < digits.len() && is_digit(digits[index]) { in consume_digits()
/third_party/pulseaudio/src/pulsecore/
Djson.c85 static bool is_digit(char c) { in is_digit() function
234 while (is_digit(*s)) { in parse_number()
251 while (is_digit(*s)) { in parse_number()
270 while (is_digit(*s)) { in parse_number()
431 } else if (is_digit(*str) || *str == '-') { in parse_value()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dtaxonomy.c36 int is_digit = s >= '0' && s <= '9'; in no_mischief_strncpy() local
38 if (is_lower || is_upper || is_digit) { in no_mischief_strncpy()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dtaxonomy.c36 int is_digit = s >= '0' && s <= '9'; in no_mischief_strncpy() local
38 if (is_lower || is_upper || is_digit) { in no_mischief_strncpy()
/third_party/rust/crates/nom/tests/
Dcss.rs18 c.is_digit(16) in is_hex_digit()
/third_party/tzdata/
Dlocaltime.c831 is_digit(char c) in is_digit() function
847 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' && in getzname()
886 if (strp == NULL || !is_digit(c = *strp)) in getnum()
894 } while (is_digit(c)); in getnum()
1002 } else if (is_digit(*strp)) { in getrule()
/third_party/rust/crates/clang-sys/src/
Dsupport.rs200 .take_while(|c| c.is_digit(10)) in parse_version_number()

12