/external/eigen/bench/btl/actions/ |
H A D | action_trisolve_matrix.hh | 38 Action_trisolve_matrix( int size ):_size(size) 44 init_matrix<pseudo_random>(A_stl,_size); 45 init_matrix<pseudo_random>(B_stl,_size); 46 init_matrix<null_function>(X_stl,_size); 47 init_matrix<null_function>(resu_stl,_size); 49 for (int j=0; j<_size; ++j) 67 for (int j=0; j<_size; ++j) 71 _cost *= _size; 90 Interface::free_matrix(A,_size); 91 Interface::free_matrix(B,_size); 156 int _size; member in class:Action_trisolve_matrix [all...] |
H A D | action_trmm.hh | 38 Action_trmm( int size ):_size(size) 44 init_matrix<pseudo_random>(A_stl,_size); 45 init_matrix<pseudo_random>(B_stl,_size); 46 init_matrix<null_function>(X_stl,_size); 47 init_matrix<null_function>(resu_stl,_size); 49 for (int j=0; j<_size; ++j) 67 for (int j=0; j<_size; ++j) 71 _cost *= _size; 90 Interface::free_matrix(A,_size); 91 Interface::free_matrix(B,_size); 156 int _size; member in class:Action_trmm [all...] |
H A D | action_aat_product.hh | 38 Action_aat_product( int size ):_size(size) 44 init_matrix<pseudo_random>(A_stl,_size); 45 init_matrix<null_function>(X_stl,_size); 46 init_matrix<null_function>(resu_stl,_size); 74 Interface::free_matrix(A,_size); 75 Interface::free_matrix(X,_size); 77 Interface::free_matrix(A_ref,_size); 78 Interface::free_matrix(X_ref,_size); 90 return double(_size)*double(_size)*doubl 137 int _size; member in class:Action_aat_product [all...] |
H A D | action_ata_product.hh | 38 Action_ata_product( int size ):_size(size) 44 init_matrix<pseudo_random>(A_stl,_size); 45 init_matrix<null_function>(X_stl,_size); 46 init_matrix<null_function>(resu_stl,_size); 74 Interface::free_matrix(A,_size); 75 Interface::free_matrix(X,_size); 77 Interface::free_matrix(A_ref,_size); 78 Interface::free_matrix(X_ref,_size); 90 return 2.0*_size*_size*_siz 137 int _size; member in class:Action_ata_product [all...] |
H A D | action_cholesky.hh | 37 Action_cholesky( int size ):_size(size) 42 init_matrix_symm<pseudo_random>(X_stl,_size); 43 init_matrix<null_function>(C_stl,_size); 46 for (int i=0; i<_size; ++i) 55 for (int j=0; j<_size; ++j) 57 double r = std::max(_size - j -1,0); 77 Interface::free_matrix(X_ref,_size); 78 Interface::free_matrix(X,_size); 79 Interface::free_matrix(C,_size); 94 Interface::copy_matrix(X_ref,X,_size); 124 int _size; member in class:Action_cholesky [all...] |
H A D | action_matrix_matrix_product.hh | 38 Action_matrix_matrix_product( int size ):_size(size) 44 init_matrix<pseudo_random>(A_stl,_size); 45 init_matrix<pseudo_random>(B_stl,_size); 46 init_matrix<null_function>(X_stl,_size); 47 init_matrix<null_function>(resu_stl,_size); 77 Interface::free_matrix(A,_size); 78 Interface::free_matrix(B,_size); 79 Interface::free_matrix(X,_size); 81 Interface::free_matrix(A_ref,_size); 82 Interface::free_matrix(B_ref,_size); 142 int _size; member in class:Action_matrix_matrix_product [all...] |
H A D | action_hessenberg.hh | 37 Action_hessenberg( int size ):_size(size) 42 init_matrix<pseudo_random>(X_stl,_size); 44 init_matrix<null_function>(C_stl,_size); 45 init_matrix<null_function>(resu_stl,_size); 53 for (int j=0; j<_size-2; ++j) 55 double r = std::max(0,_size-j-1); 56 double b = std::max(0,_size-j-2); 57 _cost += 6 + 3*b + r*r*4 + r*_size*4; 76 Interface::free_matrix(X_ref,_size); 77 Interface::free_matrix(X,_size); 126 int _size; member in class:Action_hessenberg 229 int _size; member in class:Action_tridiagonalization [all...] |
H A D | action_lu_decomp.hh | 37 Action_lu_decomp( int size ):_size(size) 42 init_matrix<pseudo_random>(X_stl,_size); 44 init_matrix<null_function>(C_stl,_size); 45 init_matrix<null_function>(resu_stl,_size); 70 Interface::free_matrix(X_ref,_size); 71 Interface::free_matrix(X,_size); 72 Interface::free_matrix(C,_size); 87 Interface::copy_matrix(X_ref,X,_size); 91 Interface::lu_decomp(X,C,_size); 98 // STL_interface<typename Interface::real_type>::lu_decomp(X_stl,C_stl,_size); 120 int _size; member in class:Action_lu_decomp [all...] |
H A D | action_partial_lu.hh | 37 Action_partial_lu( int size ):_size(size) 42 init_matrix<pseudo_random>(X_stl,_size); 43 init_matrix<null_function>(C_stl,_size); 46 for (int i=0; i<_size; ++i) 72 Interface::free_matrix(X_ref,_size); 73 Interface::free_matrix(X,_size); 74 Interface::free_matrix(C,_size); 89 Interface::copy_matrix(X_ref,X,_size); 93 Interface::partial_lu_decomp(X,C,_size); 100 // STL_interface<typename Interface::real_type>::lu_decomp(X_stl,C_stl,_size); 121 int _size; member in class:Action_partial_lu [all...] |
H A D | action_trisolve.hh | 37 Action_trisolve( int size ):_size(size) 42 init_matrix<pseudo_random>(L_stl,_size); 43 init_vector<pseudo_random>(B_stl,_size); 44 init_vector<null_function>(X_stl,_size); 45 for (int j=0; j<_size; ++j) 52 init_vector<null_function>(resu_stl,_size); 60 for (int j=0; j<_size; ++j) 81 Interface::free_matrix(L,_size); 98 //Interface::copy_vector(X_ref,X,_size); 102 Interface::trisolve_lower(L,B,X,_size); 133 int _size; member in class:Action_trisolve [all...] |
H A D | action_atv_product.hh | 36 Action_atv_product( int size ) : _size(size) 42 init_matrix<pseudo_random>(A_stl,_size); 43 init_vector<pseudo_random>(B_stl,_size); 44 init_vector<null_function>(X_stl,_size); 45 init_vector<null_function>(resu_stl,_size); 69 Interface::free_matrix(A,_size); 73 Interface::free_matrix(A_ref,_size); 80 double nb_op_base( void ) { return 2.0*_size*_size; } 83 Interface::copy_matrix(A_ref,A,_size); 126 int _size; member in class:Action_atv_product [all...] |
H A D | action_symv.hh | 38 BTL_DONT_INLINE Action_symv( int size ):_size(size) 43 init_matrix_symm<pseudo_random>(A_stl,_size); 44 init_vector<pseudo_random>(B_stl,_size); 45 init_vector<null_function>(X_stl,_size); 46 init_vector<null_function>(resu_stl,_size); 68 Interface::free_matrix(A,_size); 71 Interface::free_matrix(A_ref,_size); 84 return 2.0*_size*_size; 89 Interface::copy_matrix(A_ref,A,_size); 134 int _size; member in class:Action_symv [all...] |
H A D | action_ger.hh | 32 BTL_DONT_INLINE Action_ger( int size ):_size(size) 38 init_matrix<pseudo_random>(A_stl,_size); 39 init_vector<pseudo_random>(B_stl,_size); 40 init_vector<pseudo_random>(X_stl,_size); 41 init_vector<null_function>(resu_stl,_size); 62 Interface::free_matrix(A,_size); 65 Interface::free_matrix(A_ref,_size); 78 return 2.0*_size*_size; 82 Interface::copy_matrix(A_ref,A,_size); 124 int _size; member in class:Action_ger [all...] |
H A D | action_matrix_vector_product.hh | 38 BTL_DONT_INLINE Action_matrix_vector_product( int size ):_size(size) 44 init_matrix<pseudo_random>(A_stl,_size); 45 init_vector<pseudo_random>(B_stl,_size); 46 init_vector<null_function>(X_stl,_size); 47 init_vector<null_function>(resu_stl,_size); 76 Interface::free_matrix(A,_size); 80 Interface::free_matrix(A_ref,_size); 94 return 2.0*_size*_size; 99 Interface::copy_matrix(A_ref,A,_size); 145 int _size; member in class:Action_matrix_vector_product [all...] |
H A D | action_syr2.hh | 38 BTL_DONT_INLINE Action_syr2( int size ):_size(size) 42 init_matrix<pseudo_random>(A_stl,_size); 43 init_vector<pseudo_random>(B_stl,_size); 44 init_vector<pseudo_random>(X_stl,_size); 45 init_vector<null_function>(resu_stl,_size); 65 Interface::free_matrix(A,_size); 68 Interface::free_matrix(A_ref,_size); 81 return 2.0*_size*_size; 85 Interface::copy_matrix(A_ref,A,_size); 128 int _size; member in class:Action_syr2 [all...] |
H A D | action_axpby.hh | 36 Action_axpby( int size ):_size(size),_alpha(0.5),_beta(0.95) 41 init_vector<pseudo_random>(X_stl,_size); 42 init_vector<pseudo_random>(Y_stl,_size); 43 init_vector<null_function>(resu_stl,_size); 79 return 3.0*_size; 83 Interface::copy_vector(X_ref,X,_size); 84 Interface::copy_vector(Y_ref,Y,_size); 89 Interface::axpby(_alpha,X,_beta,Y,_size); 94 if (_size>128) return; 98 STL_interface<typename Interface::real_type>::axpby(_alpha,X_stl,_beta,Y_stl,_size); 124 int _size; member in class:Action_axpby [all...] |
H A D | action_axpy.hh | 38 Action_axpy( int size ):_size(size),_coef(1.0) 44 init_vector<pseudo_random>(X_stl,_size); 45 init_vector<pseudo_random>(Y_stl,_size); 46 init_vector<null_function>(resu_stl,_size); 90 return 2.0*_size; 94 Interface::copy_vector(X_ref,X,_size); 95 Interface::copy_vector(Y_ref,Y,_size); 100 Interface::axpy(_coef,X,Y,_size); 105 if (_size>128) return; 110 STL_interface<typename Interface::real_type>::axpy(_coef,X_stl,Y_stl,_size); 136 int _size; member in class:Action_axpy [all...] |
H A D | action_rot.hh | 32 BTL_DONT_INLINE Action_rot( int size ):_size(size) 38 init_vector<pseudo_random>(A_stl,_size); 39 init_vector<pseudo_random>(B_stl,_size); 71 return 6.0*_size; 75 Interface::copy_vector(A_ref,A,_size); 76 Interface::copy_vector(B_ref,B,_size); 81 Interface::rot(A,B,0.5,0.6,_size); 89 // STL_interface<typename Interface::real_type>::rot(A_stl,B_stl,X_stl,_size); 112 int _size; member in class:Action_rot
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_memory.h | 48 #define MALLOC(_size) os_malloc(_size) 50 #define CALLOC(_count, _size) os_calloc(_count, _size) 54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) 63 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_memory.h | 48 #define MALLOC(_size) os_malloc(_size) 50 #define CALLOC(_count, _size) os_calloc(_count, _size) 54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) 63 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment)
|
/external/lzma/CPP/Common/ |
H A D | MyVector.cpp | 16 _size = 0;
21 void CBaseRecordVector::DeleteBack() { Delete(_size - 1); }
22 void CBaseRecordVector::DeleteFrom(int index) { Delete(index, _size - index); }
26 if (_size != _capacity)
52 int numRecordsToMove = (_size < newCapacity ? _size : newCapacity);
62 Reserve(_size);
69 _itemSize * (_size - srcIndex));
76 _size++;
85 _size [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
H A D | os_memory_stdc.h | 43 #define os_malloc(_size) malloc(_size) 44 #define os_calloc(_count, _size ) calloc(_count, _size ) 69 #define os_malloc_aligned(_size, _align) _aligned_malloc(_size, _align)
|
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_memory_stdc.h | 43 #define os_malloc(_size) malloc(_size) 44 #define os_calloc(_count, _size ) calloc(_count, _size ) 69 #define os_malloc_aligned(_size, _align) _aligned_malloc(_size, _align)
|
/external/lzma/CPP/7zip/Archive/Common/ |
H A D | DummyOutStream.h | 14 UInt64 _size;
member in class:CDummyOutStream 18 void Init() { _size = 0; }
21 UInt64 GetSize() const { return _size; }
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 23 private int _size;
field in class:DotZLib.CircularBuffer 34 _size = 0;
37 public int Size { get { return _size; } }
47 _size += trueCount;
57 ++_size;
68 _size -= trueCount;
78 --_size;
|