Home
last modified time | relevance | path

Searched refs:byteSize (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DDataType.java52 private final int byteSize; field in DataType
58 DataType(int value, int byteSize) { in DataType() argument
60 this.byteSize = byteSize; in DataType()
66 public int byteSize() { in byteSize() method in DataType
67 return byteSize; in byteSize()
DTensor.java144 int byteSize = elemByteSize(t.dtype) * numElements(t.shapeCopy); in create() local
145 t.nativeHandle = allocate(t.dtype.c(), t.shapeCopy, byteSize); in create()
598 int size = dataType.byteSize(); in elemByteSize()
751 private static native long allocate(int dtype, long[] shape, long byteSize); in allocate() argument
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DDataTypeTest.java29 assertThat(DataType.FLOAT32.byteSize()).isEqualTo(4); in testElemByteSize()
30 assertThat(DataType.INT32.byteSize()).isEqualTo(4); in testElemByteSize()
31 assertThat(DataType.UINT8.byteSize()).isEqualTo(1); in testElemByteSize()
32 assertThat(DataType.INT64.byteSize()).isEqualTo(8); in testElemByteSize()
33 assertThat(DataType.STRING.byteSize()).isEqualTo(-1); in testElemByteSize()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DOpenSSLDigest.java31 private final int byteSize; field in OpenSSLDigest
33 public OpenSSLDigest(String algorithm, int byteSize) { in OpenSSLDigest() argument
36 this.byteSize = byteSize; in OpenSSLDigest()
51 return byteSize; in getByteLength()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/
DOpenSSLDigest.java33 private final int byteSize; field in OpenSSLDigest
35 public OpenSSLDigest(String algorithm, int byteSize) { in OpenSSLDigest() argument
38 this.byteSize = byteSize; in OpenSSLDigest()
53 return byteSize; in getByteLength()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.hpp207 void append (const void* buf, const size_t byteSize) in append()
209 DE_ASSERT(byteSize > 0); in append()
211 valuesBuffer.resize(valuesBuffer.size() + byteSize); in append()
212 deMemcpy(&valuesBuffer[valuesBuffer.size() - byteSize], buf, byteSize); in append()
214 sizesBuffer.push_back(byteSize); in append()
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
DEDInst.cpp27 uint64_t byteSize, in EDInst() argument
33 ByteSize(byteSize), in EDInst()
55 uint64_t EDInst::byteSize() { in byteSize() function in EDInst
DEDInst.h105 uint64_t byteSize,
112 uint64_t byteSize();
DEDDisassembler.cpp245 uint64_t byteSize; in createInst() local
248 S = Disassembler->getInstruction(*inst, byteSize, memoryObject, address, in createInst()
264 EDInst* sdInst = new EDInst(inst, byteSize, *this, thisInstInfo); in createInst()
/external/icu/icu4c/source/common/
Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
Ducol_data.h78 uint32_t byteSize; member
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp74 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar); in onSetData() local
75 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) { in onSetData()
77 memcpy(fPrevEdges, cpe.getEdges(), byteSize); in onSetData()
/external/skqp/src/gpu/effects/
DGrConvexPolyEffect.cpp73 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar); in onSetData() local
74 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) { in onSetData()
76 memcpy(fPrevEdges, cpe.getEdges(), byteSize); in onSetData()
/external/tensorflow/tensorflow/lite/experimental/objc/sources/
DTFLInterpreter.mm212 NSUInteger byteSize = (NSUInteger)TFL_TensorByteSize(cTensor);
213 if (data.length != byteSize) {
216 (unsigned long)index, byteSize, (unsigned long)data.length];
243 NSUInteger byteSize = (NSUInteger)TFL_TensorByteSize(cTensor);
244 if (bytes == nullptr || byteSize == 0) {
255 return [NSData dataWithBytes:bytes length:byteSize];
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc1011 size_t byteSize = 0; in ReadCompressedData() local
1014 byteSize = 50; in ReadCompressedData()
1018 byteSize = 38; in ReadCompressedData()
1020 if(bufferSize < byteSize) in ReadCompressedData()
1029 bytesRead = in.Read(outData, byteSize); in ReadCompressedData()
1030 if(bytesRead != static_cast<int>(byteSize)) in ReadCompressedData()
1035 bytesRead = in.Read(outData, byteSize); in ReadCompressedData()
1036 if(bytesRead != static_cast<int>(byteSize)) in ReadCompressedData()
/external/skqp/include/core/
DSkImageInfo.h581 static bool ByteSizeOverflowed(size_t byteSize) { in ByteSizeOverflowed()
582 return SIZE_MAX == byteSize; in ByteSizeOverflowed()
/external/skia/include/core/
DSkImageInfo.h587 static bool ByteSizeOverflowed(size_t byteSize) { in ByteSizeOverflowed()
588 return SIZE_MAX == byteSize; in ByteSizeOverflowed()
/external/swiftshader/third_party/LLVM/tools/edis/
DEDMain.cpp86 address += inst->byteSize(); in EDCreateInsts()
97 return ((EDInst*)inst)->byteSize(); in EDInstByteSize()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DDataType.java42 public int byteSize() { in byteSize() method in DataType
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
DZeros.java50 int zeroSize = DataType.fromClass(type).byteSize(); in create()
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DEncoder.java547 private Encoder encoderForArrayByTotalSize(int byteSize, int length, int offset) { in encoderForArrayByTotalSize() argument
550 new DataHeader(DataHeader.HEADER_SIZE + byteSize, length)); in encoderForArrayByTotalSize()
/external/swiftshader/third_party/LLVM/tools/llvm-mc/
DDisassembler.cpp268 ByteArray.erase (ByteArray.begin(), ByteArray.begin() + inst->byteSize()); in disassembleEnhanced()
/external/syzkaller/pkg/compiler/
Dtypes.go199 byteSize, _ := strconv.ParseUint(t.Ident[8:], 10, 8)
200 bitSize = byteSize * 8
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1489 unsigned byteSize = is32bit ? 4 : 8; in processInstruction() local
1490 getStreamer().EmitCodeAlignment(byteSize, byteSize); in processInstruction()
1502 getStreamer().EmitIntValue(Value, byteSize); in processInstruction()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1712 unsigned byteSize = is32bit ? 4 : 8; in processInstruction() local
1713 getStreamer().EmitCodeAlignment(byteSize, byteSize); in processInstruction()
1725 getStreamer().EmitIntValue(Value, byteSize); in processInstruction()

12