Searched defs:ib (Results 1 - 25 of 174) sorted by relevance

1234567

/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/
H A Dequal.pass.cpp28 int ib[s] = {0, 1, 2, 5, 4, 5}; local
44 input_iterator<const int*>(ib)));
48 input_iterator<const int*>(ib),
49 input_iterator<const int*>(ib+s)));
52 random_access_iterator<const int*>(ib),
53 random_access_iterator<const int*>(ib+s)));
H A Dequal_pred.pass.cpp36 int ib[s] = {0, 1, 2, 5, 4, 5}; local
70 input_iterator<const int*>(ib),
75 input_iterator<const int*>(ib),
76 input_iterator<const int*>(ib+s),
80 random_access_iterator<const int*>(ib),
81 random_access_iterator<const int*>(ib+s),
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
H A Dis_permutation.pass.cpp28 const int ib[] = {0}; local
32 forward_iterator<const int*>(ib)) == true);
36 forward_iterator<const int*>(ib),
37 forward_iterator<const int*>(ib + 0)) == true);
41 forward_iterator<const int*>(ib)) == true);
45 forward_iterator<const int*>(ib),
46 forward_iterator<const int*>(ib + sa)) == true);
49 forward_iterator<const int*>(ib),
50 forward_iterator<const int*>(ib + sa - 1)) == false);
55 const int ib[] local
70 const int ib[] = {0, 0}; local
88 const int ib[] = {0, 1}; local
102 const int ib[] = {1, 0}; local
116 const int ib[] = {1, 1}; local
130 const int ib[] = {0, 0}; local
144 const int ib[] = {0, 1}; local
162 const int ib[] = {1, 0}; local
176 const int ib[] = {1, 1}; local
190 const int ib[] = {0, 0}; local
204 const int ib[] = {0, 1}; local
218 const int ib[] = {1, 0}; local
232 const int ib[] = {1, 1}; local
246 const int ib[] = {0, 0}; local
260 const int ib[] = {0, 1}; local
274 const int ib[] = {1, 0}; local
288 const int ib[] = {1, 1}; local
303 const int ib[] = {1, 0, 0}; local
317 const int ib[] = {1, 0, 1}; local
331 const int ib[] = {1, 0, 2}; local
345 const int ib[] = {1, 1, 0}; local
359 const int ib[] = {1, 1, 1}; local
373 const int ib[] = {1, 1, 2}; local
387 const int ib[] = {1, 2, 0}; local
401 const int ib[] = {1, 2, 1}; local
415 const int ib[] = {1, 2, 2}; local
429 const int ib[] = {1, 0, 0}; local
447 const int ib[] = {1, 0, 1}; local
461 const int ib[] = {1, 0, 2}; local
479 const int ib[] = {1, 2, 0}; local
497 const int ib[] = {2, 1, 0}; local
515 const int ib[] = {2, 0, 1}; local
533 const int ib[] = {1, 0, 1}; local
547 const int ib[] = {1, 0, 0}; local
569 const int ib[] = {4, 2, 3, 0, 1, 4, 0, 5, 6, 2}; local
591 const int ib[] = {4, 2, 3, 0, 1, 4, 0, 5, 6, 0}; local
[all...]
/external/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/
H A Dlexicographical_compare.pass.cpp29 int ib[] = {1, 2, 3}; local
30 assert(!std::lexicographical_compare(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+2)));
31 assert( std::lexicographical_compare(Iter1(ib), Iter1(ib+2), Iter2(ia), Iter2(ia+sa)));
32 assert(!std::lexicographical_compare(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+3)));
33 assert( std::lexicographical_compare(Iter1(ib), Iter1(ib+3), Iter2(ia), Iter2(ia+sa)));
34 assert( std::lexicographical_compare(Iter1(ia), Iter1(ia+sa), Iter2(ib
[all...]
H A Dlexicographical_compare_comp.pass.cpp31 int ib[] = {1, 2, 3}; local
34 assert(!std::lexicographical_compare(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+2), c));
35 assert( std::lexicographical_compare(Iter1(ib), Iter1(ib+2), Iter2(ia), Iter2(ia+sa), c));
36 assert(!std::lexicographical_compare(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+3), c));
37 assert( std::lexicographical_compare(Iter1(ib), Iter1(ib+3), Iter2(ia), Iter2(ia+sa), c));
38 assert(!std::lexicographical_compare(Iter1(ia), Iter1(ia+sa), Iter2(ib
[all...]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/
H A Dcopy.pass.cpp29 int ib[N] = {0}; local
31 OutIter r = std::copy(InIter(ia), InIter(ia+N), OutIter(ib));
32 assert(base(r) == ib+N);
34 assert(ia[i] == ib[i]);
H A Dcopy_backward.pass.cpp30 int ib[N] = {0}; local
32 OutIter r = std::copy_backward(InIter(ia), InIter(ia+N), OutIter(ib+N));
33 assert(base(r) == ib);
35 assert(ia[i] == ib[i]);
H A Dcopy_n.pass.cpp32 int ib[N] = {0}; local
34 OutIter r = std::copy_n(InIter(ia), UDI(N/2), OutIter(ib));
35 assert(base(r) == ib+N/2);
37 assert(ia[i] == ib[i]);
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/
H A Dmove.pass.cpp33 int ib[N] = {0}; local
35 OutIter r = std::move(InIter(ia), InIter(ia+N), OutIter(ib));
36 assert(base(r) == ib+N);
38 assert(ia[i] == ib[i]);
51 std::unique_ptr<int> ib[N]; local
53 OutIter r = std::move(InIter(ia), InIter(ia+N), OutIter(ib));
54 assert(base(r) == ib+N);
56 assert(*ib[i] == static_cast<int>(i));
H A Dmove_backward.pass.cpp33 int ib[N] = {0}; local
35 OutIter r = std::move_backward(InIter(ia), InIter(ia+N), OutIter(ib+N));
36 assert(base(r) == ib);
38 assert(ia[i] == ib[i]);
51 std::unique_ptr<int> ib[N]; local
53 OutIter r = std::move_backward(InIter(ia), InIter(ia+N), OutIter(ib+N));
54 assert(base(r) == ib);
56 assert(*ib[i] == static_cast<int>(i));
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
H A Dremove_copy.pass.cpp28 int ib[sa]; local
29 OutIter r = std::remove_copy(InIter(ia), InIter(ia+sa), OutIter(ib), 2);
30 assert(base(r) == ib + sa-3);
31 assert(ib[0] == 0);
32 assert(ib[1] == 1);
33 assert(ib[2] == 3);
34 assert(ib[3] == 4);
35 assert(ib[4] == 3);
36 assert(ib[5] == 4);
H A Dremove_copy_if.pass.cpp30 int ib[sa]; local
31 OutIter r = std::remove_copy_if(InIter(ia), InIter(ia+sa), OutIter(ib),
33 assert(base(r) == ib + sa-3);
34 assert(ib[0] == 0);
35 assert(ib[1] == 1);
36 assert(ib[2] == 3);
37 assert(ib[3] == 4);
38 assert(ib[4] == 3);
39 assert(ib[5] == 4);
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dreplace_copy.pass.cpp31 int ib[sa] = {0}; local
32 OutIter r = std::replace_copy(InIter(ia), InIter(ia+sa), OutIter(ib), 2, 5);
33 assert(base(r) == ib + sa);
34 assert(ib[0] == 0);
35 assert(ib[1] == 1);
36 assert(ib[2] == 5);
37 assert(ib[3] == 3);
38 assert(ib[4] == 4);
H A Dreplace_copy_if.pass.cpp32 int ib[sa] = {0}; local
33 OutIter r = std::replace_copy_if(InIter(ia), InIter(ia+sa), OutIter(ib),
35 assert(base(r) == ib + sa);
36 assert(ib[0] == 0);
37 assert(ib[1] == 1);
38 assert(ib[2] == 5);
39 assert(ib[3] == 3);
40 assert(ib[4] == 4);
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/
H A Drotate_copy.pass.cpp27 int ib[sa] = {0}; local
29 OutIter r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia), OutIter(ib));
30 assert(base(r) == ib);
32 r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia+1), OutIter(ib));
33 assert(base(r) == ib+1);
34 assert(ib[0] == 0);
36 r = std::rotate_copy(InIter(ia), InIter(ia+1), InIter(ia+1), OutIter(ib));
37 assert(base(r) == ib+1);
38 assert(ib[0] == 0);
40 r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia+2), OutIter(ib));
[all...]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
H A Dbinary_transform.pass.cpp30 int ib[sa] = {1, 2, 3, 4, 5}; local
31 OutIter r = std::transform(InIter1(ib), InIter1(ib+sa), InIter2(ia),
32 OutIter(ib), std::minus<int>());
33 assert(base(r) == ib + sa);
34 assert(ib[0] == 1);
35 assert(ib[1] == 1);
36 assert(ib[2] == 1);
37 assert(ib[3] == 1);
38 assert(ib[
[all...]
H A Dunary_transform.pass.cpp30 int ib[sa] = {0}; local
31 OutIter r = std::transform(InIter(ia), InIter(ia+sa), OutIter(ib),
33 assert(base(r) == ib + sa);
34 assert(ib[0] == 1);
35 assert(ib[1] == 2);
36 assert(ib[2] == 3);
37 assert(ib[3] == 4);
38 assert(ib[4] == 5);
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
H A Dfind_first_of.pass.cpp26 int ib[] = {1, 3, 5, 7}; local
27 const unsigned sb = sizeof(ib)/sizeof(ib[0]);
30 forward_iterator<const int*>(ib),
31 forward_iterator<const int*>(ib + sb)) ==
H A Dfind_first_of_pred.pass.cpp28 int ib[] = {1, 3, 5, 7}; local
29 const unsigned sb = sizeof(ib)/sizeof(ib[0]);
32 forward_iterator<const int*>(ib),
33 forward_iterator<const int*>(ib + sb),
/external/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/
H A Dmismatch.pass.cpp28 int ib[] = {0, 1, 2, 3, 0, 1, 2, 3}; local
29 const unsigned sb = sizeof(ib)/sizeof(ib[0]); ((void)sb); // unused in c++11
34 assert(std::mismatch(II(ia), II(ia + sa), II(ib))
35 == (std::pair<II, II>(II(ia+3), II(ib+3))));
37 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib))
38 == (std::pair<RAI, RAI>(RAI(ia+3), RAI(ib+3))));
41 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+sb))
42 == (std::pair<II, II>(II(ia+3), II(ib
[all...]
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/
H A Dcompare.pass.cpp26 const char ib[] = "123"; local
28 assert(f.compare(ia, ia+sa, ib, ib+2) == 1);
29 assert(f.compare(ib, ib+2, ia, ia+sa) == -1);
30 assert(f.compare(ia, ia+sa, ib, ib+3) == 1);
31 assert(f.compare(ib, ib+3, ia, ia+sa) == -1);
32 assert(f.compare(ia, ia+sa, ib
39 const wchar_t ib[] = L"123"; local
[all...]
/external/libcxx/test/std/numerics/numeric.ops/partial.sum/
H A Dpartial_sum.pass.cpp32 int ib[s] = {0}; local
33 OutIter r = std::partial_sum(InIter(ia), InIter(ia+s), OutIter(ib));
34 assert(base(r) == ib + s);
36 assert(ib[i] == ir[i]);
H A Dpartial_sum_op.pass.cpp34 int ib[s] = {0}; local
35 OutIter r = std::partial_sum(InIter(ia), InIter(ia+s), OutIter(ib), std::minus<int>());
36 assert(base(r) == ib + s);
38 assert(ib[i] == ir[i]);
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_translate.c32 struct pipe_index_buffer *ib,
39 switch (ib->index_size) {
45 &r600->context, ib, 0, ib->offset, count, ptr);
47 pipe_resource_reference(&ib->buffer, NULL);
48 ib->buffer = out_buffer;
49 ib->offset = out_offset;
50 ib->index_size = 2;
31 r600_translate_index_buffer(struct r600_context *r600, struct pipe_index_buffer *ib, unsigned count) argument
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_translate.c32 struct pipe_index_buffer *ib,
39 switch (ib->index_size) {
45 &r600->context, ib, 0, ib->offset, count, ptr);
47 pipe_resource_reference(&ib->buffer, NULL);
48 ib->buffer = out_buffer;
49 ib->offset = out_offset;
50 ib->index_size = 2;
31 r600_translate_index_buffer(struct r600_context *r600, struct pipe_index_buffer *ib, unsigned count) argument

Completed in 323 milliseconds

1234567