Home
last modified time | relevance | path

Searched refs:fill_n (Results 1 – 25 of 120) sorted by relevance

12345

/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/
Dfill_n.pass.cpp29 auto it = std::fill_n(std::begin(ib), N, 5); in test_constexpr()
45 assert(std::fill_n(Iter(ca), UDI(n), char(1)) == std::next(Iter(ca), n)); in test_char()
58 assert(std::fill_n(Iter(ia), UDI(n), 1) == std::next(Iter(ia), n)); in test_int()
70 assert(std::fill_n(ia, UDI(n), static_cast<char>(1)) == std::next(ia, n)); in test_int_array()
89 assert(std::fill_n(ia, UDI(n), source()) == std::next(ia, n)); in test_int_array_struct_source()
107 assert(std::fill_n(test1a, UDI(n), static_cast<char>(10)) == std::next(test1a, n)); in test_struct_array()
130 assert(std::fill_n(&a[0], UDI(3), A('a')) == a+3); in test5()
148 std::fill_n(&foo[0], UDI(5), Storage()); in test6()
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/
Dfill_n.pass.cpp28 auto it = std::fill_n(std::begin(ib), N, 5); in test_constexpr()
44 assert(std::fill_n(Iter(ca), UDI(n), char(1)) == std::next(Iter(ca), n)); in test_char()
57 assert(std::fill_n(Iter(ia), UDI(n), 1) == std::next(Iter(ia), n)); in test_int()
69 assert(std::fill_n(ia, UDI(n), static_cast<char>(1)) == std::next(ia, n)); in test_int_array()
88 assert(std::fill_n(ia, UDI(n), source()) == std::next(ia, n)); in test_int_array_struct_source()
106 assert(std::fill_n(test1a, UDI(n), static_cast<char>(10)) == std::next(test1a, n)); in test_struct_array()
129 assert(std::fill_n(&a[0], UDI(3), A('a')) == a+3); in test5()
147 std::fill_n(&foo[0], UDI(5), Storage()); in test6()
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
Dvulkan-runtime-wrappers.cpp149 std::fill_n(ptr->allocated, ptr->sizes[0], value); in _mlir_ciface_fillResource1DFloat()
156 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1], value); in _mlir_ciface_fillResource2DFloat()
163 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1] * ptr->sizes[2], in _mlir_ciface_fillResource3DFloat()
171 std::fill_n(ptr->allocated, ptr->sizes[0], value); in _mlir_ciface_fillResource1DInt()
178 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1], value); in _mlir_ciface_fillResource2DInt()
185 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1] * ptr->sizes[2], in _mlir_ciface_fillResource3DInt()
193 std::fill_n(ptr->allocated, ptr->sizes[0], value); in _mlir_ciface_fillResource1DInt8()
200 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1], value); in _mlir_ciface_fillResource2DInt8()
207 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1] * ptr->sizes[2], in _mlir_ciface_fillResource3DInt8()
/external/llvm-project/mlir/test/mlir-spirv-cpu-runner/
Dmlir_test_spirv_cpu_runner_c_wrappers.cpp18 std::fill_n(mem_ref->basePtr, mem_ref->sizes[0], value); in _mlir_ciface_fillI32Buffer()
24 std::fill_n(mem_ref->basePtr, mem_ref->sizes[0], value); in _mlir_ciface_fillF32Buffer1D()
30 std::fill_n(mem_ref->basePtr, mem_ref->sizes[0] * mem_ref->sizes[1], value); in _mlir_ciface_fillF32Buffer2D()
36 std::fill_n(mem_ref->basePtr, in _mlir_ciface_fillF32Buffer3D()
/external/webrtc/modules/desktop_capture/
Ddesktop_region_unittest.cc252 std::fill_n(base_map + 5, 5, true); in TEST()
254 std::fill_n(base_map + 15, 5, true); in TEST()
256 std::fill_n(base_map + 25, 5, true); in TEST()
258 std::fill_n(base_map + 35, 5, true); in TEST()
260 std::fill_n(base_map + 45, 5, true); in TEST()
273 std::fill_n(expected_map + x, last_rect_size, true); in TEST()
283 std::fill_n(map + it.rect().left(), it.rect().width(), true); in TEST()
689 std::fill_n(base_map + 5, 5, true); in TEST()
691 std::fill_n(base_map + 15, 5, true); in TEST()
693 std::fill_n(base_map + 25, 5, true); in TEST()
[all …]
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
Dcopy_move.pass.cpp51 std::fill_n(expected_first, size, trash); in operator ()()
52 std::fill_n(out_first, size, trash); in operator ()()
63 std::fill_n(out_first, size, trash); in operator ()()
102 std::fill_n(expected_first, size, trash); in operator ()()
103 std::fill_n(out_first, size, trash); in operator ()()
144 std::fill_n(out_first, size, trash); in operator ()()
Dreplace_copy.pass.cpp33 std::fill_n(expected_first, n, trash); in operator ()()
34 std::fill_n(out_first, n, trash); in operator ()()
42 std::fill_n(expected_first, n, trash); in operator ()()
43 std::fill_n(out_first, n, trash); in operator ()()
Dfill.pass.cpp60 fill_n(first, n, T(value + 1)); // initialize memory with different value in operator ()()
62 const Iterator one_past_last = fill_n(exec, first, n, value); in operator ()()
69 const Iterator res = fill_n(exec, first, -1, value); in operator ()()
Dunique_copy_equal.pass.cpp52 std::fill_n(expected_first, n, trash); in operator ()()
53 std::fill_n(out_first, n, trash); in operator ()()
66 std::fill_n(expected_first, n, trash); in operator ()()
67 std::fill_n(out_first, n, trash); in operator ()()
Dremove_copy.pass.cpp31 std::fill_n(expected_first, n, trash); in operator ()()
32 std::fill_n(out_first, n, trash); in operator ()()
/external/openscreen/platform/impl/
Dtls_write_buffer_unittest.cc19 std::fill_n(write_buffer, write_size, uint8_t{1}); in TEST()
55 std::fill_n(write_buffer, buffer_size, uint8_t{1}); in TEST()
75 std::fill_n(write_buffer, buffer_size, uint8_t{2}); in TEST()
95 std::fill_n(write_buffer, buffer_size, uint8_t{3}); in TEST()
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/
Dcopy_if.pass.cpp51 std::fill_n(expected_first, n, trash); in operator ()()
52 std::fill_n(out_first, n, trash); in operator ()()
65 std::fill_n(expected_first, n, trash); in operator ()()
66 std::fill_n(out_first, n, trash); in operator ()()
/external/llvm-project/flang/runtime/
Dinternal-unit.cpp47 std::fill_n(record + furthestPositionInRecord, in EndIoStatement()
80 std::fill_n(record + furthestPositionInRecord, in Emit()
123 std::fill_n(record + furthestPositionInRecord, in AdvanceRecord()
Dedit-input.cpp385 std::fill_n(x, length, ' '); in EditDelimitedCharacterInput()
394 std::fill_n(x, length, ' '); in EditDelimitedCharacterInput()
425 std::fill_n(x, length, ' '); in EditListDirectedDefaultCharacterInput()
460 std::fill_n(x, length, ' '); in EditDefaultCharacterInput()
/external/tensorflow/tensorflow/lite/kernels/
Dlstm_eval_test.cc444 std::fill_n(integer_lstm_param_.input_to_forget_effective_bias.get(), in GetQuantParam()
446 std::fill_n(integer_lstm_param_.recurrent_to_forget_effective_bias.get(), in GetQuantParam()
448 std::fill_n(integer_lstm_param_.input_to_cell_effective_bias.get(), n_cell_, in GetQuantParam()
450 std::fill_n(integer_lstm_param_.recurrent_to_cell_effective_bias.get(), in GetQuantParam()
452 std::fill_n(integer_lstm_param_.input_to_output_effective_bias.get(), in GetQuantParam()
454 std::fill_n(integer_lstm_param_.recurrent_to_output_effective_bias.get(), in GetQuantParam()
456 std::fill_n(integer_lstm_param_.input_to_input_effective_bias.get(), in GetQuantParam()
458 std::fill_n(integer_lstm_param_.recurrent_to_input_effective_bias.get(), in GetQuantParam()
460 std::fill_n(integer_lstm_param_.projection_effective_bias.get(), n_output_, in GetQuantParam()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dsubstitute.cc129 std::fill_n(beg, writer - beg, hex.fill); in Arg()
162 std::fill_n(writer, fillers, dec.fill); in Arg()
/external/openscreen/third_party/abseil/src/absl/strings/
Dsubstitute.cc129 std::fill_n(beg, writer - beg, hex.fill); in Arg()
162 std::fill_n(writer, fillers, dec.fill); in Arg()
/external/abseil-cpp/absl/strings/
Dsubstitute.cc129 std::fill_n(beg, writer - beg, hex.fill); in Arg()
162 std::fill_n(writer, fillers, dec.fill); in Arg()
/external/angle/third_party/abseil-cpp/absl/strings/
Dsubstitute.cc129 std::fill_n(beg, writer - beg, hex.fill); in Arg()
162 std::fill_n(writer, fillers, dec.fill); in Arg()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dsubstitute.cc129 std::fill_n(beg, writer - beg, hex.fill); in Arg()
162 std::fill_n(writer, fillers, dec.fill); in Arg()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dsubstitute.cc129 std::fill_n(beg, writer - beg, hex.fill); in Arg()
162 std::fill_n(writer, fillers, dec.fill); in Arg()
/external/skqp/tests/
DOpChainTest.cpp68 std::fill_n(combinable->begin(), kNumCombinableValues, GrOp::CombineResult::kCannotCombine); in init_combinable()
213 std::fill_n(result, result_width(), -1);
214 std::fill_n(validResult, result_width(), -1);
/external/llvm-project/compiler-rt/test/dfsan/
Dpair.cpp101 std::fill_n(p, 100, static_cast<char>(128)); in test_branches()
117 std::fill_n(p, 100, 0); in test_branches()
/external/webrtc/modules/audio_coding/neteq/tools/
Dfake_decode_from_file.cc82 std::fill_n(decoded, total_samples_to_decode, 0); in DecodeInternal()
106 std::fill_n(decoded, total_samples_to_decode, 0); in DecodeInternal()
/external/skia/tests/
DOpChainTest.cpp71 std::fill_n(combinable->begin(), kNumCombinableValues, GrOp::CombineResult::kCannotCombine); in init_combinable()
228 std::fill_n(result, result_width(), -1);
229 std::fill_n(validResult, result_width(), -1);

12345