/external/clang/test/SemaCXX/ |
D | cxx0x-initializer-stdinitializerlist.cpp | 13 class initializer_list class 18 initializer_list(const _E* __b, size_t __s) in initializer_list() function in std::initializer_list 32 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list() function in std::initializer_list 58 std::initializer_list<int> il = { 1, 2, 3 }; in simple_list() 59 std::initializer_list<double> dl = { 1.0, 2.0, 3 }; in simple_list() 60 std::initializer_list<A> al = { {1, 2}, {2, 3}, {3, 4} }; in simple_list() 61 std::initializer_list<B> bl = { {1, 2}, {2, 3}, {} }; in simple_list() 65 void f(std::initializer_list<int>); in function_call() 68 void g(std::initializer_list<B>); in function_call() 83 one overloaded(std::initializer_list<int>); in overloaded_call() [all …]
|
D | cxx0x-initializer-constructor.cpp | 11 class initializer_list class 16 initializer_list(const _E* __b, size_t __s) in initializer_list() function in std::initializer_list 30 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list() function in std::initializer_list 53 F(std::initializer_list<int>) { static_assert(N == 3, ""); } in F() 58 D(std::initializer_list<int>) { static_assert(N == 0, ""); } // expected-note 1 {{candidate}} in D() 59 D(std::initializer_list<double>) { static_assert(N == 1, ""); } // expected-note 1 {{candidate}} in D() 153 G(std::initializer_list<int>, T ...); // expected-note 3 {{not viable}} 205 void f(std::initializer_list<S>); 251 command_map(std::initializer_list<command_pair>); 260 const std::initializer_list<generator_pair> x = {{{{{3, 4}}}}}; [all …]
|
/external/clang/test/CodeGenCXX/ |
D | cxx0x-initializer-stdinitializerlist.cpp | 8 class initializer_list class 13 initializer_list(const _E* __b, size_t __s) in initializer_list() function in std::initializer_list 27 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list() function in std::initializer_list 46 wantslist1(std::initializer_list<destroyme1>); 52 std::initializer_list<int> globalInitList1 = {1, 2, 3}; 61 std::initializer_list<int> thread_local x = { 1, 2, 3, 4 }; 97 std::initializer_list<witharg1> globalInitList2 = { 118 std::initializer_list<int> intlist{1, 2, i}; in fn1() 123 void target(std::initializer_list<destroyme1>); in fn2() 143 void target(std::initializer_list<witharg1>); in fn4() [all …]
|
D | PR24289.cpp | 5 struct initializer_list { struct 9 constexpr initializer_list(const T *B, __SIZE_TYPE__ S) in initializer_list() function 15 static std::initializer_list<std::initializer_list<int>> a{ in f() argument 17 static std::initializer_list<std::initializer_list<int>> b{ in f() 19 static std::initializer_list<std::initializer_list<int>> c{ in f() 21 static std::initializer_list<std::initializer_list<int>> d{ in f() 23 static std::initializer_list<std::initializer_list<int>> e{ in f()
|
D | cxx0x-initializer-stdinitializerlist-startend.cpp | 8 class initializer_list class 13 initializer_list(const _E* __b, const _E* __e) in initializer_list() function in std::initializer_list 27 initializer_list() : __begin_(nullptr), __end_(nullptr) {} in initializer_list() function in std::initializer_list 37 std::initializer_list<int> globalInitList1 = {1, 2, 3}; 57 std::initializer_list<int> intlist{1, 2, i}; in fn1() 70 void target(std::initializer_list<destroyme1>); in fn2()
|
D | cxx0x-initializer-stdinitializerlist-pr12086.cpp | 10 class initializer_list class 19 constexpr initializer_list(const _E* __b, size_t __s) in initializer_list() function in std::initializer_list 38 constexpr initializer_list() : __begin_(nullptr), __end_(nullptr) {} in initializer_list() function in std::initializer_list 44 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list() function in std::initializer_list 54 std::initializer_list<std::initializer_list<int>> nested = {
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | literal_test_util.h | 69 std::initializer_list<std::initializer_list<NativeT>> expected, 74 std::initializer_list< 75 std::initializer_list<std::initializer_list<NativeT>>> 110 std::initializer_list<std::initializer_list<NativeT>> expected, 115 std::initializer_list< 116 std::initializer_list<std::initializer_list<NativeT>>> 122 std::initializer_list<std::initializer_list< 123 std::initializer_list<std::initializer_list<NativeT>>>> 169 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Equal() 176 std::initializer_list<std::initializer_list<std::initializer_list<NativeT>>> in ExpectR3Equal() [all …]
|
D | tuple_test.cc | 49 std::initializer_list<float> constant_vector = {1.1f, 2.0f, 3.3f}; in XLA_TEST_F() 50 std::initializer_list<std::initializer_list<float>> constant_matrix = { in XLA_TEST_F() 82 std::initializer_list<float> constant_vector = {1.1f, 2.0f, 3.3f}; in XLA_TEST_F() 83 std::initializer_list<std::initializer_list<float>> constant_matrix = { in XLA_TEST_F() 121 std::initializer_list<float> constant_vector = {1.f, 2.f, 3.f}; in XLA_TEST_F() 122 std::initializer_list<std::initializer_list<float>> constant_matrix = { in XLA_TEST_F() 160 std::initializer_list<float> constant_vector = {1.f, 2.f, 3.f}; in XLA_TEST_F() 161 std::initializer_list<std::initializer_list<float>> constant_matrix = { in XLA_TEST_F() 189 std::initializer_list<float> constant_vector = {1.f, 2.f, 3.f}; in XLA_TEST_F() 190 std::initializer_list<std::initializer_list<float>> constant_matrix = { in XLA_TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | maximum_minimum_test.cc | 39 void SetInput1(std::initializer_list<T> data) { in SetInput1() 44 void SetInput2(std::initializer_list<T> data) { in SetInput2() 63 std::initializer_list<data_type> input1_values, in TestModel() 64 std::initializer_list<data_type> input2_values, in TestModel() 65 std::initializer_list<data_type> output_values) { in TestModel() 77 std::initializer_list<float> input1_values, in TestModel() 78 std::initializer_list<float> input2_values, in TestModel() 79 std::initializer_list<float> output_values) { in TestModel() 90 std::initializer_list<float> data1 = {1.0, 0.0, -1.0, 11.0, -2.0, -1.44}; in TEST() 91 std::initializer_list<float> data2 = {-1.0, 0.0, 1.0, 12.0, -3.0, -1.43}; in TEST() [all …]
|
D | optional_tensor_test.cc | 113 void SetInputToInputWeights(std::initializer_list<float> f) { in SetInputToInputWeights() 117 void SetInputToForgetWeights(std::initializer_list<float> f) { in SetInputToForgetWeights() 121 void SetInputToCellWeights(std::initializer_list<float> f) { in SetInputToCellWeights() 125 void SetInputToOutputWeights(std::initializer_list<float> f) { in SetInputToOutputWeights() 129 void SetRecurrentToInputWeights(std::initializer_list<float> f) { in SetRecurrentToInputWeights() 133 void SetRecurrentToForgetWeights(std::initializer_list<float> f) { in SetRecurrentToForgetWeights() 137 void SetRecurrentToCellWeights(std::initializer_list<float> f) { in SetRecurrentToCellWeights() 141 void SetRecurrentToOutputWeights(std::initializer_list<float> f) { in SetRecurrentToOutputWeights() 145 void SetCellToInputWeights(std::initializer_list<float> f) { in SetCellToInputWeights() 149 void SetCellToForgetWeights(std::initializer_list<float> f) { in SetCellToForgetWeights() [all …]
|
D | tile_test.cc | 29 void SetInput(std::initializer_list<T> data) { in SetInput() 34 void SetMultipliers(std::initializer_list<T> data) { in SetMultipliers() 54 TileOpConstModel(std::initializer_list<int> input_shape, in TileOpConstModel() 56 std::initializer_list<T> multipliers_data) { in TileOpConstModel() 68 TileOpDynamicModel(std::initializer_list<int> input_shape, in TileOpDynamicModel() 84 void Check(std::initializer_list<int> input_shape, in Check() 85 std::initializer_list<InputType> input_data, in Check() 86 std::initializer_list<MultipliersType> multipliers_data, in Check() 87 std::initializer_list<int> exp_output_shape, in Check() 88 std::initializer_list<InputType> exp_output_data, in Check()
|
D | reshape_test.cc | 45 ReshapeOpModel(std::initializer_list<int> input_shape, in ReshapeOpModel() 46 std::initializer_list<int> shape_shape, in ReshapeOpModel() 47 std::initializer_list<int> shape_data, in ReshapeOpModel() 64 void SetInput(std::initializer_list<T> data) { in SetInput() 68 void SetStringInput(std::initializer_list<string> data) { in SetStringInput() 76 void BuildWithHardcodedShape(std::initializer_list<int> input_shape, in BuildWithHardcodedShape() 77 std::initializer_list<int> shape_data) { in BuildWithHardcodedShape() 87 void BuildWithTensorShape(std::initializer_list<int> input_shape, in BuildWithTensorShape() 88 std::initializer_list<int> shape_shape, in BuildWithTensorShape() 89 std::initializer_list<int> shape_data) { in BuildWithTensorShape() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_util.h | 77 std::initializer_list<std::initializer_list<NativeT>> values); 80 std::initializer_list<std::initializer_list<NativeT>> values, 83 static Literal CreateR3(std::initializer_list< 84 std::initializer_list<std::initializer_list<NativeT>>> 88 std::initializer_list< 89 std::initializer_list<std::initializer_list<NativeT>>> 94 std::initializer_list<std::initializer_list< 95 std::initializer_list<std::initializer_list<NativeT>>>> 99 std::initializer_list<std::initializer_list< 100 std::initializer_list<std::initializer_list<NativeT>>>> [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
D | lstm_utils_test.cc | 45 void PrepareBuffers(Model* model, std::initializer_list<float> src_data, in PrepareBuffers() 47 std::initializer_list<float> dst_data, int dst_dim_1, in PrepareBuffers() 71 std::initializer_list<float> data) { in UpdateBuffer() 85 std::initializer_list<float> large_tf_weight_data = { in TEST_F() 105 std::initializer_list<float> tflite_lstm_input_weight = {0, 0, 0, 0, 0, 0, in TEST_F() 153 std::initializer_list<float> tflite_lstm_recurrent_weight = { in TEST_F() 208 std::initializer_list<float> large_tf_bias_data = { in TEST_F() 212 std::initializer_list<float> tflite_lstm_i_bias = {0, 0, 0, 0}; in TEST_F() 258 std::initializer_list<float> large_tf_weights_data = { in TEST_F() 266 std::initializer_list<float> tflite_lstm_i2i_weight = { in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | maximum_minimum_test.cc | 27 std::initializer_list<int> input1_dims_data, in TestMaxMinFloat() 28 std::initializer_list<float> input1_data, in TestMaxMinFloat() 29 std::initializer_list<int> input2_dims_data, in TestMaxMinFloat() 30 std::initializer_list<float> input2_data, in TestMaxMinFloat() 31 std::initializer_list<float> expected_output_data, in TestMaxMinFloat() 32 std::initializer_list<int> output_dims_data, in TestMaxMinFloat() 83 tflite::BuiltinOperator op, std::initializer_list<int> input1_dims_data, in TestMaxMinQuantized() 84 std::initializer_list<uint8_t> input1_data, float input1_min, in TestMaxMinQuantized() 85 float input1_max, std::initializer_list<int> input2_dims_data, in TestMaxMinQuantized() 86 std::initializer_list<uint8_t> input2_data, float input2_min, in TestMaxMinQuantized() [all …]
|
D | split_test.cc | 27 std::initializer_list<int> input_dims_data, in TestSplitTwoOutputsFloat() 28 std::initializer_list<float> input_data, in TestSplitTwoOutputsFloat() 29 std::initializer_list<int> axis_dims_data, in TestSplitTwoOutputsFloat() 30 std::initializer_list<int32_t> axis_data, in TestSplitTwoOutputsFloat() 31 std::initializer_list<int> output1_dims_data, in TestSplitTwoOutputsFloat() 32 std::initializer_list<float> expected_output1_data, in TestSplitTwoOutputsFloat() 33 std::initializer_list<int> output2_dims_data, in TestSplitTwoOutputsFloat() 34 std::initializer_list<float> expected_output2_data, float* output1_data, in TestSplitTwoOutputsFloat() 115 std::initializer_list<int> input_dims_data, in TestSplitFourOutputsFloat() 116 std::initializer_list<float> input_data, in TestSplitFourOutputsFloat() [all …]
|
D | pack_test.cc | 26 void TestPackTwoInputsFloat(std::initializer_list<int> input1_dims_data, in TestPackTwoInputsFloat() 27 std::initializer_list<float> input1_data, in TestPackTwoInputsFloat() 28 std::initializer_list<int> input2_dims_data, in TestPackTwoInputsFloat() 29 std::initializer_list<float> input2_data, int axis, in TestPackTwoInputsFloat() 30 std::initializer_list<int> output_dims_data, in TestPackTwoInputsFloat() 31 std::initializer_list<float> expected_output_data, in TestPackTwoInputsFloat() 97 void TestPackThreeInputsFloat(std::initializer_list<int> input1_dims_data, in TestPackThreeInputsFloat() 98 std::initializer_list<float> input1_data, in TestPackThreeInputsFloat() 99 std::initializer_list<int> input2_dims_data, in TestPackThreeInputsFloat() 100 std::initializer_list<float> input2_data, in TestPackThreeInputsFloat() [all …]
|
D | unpack_test.cc | 27 std::initializer_list<int> input_dims_data, in TestUnpackThreeOutputsFloat() 28 std::initializer_list<float> input_data, int axis, in TestUnpackThreeOutputsFloat() 29 std::initializer_list<int> output1_dims_data, in TestUnpackThreeOutputsFloat() 30 std::initializer_list<float> expected_output1_data, in TestUnpackThreeOutputsFloat() 31 std::initializer_list<int> output2_dims_data, in TestUnpackThreeOutputsFloat() 32 std::initializer_list<float> expected_output2_data, in TestUnpackThreeOutputsFloat() 33 std::initializer_list<int> output3_dims_data, in TestUnpackThreeOutputsFloat() 34 std::initializer_list<float> expected_output3_data, float* output1_data, in TestUnpackThreeOutputsFloat() 122 void TestUnpackOneOutputFloat(std::initializer_list<int> input_dims_data, in TestUnpackOneOutputFloat() 123 std::initializer_list<float> input_data, int axis, in TestUnpackOneOutputFloat() [all …]
|
D | concatenation_test.cc | 27 void TestConcatenateTwoInputs(std::initializer_list<int> input1_dims_data, in TestConcatenateTwoInputs() 28 std::initializer_list<float> input1_data, in TestConcatenateTwoInputs() 29 std::initializer_list<int> input2_dims_data, in TestConcatenateTwoInputs() 30 std::initializer_list<float> input2_data, in TestConcatenateTwoInputs() 32 std::initializer_list<int> output_dims_data, in TestConcatenateTwoInputs() 33 std::initializer_list<float> expected_output_data, in TestConcatenateTwoInputs() 87 std::initializer_list<int> input1_dims_data, in TestConcatenateQuantizedTwoInputs() 88 std::initializer_list<uint8_t> input1_data, in TestConcatenateQuantizedTwoInputs() 89 std::initializer_list<int> input2_dims_data, in TestConcatenateQuantizedTwoInputs() 90 std::initializer_list<uint8_t> input2_data, float input_min, in TestConcatenateQuantizedTwoInputs() [all …]
|
/external/clang/test/CXX/drs/ |
D | dr15xx.cpp | 56 class initializer_list class 61 initializer_list(const _E* __b, size_t __s) in initializer_list() function in std::initializer_list 73 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list() function in std::initializer_list 151 void f0(std::initializer_list<int>); // #00 156 void f1(std::initializer_list<long>); // #2 161 void f2(std::initializer_list<std::string>); // #4 166 void f0(std::initializer_list<int>); // #00 expected-note {{candidate function}} 167 void f0(std::initializer_list<int>, int = 0); // Makes selection of #00 ambiguous \ 172 void f1(std::initializer_list<long>); // #2 expected-note {{candidate function}} 173 void f1(std::initializer_list<long>, int = 0); // Makes selection of #00 ambiguous \ [all …]
|
D | dr9xx.cpp | 13 template<typename T> struct initializer_list { struct 15 initializer_list(const T *p, size_t n); 22 A(std::initializer_list<int>); // expected-note {{candidate}} argument 34 C(std::initializer_list<int>) = delete; // expected-note {{here}} 41 D(std::initializer_list<int>); 42 D(std::initializer_list<double>);
|
/external/libcxx/include/ |
D | initializer_list | 2 //===----------------------- initializer_list -----------------------------===// 15 initializer_list synopsis 21 class initializer_list 32 initializer_list() noexcept; // constexpr in C++14 39 template<class E> const E* begin(initializer_list<E> il) noexcept; // constexpr in C++14 40 template<class E> const E* end(initializer_list<E> il) noexcept; // constexpr in C++14 59 class _LIBCPP_TEMPLATE_VIS initializer_list 66 initializer_list(const _Ep* __b, size_t __s) _NOEXCEPT 81 initializer_list() _NOEXCEPT : __begin_(nullptr), __size_(0) {} 100 begin(initializer_list<_Ep> __il) _NOEXCEPT [all …]
|
/external/libcxx/test/std/language.support/support.initlist/ |
D | types.pass.cpp | 31 static_assert((std::is_same<std::initializer_list<A>::value_type, A>::value), ""); in main() 32 static_assert((std::is_same<std::initializer_list<A>::reference, const A&>::value), ""); in main() 33 static_assert((std::is_same<std::initializer_list<A>::const_reference, const A&>::value), ""); in main() 34 static_assert((std::is_same<std::initializer_list<A>::size_type, std::size_t>::value), ""); in main() 35 static_assert((std::is_same<std::initializer_list<A>::iterator, const A*>::value), ""); in main() 36 static_assert((std::is_same<std::initializer_list<A>::const_iterator, const A*>::value), ""); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 194 std::initializer_list<LLT> TypesInit); 199 std::initializer_list<std::pair<LLT, LLT>> TypesInit); 204 std::initializer_list<TypePairAndMemSize> TypesAndMemSizeInit); 327 std::initializer_list<LLT> Types) { in actionFor() 334 std::initializer_list<LLT> Types, in actionFor() 343 std::initializer_list<std::pair<LLT, LLT>> Types) { in actionFor() 351 std::initializer_list<std::pair<LLT, LLT>> Types, in actionFor() 361 std::initializer_list<LLT> Types) { in actionForCartesianProduct() 372 std::initializer_list<LLT> Types0, in actionForCartesianProduct() 373 std::initializer_list<LLT> Types1) { in actionForCartesianProduct() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | strided_slice_logic_test.cc | 22 void RunStridedSlicePadIndices(std::initializer_list<int> begin, in RunStridedSlicePadIndices() 23 std::initializer_list<int> end, in RunStridedSlicePadIndices() 24 std::initializer_list<int> stride, in RunStridedSlicePadIndices() 25 std::initializer_list<int> expected_begin, in RunStridedSlicePadIndices() 26 std::initializer_list<int> expected_end, in RunStridedSlicePadIndices() 27 std::initializer_list<int> expected_stride) { in RunStridedSlicePadIndices()
|