/external/tensorflow/tensorflow/core/framework/ |
D | tensor_util_test.cc | 437 const int kLength = 63; in TEST() local 439 tensor::CreateTensorProto(std::vector<float>(kLength), {kLength}); in TEST() 442 tensor::CreateTensorProto(std::vector<int>(kLength), {kLength}); in TEST() 445 tensor::CreateTensorProto(std::vector<uint8>(kLength), {kLength}); in TEST() 448 tensor::CreateTensorProto(std::vector<bool>(kLength), {kLength}); in TEST() 451 tensor::CreateTensorProto(std::vector<Eigen::half>(kLength), {kLength}); in TEST() 454 std::vector<std::complex<float>>(kLength), {kLength}); in TEST() 459 const int kLength = 64; in TEST() local 461 tensor::CreateTensorProto(std::vector<float>(kLength), {kLength}); in TEST() 467 tensor::CreateTensorProto(std::vector<int>(kLength), {kLength}); in TEST() [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | audio_vector_unittest.cc | 84 static const size_t kLength = 10; in TEST_F() local 85 AudioVector vec1(kLength); in TEST_F() 86 AudioVector vec2(kLength); in TEST_F() 89 for (size_t i = 0; i < kLength; ++i) { in TEST_F() 91 vec2[i] = static_cast<int16_t>(i + kLength); in TEST_F() 95 ASSERT_EQ(2 * kLength, vec1.Size()); in TEST_F() 96 for (size_t i = 0; i < 2 * kLength; ++i) { in TEST_F() 113 static const size_t kLength = 10; in TEST_F() local 114 AudioVector vec1(kLength); in TEST_F() 115 AudioVector vec2(kLength); in TEST_F() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | transport_feedback_unittest.cc | 150 const size_t kLength = sizeof(kReceived) / sizeof(uint16_t); in TEST() local 152 kHeaderSize + kStatusChunkSize + (kLength * kSmallDeltaSize); in TEST() 156 test.WithInput(kReceived, nullptr, kLength); in TEST() 162 const size_t kLength = sizeof(kReceived) / sizeof(uint16_t); in TEST() local 167 test.WithInput(kReceived, nullptr, kLength); in TEST() 173 const size_t kLength = sizeof(kReceived) / sizeof(uint16_t); in TEST() local 175 kHeaderSize + kStatusChunkSize + (kLength * kSmallDeltaSize); in TEST() 179 test.WithInput(kReceived, nullptr, kLength); in TEST() 186 const size_t kLength = sizeof(kReceived) / sizeof(uint16_t); in TEST() local 188 kHeaderSize + kStatusChunkSize + (kLength * kSmallDeltaSize); in TEST() [all …]
|
D | tmmbr.cc | 54 if (packet.payload_size_bytes() < kCommonFeedbackLength + TmmbItem::kLength) { in Parse() 60 if (items_size_bytes % TmmbItem::kLength != 0) { in Parse() 68 size_t number_of_items = items_size_bytes / TmmbItem::kLength; in Parse() 73 next_item += TmmbItem::kLength; in Parse() 84 TmmbItem::kLength * items_.size(); in BlockLength() 105 *index += TmmbItem::kLength; in Create()
|
D | tmmbn.cc | 59 if (items_size_bytes % TmmbItem::kLength != 0) { in Parse() 67 size_t number_of_items = items_size_bytes / TmmbItem::kLength; in Parse() 72 next_item += TmmbItem::kLength; in Parse() 83 TmmbItem::kLength * items_.size(); in BlockLength() 103 *index += TmmbItem::kLength; in Create()
|
D | receiver_report.cc | 48 kRrBaseLength + report_blocks_count * ReportBlock::kLength) { in Parse() 59 block.Parse(next_report_block, ReportBlock::kLength); in Parse() 60 next_report_block += ReportBlock::kLength; in Parse() 70 report_blocks_.size() * ReportBlock::kLength; in BlockLength() 87 *index += ReportBlock::kLength; in Create()
|
D | sender_report.cc | 58 kSenderBaseLength + report_block_count * ReportBlock::kLength) { in Parse() 74 bool block_parsed = block.Parse(next_block, ReportBlock::kLength); in Parse() 76 next_block += ReportBlock::kLength; in Parse() 86 report_blocks_.size() * ReportBlock::kLength; in BlockLength() 114 *index += ReportBlock::kLength; in Create()
|
D | rrtr_unittest.cc | 26 kBlockSizeBytes == Rrtr::kLength, 30 uint8_t buffer[Rrtr::kLength]; in TEST()
|
/external/skia/gm/ |
D | convexpaths.cpp | 78 kLength = 100, in makePaths() enumerator 83 b.lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths() 86 b.lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 89 b.lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths() 92 b.lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
|
/external/vixl/examples/aarch64/ |
D | neon-matrix-multiply.cc | 115 const int kLength = kRowSize * kColSize; in main() local 117 float mat1[kLength], mat2[kLength], output[kLength]; in main() 120 memset(output, 0, sizeof(output[0]) * kLength); in main()
|
/external/image_io/src/jpeg/ |
D | jpeg_scanner.cc | 64 begin_segment_location + JpegMarker::kLength + payload_size; in FindAndProcessSegments() 74 begin_segment_location + JpegMarker::kLength + payload_size; in FindAndProcessSegments() 81 return (GetByte(begin_location + JpegMarker::kLength) << 8) | in GetPayloadSize() 82 GetByte(begin_location + JpegMarker::kLength + 1); in GetPayloadSize()
|
/external/zstd/contrib/pzstd/test/ |
D | PzstdTest.cpp | 108 constexpr size_t kLength = 1 << 26; in TEST() local 109 std::unique_ptr<uint8_t[]> buf(new uint8_t[kLength]); in TEST() 113 RDG_genBuffer(buf.get(), kLength, 0.5, 0.0, gen()); in TEST() 114 auto written = std::fwrite(buf.get(), 1, kLength, fd); in TEST() 115 if (written != kLength) { in TEST()
|
/external/skqp/gm/ |
D | convexpaths.cpp | 99 kLength = 100, in makePaths() enumerator 104 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths() 107 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 110 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths() 113 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 196 template <int kLength, bool kTrueBinary> 212 v.reserve(kLength); in MakeBytes() 213 for (int i = 0; i < kLength; i++) { in MakeBytes() 239 template <int kLength, bool kTrueBinary> 251 v.reserve(kLength); in MakeBytes() 252 for (int i = 0; i < kLength; i++) { in MakeBytes() 563 template <int kLength, bool kTrueBinary> 566 template <int kLength> 567 class NonIndexedBinaryElem<kLength, true> { 573 '-', 'b', 'i', 'n', static_cast<uint8_t>(kLength + 1), in GetBenchmarkSlices() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/memory/ |
D | memory_exception_safety_test.cc | 28 constexpr int kLength = 50; variable 49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
|
/external/abseil-cpp/absl/memory/ |
D | memory_exception_safety_test.cc | 28 constexpr int kLength = 50; variable 49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/memory/ |
D | memory_exception_safety_test.cc | 28 constexpr int kLength = 50; variable 49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/memory/ |
D | memory_exception_safety_test.cc | 28 constexpr int kLength = 50; variable 49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/memory/ |
D | memory_exception_safety_test.cc | 28 constexpr int kLength = 50; variable 49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/memory/ |
D | memory_exception_safety_test.cc | 28 constexpr int kLength = 50; variable 49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | item.cc | 15 constexpr char kLength[] = "Length"; variable 84 !deserializer->ParseInt(DynamicDepthConst::Item(), kLength, &length)) { in FromDeserializer() 121 serializer->WriteProperty(DynamicDepthConst::Item(), kLength, in Serialize()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | crop_and_resize_op_test.cc | 416 const int kLength = 999; // Length of the input. Must use an odd number. in TEST_F() local 417 const int kHalf = (kLength + 1) / 2; // Half size for the cropped result. in TEST_F() 424 AddInput<float>(TensorShape({1, kLength, kLength, 1}), in TEST_F() 425 [=](int i) -> float { return i % kLength; }); in TEST_F()
|
/external/skia/modules/svg/include/ |
D | SkSVGValue.h | 23 kLength, enumerator 72 using SkSVGLengthValue = SkSVGWrapperValue<SkSVGLength , SkSVGValue::Type::kLength >;
|
/external/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | arith_test.js | 147 var kLength = 10; 168 for (var i = 0; i < kLength; i++) { 169 for (var j = 0; j < kLength; j++) {
|
/external/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | arith_test.js | 147 var kLength = 10; 168 for (var i = 0; i < kLength; i++) { 169 for (var j = 0; j < kLength; j++) {
|