Searched refs:SafeUint32Add (Results 1 – 13 of 13) sorted by relevance
/external/dng_sdk/source/ |
D | dng_string.cpp | 620 fData.Allocate (SafeUint32Add (newLen, 1)); in Set() 670 const uint32 destBufferLength = SafeUint32Add (SafeUint32Mult (len, 3), 1); in Set_UTF8() 765 const uint32 destBufferLength = SafeUint32Add (len, 1); in Get_SystemEncoding() 823 const uint32 destBufferLength = SafeUint32Add (len, 1); in Set_SystemEncoding() 1117 count = SafeUint32Add (count, 1); in Get_UTF16() 1124 count = SafeUint32Add (count, 2); in Get_UTF16() 1130 const uint32 destBufferLength = SafeUint32Add (count, 1); in Get_UTF16() 1207 length16 = SafeUint32Add (length16, 1); in Set_UTF16() 1213 SafeUint32Add (SafeUint32Mult (length16, 6), 1); in Set_UTF16() 1667 SafeUint32Add (SafeUint32Add (len1 - len2, len3), 1)); in Replace() [all …]
|
D | dng_safe_arithmetic.cpp | 73 bool SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2, in SafeUint32Add() function 76 *result = SafeUint32Add(arg1, arg2); in SafeUint32Add() 83 std::uint32_t SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2) { in SafeUint32Add() function 249 return SafeUint32Add(val, multiple_of - remainder); in RoundUpUint32ToMultiple()
|
D | dng_safe_arithmetic.h | 51 bool SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2, 57 std::uint32_t SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2);
|
D | dng_memory_stream.cpp | 126 if (!SafeUint32Add (fPagesAllocated, 32u, &newSizeTemp1) || in DoSetLength()
|
D | dng_memory.h | 325 if (!SafeUint32Add(fLogicalSize, 64u, &result)) in PhysicalSize()
|
D | dng_info.cpp | 1504 while (SafeUint32Add(section_offset, 8) < fShared->fDNGPrivateDataCount) in ParseDNGPrivateData() 1871 section_offset = SafeUint32Add(section_offset, 8); in ParseDNGPrivateData() 1872 section_offset = SafeUint32Add(section_offset, section_count); in ParseDNGPrivateData() 1876 section_offset = SafeUint32Add(section_offset, 1); in ParseDNGPrivateData()
|
D | dng_misc_opcodes.cpp | 297 requiredSize = SafeUint32Add(requiredSize, dng_area_spec::kDataSize); in dng_opcode_MapTable() 298 requiredSize = SafeUint32Add(requiredSize, 4); in dng_opcode_MapTable()
|
D | dng_date_time.cpp | 117 x = SafeUint32Add(x, (uint32) (*(s++) - '0')); in DateTimeParseU32()
|
D | dng_mosaic_info.cpp | 298 return (SafeUint32Add(row, fPatRows) + (uint32) delta) % fPatRows; in DeltaRow() 310 return (SafeUint32Add(col, fPatCols) + (uint32) delta) % fPatCols; in DeltaCol()
|
D | dng_read_image.cpp | 1710 SafeUint32Add(tablesByteCount, tileByteCount))); in ReadJPEGDataToBlock() 2244 !SafeUint32Add (bufferSize, rowSize, &bufferSize)) in ReadTile() 3199 SafeUint32Add(tileCount, (fJPEGTables.Get () ? 1 : 0))); in Read()
|
D | dng_bad_pixels.cpp | 612 SafeUint32Add(12, SafeUint32Add(SafeUint32Mult(pCount, 8), SafeUint32Mult(rCount, 16))); in dng_opcode_FixBadPixelsList()
|
D | dng_ifd.cpp | 3982 return (SafeUint32Sub(SafeUint32Add(fImageWidth, fTileWidth), 1)) / fTileWidth; in TilesAcross() 3998 return (SafeUint32Sub(SafeUint32Add(fImageLength, fTileLength), 1)) / fTileLength; in TilesDown()
|
D | dng_image_writer.cpp | 2693 return SafeUint32Add (SafeUint32Mult (uncompressedSize, 2), 1024); in CompressedBufferSize() 2702 return SafeUint32Add (SafeUint32Add (uncompressedSize, in CompressedBufferSize()
|