Home
last modified time | relevance | path

Searched refs:iBytes (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Ddump.c38 int format_str(size_t iBytes, const char *ibuff, size_t ibuff_siz, char *obuff, in format_str() argument
45 if ((iBytes == 0) && in format_str()
52 if ((ibuff == NULL) || (obuff == NULL) || (iBytes < 1)) in format_str()
58 for (i = 0; i < iBytes; i++) { in format_str()
74 for (i = 0; i < iBytes; i++) { in format_str()
79 TotalBytes += iBytes; in format_str()
83 int format_raw(size_t iBytes, const char *ibuff, char *obuff, size_t obuff_siz) in format_raw() argument
89 if ((iBytes == 0) && (ibuff == NULL) && in format_raw()
95 if ((ibuff == NULL) || (obuff == NULL) || (iBytes < 1)) in format_raw()
101 for (i = 0; i < iBytes; i++) { in format_raw()
[all …]
/external/angle/third_party/VulkanMemoryAllocator/tools/VmaDumpVis/
DVmaDumpVis.py160 def BytesToStr(iBytes): argument
161 if iBytes < 1024:
162 return "%d B" % iBytes
163 iBytes /= 1024
164 if iBytes < 1024:
165 return "%d KiB" % iBytes
166 iBytes /= 1024
167 if iBytes < 1024:
168 return "%d MiB" % iBytes
169 iBytes /= 1024
[all …]
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp207 size_t iBytes = size * 2; in ReadBlock() local
208 size_t iLen = ReadData(reinterpret_cast<uint8_t*>(pStr), iBytes); in ReadBlock()
219 size_t iBytes = std::min(size, static_cast<size_t>(GetSize() - pos)); in ReadBlock() local
221 if (iBytes > 0) { in ReadBlock()
222 std::vector<uint8_t, FxAllocAllocator<uint8_t>> buf(iBytes); in ReadBlock()
224 size_t iLen = ReadData(buf.data(), iBytes); in ReadBlock()
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp113 int32_t iBytes; member
409 int32_t iBytes; in TryMeasure() local
410 if (GetMapModuleBuffer(pKey, &pValue, &iBytes) && in TryMeasure()
411 iBytes == sizeof(CXFA_Measurement)) { in TryMeasure()
506 int32_t iBytes = 0; in TryCData() local
508 if (GetMapModuleBuffer(pKey, &pData, &iBytes) && iBytes == sizeof(void*)) { in TryCData()
509 memcpy(&pData, pData, iBytes); in TryCData()
855 int32_t iBytes; in GetMapModuleString() local
856 if (!GetMapModuleBuffer(pKey, &pRawValue, &iBytes)) in GetMapModuleString()
860 int32_t iChars = iBytes / sizeof(wchar_t); in GetMapModuleString()
[all …]
Dcjx_object.h253 int32_t iBytes,