Searched refs:iBytes (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/io/disktest/ |
D | dump.c | 38 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/vulkan_memory_allocator/tools/VmaDumpVis/ |
D | VmaDumpVis.py | 174 def BytesToStr(iBytes): argument 175 if iBytes < 1024: 176 return "%d B" % iBytes 177 iBytes /= 1024 178 if iBytes < 1024: 179 return "%d KiB" % iBytes 180 iBytes /= 1024 181 if iBytes < 1024: 182 return "%d MiB" % iBytes 183 iBytes /= 1024 [all …]
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 207 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/ |
D | cjx_object.cpp | 113 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 …]
|
D | cjx_object.h | 253 int32_t iBytes,
|