/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | image_resize_ops.cc | 82 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() 85 int num_spatial_dims = in_size.size(); in ComputeResizeConvolutionParameters() 90 if (in_size[i] == 1) { in ComputeResizeConvolutionParameters() 100 const int64 in_size_factor = align_corners ? in_size[i] - 1 : in_size[i]; in ComputeResizeConvolutionParameters() 119 int64 CalculateUpperPadding(int64 in_size, int64 out_size, int64 kernel_size, in CalculateUpperPadding() argument 122 (kernel_size - 1) - 1 - (kernel_size * (in_size - 1)); in CalculateUpperPadding() 207 absl::Span<const int64> in_size, in BroadcastSpatialDimensions() argument 216 for (int32 i = 0; i < in_size.size(); ++i) { in BroadcastSpatialDimensions() 217 if (in_size[i] == 1 && out_size[i] > 1) { in BroadcastSpatialDimensions() [all …]
|
/external/u-boot/test/ |
D | compression.c | 127 void *in, unsigned long in_size, in compress_using_gzip() argument 134 ret = gzip(out, &inout_size, in, in_size); in compress_using_gzip() 142 void *in, unsigned long in_size, in uncompress_using_gzip() argument 147 unsigned long inout_size = in_size; in uncompress_using_gzip() 157 void *in, unsigned long in_size, in compress_using_bzip2() argument 162 ut_asserteq(in_size, strlen(plain)); in compress_using_bzip2() 163 ut_asserteq(0, memcmp(plain, in, in_size)); in compress_using_bzip2() 176 void *in, unsigned long in_size, in uncompress_using_bzip2() argument 183 ret = BZ2_bzBuffToBuffDecompress(out, &inout_size, in, in_size, in uncompress_using_bzip2() 192 void *in, unsigned long in_size, in compress_using_lzma() argument [all …]
|
/external/tensorflow/tensorflow/c/kernels/ |
D | bitcast_op.cc | 46 size_t in_size; member 62 kernel->in_size = TF_DataTypeSize(kernel->input_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/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()
|
/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/core/framework/ |
D | ops_util.cc | 40 Status GetBroadcastSize(const int index, const int in_size, const int ksize, in GetBroadcastSize() argument 44 if (index * stride > in_size) { in GetBroadcastSize() 59 if (*bindex + ksize > in_size) { in GetBroadcastSize() 60 *bsize = std::min((in_size - *bindex), ksize); in GetBroadcastSize()
|
/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() 1077 in_size--; in utf8_unescape() 1088 if (!in_size) in utf8_unescape() 1090 in_size--; in utf8_unescape() 1108 size_t utf8_escape(const char *inp, size_t in_size, in utf8_escape() argument [all …]
|
/external/u-boot/drivers/watchdog/ |
D | tangier_wdt.c | 56 int in_size; in hw_watchdog_init() local 66 in_size = DIV_ROUND_UP(sizeof(ipc_wd_start), 4); in hw_watchdog_init() 69 (u32 *)&ipc_wd_start, in_size, NULL, 0); in hw_watchdog_init()
|
/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/openssh/ |
D | moduli.c | 582 u_int32_t generator_known, in_tests, in_tries, in_type, in_size; in prime_test() local 654 in_size = strtoul(cp, &cp, 10); in prime_test() 674 in_size += 1; in prime_test() 699 if ((u_int32_t)BN_num_bits(p) != (in_size + 1)) { in prime_test() 700 debug2("%10u: bit size %u mismatch", count_in, in_size); in prime_test() 703 if (in_size < QSIZE_MINIMUM) { in prime_test() 704 debug2("%10u: bit size %u too short", count_in, in_size); in prime_test() 784 in_tries, in_size, generator_known, p)) { in prime_test()
|
/external/u-boot/lib/efi_loader/ |
D | efi_variable.c | 173 unsigned long in_size; in efi_get_variable() local 195 in_size = *data_size; in efi_get_variable() 208 if (in_size < len) in efi_get_variable() 223 if (in_size < len) in efi_get_variable()
|
/external/brotli/java/org/brotli/wrapper/dec/ |
D | decoder_jni.cc | 127 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() local 130 handle->state, &in_size, &in, &out_size, nullptr, nullptr); in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 131 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | padding.h | 22 inline int ComputePadding(int stride, int dilation_rate, int in_size, in ComputePadding() argument 25 int padding = ((out_size - 1) * stride + effective_filter_size - in_size) / 2; in ComputePadding()
|
/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/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/puffin/src/ |
D | bit_reader.h | 83 BufferBitReader(const uint8_t* in_buf, size_t in_size) in BufferBitReader() argument 85 in_size_(in_size), in BufferBitReader()
|
/external/tensorflow/tensorflow/core/kernels/ |
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()
|
/external/libchrome/base/ |
D | tuple.h | 103 constexpr size_t in_size = std::tuple_size<std::decay_t<InTuple>>::value; in DispatchToMethod() local 106 std::make_index_sequence<in_size>(), in DispatchToMethod()
|