Home
last modified time | relevance | path

Searched refs:m_ (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dchar_map.h36 constexpr Charmap() : m_() {} in Charmap()
40 Charmap(const char* str, int len) : m_() { in Charmap()
46 explicit Charmap(const char* str) : m_() { in Charmap()
51 return (m_[c / 64] >> (c % 64)) & 0x1; in contains()
56 for (size_t i = 0; i < ABSL_ARRAYSIZE(m_); ++i) { in IntersectsWith()
57 if ((m_[i] & c.m_[i]) != 0) return true; in IntersectsWith()
63 for (uint64_t c : m_) { in IsZero()
89 return Charmap(a.m_[0] & b.m_[0], a.m_[1] & b.m_[1], a.m_[2] & b.m_[2],
90 a.m_[3] & b.m_[3]);
94 return Charmap(a.m_[0] | b.m_[0], a.m_[1] | b.m_[1], a.m_[2] | b.m_[2],
[all …]
/third_party/abseil-cpp/absl/strings/internal/
Dchar_map.h36 constexpr Charmap() : m_() {} in Charmap()
40 Charmap(const char* str, int len) : m_() { in Charmap()
46 explicit Charmap(const char* str) : m_() { in Charmap()
51 return (m_[c / 64] >> (c % 64)) & 0x1; in contains()
56 for (size_t i = 0; i < ABSL_ARRAYSIZE(m_); ++i) { in IntersectsWith()
57 if ((m_[i] & c.m_[i]) != 0) return true; in IntersectsWith()
63 for (uint64_t c : m_) { in IsZero()
89 return Charmap(a.m_[0] & b.m_[0], a.m_[1] & b.m_[1], a.m_[2] & b.m_[2],
90 a.m_[3] & b.m_[3]);
94 return Charmap(a.m_[0] | b.m_[0], a.m_[1] | b.m_[1], a.m_[2] | b.m_[2],
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/
Dcholesky_solve_gpu_kernel.h38 m_(0), in CholeskyGpuKernel()
66 h_array_[i] = input1_addr + i * lda_ * m_; in Launch()
67 h_identity_[i] = output_addr + i * ldb_ * m_; in Launch()
70 … cudaMemcpyAsync(output_addr + i * ldb_ * m_, h_identity_data_.data(), sizeof(T) * ldb_ * m_, in Launch()
83 …kernel_node_, cusolverDnSpotrfBatched(handle_, uplo_, m_, d_array_addr, lda_, d_info_array_addr, b… in Launch()
85 TriangleMatrixCopy(input1_addr, output_addr, uplo_, outputs[0]->size / sizeof(T), ldb_, m_, in Launch()
91 h_array_[i] = d_batch_input_addr + i * lda_ * m_; in Launch()
92 h_identity_[i] = output_addr + i * ldb_ * m_; in Launch()
106 …kernel_node_, cusolverDnSpotrfBatched(handle_, uplo_, m_, d_array_addr, lda_, d_info_array_addr, b… in Launch()
108 … TriangleMatrixCopy(d_batch_input_addr, output_addr, uplo_, outputs[0]->size / sizeof(T), ldb_, m_, in Launch()
[all …]
Dcholesky_trsm_solve_gpu_kernel.h37 m_(0), in CholeskyTrsmGpuKernel()
100 size_t input_size = batch_ * m_ * lda_ * unit_size; in InitSizeLists()
102 size_t output_size = batch_ * m_ * lda_ * unit_size; in InitSizeLists()
114 size_t output_size = batch_ * m_ * lda_ * unit_size; in InitSizeLists()
122 workspace_size = batch_ * m_ * lda_ * unit_size; in InitSizeLists()
136 h_array_[i] = input1_addr + i * lda_ * m_; in LaunchNonSplitMatrix()
137 h_identity_[i] = output_addr + i * ldb_ * m_; in LaunchNonSplitMatrix()
140 cudaMemcpyAsync(output_addr + i * ldb_ * m_, h_identity_data_.data(), sizeof(T) * ldb_ * m_, in LaunchNonSplitMatrix()
153 …kernel_node_, cusolverDnSpotrfBatched(handle_, uplo_, m_, d_array_addr, lda_, d_info_array_addr, b… in LaunchNonSplitMatrix()
158 …smBatched(blas_handle_, CUBLAS_SIDE_LEFT, uplo_, CUBLAS_OP_N, CUBLAS_DIAG_NON_UNIT, m_, m_, &alpha, in LaunchNonSplitMatrix()
[all …]
Dmatmul_gpu_kernel.h59 const int lda = (transpose_x1_ == CUBLAS_OP_T) ? SizeToInt(m_) : SizeToInt(k_); in Launch()
63 auto stride_a = SizeToInt(m_ * k_); in Launch()
65 auto stride_c = SizeToInt(m_ * n_); in Launch()
70 Fill(m_, n_, input3_addr, output_addr, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
78 …cublasGemmEx(handle_, transpose_x2_, transpose_x1_, SizeToInt(n_), SizeToInt(m_), SizeToInt(k_), &… in Launch()
85 …tridedBatchedEx(handle_, transpose_x2_, transpose_x1_, SizeToInt(n_), SizeToInt(m_), SizeToInt(k_), in Launch()
124 m_ = output_shape[dims - 2]; in Init()
155 m_ = 0; in ResetResource()
176 size_t input_size = batch_ * m_ * k_ * unit_size; in InitSizeLists()
182 size_t output_size = batch_ * m_ * n_ * unit_size; in InitSizeLists()
[all …]
/third_party/boost/boost/smart_ptr/detail/
Dsp_counted_base_pt.hpp50 mutable pthread_mutex_t m_; member in boost::detail::sp_counted_base
59 BOOST_VERIFY( pthread_mutex_init( &m_, pthread_mutexattr_default ) == 0 ); in sp_counted_base()
61 BOOST_VERIFY( pthread_mutex_init( &m_, 0 ) == 0 ); in sp_counted_base()
67 BOOST_VERIFY( pthread_mutex_destroy( &m_ ) == 0 ); in ~sp_counted_base()
88 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in add_ref_copy()
90 BOOST_VERIFY( pthread_mutex_unlock( &m_ ) == 0 ); in add_ref_copy()
95 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in add_ref_lock()
97 BOOST_VERIFY( pthread_mutex_unlock( &m_ ) == 0 ); in add_ref_lock()
103 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in release()
105 BOOST_VERIFY( pthread_mutex_unlock( &m_ ) == 0 ); in release()
[all …]
Dlwm_pthreads.hpp33 pthread_mutex_t m_; member in boost::detail::lightweight_mutex
46 BOOST_VERIFY( pthread_mutex_init( &m_, pthread_mutexattr_default ) == 0 ); in lightweight_mutex()
48 BOOST_VERIFY( pthread_mutex_init( &m_, 0 ) == 0 ); in lightweight_mutex()
54 BOOST_VERIFY( pthread_mutex_destroy( &m_ ) == 0 ); in ~lightweight_mutex()
64 pthread_mutex_t & m_; member in boost::detail::lightweight_mutex::scoped_lock
71 scoped_lock(lightweight_mutex & m): m_(m.m_) in scoped_lock()
73 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in scoped_lock()
78 BOOST_VERIFY( pthread_mutex_unlock( &m_ ) == 0 ); in ~scoped_lock()
Dlwm_std_mutex.hpp21 std::mutex m_; member in boost::detail::lightweight_mutex
39 std::mutex & m_; member in boost::detail::lightweight_mutex::scoped_lock
46 scoped_lock( lightweight_mutex & m ): m_( m.m_ ) in scoped_lock()
48 m_.lock(); in scoped_lock()
53 m_.unlock(); in ~scoped_lock()
Datomic_count_pt.hpp46 scoped_lock(pthread_mutex_t & m): m_(m) in scoped_lock()
48 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in scoped_lock()
53 BOOST_VERIFY( pthread_mutex_unlock( &m_ ) == 0 ); in ~scoped_lock()
58 pthread_mutex_t & m_; member in boost::detail::atomic_count::scoped_lock
/third_party/boost/libs/beast/include/boost/beast/http/impl/
Dparser.hpp23 : rd_(m_.base(), m_.body()) in parser()
31 : m_( in parser()
34 , rd_(m_.base(), m_.body()) in parser()
36 m_.clear(); in parser()
46 , m_(other.release(), std::forward<Args>(args)...) in parser()
47 , rd_(m_.base(), m_.body()) in parser()
/third_party/boost/boost/beast/http/impl/
Dparser.hpp23 : rd_(m_.base(), m_.body()) in parser()
31 : m_( in parser()
34 , rd_(m_.base(), m_.body()) in parser()
36 m_.clear(); in parser()
46 , m_(other.release(), std::forward<Args>(args)...) in parser()
47 , rd_(m_.base(), m_.body()) in parser()
Dserializer.hpp31 fwr_.emplace(m_, m_.version(), m_.method()); in fwrinit()
40 fwr_.emplace(m_, m_.version(), m_.result_int()); in fwrinit()
62 : m_(m) in serializer()
63 , wr_(m_.base(), m_.body()) in serializer()
80 if(m_.chunked()) in next()
/third_party/boost/boost/flyweight/detail/
Drecursive_lw_mutex.hpp59 BOOST_VERIFY(pthread_mutex_init(&m_,&attr)==0); in recursive_lightweight_mutex()
63 ~recursive_lightweight_mutex(){pthread_mutex_destroy(&m_);} in ~recursive_lightweight_mutex()
70 scoped_lock(recursive_lightweight_mutex& m):m_(m.m_) in scoped_lock()
72 BOOST_VERIFY(pthread_mutex_lock(&m_)==0); in scoped_lock()
75 ~scoped_lock(){BOOST_VERIFY(pthread_mutex_unlock(&m_)==0);} in ~scoped_lock()
78 pthread_mutex_t& m_; member
82 pthread_mutex_t m_; member
/third_party/boost/boost/signals2/detail/
Dlwm_pthreads.hpp34 pthread_mutex_t m_; member in boost::signals2::mutex
47 BOOST_VERIFY(pthread_mutex_init(&m_, pthread_mutexattr_default) == 0); in mutex()
49 BOOST_VERIFY(pthread_mutex_init(&m_, 0) == 0); in mutex()
55 BOOST_VERIFY(pthread_mutex_destroy(&m_) == 0); in ~mutex()
60 BOOST_VERIFY(pthread_mutex_lock(&m_) == 0); in lock()
65 return pthread_mutex_trylock(&m_) == 0; in try_lock()
70 BOOST_VERIFY(pthread_mutex_unlock(&m_) == 0); in unlock()
/third_party/iowow/src/utils/
Diwutils.h104 #define IW_WRITEBV(ptr_, v_, m_) \ argument
106 (v_) = (m_); \
110 #define IW_WRITESV(ptr_, v_, m_) \ argument
112 (v_) = (m_); \
117 #define IW_WRITELV(ptr_, v_, m_) \ argument
119 (v_) = (m_); \
124 #define IW_WRITELLV(ptr_, v_, m_) \ argument
126 (v_) = (m_); \
131 #define IW_READBV(ptr_, t_, m_) \ argument
135 (m_) = (t_); \
[all …]
/third_party/boost/boost/thread/
Dlock_types.hpp121 explicit unique_lock(Mutex& m_) : in unique_lock() argument
122 m(&m_), is_locked(false) in unique_lock()
126 unique_lock(Mutex& m_, adopt_lock_t) : in unique_lock() argument
127 m(&m_), is_locked(true) in unique_lock()
133 unique_lock(Mutex& m_, defer_lock_t)BOOST_NOEXCEPT: in unique_lock() argument
134 m(&m_),is_locked(false) in unique_lock()
136 unique_lock(Mutex& m_, try_to_lock_t) : in unique_lock() argument
137 m(&m_), is_locked(false) in unique_lock()
143 unique_lock(Mutex& m_,TimeDuration const& target_time): in unique_lock() argument
144 m(&m_),is_locked(false) in unique_lock()
[all …]
Dlock_guard.hpp35 explicit lock_guard(Mutex& m_) BOOST_THREAD_ACQUIRE(m_) : in lock_guard() argument
36 m(m_) in lock_guard()
41 lock_guard(Mutex& m_, adopt_lock_t) BOOST_THREAD_REQUIRES(m_) : in lock_guard() argument
42 m(m_) in lock_guard()
Dshared_lock_guard.hpp25 explicit shared_lock_guard(SharedMutex& m_): in shared_lock_guard() argument
26 m(m_) in shared_lock_guard()
30 shared_lock_guard(SharedMutex& m_,adopt_lock_t): in shared_lock_guard() argument
31 m(m_) in shared_lock_guard()
/third_party/boost/libs/beast/include/boost/beast/http/
Dparser.hpp61 message<isRequest, Body, basic_fields<Allocator>> m_; member in boost::beast::http::parser
168 return m_; in get()
179 return m_; in get()
195 static_assert(std::is_move_constructible<decltype(m_)>::value, in release()
197 return std::move(m_); in release()
353 m_.target(target); in on_request_impl()
355 m_.method(method); in on_request_impl()
357 m_.method_string(method_str); in on_request_impl()
358 m_.version(version); in on_request_impl()
403 m_.result(code); in on_response_impl()
[all …]
/third_party/boost/boost/beast/http/
Dparser.hpp61 message<isRequest, Body, basic_fields<Allocator>> m_; member in boost::beast::http::parser
168 return m_; in get()
179 return m_; in get()
195 static_assert(std::is_move_constructible<decltype(m_)>::value, in release()
197 return std::move(m_); in release()
353 m_.target(target); in on_request_impl()
355 m_.method(method); in on_request_impl()
357 m_.method_string(method_str); in on_request_impl()
358 m_.version(version); in on_request_impl()
403 m_.result(code); in on_response_impl()
[all …]
/third_party/openh264/module/
Dtask_utils_generated.h34 m_ (m) {} in gmp_args_nm_0()
37 m_ (); in Run()
41 M m_;
50 m_ (m), r_ (r) {} in gmp_args_nm_0_ret()
56 *r_ = m_ (); in Run()
60 M m_;
70 o_ (o), m_ (m) {} in gmp_args_m_0()
73 ((*o_).*m_) (); in Run()
78 M m_; variable
87 o_ (o), m_ (m), r_ (r) {} in gmp_args_m_0_ret()
[all …]
/third_party/boost/boost/thread/detail/
Dlockable_wrapper.hpp26 explicit lockable_wrapper(Mutex& m_) : in lockable_wrapper()
27 m(&m_) in lockable_wrapper()
34 explicit lockable_adopt_wrapper(Mutex& m_) : in lockable_adopt_wrapper()
35 m(&m_) in lockable_adopt_wrapper()
/third_party/boost/boost/pool/detail/
Dmutex.hpp63 pthread_mutex_t m_; member in boost::details::pool::pt_mutex
72 BOOST_VERIFY( pthread_mutex_init( &m_, 0 ) == 0 ); in pt_mutex()
77 BOOST_VERIFY( pthread_mutex_destroy( &m_ ) == 0 ); in ~pt_mutex()
82 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in lock()
87 BOOST_VERIFY( pthread_mutex_unlock( &m_ ) == 0 ); in unlock()
/third_party/boost/boost/thread/pthread/
Dpthread_mutex_scoped_lock.hpp24 explicit pthread_mutex_scoped_lock(pthread_mutex_t* m_) BOOST_NOEXCEPT: in pthread_mutex_scoped_lock() argument
25 m(m_),locked(true) in pthread_mutex_scoped_lock()
55 explicit pthread_mutex_scoped_unlock(pthread_mutex_t* m_) BOOST_NOEXCEPT: in pthread_mutex_scoped_unlock() argument
56 m(m_) in pthread_mutex_scoped_unlock()
/third_party/boost/boost/assign/
Dptr_map_inserter.hpp48 ptr_map_inserter( PtrMap& m ) : m_( m ) in ptr_map_inserter()
57 m_.insert( k, new obj_type ); in operator ()()
75 m_.insert( k, new obj_type( BOOST_ASSIGN_PARAMS3(n) ) ); \
87 m_.insert(key, new obj_type(boost::forward<Ts>(ts)...)); in operator ()()
95 PtrMap& m_; member in boost::assign::ptr_map_inserter

12345