Searched refs:first (Results 26 - 50 of 4757) sorted by relevance

1234567891011>>

/external/libcxx/test/std/containers/associative/map/map.modifiers/
H A Dinsert_rv.pass.cpp36 assert(r.first == m.begin());
38 assert(r.first->first == 2);
39 assert(r.first->second == 2);
43 assert(r.first == m.begin());
45 assert(r.first->first == 1);
46 assert(r.first->second == 1);
50 assert(r.first == prev(m.end()));
52 assert(r.first
[all...]
H A Dinsert_cv.pass.cpp33 assert(r.first == m.begin());
35 assert(r.first->first == 2);
36 assert(r.first->second == 2.5);
41 assert(r.first == m.begin());
43 assert(r.first->first == 1);
44 assert(r.first->second == 1.5);
49 assert(r.first == prev(m.end()));
51 assert(r.first
[all...]
H A Derase_key.pass.cpp43 assert(m.begin()->first == 1);
45 assert(next(m.begin())->first == 2);
47 assert(next(m.begin(), 2)->first == 3);
49 assert(next(m.begin(), 3)->first == 4);
51 assert(next(m.begin(), 4)->first == 5);
53 assert(next(m.begin(), 5)->first == 6);
55 assert(next(m.begin(), 6)->first == 7);
57 assert(next(m.begin(), 7)->first == 8);
63 assert(m.begin()->first == 1);
65 assert(next(m.begin())->first
[all...]
/external/libcxx/test/std/utilities/memory/temporary.buffer/
H A Dtemporary_buffer.pass.cpp26 assert(ip.first);
28 std::return_temporary_buffer(ip.first);
H A Doveraligned.pass.cpp32 assert(!(ip.first == nullptr) ^ (ip.second == 0));
33 assert(reinterpret_cast<uintptr_t>(ip.first) % alignof(A) == 0);
34 std::return_temporary_buffer(ip.first);
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
H A DPair.java11 * @param <F> Type of the first element.
16 public final F first; field in class:Pair
22 * @param first the first element of the pair.
25 public Pair(F first, S second) { argument
26 this.first = first;
46 return equals(first, p.first) && equals(second, p.second);
54 return (first
[all...]
/external/libpng/contrib/tools/
H A Dreindent23 unexpand --first-only --t $1 | \
/external/lzma/
H A DAndroid.mk3 include $(call first-makefiles-under,$(LOCAL_PATH))
/external/mesa3d/src/compiler/glsl/
H A Dir_basic_block.h25 void (*callback)(ir_instruction *first,
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
H A DPair.java26 public final F first; field in class:Pair
29 public Pair(F first, S second) { argument
30 this.first = first;
40 return equal(p.first, first) && equal(p.second, second);
45 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
/external/compiler-rt/test/tsan/Linux/
H A Duser_fopen.cc10 static int first = 0; local
11 if (__sync_lock_test_and_set(&first, 1) == 0)
17 static int first = 0; local
18 if (__sync_lock_test_and_set(&first, 1) == 0)
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
H A DChromosomePair.java26 /** the first chromosome in the pair. */
27 private final Chromosome first; field in class:ChromosomePair
35 * @param c1 the first chromosome.
40 first = c1;
45 * Access the first chromosome.
47 * @return the first chromosome.
50 return first;
H A DCrossoverPolicy.java30 * @param first the first chromosome.
34 ChromosomePair crossover(Chromosome first, Chromosome second); argument
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Darrow.pass.cpp23 assert(p->first == 3);
25 p->first = 5;
27 assert(p->first == 5);
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dnine_quirk.c40 static boolean first = TRUE; local
43 if (first) {
44 first = FALSE;
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
H A Dinsert_const_lvalue.pass.cpp37 assert(r.first->first == 2.5);
38 assert(r.first->second == 2);
43 assert(r.first->first == 2.5);
44 assert(r.first->second == 2);
50 assert(r.first->first == 1.5);
51 assert(r.first->second == 1);
57 assert(r.first
[all...]
H A Demplace.pass.cpp37 assert(r.first->first == 3);
38 assert(r.first->second == Emplaceable());
43 assert(r.first->first == 4);
44 assert(r.first->second == Emplaceable(5, 6));
50 assert(r.first->first == 5);
51 assert(r.first->second == Emplaceable(6, 7));
62 assert(r.first
[all...]
/external/valgrind/none/tests/amd64-linux/
H A Dmap_32bits.c9 void *first = NULL; local
17 if (first == NULL) {
18 first = res;
19 if (first == (void *)-1) {
20 perror ("first mmap");
23 fprintf(stderr, "first mmap : %p\n", first);
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Dinsert_init.pass.cpp47 assert(std::distance(eq.first, eq.second) == 2);
48 C::iterator k = eq.first;
49 assert(k->first == 1);
52 assert(k->first == 1);
55 assert(std::distance(eq.first, eq.second) == 2);
56 k = eq.first;
57 assert(k->first == 2);
60 assert(k->first == 2);
63 assert(std::distance(eq.first, eq.second) == 1);
64 k = eq.first;
[all...]
H A Dinsert_range.pass.cpp17 // void insert(InputIterator first, InputIterator last);
46 assert(std::distance(eq.first, eq.second) == 2);
47 C::iterator k = eq.first;
48 assert(k->first == 1);
51 assert(k->first == 1);
54 assert(std::distance(eq.first, eq.second) == 2);
55 k = eq.first;
56 assert(k->first == 2);
59 assert(k->first == 2);
62 assert(std::distance(eq.first, e
[all...]
H A Derase_range.pass.cpp16 // iterator erase(const_iterator first, const_iterator last)
47 assert(std::distance(eq.first, eq.second) == 2);
48 k = eq.first;
49 assert(k->first == 1);
52 assert(k->first == 1);
55 assert(std::distance(eq.first, eq.second) == 2);
56 k = eq.first;
57 assert(k->first == 2);
60 assert(k->first == 2);
63 assert(std::distance(eq.first, e
[all...]
/external/libevent/sample/
H A Dhostcheck.c123 static int Curl_raw_equal(const char *first, const char *second) argument
125 while(*first && *second) {
126 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second))
129 first++;
135 return (Curl_raw_toupper(*first) == Curl_raw_toupper(*second));
138 static int Curl_raw_nequal(const char *first, const char *second, size_t max) argument
140 while(*first && *second && max) {
141 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) {
145 first++;
151 return Curl_raw_toupper(*first)
[all...]
/external/syslinux/gpxe/src/hci/mucurses/widgets/
H A Deditbox.c68 signed int cursor_offset, underflow, overflow, first; local
72 cursor_offset = ( box->string.cursor - box->first );
75 first = box->first;
77 first -= underflow;
78 if ( first < 0 )
79 first = 0;
81 first += overflow;
83 box->first = first;
[all...]
/external/libcxx/test/std/re/re.results/re.results.acc/
H A Dposition.pass.cpp26 assert(m.position() == std::distance(s, m[0].first));
27 assert(m.position(0) == std::distance(s, m[0].first));
28 assert(m.position(1) == std::distance(s, m[1].first));
29 assert(m.position(2) == std::distance(s, m[2].first));
30 assert(m.position(3) == std::distance(s, m[3].first));
31 assert(m.position(4) == std::distance(s, m[4].first));
/external/clang/test/SemaCXX/
H A Dnon-empty-class-size-zero.cpp13 int first; member in struct:Y

Completed in 3597 milliseconds

1234567891011>>