/external/chromium_org/content/browser/ |
storage_partition_impl_map_unittest.cc | 16 StoragePartitionImplMap::StoragePartitionConfig c1( 34 EXPECT_TRUE(less(c1, c3)); 35 EXPECT_TRUE(less(c1, c4)); 44 EXPECT_FALSE(less(c3, c1)); 45 EXPECT_FALSE(less(c4, c1)); 54 EXPECT_FALSE(less(c1, c1)); 57 EXPECT_TRUE(less(c1, c4)); 60 EXPECT_TRUE(!less(c1, c2) && !less(c2, c1)); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/ |
emplace_back.pass.cpp | 46 test(C& c1) 49 std::size_t c1_osize = c1.size(); 50 c1.emplace_back(Emplaceable(1, 2.5)); 51 assert(c1.size() == c1_osize + 1); 52 assert(distance(c1.begin(), c1.end()) == c1.size()); 53 I i = c1.end(); 61 C c1 = make<C>(N, start); local 62 test(c1); [all...] |
emplace_front.pass.cpp | 46 test(C& c1) 49 std::size_t c1_osize = c1.size(); 50 c1.emplace_front(Emplaceable(1, 2.5)); 51 assert(c1.size() == c1_osize + 1); 52 assert(distance(c1.begin(), c1.end()) == c1.size()); 53 I i = c1.begin(); 61 C c1 = make<C>(N, start); local 62 test(c1); [all...] |
push_front.pass.cpp | 43 test(C& c1, int x) 46 std::size_t c1_osize = c1.size(); 47 c1.push_front(x); 48 assert(c1.size() == c1_osize + 1); 49 assert(distance(c1.begin(), c1.end()) == c1.size()); 50 I i = c1.begin(); 61 C c1 = make<C>(N, start); local 62 test(c1, -10) [all...] |
push_front_rvalue.pass.cpp | 46 test(C& c1, int x) 49 std::size_t c1_osize = c1.size(); 50 c1.push_front(MoveOnly(x)); 51 assert(c1.size() == c1_osize + 1); 52 assert(distance(c1.begin(), c1.end()) == c1.size()); 53 I i = c1.begin(); 64 C c1 = make<C>(N, start); local 65 test(c1, -10) [all...] |
erase_iter.pass.cpp | 43 test(int P, C& c1) 46 assert(P < c1.size()); 47 std::size_t c1_osize = c1.size(); 48 I i = c1.erase(c1.cbegin() + P); 49 assert(i == c1.begin() + P); 50 assert(c1.size() == c1_osize - 1); 51 assert(distance(c1.begin(), c1.end()) == c1.size()) [all...] |
insert_value.pass.cpp | 43 test(int P, C& c1, int x) 47 std::size_t c1_osize = c1.size(); 48 CI i = c1.insert(c1.begin() + P, x); 49 assert(i == c1.begin() + P); 50 assert(c1.size() == c1_osize + 1); 51 assert(distance(c1.begin(), c1.end()) == c1.size()); 52 i = c1.begin() 71 C c1 = make<C>(N, start); local 79 C c1 = make<C>(N, start); local 87 C c1 = make<C>(N, start); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/ |
assign_move.pass.cpp | 33 C c1(I(std::begin(t1)), I(std::end(t1)), A(10)); 34 c1 = std::move(c0); 36 for (C::const_iterator i = c1.cbegin(); i != c1.cend(); ++i, ++n) 39 assert(c1.get_allocator() == A(10)); 50 C c1(I(std::begin(t1)), I(std::end(t1)), A(11)); 51 c1 = std::move(c0); 53 for (C::const_iterator i = c1.cbegin(); i != c1.cend(); ++i, ++n) 56 assert(c1.get_allocator() == A(11)) [all...] |
/external/bison/lib/ |
strverscmp.c | 65 unsigned char c1, c2; local 98 c1 = *p1++; 101 state = S_N | ((c1 == '0') + (ISDIGIT (c1) != 0)); 103 while ((diff = c1 - c2) == 0 && c1 != '\0') 106 c1 = *p1++; 108 state |= (c1 == '0') + (ISDIGIT (c1) != 0);
|
/external/blktrace/ |
strverscmp.c | 93 unsigned char c1, c2;
local 126 c1 = *p1++;
129 state = S_N | ((c1 == '0') + (isdigit (c1) != 0));
131 while ((diff = c1 - c2) == 0 && c1 != '\0')
134 c1 = *p1++;
136 state |= (c1 == '0') + (isdigit (c1) != 0);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
strverscmp.c | 67 unsigned char c1, c2; local 100 c1 = *p1++; 103 state = S_N | ((c1 == '0') + (ISDIGIT (c1) != 0)); 105 while ((diff = c1 - c2) == 0 && c1 != '\0') 108 c1 = *p1++; 110 state |= (c1 == '0') + (ISDIGIT (c1) != 0);
|
/external/apache-http/src/org/apache/http/cookie/ |
CookieIdentityComparator.java | 51 public int compare(final Cookie c1, final Cookie c2) { 52 int res = c1.getName().compareTo(c2.getName()); 55 String d1 = c1.getDomain();
|
/external/lzma/CPP/Common/ |
MyString.cpp | 140 wchar_t c1 = *s1++;
142 wchar_t u1 = MyCharUpper(c1);
158 unsigned char c1 = (unsigned char)*s1++;
local 160 if (c1 < c2) return -1;
161 if (c1 > c2) return 1;
162 if (c1 == 0) return 0;
170 wchar_t c1 = *s1++;
local 172 if (c1 < c2) return -1;
173 if (c1 > c2) return 1;
174 if (c1 == 0) return 0; 182 wchar_t c1 = *s1++; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.capacity/ |
resize_size.pass.cpp | 43 test(C& c1, int size) 46 std::size_t c1_osize = c1.size(); 47 c1.resize(size); 48 assert(c1.size() == size); 49 assert(distance(c1.begin(), c1.end()) == c1.size()); 50 CI i = c1.begin(); 51 for (int j = 0; j < std::min(c1_osize, c1.size()); ++j, ++i) 53 for (int j = c1_osize; j < c1.size(); ++j, ++i 62 C c1 = make<C>(N, start); local [all...] |
resize_size_value.pass.cpp | 43 test(C& c1, int size, int x) 46 std::size_t c1_osize = c1.size(); 47 c1.resize(size, x); 48 assert(c1.size() == size); 49 assert(distance(c1.begin(), c1.end()) == c1.size()); 50 CI i = c1.begin(); 51 for (int j = 0; j < std::min(c1_osize, c1.size()); ++j, ++i) 53 for (int j = c1_osize; j < c1.size(); ++j, ++i 62 C c1 = make<C>(N, start); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CityGmtOffsetComparator.java | 26 public int compare(CityObj c1, CityObj c2) { 28 int offset = TimeZone.getTimeZone(c1.mTimeZone).getOffset(currentTime); 31 getCityNameComparator().compare(c1, c2);
|
/external/chromium/chrome/browser/ui/views/ |
theme_helpers.h | 24 SkColor* c1, SkColor* c2);
|
/external/clang/test/CodeGen/ |
constant-comparison.c | 5 int *c1 = 1 < 2 ? &a : &b; variable
|
/external/clang/test/Parser/ |
c11-noreturn.c | 9 _Noreturn char c1; // expected-error {{'_Noreturn' can only appear on functions}} variable
|
/external/eigen/test/eigen2/ |
eigen2_submatrices.cpp | 19 CheckMinor(MatrixType& m1, int r1, int c1) 26 mi = m1.minor(r1,c1); 27 VERIFY_IS_APPROX(mi.transpose(), m1.transpose().minor(c1,r1)); 29 m1.minor(r1,c1)(0,0) = m1.minor(0,0)(0,0); 69 int c1 = ei_random<int>(0,cols-1); local 70 int c2 = ei_random<int>(c1,cols-1); 73 VERIFY_IS_APPROX(m1.col(c1).transpose(), m1.transpose().row(c1)); 74 VERIFY_IS_APPROX(square.row(r1).eigen2_dot(m1.col(c1)), (square.lazy() * m1.conjugate())(r1,c1)); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
TriangleAxisComparator.java | 48 Vector3f c1 = o1.getCenter(); local 51 case 0: v1 = c1.x; v2 = c2.x; break; 52 case 1: v1 = c1.y; v2 = c2.y; break; 53 case 2: v1 = c1.z; v2 = c2.z; break;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/ |
move_alloc.pass.cpp | 28 std::deque<MoveOnly, A> c1(A(1)); 30 c1.push_back(MoveOnly(*p)); 34 std::deque<MoveOnly, A> c3(std::move(c1), A(3)); 37 assert(c1.size() != 0); 43 std::deque<MoveOnly, A> c1(A(1)); 45 c1.push_back(MoveOnly(*p)); 49 std::deque<MoveOnly, A> c3(std::move(c1), A(1)); 52 assert(c1.size() == 0); 58 std::deque<MoveOnly, A> c1(A(1)); 60 c1.push_back(MoveOnly(*p)) [all...] |
move_assign.pass.cpp | 28 std::deque<MoveOnly, A> c1(A(5)); 30 c1.push_back(MoveOnly(*p)); 35 c3 = std::move(c1); 37 assert(c1.size() == 0); 44 std::deque<MoveOnly, A> c1(A(5)); 46 c1.push_back(MoveOnly(*p)); 51 c3 = std::move(c1); 53 assert(c1.size() != 0); 60 std::deque<MoveOnly, A> c1(A(5)); 62 c1.push_back(MoveOnly(*p)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
swap.pass.cpp | 45 C c1 = make<C>(N, start); local 47 C c1_save = c1; 49 swap(c1, c2); 50 assert(c1 == c2_save); 68 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A(1)); 70 swap(c1, c2); 71 assert((c1 == std::deque<int, A>(a2, a2+sizeof(a2)/sizeof(a2[0])))); 72 assert(c1.get_allocator() == A(1)); 80 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A(1)); 82 swap(c1, c2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
rv_value.pass.cpp | 27 test(C c1, typename C::difference_type j, 31 std::insert_iterator<C> q(c1, c1.begin() + j); 35 assert(c1 == c2); 61 C c1; local 64 c1.push_back(Ptr(x+i)); 69 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); 70 c1.clear(); 72 c1.push_back(Ptr(x+i)); 77 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2) [all...] |