Home
last modified time | relevance | path

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

12

/external/protobuf/benchmarks/protobuf.js/
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" );
/external/protobuf/benchmarks/js/
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" );
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
DParcelCallSender.java44 abstract void prepareCall(long callId, int blockId, int totalBytes, byte[] bytes) in prepareCall() argument
48 long callId, int blockId, int totalBytes, byte[] bytes, int retries) throws RemoteException { in prepareCallAndRetry() argument
51 prepareCall(callId, blockId, totalBytes, bytes); in prepareCallAndRetry()
183 int totalBytes = ByteBuffer.wrap(returnBytes).getInt(/* index= */ 1); in fetchResponseParcel() local
186 returnBytes = fetchReturnBytes(totalBytes, callIdentifier, returnBytes); in fetchResponseParcel()
199 private byte[] fetchReturnBytes(int totalBytes, long callId, byte[] initialBytes) in fetchReturnBytes() argument
201 byte[] returnBytes = new byte[totalBytes]; in fetchReturnBytes()
211 int numberOfBlocks = (int) Math.ceil(totalBytes * 1.0 / MAX_BYTES_PER_BLOCK); in fetchReturnBytes()
DCrossProfileCallbackExceptionParcelCallSender.java35 void prepareCall(long callId, int blockId, int totalBytes, byte[] bytes) throws RemoteException { in prepareCall() argument
36 callback.prepareResult(callId, blockId, totalBytes, bytes); in prepareCall()
DCrossProfileCallbackParcelCallSender.java38 void prepareCall(long callId, int blockId, int totalBytes, byte[] bytes) throws RemoteException { in prepareCall() argument
39 callback.prepareResult(callId, blockId, totalBytes, bytes); in prepareCall()
/external/skqp/include/core/
DSkYUVASizeInfo.h53 size_t totalBytes = 0; in computeTotalBytes() local
58 totalBytes += fWidthBytes[i] * fSizes[i].height(); in computeTotalBytes()
61 return totalBytes; in computeTotalBytes()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java71 + totalBytes + " = " + (totalUtf8Bytes / (double) totalBytes)); in main()
97 totalUtf8Bytes = totalBytes = 0; in testWithLocale()
109 + totalUtf8Bytes + "/" + totalBytes + " = " in testWithLocale()
110 + (totalUtf8Bytes / (double) totalBytes)); in testWithLocale()
146 totalBytes += byteLen; in testString()
186 static int totalBytes = 0; field in TestStringByteConverter
/external/skia/tests/
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()
DWriter32Test.cpp105 size_t totalBytes = writer->bytesWritten(); in testWritePad() local
107 SkAutoMalloc readStorage(totalBytes); in testWritePad()
110 SkReadBuffer reader(readStorage.get(), totalBytes); in testWritePad()
/external/skqp/tests/
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()
DYUVTest.cpp65 size_t totalBytes = info.computeTotalBytes(); in codec_yuv() local
67 SkAutoMalloc storage(totalBytes); in codec_yuv()
DWriter32Test.cpp164 size_t totalBytes = writer->bytesWritten(); in testWritePad() local
166 SkAutoMalloc readStorage(totalBytes); in testWritePad()
170 reader.setMemory(readStorage.get(), totalBytes); in testWritePad()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/internal/
DParcelCallSenderTest.java42 void prepareCall(long callId, int blockId, int totalBytes, byte[] bytes) in prepareCall() argument
48 parcelCallReceiver.prepareCall(callId, blockId, totalBytes, bytes); in prepareCall()
/external/zlib/contrib/minizip/
Dmztools.c43 uLong totalBytes = 0; variable
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Dmztools.c43 uLong totalBytes = 0; variable
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
/external/skia/src/core/
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()
/external/llvm-project/flang/runtime/
Dunit.cpp117 auto totalBytes{knownSize()}; in OpenUnit() local
127 } else if (totalBytes && (*totalBytes % *recordLength != 0)) { in OpenUnit()
132 static_cast<std::intmax_t>(*totalBytes)); in OpenUnit()
137 if (totalBytes && recordLength && *recordLength) { in OpenUnit()
138 endfileRecordNumber = 1 + (*totalBytes / *recordLength); in OpenUnit()
Ddescriptor-io.h231 auto totalBytes{numElements * elementBytes}; in DescriptorIO()
233 return unf->Emit(&x, totalBytes, elementBytes); in DescriptorIO()
235 return unf->Receive(&x, totalBytes, elementBytes); in DescriptorIO()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java61 public JsonLocation(Object sourceRef, long totalBytes, long totalChars, in JsonLocation() argument
65 _totalBytes = totalBytes; in JsonLocation()
/external/skqp/src/codec/
DSkBmpCodec.cpp141 uint32_t totalBytes; in ReadHeader() local
157 totalBytes = get_int(hBuffer, 2); in ReadHeader()
176 totalBytes = 0; in ReadHeader()
557 if (totalBytes <= offset) { in ReadHeader()
DSkHeifCodec.cpp298 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage() local
299 fStorage.reset(totalBytes); in allocateStorage()
300 if (totalBytes > 0) { in allocateStorage()
DSkJpegCodec.cpp140 size_t totalBytes = 0; in read_color_profile() local
170 totalBytes += marker->data_length - kICCMarkerHeaderSize; in read_color_profile()
174 if (0 == totalBytes) { in read_color_profile()
180 sk_sp<SkData> iccData = SkData::MakeUninitialized(totalBytes); in read_color_profile()
633 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage() local
634 if (totalBytes > 0) { in allocateStorage()
635 fStorage.reset(totalBytes); in allocateStorage()
/external/skia/src/codec/
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()
DSkJpegCodec.cpp90 size_t totalBytes = 0; in read_color_profile() local
120 totalBytes += marker->data_length - kICCMarkerHeaderSize; in read_color_profile()
124 if (0 == totalBytes) { in read_color_profile()
130 sk_sp<SkData> iccData = SkData::MakeUninitialized(totalBytes); in read_color_profile()
585 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage() local
586 if (totalBytes > 0) { in allocateStorage()
587 if (!fStorage.reset(totalBytes)) { in allocateStorage()
/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp67 totalBytes(0) in TPoolAllocator()
247 totalBytes += numBytes; in allocate()

12