Home
last modified time | relevance | path

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

/third_party/protobuf/php/src/Google/Protobuf/Internal/
DGPBUtil.php113 if (is_numeric($var)) {
122 if (is_numeric($var)) {
139 if (is_numeric($var)) {
157 if (is_numeric($var)) {
170 if (is_float($var) || is_numeric($var)) {
179 if (is_float($var) || is_numeric($var)) {
425 if (!is_numeric($timestamp[$i])) {
DRepeatedField.php192 if (!is_numeric($offset) || $offset < 0 || $offset >= $count) {
216 if (!is_numeric($offset) || $count === 0 || $offset !== $count - 1) {
DMessage.php885 if (is_numeric($value)) {
946 if (!is_numeric($value)) {
968 if (!is_numeric($value)) {
987 if (!is_numeric($value)) {
1009 if (!is_numeric($value)) {
/third_party/node/deps/v8/src/base/
Dsafe_conversions_impl.h589 static const bool is_numeric = std::is_arithmetic<type>::value;
598 static const bool is_numeric = true;
607 static const bool is_numeric = true;
616 static const bool is_numeric = true;
625 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
632 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
640 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
Dsafe_conversions.h230 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric.");
/third_party/gn/src/base/numerics/
Dsafe_conversions_impl.h609 static const bool is_numeric = std::is_arithmetic<type>::value;
618 static const bool is_numeric = true;
627 static const bool is_numeric = true;
636 static const bool is_numeric = true;
645 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
652 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
660 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
Dsafe_conversions.h206 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric.");
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_conversions_impl.h635 static const bool is_numeric = std::is_arithmetic<type>::value;
645 static const bool is_numeric = true;
655 static const bool is_numeric = true;
665 static const bool is_numeric = true;
674 static const bool value = UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
681 static const bool value = UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
689 static const bool value = UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
Dsafe_conversions.h234 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric.");
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_parsed_ir.cpp148 static bool is_numeric(char c) in is_numeric() function
155 return is_alpha(c) || is_numeric(c); in is_alphanumeric()
163 if (is_numeric(name[0])) in is_valid_identifier()
209 while (index < name.size() && is_numeric(name[index])) in is_reserved_identifier()
222 if (name[0] != '_' || !is_numeric(name[1])) in is_reserved_identifier()
226 while (index < name.size() && is_numeric(name[index])) in is_reserved_identifier()
285 if (is_numeric(str[0])) in ensure_valid_identifier()
/third_party/skia/src/utils/
DSkJSON.cpp264 static inline bool is_numeric(char c) { return g_token_flags[static_cast<uint8_t>(c)] & 0x10; } in is_numeric() function
752 if (is_numeric(*p) || !decimal_scale) { in matchFastFloatDecimalPart()
771 if (!is_numeric(*p)) { in matchFastFloatPart()
804 if (!is_numeric(*p)) { in matchFast32OrFloat()
825 if (!is_numeric(*p)) { in matchFast32OrFloat()
/third_party/node/deps/v8/src/wasm/
Dwasm-value.h118 DCHECK(type_.is_numeric());
149 DCHECK(type_.is_numeric()); in CopyTo()
Dvalue-type.h191 constexpr bool is_numeric(ValueKind kind) { in is_numeric() function
333 constexpr bool is_numeric() const { return wasm::is_numeric(kind()); } in is_numeric() function
Dinit-expr-interface.cc108 global.type.is_numeric() in GlobalGet()
Dmodule-instantiate.cc1046 if (global.type.is_numeric()) { in WriteGlobalValue()
/third_party/qrcodegen/python/
Dqrcodegen.py691 if not QrSegment.is_numeric(digits):
727 elif QrSegment.is_numeric(text):
758 def is_numeric(text: str) -> bool: member in QrSegment
/third_party/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp269 (type->fields.array->is_numeric() || in try_mark_partial_variable()
Dast_to_hir.cpp326 if (!to->is_numeric() || !from->type->is_numeric()) in apply_implicit_conversion()
360 if (!type_a->is_numeric() || !type_b->is_numeric()) { in arithmetic_result_type()
499 if (!type->is_numeric()) { in unary_arithmetic_result_type()
685 if (!type_a->is_numeric() in relational_result_type()
686 || !type_b->is_numeric() in relational_result_type()
4679 if (var->type->is_numeric()) { in process_initializer()
4691 if (var->type->is_numeric()) { in process_initializer()
5360 (var->type->is_numeric() || var->type->is_boolean())) { in hir()
5952 (var->type->is_numeric() || var->type->is_boolean())) { in hir()
Dast_function.cpp565 if (formal->type->is_numeric() || formal->type->is_boolean()) { in generate_call()
2099 return type->is_numeric() || type->is_boolean() || in is_valid_constructor()
/third_party/qrcodegen/rust/src/
Dlib.rs1045 if QrSegment::is_numeric(text) { in make_segments()
1132 pub fn is_numeric(text: &str) -> bool { in is_numeric() method
/third_party/mesa3d/src/compiler/
Dglsl_types.h757 bool is_numeric() const in is_numeric() function
Dnir_types.cpp424 return type->is_numeric(); in glsl_type_is_numeric()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs178 …let seg: QrSegment = if QrSegment::is_numeric(text) && QrSegment::calc_buffer_size(Numeric, textle… in encode_text()
1272 pub fn is_numeric(text: &str) -> bool { in is_numeric() method
/third_party/node/deps/v8/src/heap/
Dfactory.cc1651 if (type->element_type().is_numeric()) { in NewWasmArrayFromElements()
1673 DCHECK(element_type.is_numeric()); in NewWasmArrayFromMemory()
1698 if (type->field(i).is_numeric()) { in NewWasmStruct()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs3753 assert_eq!("qwer123zxc789".replacen(char::is_numeric, "", 3), "qwerzxc789"); in test_replacen()
4282 assert_eq!("123foo1bar123".trim_start_matches(|c: char| c.is_numeric()), "foo1bar123"); in test_trim_start_matches()
4297 assert_eq!("123foo1bar123".trim_end_matches(|c: char| c.is_numeric()), "123foo1bar"); in test_trim_end_matches()
4312 assert_eq!("123foo1bar123".trim_matches(|c: char| c.is_numeric()), "foo1bar"); in test_trim_matches()
5435 ("a1b2c3", char::is_numeric) -> ["1", "2", "3"];
5442 ("a1b2c3", char::is_numeric) -> [(1, "1"), (3, "2"), (5, "3")];