HomeSort by relevance Sort by last modified time
    Searched defs:count (Results 351 - 375 of 9532) sorted by null

<<11121314151617181920>>

  /frameworks/base/tests/CoreTests/android/core/
LowLevelNetRunner.java 24 private int count = 0; field in class:LowLevelNetRunner
30 count++;
34 * Decrement the run count. If this returns to zero notify any
38 count--;
39 if (count <= 0) {
  /libcore/luni/src/test/java/libcore/java/io/
InputStreamReaderTest.java 38 int count = reader.read(buffer); local
39 assertEquals(5, count);
  /libcore/support/src/test/java/tests/support/
Streams.java 39 int count; local
40 while ((count = source.read(buffer)) != -1) {
41 out.write(buffer, 0, count);
52 int count; local
53 while ((count = fileReader.read(buffer)) != -1) {
54 out.write(buffer, 0, count);
  /libnativehelper/include/nativehelper/
toStringArray.h 26 jobjectArray newStringArray(JNIEnv* env, size_t count);
30 size_t count = (*counter)(); local
31 jobjectArray result = newStringArray(env, count);
35 for (size_t i = 0; i < count; ++i) {
  /packages/apps/Dialer/java/com/android/dialer/voicemailstatus/
VoicemailStatusHelper.java 44 int count = 0; local
50 ++count;
53 return count;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
StringConcatenator.java 45 final int count = items.size(); local
47 if (count == 1) {
51 if (count == 2) {
55 String result = items.get(count - 2);
56 for (int i = count - 3; i >= 0; i--) {
61 result = mResources.getString(R.string.join_many_items_last, result, items.get(count - 1));
  /packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
probability_entry_test.cpp 42 const int count = 0xABCD; local
44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count);
54 EXPECT_EQ(count, decodedEntry.getHistoricalInfo()->getCount());
  /prebuilts/go/darwin-x86/src/cmd/cover/testdata/
main.go 22 count uint32
32 func check(line, count uint32) {
34 count,
42 func checkVal(line, count uint32, val int) int {
44 count,
56 got, index := count(b.line)
57 if b.count == anything && got != 0 {
60 if got != b.count {
61 fmt.Fprintf(os.Stderr, "test_go:%d expected count %d got %d [counter %d]\n", b.line, b.count, got, index
91 func count(line uint32) (uint32, int) { func
    [all...]
  /prebuilts/go/linux-x86/src/cmd/cover/testdata/
main.go 22 count uint32
32 func check(line, count uint32) {
34 count,
42 func checkVal(line, count uint32, val int) int {
44 count,
56 got, index := count(b.line)
57 if b.count == anything && got != 0 {
60 if got != b.count {
61 fmt.Fprintf(os.Stderr, "test_go:%d expected count %d got %d [counter %d]\n", b.line, b.count, got, index
91 func count(line uint32) (uint32, int) { func
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.nonmodifying/alg.foreach/
for_each_n.pass.cpp 24 for_each_test(int c) : count(c) {}
25 int count; member in struct:for_each_test
26 void operator()(int& i) {++i; ++count;}
39 assert(f.count == 0);
47 assert(f.count == s);
57 assert(f.count == 1);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.sorting/alg.permutation.generators/
next_permutation.pass.cpp 42 int count = 0; local
55 ++count;
57 assert(count == factorial(e));
next_permutation_comp.pass.cpp 44 int count = 0; local
57 ++count;
59 assert(count == factorial(e));
prev_permutation.pass.cpp 42 int count = 0; local
55 ++count;
57 assert(count == factorial(e));
prev_permutation_comp.pass.cpp 44 int count = 0; local
57 ++count;
59 assert(count == factorial(e));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.auto.ptr/auto.ptr/
AB.h 19 explicit A(int id) : id_(id) {++count;}
20 A(const A& a) : id_(a.id_) {++count;}
21 virtual ~A() {assert(id_ >= 0); id_ = -1; --count;}
23 static int count; member in class:A
26 int A::count = 0; member in class:A
32 explicit B(int id) : A(id) {++count;}
33 B(const B& a) : A(a) {++count;}
34 virtual ~B() {--count;}
36 static int count; member in class:B
39 int B::count = 0 member in class:B
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
destroy.pass.cpp 28 int count = 0; variable
32 destroyable() { ++count; }
33 ~destroyable() { --count; }
47 assert(count == 1);
49 assert(count == 0);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
invoke_void_0.pass.cpp 22 int count = 0; variable
28 int save_count = count;
30 assert(count == save_count + 1);
37 int save_count = count;
39 assert(count == save_count + 2);
42 void f() {++count;}
44 int g() {++count; return 0;}
48 void operator()() {++count;}
49 void operator()() const {count += 2;}
54 int operator()() {++count; return 4;
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
alloc_rfunction.fail.cpp 29 static int count; member in class:A
33 ++count;
38 A(const A&) {++count;}
40 ~A() {--count;}
50 int A::count = 0; member in class:A
alloc_rfunction.pass.cpp 33 static int count; member in class:A
37 ++count;
42 A(const A&) {++count;}
44 ~A() {--count;}
54 int A::count = 0; member in class:A
63 assert(A::count == 1);
68 assert(A::count == 1);
84 assert(A::count == 1);
89 assert(A::count == 1);
nullptr_t_assign.pass.cpp 25 static int count; member in class:A
29 ++count;
34 A(const A&) {++count;}
36 ~A() {--count;}
46 int A::count = 0; member in class:A
56 assert(A::count == 1);
60 assert(A::count == 0);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/
assign_F_alloc.pass.cpp 27 static int count; member in class:A
31 ++count;
36 A(const A&) {++count;}
38 ~A() {--count;}
50 int A::count = 0; member in class:A
58 assert(A::count == 1);
62 assert(A::count == 0);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/
target.pass.cpp 32 static int count; member in class:A
36 ++count;
41 A(const A&) {++count;}
43 ~A() {--count;}
55 int A::count = 0; member in class:A
63 assert(A::count == 1);
68 assert(A::count == 0);
71 assert(A::count == 0);
76 assert(A::count == 0);
79 assert(A::count == 1)
    [all...]
target_type.pass.cpp 24 static int count; member in class:A
28 ++count;
33 A(const A&) {++count;}
35 ~A() {--count;}
47 int A::count = 0; member in class:A
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/refwrap/refwrap.invoke/
invoke_int_0.pass.cpp 24 int count = 0; variable
62 count += i;
69 count += i;
invoke_void_0.pass.cpp 24 int count = 0; variable
28 ++count;
33 void operator()() {++count;}
39 int save_count = count;
44 assert(count == save_count+1);
45 save_count = count;
52 assert(count == save_count+1);
53 save_count = count;
60 assert(count == save_count+1);
61 save_count = count;
    [all...]

Completed in 377 milliseconds

<<11121314151617181920>>