Home
last modified time | relevance | path

Searched refs:UIntPtr (Results 1 – 25 of 32) sorted by relevance

12

/external/eigen/test/
Ddynalloc.cpp25 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_handmade_aligned_malloc()
37 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_aligned_malloc()
49 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_aligned_new()
61 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_aligned_stack_alloc()
91 VERIFY(internal::UIntPtr(obj)%ALIGNMENT==0); in check_dynaligned()
151 MyStruct foo0; VERIFY(internal::UIntPtr(foo0.avec.data())%ALIGNMENT==0); in test_dynalloc()
152 MyClassA fooA; VERIFY(internal::UIntPtr(fooA.avec.data())%ALIGNMENT==0); in test_dynalloc()
158 MyStruct *foo0 = new MyStruct(); VERIFY(internal::UIntPtr(foo0->avec.data())%ALIGNMENT==0); in test_dynalloc()
159 MyClassA *fooA = new MyClassA(); VERIFY(internal::UIntPtr(fooA->avec.data())%ALIGNMENT==0); in test_dynalloc()
168 MyStruct *foo0 = new MyStruct[N]; VERIFY(internal::UIntPtr(foo0->avec.data())%ALIGNMENT==0); in test_dynalloc()
[all …]
Drvalue_types.cpp14 using internal::UIntPtr;
25 UIntPtr src_address = reinterpret_cast<UIntPtr>(tmp.data()); in rvalue_copyassign()
29 UIntPtr dst_address = reinterpret_cast<UIntPtr>(n.data()); in rvalue_copyassign()
Dstdvector_overload.cpp51 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(MatrixType)); in EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION()
86 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(TransformType)); in check_stdvector_transform()
121 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion()
Dstdvector.cpp37 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(MatrixType)); in check_stdvector_matrix()
72 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(TransformType)); in check_stdvector_transform()
107 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion()
Dmapped_matrix.cpp28 …Scalar* array3unaligned = (internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES) == 0 ? array3+1 : arra… in map_class_vector()
68 …Scalar* array3unaligned = internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES == 0 ? array3+1 : array3; in map_class_matrix()
132 …Scalar* array3unaligned = internal::UIntPtr(array3)%EIGEN_MAX_ALIGN_BYTES == 0 ? array3+1 : array3; in map_static_methods()
Dfirst_aligned.cpp44 double *array_double_plus_4_bytes = (double*)(internal::UIntPtr(array_double)+4); in test_first_aligned()
Dunalignedassert.cpp97 size_t _buf = reinterpret_cast<internal::UIntPtr>(buf); in construct_at_boundary()
Dmapstride.cpp73 …array2 = (Scalar*)(((internal::UIntPtr(a_array2)+EIGEN_MAX_ALIGN_BYTES-1)/EIGEN_MAX_ALIGN_BYTES)*E… in map_class_matrix()
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DNativeMethods.Generated.cs443 …text_recv_message_to_buffer_delegate(BatchContextSafeHandle ctx, byte[] buffer, UIntPtr bufferLen); in grpcsharp_batch_context_recv_message_to_buffer_delegate()
445 …text_recv_status_on_client_details_delegate(BatchContextSafeHandle ctx, out UIntPtr detailsLength); in grpcsharp_batch_context_recv_status_on_client_details_delegate()
452 …p_request_call_context_method_delegate(RequestCallContextSafeHandle ctx, out UIntPtr methodLength); in grpcsharp_request_call_context_method_delegate()
453 …sharp_request_call_context_host_delegate(RequestCallContextSafeHandle ctx, out UIntPtr hostLength); in grpcsharp_request_call_context_host_delegate()
462 …gate(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] sendBuffer, UIntPtr sendBufferLen, Wr… in grpcsharp_call_start_unary_delegate()
464 …gate(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] sendBuffer, UIntPtr sendBufferLen, Wr… in grpcsharp_call_start_server_streaming_delegate()
466 …gate(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] sendBuffer, UIntPtr sendBufferLen, Wr… in grpcsharp_call_send_message_delegate()
468 …tusMessage, UIntPtr statusMessageLen, MetadataArraySafeHandle metadataArray, int sendEmptyInitialM… in grpcsharp_call_send_status_from_server_delegate()
476 … public delegate ChannelArgsSafeHandle grpcsharp_channel_args_create_delegate(UIntPtr numArgs); in grpcsharp_channel_args_create_delegate()
477 …d grpcsharp_channel_args_set_string_delegate(ChannelArgsSafeHandle args, UIntPtr index, string key… in grpcsharp_channel_args_set_string_delegate()
[all …]
DMetadataArraySafeHandle.cs42 … var metadataArray = Native.grpcsharp_metadata_array_create(new UIntPtr((ulong)metadata.Count)); in Create()
46 …sharp_metadata_array_add(metadataArray, metadata[i].Key, valueBytes, new UIntPtr((ulong)valueBytes… in Create()
66 var index = new UIntPtr(i); in ReadMetadataFromPtrUnsafe()
67 UIntPtr keyLen; in ReadMetadataFromPtrUnsafe()
70 UIntPtr valueLen; in ReadMetadataFromPtrUnsafe()
DChannelArgsSafeHandle.cs40 return Native.grpcsharp_channel_args_create(new UIntPtr((uint)size)); in Create()
45 Native.grpcsharp_channel_args_set_string(this, new UIntPtr((uint)index), key, value); in SetString()
50 Native.grpcsharp_channel_args_set_integer(this, new UIntPtr((uint)index), key, value); in SetInteger()
DCallSafeHandle.cs74 …Native.grpcsharp_call_start_unary(this, ctx, payload, new UIntPtr((ulong)payload.Length), writeFla… in StartUnary()
81 …Native.grpcsharp_call_start_unary(this, ctx, payload, new UIntPtr((ulong)payload.Length), writeFla… in StartUnary()
99 …Native.grpcsharp_call_start_server_streaming(this, ctx, payload, new UIntPtr((ulong)payload.Length… in StartServerStreaming()
117 …Native.grpcsharp_call_send_message(this, ctx, payload, new UIntPtr((ulong)payload.Length), writeFl… in StartSendMessage()
136 …tionalPayloadLength = optionalPayload != null ? new UIntPtr((ulong)optionalPayload.Length) : UIntP… in StartSendStatusFromServer()
138 …_status_from_server(this, ctx, status.StatusCode, statusDetailBytes, new UIntPtr((ulong)statusDeta… in StartSendStatusFromServer()
DAuthContextSafeHandle.cs94 public UIntPtr ValueLength;
103 public UIntPtr Index;
DRequestCallContextSafeHandle.cs67 UIntPtr methodLen; in GetServerRpcNew()
71 UIntPtr hostLen; in GetServerRpcNew()
DBatchContextSafeHandle.cs85 UIntPtr detailsLength; in GetReceivedStatusOnClient()
105 …Native.grpcsharp_batch_context_recv_message_to_buffer(this, data, new UIntPtr((ulong)data.Length)); in GetReceivedMessage()
DServerCredentialsSafeHandle.cs40 … new UIntPtr((ulong)keyCertPairCertChainArray.Length), in CreateSslCredentials()
/external/grpc-grpc/templates/src/csharp/Grpc.Core/Internal/
DNativeMethods.Generated.cs.template11 …atch_context_recv_message_to_buffer(BatchContextSafeHandle ctx, byte[] buffer, UIntPtr bufferLen)',
13 …atch_context_recv_status_on_client_details(BatchContextSafeHandle ctx, out UIntPtr detailsLength)',
20 …'IntPtr grpcsharp_request_call_context_method(RequestCallContextSafeHandle ctx, out UIntPtr method…
21 …'IntPtr grpcsharp_request_call_context_host(RequestCallContextSafeHandle ctx, out UIntPtr hostLeng…
30 …nary(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] sendBuffer, UIntPtr sendBufferLen, Wr…
32 …ming(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] sendBuffer, UIntPtr sendBufferLen, Wr…
34 …sage(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] sendBuffer, UIntPtr sendBufferLen, Wr…
36 …tusMessage, UIntPtr statusMessageLen, MetadataArraySafeHandle metadataArray, int sendEmptyInitialM…
44 'ChannelArgsSafeHandle grpcsharp_channel_args_create(UIntPtr numArgs)',
45 …'void grpcsharp_channel_args_set_string(ChannelArgsSafeHandle args, UIntPtr index, string key, str…
[all …]
/external/lzma/C/
DAlloc.c259 typedef UINT_PTR UIntPtr; typedef
264 typedef ptrdiff_t UIntPtr; typedef
281 #define MY_ALIGN_PTR_DOWN(p, align) ((void *)((((UIntPtr)(p)) & ~((UIntPtr)(align) - 1))))
/external/eigen/Eigen/src/Core/util/
DMemory.h451 else if( (UIntPtr(array) & (sizeof(Scalar)-1)) || (Alignment%ScalarSize)!=0) in first_aligned()
459 …Index first = (AlignmentSize - (Index((UIntPtr(array)/sizeof(Scalar))) & AlignmentMask)) & Alignme… in first_aligned()
526 if (UIntPtr(target) < UIntPtr(start))
629 …#define EIGEN_ALIGNED_ALLOCA(SIZE) reinterpret_cast<void*>((internal::UIntPtr(EIGEN_ALLOCA(SIZE+EI…
DMeta.h48 typedef std::uintptr_t UIntPtr; typedef
51 typedef std::size_t UIntPtr;
DBlasUtil.h151 return (UIntPtr(m_data+i)%sizeof(Packet))==0;
243 if (UIntPtr(m_data)%sizeof(Scalar)) {
/external/eigen/Eigen/src/Core/products/
DGeneralMatrixMatrix.h311 …this->m_blockA = reinterpret_cast<LhsScalar*>((internal::UIntPtr(m_staticA) + (EIGEN_DEFAULT_ALIGN…
312 …this->m_blockB = reinterpret_cast<RhsScalar*>((internal::UIntPtr(m_staticB) + (EIGEN_DEFAULT_ALIGN…
/external/eigen/Eigen/src/Core/
DMapBase.h190 eigen_assert(( ((internal::UIntPtr(m_data) % internal::traits<Derived>::Alignment) == 0)
DDenseStorage.h70 …eigen_assert((internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (sizemask)…
76 eigen_assert((internal::UIntPtr(array) & (sizemask)) == 0 \
DGeneralProduct.h176 …? reinterpret_cast<Scalar*>((internal::UIntPtr(m_data.array) & ~(std::size_t(EIGEN_MAX_ALIGN_BYTES…

12