Home
last modified time | relevance | path

Searched refs:ArraySize (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/sdv/vsomeip/third_party/boost/move/example/
Ddoc_move_algorithms.cpp20 const std::size_t ArraySize = 10; in main() local
21 movable movable_array[ArraySize]; in main()
22 movable movable_array2[ArraySize]; in main()
24 boost::move(&movable_array2[0], &movable_array2[ArraySize], &movable_array[0]); in main()
29 boost::move_backward(&movable_array[0], &movable_array[ArraySize], &movable_array2[ArraySize]); in main()
34 boost::aligned_storage< sizeof(movable)*ArraySize in main()
37 boost::uninitialized_move(&movable_array2[0], &movable_array2[ArraySize], raw_movable); in main()
/external/scudo/standalone/tests/
Dchecksum_test.cpp16 scudo::uptr ArraySize) { in computeSoftwareChecksum() argument
18 for (scudo::uptr I = 0; I < ArraySize; I++) in computeSoftwareChecksum()
24 scudo::uptr ArraySize) { in computeHardwareChecksum() argument
26 for (scudo::uptr I = 0; I < ArraySize; I++) in computeHardwareChecksum()
37 const scudo::uptr ArraySize = ARRAY_SIZE(Array); in verifyChecksumFunctionBitFlip() local
40 const scudo::u16 Reference = F(Seed, Array, ArraySize); in verifyChecksumFunctionBitFlip()
42 for (scudo::uptr I = 0; I < ArraySize; I++) { in verifyChecksumFunctionBitFlip()
45 if (F(Seed, Array, ArraySize) == Reference) in verifyChecksumFunctionBitFlip()
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc168 size_t ArraySize(T& a) { in ArraySize() function
331 ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
345 ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
357 EXPECT_EXIT(GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
373 EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
394 EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
405 EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
423 EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
445 EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
455 EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, TestCliCredentials(), in TEST_F()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_internal_shaders_autogen.cpp431 ArraySize(kBlit3DSrc_frag_shaders), shaderFlags, shaderOut); in getBlit3DSrc_frag()
439 ArraySize(kBlitResolve_frag_shaders), shaderFlags, shaderOut); in getBlitResolve_frag()
448 ArraySize(kBlitResolveStencilNoExport_comp_shaders), shaderFlags, shaderOut); in getBlitResolveStencilNoExport_comp()
456 ArraySize(kConvertIndex_comp_shaders), shaderFlags, shaderOut); in getConvertIndex_comp()
465 ArraySize(kConvertIndexIndirectLineLoop_comp_shaders), shaderFlags, shaderOut); in getConvertIndexIndirectLineLoop_comp()
474 ArraySize(kConvertIndirectLineLoop_comp_shaders), shaderFlags, shaderOut); in getConvertIndirectLineLoop_comp()
482 ArraySize(kConvertVertex_comp_shaders), shaderFlags, shaderOut); in getConvertVertex_comp()
490 ArraySize(kCopyImageToBuffer_comp_shaders), shaderFlags, shaderOut); in getCopyImageToBuffer_comp()
498 ArraySize(kEtcToBc_comp_shaders), shaderFlags, shaderOut); in getEtcToBc_comp()
506 ArraySize(kExportStencil_frag_shaders), shaderFlags, shaderOut); in getExportStencil_frag()
[all …]
Dvk_format_table_autogen.cpp123 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
137 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
151 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
165 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
179 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
193 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
207 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
221 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
235 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
249 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
[all …]
/external/perfetto/src/base/
Dutils_unittest.cc44 TEST(UtilsTest, ArraySize) { in TEST() argument
47 EXPECT_EQ(1u, ArraySize(char_arr_1)); in TEST()
48 EXPECT_EQ(4u, ArraySize(char_arr_4)); in TEST()
52 EXPECT_EQ(1u, ArraySize(int32_arr_1)); in TEST()
53 EXPECT_EQ(4u, ArraySize(int32_arr_4)); in TEST()
57 EXPECT_EQ(1u, ArraySize(int64_arr_1)); in TEST()
58 EXPECT_EQ(4u, ArraySize(int64_arr_4)); in TEST()
61 EXPECT_EQ(4u, ArraySize(kString)); in TEST()
69 EXPECT_EQ(1u, ArraySize(bar_1)); in TEST()
70 EXPECT_EQ(4u, ArraySize(bar_4)); in TEST()
Dunix_socket_unittest.cc697 if (!s->Receive(buf, sizeof(buf), fd_buf, ArraySize(fd_buf))) in TEST_F()
717 if (!s->Receive(buf, sizeof(buf), fd_buf, ArraySize(fd_buf))) in TEST_F()
735 cli->Send(cli_str, sizeof(cli_str), buf_fd, base::ArraySize(buf_fd))); in TEST_F()
737 base::ArraySize(buf_fd))); in TEST_F()
835 iov[0].iov_len = base::ArraySize(hello); in TEST_F()
838 iov[1].iov_len = base::ArraySize(world); in TEST_F()
842 hdr.msg_iovlen = base::ArraySize(iov); in TEST_F()
850 EXPECT_EQ(iov[0].iov_len, base::ArraySize(hello) - 1); in TEST_F()
852 UnixSocketRaw::ShiftMsgHdrPosix(base::ArraySize(hello) - 1, &hdr); in TEST_F()
856 EXPECT_EQ(hdr.msg_iov[0].iov_len, base::ArraySize(world)); in TEST_F()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dprofile_packet_sequence_state_unittest.cc249 uint32_t build_id_ids[base::ArraySize(build_ids)]; in TEST()
250 for (size_t i = 0; i < base::ArraySize(build_ids); ++i) in TEST()
254 uint32_t mapping_name_ids[base::ArraySize(mapping_names)]; in TEST()
255 for (size_t i = 0; i < base::ArraySize(mapping_names); ++i) in TEST()
259 mappings[base::ArraySize(mapping_names)] = {}; in TEST()
285 uint32_t function_name_ids[base::ArraySize(function_names)]; in TEST()
286 for (size_t i = 0; i < base::ArraySize(function_names); ++i) in TEST()
290 frames[base::ArraySize(function_names)]; in TEST()
312 for (size_t i = 0; i < base::ArraySize(build_ids); ++i) { in TEST()
316 for (size_t i = 0; i < base::ArraySize(mapping_names); ++i) { in TEST()
[all …]
/external/angle/src/tests/compiler_tests/
DUnrollFlatten_test.cpp59 for (size_t j = 0; j < ArraySize(badPatterns); j++) in expect()
123 expect(expectations, ArraySize(expectations)); in TEST_F()
162 expect(expectations, ArraySize(expectations)); in TEST_F()
201 expect(expectations, ArraySize(expectations)); in TEST_F()
229 expect(expectations, ArraySize(expectations)); in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtypes.h242 int ArraySize(const Dims<N>& array, int index) { in ArraySize() function
251 TFLITE_DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize()
252 return ArraySize(array1, index1); in MatchingArraySize()
258 TFLITE_DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize()
363 TFLITE_DCHECK_EQ(ArraySize(dims, i), ArraySize(check_dims_0, i)); in MatchingFlatSize()
372 TFLITE_DCHECK_EQ(ArraySize(dims, i), ArraySize(check_dims_0, i)); in MatchingFlatSize()
382 TFLITE_DCHECK_EQ(ArraySize(dims, i), ArraySize(check_dims_0, i)); in MatchingFlatSize()
393 TFLITE_DCHECK_EQ(ArraySize(dims, i), ArraySize(check_dims_0, i)); in MatchingFlatSize()
469 TFLITE_DCHECK_EQ(ArraySize(dims, i), ArraySize(check_dims_0, i)); in MatchingFlatSizeSkipDim()
481 TFLITE_DCHECK_EQ(ArraySize(dims, i), ArraySize(check_dims_0, i)); in MatchingFlatSizeSkipDim()
[all …]
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_writer_test.cc68 inline size_t ArraySize(const T (&v)[SIZE]) { in ArraySize() function
243 EXPECT_EQ(ArraySize(data), ss.data().float_val_size()); in CheckEntries()
244 ExpectIdenticalFloatArrays(data, ArraySize(data), in CheckEntries()
253 EXPECT_EQ(ArraySize(data), ss.data().int_val_size()); in CheckEntries()
254 ExpectIdenticalIntArrays(data, ArraySize(data), ss.data().int_val().data()); in CheckEntries()
262 EXPECT_EQ(ArraySize(data), ss.data().int_val_size()); in CheckEntries()
263 ExpectIdenticalIntArrays(data, ArraySize(data), ss.data().int_val().data()); in CheckEntries()
271 EXPECT_EQ(ArraySize(data), ss.data().int64_val_size()); in CheckEntries()
272 ExpectIdenticalIntArrays(data, ArraySize(data), in CheckEntries()
281 EXPECT_EQ(ArraySize(data), ss.data().int_val_size()); in CheckEntries()
[all …]
/external/gmmlib/Source/GmmLib/ULT/
DGmmGen10ResourceULT.cpp161 … if(gmmParams.ArraySize > 1) //Gen9: Qpitch is distance between array slices (not sample slices) in TEST_F()
166 … = GMM_ULT_ALIGN(ExpectedQPitch * gmmParams.MSAA.NumSamples * gmmParams.ArraySize, TileDimY); //Al… in TEST_F()
184 if(gmmParams.ArraySize > 1) in TEST_F()
188 …uint64_t ExpectedHeight = GMM_ULT_ALIGN(ExpectedQPitch * gmmParams.ArraySize, TileDimY); … in TEST_F()
208 if(gmmParams.ArraySize > 1) in TEST_F()
214 … uint32_t ExpectedHeight = GMM_ULT_ALIGN(ExpectedQPitch * gmmParams.ArraySize, MCSTileSize[0][1]); in TEST_F()
/external/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_util.h29 inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& M… in D3D12DecomposeSubresource() argument
32 ArraySlice = static_cast<U>((Subresource / MipLevels) % ArraySize); in D3D12DecomposeSubresource()
33 PlaneSlice = static_cast<V>(Subresource / (MipLevels * ArraySize)); in D3D12DecomposeSubresource()
37 …esource( UINT MipSlice, UINT ArraySlice, UINT PlaneSlice, UINT MipLevels, UINT ArraySize ) noexcept in D3D12CalcSubresource() argument
39 return MipSlice + ArraySlice * MipLevels + PlaneSlice * MipLevels * ArraySize; in D3D12CalcSubresource()
177 inline UINT16 ArraySize() const noexcept in ArraySize() function
180 { return D3D12CalcSubresource(MipSlice, ArraySlice, PlaneSlice, MipLevels, ArraySize()); } in CalcSubresource()
/external/angle/src/tests/gl_tests/
DInstancingTest.cpp167 glDrawElementsInstancedANGLE(GL_POINTS, ArraySize(kPointIndices), in runTest()
170 glDrawElementsInstancedEXT(GL_POINTS, ArraySize(kPointIndices), in runTest()
181 glDrawElementsInstancedANGLE(GL_TRIANGLES, ArraySize(kQuadIndices), in runTest()
184 glDrawElementsInstancedEXT(GL_TRIANGLES, ArraySize(kQuadIndices), in runTest()
203 glDrawElementsInstancedANGLE(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
206 glDrawElementsInstancedEXT(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
212 glDrawElementsInstancedANGLE(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
215 glDrawElementsInstancedEXT(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
523 constexpr GLsizei instances = ArraySize(transform) / 3; in TEST_P()
551 glDrawElements(GL_LINE_STRIP, ArraySize(lineloopAsStripIndices), GL_UNSIGNED_SHORT, in TEST_P()
[all …]
DProgramInterfaceTest.cpp278 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
279 GLint params[ArraySize(props)]; in TEST_P()
466 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
467 GLint params[ArraySize(props)]; in TEST_P()
565 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
650 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
651 GLint params[ArraySize(props)]; in TEST_P()
739 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
855 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
969 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
[all …]
/external/scudo/standalone/
Dchunk.h23 inline u16 computeChecksum(u32 Seed, uptr Value, uptr *Array, uptr ArraySize) { in computeChecksum() argument
30 for (uptr I = 0; I < ArraySize; I++) in computeChecksum()
36 for (uptr I = 0; I < ArraySize; I++) in computeChecksum()
41 for (uptr I = 0; I < ArraySize; I++) in computeChecksum()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DExternalImageSiblingImpl11.cpp80 mIsTextureArray = (textureDesc.ArraySize > 1); in initialize()
160 rtvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
166 rtvDesc.Texture2DMSArray.ArraySize = 1; in createRenderTarget()
199 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
205 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
/external/angle/src/tests/perf_tests/
DInterleavedAttributeData.cpp110 for (size_t i = 0; i < ArraySize(mPositionColorBuffer); i++) in initializeBenchmark()
156 for (size_t i = 0; i < ArraySize(mPositionColorBuffer); i++) in destroyBenchmark()
168 for (size_t i = 0; i < ArraySize(mPositionColorBuffer); i++) in drawBenchmark()
185 mPositionColorBuffer[(i + 1) % ArraySize(mPositionColorBuffer)]); in drawBenchmark()
/external/cronet/tot/third_party/libc++/src/test/std/experimental/simd/
Dtest_utils.h83 template <std::size_t ArraySize, class SimdAbi, class T, class U = T>
84 …lues_equal(const ex::simd<T, SimdAbi>& origin_simd, const std::array<U, ArraySize>& expected_value… in assert_simd_values_equal()
89 template <std::size_t ArraySize, class T, class SimdAbi>
91 const std::array<bool, ArraySize>& expected_value) { in assert_simd_mask_values_equal()
/external/cronet/stable/third_party/libc++/src/test/std/experimental/simd/
Dtest_utils.h83 template <std::size_t ArraySize, class SimdAbi, class T, class U = T>
84 …lues_equal(const ex::simd<T, SimdAbi>& origin_simd, const std::array<U, ArraySize>& expected_value… in assert_simd_values_equal()
89 template <std::size_t ArraySize, class T, class SimdAbi>
91 const std::array<bool, ArraySize>& expected_value) { in assert_simd_mask_values_equal()
/external/gmmlib/Source/GmmLib/Texture/
DGmmTextureSpecialCases.cpp58 (pTexInfo->ArraySize <= ((pTexInfo->Type == RESOURCE_3D) ? in PreProcessTexSpecialCases()
75 Z_Depth = GFX_MAX(pTexInfo->ArraySize, 1); in PreProcessTexSpecialCases()
85 Z_Depth = 6 * GFX_MAX(pTexInfo->ArraySize, 1); in PreProcessTexSpecialCases()
124 pTexInfo->ArraySize = 0; in PreProcessTexSpecialCases()
140 pTexInfo->ArraySize = Z_Depth; in PreProcessTexSpecialCases()
166 pTexInfo->ArraySize = 1; in PreProcessTexSpecialCases()
336 GFX_MAX(Surf.ArraySize, 1) * in SurfaceRequires64KBTileOptimization()
413 GFX_MAX(Surf.ArraySize, 1) * in SurfaceRequires64KBTileOptimization()
/external/sdv/vsomeip/third_party/boost/container/test/
Dalloc_full_test.cpp591 const std::size_t ArraySize = 11; in test_many_different_allocation() local
592 std::size_t requested_sizes[ArraySize]; in test_many_different_allocation()
593 for(std::size_t i = 0; i < ArraySize; ++i){ in test_many_different_allocation()
627 …dlmalloc_multialloc_arrays(ArraySize, requested_sizes, 1, BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CO… in test_many_different_allocation()
636 if(n != ArraySize) in test_many_different_allocation()
695 const std::size_t ArraySize = 11; in test_many_deallocation() local
697 std::size_t requested_sizes[ArraySize]; in test_many_deallocation()
698 for(std::size_t i = 0; i < ArraySize; ++i){ in test_many_deallocation()
705 …dlmalloc_multialloc_arrays(ArraySize, requested_sizes, 1, BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CO… in test_many_deallocation()
723 …dlmalloc_multialloc_nodes(ArraySize, i*4+1, BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, &cha… in test_many_deallocation()
/external/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp102 ASSERT(pCreateRenderTargetView->Tex1D.ArraySize != (UINT)-1); in CreateRenderTargetView()
105 desc.u.tex.last_layer = pCreateRenderTargetView->Tex1D.ArraySize - 1 + in CreateRenderTargetView()
109 ASSERT(pCreateRenderTargetView->Tex2D.ArraySize != (UINT)-1); in CreateRenderTargetView()
112 desc.u.tex.last_layer = pCreateRenderTargetView->Tex2D.ArraySize - 1 + in CreateRenderTargetView()
122 ASSERT(pCreateRenderTargetView->TexCube.ArraySize != (UINT)-1); in CreateRenderTargetView()
125 desc.u.tex.last_layer = pCreateRenderTargetView->TexCube.ArraySize - 1 + in CreateRenderTargetView()
297 ASSERT(pCreateDepthStencilView->Tex1D.ArraySize != (UINT)-1); in CreateDepthStencilView()
300 desc.u.tex.last_layer = pCreateDepthStencilView->Tex1D.ArraySize - 1 + in CreateDepthStencilView()
304 ASSERT(pCreateDepthStencilView->Tex2D.ArraySize != (UINT)-1); in CreateDepthStencilView()
307 desc.u.tex.last_layer = pCreateDepthStencilView->Tex2D.ArraySize - 1 + in CreateDepthStencilView()
[all …]
DResource.cpp130 UINT ArraySize) in translate_texture_target() argument
132 assert(ArraySize >= 1); in translate_texture_target()
135 assert(ArraySize == 1); in translate_texture_target()
138 return ArraySize > 1 ? PIPE_TEXTURE_1D_ARRAY : PIPE_TEXTURE_1D; in translate_texture_target()
140 return ArraySize > 1 ? PIPE_TEXTURE_2D_ARRAY : PIPE_TEXTURE_2D; in translate_texture_target()
142 assert(ArraySize == 1); in translate_texture_target()
145 assert(ArraySize % 6 == 0); in translate_texture_target()
146 return ArraySize > 6 ? PIPE_TEXTURE_CUBE_ARRAY : PIPE_TEXTURE_CUBE; in translate_texture_target()
225 DebugPrintf(" ArraySize = %u\n", pCreateResource->ArraySize); in CreateResource()
275 pCreateResource->ArraySize ); in CreateResource()
[all …]
/external/perfetto/src/kernel_utils/
Dsyscall_table.h44 static_assert(base::ArraySize(Table::offsets) <= kMaxSyscalls, in Load()
47 base::ArraySize(Table::offsets)); in Load()

1234567891011