Home
last modified time | relevance | path

Searched refs:ChunkSize (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm-project/libc/utils/testutils/
DFDReaderUnix.cpp34 constexpr ssize_t ChunkSize = 4096 * 4; in matchWritten() local
36 char Buffer[ChunkSize]; in matchWritten()
40 for (int BytesRead; (BytesRead = ::read(pipefd[0], Buffer, ChunkSize));) { in matchWritten()
/external/llvm-project/clang/lib/AST/Interp/
DInterpStack.cpp30 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); in grow()
32 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
36 StackChunk *Next = new (malloc(ChunkSize)) StackChunk(Chunk); in grow()
DInterpStack.h80 static constexpr size_t ChunkSize = 1024 * 1024; variable
102 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size");
/external/llvm-project/polly/include/polly/CodeGen/
DLoopGeneratorsKMP.h51 getSchedType(int ChunkSize, OMPGeneralSchedulingType Scheduling) const;
102 Value *Inc, Value *ChunkSize);
130 Value *ChunkSize);
/external/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc68 size_t max_chunk_size = resampler.ChunkSize() * kChunks; in TEST()
73 resampler.Resample(resampler.ChunkSize(), resampled_destination.get()); in TEST()
89 new float[resampler.ChunkSize()]); in TEST()
93 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST()
100 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST()
101 for (size_t i = 0; i < resampler.ChunkSize() / 2; ++i) in TEST()
Dsinc_resampler.h72 size_t ChunkSize() const;
Dpush_sinc_resampler.cc73 resampler_->Resample(resampler_->ChunkSize(), destination); in Resample()
Dsinc_resampler.cc344 size_t SincResampler::ChunkSize() const { in ChunkSize() function in webrtc::SincResampler
Dpush_sinc_resampler_unittest.cc169 output_block_size - resampler.get_resampler_for_testing()->ChunkSize(); in ResampleTest()
/external/llvm-project/polly/lib/Support/
DGICHelper.cpp54 const static int ChunkSize = sizeof(uint64_t); in APIntFromVal() local
58 NumChunks = isl_val_n_abs_num_chunks(Val, ChunkSize); in APIntFromVal()
59 Data = (uint64_t *)malloc(NumChunks * ChunkSize); in APIntFromVal()
60 isl_val_get_abs_num_chunks(Val, ChunkSize, Data); in APIntFromVal()
61 int NumBits = CHAR_BIT * ChunkSize * NumChunks; in APIntFromVal()
/external/llvm-project/polly/lib/CodeGen/
DLoopGeneratorsKMP.cpp197 Value *ChunkSize = in createSubFn() local
210 createCallDispatchInit(ID, LB, UB, Stride, ChunkSize); in createSubFn()
235 createCallStaticInit(ID, IsLastPtr, LBPtr, UBPtr, StridePtr, ChunkSize); in createSubFn()
358 Value *ChunkSize) { in createCallStaticInit() argument
394 ChunkSize}; in createCallStaticInit()
421 Value *ChunkSize) { in createCallDispatchInit() argument
453 ChunkSize}; in createCallDispatchInit()
548 int ChunkSize, OMPGeneralSchedulingType Scheduling) const { in getSchedType() argument
549 if (ChunkSize == 0 && Scheduling == OMPGeneralSchedulingType::StaticChunked) in getSchedType()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dsdes.cc55 size_t ChunkSize(const Sdes::Chunk& chunk) { in ChunkSize() function
128 block_length += ChunkSize(chunks[i]); in Parse()
158 block_length_ += ChunkSize(chunk); in AddCName()
/external/llvm/lib/Support/
DMemoryBuffer.cpp237 const ssize_t ChunkSize = 4096*4; in getMemoryBufferForStream() local
238 SmallString<ChunkSize> Buffer; in getMemoryBufferForStream()
242 Buffer.reserve(Buffer.size() + ChunkSize); in getMemoryBufferForStream()
243 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream()
Draw_ostream.cpp581 size_t ChunkSize = Size; in write_impl() local
582 if (ChunkSize > 32767 && ShouldWriteInChunks) in write_impl()
583 ChunkSize = 32767; in write_impl()
585 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp237 const ssize_t ChunkSize = 4096*4; in getMemoryBufferForStream() local
238 SmallString<ChunkSize> Buffer; in getMemoryBufferForStream()
242 Buffer.reserve(Buffer.size() + ChunkSize); in getMemoryBufferForStream()
243 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream()
Draw_ostream.cpp554 size_t ChunkSize = Size; in write_impl() local
555 if (ChunkSize > 32767 && ShouldWriteInChunks) in write_impl()
556 ChunkSize = 32767; in write_impl()
558 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
/external/clang/include/clang/AST/
DOpenMPClause.h714 Expr *ChunkSize; variable
776 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
798 Expr *ChunkSize, Stmt *HelperChunkSize, in OMPScheduleClause() argument
803 ChunkSize(ChunkSize) { in OMPScheduleClause()
816 ChunkSize(nullptr) { in OMPScheduleClause()
855 Expr *getChunkSize() { return ChunkSize; } in getChunkSize()
858 const Expr *getChunkSize() const { return ChunkSize; } in getChunkSize()
865 return child_range(reinterpret_cast<Stmt **>(&ChunkSize), in children()
866 reinterpret_cast<Stmt **>(&ChunkSize) + 1); in children()
3823 Expr *ChunkSize; variable
[all …]
/external/llvm/lib/MC/
DMCAssembler.cpp504 for (unsigned ChunkSize = MaxChunkSize; ChunkSize; ChunkSize /= 2) { in writeFragment() local
505 StringRef Ref(Data, ChunkSize); in writeFragment()
506 for (uint64_t I = 0, E = Size / ChunkSize; I != E; ++I) in writeFragment()
508 Size = Size % ChunkSize; in writeFragment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp212 const ssize_t ChunkSize = 4096*4; in getMemoryBufferForStream() local
213 SmallString<ChunkSize> Buffer; in getMemoryBufferForStream()
216 Buffer.reserve(Buffer.size() + ChunkSize); in getMemoryBufferForStream()
218 FD, makeMutableArrayRef(Buffer.end(), ChunkSize)); in getMemoryBufferForStream()
Draw_ostream.cpp711 size_t ChunkSize = std::min(Size, MaxWriteSize); in write_impl() local
712 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
/external/llvm-project/llvm/lib/Support/
DMemoryBuffer.cpp226 const ssize_t ChunkSize = 4096*4; in getMemoryBufferForStream() local
227 SmallString<ChunkSize> Buffer; in getMemoryBufferForStream()
230 Buffer.reserve(Buffer.size() + ChunkSize); in getMemoryBufferForStream()
232 FD, makeMutableArrayRef(Buffer.end(), ChunkSize)); in getMemoryBufferForStream()
Draw_ostream.cpp762 size_t ChunkSize = std::min(Size, MaxWriteSize); in write_impl() local
763 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAssembler.cpp597 const unsigned ChunkSize = VSize * NumPerChunk; in writeFragment() local
600 StringRef Ref(Data, ChunkSize); in writeFragment()
601 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I) in writeFragment()
605 unsigned TrailingCount = FragmentSize % ChunkSize; in writeFragment()
/external/llvm-project/llvm/lib/MC/
DMCAssembler.cpp605 const unsigned ChunkSize = VSize * NumPerChunk; in writeFragment() local
608 StringRef Ref(Data, ChunkSize); in writeFragment()
609 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I) in writeFragment()
613 unsigned TrailingCount = FragmentSize % ChunkSize; in writeFragment()
/external/llvm-project/clang/include/clang/AST/
DOpenMPClause.h1318 Expr *ChunkSize = nullptr; variable
1379 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
1400 Expr *ChunkSize, Stmt *HelperChunkSize, in OMPScheduleClause() argument
1405 KindLoc(KLoc), CommaLoc(CommaLoc), ChunkSize(ChunkSize) { in OMPScheduleClause()
1454 Expr *getChunkSize() { return ChunkSize; } in getChunkSize()
1457 const Expr *getChunkSize() const { return ChunkSize; } in getChunkSize()
1460 return child_range(reinterpret_cast<Stmt **>(&ChunkSize), in children()
1461 reinterpret_cast<Stmt **>(&ChunkSize) + 1); in children()
6116 Expr *ChunkSize = nullptr; variable
6141 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
[all …]

12