/external/libchrome/base/numerics/ |
D | checked_math_impl.h | 65 if (BASE_NUMERICS_UNLIKELY(!IsValueInRangeForNumericType<Promotion>(x) || 66 !IsValueInRangeForNumericType<Promotion>(y))) { 79 return is_valid && IsValueInRangeForNumericType<V>(presult); 125 if (BASE_NUMERICS_UNLIKELY(!IsValueInRangeForNumericType<Promotion>(x) || 126 !IsValueInRangeForNumericType<Promotion>(y))) { 139 return is_valid && IsValueInRangeForNumericType<V>(presult); 180 if (BASE_NUMERICS_UNLIKELY((!IsValueInRangeForNumericType<Promotion>(x) || 181 !IsValueInRangeForNumericType<Promotion>(y)) && 198 return is_valid && IsValueInRangeForNumericType<V>(presult); 231 if (BASE_NUMERICS_UNLIKELY((!IsValueInRangeForNumericType<Promotion>(x) || [all …]
|
D | safe_conversions.h | 88 constexpr bool IsValueInRangeForNumericType(Src value) { 108 return BASE_NUMERICS_LIKELY((IsValueInRangeForNumericType<Dst>(value))) 179 return BASE_NUMERICS_LIKELY(IsValueInRangeForNumericType<Dst>(value)) 335 using internal::IsValueInRangeForNumericType;
|
D | safe_math_arm_impl.h | 40 return IsValueInRangeForNumericType<V>(presult); in Do()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math_impl.h | 91 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 92 IsValueInRangeForNumericType<Promotion>(y); 101 return is_valid && IsValueInRangeForNumericType<V>(presult); 142 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 143 IsValueInRangeForNumericType<Promotion>(y); 152 return is_valid && IsValueInRangeForNumericType<V>(presult); 211 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 212 IsValueInRangeForNumericType<Promotion>(y); 221 return is_valid && IsValueInRangeForNumericType<V>(presult); 256 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && [all …]
|
D | safe_conversions.h | 54 constexpr bool IsValueInRangeForNumericType(Src value) { in IsValueInRangeForNumericType() function 79 return IsValueInRangeForNumericType<Dst, SrcType>(value) in checked_cast()
|
/external/libchrome/ui/gfx/geometry/ |
D | rect.h | 280 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosingRect() 282 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosingRect() 284 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosingRect() 286 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosingRect() 324 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosedRect() 326 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosedRect() 328 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosedRect() 330 DCHECK(base::IsValueInRangeForNumericType<int>( in ScaleToEnclosedRect() 356 base::IsValueInRangeForNumericType<int>(std::round(rect.x() * x_scale))); in ScaleToRoundedRect() 358 base::IsValueInRangeForNumericType<int>(std::round(rect.y() * y_scale))); in ScaleToRoundedRect() [all …]
|
/external/v8/src/base/ |
D | safe_conversions.h | 21 inline bool IsValueInRangeForNumericType(Src value) { in IsValueInRangeForNumericType() function 31 CHECK(IsValueInRangeForNumericType<Dst>(value)); in checked_cast()
|
/external/webrtc/webrtc/base/ |
D | safe_conversions.h | 26 inline bool IsValueInRangeForNumericType(Src value) { in IsValueInRangeForNumericType() function 35 RTC_CHECK(IsValueInRangeForNumericType<Dst>(value)); in checked_cast()
|
D | rtccertificate_unittests.cc | 70 RTC_CHECK(IsValueInRangeForNumericType<time_t>(expires_s)); in GenerateCertificateWithExpires()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_cross_ref_avail.cpp | 156 pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>(xrefpos)) in CheckCrossRefV4Trailer() 162 pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>( in CheckCrossRefV4Trailer() 193 pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>(xrefpos)) in CheckCrossRefStream()
|
D | cpdf_hint_tables.cpp | 70 !pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>(nStreamLen)) { in ReadPageHintTable() 92 if (!pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>(dwFirstObjLoc)) in ReadPageHintTable() 388 if (!pdfium::base::IsValueInRangeForNumericType<uint32_t>(nFirstPageNum)) in GetPagePos() 409 if (!pdfium::base::IsValueInRangeForNumericType<uint32_t>(nFirstPageNum)) in CheckPage()
|
D | cpdf_linearized_header.cpp | 35 if (!pdfium::base::IsValueInRangeForNumericType<T>(raw_value)) in IsValidNumericDictionaryValue()
|
/external/libchrome/base/files/ |
D | memory_mapped_file_posix.cc | 43 if (!IsValueInRangeForNumericType<size_t>(file_len)) in MapFileRegionToMemory() 62 !IsValueInRangeForNumericType<off_t>(aligned_start)) { in MapFileRegionToMemory()
|
D | memory_mapped_file.cc | 123 DCHECK(IsValueInRangeForNumericType<int32_t>(mask)); in CalculateVMAlignedBoundaries()
|
D | important_file_writer.cc | 253 if (!IsValueInRangeForNumericType<int32_t>(data->length())) { in WriteNow()
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | buffer.cc | 64 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(additional_bytes)); in Allocate() 111 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(additional_bytes)); in Seal()
|
D | message.cc | 90 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(total_size)); in CreateSerializedMessageObject() 92 base::IsValueInRangeForNumericType<uint32_t>(handles->size())); in CreateSerializedMessageObject() 308 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(num_bytes)); in payload_num_bytes()
|
D | serialization.h | 112 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(data_num_bytes));
|
/external/libchrome/mojo/public/cpp/system/ |
D | invitation.cc | 120 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(name.size())); in AttachMessagePipe() 137 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(name.size())); in ExtractMessagePipe() 271 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(name.size())); in ExtractMessagePipe()
|
D | message.h | 94 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(error.size())); in NotifyBadMessage()
|
D | file_data_pipe_producer.cc | 162 DCHECK(base::IsValueInRangeForNumericType<int>(size)); in TransferSomeBytes()
|
D | platform_handle.cc | 305 DCHECK(base::IsValueInRangeForNumericType<size_t>(num_bytes)); in UnwrapSharedMemoryHandle()
|
/external/libchrome/mojo/core/ |
D | channel.cc | 127 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(size_)); in Message() 130 DCHECK(base::IsValueInRangeForNumericType<uint16_t>(header_size + in Message() 302 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(size_)); in ExtendPayload()
|
/external/libchrome/mojo/core/ports/ |
D | event.cc | 211 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(ports_.size())); in SerializeData()
|
/external/libchrome/base/json/ |
D | json_parser.cc | 85 if (!base::IsValueInRangeForNumericType<int32_t>(input.length())) { in Parse()
|