Home
last modified time | relevance | path

Searched refs:InlinedVector (Results 1 – 25 of 389) sorted by relevance

12345678910>>...16

/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_ops_test.h30 absl::InlinedVector<T, 10> InputAsVector( in InputAsVector()
32 absl::InlinedVector<T, 10> result; in InputAsVector()
41 absl::InlinedVector<T, 10> RepeatInputToMatchShape( in RepeatInputToMatchShape()
42 absl::InlinedVector<T, 10> input, int size) { in RepeatInputToMatchShape()
43 absl::InlinedVector<T, 10> result; in RepeatInputToMatchShape()
115 absl::InlinedVector<T, 10> NearZeroAndExtremeInput() { in NearZeroAndExtremeInput()
124 absl::InlinedVector<T, 10> NearZeroAndExtremeInput() { in NearZeroAndExtremeInput()
131 absl::InlinedVector<T, 10> NearZeroInfAndNanInput() { in NearZeroInfAndNanInput()
142 absl::InlinedVector<T, 10> DefaultInputGreaterEqualOne() { in DefaultInputGreaterEqualOne()
151 absl::InlinedVector<T, 10> DefaultInputGreaterThanZero() { in DefaultInputGreaterThanZero()
[all …]
Dbase_binary_ops_test.h44 const absl::InlinedVector<T, 10>& lhs_input, in SetOpKernel()
46 const absl::InlinedVector<T, 10>& rhs_input, in SetOpKernel()
69 const absl::InlinedVector<T, 10>& lhs_input, in RunAndExpectResult()
71 const absl::InlinedVector<T, 10>& rhs_input, in RunAndExpectResult()
73 const absl::InlinedVector<OutT, 10>& expected_output, in RunAndExpectResult()
94 const absl::InlinedVector<T, 10>& lhs_input, in RunAndExpectInvalidArgument()
96 const absl::InlinedVector<T, 10>& rhs_input, in RunAndExpectInvalidArgument()
109 const absl::InlinedVector<T, 10>& lhs_input, in TestIncompatibleShapes()
110 const absl::InlinedVector<T, 10>& rhs_input, in TestIncompatibleShapes()
127 const absl::InlinedVector<T, 10>& lhs_input, in TestEqualShapes()
[all …]
Dbase_unary_ops_test.h40 const absl::InlinedVector<T, 10>& input, in SetOpKernel()
58 const absl::InlinedVector<T, 10>& input, in RunAndExpectResult()
59 const absl::InlinedVector<OutT, 10>& expected_output, in RunAndExpectResult()
85 const absl::InlinedVector<T, 10>& input, in Test()
92 absl::InlinedVector<OutT, 10> expected_output = in Test()
104 absl::InlinedVector<T, 10> empty_input = {}; in TestEmptyShape()
105 absl::InlinedVector<OutT, 10> expected_output = {}; in TestEmptyShape()
116 absl::InlinedVector<OutT, 10> ComputeExpectedOutput( in ComputeExpectedOutput()
117 absl::InlinedVector<T, 10> input, in ComputeExpectedOutput()
119 absl::InlinedVector<OutT, 10> expected_output; in ComputeExpectedOutput()
/external/openscreen/third_party/abseil/src/absl/container/
Dinlined_vector.h70 class InlinedVector {
112 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
115 explicit InlinedVector(const allocator_type& alloc) noexcept in InlinedVector() function
119 explicit InlinedVector(size_type n,
126 InlinedVector(size_type n, const_reference v,
133 InlinedVector(std::initializer_list<value_type> list,
135 : InlinedVector(list.begin(), list.end(), alloc) {}
145 InlinedVector(ForwardIterator first, ForwardIterator last,
156 InlinedVector(InputIterator first, InputIterator last,
164 InlinedVector(const InlinedVector& other) in InlinedVector() function
[all …]
Dinlined_vector_test.cc54 using IntVec = absl::InlinedVector<int, 8>;
117 using RefCountedVec = absl::InlinedVector<RefCounted, 8>;
125 using DynamicVec = absl::InlinedVector<Dynamic, 8>;
326 absl::InlinedVector<NoDefaultCtor, 1> v(10, NoDefaultCtor(2)); in TEST()
330 absl::InlinedVector<NoCopy, 1> v(10); in TEST()
334 absl::InlinedVector<NoAssign, 1> v(10); in TEST()
338 absl::InlinedVector<MoveOnly, 2> v; in TEST()
352 absl::InlinedVector<MoveOnly, 2>>::value)); in TEST()
359 absl::InlinedVector<MoveCanThrow, 2>>::value)); in TEST()
363 absl::InlinedVector<std::pair<std::string, int>, 1> v; in TEST()
[all …]
Dinlined_vector_benchmark.cc29 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFill()
44 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFillRange()
97 absl::InlinedVector<std::string, 8> v; in BM_InlinedVectorFillString()
131 using BufferVec = absl::InlinedVector<Buffer, 2>; in BM_InlinedVectorAssignments()
153 absl::InlinedVector<int, 4> src{1, 2, 3}; in BM_CreateFromContainer()
155 absl::InlinedVector<int, 4> dst(std::move(src)); in BM_CreateFromContainer()
221 using Vec = absl::InlinedVector<ElementType, 32>; in BM_SwapElements()
250 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 1>);
251 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 4>);
252 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 7>);
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/
Dinlined_vector.h70 class InlinedVector {
112 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
115 explicit InlinedVector(const allocator_type& alloc) noexcept in InlinedVector() function
119 explicit InlinedVector(size_type n,
126 InlinedVector(size_type n, const_reference v,
133 InlinedVector(std::initializer_list<value_type> list,
135 : InlinedVector(list.begin(), list.end(), alloc) {}
145 InlinedVector(ForwardIterator first, ForwardIterator last,
156 InlinedVector(InputIterator first, InputIterator last,
164 InlinedVector(const InlinedVector& other) in InlinedVector() function
[all …]
Dinlined_vector_test.cc54 using IntVec = absl::InlinedVector<int, 8>;
117 using RefCountedVec = absl::InlinedVector<RefCounted, 8>;
125 using DynamicVec = absl::InlinedVector<Dynamic, 8>;
326 absl::InlinedVector<NoDefaultCtor, 1> v(10, NoDefaultCtor(2)); in TEST()
330 absl::InlinedVector<NoCopy, 1> v(10); in TEST()
334 absl::InlinedVector<NoAssign, 1> v(10); in TEST()
338 absl::InlinedVector<MoveOnly, 2> v; in TEST()
352 absl::InlinedVector<MoveOnly, 2>>::value)); in TEST()
359 absl::InlinedVector<MoveCanThrow, 2>>::value)); in TEST()
363 absl::InlinedVector<std::pair<std::string, int>, 1> v; in TEST()
[all …]
Dinlined_vector_benchmark.cc29 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFill()
44 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFillRange()
97 absl::InlinedVector<std::string, 8> v; in BM_InlinedVectorFillString()
131 using BufferVec = absl::InlinedVector<Buffer, 2>; in BM_InlinedVectorAssignments()
153 absl::InlinedVector<int, 4> src{1, 2, 3}; in BM_CreateFromContainer()
155 absl::InlinedVector<int, 4> dst(std::move(src)); in BM_CreateFromContainer()
221 using Vec = absl::InlinedVector<ElementType, 32>; in BM_SwapElements()
250 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 1>);
251 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 4>);
252 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 7>);
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/
Dinlined_vector.h69 class InlinedVector {
111 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
114 explicit InlinedVector(const allocator_type& alloc) noexcept in InlinedVector() function
118 explicit InlinedVector(size_type n,
125 InlinedVector(size_type n, const_reference v,
132 InlinedVector(std::initializer_list<value_type> list,
134 : InlinedVector(list.begin(), list.end(), alloc) {}
144 InlinedVector(ForwardIterator first, ForwardIterator last,
155 InlinedVector(InputIterator first, InputIterator last,
163 InlinedVector(const InlinedVector& other) in InlinedVector() function
[all …]
Dinlined_vector_test.cc53 using IntVec = absl::InlinedVector<int, 8>;
116 using RefCountedVec = absl::InlinedVector<RefCounted, 8>;
124 using DynamicVec = absl::InlinedVector<Dynamic, 8>;
315 absl::InlinedVector<NoDefaultCtor, 1> v(10, NoDefaultCtor(2)); in TEST()
319 absl::InlinedVector<NoCopy, 1> v(10); in TEST()
323 absl::InlinedVector<NoAssign, 1> v(10); in TEST()
327 absl::InlinedVector<MoveOnly, 2> v; in TEST()
341 absl::InlinedVector<MoveOnly, 2>>::value)); in TEST()
348 absl::InlinedVector<MoveCanThrow, 2>>::value)); in TEST()
352 absl::InlinedVector<std::pair<std::string, int>, 1> v; in TEST()
[all …]
Dinlined_vector_benchmark.cc29 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFill()
44 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFillRange()
97 absl::InlinedVector<std::string, 8> v; in BM_InlinedVectorFillString()
131 using BufferVec = absl::InlinedVector<Buffer, 2>; in BM_InlinedVectorAssignments()
153 absl::InlinedVector<int, 4> src{1, 2, 3}; in BM_CreateFromContainer()
155 absl::InlinedVector<int, 4> dst(std::move(src)); in BM_CreateFromContainer()
221 using Vec = absl::InlinedVector<ElementType, 32>; in BM_SwapElements()
250 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 1>);
251 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 4>);
252 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 7>);
[all …]
/external/abseil-cpp/absl/container/
Dinlined_vector.h69 class InlinedVector {
111 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
114 explicit InlinedVector(const allocator_type& alloc) noexcept in InlinedVector() function
118 explicit InlinedVector(size_type n,
125 InlinedVector(size_type n, const_reference v,
132 InlinedVector(std::initializer_list<value_type> list,
134 : InlinedVector(list.begin(), list.end(), alloc) {}
144 InlinedVector(ForwardIterator first, ForwardIterator last,
155 InlinedVector(InputIterator first, InputIterator last,
163 InlinedVector(const InlinedVector& other) in InlinedVector() function
[all …]
Dinlined_vector_test.cc53 using IntVec = absl::InlinedVector<int, 8>;
116 using RefCountedVec = absl::InlinedVector<RefCounted, 8>;
124 using DynamicVec = absl::InlinedVector<Dynamic, 8>;
315 absl::InlinedVector<NoDefaultCtor, 1> v(10, NoDefaultCtor(2)); in TEST()
319 absl::InlinedVector<NoCopy, 1> v(10); in TEST()
323 absl::InlinedVector<NoAssign, 1> v(10); in TEST()
327 absl::InlinedVector<MoveOnly, 2> v; in TEST()
341 absl::InlinedVector<MoveOnly, 2>>::value)); in TEST()
348 absl::InlinedVector<MoveCanThrow, 2>>::value)); in TEST()
352 absl::InlinedVector<std::pair<std::string, int>, 1> v; in TEST()
[all …]
Dinlined_vector_benchmark.cc29 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFill()
44 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFillRange()
97 absl::InlinedVector<std::string, 8> v; in BM_InlinedVectorFillString()
131 using BufferVec = absl::InlinedVector<Buffer, 2>; in BM_InlinedVectorAssignments()
153 absl::InlinedVector<int, 4> src{1, 2, 3}; in BM_CreateFromContainer()
155 absl::InlinedVector<int, 4> dst(std::move(src)); in BM_CreateFromContainer()
221 using Vec = absl::InlinedVector<ElementType, 32>; in BM_SwapElements()
250 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 1>);
251 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 4>);
252 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 7>);
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dinlined_vector.h70 class InlinedVector {
112 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
115 explicit InlinedVector(const allocator_type& alloc) noexcept in InlinedVector() function
119 explicit InlinedVector(size_type n,
126 InlinedVector(size_type n, const_reference v,
133 InlinedVector(std::initializer_list<value_type> list,
135 : InlinedVector(list.begin(), list.end(), alloc) {}
145 InlinedVector(ForwardIterator first, ForwardIterator last,
156 InlinedVector(InputIterator first, InputIterator last,
164 InlinedVector(const InlinedVector& other) in InlinedVector() function
[all …]
Dinlined_vector_test.cc54 using IntVec = absl::InlinedVector<int, 8>;
117 using RefCountedVec = absl::InlinedVector<RefCounted, 8>;
125 using DynamicVec = absl::InlinedVector<Dynamic, 8>;
326 absl::InlinedVector<NoDefaultCtor, 1> v(10, NoDefaultCtor(2)); in TEST()
330 absl::InlinedVector<NoCopy, 1> v(10); in TEST()
334 absl::InlinedVector<NoAssign, 1> v(10); in TEST()
338 absl::InlinedVector<MoveOnly, 2> v; in TEST()
352 absl::InlinedVector<MoveOnly, 2>>::value)); in TEST()
359 absl::InlinedVector<MoveCanThrow, 2>>::value)); in TEST()
363 absl::InlinedVector<std::pair<std::string, int>, 1> v; in TEST()
[all …]
Dinlined_vector_benchmark.cc29 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFill()
44 absl::InlinedVector<int, 8> v; in BM_InlinedVectorFillRange()
97 absl::InlinedVector<std::string, 8> v; in BM_InlinedVectorFillString()
131 using BufferVec = absl::InlinedVector<Buffer, 2>; in BM_InlinedVectorAssignments()
153 absl::InlinedVector<int, 4> src{1, 2, 3}; in BM_CreateFromContainer()
155 absl::InlinedVector<int, 4> dst(std::move(src)); in BM_CreateFromContainer()
221 using Vec = absl::InlinedVector<ElementType, 32>; in BM_SwapElements()
250 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 1>);
251 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 4>);
252 BENCHMARK_TEMPLATE(BM_Sizeof, absl::InlinedVector<char, 7>);
[all …]
/external/grpc-grpc/src/core/lib/gprpp/
Dinlined_vector.h49 class InlinedVector {
51 InlinedVector() { init_data(); } in InlinedVector() function
52 ~InlinedVector() { destroy_elements(); } in ~InlinedVector()
55 InlinedVector(const InlinedVector& v) { in InlinedVector() function
60 InlinedVector& operator=(const InlinedVector& v) {
69 InlinedVector(InlinedVector&& v) { in InlinedVector() function
74 InlinedVector& operator=(InlinedVector&& v) {
126 void copy_from(const InlinedVector& v) { in copy_from()
139 void move_from(InlinedVector& v) { in move_from()
/external/tensorflow/tensorflow/core/util/
Dstrided_slice_op.h37 gtl::InlinedVector<int64, 4> output_to_sparse_mapping;
40 gtl::InlinedVector<int64, 4> output_to_processing_mapping;
43 gtl::InlinedVector<int64, 4> processing_to_sparse_mapping;
71 gtl::InlinedVector<int64, 4>* begin, gtl::InlinedVector<int64, 4>* end,
72 gtl::InlinedVector<int64, 4>* strides,
82 bool* slice_dim0, gtl::InlinedVector<int64, 4>* begin,
83 gtl::InlinedVector<int64, 4>* end, gtl::InlinedVector<int64, 4>* strides,
/external/tensorflow/tensorflow/core/kernels/
Dreduce_join_op.cc34 const gtl::InlinedVector<int64, 8> GetStrides(const TensorShape& shape) { in GetStrides()
35 gtl::InlinedVector<int64, 8> result(shape.dims()); in GetStrides()
50 int64 output_index, const gtl::InlinedVector<int32, 8>& dim_list, in LinearSubIndexToFullIndex()
52 const gtl::InlinedVector<int64, 8>& strides) { in LinearSubIndexToFullIndex()
65 int64 GetReductionIterSize(const gtl::InlinedVector<int32, 8>& reduced_indices, in GetReductionIterSize()
76 gtl::InlinedVector<int32, 8> GetReducedIndices(const Tensor& reduction_indices, in GetReducedIndices()
81 gtl::InlinedVector<int32, 8> reduced_indices(reduction_dims); in GetReducedIndices()
91 void MakeUnreducedIndices(gtl::InlinedVector<bool, 8> index_is_reduced, in MakeUnreducedIndices()
93 gtl::InlinedVector<int32, 8>* unreduced_indices) { in MakeUnreducedIndices()
99 TensorShape GetOutputShape(gtl::InlinedVector<bool, 8> index_is_reduced, in GetOutputShape()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dcomparators_test.cc48 absl::InlinedVector<bool, 10>* expected) { in BuildComparatorAndComparisons()
93 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
100 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
107 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
114 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
121 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
128 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
135 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
142 absl::InlinedVector<bool, 10> expected; in XLA_TEST_F()
/external/tensorflow/tensorflow/core/grappler/
Dgraph_topology_view.h87 const absl::InlinedVector<int, 4>& GetFanin(int node_idx) const;
90 const absl::InlinedVector<int, 2>& GetFanout(int node_idx) const;
103 std::vector<absl::InlinedVector<int, 4>> fanins_; // node_idx->input nodes
104 std::vector<absl::InlinedVector<int, 2>> fanouts_; // node_idx->output nodes
108 absl::InlinedVector<int, 4> empty_fanin_;
109 absl::InlinedVector<int, 2> empty_fanout_;
Dgraph_topology_view_test.cc82 using Fanin = absl::InlinedVector<int, 4>; in TEST_F()
88 using Fanout = absl::InlinedVector<int, 2>; in TEST_F()
107 using Fanin = absl::InlinedVector<int, 4>; in TEST_F()
111 using Fanout = absl::InlinedVector<int, 2>; in TEST_F()
129 using Fanin = absl::InlinedVector<int, 4>; in TEST_F()
133 using Fanout = absl::InlinedVector<int, 2>; in TEST_F()
142 using Fanin = absl::InlinedVector<int, 4>; in TEST_F()
146 using Fanout = absl::InlinedVector<int, 2>; in TEST_F()
/external/tensorflow/tensorflow/core/kernels/linalg/
Dlinalg_ops_common.h46 using TensorShapes = gtl::InlinedVector<TensorShape, 4>;
117 using InputConstMatrixMaps = gtl::InlinedVector<InputConstMatrixMap, 4>;
118 using InputMatrixMaps = gtl::InlinedVector<InputMatrixMap, 4>;
127 using OutputConstMatrixMaps = gtl::InlinedVector<OutputConstMatrixMap, 4>;
128 using OutputMatrixMaps = gtl::InlinedVector<OutputMatrixMap, 4>;
139 using ConstMatrixMaps = gtl::InlinedVector<ConstMatrixMap, 4>;
140 using MatrixMaps = gtl::InlinedVector<MatrixMap, 4>;
154 using TensorInputs = gtl::InlinedVector<const Tensor*, 4>;
155 using TensorOutputs = gtl::InlinedVector<Tensor*, 4>;

12345678910>>...16