Searched refs:pos1 (Results 1 - 25 of 34) sorted by relevance

12

/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/
H A D2.cc32 pos_type pos1; local
33 pos1 = ost.tellp();
34 VERIFY( pos1 == pos_type(off_type(0)) );
36 pos1 = ost.tellp();
37 VERIFY( pos1 == pos_type(off_type(4)) );
39 pos1 = ost.tellp();
40 VERIFY( pos1 == pos_type(off_type(33)) );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/
H A D2.cc34 pos_type pos1; local
35 pos1 = ost.tellp();
36 VERIFY( pos1 == pos_type(off_type(0)) );
38 pos1 = ost.tellp();
39 VERIFY( pos1 == pos_type(off_type(4)) );
41 pos1 = ost.tellp();
42 VERIFY( pos1 == pos_type(off_type(33)) );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/basic_string/operations/find/char/
H A D4.cc33 csize_type pos1 = use.find("a", npos); local
35 VERIFY( pos1 == npos );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/basic_string/operations/find/wchar_t/
H A D4.cc33 csize_type pos1 = use.find(L"a", npos); local
35 VERIFY( pos1 == npos );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/
H A D8348-1.cc37 istream::pos_type pos1 = iss.tellg(); local
42 iss.seekg(pos1);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/
H A D8348-1.cc35 wistream::pos_type pos1 = iss.tellg(); local
40 iss.seekg(pos1);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ofstream/
H A Dpthread2.cc36 std::ofstream* pos1 = new std::ofstream; local
37 delete pos1;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/
H A D4.cc35 csize_type pos1 = use.find("a", npos); local
37 VERIFY( pos1 == npos );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/
H A D4.cc35 csize_type pos1 = use.find(L"a", npos); local
37 VERIFY( pos1 == npos );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/moneypunct/members/wchar_t/
H A D1.cc58 pattern pos1 = monp_c_t.pos_format(); local
80 VERIFY(static_cast<part>(pos1.field[0]) == static_cast<part>(pos2.field[0]));
81 VERIFY(static_cast<part>(pos1.field[1]) == static_cast<part>(pos2.field[1]));
82 VERIFY(static_cast<part>(pos1.field[2]) == static_cast<part>(pos2.field[2]));
83 VERIFY(static_cast<part>(pos1.field[3]) == static_cast<part>(pos2.field[3]));
86 VERIFY( pos1[0] == money_base::_S_default_pattern[0] );
87 VERIFY( pos1[1] == money_base::_S_default_pattern[1] );
88 VERIFY( pos1[2] == money_base::_S_default_pattern[2] );
89 VERIFY( pos1[3] == money_base::_S_default_pattern[3] );
H A D2.cc65 pattern pos1 = monp_c_t.pos_format(); local
85 VERIFY(static_cast<part>(pos1.field[0]) != static_cast<part>(pos2.field[0]));
86 VERIFY(static_cast<part>(pos1.field[1]) != static_cast<part>(pos2.field[1]));
87 VERIFY(static_cast<part>(pos1.field[2]) != static_cast<part>(pos2.field[2]));
88 VERIFY(static_cast<part>(pos1.field[3]) != static_cast<part>(pos2.field[3]));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/moneypunct/members/char/
H A D1.cc58 pattern pos1 = monp_c_t.pos_format(); local
80 VERIFY(static_cast<part>(pos1.field[0]) == static_cast<part>(pos2.field[0]));
81 VERIFY(static_cast<part>(pos1.field[1]) == static_cast<part>(pos2.field[1]));
82 VERIFY(static_cast<part>(pos1.field[2]) == static_cast<part>(pos2.field[2]));
83 VERIFY(static_cast<part>(pos1.field[3]) == static_cast<part>(pos2.field[3]));
86 VERIFY( pos1[0] == money_base::_S_default_pattern[0] );
87 VERIFY( pos1[1] == money_base::_S_default_pattern[1] );
88 VERIFY( pos1[2] == money_base::_S_default_pattern[2] );
89 VERIFY( pos1[3] == money_base::_S_default_pattern[3] );
H A D2.cc65 pattern pos1 = monp_c_t.pos_format(); local
85 VERIFY(static_cast<part>(pos1.field[0]) != static_cast<part>(pos2.field[0]));
86 VERIFY(static_cast<part>(pos1.field[1]) != static_cast<part>(pos2.field[1]));
87 VERIFY(static_cast<part>(pos1.field[2]) != static_cast<part>(pos2.field[2]));
88 VERIFY(static_cast<part>(pos1.field[3]) != static_cast<part>(pos2.field[3]));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/multiset/modifiers/
H A Ddr130.cc47 iterator pos1 = ms0.erase(irt[1]); local
48 VERIFY( pos1 == irt[2] );
73 iterator pos1 = ms0.erase(irt[3], irt[6]); local
74 VERIFY( pos1 == irt[6] );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/set/modifiers/
H A Ddr130.cc40 iterator pos1 = s0.erase(irt1.first); local
41 VERIFY( pos1 == irt2.first );
63 iterator pos1 = s0.erase(irt0.first, irt2.first); local
64 VERIFY( pos1 == irt2.first );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/map/modifiers/
H A Ddr130.cc41 iterator pos1 = m0.erase(irt1.first); local
42 VERIFY( pos1 == irt2.first );
65 iterator pos1 = m0.erase(irt0.first, irt2.first); local
66 VERIFY( pos1 == irt2.first );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/multimap/modifiers/
H A Ddr130.cc48 iterator pos1 = mm0.erase(irt[1]); local
49 VERIFY( pos1 == irt[2] );
75 iterator pos1 = mm0.erase(irt[3], irt[6]); local
76 VERIFY( pos1 == irt[6] );
/haiku-buildtools/gcc/gcc/
H A Dtree-ssa-alias.h163 ranges_overlap_p (HOST_WIDE_INT pos1, argument
168 if (pos1 >= pos2
170 || pos1 < (pos2 + (HOST_WIDE_INT) size2)))
172 if (pos2 >= pos1
174 || pos2 < (pos1 + (HOST_WIDE_INT) size1)))
H A Dgenrecog.c256 compare_positions (struct position *pos1, struct position *pos2)
260 diff = pos1->depth - pos2->depth;
264 while (pos1->depth != pos2->depth);
267 pos1 = pos1->base;
268 while (pos1->depth != pos2->depth);
269 while (pos1 != pos2)
271 diff = (int) pos1->type - (int) pos2->type;
273 diff = pos1->arg - pos2->arg;
274 pos1
254 compare_positions(struct position *pos1, struct position *pos2) argument
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/moneypunct_byname/
H A Dnamed_equivalence.cc60 pattern pos1 = monp_de.pos_format(); local
80 VERIFY(static_cast<part>(pos1.field[0]) == static_cast<part>(pos2.field[0]));
81 VERIFY(static_cast<part>(pos1.field[1]) == static_cast<part>(pos2.field[1]));
82 VERIFY(static_cast<part>(pos1.field[2]) == static_cast<part>(pos2.field[2]));
83 VERIFY(static_cast<part>(pos1.field[3]) == static_cast<part>(pos2.field[3]));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/
H A D8348.cc62 istream::pos_type pos1 = iss.tellg(); local
67 iss.seekg(pos1);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/
H A D8348.cc60 wistream::pos_type pos1 = iss.tellg(); local
65 iss.seekg(pos1);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dconstexpr-empty4.C32 constexpr auto pos1 = find_if(items_long, IsNegative<long>{}); // Line 30 variable
34 static_assert(pos1 == 4, "find_if failure");
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/
H A D12790-2.cc57 traits_type::pos_type pos1 = fb.pubseekoff(0, ios_base::cur); local
62 traits_type::pos_type pos2 = fb.pubseekpos(pos1);
/haiku-buildtools/legacy/gcc/texinfo/util/
H A Dtexindex.c536 compare_general (str1, str2, pos1, pos2, use_keyfields)
538 long pos1, pos2;
552 int tem = compare_field (&keyfields[i], start1, length1, pos1,
764 compare_field (keyfield, start1, length1, pos1, start2, length2, pos2)
768 long pos1;
775 if (pos1 > pos2)

Completed in 137 milliseconds

12