/third_party/gn/src/base/numerics/ |
H A D | checked_math.h | 56 return state_.is_valid() && in IsValid() 176 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Max() 191 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Min() 200 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs() 233 bool is_valid = in MathOp() local 234 Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp() 236 return CheckedNumeric<T>(result, is_valid); in MathOp() 244 bool is_valid = state_.is_valid() && Wrapper<R>::is_valid(rhs) && MathOp() local 260 CheckedNumeric(Src value, bool is_valid) CheckedNumeric() argument 267 static constexpr bool is_valid(Src) { return true; } is_valid() function 273 static constexpr bool is_valid(const CheckedNumeric<Src> v) { is_valid() function 283 static constexpr bool is_valid(const StrictNumeric<Src>) { return true; } is_valid() function [all...] |
H A D | checked_math_impl.h | 71 bool is_valid = true; in Do() local 75 is_valid = CheckedAddImpl(static_cast<Promotion>(x), in Do() 79 return is_valid && IsValueInRangeForNumericType<V>(presult); in Do() 131 bool is_valid = true; in Do() local 135 is_valid = CheckedSubImpl(static_cast<Promotion>(x), in Do() 139 return is_valid && IsValueInRangeForNumericType<V>(presult); in Do() 187 bool is_valid = true; 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 194 is_valid = CheckedMulImpl(static_cast<Promotion>(x), 198 return is_valid [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
H A D | checked_math.h | 63 return state_.is_valid() && IsValueInRangeForNumericType<Dst>(state_.value()); in IsValid() 157 const bool is_valid = in operator -() local 160 return CheckedNumeric<T>(NegateWrapper(state_.value()), is_valid); in operator -() 192 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs() 229 const bool is_valid = Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp() local 231 return CheckedNumeric<T>(result, is_valid); in MathOp() 240 const bool is_valid = state_.is_valid() in MathOp() local 257 CheckedNumeric(Src value, bool is_valid) CheckedNumeric() argument 265 static constexpr bool is_valid(Src) { return true; } is_valid() function 272 static constexpr bool is_valid(const CheckedNumeric<Src> v) { return v.IsValid(); } is_valid() function 279 static constexpr bool is_valid(const StrictNumeric<Src>) { return true; } is_valid() function [all...] |
H A D | checked_math_impl.h | 80 bool is_valid = true; in Do() local 87 is_valid = in Do() 90 if (!is_valid || !IsValueInRangeForNumericType<V>(presult)) in Do() 149 bool is_valid = true; in Do() local 156 is_valid = in Do() 159 if (!is_valid || !IsValueInRangeForNumericType<V>(presult)) in Do() 216 bool is_valid = true; in Do() local 220 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); in Do() 228 is_valid = in Do() 231 if (!is_valid || !IsValueInRangeForNumericTyp in Do() 579 constexpr bool is_valid() const { return is_valid_; } is_valid() function in angle::base::internal::CheckedNumericState 586 WellDefinedConversionOrZero(Src value, bool is_valid) WellDefinedConversionOrZero() argument 615 constexpr bool is_valid() const is_valid() function in angle::base::internal::CheckedNumericState 628 WellDefinedConversionOrNaN(Src value, bool is_valid) WellDefinedConversionOrNaN() argument [all...] |
/third_party/rust/crates/which-rs/src/ |
H A D | checker.rs | 19 fn is_valid(&self, path: &Path) -> bool { in is_valid() functions 26 fn is_valid(&self, _path: &Path) -> bool { in is_valid() functions 41 fn is_valid(&self, path: &Path) -> bool { in is_valid() functions 51 fn is_valid(&self, path: &Path) -> bool { in is_valid() functions 76 fn is_valid(&self, path: &Path) -> bool { in is_valid() functions 77 self.checkers.iter().all(|checker| checker.is_valid(path)) in is_valid()
|
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | reglist-arm64.h | 30 (regs.is_valid() ? uint64_t{1} << regs.code() : 0))), 34 DCHECK(is_valid()); 39 DCHECK(is_valid()); in CPURegList() 44 DCHECK(is_valid()); in CPURegList() 57 DCHECK(is_valid()); in CPURegList() 66 DCHECK(is_valid()); in set_bits() 145 bool is_valid() const { in is_valid() function in v8::internal::CPURegList
|
/third_party/node/test/tools/ |
H A D | test_checkimports.py | 12 from checkimports import is_valid 32 self.assertEqual(is_valid(path.join(self.fixturesDir, 'invalid.cc')), 46 self.assertEqual(is_valid(path.join(self.fixturesDir, 'maybe.cc')), 53 self.assertEqual(is_valid(path.join(self.fixturesDir, 'unused.cc')), 60 self.assertEqual(is_valid(path.join(self.fixturesDir, 'unsorted.cc')), 71 self.assertEqual(is_valid(path.join(self.fixturesDir, 'valid.cc')),
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | ecp.py | 87 def is_valid(self) -> bool: member in EcpP192R1Raw 166 def is_valid(self) -> bool: member in EcpP224R1Raw 251 def is_valid(self) -> bool: member in EcpP256R1Raw 374 def is_valid(self) -> bool: member in EcpP384R1Raw 480 def is_valid(self) -> bool: member in EcpP521R1Raw 552 def is_valid(self) -> bool: member in EcpP192K1Raw 626 def is_valid(self) -> bool: member in EcpP224K1Raw 702 def is_valid(self) -> bool: member in EcpP256K1Raw 771 def is_valid(self) -> bool: member in EcpP255Raw 870 def is_valid(sel member in EcpP448Raw [all...] |
/third_party/gn/src/gn/ |
H A D | unique_vector.h | 27 bool is_valid() const { return !is_null(); } in is_valid() function 115 if (node->is_valid()) { 127 if (node->is_valid()) { 150 if (node->is_valid()) { 163 if (node->is_valid()) { 214 return Lookup(t, &hash)->is_valid();
|
H A D | pointer_set.h | 44 bool is_valid() const { return !is_null() && !is_tombstone(); } in is_valid() function 102 if (node->is_valid()) in add() 111 bool contains(T* ptr) const { return Lookup(ptr)->is_valid(); } in contains() 117 if (!node->is_valid()) in erase()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | map_field_lite.h | 113 bool (*is_valid)(int), uint32 field_num, in ParseWithEnumValidation() 117 ptr, ctx, is_valid, field_num, metadata); in ParseWithEnumValidation() 132 ptr, ctx, is_valid, field_num, metadata); in _InternalParse() 135 bool (*is_valid)(int); member 145 T* map_field, bool (*is_valid)(int), uint32 field_num, in InitEnumParseWrapper() 147 return EnumParseWrapper<UnknownType, T>{map_field, is_valid, field_num, in InitEnumParseWrapper() 112 ParseWithEnumValidation(const char* ptr, ParseContext* ctx, bool (*is_valid)(int), uint32 field_num, InternalMetadata* metadata) ParseWithEnumValidation() argument 144 InitEnumParseWrapper( T* map_field, bool (*is_valid)(int), uint32 field_num, InternalMetadata* metadata) InitEnumParseWrapper() argument
|
/third_party/node/deps/v8/src/codegen/mips/ |
H A D | assembler-mips.cc | 132 DCHECK(reg.is_valid()); in ToNumber() 1141 DCHECK(rd.is_valid() && rs.is_valid() && rt.is_valid() && is_uint5(sa)); in GenInstrRegister() 1150 DCHECK(rs.is_valid() && rt.is_valid() && is_uint5(msb) && is_uint5(lsb)); in GenInstrRegister() 1159 DCHECK(fd.is_valid() && fs.is_valid() && ft.is_valid()); in GenInstrRegister() 1168 DCHECK(fd.is_valid() in GenInstrRegister() [all...] |
H A D | register-mips.h | 217 bool is_valid() const { return reg_code == kFCSRRegister; } in is_valid() function 220 DCHECK(is_valid()); in code() 224 DCHECK(is_valid()); in bit() 229 DCHECK(is_valid()); in setcode() 240 bool is_valid() const { in is_valid() function 245 DCHECK(is_valid()); in code() 249 DCHECK(is_valid()); in bit() 254 DCHECK(is_valid()); in setcode()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | register-base.h | 41 constexpr bool is_valid() const { return reg_code_ != kCode_no_reg; } in is_valid() function in v8::internal::RegisterBase 44 DCHECK(is_valid()); in code() 79 return reg.is_valid() ? Names[reg.code()] : "invalid"; \
|
/third_party/skia/src/core/ |
H A D | SkMallocPixelRef.cpp | 14 static bool is_valid(const SkImageInfo& info) { in is_valid() function 30 if (!is_valid(info) || !info.validRowBytes(rowBytes)) { in MakeAllocate() 58 if (!is_valid(info)) { in MakeWithData()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_repair_ssa.c | 72 bool is_valid = true; in repair_ssa_def() local 76 is_valid = false; in repair_ssa_def() 86 is_valid = false; in repair_ssa_def() 91 if (is_valid) in repair_ssa_def()
|
/third_party/rust/crates/bindgen/bindgen/ |
H A D | clang.rs | 174 if sp == *self || !sp.is_valid() { in fallible_semantic_parent() 229 assert!(self.is_valid()); in translation_unit() 235 assert!(cursor.is_valid()); in translation_unit() 369 pub fn is_valid(&self) -> bool { in is_valid() functions 426 if ret.is_valid() && ret.kind() != CXCursor_NoDeclFound { in definition() 442 if ret.is_valid() { in referenced() 471 if ret.is_valid() { in specialized() 633 if t.is_valid() { in enum_type() 726 if inner.is_valid() { in typedef_type() 845 if rt.is_valid() { in ret_type() 1402 pub fn is_valid(&self) -> bool { is_valid() functions [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_session.c | 1353 Boolean is_valid; in fst_test_req_send_fst_request() local 1365 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_fst_request() 1366 if (!is_valid) in fst_test_req_send_fst_request() 1405 Boolean is_valid; in fst_test_req_send_fst_response() local 1419 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_fst_response() 1420 if (!is_valid) in fst_test_req_send_fst_response() 1480 Boolean is_valid; in fst_test_req_send_ack_request() local 1489 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_ack_request() 1490 if (!is_valid) in fst_test_req_send_ack_request() 1508 Boolean is_valid; in fst_test_req_send_ack_response() local 1536 Boolean is_valid; fst_test_req_send_tear_down() local 1563 Boolean is_valid; fst_test_req_get_fsts_id() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
H A D | fst_session.c | 1353 bool is_valid; in fst_test_req_send_fst_request() local 1365 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_fst_request() 1366 if (!is_valid) in fst_test_req_send_fst_request() 1405 bool is_valid; in fst_test_req_send_fst_response() local 1419 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_fst_response() 1420 if (!is_valid) in fst_test_req_send_fst_response() 1480 bool is_valid; in fst_test_req_send_ack_request() local 1489 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_ack_request() 1490 if (!is_valid) in fst_test_req_send_ack_request() 1508 bool is_valid; in fst_test_req_send_ack_response() local 1536 bool is_valid; fst_test_req_send_tear_down() local 1563 bool is_valid; fst_test_req_get_fsts_id() local [all...] |
/third_party/node/deps/v8/src/codegen/mips64/ |
H A D | register-mips64.h | 228 bool is_valid() const { return reg_code == kFCSRRegister; } in is_valid() function 231 DCHECK(is_valid()); in code() 235 DCHECK(is_valid()); in bit() 240 DCHECK(is_valid()); in setcode() 251 bool is_valid() const { in is_valid() function 256 DCHECK(is_valid()); in code() 260 DCHECK(is_valid()); in bit() 265 DCHECK(is_valid()); in setcode()
|
H A D | assembler-mips64.cc | 108 DCHECK(reg.is_valid()); in ToNumber() 1070 DCHECK(rd.is_valid() && rs.is_valid() && rt.is_valid() && is_uint5(sa)); in GenInstrRegister() 1079 DCHECK(rs.is_valid() && rt.is_valid() && is_uint5(msb) && is_uint5(lsb)); in GenInstrRegister() 1088 DCHECK(fd.is_valid() && fs.is_valid() && ft.is_valid()); in GenInstrRegister() 1097 DCHECK(fd.is_valid() in GenInstrRegister() [all...] |
/third_party/gn/src/util/test/ |
H A D | gn_test.cc | 105 if (is_valid()) in ~ScopedEnableVTEscapeProcessing() 109 bool is_valid() const { return console_ != INVALID_HANDLE_VALUE; } in is_valid() function 147 if (enable_vt_processing.is_valid()) in main()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-register.cc | 110 if (reg3.is_valid() && reg2.index() + 1 != reg3.index()) { in AreContiguous() 113 if (reg4.is_valid() && reg3.index() + 1 != reg4.index()) { in AreContiguous() 116 if (reg5.is_valid() && reg4.index() + 1 != reg5.index()) { in AreContiguous()
|
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | register-arm.h | 120 DCHECK(from_code(reg_code).is_valid()); in split_code() 126 DCHECK(is_valid()); in ToVfpRegList() 160 DCHECK(from_code(reg_code).is_valid()); in split_code() 166 DCHECK(is_valid()); in ToVfpRegList() 194 DCHECK(is_valid()); in ToVfpRegList() 215 DCHECK(from_code(reg_code).is_valid()); in split_code() 226 DCHECK(is_valid()); in ToVfpRegList()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cFramebufferNoAttachmentsTests.cpp | 280 bool is_valid = false; in iterate() local 285 is_valid = true; in iterate() 290 if (is_valid) in iterate() 367 bool is_valid = false; in iterate() local 372 is_valid = true; in iterate() 382 is_valid = true; in iterate() 387 if (is_valid) in iterate()
|