/external/libcxxabi/test/ |
unwind_05.pass.cpp | 23 static int count; member in struct:A 25 A() : id_(++count) {} 26 ~A() {assert(id_ == count--);} 33 int A::count = 0; member in class:A 37 static int count; member in struct:B 39 B() : id_(++count) {} 40 ~B() {assert(id_ == count--);} 47 int B::count = 0; member in class:B 51 static int count; member in struct:C 53 C() : id_(++count) {} 61 int C::count = 0; member in class:C [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/test/ |
unwind_01.pass.cpp | 20 static int count; member in struct:A 22 A() : id_(++count) {} 23 ~A() {assert(id_ == count--);} 30 int A::count = 0; member in class:A 34 static int count; member in struct:B 36 B() : id_(++count) {} 37 ~B() {assert(id_ == count--);} 44 int B::count = 0; member in class:B 48 static int count; member in struct:C 50 C() : id_(++count) {} 58 int C::count = 0; member in class:C [all...] |
unwind_02.pass.cpp | 21 static int count; member in struct:A 23 A() : id_(++count) {} 24 ~A() {assert(id_ == count--);} 31 int A::count = 0; member in class:A 35 static int count; member in struct:B 37 B() : id_(++count) {} 38 ~B() {assert(id_ == count--);} 45 int B::count = 0; member in class:B 49 static int count; member in struct:C 51 C() : id_(++count) {} 59 int C::count = 0; member in class:C [all...] |
unwind_04.pass.cpp | 23 static int count; member in struct:A 25 A() : id_(++count) {} 26 ~A() {assert(id_ == count--);} 33 int A::count = 0; member in class:A 37 static int count; member in struct:B 39 B() : id_(++count) {} 40 ~B() {assert(id_ == count--);} 47 int B::count = 0; member in class:B 51 static int count; member in struct:C 53 C() : id_(++count) {} 61 int C::count = 0; member in class:C [all...] |
unwind_05.pass.cpp | 23 static int count; member in struct:A 25 A() : id_(++count) {} 26 ~A() {assert(id_ == count--);} 33 int A::count = 0; member in class:A 37 static int count; member in struct:B 39 B() : id_(++count) {} 40 ~B() {assert(id_ == count--);} 47 int B::count = 0; member in class:B 51 static int count; member in struct:C 53 C() : id_(++count) {} 61 int C::count = 0; member in class:C [all...] |
/system/media/audio_utils/ |
primitives.c | 30 void memcpy_to_i16_from_q4_27(int16_t *dst, const int32_t *src, size_t count) 32 for (; count > 0; --count) { 37 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) 39 dst += count; 40 src += count; 41 for (; count > 0; --count) { 46 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) 48 for (; count > 0; --count) [all...] |
/external/libxml2/ |
xmlwriter.c | 522 int count; local 562 count = xmlOutputBufferWriteString(writer->out, "<?xml version="); 563 if (count < 0) 565 sum += count; 566 count = xmlOutputBufferWrite(writer->out, 1, &writer->qchar); 567 if (count < 0) 569 sum += count; 571 count = xmlOutputBufferWriteString(writer->out, version); 573 count = xmlOutputBufferWriteString(writer->out, "1.0"); 574 if (count < 0 641 int count; local 727 int count; local 811 int count; local 926 int count; local 958 int count; local 1057 int count; local 1120 int count; local 1212 int count; local 1354 int count; local 1480 int count; local 1553 int count; local 1626 int count; local 1675 int count; local 1719 int count; local 1764 int count; local 1832 int count; local 1919 int count; local 2028 int count; local 2135 int count; local 2231 int count; local 2340 int count; local 2376 int count; local 2472 int count; local 2584 int count; local 2617 int count; local 2696 int count; local 2795 int count; local 2833 int count; local 2969 int count; local 3119 int count; local 3153 int count; local 3240 int count; local 3353 int count; local 3390 int count; local 3477 int count; local 3590 int count; local 3629 int count; local 3728 int count; local 3892 int count; local 3938 int count; local 3984 int count; local 4115 int count; local 4233 int count; local 4315 int count; local 4471 int count; local 4674 int count; local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringReader.java | 30 private int count; field in class:Support_StringReader 42 this.count = str.length(); 114 if (pos != count) { 124 * Reads at most <code>count</code> characters from this StringReader and 131 * @param count maximum number of characters to read 136 public int read(char buf[], int offset, int count) throws IOException { 138 if (0 <= offset && offset <= buf.length && 0 <= count 139 && count <= buf.length - offset) { 142 if (pos == this.count) { 145 int end = pos + count > this.count ? this.count : po [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_StringReader.java | 30 private int count; field in class:Support_StringReader 43 this.count = str.length(); 121 if (pos != count) { 131 * Reads at most <code>count</code> characters from this StringReader and 140 * @param count 148 public int read(char buf[], int offset, int count) throws IOException { 150 if (0 <= offset && offset <= buf.length && 0 <= count 151 && count <= buf.length - offset) { 154 if (pos == this.count) { 157 int end = pos + count > this.count ? this.count : po [all...] |
/external/libcxx/test/std/containers/associative/set/ |
count.pass.cpp | 14 // size_type count(const key_type& k) const; 41 R r = m.count(5); 43 r = m.count(6); 45 r = m.count(7); 47 r = m.count(8); 49 r = m.count(9); 51 r = m.count(10); 53 r = m.count(11); 55 r = m.count(12); 57 r = m.count(4) [all...] |
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
destroy.pass.cpp | 25 static int count; member in struct:Counted 26 static void reset() { count = 0; } 27 Counted() { ++count; } 28 Counted(Counted const&) { ++count; } 29 ~Counted() { --count; } 32 int Counted::count = 0; member in class:Counted 41 assert(Counted::count == 5); 44 assert(Counted::count == 4); 46 assert(Counted::count == 0);
|
destroy_n.pass.cpp | 25 static int count; member in struct:Counted 26 static void reset() { count = 0; } 27 Counted() { ++count; } 28 Counted(Counted const&) { ++count; } 29 ~Counted() { --count; } 32 int Counted::count = 0; member in class:Counted 41 assert(Counted::count == 5); 44 assert(Counted::count == 4); 48 assert(Counted::count == 0);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
nullptr_t_deleter.pass.cpp | 22 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 35 assert(A::count == 0); 39 assert(test_deleter<A>::count == 1); 44 assert(A::count == 0); 45 assert(test_deleter<A>::count == 0);
|
pointer_deleter.pass.cpp | 22 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 36 assert(A::count == 1); 40 assert(test_deleter<A>::count == 1); 45 assert(A::count == 0); 46 assert(test_deleter<A>::count == 0);
|
shared_ptr_rv.pass.cpp | 25 static int count; member in struct:A 27 A() {++count;} 28 A(const A&) {++count;} 29 ~A() {--count;} 32 int A::count = 0; member in class:A 39 assert(A::count == 1); 43 assert(A::count == 1); 55 assert(A::count == 0); 58 assert(A::count == 1); 61 assert(A::count == 0) [all...] |
weak_ptr.pass.cpp | 23 static int count; member in struct:B 25 B() {++count;} 26 B(const B&) {++count;} 27 virtual ~B() {--count;} 30 int B::count = 0; member in class:B 35 static int count; member in struct:A 37 A() {++count;} 38 A(const A&) {++count;} 39 ~A() {--count;} 42 int A::count = 0 member in class:A [all...] |
/libcore/ojluni/src/main/java/java/io/ |
BufferedOutputStream.java | 47 * <tt>buf[0]</tt> through <tt>buf[count-1]</tt> contain valid 50 protected int count; field in class:BufferedOutputStream 81 if (count > 0) { 82 out.write(buf, 0, count); 83 count = 0; 94 if (count >= buf.length) { 97 buf[count++] = (byte)b; 125 if (len > buf.length - count) { 128 System.arraycopy(b, off, buf, count, len); 129 count += len [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/set/ |
count.pass.cpp | 14 // size_type count(const key_type& k) const; 41 R r = m.count(5); 43 r = m.count(6); 45 r = m.count(7); 47 r = m.count(8); 49 r = m.count(9); 51 r = m.count(10); 53 r = m.count(11); 55 r = m.count(12); 57 r = m.count(4) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
destroy.pass.cpp | 25 static int count; member in struct:Counted 26 static void reset() { count = 0; } 27 Counted() { ++count; } 28 Counted(Counted const&) { ++count; } 29 ~Counted() { --count; } 32 int Counted::count = 0; member in class:Counted 41 assert(Counted::count == 5); 44 assert(Counted::count == 4); 46 assert(Counted::count == 0);
|
destroy_n.pass.cpp | 25 static int count; member in struct:Counted 26 static void reset() { count = 0; } 27 Counted() { ++count; } 28 Counted(Counted const&) { ++count; } 29 ~Counted() { --count; } 32 int Counted::count = 0; member in class:Counted 41 assert(Counted::count == 5); 44 assert(Counted::count == 4); 48 assert(Counted::count == 0);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
nullptr_t_deleter.pass.cpp | 22 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 35 assert(A::count == 0); 39 assert(test_deleter<A>::count == 1); 44 assert(A::count == 0); 45 assert(test_deleter<A>::count == 0);
|
pointer_deleter.pass.cpp | 22 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 36 assert(A::count == 1); 40 assert(test_deleter<A>::count == 1); 45 assert(A::count == 0); 46 assert(test_deleter<A>::count == 0);
|
/external/expat/tests/ |
chardata.c | 60 storage->count = -1; 71 if (storage->count < 0) 72 storage->count = 0; 75 if ((len + storage->count) > maxchars) { 76 len = (maxchars - storage->count); 78 if (len + storage->count < (int)sizeof(storage->data)) { 79 memcpy(storage->data + storage->count, s, 81 storage->count += len; 90 int count; local 93 count = (storage->count < 0) ? 0 : storage->count [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
PR31384.pass.cpp | 21 int count = 0; variable 37 operator std::tuple<U>() && { ++count; return {}; } 45 explicit operator std::tuple<U>() && { ++count; return {}; } 51 assert(count == 1); 53 assert(count == 2); 55 count = 0; 58 assert(count == 1); 60 assert(count == 2); 62 count = 0; 67 assert(count == 1) [all...] |
/external/swiftshader/src/Common/ |
Resource.cpp | 26 count = 0; 41 while(count > 0 && accessor != claimer) 53 count++; 65 while(count > 0 && accessor == relinquisher) 67 count--; 69 if(count == 0) 87 while(count > 0 && accessor != claimer) 99 count++; 110 count--; 112 if(count == 0 [all...] |