Home
last modified time | relevance | path

Searched refs:BufferSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestUnspecifiedDimensions.cpp86 enum class BufferSize { LESS, EQUAL, MORE }; // only used for output buffer size enum in __anon9006201d0111::UnspecifiedDimensionsTest
137 std::string toString(BufferSize b) { in toString()
139 case BufferSize::LESS: in toString()
141 case BufferSize::EQUAL: in toString()
143 case BufferSize::MORE: in toString()
201 mBufferSizeChoices = {BufferSize::LESS, BufferSize::EQUAL, BufferSize::MORE}; in SetUp()
235 BufferSize s = BufferSize::EQUAL) { in getSize()
240 if (s == BufferSize::LESS) { in getSize()
242 } else if (s == BufferSize::MORE) { in getSize()
252 BufferSize bufferSize = BufferSize::EQUAL) { in setInOut()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream.cc94 int backup_bytes = BufferSize() + buffer_size_after_limit_ + overflow_bytes_; in BackUpInputToCurrentPosition()
99 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_; in BackUpInputToCurrentPosition()
217 const int original_buffer_size = BufferSize(); in Skip()
252 if (BufferSize() == 0 && !Refresh()) return false; in GetDirectBufferPointer()
255 *size = BufferSize(); in GetDirectBufferPointer()
282 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
306 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian32Fallback()
323 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian64Fallback()
433 if (BufferSize() >= kMaxVarintBytes || in ReadVarint32Fallback()
463 if (BufferSize() >= kMaxVarintBytes || in ReadVarintSizeAsIntFallback()
[all …]
Dcoded_stream_inl.h54 if (BufferSize() >= size) { in InternalReadStringInline()
72 while ((current_buffer_size = BufferSize()) < size) { in InternalReadRawInline()
Dcoded_stream.h623 int BufferSize() const;
983 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) { in ReadLittleEndian32()
997 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) { in ReadLittleEndian64()
1081 if (GOOGLE_PREDICT_TRUE(BufferSize() >= 2) && in ExpectTag()
1132 return total_bytes_read_ - (BufferSize() + buffer_size_after_limit_); in CurrentPosition()
1308 inline int CodedInputStream::BufferSize() const { in BufferSize() function
/frameworks/rs/rsov/compiler/
DGlobalMergePass.cpp76 const uint64_t BufferSize = DL.getTypeAllocSize(MergedTy); in runOnModule() local
77 RS2SPIRVCtxt.setGlobalSize(BufferSize); in runOnModule()
92 CreateInitFunction(LLVMCtxt, M, MergedGV, MergedTy, BufferSize, Globals); in runOnModule()
174 StructType *MergedTy, const uint64_t BufferSize, in CreateInitFunction() argument
198 LLVMIRBuilder.CreateMemCpy(Load, MergedInit, BufferSize, 0); in CreateInitFunction()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DCodedInputStream.cs98 internal const int BufferSize = 4096; field in Google.Protobuf.CodedInputStream
161 : this(ProtoPreconditions.CheckNotNull(input, "input"), new byte[BufferSize], 0, 0) in CodedInputStream()
220 … return new CodedInputStream(input, new byte[BufferSize], 0, 0, sizeLimit, recursionLimit); in CreateWithLimits()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4lib_int.h226 Int BufferSize[2]; /* Buffer Size for Base and Enhance Layers */ member