/third_party/mbedtls/tests/src/ |
D | threading_helpers.c | 116 if (mutex->is_valid) { in mbedtls_test_wrap_mutex_init() 123 switch (mutex->is_valid) { in mbedtls_test_wrap_mutex_free() 138 if (mutex->is_valid) { in mbedtls_test_wrap_mutex_free() 147 switch (mutex->is_valid) { in mbedtls_test_wrap_mutex_lock() 153 mutex->is_valid = 2; in mbedtls_test_wrap_mutex_lock() 169 switch (mutex->is_valid) { in mbedtls_test_wrap_mutex_unlock() 178 mutex->is_valid = MUTEX_IDLE; in mbedtls_test_wrap_mutex_unlock()
|
/third_party/gn/src/base/numerics/ |
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) && in MathOp() local 246 *this = CheckedNumeric<T>(result, is_valid); in MathOp() 260 constexpr CheckedNumeric(Src value, bool is_valid) in CheckedNumeric() argument [all …]
|
D | checked_math_impl.h | 71 bool is_valid = true; 75 is_valid = CheckedAddImpl(static_cast<Promotion>(x), 79 return is_valid && IsValueInRangeForNumericType<V>(presult); 131 bool is_valid = true; 135 is_valid = CheckedSubImpl(static_cast<Promotion>(x), 139 return is_valid && IsValueInRangeForNumericType<V>(presult); 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 && IsValueInRangeForNumericType<V>(presult); [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
D | checked_math.h | 63 return state_.is_valid() && IsValueInRangeForNumericType<Dst>(state_.value()); in IsValid() 157 const bool is_valid = variable 160 return CheckedNumeric<T>(NegateWrapper(state_.value()), is_valid); 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() && Wrapper<R>::is_valid(rhs) && in MathOp() local 242 *this = CheckedNumeric<T>(result, is_valid); in MathOp() 257 constexpr CheckedNumeric(Src value, bool is_valid) : state_(value, is_valid) in CheckedNumeric() argument 265 static constexpr bool is_valid(Src) { return true; } in is_valid() function [all …]
|
D | checked_math_impl.h | 80 bool is_valid = true; 87 is_valid = 90 if (!is_valid || !IsValueInRangeForNumericType<V>(presult)) 149 bool is_valid = true; 156 is_valid = 159 if (!is_valid || !IsValueInRangeForNumericType<V>(presult)) 216 bool is_valid = true; 220 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 228 is_valid = 231 if (!is_valid || !IsValueInRangeForNumericType<V>(presult)) [all …]
|
/third_party/rust/crates/which-rs/src/ |
D | checker.rs | 19 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 26 fn is_valid(&self, _path: &Path) -> bool { in is_valid() method 41 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 51 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 76 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 77 self.checkers.iter().all(|checker| checker.is_valid(path)) in is_valid()
|
/third_party/node/test/tools/ |
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/node/deps/v8/src/codegen/arm64/ |
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
|
/third_party/mbedtls/library/ |
D | threading.c | 77 mutex->is_valid = pthread_mutex_init(&mutex->mutex, NULL) == 0; in threading_mutex_init_pthread() 82 if (mutex == NULL || !mutex->is_valid) { in threading_mutex_free_pthread() 87 mutex->is_valid = 0; in threading_mutex_free_pthread() 92 if (mutex == NULL || !mutex->is_valid) { in threading_mutex_lock_pthread() 105 if (mutex == NULL || !mutex->is_valid) { in threading_mutex_unlock_pthread()
|
/third_party/protobuf/src/google/protobuf/ |
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()
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
D | ecp.py | 78 def is_valid(self) -> bool: member in EcpP192R1Raw 144 def is_valid(self) -> bool: member in EcpP224R1Raw 217 def is_valid(self) -> bool: member in EcpP256R1Raw 309 def is_valid(self) -> bool: member in EcpP521R1Raw
|
/third_party/gn/src/gn/ |
D | unique_vector.h | 27 bool is_valid() const { return !is_null(); } in is_valid() function 115 if (node->is_valid()) { in push_back() 127 if (node->is_valid()) { in push_back() 150 if (node->is_valid()) { in PushBackWithIndex() 163 if (node->is_valid()) { in PushBackWithIndex() 214 return Lookup(t, &hash)->is_valid(); in Contains()
|
D | pointer_set.h | 42 bool is_valid() const { return !is_null() && !is_tombstone(); } in is_valid() function 100 if (node->is_valid()) in add() 109 bool contains(T* ptr) const { return Lookup(ptr)->is_valid(); } in contains() 115 if (!node->is_valid()) in erase()
|
/third_party/node/deps/v8/src/codegen/mips/ |
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()
|
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() && fr.is_valid() && fs.is_valid() && ft.is_valid()); in GenInstrRegister() 1177 DCHECK(fd.is_valid() && fs.is_valid() && rt.is_valid()); in GenInstrRegister() 1185 DCHECK(fs.is_valid() && rt.is_valid()); in GenInstrRegister() 1196 DCHECK(rs.is_valid() && rt.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate() 1205 DCHECK(base.is_valid() && rt.is_valid() && is_int9(offset9) && in GenInstrImmediate() 1216 DCHECK(rs.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate() [all …]
|
/third_party/node/deps/v8/src/codegen/mips64/ |
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()
|
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() && fr.is_valid() && fs.is_valid() && ft.is_valid()); in GenInstrRegister() 1106 DCHECK(fd.is_valid() && fs.is_valid() && rt.is_valid()); in GenInstrRegister() 1114 DCHECK(fs.is_valid() && rt.is_valid()); in GenInstrRegister() 1125 DCHECK(rs.is_valid() && rt.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate() 1134 DCHECK(base.is_valid() && rt.is_valid() && is_int9(offset9) && in GenInstrImmediate() 1145 DCHECK(rs.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate() [all …]
|
/third_party/node/deps/v8/src/codegen/ |
D | register-base.h | 41 constexpr bool is_valid() const { return reg_code_ != kCode_no_reg; } in is_valid() function 44 DCHECK(is_valid()); in code() 79 return reg.is_valid() ? Names[reg.code()] : "invalid"; \
|
/third_party/mesa3d/src/compiler/nir/ |
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/skia/src/core/ |
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/rust/crates/bindgen/bindgen/ |
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() method 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() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
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 [all …]
|
/third_party/cef/libcef/browser/net_service/ |
D | cookie_manager_impl.cc | 165 if (!gurl.is_valid()) in VisitUrlCookies() 182 if (!gurl.is_valid()) in SetCookie() 201 if (!gurl.is_empty() && !gurl.is_valid()) in DeleteCookies() 247 DCHECK(url.is_valid()); in VisitUrlCookiesInternal() 271 DCHECK(url.is_valid()); in SetCookieInternal() 323 DCHECK(url.is_empty() || url.is_valid()); in DeleteCookiesInternal()
|
/third_party/node/deps/v8/src/interpreter/ |
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/riscv64/ |
D | assembler-riscv64.cc | 86 DCHECK(reg.is_valid()); in ToNumber() 819 DCHECK(is_uint7(funct7) && is_uint3(funct3) && rd.is_valid() && in GenInstrR() 820 rs1.is_valid() && rs2.is_valid()); in GenInstrR() 829 DCHECK(is_uint7(funct7) && is_uint3(funct3) && rd.is_valid() && in GenInstrR() 830 rs1.is_valid() && rs2.is_valid()); in GenInstrR() 839 DCHECK(is_uint7(funct7) && is_uint3(funct3) && rd.is_valid() && in GenInstrR() 840 rs1.is_valid() && rs2.is_valid()); in GenInstrR() 849 DCHECK(is_uint7(funct7) && is_uint3(funct3) && rd.is_valid() && in GenInstrR() 850 rs1.is_valid() && rs2.is_valid()); in GenInstrR() 859 DCHECK(is_uint7(funct7) && is_uint3(funct3) && rd.is_valid() && in GenInstrR() [all …]
|