Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 25 of 97) sorted by relevance

1234

/external/eigen/bench/btl/actions/
Daction_hessenberg.hh37 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 …]
Daction_matrix_matrix_product.hh38 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 …]
Daction_trisolve_matrix.hh38 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 …]
Daction_trmm.hh38 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 …]
Daction_aat_product.hh38 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 …]
Daction_ata_product.hh38 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 …]
Daction_atv_product.hh36 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 …]
Daction_symv.hh38 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 …]
Daction_ger.hh32 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 …]
Daction_syr2.hh38 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 …]
Daction_matrix_vector_product.hh38 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 …]
Daction_cholesky.hh37 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 …]
Daction_trisolve.hh37 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 …]
Daction_lu_decomp.hh37 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
Daction_partial_lu.hh37 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
Daction_axpby.hh36 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 …]
Daction_axpy.hh38 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 …]
Daction_rot.hh32 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/
DMyVector.cpp16 _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/
DStreamObjects.h24 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 …]
DStreamObjects.cpp15 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/
Du_memory.h48 #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/
Du_memory.h48 #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/
Dos_memory_stdc.h43 #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/
Dos_memory_stdc.h43 #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

1234