Home
last modified time | relevance | path

Searched refs:totalBytes (Results 1 - 25 of 25) sorted by relevance

/third_party/protobuf/benchmarks/protobuf.js/
H A Dprotobufjs_benchmark.js27 var totalBytes = 0;
31 totalBytes += onePayload.length;
54 protobufjs_decoding: senarios.benches[0] * totalBytes,
55 protobufjs_encoding: senarios.benches[1] * totalBytes
60 + senarios.benches[0] * totalBytes / 1024 / 1024 + "MB/s" );
62 + senarios.benches[1] * totalBytes / 1024 / 1024 + "MB/s" );
/third_party/protobuf/benchmarks/js/
H A Djs_benchmark.js37 var totalBytes = 0;
41 totalBytes += onePayload.length;
64 protobufjs_decoding: senarios.benches[0] * totalBytes / 1024 / 1024,
65 protobufjs_encoding: senarios.benches[1] * totalBytes / 1024 / 1024
70 + senarios.benches[0] * totalBytes / 1024 / 1024 + "MB/s" );
72 + senarios.benches[1] * totalBytes / 1024 / 1024 + "MB/s" );
/third_party/skia/tests/
H A DSwizzlerTest.cpp26 const size_t totalBytes = imageInfo.computeByteSize(rowBytes) + offset; in check_fill() local
29 std::unique_ptr<uint8_t[]> storage(new uint8_t[totalBytes]); in check_fill()
30 memset(storage.get(), 0, totalBytes); in check_fill()
H A DWriter32Test.cpp103 size_t totalBytes = writer->bytesWritten(); in testWritePad() local
105 SkAutoMalloc readStorage(totalBytes); in testWritePad()
108 SkReadBuffer reader(readStorage.get(), totalBytes); in testWritePad()
H A DCodecTest.cpp649 size_t totalBytes = scaledInfo.computeByteSize(rowBytes); in test_dimensions() local
650 SkAutoTMalloc<SkPMColor> pixels(totalBytes); in test_dimensions()
/third_party/skia/src/core/
H A DSkYUVAInfo.cpp329 size_t totalBytes = 0; in computeTotalBytes() local
339 totalBytes = safe.add(totalBytes, size); in computeTotalBytes()
353 return safe.ok() ? totalBytes : SIZE_MAX; in computeTotalBytes()
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
H A Dmztools.c43 uLong totalBytes = 0; local
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
/third_party/skia/third_party/externals/zlib/contrib/minizip/
H A Dmztools.c43 uLong totalBytes = 0; local
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
/third_party/zlib/contrib/minizip/
H A Dmztools.c42 uLong totalBytes = 0; in unzRepair() local
128 totalBytes += dataSize; in unzRepair()
283 *bytesRecovered = totalBytes; in unzRepair()
/third_party/lwip/src/apps/altcp_tls/
H A Daltcp_tls_mbedtls_mem.c96 size_t totalBytes; member
132 altcp_mbedtls_malloc_stats.totalBytes += c * len; in tls_malloc()
/third_party/skia/src/codec/
H A DSkJpegCodec.cpp102 size_t totalBytes = 0; in read_color_profile() local
132 totalBytes += marker->data_length - kICCMarkerHeaderSize; in read_color_profile()
136 if (0 == totalBytes) { in read_color_profile()
142 sk_sp<SkData> iccData = SkData::MakeUninitialized(totalBytes); in read_color_profile()
611 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage() local
612 if (totalBytes > 0) { in allocateStorage()
613 if (!fStorage.reset(totalBytes)) { in allocateStorage()
H A DSkBmpCodec.cpp144 uint32_t totalBytes; in ReadHeader() local
160 totalBytes = get_int(hBuffer, 2); in ReadHeader()
179 totalBytes = 0; in ReadHeader()
561 if (totalBytes <= offset) { in ReadHeader()
568 // require that RLE Bmps have a valid number of totalBytes, and in ReadHeader()
569 // Icos skip the header that contains totalBytes. in ReadHeader()
H A DSkHeifCodec.cpp431 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage() local
432 fStorage.reset(totalBytes); in allocateStorage()
433 if (totalBytes > 0) { in allocateStorage()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DPoolAlloc.cpp67 totalBytes(0) in TPoolAllocator()
247 totalBytes += numBytes; in allocate()
H A DPoolAlloc.h220 size_t totalBytes; // just an interesting statistic member in TPoolAllocator
/third_party/mesa3d/src/mesa/main/
H A Dtexgetimage.c1650 GLsizei totalBytes; in packed_compressed_size() local
1655 totalBytes = in packed_compressed_size()
1661 return totalBytes; in packed_compressed_size()
1680 GLsizei totalBytes; in getcompressedteximage_error_check() local
1721 totalBytes = packed_compressed_size(dimensions, texImage->TexFormat, in getcompressedteximage_error_check()
1728 if ((GLubyte *) pixels + totalBytes > in getcompressedteximage_error_check()
1743 if (totalBytes > bufSize) { in getcompressedteximage_error_check()
/third_party/glslang/glslang/MachineIndependent/
H A DPoolAlloc.cpp230 totalBytes += numBytes; in allocate()
/third_party/glslang/glslang/Include/
H A DPoolAlloc.h247 size_t totalBytes; // just an interesting statistic in initializeAllocation() member in glslang::TPoolAllocator
/third_party/mesa3d/src/amd/addrlib/src/core/
H A Daddrlib1.cpp2205 UINT_64 totalBytes; in HwlComputeXmaskCoordFromAddr() local
2259 &totalBytes, in HwlComputeXmaskCoordFromAddr()
2284 &totalBytes, in HwlComputeXmaskCoordFromAddr()
2377 UINT_64 totalBytes = 0; in HwlComputeXmaskAddrFromCoord() local
2439 &totalBytes, in HwlComputeXmaskAddrFromCoord()
2443 sliceBytes = totalBytes / numSlices; in HwlComputeXmaskAddrFromCoord()
2459 &totalBytes, in HwlComputeXmaskAddrFromCoord()
/third_party/mesa3d/src/amd/addrlib/src/r800/
H A Dsiaddrlib.cpp1307 UINT_64 totalBytes; in HwlComputeXmaskAddrFromCoord() local
1329 &totalBytes, in HwlComputeXmaskAddrFromCoord()
1350 &totalBytes, in HwlComputeXmaskAddrFromCoord()
1465 UINT_64 totalBytes; in HwlComputeXmaskCoordFromAddr() local
1489 &totalBytes, in HwlComputeXmaskCoordFromAddr()
1509 &totalBytes, in HwlComputeXmaskCoordFromAddr()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineNoPositionTests.cpp637 const auto totalBytes = layerBytes * m_params.numViews; in iterate() local
639 const auto verificationBufferInfo = makeBufferCreateInfo(totalBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineNoPositionTests.cpp614 const auto totalBytes = totalPixels * pixelSize; in iterate() local
616 const auto verificationBufferInfo = makeBufferCreateInfo(totalBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTestsEXT.cpp1091 uint32_t totalBytes = 0u; in checkSupport() local
1099 totalBytes = perVertexBytes * actualVertices; in checkSupport()
1108 totalBytes = perVertexBytes * actualVertices + perPrimitiveBytes * actualPrimitives; in checkSupport()
1111 if (totalBytes > meshProperties.maxMeshOutputMemorySize) in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTestsEXT.cpp1091 uint32_t totalBytes = 0u; in checkSupport() local
1099 totalBytes = perVertexBytes * actualVertices; in checkSupport()
1108 totalBytes = perVertexBytes * actualVertices + perPrimitiveBytes * actualPrimitives; in checkSupport()
1111 if (totalBytes > meshProperties.maxMeshOutputMemorySize) in checkSupport()
/third_party/skia/src/gpu/d3d/
H A DGrD3DGpu.cpp838 UINT64 totalBytes; in onTransferPixelsTo() local
840 nullptr, nullptr, &totalBytes); in onTransferPixelsTo()

Completed in 37 milliseconds