/external/eigen/bench/btl/actions/ |
D | action_hessenberg.hh | 37 Action_hessenberg( int size ):_size(size) in Action_hessenberg() 42 init_matrix<pseudo_random>(X_stl,_size); in Action_hessenberg() 44 init_matrix<null_function>(C_stl,_size); in Action_hessenberg() 45 init_matrix<null_function>(resu_stl,_size); in Action_hessenberg() 53 for (int j=0; j<_size-2; ++j) in Action_hessenberg() 55 double r = std::max(0,_size-j-1); in Action_hessenberg() 56 double b = std::max(0,_size-j-2); in Action_hessenberg() 57 _cost += 6 + 3*b + r*r*4 + r*_size*4; in Action_hessenberg() 76 Interface::free_matrix(X_ref,_size); in ~Action_hessenberg() 77 Interface::free_matrix(X,_size); in ~Action_hessenberg() [all …]
|
D | action_matrix_matrix_product.hh | 38 Action_matrix_matrix_product( int size ):_size(size) in Action_matrix_matrix_product() 44 init_matrix<pseudo_random>(A_stl,_size); in Action_matrix_matrix_product() 45 init_matrix<pseudo_random>(B_stl,_size); in Action_matrix_matrix_product() 46 init_matrix<null_function>(X_stl,_size); in Action_matrix_matrix_product() 47 init_matrix<null_function>(resu_stl,_size); in Action_matrix_matrix_product() 77 Interface::free_matrix(A,_size); in ~Action_matrix_matrix_product() 78 Interface::free_matrix(B,_size); in ~Action_matrix_matrix_product() 79 Interface::free_matrix(X,_size); in ~Action_matrix_matrix_product() 81 Interface::free_matrix(A_ref,_size); in ~Action_matrix_matrix_product() 82 Interface::free_matrix(B_ref,_size); in ~Action_matrix_matrix_product() [all …]
|
D | action_trisolve_matrix.hh | 38 Action_trisolve_matrix( int size ):_size(size) in Action_trisolve_matrix() 44 init_matrix<pseudo_random>(A_stl,_size); in Action_trisolve_matrix() 45 init_matrix<pseudo_random>(B_stl,_size); in Action_trisolve_matrix() 46 init_matrix<null_function>(X_stl,_size); in Action_trisolve_matrix() 47 init_matrix<null_function>(resu_stl,_size); in Action_trisolve_matrix() 49 for (int j=0; j<_size; ++j) in Action_trisolve_matrix() 67 for (int j=0; j<_size; ++j) in Action_trisolve_matrix() 71 _cost *= _size; in Action_trisolve_matrix() 90 Interface::free_matrix(A,_size); in ~Action_trisolve_matrix() 91 Interface::free_matrix(B,_size); in ~Action_trisolve_matrix() [all …]
|
D | action_trmm.hh | 38 Action_trmm( int size ):_size(size) in Action_trmm() 44 init_matrix<pseudo_random>(A_stl,_size); in Action_trmm() 45 init_matrix<pseudo_random>(B_stl,_size); in Action_trmm() 46 init_matrix<null_function>(X_stl,_size); in Action_trmm() 47 init_matrix<null_function>(resu_stl,_size); in Action_trmm() 49 for (int j=0; j<_size; ++j) in Action_trmm() 67 for (int j=0; j<_size; ++j) in Action_trmm() 71 _cost *= _size; in Action_trmm() 90 Interface::free_matrix(A,_size); in ~Action_trmm() 91 Interface::free_matrix(B,_size); in ~Action_trmm() [all …]
|
D | action_aat_product.hh | 38 Action_aat_product( int size ):_size(size) in Action_aat_product() 44 init_matrix<pseudo_random>(A_stl,_size); in Action_aat_product() 45 init_matrix<null_function>(X_stl,_size); in Action_aat_product() 46 init_matrix<null_function>(resu_stl,_size); in Action_aat_product() 74 Interface::free_matrix(A,_size); in ~Action_aat_product() 75 Interface::free_matrix(X,_size); in ~Action_aat_product() 77 Interface::free_matrix(A_ref,_size); in ~Action_aat_product() 78 Interface::free_matrix(X_ref,_size); in ~Action_aat_product() 90 return double(_size)*double(_size)*double(_size); in nb_op_base() 95 Interface::copy_matrix(A_ref,A,_size); in initialize() [all …]
|
D | action_ata_product.hh | 38 Action_ata_product( int size ):_size(size) in Action_ata_product() 44 init_matrix<pseudo_random>(A_stl,_size); in Action_ata_product() 45 init_matrix<null_function>(X_stl,_size); in Action_ata_product() 46 init_matrix<null_function>(resu_stl,_size); in Action_ata_product() 74 Interface::free_matrix(A,_size); in ~Action_ata_product() 75 Interface::free_matrix(X,_size); in ~Action_ata_product() 77 Interface::free_matrix(A_ref,_size); in ~Action_ata_product() 78 Interface::free_matrix(X_ref,_size); in ~Action_ata_product() 90 return 2.0*_size*_size*_size; in nb_op_base() 95 Interface::copy_matrix(A_ref,A,_size); in initialize() [all …]
|
D | action_atv_product.hh | 36 Action_atv_product( int size ) : _size(size) in Action_atv_product() 42 init_matrix<pseudo_random>(A_stl,_size); in Action_atv_product() 43 init_vector<pseudo_random>(B_stl,_size); in Action_atv_product() 44 init_vector<null_function>(X_stl,_size); in Action_atv_product() 45 init_vector<null_function>(resu_stl,_size); in Action_atv_product() 69 Interface::free_matrix(A,_size); in ~Action_atv_product() 73 Interface::free_matrix(A_ref,_size); in ~Action_atv_product() 80 double nb_op_base( void ) { return 2.0*_size*_size; } in nb_op_base() 83 Interface::copy_matrix(A_ref,A,_size); in initialize() 84 Interface::copy_vector(B_ref,B,_size); in initialize() [all …]
|
D | action_symv.hh | 38 BTL_DONT_INLINE Action_symv( int size ):_size(size) in Action_symv() 43 init_matrix_symm<pseudo_random>(A_stl,_size); in Action_symv() 44 init_vector<pseudo_random>(B_stl,_size); in Action_symv() 45 init_vector<null_function>(X_stl,_size); in Action_symv() 46 init_vector<null_function>(resu_stl,_size); in Action_symv() 68 Interface::free_matrix(A,_size); in ~Action_symv() 71 Interface::free_matrix(A_ref,_size); in ~Action_symv() 84 return 2.0*_size*_size; in nb_op_base() 89 Interface::copy_matrix(A_ref,A,_size); in initialize() 90 Interface::copy_vector(B_ref,B,_size); in initialize() [all …]
|
D | action_ger.hh | 32 BTL_DONT_INLINE Action_ger( int size ):_size(size) in Action_ger() 38 init_matrix<pseudo_random>(A_stl,_size); in Action_ger() 39 init_vector<pseudo_random>(B_stl,_size); in Action_ger() 40 init_vector<pseudo_random>(X_stl,_size); in Action_ger() 41 init_vector<null_function>(resu_stl,_size); in Action_ger() 62 Interface::free_matrix(A,_size); in ~Action_ger() 65 Interface::free_matrix(A_ref,_size); in ~Action_ger() 78 return 2.0*_size*_size; in nb_op_base() 82 Interface::copy_matrix(A_ref,A,_size); in initialize() 83 Interface::copy_vector(B_ref,B,_size); in initialize() [all …]
|
D | action_syr2.hh | 38 BTL_DONT_INLINE Action_syr2( int size ):_size(size) in Action_syr2() 42 init_matrix<pseudo_random>(A_stl,_size); in Action_syr2() 43 init_vector<pseudo_random>(B_stl,_size); in Action_syr2() 44 init_vector<pseudo_random>(X_stl,_size); in Action_syr2() 45 init_vector<null_function>(resu_stl,_size); in Action_syr2() 65 Interface::free_matrix(A,_size); in ~Action_syr2() 68 Interface::free_matrix(A_ref,_size); in ~Action_syr2() 81 return 2.0*_size*_size; in nb_op_base() 85 Interface::copy_matrix(A_ref,A,_size); in initialize() 86 Interface::copy_vector(B_ref,B,_size); in initialize() [all …]
|
D | action_matrix_vector_product.hh | 38 BTL_DONT_INLINE Action_matrix_vector_product( int size ):_size(size) in Action_matrix_vector_product() 44 init_matrix<pseudo_random>(A_stl,_size); in Action_matrix_vector_product() 45 init_vector<pseudo_random>(B_stl,_size); in Action_matrix_vector_product() 46 init_vector<null_function>(X_stl,_size); in Action_matrix_vector_product() 47 init_vector<null_function>(resu_stl,_size); in Action_matrix_vector_product() 76 Interface::free_matrix(A,_size); in ~Action_matrix_vector_product() 80 Interface::free_matrix(A_ref,_size); in ~Action_matrix_vector_product() 94 return 2.0*_size*_size; in nb_op_base() 99 Interface::copy_matrix(A_ref,A,_size); in initialize() 100 Interface::copy_vector(B_ref,B,_size); in initialize() [all …]
|
D | action_cholesky.hh | 37 Action_cholesky( int size ):_size(size) in Action_cholesky() 42 init_matrix_symm<pseudo_random>(X_stl,_size); in Action_cholesky() 43 init_matrix<null_function>(C_stl,_size); in Action_cholesky() 46 for (int i=0; i<_size; ++i) in Action_cholesky() 55 for (int j=0; j<_size; ++j) in Action_cholesky() 57 double r = std::max(_size - j -1,0); in Action_cholesky() 77 Interface::free_matrix(X_ref,_size); in ~Action_cholesky() 78 Interface::free_matrix(X,_size); in ~Action_cholesky() 79 Interface::free_matrix(C,_size); in ~Action_cholesky() 94 Interface::copy_matrix(X_ref,X,_size); in initialize() [all …]
|
D | action_trisolve.hh | 37 Action_trisolve( int size ):_size(size) in Action_trisolve() 42 init_matrix<pseudo_random>(L_stl,_size); in Action_trisolve() 43 init_vector<pseudo_random>(B_stl,_size); in Action_trisolve() 44 init_vector<null_function>(X_stl,_size); in Action_trisolve() 45 for (int j=0; j<_size; ++j) in Action_trisolve() 52 init_vector<null_function>(resu_stl,_size); in Action_trisolve() 60 for (int j=0; j<_size; ++j) in Action_trisolve() 81 Interface::free_matrix(L,_size); in ~Action_trisolve() 102 Interface::trisolve_lower(L,B,X,_size); in calculate() 106 if (_size>128) return; in check_result() [all …]
|
D | action_lu_decomp.hh | 37 Action_lu_decomp( int size ):_size(size) in Action_lu_decomp() 42 init_matrix<pseudo_random>(X_stl,_size); in Action_lu_decomp() 44 init_matrix<null_function>(C_stl,_size); in Action_lu_decomp() 45 init_matrix<null_function>(resu_stl,_size); in Action_lu_decomp() 70 Interface::free_matrix(X_ref,_size); in ~Action_lu_decomp() 71 Interface::free_matrix(X,_size); in ~Action_lu_decomp() 72 Interface::free_matrix(C,_size); in ~Action_lu_decomp() 87 Interface::copy_matrix(X_ref,X,_size); in initialize() 91 Interface::lu_decomp(X,C,_size); in calculate() 120 int _size; member in Action_lu_decomp
|
D | action_partial_lu.hh | 37 Action_partial_lu( int size ):_size(size) in Action_partial_lu() 42 init_matrix<pseudo_random>(X_stl,_size); in Action_partial_lu() 43 init_matrix<null_function>(C_stl,_size); in Action_partial_lu() 46 for (int i=0; i<_size; ++i) in Action_partial_lu() 72 Interface::free_matrix(X_ref,_size); in ~Action_partial_lu() 73 Interface::free_matrix(X,_size); in ~Action_partial_lu() 74 Interface::free_matrix(C,_size); in ~Action_partial_lu() 89 Interface::copy_matrix(X_ref,X,_size); in initialize() 93 Interface::partial_lu_decomp(X,C,_size); in calculate() 121 int _size; member in Action_partial_lu
|
D | action_axpby.hh | 36 Action_axpby( int size ):_size(size),_alpha(0.5),_beta(0.95) in Action_axpby() 41 init_vector<pseudo_random>(X_stl,_size); in Action_axpby() 42 init_vector<pseudo_random>(Y_stl,_size); in Action_axpby() 43 init_vector<null_function>(resu_stl,_size); in Action_axpby() 79 return 3.0*_size; in nb_op_base() 83 Interface::copy_vector(X_ref,X,_size); in initialize() 84 Interface::copy_vector(Y_ref,Y,_size); in initialize() 89 Interface::axpby(_alpha,X,_beta,Y,_size); in calculate() 94 if (_size>128) return; in check_result() 98 STL_interface<typename Interface::real_type>::axpby(_alpha,X_stl,_beta,Y_stl,_size); in check_result() [all …]
|
D | action_axpy.hh | 38 Action_axpy( int size ):_size(size),_coef(1.0) in Action_axpy() 44 init_vector<pseudo_random>(X_stl,_size); in Action_axpy() 45 init_vector<pseudo_random>(Y_stl,_size); in Action_axpy() 46 init_vector<null_function>(resu_stl,_size); in Action_axpy() 90 return 2.0*_size; in nb_op_base() 94 Interface::copy_vector(X_ref,X,_size); in initialize() 95 Interface::copy_vector(Y_ref,Y,_size); in initialize() 100 Interface::axpy(_coef,X,Y,_size); in calculate() 105 if (_size>128) return; in check_result() 110 STL_interface<typename Interface::real_type>::axpy(_coef,X_stl,Y_stl,_size); in check_result() [all …]
|
D | action_rot.hh | 32 BTL_DONT_INLINE Action_rot( int size ):_size(size) in Action_rot() 38 init_vector<pseudo_random>(A_stl,_size); in Action_rot() 39 init_vector<pseudo_random>(B_stl,_size); in Action_rot() 71 return 6.0*_size; in nb_op_base() 75 Interface::copy_vector(A_ref,A,_size); in initialize() 76 Interface::copy_vector(B_ref,B,_size); in initialize() 81 Interface::rot(A,B,0.5,0.6,_size); in calculate() 112 int _size; member in Action_rot
|
/external/lzma/CPP/Common/ |
D | MyVector.cpp | 16 _size = 0; in ClearAndFree() 21 void CBaseRecordVector::DeleteBack() { Delete(_size - 1); } in DeleteBack() 22 void CBaseRecordVector::DeleteFrom(int index) { Delete(index, _size - index); } in DeleteFrom() 26 if (_size != _capacity) in ReserveOnePosition() 52 int numRecordsToMove = (_size < newCapacity ? _size : newCapacity); in Reserve() 62 Reserve(_size); in ReserveDown() 69 _itemSize * (_size - srcIndex)); in MoveItems() 76 _size++; in InsertOneItem() 85 _size -= num; in Delete()
|
/external/lzma/CPP/7zip/Common/ |
D | StreamObjects.h | 24 size_t _size; variable 30 _size = size; 61 size_t _size; variable 63 CDynBufSeqOutStream(): _size(0) {} in CDynBufSeqOutStream() 64 void Init() { _size = 0; } in Init() 65 size_t GetSize() const { return _size; } in GetSize() 69 void UpdateSize(size_t addSize) { _size += addSize; } in UpdateSize() 80 size_t _size; variable 87 _size = size; in Init() 100 UInt64 _size; variable [all …]
|
D | StreamObjects.cpp | 15 if (_pos > _size) in Read() 17 size_t rem = _size - (size_t)_pos; in Read() 33 case STREAM_SEEK_END: _pos = _size + offset; break; in Seek() 70 addSize += _size; in GetBufPtrForWriting() 71 if (addSize < _size) in GetBufPtrForWriting() 75 return (Byte *)_buffer + _size; in GetBufPtrForWriting() 80 dest.SetCapacity(_size); in CopyToBuffer() 81 memcpy(dest, _buffer, _size); in CopyToBuffer() 102 size_t rem = _size - _pos; in Write() 116 _size += realProcessedSize; in Write() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_memory.h | 48 #define MALLOC(_size) os_malloc(_size) argument 50 #define CALLOC(_count, _size) os_calloc(_count, _size) argument 54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) argument 63 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_memory.h | 48 #define MALLOC(_size) os_malloc(_size) argument 50 #define CALLOC(_count, _size) os_calloc(_count, _size) argument 54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) argument 63 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment) argument
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_memory_stdc.h | 43 #define os_malloc(_size) malloc(_size) argument 44 #define os_calloc(_count, _size ) calloc(_count, _size ) argument 69 #define os_malloc_aligned(_size, _align) _aligned_malloc(_size, _align) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
D | os_memory_stdc.h | 43 #define os_malloc(_size) malloc(_size) argument 44 #define os_calloc(_count, _size ) calloc(_count, _size ) argument 69 #define os_malloc_aligned(_size, _align) _aligned_malloc(_size, _align) argument
|