HomeSort by relevance Sort by last modified time
    Searched defs:numbers (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/clang/test/CodeGenCXX/
debug-info-namespace.cpp 5 enum numbers { enum in namespace:A
12 numbers n;
  /external/stlport/test/unit/
inplace_test.cpp 33 int numbers[6] = { 1, 10, 42, 3, 16, 32 }; local
34 inplace_merge(numbers, numbers + 3, numbers + 6);
36 CPPUNIT_ASSERT(numbers[0]==1);
37 CPPUNIT_ASSERT(numbers[1]==3);
38 CPPUNIT_ASSERT(numbers[2]==10);
39 CPPUNIT_ASSERT(numbers[3]==16);
40 CPPUNIT_ASSERT(numbers[4]==32);
41 CPPUNIT_ASSERT(numbers[5]==42)
    [all...]
iota_test.cpp 34 int numbers[10]; local
35 iota(numbers, numbers + 10, 42);
36 CPPUNIT_ASSERT(numbers[0]==42);
37 CPPUNIT_ASSERT(numbers[1]==43);
38 CPPUNIT_ASSERT(numbers[2]==44);
39 CPPUNIT_ASSERT(numbers[3]==45);
40 CPPUNIT_ASSERT(numbers[4]==46);
41 CPPUNIT_ASSERT(numbers[5]==47);
42 CPPUNIT_ASSERT(numbers[6]==48)
    [all...]
nthelm_test.cpp 35 int numbers[7] = { 5, 2, 4, 1, 0, 3 ,77}; local
36 nth_element(numbers, numbers + 3, numbers + 6);
38 CPPUNIT_ASSERT(numbers[0]==1);
39 CPPUNIT_ASSERT(numbers[1]==0);
40 CPPUNIT_ASSERT(numbers[2]==2);
41 CPPUNIT_ASSERT(numbers[3]==3);
42 CPPUNIT_ASSERT(numbers[4]==4);
43 CPPUNIT_ASSERT(numbers[5]==5)
49 int numbers[10] = { 6, 8, 5, 1, 7, 4, 1, 5, 2, 6 }; local
70 int numbers[10] = { 4, 5, 4, 2, 1, 7, 4, 3, 1, 6 }; local
    [all...]
foreach_test.cpp 37 int numbers[10] = { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 }; local
39 for_each(numbers, numbers + 10, ptr_fun(increase));
41 CPPUNIT_ASSERT(numbers[0]==2);
42 CPPUNIT_ASSERT(numbers[1]==2);
43 CPPUNIT_ASSERT(numbers[2]==3);
44 CPPUNIT_ASSERT(numbers[3]==4);
45 CPPUNIT_ASSERT(numbers[4]==6);
46 CPPUNIT_ASSERT(numbers[5]==9);
47 CPPUNIT_ASSERT(numbers[6]==14)
    [all...]
heap_test.cpp 37 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
39 make_heap(numbers, numbers + 6);
40 CPPUNIT_ASSERT(numbers[0]==19)
41 pop_heap(numbers, numbers + 6);
42 CPPUNIT_ASSERT(numbers[0]==13)
43 pop_heap(numbers, numbers + 5);
44 CPPUNIT_ASSERT(numbers[0]==11
55 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
    [all...]
rndshf_test.cpp 42 int numbers[6] = { 1, 2, 3, 4, 5, 6 }; local
44 random_shuffle(numbers, numbers + 6);
46 CPPUNIT_ASSERT(count(numbers, numbers+6, 1)==1);
47 CPPUNIT_ASSERT(count(numbers, numbers+6, 2)==1);
48 CPPUNIT_ASSERT(count(numbers, numbers+6, 3)==1);
49 CPPUNIT_ASSERT(count(numbers, numbers+6, 4)==1)
    [all...]
rotate_test.cpp 38 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
40 rotate((int*)numbers, numbers + 3, numbers + 6);
41 CPPUNIT_ASSERT(numbers[0]==3);
42 CPPUNIT_ASSERT(numbers[1]==4);
43 CPPUNIT_ASSERT(numbers[2]==5);
44 CPPUNIT_ASSERT(numbers[3]==0);
45 CPPUNIT_ASSERT(numbers[4]==1);
46 CPPUNIT_ASSERT(numbers[5]==2)
92 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
    [all...]
count_test.cpp 34 int numbers[10] = { 1, 2, 4, 1, 2, 4, 1, 2, 4, 1 }; local
36 int result = count(numbers, numbers + 10, 1);
40 count(numbers, numbers + 10, 1, result);
46 vector <int> numbers(100);
48 numbers[i] = i % 3;
49 int elements = count(numbers.begin(), numbers.end(), 2);
53 count(numbers.begin(), numbers.end(), 2, elements)
    [all...]
generator_test.cpp 41 int numbers[10]; local
43 generate(numbers, numbers + 10, ptr_gen(cxxrand));
45 generate(numbers, numbers + 10, cxxrand);
min_test.cpp 51 int numbers[6] = { -10, 15, -100, 36, -242, 42 }; local
52 int* r = min_element((int*)numbers, (int*)numbers + 6);
  /ndk/tests/device/test-gnustl-full/unit/
inplace_test.cpp 33 int numbers[6] = { 1, 10, 42, 3, 16, 32 }; local
34 inplace_merge(numbers, numbers + 3, numbers + 6);
36 CPPUNIT_ASSERT(numbers[0]==1);
37 CPPUNIT_ASSERT(numbers[1]==3);
38 CPPUNIT_ASSERT(numbers[2]==10);
39 CPPUNIT_ASSERT(numbers[3]==16);
40 CPPUNIT_ASSERT(numbers[4]==32);
41 CPPUNIT_ASSERT(numbers[5]==42)
    [all...]
iota_test.cpp 34 int numbers[10]; local
35 iota(numbers, numbers + 10, 42);
36 CPPUNIT_ASSERT(numbers[0]==42);
37 CPPUNIT_ASSERT(numbers[1]==43);
38 CPPUNIT_ASSERT(numbers[2]==44);
39 CPPUNIT_ASSERT(numbers[3]==45);
40 CPPUNIT_ASSERT(numbers[4]==46);
41 CPPUNIT_ASSERT(numbers[5]==47);
42 CPPUNIT_ASSERT(numbers[6]==48)
    [all...]
nthelm_test.cpp 35 int numbers[7] = { 5, 2, 4, 1, 0, 3 ,77}; local
36 nth_element(numbers, numbers + 3, numbers + 6);
38 CPPUNIT_ASSERT(numbers[0]==1);
39 CPPUNIT_ASSERT(numbers[1]==0);
40 CPPUNIT_ASSERT(numbers[2]==2);
41 CPPUNIT_ASSERT(numbers[3]==3);
42 CPPUNIT_ASSERT(numbers[4]==4);
43 CPPUNIT_ASSERT(numbers[5]==5)
49 int numbers[10] = { 6, 8, 5, 1, 7, 4, 1, 5, 2, 6 }; local
70 int numbers[10] = { 4, 5, 4, 2, 1, 7, 4, 3, 1, 6 }; local
    [all...]
foreach_test.cpp 37 int numbers[10] = { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 }; local
39 for_each(numbers, numbers + 10, ptr_fun(increase));
41 CPPUNIT_ASSERT(numbers[0]==2);
42 CPPUNIT_ASSERT(numbers[1]==2);
43 CPPUNIT_ASSERT(numbers[2]==3);
44 CPPUNIT_ASSERT(numbers[3]==4);
45 CPPUNIT_ASSERT(numbers[4]==6);
46 CPPUNIT_ASSERT(numbers[5]==9);
47 CPPUNIT_ASSERT(numbers[6]==14)
    [all...]
heap_test.cpp 37 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
39 make_heap(numbers, numbers + 6);
40 CPPUNIT_ASSERT(numbers[0]==19)
41 pop_heap(numbers, numbers + 6);
42 CPPUNIT_ASSERT(numbers[0]==13)
43 pop_heap(numbers, numbers + 5);
44 CPPUNIT_ASSERT(numbers[0]==11
55 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
    [all...]
rndshf_test.cpp 42 int numbers[6] = { 1, 2, 3, 4, 5, 6 }; local
44 random_shuffle(numbers, numbers + 6);
46 CPPUNIT_ASSERT(count(numbers, numbers+6, 1)==1);
47 CPPUNIT_ASSERT(count(numbers, numbers+6, 2)==1);
48 CPPUNIT_ASSERT(count(numbers, numbers+6, 3)==1);
49 CPPUNIT_ASSERT(count(numbers, numbers+6, 4)==1)
    [all...]
rotate_test.cpp 38 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
40 rotate((int*)numbers, numbers + 3, numbers + 6);
41 CPPUNIT_ASSERT(numbers[0]==3);
42 CPPUNIT_ASSERT(numbers[1]==4);
43 CPPUNIT_ASSERT(numbers[2]==5);
44 CPPUNIT_ASSERT(numbers[3]==0);
45 CPPUNIT_ASSERT(numbers[4]==1);
46 CPPUNIT_ASSERT(numbers[5]==2)
92 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
    [all...]
  /ndk/tests/device/test-stlport/unit/
inplace_test.cpp 33 int numbers[6] = { 1, 10, 42, 3, 16, 32 }; local
34 inplace_merge(numbers, numbers + 3, numbers + 6);
36 CPPUNIT_ASSERT(numbers[0]==1);
37 CPPUNIT_ASSERT(numbers[1]==3);
38 CPPUNIT_ASSERT(numbers[2]==10);
39 CPPUNIT_ASSERT(numbers[3]==16);
40 CPPUNIT_ASSERT(numbers[4]==32);
41 CPPUNIT_ASSERT(numbers[5]==42)
    [all...]
iota_test.cpp 34 int numbers[10]; local
35 iota(numbers, numbers + 10, 42);
36 CPPUNIT_ASSERT(numbers[0]==42);
37 CPPUNIT_ASSERT(numbers[1]==43);
38 CPPUNIT_ASSERT(numbers[2]==44);
39 CPPUNIT_ASSERT(numbers[3]==45);
40 CPPUNIT_ASSERT(numbers[4]==46);
41 CPPUNIT_ASSERT(numbers[5]==47);
42 CPPUNIT_ASSERT(numbers[6]==48)
    [all...]
nthelm_test.cpp 35 int numbers[7] = { 5, 2, 4, 1, 0, 3 ,77}; local
36 nth_element(numbers, numbers + 3, numbers + 6);
38 CPPUNIT_ASSERT(numbers[0]==1);
39 CPPUNIT_ASSERT(numbers[1]==0);
40 CPPUNIT_ASSERT(numbers[2]==2);
41 CPPUNIT_ASSERT(numbers[3]==3);
42 CPPUNIT_ASSERT(numbers[4]==4);
43 CPPUNIT_ASSERT(numbers[5]==5)
49 int numbers[10] = { 6, 8, 5, 1, 7, 4, 1, 5, 2, 6 }; local
70 int numbers[10] = { 4, 5, 4, 2, 1, 7, 4, 3, 1, 6 }; local
    [all...]
foreach_test.cpp 37 int numbers[10] = { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 }; local
39 for_each(numbers, numbers + 10, ptr_fun(increase));
41 CPPUNIT_ASSERT(numbers[0]==2);
42 CPPUNIT_ASSERT(numbers[1]==2);
43 CPPUNIT_ASSERT(numbers[2]==3);
44 CPPUNIT_ASSERT(numbers[3]==4);
45 CPPUNIT_ASSERT(numbers[4]==6);
46 CPPUNIT_ASSERT(numbers[5]==9);
47 CPPUNIT_ASSERT(numbers[6]==14)
    [all...]
heap_test.cpp 37 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
39 make_heap(numbers, numbers + 6);
40 CPPUNIT_ASSERT(numbers[0]==19)
41 pop_heap(numbers, numbers + 6);
42 CPPUNIT_ASSERT(numbers[0]==13)
43 pop_heap(numbers, numbers + 5);
44 CPPUNIT_ASSERT(numbers[0]==11
55 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
    [all...]
rndshf_test.cpp 42 int numbers[6] = { 1, 2, 3, 4, 5, 6 }; local
44 random_shuffle(numbers, numbers + 6);
46 CPPUNIT_ASSERT(count(numbers, numbers+6, 1)==1);
47 CPPUNIT_ASSERT(count(numbers, numbers+6, 2)==1);
48 CPPUNIT_ASSERT(count(numbers, numbers+6, 3)==1);
49 CPPUNIT_ASSERT(count(numbers, numbers+6, 4)==1)
    [all...]
rotate_test.cpp 38 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
40 rotate((int*)numbers, numbers + 3, numbers + 6);
41 CPPUNIT_ASSERT(numbers[0]==3);
42 CPPUNIT_ASSERT(numbers[1]==4);
43 CPPUNIT_ASSERT(numbers[2]==5);
44 CPPUNIT_ASSERT(numbers[3]==0);
45 CPPUNIT_ASSERT(numbers[4]==1);
46 CPPUNIT_ASSERT(numbers[5]==2)
92 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
    [all...]

Completed in 1967 milliseconds

1 2 3 4