Searched defs:numbers (Results 1 - 25 of 78) sorted by relevance

1234

/external/lldb/test/functionalities/data-formatter/data-formatter-disabling/
H A Dmain.cpp8 std::vector<int> numbers; local
9 numbers.push_back(1);
10 numbers.push_back(12);
11 numbers.push_back(123);
12 numbers.push_back(1234);
13 numbers.push_back(12345);
14 numbers.push_back(123456);
15 numbers.push_back(1234567); // Set break point at this line.
/external/stlport/test/unit/
H A Dinplace_test.cpp33 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[
[all...]
H A Diota_test.cpp34 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[
[all...]
H A Dnthelm_test.cpp35 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[
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...]
H A Dforeach_test.cpp37 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[
[all...]
H A Dheap_test.cpp37 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[
55 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local
[all...]
H A Drotate_test.cpp38 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[
92 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
[all...]
H A Dcount_test.cpp34 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
[all...]
H A Dgenerator_test.cpp41 int numbers[10]; local
43 generate(numbers, numbers + 10, ptr_gen(cxxrand));
45 generate(numbers, numbers + 10, cxxrand);
H A Drndshf_test.cpp42 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, number
[all...]
H A Dcopy_test.cpp120 int numbers[5] = { 1, 2, 3, 4, 5 }; local
123 copy_backward(numbers, numbers + 5, (int*)result + 5);
124 CPPUNIT_ASSERT(result[0]==numbers[0]);
125 CPPUNIT_ASSERT(result[1]==numbers[1]);
126 CPPUNIT_ASSERT(result[2]==numbers[2]);
127 CPPUNIT_ASSERT(result[3]==numbers[3]);
128 CPPUNIT_ASSERT(result[4]==numbers[4]);
H A Dmax_test.cpp52 int numbers[6] = { 4, 10, 56, 11, -42, 19 }; local
54 int* r = max_element((int*)numbers, (int*)numbers + 6);
H A Dmin_test.cpp51 int numbers[6] = { -10, 15, -100, 36, -242, 42 }; local
52 int* r = min_element((int*)numbers, (int*)numbers + 6);
H A Dpartition_test.cpp56 int numbers[6] = { 10, 5, 11, 20, 6, -2 }; local
59 stable_partition((int*)numbers, (int*)numbers + 6, less_n(10, nb_pred_calls));
61 CPPUNIT_ASSERT(numbers[0]==5);
62 CPPUNIT_ASSERT(numbers[1]==6);
63 CPPUNIT_ASSERT(numbers[2]==-2);
64 CPPUNIT_ASSERT(numbers[3]==10);
65 CPPUNIT_ASSERT(numbers[4]==11);
66 CPPUNIT_ASSERT(numbers[5]==20);
69 CPPUNIT_ASSERT( nb_pred_calls == sizeof(numbers) / sizeo
75 int numbers[] = { 5, 5, 2, 10, 0, 12, 5, 0, 0, 19 }; local
95 int numbers[6] = { 6, 12, 3, 10, 1, 20 }; local
113 int numbers[10] ={ 19, 3, 11, 14, 10, 19, 8, 17, 9, 6 }; local
[all...]
H A Drm_cp_test.cpp56 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local
58 reverse(numbers, numbers + 6);
59 CPPUNIT_ASSERT(numbers[0]==5);
60 CPPUNIT_ASSERT(numbers[1]==4);
61 CPPUNIT_ASSERT(numbers[2]==3);
62 CPPUNIT_ASSERT(numbers[3]==2);
63 CPPUNIT_ASSERT(numbers[4]==1);
64 CPPUNIT_ASSERT(numbers[5]==0);
69 int numbers[ local
105 int numbers[6] = { 0, 1, 2, 0, 1, 2 }; local
119 int numbers[6] = { 0, 1, 2, 0, 1, 2 }; local
189 int numbers[6] = { 1, 2, 3, 1, 2, 3 }; local
203 int numbers[6] = { 0, 0, 1, 1, 2, 2 }; local
218 int numbers[6] = { 1, 2, 3, 1, 2, 3 }; local
233 int numbers[6] = { 1, 2, 3, 1, 2, 3 }; local
[all...]
H A Dtransform_test.cpp46 int numbers[6] = { -5, -1, 0, 1, 6, 11 }; local
49 transform((int*)numbers, (int*)numbers + 6, (int*)result, negate_int);
H A Dunique_test.cpp37 int numbers[8] = { 0, 1, 1, 2, 2, 2, 3, 4 }; local
38 unique((int*)numbers, (int*)numbers + 8);
40 CPPUNIT_ASSERT(numbers[0]==0);
41 CPPUNIT_ASSERT(numbers[1]==1);
42 CPPUNIT_ASSERT(numbers[2]==2);
43 CPPUNIT_ASSERT(numbers[3]==3);
44 CPPUNIT_ASSERT(numbers[4]==4);
45 CPPUNIT_ASSERT(numbers[5]==2);
46 CPPUNIT_ASSERT(numbers[
70 int numbers[8] = { 0, 1, 1, 2, 2, 2, 3, 4 }; local
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/
H A Dmain.cpp8 int_vect numbers; local
9 numbers.push_back(1); // Set break point at this line.
10 numbers.push_back(12); // Set break point at this line.
11 numbers.push_back(123);
12 numbers.push_back(1234);
13 numbers.push_back(12345); // Set break point at this line.
14 numbers.push_back(123456);
15 numbers.push_back(1234567);
17 numbers.clear(); // Set break point at this line.
19 numbers
[all...]
/external/clang/test/Misc/
H A Ddiag-line-wrapping.cpp21 // CHECK-NOT: static const float numbers[]
22 static const float numbers[] = {0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.3529411764705883,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.4117647058823529,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.4705882352941176,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.4117647058823529,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.4705882352941176,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.5294117647058824,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.4705882352941176,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.5294117647058824,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.5294117647058824,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.1764705882352941,0.3529411764705883,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.1764705882352941,0.4117647058823529,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2352941176470588,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2352941176470588,0.4117647058823529,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2352941176470588,0.4705882352941176,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2941176470588235,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2941176470588235,0.4705882352941176,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2941176470588235,0.5294117647058824,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.3529411764705883,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.3529411764705883,0.5294117647058824,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2352941176470588,0.1176470588235294,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2352941176470588,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2352941176470588,0.4117647058823529,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2941176470588235,0.1764705882352941,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2941176470588235,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2941176470588235,0.4705882352941176,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.3529411764705883,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.3529411764705883,0.5294117647058824,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.4117647058823529,0.2941176470588235,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.2941176470588235,0.1176470588235294,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.2941176470588235,0.1764705882352941,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.3529411764705883,0.1764705882352941,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.3529411764705883,0.2352941176470588,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.4117647058823529,0.2352941176470588,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.4705882352941176,0.2941176470588235,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.3529411764705883,0.1176470588235294,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.3529411764705883,0.1764705882352941,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.4117647058823529,0.1764705882352941,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.4117647058823529,0.2352941176470588,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.4705882352941176,0.2352941176470588,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.5294117647058824,0.2941176470588235,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.4117647058823529}; variable
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/
H A Dmain.cpp12 int_vect numbers; local
13 (numbers.push_back(1)); // Set break point at this line.
14 (numbers.push_back(12));
15 (numbers.push_back(123));
16 (numbers.push_back(1234));
17 (numbers.push_back(12345));
18 (numbers.push_back(123456));
19 (numbers.push_back(1234567));
21 numbers.clear();
23 (numbers
[all...]
/external/clang/test/SemaCXX/
H A Darray-bounds-ptr-arith.cpp23 double numbers[2]; // expected-note {{declared here}} local
24 swallow((char*)numbers + sizeof(double)); // no-warning
25 swallow((char*)numbers + 60); // expected-warning {{refers past the end of the array}}
/external/clang/test/CodeGenCXX/
H A Dcp-blocks-linetables.cpp16 enum numbers { enum
20 typedef enum numbers (^myblock)(enum numbers);
28 __block enum numbers x = one;
29 __block enum numbers y = two;
32 myblock CL = ^(enum numbers z)
33 { enum numbers savex = x;
34 { __block enum numbers x = savex;
40 ^ (enum numbers z) {
51 return (enum numbers) fou
[all...]
/external/lldb/test/expression_command/formatters/
H A Dmain.cpp44 int numbers[5] = {1,2,3,4,5}; local
/external/chromium_org/tools/telemetry/telemetry/value/
H A Dlist_of_scalar_values.py5 import numbers namespace
24 assert all(isinstance(v, numbers.Number) for v in values)
H A Dscalar.py5 import numbers namespace
22 assert value is None or isinstance(value, numbers.Number)

Completed in 347 milliseconds

1234