/external/lzma/CPP/7zip/Compress/ |
D | CopyCoder.cpp | 35 TotalSize = 0; in Code() 40 if (outSize && size > *outSize - TotalSize) in Code() 41 size = (UInt32)(*outSize - TotalSize); in Code() 58 TotalSize += curSize; in Code() 66 TotalSize += size; in Code() 72 RINOK(progress->SetRatioInfo(&TotalSize, &TotalSize)); in Code() 80 TotalSize = 0; in SetInStream() 94 TotalSize += realProcessedSize; in Read() 102 *value = TotalSize; in GetInStreamProcessedSize() 117 return copyCoderSpec->TotalSize == size ? S_OK : E_FAIL; in CopyStream_ExactSize()
|
D | CopyCoder.h | 23 UInt64 TotalSize; 25 CCopyCoder(): _buf(0), TotalSize(0) {}; in CCopyCoder()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_sycl.cpp | 44 …float * gpu_in1_data = static_cast<float*>(sycl_device.allocate(in1.dimensions().TotalSize()*size… in test_sycl_cpu() 45 …float * gpu_in2_data = static_cast<float*>(sycl_device.allocate(in2.dimensions().TotalSize()*size… in test_sycl_cpu() 46 …float * gpu_in3_data = static_cast<float*>(sycl_device.allocate(in3.dimensions().TotalSize()*size… in test_sycl_cpu() 47 …float * gpu_out_data = static_cast<float*>(sycl_device.allocate(out.dimensions().TotalSize()*size… in test_sycl_cpu() 56 …sycl_device.memcpyDeviceToHost(in1.data(), gpu_in1_data ,(in1.dimensions().TotalSize())*sizeof(flo… in test_sycl_cpu() 68 …sycl_device.memcpyDeviceToHost(out.data(), gpu_out_data ,(out.dimensions().TotalSize())*sizeof(flo… in test_sycl_cpu() 80 …sycl_device.memcpyHostToDevice(gpu_in2_data, in2.data(),(in2.dimensions().TotalSize())*sizeof(floa… in test_sycl_cpu() 82 …sycl_device.memcpyDeviceToHost(out.data(), gpu_out_data,(out.dimensions().TotalSize())*sizeof(floa… in test_sycl_cpu() 96 …sycl_device.memcpyDeviceToHost(out.data(), gpu_out_data,(out.dimensions().TotalSize())*sizeof(floa… in test_sycl_cpu() 110 …sycl_device.memcpyDeviceToHost(out.data(), gpu_out_data,(out.dimensions().TotalSize())*sizeof(floa… in test_sycl_cpu() [all …]
|
D | cxx11_tensor_reduction_sycl.cpp | 39 …float* gpu_in_data = static_cast<float*>(sycl_device.allocate(in.dimensions().TotalSize()*sizeof(f… in test_full_reductions_sycl() 45 …sycl_device.memcpyHostToDevice(gpu_in_data, in.data(),(in.dimensions().TotalSize())*sizeof(float)); in test_full_reductions_sycl() 74 …float* gpu_in_data = static_cast<float*>(sycl_device.allocate(in.dimensions().TotalSize()*sizeof(f… in test_first_dim_reductions_sycl() 75 …float* gpu_out_data = static_cast<float*>(sycl_device.allocate(redux_gpu.dimensions().TotalSize()*… in test_first_dim_reductions_sycl() 80 …sycl_device.memcpyHostToDevice(gpu_in_data, in.data(),(in.dimensions().TotalSize())*sizeof(float)); in test_first_dim_reductions_sycl() 82 …sycl_device.memcpyDeviceToHost(redux_gpu.data(), gpu_out_data, redux_gpu.dimensions().TotalSize()*… in test_first_dim_reductions_sycl() 112 …float* gpu_in_data = static_cast<float*>(sycl_device.allocate(in.dimensions().TotalSize()*sizeof(f… in test_last_dim_reductions_sycl() 113 …float* gpu_out_data = static_cast<float*>(sycl_device.allocate(redux_gpu.dimensions().TotalSize()*… in test_last_dim_reductions_sycl() 118 …sycl_device.memcpyHostToDevice(gpu_in_data, in.data(),(in.dimensions().TotalSize())*sizeof(float)); in test_last_dim_reductions_sycl() 120 …sycl_device.memcpyDeviceToHost(redux_gpu.data(), gpu_out_data, redux_gpu.dimensions().TotalSize()*… in test_last_dim_reductions_sycl()
|
D | cxx11_tensor_forced_eval_sycl.cpp | 35 …float * gpu_in1_data = static_cast<float*>(sycl_device.allocate(in1.dimensions().TotalSize()*size… in test_forced_eval_sycl() 36 …float * gpu_in2_data = static_cast<float*>(sycl_device.allocate(in2.dimensions().TotalSize()*size… in test_forced_eval_sycl() 37 …float * gpu_out_data = static_cast<float*>(sycl_device.allocate(out.dimensions().TotalSize()*size… in test_forced_eval_sycl() 46 …sycl_device.memcpyHostToDevice(gpu_in1_data, in1.data(),(in1.dimensions().TotalSize())*sizeof(floa… in test_forced_eval_sycl() 47 …sycl_device.memcpyHostToDevice(gpu_in2_data, in2.data(),(in1.dimensions().TotalSize())*sizeof(floa… in test_forced_eval_sycl() 50 …sycl_device.memcpyDeviceToHost(out.data(), gpu_out_data,(out.dimensions().TotalSize())*sizeof(floa… in test_forced_eval_sycl()
|
D | cxx11_tensor_dimension.cpp | 24 VERIFY_IS_EQUAL((int)dimensions.TotalSize(), 2*3*7); in test_dynamic_size() 37 VERIFY_IS_EQUAL((int)dimensions.TotalSize(), 2*3*7); in test_fixed_size() 54 VERIFY_IS_EQUAL((int)scalar.TotalSize(), 1); in test_rank_zero() 59 VERIFY_IS_EQUAL((int)dscalar.TotalSize(), 1); in test_rank_zero()
|
D | cxx11_tensor_broadcast_sycl.cpp | 47 …float * gpu_in_data = static_cast<float*>(sycl_device.allocate(input.dimensions().TotalSize()*siz… in test_broadcast_sycl() 48 …float * gpu_out_data = static_cast<float*>(sycl_device.allocate(out.dimensions().TotalSize()*size… in test_broadcast_sycl() 52 …sycl_device.memcpyHostToDevice(gpu_in_data, input.data(),(input.dimensions().TotalSize())*sizeof(f… in test_broadcast_sycl() 54 …sycl_device.memcpyDeviceToHost(out.data(), gpu_out_data,(out.dimensions().TotalSize())*sizeof(floa… in test_broadcast_sycl()
|
D | cxx11_tensor_morphing.cpp | 236 VERIFY_IS_EQUAL(slice1.dimensions().TotalSize(), 1); in test_slice_raw_data() 242 VERIFY_IS_EQUAL(slice2.dimensions().TotalSize(), 2); in test_slice_raw_data() 248 VERIFY_IS_EQUAL(slice2.dimensions().TotalSize(), 2); in test_slice_raw_data() 255 VERIFY_IS_EQUAL(slice3.dimensions().TotalSize(), 2); in test_slice_raw_data() 262 VERIFY_IS_EQUAL(slice4.dimensions().TotalSize(), 6); in test_slice_raw_data() 272 VERIFY_IS_EQUAL(slice4.dimensions().TotalSize(), 22); in test_slice_raw_data() 284 VERIFY_IS_EQUAL(slice5.dimensions().TotalSize(), 210); in test_slice_raw_data() 299 VERIFY_IS_EQUAL(slice5.dimensions().TotalSize(), 770); in test_slice_raw_data() 316 VERIFY_IS_EQUAL(slice6.dimensions().TotalSize(), 3*5*7*11); in test_slice_raw_data() 452 VERIFY_IS_EQUAL(tensor.dimensions().TotalSize(), 11); in test_composition()
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | MemoryTypeTableBuilder.cpp | 28 int TotalSize = alignTo(Data.size() + SizeOfRecLen, Align); in writeRecord() local 29 assert(TotalSize - SizeOfRecLen <= UINT16_MAX); in writeRecord() 31 reinterpret_cast<char *>(RecordStorage.Allocate(TotalSize, Align)); in writeRecord() 32 *reinterpret_cast<ulittle16_t *>(Mem) = uint16_t(TotalSize - SizeOfRecLen); in writeRecord() 34 for (int I = Data.size() + SizeOfRecLen; I < TotalSize; ++I) in writeRecord() 35 Mem[I] = LF_PAD0 + (TotalSize - I); in writeRecord() 43 Records.push_back(StringRef(Mem, TotalSize)); in writeRecord()
|
/external/llvm/lib/Support/ |
D | CachePruning.cpp | 89 uint64_t TotalSize = 0; in prune() local 96 TotalSize += FileStatus.getSize(); in prune() 141 auto AvailableSpace = TotalSize + SpaceInfo.free; in prune() 143 DEBUG(dbgs() << "Occupancy: " << ((100 * TotalSize) / AvailableSpace) in prune() 146 while (((100 * TotalSize) / AvailableSpace) > PercentageOfAvailableSpace && in prune() 151 TotalSize -= FileAndSize->first; in prune() 153 << FileAndSize->first << "), new occupancy is " << TotalSize in prune()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonStoreWidening.cpp | 105 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize); 106 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize); 306 InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, in selectStores() argument 386 TotalSize = Pow2Size; in selectStores() 394 unsigned TotalSize) { in createWideStores() argument 399 if (TotalSize > 4) in createWideStores() 423 TotalSize, OldM.getAlignment(), in createWideStores() 428 unsigned WOpc = (TotalSize == 2) ? Hexagon::S4_storeirh_io : in createWideStores() 429 (TotalSize == 4) ? Hexagon::S4_storeiri_io : 0; in createWideStores() 432 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonStoreWidening.cpp | 95 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize); 96 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize); 309 InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, in selectStores() argument 389 TotalSize = Pow2Size; in selectStores() 398 unsigned TotalSize) { in createWideStores() argument 403 if (TotalSize > 4) in createWideStores() 428 TotalSize, OldM.getAlignment(), in createWideStores() 433 unsigned WOpc = (TotalSize == 2) ? Hexagon::S4_storeirh_io : in createWideStores() 434 (TotalSize == 4) ? Hexagon::S4_storeiri_io : 0; in createWideStores() 437 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | CachePruning.cpp | 190 uint64_t TotalSize = 0; in pruneCache() local 226 TotalSize += StatusOrErr->getSize(); in pruneCache() 237 TotalSize -= FileAndSize->first; in pruneCache() 241 << TotalSize << "%\n"); in pruneCache() 257 auto AvailableSpace = TotalSize + SpaceInfo.free; in pruneCache() 267 LLVM_DEBUG(dbgs() << "Occupancy: " << ((100 * TotalSize) / AvailableSpace) in pruneCache() 273 while (TotalSize > TotalSizeTarget && FileAndSize != FileSizes.rend()) in pruneCache()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/PerfJITEvents/ |
D | PerfJITEventListener.cpp | 123 uint32_t TotalSize; // total size of header member 134 uint32_t TotalSize; member 220 Header.TotalSize = sizeof(Header); in PerfJITEventListener() 405 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 436 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 446 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug() 447 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 185 unsigned TotalSize = 0; in combineLoads() local 187 TotalSize += L.Load->getType()->getPrimitiveSizeInBits(); in combineLoads() 188 while (TotalSize != 0 && !isPowerOf2_32(TotalSize)) in combineLoads() 189 TotalSize -= Loads.pop_back_val().Load->getType()->getPrimitiveSizeInBits(); in combineLoads() 217 Ptr, PointerType::get(IntegerType::get(Ptr->getContext(), TotalSize), in combineLoads()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 162 size_t TotalSize = Ops.size() + 1; in Finalize() local 163 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize() 178 size_t TotalSize = Ops.size() + 2; in Finalize() local 179 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 163 size_t TotalSize = Ops.size() + 1; in Finalize() local 164 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize() 179 size_t TotalSize = Ops.size() + 2; in Finalize() local 180 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 95 unsigned TotalSize = BlockOffsets[Begin->getNumber()]; in measureFunction() local 97 BlockOffsets[MBB.getNumber()] = TotalSize; in measureFunction() 99 TotalSize += TII->getInstSizeInBytes(MI); in measureFunction() 102 return TotalSize; in measureFunction()
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 592 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument 593 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData() 601 if (TotalSize % sizeof(uint64_t)) in checkIntegrity() 609 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity() 624 uint32_t TotalSize = swapToHostOrder<uint32_t>(Header, Endianness); in getValueProfData() local 625 if (D + TotalSize > BufferEnd) in getValueProfData() 628 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData() 629 memcpy(VPD.get(), D, TotalSize); in getValueProfData() 645 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost() 666 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | eigen_mkldnn_contraction_kernel_test.cc | 80 EXPECT_EQ(pack_dst.dimensions().TotalSize(), in TEST() 81 slice_dst.dimensions().TotalSize()); in TEST() 82 for (size_t i = 0; i < pack_dst.dimensions().TotalSize(); ++i) { in TEST()
|
D | eigen_benchmark_cpu_test.cc | 52 (input_dims.TotalSize() / input_depth) * filter_count; in SpatialConvolution() 80 auto num_computed_elements = input_dims.TotalSize(); in SpatialConvolutionBackwardInput() 108 auto num_computed_elements = filter_dims.TotalSize(); in SpatialConvolutionBackwardKernel() 274 (input_dims.TotalSize() / input_depth) * filter_count; in CuboidConvolution() 303 auto num_computed_elements = input_dims.TotalSize(); in CuboidConvolutionBackwardInput() 332 auto num_computed_elements = filter_dims.TotalSize(); in CuboidConvolutionBackwardKernel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 731 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument 732 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData() 740 if (TotalSize % sizeof(uint64_t)) in checkIntegrity() 748 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity() 764 uint32_t TotalSize = swapToHostOrder<uint32_t>(Header, Endianness); in getValueProfData() local 765 if (D + TotalSize > BufferEnd) in getValueProfData() 768 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData() 769 memcpy(VPD.get(), D, TotalSize); in getValueProfData() 786 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost() 808 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorInflation.h | 144 eigen_assert(index < dimensions().TotalSize()); 193 eigen_assert(index+PacketSize-1 < dimensions().TotalSize()); 207 const double input_size = m_impl.dimensions().TotalSize(); 208 const double output_size = m_dimensions.TotalSize();
|
/external/compiler-rt/lib/profile/ |
D | InstrProfData.inc | 300 uint32_t TotalSize; 354 uint32_t getSize() const { return TotalSize; } 496 uint32_t TotalSize = sizeof(ValueProfData); 503 TotalSize += getValueProfRecordSize(NumValueSites, 506 return TotalSize; 535 * DstData is not null, the caller is expected to set the TotalSize 542 uint32_t TotalSize = 543 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 546 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 548 VPD->TotalSize = TotalSize;
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfData.inc | 300 uint32_t TotalSize; 354 uint32_t getSize() const { return TotalSize; } 496 uint32_t TotalSize = sizeof(ValueProfData); 503 TotalSize += getValueProfRecordSize(NumValueSites, 506 return TotalSize; 535 * DstData is not null, the caller is expected to set the TotalSize 542 uint32_t TotalSize = 543 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 546 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 548 VPD->TotalSize = TotalSize;
|