Home
last modified time | relevance | path

Searched refs:in_size (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc139 int in_size = size; in WriteToOutput() local
150 if (in_size <= out_size) { in WriteToOutput()
151 memcpy(out, in, in_size); in WriteToOutput()
152 output->BackUp(out_size - in_size); in WriteToOutput()
158 in_size -= out_size; in WriteToOutput()
169 int in_size = 0; in ReadFromInput() local
174 if (!input->Next(&in, &in_size)) { in ReadFromInput()
177 EXPECT_GT(in_size, -1); in ReadFromInput()
178 if (in_size == 0) { in ReadFromInput()
185 if (out_size <= in_size) { in ReadFromInput()
[all …]
Dgzip_stream.cc93 int in_size; in Inflate() local
95 bool ok = sub_stream_->Next(&in, &in_size); in Inflate()
102 zcontext_.avail_in = in_size; in Inflate()
/frameworks/ml/nn/common/include/
DOperationsUtils.h206 void calculateExplicitPaddingImpl(int32_t in_size, int32_t stride, int32_t dilation_factor,
211 inline void calculateExplicitPadding(int32_t in_size, int32_t stride, int32_t dilation_factor, in calculateExplicitPadding() argument
214 calculateExplicitPaddingImpl(in_size, stride, dilation_factor, filter_size, padding_implicit, in calculateExplicitPadding()
218 inline void calculateExplicitPadding(int32_t in_size, int32_t stride, int32_t filter_size, in calculateExplicitPadding() argument
221 calculateExplicitPadding(in_size, stride, 1, filter_size, padding_implicit, padding_head, in calculateExplicitPadding()
225 inline void calculateExplicitPaddingTransposeConv(int32_t in_size, int32_t stride, in calculateExplicitPaddingTransposeConv() argument
228 calculateExplicitPaddingImpl(in_size, stride, /*dilation_factor=*/1, filter_size, in calculateExplicitPaddingTransposeConv()
/frameworks/ml/nn/common/operations/
DTile.cpp29 void CopyMultipleTimes(const T* in_data, int32_t in_size, int32_t multiplier, T* out_data) { in CopyMultipleTimes() argument
31 const T* in_end = in_data + in_size; in CopyMultipleTimes()
/frameworks/ml/nn/common/
DOperationsUtils.cpp289 void calculateExplicitPaddingImpl(int32_t in_size, int32_t stride, int32_t dilation_factor, in calculateExplicitPaddingImpl() argument
299 int32_t out_size = (in_size + stride - 1) / stride; in calculateExplicitPaddingImpl()
301 if (tmp > in_size) { in calculateExplicitPaddingImpl()
302 *padding_head = (tmp - in_size) / 2; in calculateExplicitPaddingImpl()
303 *padding_tail = (tmp - in_size) - *padding_head; in calculateExplicitPaddingImpl()
307 *padding_tail = (tmp - in_size) - *padding_head; in calculateExplicitPaddingImpl()
/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc678 size_t in_size, void* out_base, in CopyTask() argument
681 new std::thread([quit, in_base, in_size, out_base, out_size]() { in CopyTask()
687 std::tie(in_ring, import_ok) = Ring::Import(in_base, in_size); in CopyTask()
809 void* in_base, size_t in_size) { in CheckFillTask() argument
811 new std::thread([quit, in_base, in_size]() { in CheckFillTask()
816 std::tie(in_ring, import_ok) = Ring::Import(in_base, in_size); in CheckFillTask()