/external/tensorflow/tensorflow/core/kernels/ |
D | qr_op_impl.h | 71 int64 min_size = std::min(m, n); in GetOutputMatrixShapes() local 76 {TensorShape({m, min_size}), TensorShape({min_size, n})}); in GetOutputMatrixShapes() 84 double min_size = std::min(m, n); in GetCostPerUnit() local 85 double cost = 2 * max_size * min_size * min_size - in GetCostPerUnit() 86 2 * min_size * min_size * min_size / 3.; in GetCostPerUnit() 103 const int min_size = std::min(m, n); in ComputeMatrix() local 112 Matrix tmp = Matrix::Identity(m, min_size); in ComputeMatrix() 114 auto qr_top = qr.matrixQR().block(0, 0, min_size, n); in ComputeMatrix() 141 const int64 min_size = std::min(m, n); in ComputeAsync() local 156 q_shape.set_dim(ndims - 1, full_matrices_ ? m : min_size); in ComputeAsync() [all …]
|
D | svd_op_impl.h | 57 int64 min_size = std::min(m, n); in GetOutputMatrixShapes() local 59 return TensorShapes({TensorShape({min_size}), in GetOutputMatrixShapes() 60 TensorShape({m, full_matrices_ ? m : min_size}), in GetOutputMatrixShapes() 61 TensorShape({n, full_matrices_ ? n : min_size})}); in GetOutputMatrixShapes() 63 return TensorShapes({TensorShape({min_size})}); in GetOutputMatrixShapes()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | vp8_partition_aggregator.cc | 168 void Vp8PartitionAggregator::SetPriorMinMax(int min_size, int max_size) { in SetPriorMinMax() argument 170 assert(min_size >= 0); in SetPriorMinMax() 171 assert(max_size >= min_size); in SetPriorMinMax() 172 root_->set_min_parent_size(min_size); in SetPriorMinMax() 197 int* min_size, in CalcMinMax() argument 199 if (*min_size < 0) { in CalcMinMax() 200 *min_size = std::numeric_limits<int>::max(); in CalcMinMax() 214 if (this_size < static_cast<size_t>(*min_size)) { in CalcMinMax() 215 *min_size = this_size; in CalcMinMax() 227 int min_size, in CalcNumberOfFragments() argument [all …]
|
D | rtp_format_vp8.cc | 353 int min_size, max_size; in GeneratePacketsBalancedAggregates() local 354 AggregateSmallPartitions(&partition_decision, &min_size, &max_size); in GeneratePacketsBalancedAggregates() 363 remaining_partition, max_payload_len, overhead, min_size, max_size); in GeneratePacketsBalancedAggregates() 374 if (static_cast<int>(this_packet_bytes) < min_size) { in GeneratePacketsBalancedAggregates() 375 min_size = this_packet_bytes; in GeneratePacketsBalancedAggregates() 405 int* min_size, in AggregateSmallPartitions() argument 407 assert(min_size && max_size); in AggregateSmallPartitions() 408 *min_size = -1; in AggregateSmallPartitions() 430 if (*min_size >= 0 && *max_size >= 0) { in AggregateSmallPartitions() 431 aggregator.SetPriorMinMax(*min_size, *max_size); in AggregateSmallPartitions() [all …]
|
D | vp8_partition_aggregator_unittest.cc | 108 int min_size = -1; in VerifyMinMax() local 110 aggregator.CalcMinMax(opt_config, &min_size, &max_size); in VerifyMinMax() 111 EXPECT_EQ(expected_min, min_size); in VerifyMinMax() 148 int min_size = 382; in TEST() local 150 aggregator->CalcMinMax(opt_config, &min_size, &max_size); in TEST() 151 EXPECT_EQ(382, min_size); in TEST()
|
D | vp8_partition_aggregator.h | 100 void SetPriorMinMax(int min_size, int max_size); 114 void CalcMinMax(const ConfigVec& config, int* min_size, int* max_size) const; 124 int min_size,
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/applications/ |
D | imagenet_utils_test.py | 97 min_size=139, 114 min_size=139, 128 min_size=139, 142 min_size=139, 151 min_size=139, 158 min_size=139, 165 min_size=139, 172 min_size=139, 179 min_size=139, 186 min_size=139, [all …]
|
D | imagenet_utils.py | 250 min_size, argument 307 if ((input_shape[1] is not None and input_shape[1] < min_size) or 308 (input_shape[2] is not None and input_shape[2] < min_size)): 309 raise ValueError('Input size must be at least ' + str(min_size) + 310 'x' + str(min_size) + '; got ' 319 if ((input_shape[0] is not None and input_shape[0] < min_size) or 320 (input_shape[1] is not None and input_shape[1] < min_size)): 321 raise ValueError('Input size must be at least ' + str(min_size) + 322 'x' + str(min_size) + '; got '
|
/external/libvpx/libvpx/test/ |
D | external_frame_buffer_test.cc | 62 int GetFreeFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { in GetFreeFrameBuffer() argument 67 if (ext_fb_list_[idx].size < min_size) { in GetFreeFrameBuffer() 69 ext_fb_list_[idx].data = new uint8_t[min_size]; in GetFreeFrameBuffer() 70 memset(ext_fb_list_[idx].data, 0, min_size); in GetFreeFrameBuffer() 71 ext_fb_list_[idx].size = min_size; in GetFreeFrameBuffer() 82 int GetZeroFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { in GetZeroFrameBuffer() argument 87 if (ext_fb_list_[idx].size < min_size) { in GetZeroFrameBuffer() 90 ext_fb_list_[idx].size = min_size; in GetZeroFrameBuffer() 162 int get_vp9_frame_buffer(void *user_priv, size_t min_size, in get_vp9_frame_buffer() argument 166 return fb_list->GetFreeFrameBuffer(min_size, fb); in get_vp9_frame_buffer() [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_frame_buffer_pool.cc | 55 Vp9FrameBufferPool::GetFrameBuffer(size_t min_size) { in GetFrameBuffer() argument 56 RTC_DCHECK_GT(min_size, 0u); in GetFrameBuffer() 81 available_buffer->SetSize(min_size); in GetFrameBuffer() 102 size_t min_size, in VpxGetFrameBuffer() argument 108 rtc::scoped_refptr<Vp9FrameBuffer> buffer = pool->GetFrameBuffer(min_size); in VpxGetFrameBuffer()
|
D | vp9_frame_buffer_pool.h | 76 rtc::scoped_refptr<Vp9FrameBuffer> GetFrameBuffer(size_t min_size); 92 size_t min_size,
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_frame_buffers.c | 40 int vp9_get_frame_buffer(void *cb_priv, size_t min_size, in vp9_get_frame_buffer() argument 54 if (int_fb_list->int_fb[i].size < min_size) { in vp9_get_frame_buffer() 59 int_fb_list->int_fb[i].data = (uint8_t *)vpx_calloc(1, min_size); in vp9_get_frame_buffer() 61 int_fb_list->int_fb[i].size = min_size; in vp9_get_frame_buffer()
|
/external/libcups/cups/ |
D | dest-options.c | 1535 dinfo->min_size.width = INT_MAX; in cups_create_media_db() 1536 dinfo->min_size.length = INT_MAX; in cups_create_media_db() 1599 dinfo->min_size.width = x_dimension->values[0].range.lower; in cups_create_media_db() 1600 dinfo->min_size.length = y_dimension->values[0].range.lower; in cups_create_media_db() 1601 dinfo->min_size.left = in cups_create_media_db() 1602 dinfo->min_size.right = 635; /* Default 1/4" side margins */ in cups_create_media_db() 1603 dinfo->min_size.top = in cups_create_media_db() 1604 dinfo->min_size.bottom = 1270; /* Default 1/2" top/bottom margins */ in cups_create_media_db() 1680 dinfo->min_size.top = in cups_create_media_db() 1688 dinfo->min_size.left = in cups_create_media_db() [all …]
|
/external/autotest/server/site_tests/brillo_DiskSizeTest/ |
D | brillo_DiskSizeTest.py | 19 min_size=_DEFAULT_MIN_SIZE): argument 34 if int(device_size) < int(min_size): 37 (device, device_size, min_size))
|
/external/eigen/test/ |
D | qr_fullpivoting.cpp | 19 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); in qr() local 20 Index rows = internal::random<Index>(min_size,max_size), in qr() 21 cols = internal::random<Index>(min_size,max_size), in qr() 22 cols2 = internal::random<Index>(min_size,max_size), in qr() 79 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); in qr_invertible() local 80 Index size = internal::random<Index>(min_size,max_size); in qr_invertible()
|
/external/strace/ |
D | rtnl_link.c | 56 const unsigned int min_size = in decode_rtnl_link_stats() local 61 ((len == min_size) ? min_size : 0); in decode_rtnl_link_stats() 227 const unsigned int min_size = in decode_rtnl_link_stats64() local 232 ((len == min_size) ? min_size : 0); in decode_rtnl_link_stats64()
|
D | rtnl_neightbl.c | 116 const unsigned int min_size = in decode_ndt_stats() local 121 ((len == min_size) ? min_size : 0); in decode_ndt_stats()
|
/external/e2fsprogs/resize/ |
D | main.c | 260 blk64_t min_size = 0; in main() local 461 min_size = calculate_minimum_resize_size(fs, flags); in main() 465 min_size); in main() 495 new_size = min_size; in main() 526 if (!force && new_size < min_size) { in main() 528 _("New size smaller than minimum (%llu)\n"), min_size); in main()
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | MediaCodecVideoEncoderTest.java | 101 final int min_size = width * height * 3 / 2; in testEncoderUsingByteBuffer() local 110 assertTrue(min_size <= inputBuffers[0].capacity()); in testEncoderUsingByteBuffer() 120 assertTrue(encoder.encodeBuffer(true, bufferIndex, min_size, presentationTimestampUs)); in testEncoderUsingByteBuffer()
|
/external/webp/src/demux/ |
D | demux.c | 210 static ParseStatus StoreFrame(int frame_num, uint32_t min_size, in StoreFrame() argument 215 MemDataSize(mem) < min_size); in StoreFrame() 295 uint32_t min_size, uint32_t actual_size, in NewFrame() argument 297 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame() 298 if (actual_size < min_size) return PARSE_ERROR; in NewFrame() 299 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame() 368 const size_t min_size = RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE; in ReadHeader() local 372 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ReadHeader() 393 const size_t min_size = CHUNK_HEADER_SIZE; in ParseSingleImage() local 400 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-open-type-private.hh | 106 static const unsigned int min_size = (size); \ 111 static const unsigned int min_size = (size) 115 static const unsigned int min_size = (size) 120 static const unsigned int min_size = (size) 125 static const unsigned int min_size = (size) 153 static_assert (Type::min_size + 1 <= sizeof (_Null##Type), "Null pool too small. Enlarge.") 266 return likely (this->check_range (obj, obj->min_size)); in check_struct() 442 return this->allocate_size<Type> (Type::min_size); in allocate_min() 465 unsigned int size = obj.min_size; in extend_min()
|
D | hb-ot-name-table.hh | 105 { return min_size + count * nameRecord[0].min_size; } in get_size()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stringpiece.h | 301 const stringpiece_ssize_type min_size = in compare() local 303 int r = memcmp(ptr_, x.ptr_, min_size); in compare() 417 const stringpiece_ssize_type min_size = variable 419 const int r = memcmp(x.data(), y.data(), min_size);
|
/external/v8/src/asmjs/ |
D | switch-logic.cc | 31 const int min_size = 4; in OrderCases() local 47 if (break_pos - curr_pos >= min_size) { in OrderCases()
|
/external/mesa3d/src/util/ |
D | ralloc.c | 607 create_linear_node(void *ralloc_ctx, unsigned min_size) in create_linear_node() argument 611 min_size += sizeof(linear_size_chunk); in create_linear_node() 613 if (likely(min_size < MIN_LINEAR_BUFSIZE)) in create_linear_node() 614 min_size = MIN_LINEAR_BUFSIZE; in create_linear_node() 616 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node() 624 node->size = min_size; in create_linear_node()
|