Home
last modified time | relevance | path

Searched refs:kLength (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/core/framework/
Dtensor_util_test.cc437 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/
Daudio_vector_unittest.cc84 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/
Dtransport_feedback_unittest.cc150 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 …]
Dtmmbr.cc54 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()
Dtmmbn.cc59 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()
Dreceiver_report.cc48 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()
Dsender_report.cc58 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()
Drrtr_unittest.cc26 kBlockSizeBytes == Rrtr::kLength,
30 uint8_t buffer[Rrtr::kLength]; in TEST()
/external/skia/gm/
Dconvexpaths.cpp78 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/
Dneon-matrix-multiply.cc115 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/
Djpeg_scanner.cc64 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/
DPzstdTest.cpp108 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/
Dconvexpaths.cpp99 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/
Dbm_chttp2_hpack.cc196 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/
Dmemory_exception_safety_test.cc28 constexpr int kLength = 50; variable
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/external/abseil-cpp/absl/memory/
Dmemory_exception_safety_test.cc28 constexpr int kLength = 50; variable
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/external/openscreen/third_party/abseil/src/absl/memory/
Dmemory_exception_safety_test.cc28 constexpr int kLength = 50; variable
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/external/angle/third_party/abseil-cpp/absl/memory/
Dmemory_exception_safety_test.cc28 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/
Dmemory_exception_safety_test.cc28 constexpr int kLength = 50; variable
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/memory/
Dmemory_exception_safety_test.cc28 constexpr int kLength = 50; variable
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/external/dynamic_depth/internal/dynamic_depth/
Ditem.cc15 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/
Dcrop_and_resize_op_test.cc416 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/
DSkSVGValue.h23 kLength, enumerator
72 using SkSVGLengthValue = SkSVGWrapperValue<SkSVGLength , SkSVGValue::Type::kLength >;
/external/protobuf/js/compatibility_tests/v3.1.0/binary/
Darith_test.js147 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/
Darith_test.js147 var kLength = 10;
168 for (var i = 0; i < kLength; i++) {
169 for (var j = 0; j < kLength; j++) {

123