/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer_deleter01.pass.cpp | 25 static int count; member in struct:A 26 A() {++count;} 27 A(const A&) {++count;} 28 ~A() {--count;} 31 int A::count = 0; member in class:A 37 assert(A::count == 3); 42 assert(A::count == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
move01.fail.cpp | 23 static int count; member in struct:A 24 A() {++count;} 25 A(const A&) {++count;} 26 ~A() {--count;} 29 int A::count = 0; member in class:A 39 assert(A::count == 1); 41 assert(A::count == 0);
|
move02.fail.cpp | 23 static int count; member in struct:A 24 A() {++count;} 25 A(const A&) {++count;} 26 ~A() {--count;} 29 int A::count = 0; member in class:A 39 assert(A::count == 1); 41 assert(A::count == 0);
|
/external/chromium_org/tools/gyp/test/actions/src/subdir1/ |
counter.py | 13 count = 0 variable 15 count = open(persistoutput, 'r').read() variable 18 count = int(count) + 1 variable 22 if count > max_count: 23 count = max_count variable 31 # Save the count in a file that is undeclared, and thus hidden, to gyp. We need 33 # any declared outputs, so we would lose our count if we just wrote to the 35 open(persistoutput, 'w').write('%d' % (count)) 37 # Only write the given output file if the count has changed [all...] |
/ndk/sources/cxx-stl/gabi++/tests/ |
catch_class_01.cpp | 16 static int count; member in struct:A 18 explicit A(int id) : id_(id) {count++;} 19 A(const A& a) : id_(a.id_) {count++;} 20 ~A() {count--;} 23 int A::count = 0; member in class:A 34 assert(A::count == 0); 39 assert(A::count != 0); 54 assert(A::count != 0); 57 assert(A::count == 0);
|
catch_class_02.cpp | 16 static int count; member in struct:B 18 explicit B(int id) : id_(id) {count++;} 19 B(const B& a) : id_(a.id_) {count++;} 20 ~B() {count--;} 23 int B::count = 0; member in class:B 28 static int count; member in struct:A 30 explicit A(int id) : B(id-1), id_(id) {count++;} 31 A(const A& a) : B(a.id_-1), id_(a.id_) {count++;} 32 ~A() {count--;} 35 int A::count = 0 member in class:A [all...] |
catch_class_04.cpp | 22 static int count; member in struct:B 24 explicit B(int id) : id_(id) {count++;} 25 B(const B& a) : id_(a.id_) {count++;} 26 ~B() {count--;} 29 int B::count = 0; member in class:B 34 static int count; member in struct:C1 36 explicit C1(int id) : B(id-2), id_(id) {count++;} 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} 38 ~C1() {count--;} 41 int C1::count = 0 member in class:C1 46 static int count; member in struct:C2 53 int C2::count = 0; member in class:C2 58 static int count; member in struct:A 65 int A::count = 0; member in class:A [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.types/locale.facet/ |
facet.pass.cpp | 29 static int count; member in struct:my_facet 32 {++count;} 34 ~my_facet() {--count;} 37 int my_facet::count = 0; member in class:my_facet 43 assert(my_facet::count == 1); 45 assert(my_facet::count == 0); 48 assert(my_facet::count == 1); 50 assert(my_facet::count == 1); 52 assert(my_facet::count == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
pointer.pass.cpp | 19 static int count; member in struct:A 21 A() {++count;} 22 A(const A&) {++count;} 23 ~A() {--count;} 26 int A::count = 0; member in class:A 33 assert(A::count == 1); 37 assert(A::count == 0); 41 assert(A::count == 1); 45 assert(A::count == 0);
|
shared_ptr_Y_rv.pass.cpp | 22 static int count; member in struct:B 24 B() {++count;} 25 B(const B&) {++count;} 26 virtual ~B() {--count;} 29 int B::count = 0; member in class:B 34 static int count; member in struct:A 36 A() {++count;} 37 A(const A&) {++count;} 38 ~A() {--count;} 41 int A::count = 0 member in class:A 45 static int count; member in struct:C 52 int C::count = 0; member in class:C [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/ |
A.h | 19 explicit A(int id) : id_(id) {++count;} 20 A(const A& a) : id_(a.id_) {++count;} 21 ~A() {assert(id_ >= 0); id_ = -1; --count;} 25 static int count; member in class:A 28 int A::count = 0; member in class:A
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
move01.fail.cpp | 23 static int count; member in struct:A 24 A() {++count;} 25 A(const A&) {++count;} 26 ~A() {--count;} 29 int A::count = 0; member in class:A
|
move02.fail.cpp | 23 static int count; member in struct:A 24 A() {++count;} 25 A(const A&) {++count;} 26 ~A() {--count;} 29 int A::count = 0; member in class:A
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move01.fail.cpp | 23 static int count; member in struct:A 24 A() {++count;} 25 A(const A&) {++count;} 26 ~A() {--count;} 29 int A::count = 0; member in class:A
|
move02.fail.cpp | 23 static int count; member in struct:A 24 A() {++count;} 25 A(const A&) {++count;} 26 ~A() {--count;} 29 int A::count = 0; member in class:A
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
auto_ptr_Y.pass.cpp | 22 static int count; member in struct:B 24 B() {++count;} 25 B(const B&) {++count;} 26 virtual ~B() {--count;} 29 int B::count = 0; member in class:B 34 static int count; member in struct:A 36 A() {++count;} 37 A(const A&) {++count;} 38 ~A() {--count;} 41 int A::count = 0 member in class:A [all...] |
unique_ptr_Y.pass.cpp | 22 static int count; member in struct:B 24 B() {++count;} 25 B(const B&) {++count;} 26 virtual ~B() {--count;} 29 int B::count = 0; member in class:B 34 static int count; member in struct:A 36 A() {++count;} 37 A(const A&) {++count;} 38 ~A() {--count;} 41 int A::count = 0 member in class:A [all...] |
/external/eigen/doc/snippets/ |
MatrixBase_cwiseEqual.cpp | 6 int count = m.cwiseEqual(MatrixXi::Identity(2,2)).count(); variable 7 cout << "Number of coefficients that are equal: " << count << endl;
|
MatrixBase_cwiseNotEqual.cpp | 6 int count = m.cwiseNotEqual(MatrixXi::Identity(2,2)).count(); variable 7 cout << "Number of coefficients that are not equal: " << count << endl;
|
/external/kernel-headers/original/asm-generic/ |
mutex-xchg.h | 16 * __mutex_fastpath_lock - try to take the lock by moving the count 18 * @count: pointer of type atomic_t 21 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it 26 __mutex_fastpath_lock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *)) 28 if (unlikely(atomic_xchg(count, 0) != 1)) 29 fail_fn(count); 35 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 37 * @count: pointer of type atomic_t 40 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it 45 __mutex_fastpath_lock_retval(atomic_t *count, fastcall int (*fail_fn)(atomic_t *) [all...] |
/external/kernel-headers/original/linux/ |
vt_buffer.h | 31 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) 33 count /= 2; 34 while (count--) 40 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) 42 count /= 2; 43 while (count--) 49 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) 52 scr_memcpyw(d, s, count); 54 count /= 2; 55 d += count; [all...] |
/external/llvm/test/CodeGen/SystemZ/Large/ |
spill-01.py | 9 # count == (4096 - 168) / 8 + 6 + 1 == 498 21 count = 500 variable 27 for i in range(count): 35 for i in range(count):
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/repetition/ |
enum_params.hpp | 24 # define BOOST_PP_ENUM_PARAMS(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_PARAMS_M, param) 26 # define BOOST_PP_ENUM_PARAMS(count, param) BOOST_PP_ENUM_PARAMS_I(count, param) 27 # define BOOST_PP_ENUM_PARAMS_I(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_PARAMS_M, param) 35 # define BOOST_PP_ENUM_PARAMS_Z(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_PARAMS_M, param) 37 # define BOOST_PP_ENUM_PARAMS_Z(z, count, param) BOOST_PP_ENUM_PARAMS_Z_I(z, count, param [all...] |
enum_trailing_params.hpp | 21 # define BOOST_PP_ENUM_TRAILING_PARAMS(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_TRAILING_PARAMS_M, param) 23 # define BOOST_PP_ENUM_TRAILING_PARAMS(count, param) BOOST_PP_ENUM_TRAILING_PARAMS_I(count, param) 24 # define BOOST_PP_ENUM_TRAILING_PARAMS_I(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_TRAILING_PARAMS_M, param) 32 # define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_TRAILING_PARAMS_M, param) 34 # define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param) BOOST_PP_ENUM_TRAILING_PARAMS_Z_I(z, count, param [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
Leb128Utils.java | 41 int count = 0; local 45 count++; 48 return count + 1; 62 int count = 0; local 72 count++; 75 return count;
|