HomeSort by relevance Sort by last modified time
    Searched refs:CheckedNumeric (Results 1 - 25 of 49) sorted by null

1 2

  /external/pdfium/core/fxcrt/
fx_safe_types.h 13 typedef pdfium::base::CheckedNumeric<uint32_t> FX_SAFE_UINT32;
14 typedef pdfium::base::CheckedNumeric<int32_t> FX_SAFE_INT32;
15 typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
16 typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE;
cfx_seekablestreamproxy.cpp 190 pdfium::base::CheckedNumeric<FX_FILESIZE> new_pos = m_iPosition;
220 pdfium::base::CheckedNumeric<FX_FILESIZE> new_pos = m_iPosition;
281 pdfium::base::CheckedNumeric<FX_FILESIZE> new_pos = m_iPosition;
string_data_template.h 25 pdfium::base::CheckedNumeric<size_t> nSize = nLen;
fx_string.cpp 99 pdfium::base::CheckedNumeric<uint32_t> integer = 0;
  /external/v8/src/base/
safe_math.h 17 // CheckedNumeric implements all the logic and operators for detecting integer
19 // The CheckedNumeric type implicitly converts from floating point and integer
23 // The following methods convert from CheckedNumeric to standard numeric values:
31 // only for floating point CheckedNumeric types).
39 // CheckedNumeric<int> checked_int = untrusted_input_value;
42 // CheckedNumeric<size_t> checked_size;
43 // CheckedNumeric<int> checked_size = untrusted_input_value;
48 class CheckedNumeric {
52 CheckedNumeric() {}
56 CheckedNumeric(const CheckedNumeric<Src>& rhs
    [all...]
bits.cc 75 int64_t FromCheckedNumeric(const internal::CheckedNumeric<int64_t> value) {
91 internal::CheckedNumeric<int64_t> rv(lhs);
98 internal::CheckedNumeric<int64_t> rv(lhs);
104 internal::CheckedNumeric<int32_t> rv(lhs);
112 internal::CheckedNumeric<int64_t> rv(lhs);
  /external/libchrome/base/numerics/
checked_math.h 19 class CheckedNumeric {
21 "CheckedNumeric<T>: T must be a numeric type.");
26 constexpr CheckedNumeric() = default;
30 constexpr CheckedNumeric(const CheckedNumeric<Src>& rhs)
34 friend class CheckedNumeric;
39 constexpr CheckedNumeric(Src value) // NOLINT(runtime/explicit)
47 constexpr CheckedNumeric(
51 // IsValid() - The public API to test if a CheckedNumeric is currently valid.
105 // CheckedNumeric. If the current state is invalid or the destination canno
    [all...]
  /external/pdfium/third_party/base/numerics/
safe_math.h 19 // CheckedNumeric<> implements all the logic and operators for detecting integer
21 // The CheckedNumeric type implicitly converts from floating point and integer
29 // standard arithmetic or CheckedNumeric types, perform arithmetic operations,
30 // and return a CheckedNumeric result. The supported functions are:
46 // CheckedNumeric as a result of the operation:
57 // The following methods convert from CheckedNumeric to standard numeric values:
80 // between arithmetic types and CheckedNumeric types:
81 // CheckedNumeric::Cast<Dst>() - Instance method returning a CheckedNumeric
82 // derived from casting the current instance to a CheckedNumeric o
    [all...]
  /external/libbrillo/brillo/
backoff_entry.cc 132 // accounted for. Both cases are handled by using CheckedNumeric<int64_t> to
141 base::internal::CheckedNumeric<int64_t> calculated_release_time_us =
147 base::internal::CheckedNumeric<int64_t> maximum_release_time_us = kMaxTime;
  /external/pdfium/third_party/agg23/
agg_clip_liang_barsky.h 41 pdfium::base::CheckedNumeric<float> width = x2;
45 pdfium::base::CheckedNumeric<float> height = y2;
  /external/libchrome/base/
base64url.cc 81 CheckedNumeric<size_t> base64_input_size = input.size();
  /external/libchrome/base/time/
time_exploded_posix.cc 169 CheckedNumeric<int> month = exploded.month;
171 CheckedNumeric<int> year = exploded.year;
262 base::CheckedNumeric<int64_t> checked_millis = seconds;
273 base::CheckedNumeric<int64_t> checked_microseconds_win_epoch = milliseconds;
time_now_posix.cc 37 base::CheckedNumeric<int64_t> result(ts.tv_sec);
  /external/libchrome/ui/gfx/geometry/
size.cc 54 base::CheckedNumeric<int> Size::GetCheckedArea() const {
55 base::CheckedNumeric<int> checked_area = width();
size.h 53 base::CheckedNumeric<int> GetCheckedArea() const;
  /external/pdfium/core/fxcodec/jbig2/
JBig2_HuffmanTable.cpp 68 pdfium::base::CheckedNumeric<int> cur_low = low;
124 pdfium::base::CheckedNumeric<int> shifted;
JBig2_ArithIntDecoder.cpp 70 pdfium::base::CheckedNumeric<int> safeValue =
  /external/pdfium/fpdfsdk/
fpdf_structtree.cpp 61 pdfium::base::CheckedNumeric<int> tmp_size = tree->CountTopElements();
119 pdfium::base::CheckedNumeric<int> tmp_size = elem->CountKids();
  /external/pdfium/fxbarcode/
BC_TwoDimWriter.cpp 70 pdfium::base::CheckedNumeric<int32_t> scaledWidth = tempWidth;
71 pdfium::base::CheckedNumeric<int32_t> scaledHeight = tempHeight;
  /external/libchrome/base/files/
memory_mapped_file.cc 77 CheckedNumeric<int64_t> region_end(region.offset);
  /external/libchrome/mojo/core/ports/
event.cc 164 base::CheckedNumeric<size_t> port_data_size = data->num_ports;
169 base::CheckedNumeric<size_t> total_size = port_data_size.ValueOrDie();
200 base::CheckedNumeric<size_t> size = sizeof(UserMessageEventData);
201 base::CheckedNumeric<size_t> ports_size =
  /external/libchrome/mojo/core/
user_message_impl.cc 116 base::CheckedNumeric<size_t> safe_header_size = num_new_dispatchers;
200 base::CheckedNumeric<uint32_t>(total_num_dispatchers).ValueOrDie();
598 base::CheckedNumeric<size_t> next_payload_index = data_payload_index;
605 base::CheckedNumeric<size_t> next_port_index = port_index;
612 base::CheckedNumeric<size_t> next_platform_handle_index =
  /external/pdfium/core/fpdfapi/font/
cpdf_cmapparser.cpp 141 pdfium::base::CheckedNumeric<uint32_t> num = 0;
  /external/pdfium/core/fpdfapi/page/
cpdf_shadingpattern.cpp 182 pdfium::base::CheckedNumeric<uint32_t> nTotalOutputs = 0;
  /external/pdfium/core/fxcodec/gif/
cfx_lzwdecompressor.cpp 78 pdfium::base::CheckedNumeric<uint32_t> safe_code = *next_in_++;

Completed in 547 milliseconds

1 2