Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 25 of 100) sorted by relevance

1234

/external/u-boot/test/
Dcompression.c129 unsigned long *out_size) in compress_using_gzip() argument
135 if (out_size) in compress_using_gzip()
136 *out_size = inout_size; in compress_using_gzip()
144 unsigned long *out_size) in uncompress_using_gzip() argument
150 if (out_size) in uncompress_using_gzip()
151 *out_size = inout_size; in uncompress_using_gzip()
159 unsigned long *out_size) in compress_using_bzip2() argument
169 if (out_size) in compress_using_bzip2()
170 *out_size = bzip2_compressed_size; in compress_using_bzip2()
178 unsigned long *out_size) in uncompress_using_bzip2() argument
[all …]
/external/libaom/libaom/av1/common/x86/
Dav1_txfm_sse2.h142 const int out_size) { in load_buffer_16bit_to_16bit_w4() argument
143 for (int i = 0; i < out_size; ++i) { in load_buffer_16bit_to_16bit_w4()
151 const int out_size) { in load_buffer_16bit_to_16bit_w4_flip() argument
152 for (int i = 0; i < out_size; ++i) { in load_buffer_16bit_to_16bit_w4_flip()
153 out[out_size - i - 1] = _mm_loadl_epi64((const __m128i *)(in + i * stride)); in load_buffer_16bit_to_16bit_w4_flip()
158 __m128i *out, int out_size) { in load_buffer_16bit_to_16bit() argument
159 for (int i = 0; i < out_size; ++i) { in load_buffer_16bit_to_16bit()
166 int out_size) { in load_buffer_16bit_to_16bit_flip() argument
167 for (int i = 0; i < out_size; ++i) { in load_buffer_16bit_to_16bit_flip()
168 out[out_size - i - 1] = load_16bit_to_16bit(in + i * stride); in load_buffer_16bit_to_16bit_flip()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_resize_ops.cc82 absl::Span<const int64> in_size, absl::Span<const int64> out_size, in ComputeResizeConvolutionParameters() argument
84 CHECK_EQ(in_size.size(), out_size.size()); in ComputeResizeConvolutionParameters()
94 } else if (out_size[i] == 1) { in ComputeResizeConvolutionParameters()
102 align_corners ? out_size[i] - 1 : out_size[i]; in ComputeResizeConvolutionParameters()
119 int64 CalculateUpperPadding(int64 in_size, int64 out_size, int64 kernel_size, in CalculateUpperPadding() argument
121 int64 padding = (2 * kernel_size - 1) + (out_size - 1) * stride - in CalculateUpperPadding()
208 absl::Span<const int64> out_size) { in BroadcastSpatialDimensions() argument
217 if (in_size[i] == 1 && out_size[i] > 1) { in BroadcastSpatialDimensions()
219 out_size[i]); in BroadcastSpatialDimensions()
229 absl::Span<const int64> out_size, const int64 channels, in ResizeUsingDilationAndConvolution() argument
[all …]
/external/tensorflow/tensorflow/c/kernels/
Dbitcast_op.cc47 size_t out_size; member
63 kernel->out_size = TF_DataTypeSize(kernel->output_data_type); in BitcastOp_Create()
65 size_t check_size = std::max(kernel->in_size, kernel->out_size) % in BitcastOp_Create()
66 std::min(kernel->in_size, kernel->out_size); in BitcastOp_Create()
98 if (!(k->in_size >= k->out_size || in BitcastOp_Compute()
100 TF_Dim(tensor, dim_count - 1) == k->out_size / k->in_size))) { in BitcastOp_Compute()
114 if (k->out_size < k->in_size) { in BitcastOp_Compute()
115 dims[new_dim_count++] = static_cast<int64_t>(k->in_size / k->out_size); in BitcastOp_Compute()
116 } else if (k->out_size > k->in_size) { in BitcastOp_Compute()
/external/libxml2/doc/tutorial/
Dincludeconvert.c10 int ret,size,out_size,temp;
14 out_size = size*2-1;
15 out = malloc((size_t)out_size);
27 ret = handler->input(out, &out_size, in, &temp);
37 out = realloc(out,out_size+1);
38 out[out_size]=0; /*null terminating out*/
/external/tensorflow/tensorflow/core/kernels/
Dgather_functor_gpu.cu.h35 int64 slice_size, int64 out_size) { in GatherOpKernel() argument
36 CUDA_1D_KERNEL_LOOP(i, out_size) { in GatherOpKernel()
80 const int64 out_size = out.size();
81 if (out_size == 0) {
93 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d);
98 out.data(), gather_dim_size, indices_size, slice_size, out_size));
103 out.data(), gather_dim_size, indices_size, slice_size, out_size));
Dlistdiff_op.cc62 int64 out_size = 0; in Compute() local
65 ++out_size; in Compute()
71 OP_REQUIRES_OK(context, context->allocate_output(0, {out_size}, &out)); in Compute()
75 OP_REQUIRES_OK(context, context->allocate_output(1, {out_size}, &indices)); in Compute()
80 OP_REQUIRES(context, p < out_size, in Compute()
83 " when output Tensor only had ", out_size, in Compute()
Dgather_nd_op_gpu.cu.cc34 const int64 slice_size, const int64 out_size) { in GatherSliceOpKernel() argument
37 CUDA_1D_KERNEL_LOOP(i, out_size) { in GatherSliceOpKernel()
75 const int64 out_size = Tout.size(); in operator ()() local
87 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d); in operator ()()
93 indices_size, s_size, out_size)); in operator ()()
Ddynamic_partition_op_gpu.cu.cc66 const int32* size, int32 out_size, in MoveValuesKernel() argument
68 int32 N = min(ldg(size), out_size); in MoveValuesKernel()
72 if (FastBoundsCheck(key, out_size)) out[key] = value; in MoveValuesKernel()
90 int32 out_size, int32* out) { in MoveValues() argument
96 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d); in MoveValues()
99 values, num_runs, out_size, out)); in MoveValues()
105 int64 slice_size, int64 out_size) { in CallGatherKernel() argument
106 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d); in CallGatherKernel()
110 gather_dim_size, indices_size, slice_size, out_size)); in CallGatherKernel()
447 int64 out_size = outs[p]->NumElements(); in GatherSlices() local
[all …]
Dresize_op_benchmark_test.cc30 Tensor out_size(DT_INT32, TensorShape({2})); in BM_Resize() local
31 auto out_size_flat = out_size.flat<int32>(); in BM_Resize()
38 .Input(test::graph::Constant(g, out_size)) in BM_Resize()
Dmirror_pad_op.cc304 const int64 out_size = in0.dim_size(d) - (before + after); in Compute() local
306 OP_REQUIRES(context, before <= out_size && after <= out_size, in Compute()
310 " greater than ", out_size)); in Compute()
312 OP_REQUIRES(context, before < out_size && after < out_size, in Compute()
316 " not less than ", out_size)); in Compute()
318 output_shape.AddDim(out_size); in Compute()
Dconv_grad_ops.cc68 int64 out_size = 0; in ConvBackpropExtractAndVerifyDimension() local
71 &out_size, &padding_before, &padding_after)); in ConvBackpropExtractAndVerifyDimension()
72 if (dim->output_size != out_size) { in ConvBackpropExtractAndVerifyDimension()
75 dim->output_size, ", computed = ", out_size, in ConvBackpropExtractAndVerifyDimension()
Dimage_resizer_state.h41 inline float CalculateResizeScale(int64 in_size, int64 out_size, in CalculateResizeScale() argument
43 return (align_corners && out_size > 1) in CalculateResizeScale()
44 ? (in_size - 1) / static_cast<float>(out_size - 1) in CalculateResizeScale()
45 : in_size / static_cast<float>(out_size); in CalculateResizeScale()
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h189 size_t out_size = cricket::VideoFrame::SizeOf(frame.GetWidth(), in DumpFrame() local
191 rtc::scoped_ptr<uint8_t[]> out(new uint8_t[out_size]); in DumpFrame()
192 frame.CopyToBuffer(out.get(), out_size); in DumpFrame()
193 return DumpSample(filename, out.get(), out_size); in DumpFrame()
770 size_t out_size = kWidth * kHeight * 2; in ConstructRGB565() local
771 rtc::scoped_ptr<uint8_t[]> outbuf(new uint8_t[out_size + kAlignment]); in ConstructRGB565()
775 EXPECT_EQ(out_size, frame1.ConvertToRgbBuffer(cricket::FOURCC_RGBP, in ConstructRGB565()
777 out_size, kWidth * 2)); in ConstructRGB565()
778 EXPECT_TRUE(LoadFrame(out, out_size, cricket::FOURCC_RGBP, in ConstructRGB565()
786 size_t out_size = kWidth * kHeight * 2; in ConstructARGB1555() local
[all …]
/external/xz-embedded/linux/lib/xz/
Dxz_dec_bcj.c53 size_t out_size; member
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
478 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
490 if (b->out_pos < b->out_size) { in xz_dec_bcj_run()
494 s->out_size = b->out_size; in xz_dec_bcj_run()
497 b->out_size = sizeof(s->temp.buf); in xz_dec_bcj_run()
504 b->out_size = s->out_size; in xz_dec_bcj_run()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc142 int out_size; in WriteToOutput() local
145 if (!output->Next(&out, &out_size)) { in WriteToOutput()
148 EXPECT_GT(out_size, 0); in WriteToOutput()
150 if (in_size <= out_size) { in WriteToOutput()
152 output->BackUp(out_size - in_size); in WriteToOutput()
156 memcpy(out, in, out_size); in WriteToOutput()
157 in += out_size; in WriteToOutput()
158 in_size -= out_size; in WriteToOutput()
166 int out_size = size; in ReadFromInput() local
175 return size - out_size; in ReadFromInput()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dtxfm_common_avx2.h88 int out_size) { in load_buffer_16bit_to_16bit_avx2() argument
89 for (int i = 0; i < out_size; ++i) { in load_buffer_16bit_to_16bit_avx2()
97 int out_size) { in load_buffer_16bit_to_16bit_flip_avx2() argument
98 for (int i = 0; i < out_size; ++i) { in load_buffer_16bit_to_16bit_flip_avx2()
99 out[out_size - i - 1] = load_16bit_to_16bit_avx2(in + i * stride); in load_buffer_16bit_to_16bit_flip_avx2()
111 int out_size) { in load_buffer_32bit_to_16bit_w16_avx2() argument
112 for (int i = 0; i < out_size; ++i) { in load_buffer_32bit_to_16bit_w16_avx2()
291 const int out_size) { in store_rect_buffer_16bit_to_32bit_w8_avx2() argument
292 for (int i = 0; i < out_size; ++i) { in store_rect_buffer_16bit_to_32bit_w8_avx2()
/external/libchrome/base/strings/
Dstring_number_conversions_fuzzer.cc27 size_t out_size; in LLVMFuzzerTestOneInput() local
28 base::StringToSizeT(string_piece_input, &out_size); in LLVMFuzzerTestOneInput()
39 base::StringToSizeT(string_piece_input16, &out_size); in LLVMFuzzerTestOneInput()
/external/google-breakpad/src/client/
Dminidump_file_writer.cc123 size_t out_size = sizeof(uint16_t) * out_count; in CopyStringToMDString() local
124 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size); in CopyStringToMDString()
150 size_t out_size = sizeof(uint16_t) * out_count; in CopyStringToMDString() local
151 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size); in CopyStringToMDString()
/external/elfutils/libelf/
Delf_compress.c98 size_t out_size = 2 * block; in __libelf_compress() local
99 void *out_buf = malloc (out_size); in __libelf_compress()
162 z.avail_out = out_size - used; in __libelf_compress()
170 used += (out_size - used) - z.avail_out; in __libelf_compress()
180 void *bigger = realloc (out_buf, out_size + block); in __libelf_compress()
187 out_size += block; in __libelf_compress()
/external/jemalloc_new/include/jemalloc/internal/
Demitter.h119 emitter_gen_fmt(char *out_fmt, size_t out_size, const char *fmt_specifier, in emitter_gen_fmt() argument
123 written = malloc_snprintf(out_fmt, out_size, in emitter_gen_fmt()
126 written = malloc_snprintf(out_fmt, out_size, in emitter_gen_fmt()
129 written = malloc_snprintf(out_fmt, out_size, in emitter_gen_fmt()
133 assert(written < out_size); in emitter_gen_fmt()
/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h23 int filter_size, int out_size) { in ComputePadding() argument
25 int padding = ((out_size - 1) * stride + effective_filter_size - in_size) / 2; in ComputePadding()
/external/puffin/src/
Dbit_writer.h69 BufferBitWriter(uint8_t* out_buf, size_t out_size) in BufferBitWriter() argument
71 out_size_(out_size), in BufferBitWriter()
/external/xz-embedded/linux/lib/
Ddecompress_unxz.c279 b.out_size = (size_t)-1; in unxz()
281 b.out_size = XZ_IOBUF_SIZE; in unxz()
325 if (flush != NULL && (b.out_pos == b.out_size in unxz()
/external/tensorflow/tensorflow/contrib/mpi_collectives/
Dmpi_allreduce_test.py61 out_size = batch_size
72 shape=(hidden_size, out_size),
91 my_reducer = tf.Variable(initial_value=np.ones((hidden_size, out_size)),

1234