/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | image_resize_ops.cc | 77 gtl::ArraySlice<int64> in_size, gtl::ArraySlice<int64> out_size) { in ComputeResizeConvolutionParameters() argument 78 CHECK_EQ(in_size.size(), out_size.size()); in ComputeResizeConvolutionParameters() 79 int num_spatial_dims = in_size.size(); in ComputeResizeConvolutionParameters() 84 if (in_size[i] == 1) { in ComputeResizeConvolutionParameters() 93 int64 gcd = MathUtil::GCD(static_cast<uint64>(in_size[i] - 1), in ComputeResizeConvolutionParameters() 95 dims.stride[i] = (in_size[i] - 1) / gcd; in ComputeResizeConvolutionParameters() 144 const int num_spatial_dims, std::vector<int64> in_size, in ResizeUsingDilationAndConvolution() argument 170 ComputeResizeConvolutionParameters(in_size, out_size); in ResizeUsingDilationAndConvolution() 184 if (in_size[i] == 1 && out_size[i] > 1) { in ResizeUsingDilationAndConvolution() 194 const int num_spatial_dims, std::vector<int64> in_size, in ResizeUsingDilationAndConvolutionGradOp() argument [all …]
|
/external/xz-embedded/userspace/ |
D | boottest.c | 42 size_t in_size; in test_buf_to_buf() local 44 in_size = fread(in, 1, sizeof(in), stdin); in test_buf_to_buf() 45 ret = decompress(in, in_size, NULL, NULL, out, NULL, &error); in test_buf_to_buf() 52 size_t in_size; in test_buf_to_cb() local 55 in_size = fread(in, 1, sizeof(in), stdin); in test_buf_to_cb() 56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error); in test_buf_to_cb()
|
D | xzminidec.c | 56 b.in_size = 0; in main() 62 if (b.in_pos == b.in_size) { in main() 63 b.in_size = fread(in, 1, sizeof(in), stdin); in main()
|
D | bytetest.c | 48 b.in_size = 0; in main() 54 if (b.in_pos == b.in_size) { in main() 55 b.in_size = fread(in, 1, sizeof(in), stdin); in main()
|
D | buftest.c | 36 b.in_size = fread(in, 1, sizeof(in), stdin); in main()
|
/external/xz-embedded/linux/lib/ |
D | decompress_unxz.c | 251 STATIC int INIT unxz(unsigned char *in, int in_size, in unxz() argument 296 b.in_size = in_size; in unxz() 303 if (b.in_pos == b.in_size && fill != NULL) { in unxz() 309 in_size = fill(in, XZ_IOBUF_SIZE); in unxz() 310 if (in_size < 0) { in unxz() 320 b.in_size = in_size; in unxz()
|
/external/xz-embedded/linux/lib/xz/ |
D | xz_dec_test.c | 76 buffers.in_size = 0; in xz_dec_test_open() 122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write() 124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write() 125 if (copy_from_user(buffer_in, buf, buffers.in_size)) in xz_dec_test_write() 128 buf += buffers.in_size; in xz_dec_test_write() 129 remaining -= buffers.in_size; in xz_dec_test_write() 145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
|
D | xz_dec_stream.c | 171 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 187 size_t *in_pos, size_t in_size) in dec_vli() argument 194 while (*in_pos < in_size) { in dec_vli() 319 ret = dec_vli(s, b->in, &b->in_pos, b->in_size); in dec_index() 369 if (b->in_pos == b->in_size) in crc_validate() 393 if (b->in_pos == b->in_size) in check_skip() 611 if (b->in_pos == b->in_size) in dec_main() 664 if (b->in_pos == b->in_size) in dec_main() 709 if (b->in_pos == b->in_size) { in dec_main() 791 ret = b->in_pos == b->in_size in xz_dec_run()
|
D | xz_dec_lzma2.c | 379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed() 381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed() 452 if (b->in_pos == b->in_size) in rc_read_init() 851 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 893 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 901 s->rc.in_limit = b->in_size - LZMA_IN_REQUIRED; in lzma2_lzma() 914 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 936 while (b->in_pos < b->in_size || s->lzma2.sequence == SEQ_LZMA_RUN) { in xz_dec_lzma2_run() 1087 || (b->in_pos == b->in_size in xz_dec_lzma2_run()
|
/external/brotli/c/enc/ |
D | cluster_inc.h | 173 size_t in_size, const uint32_t* clusters, size_t num_clusters, 176 for (i = 0; i < in_size; ++i) { 196 for (i = 0; i < in_size; ++i) { 250 MemoryManager* m, const HistogramType* in, const size_t in_size, 253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size); 254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size); 264 for (i = 0; i < in_size; ++i) { 268 for (i = 0; i < in_size; ++i) { 274 for (i = 0; i < in_size; i += max_input_histograms) { 276 BROTLI_MIN(size_t, in_size - i, max_input_histograms); [all …]
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
D | layers_dense_variational_test.py | 147 def _testDenseSetUp(self, layer_class, batch_size, in_size, out_size, argument 150 inputs = random_ops.random_uniform([batch_size, in_size], seed=seed()) 152 kernel_size = [in_size, out_size] 212 batch_size, in_size, out_size = 2, 3, 4 218 batch_size, in_size, out_size) 267 batch_size, in_size, out_size = 2, 3, 4 273 batch_size, in_size, out_size) 322 batch_size, in_size, out_size = 2, 3, 4 328 batch_size, in_size, out_size, seed=44) 337 [batch_size, in_size], [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ops_util.cc | 37 Status GetBroadcastSize(const int index, const int in_size, const int ksize, in GetBroadcastSize() argument 41 if (index * stride > in_size) { in GetBroadcastSize() 56 if (*bindex + ksize > in_size) { in GetBroadcastSize() 57 *bsize = std::min((in_size - *bindex), ksize); in GetBroadcastSize()
|
D | image_resizer_state.h | 41 inline float CalculateResizeScale(int64 in_size, int64 out_size, in CalculateResizeScale() argument 44 ? (in_size - 1) / static_cast<float>(out_size - 1) in CalculateResizeScale() 45 : in_size / static_cast<float>(out_size); in CalculateResizeScale()
|
D | quantized_resize_bilinear_op_test.cc | 62 float CalculateResizeScale(int64 in_size, int64 out_size, bool align_corners) { in CalculateResizeScale() argument 64 ? (in_size - 1) / static_cast<float>(out_size - 1) in CalculateResizeScale() 65 : in_size / static_cast<float>(out_size); in CalculateResizeScale() 69 const int64 in_size, in GetReferenceWeight() argument 75 const int64 upper = std::min(lower + 1, in_size - 1); in GetReferenceWeight()
|
D | reduction_gpu_kernels.cu.h | 450 int in_size, Op op, T init, 453 if (in_size <= 4096) { 457 <<<num_blocks, num_threads, 0, cu_stream>>>(in, out, in_size, op, init); 459 } else if (in_size <= 1 << 19) { 461 const int num_blocks = std::min(32, Eigen::divup(in_size, num_threads)); 478 in, (T*)temp_storage.flat<int8_t>().data(), in_size, op, init); 497 temp_storage_bytes, in, out, in_size, op, init, cu_stream); 789 const int in_size = in_dim0 * in_dim1 * in_dim2; 790 LaunchScalarReduction(ctx, out, in, in_size, op, init, cu_stream);
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 139 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 …]
|
D | gzip_stream.cc | 93 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()
|
/external/wpa_supplicant_8/src/utils/ |
D | common.c | 1059 size_t utf8_unescape(const char *inp, size_t in_size, in utf8_unescape() argument 1067 if (!in_size) in utf8_unescape() 1068 in_size = os_strlen(inp); in utf8_unescape() 1071 if (*inp == '\'' && in_size) { in utf8_unescape() 1073 in_size--; in utf8_unescape() 1076 while (in_size--) { in utf8_unescape() 1087 if (!in_size--) in utf8_unescape() 1106 size_t utf8_escape(const char *inp, size_t in_size, in utf8_escape() argument 1116 if (!in_size) in utf8_escape() 1117 in_size = os_strlen(inp); in utf8_escape() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
D | padding.h | 20 inline int ComputePadding(int stride, int in_size, int filter_size, in ComputePadding() argument 22 int padding = ((out_size - 1) * stride + filter_size - in_size) / 2; in ComputePadding()
|
/external/brotli/java/org/brotli/wrapper/dec/ |
D | decoder_jni.cc | 125 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() local 128 handle->state, &in_size, &in, &out_size, nullptr, nullptr); in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 129 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
|
/external/toybox/toys/pending/ |
D | xzcat.c | 93 size_t in_size; member 230 b.in_size = 0; in do_xzcat() 236 if (b.in_pos == b.in_size) { in do_xzcat() 237 b.in_size = read(fd, in, sizeof(in)); in do_xzcat() 1526 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed() 1528 copy_size = minof(b->in_size - b->in_pos, in dict_uncompressed() 1595 if (b->in_pos == b->in_size) return 0; in rc_read_init() 1993 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 2035 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 2043 s->rc.in_limit = b->in_size - LZMA_IN_REQUIRED; in lzma2_lzma() [all …]
|
/external/brotli/java/org/brotli/wrapper/enc/ |
D | encoder_jni.cc | 139 size_t in_size = handle->input_last - handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() local 142 handle->state, op, &in_size, &in, &out_size, nullptr, nullptr); in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 143 handle->input_offset = handle->input_last - in_size; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
|
/external/puffin/src/ |
D | bit_reader.h | 80 BufferBitReader(const uint8_t* in_buf, size_t in_size) in BufferBitReader() argument 82 in_size_(in_size), in BufferBitReader()
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/ops/ |
D | layers_dense_variational.py | 148 in_size = input_shape.with_rank_at_least(2)[-1].value 149 if in_size is None: 152 self._input_spec = layers_lib.InputSpec(min_ndim=2, axes={-1: in_size}) 157 dtype, [in_size, self.units], "kernel_posterior", 164 dtype, [in_size, self.units], "kernel_prior",
|
/external/xz-embedded/linux/include/linux/decompress/ |
D | unxz.h | 13 int unxz(unsigned char *in, int in_size,
|