/external/protobuf/src/google/protobuf/stubs/ |
D | statusor_test.cc | 87 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 95 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST() 109 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST() 124 EXPECT_EQ(source.ValueOrDie(), target.ValueOrDie()); in TEST() 140 EXPECT_DOUBLE_EQ(source.ValueOrDie(), target.ValueOrDie()); in TEST() 161 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 167 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 186 EXPECT_EQ(&kI, thing.ValueOrDie()); in TEST() 194 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST() 208 EXPECT_EQ(static_cast<const Base2*>(original.ValueOrDie()), in TEST() [all …]
|
D | statusor.h | 153 const T& ValueOrDie() const; 249 inline const T& StatusOr<T>::ValueOrDie() const {
|
D | status_macros.h | 63 lhs = result.ValueOrDie(); in DoAssignOrReturn()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | object_writer.cc | 45 ow->RenderInt32(name, data.ToInt32().ValueOrDie()); in RenderDataPieceTo() 49 ow->RenderInt64(name, data.ToInt64().ValueOrDie()); in RenderDataPieceTo() 53 ow->RenderUint32(name, data.ToUint32().ValueOrDie()); in RenderDataPieceTo() 57 ow->RenderUint64(name, data.ToUint64().ValueOrDie()); in RenderDataPieceTo() 61 ow->RenderDouble(name, data.ToDouble().ValueOrDie()); in RenderDataPieceTo() 65 ow->RenderFloat(name, data.ToFloat().ValueOrDie()); in RenderDataPieceTo() 69 ow->RenderBool(name, data.ToBool().ValueOrDie()); in RenderDataPieceTo() 73 ow->RenderString(name, data.ToString().ValueOrDie()); in RenderDataPieceTo() 77 ow->RenderBytes(name, data.ToBytes().ValueOrDie()); in RenderDataPieceTo()
|
D | proto_writer.cc | 117 WireFormatLite::WriteInt32(field_number, i32.ValueOrDie(), stream); in WriteInt32() 127 WireFormatLite::WriteSFixed32(field_number, i32.ValueOrDie(), stream); in WriteSFixed32() 137 WireFormatLite::WriteSInt32(field_number, i32.ValueOrDie(), stream); in WriteSInt32() 147 WireFormatLite::WriteFixed32(field_number, u32.ValueOrDie(), stream); in WriteFixed32() 157 WireFormatLite::WriteUInt32(field_number, u32.ValueOrDie(), stream); in WriteUInt32() 167 WireFormatLite::WriteInt64(field_number, i64.ValueOrDie(), stream); in WriteInt64() 177 WireFormatLite::WriteSFixed64(field_number, i64.ValueOrDie(), stream); in WriteSFixed64() 187 WireFormatLite::WriteSInt64(field_number, i64.ValueOrDie(), stream); in WriteSInt64() 197 WireFormatLite::WriteFixed64(field_number, u64.ValueOrDie(), stream); in WriteFixed64() 207 WireFormatLite::WriteUInt64(field_number, u64.ValueOrDie(), stream); in WriteUInt64() [all …]
|
D | type_info.cc | 83 return result.ok() ? result.ValueOrDie() : NULL; in GetTypeByTypeUrl() 90 return it->second.ok() ? it->second.ValueOrDie() : NULL; in GetEnumByTypeUrl() 103 return result.ok() ? result.ValueOrDie() : NULL; in GetEnumByTypeUrl() 130 delete it->second.ValueOrDie(); in DeleteCachedTypes()
|
D | default_value_objectwriter.cc | 55 return result.ok() ? result.ValueOrDie() : default_value; in ConvertTo() 274 return sub_type.ValueOrDie(); in GetMapValueType() 339 const google::protobuf::Type* found_type = found_result.ValueOrDie(); in PopulateChildren() 555 const string& string_value = data_string.ValueOrDie(); in RenderDataPiece() 563 current_->set_type(found_type.ValueOrDie()); in RenderDataPiece()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_hint_tables.cpp | 25 return bits.IsValid() && hStream->BitsRemaining() >= bits.ValueOrDie(); in CanReadFromBitStream() 88 m_szFirstPageObjOffset = safeLoc.ValueOrDie(); in ReadPageHintTable() 153 m_dwDeltaNObjsArray.push_back(safeDeltaObj.ValueOrDie()); in ReadPageHintTable() 169 dwPageLenArray.push_back(safePageLen.ValueOrDie()); in ReadPageHintTable() 232 hStream->SkipBits(safeSize.ValueOrDie()); in ReadPageHintTable() 241 hStream->SkipBits(safeTotalPageLen.ValueOrDie()); in ReadPageHintTable() 258 if (!bit_offset.IsValid() || hStream->GetPos() > bit_offset.ValueOrDie()) in ReadSharedObjHintTable() 260 hStream->SkipBits((bit_offset - hStream->GetPos()).ValueOrDie()); in ReadSharedObjHintTable() 317 dwCurObjLen = safeObjLen.ValueOrDie(); in ReadSharedObjHintTable() 328 m_dwSharedObjNumArray.push_back(safeObjNum.ValueOrDie()); in ReadSharedObjHintTable() [all …]
|
/external/pdfium/core/fxge/ge/ |
D | fx_ge_text.cpp | 99 rect.left = char_left.ValueOrDie(); in FXGE_GetGlyphsBBox() 100 rect.right = char_right.ValueOrDie(); in FXGE_GetGlyphsBBox() 101 rect.top = char_top.ValueOrDie(); in FXGE_GetGlyphsBBox() 102 rect.bottom = char_bottom.ValueOrDie(); in FXGE_GetGlyphsBBox()
|
/external/pdfium/third_party/agg23/ |
D | 0003-ubsan-render-line-error.patch | 47 + delta = safeP.ValueOrDie() / dy; 48 + mod = safeP.ValueOrDie() % dy; 66 + lift = safeP.ValueOrDie() / dy; 67 + rem = safeP.ValueOrDie() % dy;
|
D | agg_rasterizer_scanline_aa.cpp | 286 delta = (safeP / dy).ValueOrDie(); in render_line() 287 mod = (safeP % dy).ValueOrDie(); in render_line() 301 lift = (safeP / dy).ValueOrDie(); in render_line() 302 rem = (safeP % dy).ValueOrDie(); in render_line()
|
/external/libchrome/base/ |
D | base64url.cc | 86 base64_input.reserve(base64_input_size.ValueOrDie()); in Base64UrlDecode() 94 base64_input.resize(base64_input_size.ValueOrDie(), '='); in Base64UrlDecode()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_dibsource.cpp | 167 m_pStreamAcc->LoadAllData(pStream, false, src_size.ValueOrDie(), true); in Load() 190 m_pLineBuf = FX_Alloc(uint8_t, pitch.ValueOrDie()); in Load() 199 m_pMaskedLine = FX_Alloc(uint8_t, pitch.ValueOrDie()); in Load() 201 m_Pitch = pitch.ValueOrDie(); in Load() 225 m_pLineBuf = FX_Alloc(uint8_t, pitch.ValueOrDie()); in ContinueToLoadMask() 237 m_pMaskedLine = FX_Alloc(uint8_t, pitch.ValueOrDie()); in ContinueToLoadMask() 239 m_Pitch = pitch.ValueOrDie(); in ContinueToLoadMask() 280 m_pStreamAcc->LoadAllData(pStream, false, src_size.ValueOrDie(), true); in StartLoadDIBSource() 609 if (provided_pitch.ValueOrDie() < requested_pitch.ValueOrDie()) in CreateDecoder() 988 uint32_t src_pitch_value = src_pitch.ValueOrDie(); in GetScanline() [all …]
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_tiffmodule.cpp | 109 pTiffContext->set_offset(increment.ValueOrDie()); in tiff_read() 127 FX_FILESIZE file_offset = safe_offset.ValueOrDie(); in tiff_seek() 141 pTiffContext->set_offset(new_increment.ValueOrDie()); in tiff_seek() 281 *width = checked_width.ValueOrDie(); in LoadFrameInfo() 282 *height = checked_height.ValueOrDie(); in LoadFrameInfo() 468 uint32_t bpp = safe_bpp.ValueOrDie(); in Decode()
|
D | fx_codec_jpx_opj.cpp | 193 int* r = FX_Alloc(int, max_size.ValueOrDie()); in sycc444_to_rgb() 194 int* g = FX_Alloc(int, max_size.ValueOrDie()); in sycc444_to_rgb() 195 int* b = FX_Alloc(int, max_size.ValueOrDie()); in sycc444_to_rgb() 199 for (size_t i = 0; i < max_size.ValueOrDie(); ++i) { in sycc444_to_rgb() 255 d0 = r = FX_Alloc(int, max_size.ValueOrDie()); in sycc422_to_rgb() 256 d1 = g = FX_Alloc(int, max_size.ValueOrDie()); in sycc422_to_rgb() 257 d2 = b = FX_Alloc(int, max_size.ValueOrDie()); in sycc422_to_rgb() 322 int* r = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb() 323 int* g = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb() 324 int* b = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb()
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_HuffmanTable.cpp | 72 RANGELOW[NTEMP] = cur_low.ValueOrDie(); in ParseFromCodedBuffer() 77 } while (cur_low.ValueOrDie() < high); in ParseFromCodedBuffer()
|
/external/pdfium/testing/libfuzzer/ |
D | pdf_fm2js_fuzzer.cc | 19 CFX_WideString::FromUTF8(CFX_ByteStringC(data, safe_size.ValueOrDie())); in LLVMFuzzerTestOneInput()
|
D | pdf_xml_fuzzer.cc | 54 CFX_WideString::FromUTF8(CFX_ByteStringC(data, safe_size.ValueOrDie())); in LLVMFuzzerTestOneInput()
|
/external/pdfium/core/fxcrt/ |
D | fx_extension.cpp | 213 newPos.ValueOrDie() > m_nCurSize) { in ReadBlock() 217 m_nCurPos = newPos.ValueOrDie(); in ReadBlock() 261 m_nCurPos = newPos.ValueOrDie(); in WriteBlock() 288 if (!ExpandBlocks(newPos.ValueOrDie())) { in WriteBlock() 291 m_nCurPos = newPos.ValueOrDie(); in WriteBlock()
|
D | fx_basic_buffer.cpp | 56 if (m_AllocSize >= new_size.ValueOrDie()) in ExpandBuf() 63 m_AllocSize = new_size.ValueOrDie(); in ExpandBuf()
|
/external/pdfium/xfa/fxbarcode/ |
D | BC_TwoDimWriter.cpp | 109 int32_t outputWidth = scaledWidth.ValueOrDie(); in RenderResult() 110 int32_t outputHeight = scaledHeight.ValueOrDie(); in RenderResult()
|
/external/libchrome/base/time/ |
D | time_mac.cc | 69 return base::checked_cast<int64_t>(result.ValueOrDie()); in ComputeCurrentTicks() 100 return absolute_micros.ValueOrDie(); in ComputeThreadTicks()
|
/external/pdfium/core/fpdfapi/page/ |
D | fpdf_page_func.cpp | 525 if (!nTotalSampleBytes.IsValid() || nTotalSampleBytes.ValueOrDie() == 0 || in v_Init() 526 nTotalSampleBytes.ValueOrDie() > m_pSampleStream->GetSize()) { in v_Init() 567 bitpos *= bits_to_output.ValueOrDie(); in v_Call() 572 range_check += bits_to_output.ValueOrDie(); in v_Call() 582 GetBits32(pSampleData, bitpos.ValueOrDie(), m_nBitsPerSample); in v_Call() 597 GetBits32(pSampleData, bitpos2.ValueOrDie(), m_nBitsPerSample); in v_Call()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math.h | 155 constexpr StrictNumeric<Dst> ValueOrDie() const { in ValueOrDie() function 359 return value.template ValueOrDie<Dst>(); 475 .template ValueOrDie<uintptr_t>(); 483 .template ValueOrDie<uintptr_t>();
|
/external/v8/src/crankshaft/ |
D | hydrogen-dehoist.cc | 41 int32_t value = checked_value.ValueOrDie(); in DehoistArrayIndex()
|