Home
last modified time | relevance | path

Searched refs:SafeUint32Add (Results 1 – 12 of 12) sorted by relevance

/external/dng_sdk/source/
Ddng_string.cpp620 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 …]
Ddng_safe_arithmetic.cpp73 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()
Ddng_safe_arithmetic.h51 bool SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2,
57 std::uint32_t SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2);
Ddng_memory_stream.cpp126 if (!SafeUint32Add (fPagesAllocated, 32u, &newSizeTemp1) || in DoSetLength()
Ddng_memory.h325 if (!SafeUint32Add(fLogicalSize, 64u, &result)) in PhysicalSize()
Ddng_info.cpp1504 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()
Ddng_misc_opcodes.cpp297 requiredSize = SafeUint32Add(requiredSize, dng_area_spec::kDataSize); in dng_opcode_MapTable()
298 requiredSize = SafeUint32Add(requiredSize, 4); in dng_opcode_MapTable()
Ddng_date_time.cpp117 x = SafeUint32Add(x, (uint32) (*(s++) - '0')); in DateTimeParseU32()
Ddng_mosaic_info.cpp298 return (SafeUint32Add(row, fPatRows) + (uint32) delta) % fPatRows; in DeltaRow()
310 return (SafeUint32Add(col, fPatCols) + (uint32) delta) % fPatCols; in DeltaCol()
Ddng_read_image.cpp1710 SafeUint32Add(tablesByteCount, tileByteCount))); in ReadJPEGDataToBlock()
2244 !SafeUint32Add (bufferSize, rowSize, &bufferSize)) in ReadTile()
3199 SafeUint32Add(tileCount, (fJPEGTables.Get () ? 1 : 0))); in Read()
Ddng_bad_pixels.cpp612 SafeUint32Add(12, SafeUint32Add(SafeUint32Mult(pCount, 8), SafeUint32Mult(rCount, 16))); in dng_opcode_FixBadPixelsList()
Ddng_image_writer.cpp2693 return SafeUint32Add (SafeUint32Mult (uncompressedSize, 2), 1024); in CompressedBufferSize()
2702 return SafeUint32Add (SafeUint32Add (uncompressedSize, in CompressedBufferSize()