Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 52) sorted by relevance

123

/ndk/tests/device/test-stlport/unit/
Dsetdiff_test.cpp63 vector<int> diff; in setsymd1() local
64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setsymd1()
65 CPPUNIT_ASSERT( diff.size() == 14 ); in setsymd1()
68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); in setsymd1()
77 string diff; in setsymd2() local
79 back_inserter(diff), less<char>()); in setsymd2()
80 CPPUNIT_ASSERT( diff.size() == 22 ); in setsymd2()
83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); in setsymd2()
115 vector<int> diff; in setdiff1() local
116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setdiff1()
[all …]
Dsetunion_test.cpp61 vector<int> diff; in setunon1() local
62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setunon1()
63 CPPUNIT_ASSERT( diff.size() == 17 ); in setunon1()
65 CPPUNIT_ASSERT( diff[i] == i ); in setunon1()
74 string diff; in setunon2() local
76 back_inserter(diff), less<char>()); in setunon2()
77 CPPUNIT_ASSERT( diff.size() == 26 ); in setunon2()
79 CPPUNIT_ASSERT( diff[i] == ('A' + i) ); in setunon2()
/ndk/tests/device/test-gnustl-full/unit/
Dsetdiff_test.cpp63 vector<int> diff; in setsymd1() local
64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setsymd1()
65 CPPUNIT_ASSERT( diff.size() == 14 ); in setsymd1()
68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); in setsymd1()
77 string diff; in setsymd2() local
79 back_inserter(diff), less<char>()); in setsymd2()
80 CPPUNIT_ASSERT( diff.size() == 22 ); in setsymd2()
83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); in setsymd2()
115 vector<int> diff; in setdiff1() local
116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setdiff1()
[all …]
Dsetunion_test.cpp61 vector<int> diff; in setunon1() local
62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setunon1()
63 CPPUNIT_ASSERT( diff.size() == 17 ); in setunon1()
65 CPPUNIT_ASSERT( diff[i] == i ); in setunon1()
74 string diff; in setunon2() local
76 back_inserter(diff), less<char>()); in setunon2()
77 CPPUNIT_ASSERT( diff.size() == 26 ); in setunon2()
79 CPPUNIT_ASSERT( diff[i] == ('A' + i) ); in setunon2()
/ndk/tests/device/math/jni/
Dmath.c28 long double diff = a - b; in TEST_EQ() local
29 if (diff < 0) in TEST_EQ()
30 diff = -diff; in TEST_EQ()
31 if (diff > 0.0000001) in TEST_EQ()
Dmath.cpp28 long double diff = a - b; in TEST_EQ() local
29 if (diff < 0) in TEST_EQ()
30 diff = -diff; in TEST_EQ()
31 if (diff > 0.0000001) in TEST_EQ()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_symbols.cpp101 size_t diff; in LookupNearestByAddress() local
103 diff = sym->st_value - elf_addr; in LookupNearestByAddress()
105 diff = elf_addr - sym->st_value - sym->st_size; in LookupNearestByAddress()
107 if (diff < nearest_diff) { in LookupNearestByAddress()
109 nearest_diff = diff; in LookupNearestByAddress()
/ndk/tests/device/test-stlport/unit/cppunit/
Dcppunit_mini.h79 double diff = in_expected - in_real; in equalDoubles() local
80 if (diff < 0.) { in equalDoubles()
81 diff = -diff; in equalDoubles()
83 return diff < in_maxErr; in equalDoubles()
/ndk/tests/device/test-gnustl-full/unit/cppunit/
Dcppunit_mini.h79 double diff = in_expected - in_real; in equalDoubles() local
80 if (diff < 0.) { in equalDoubles()
81 diff = -diff; in equalDoubles()
83 return diff < in_maxErr; in equalDoubles()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0010-Add-enough-symlink-to-rename-file-path-with-replace-.patch67 diff --git a/test/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter…
75 diff --git a/test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.it…
83 diff --git a/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.opEQ b/te…
91 diff --git a/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+EQ b/test/i…
99 diff --git a/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-EQ b/test/i…
107 diff --git a/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.opEQ b/test/ite…
115 diff --git a/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op!EQ …
123 diff --git a/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+EQ …
131 diff --git a/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-EQ …
139 diff --git a/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opEQ b…
[all …]
D0005-Fix-gabi-stlport-llvm-libc-build.patch13 diff --git a/src/exception.cpp b/src/exception.cpp
26 diff --git a/src/new.cpp b/src/new.cpp
39 diff --git a/src/stdexcept.cpp b/src/stdexcept.cpp
52 diff --git a/src/typeinfo.cpp b/src/typeinfo.cpp
D0011-Fix-tests-for-Android.patch27 diff --git a/test/containers/Emplaceable.h b/test/containers/Emplaceable.h
46 diff --git a/test/containers/MoveOnly.h b/test/containers/MoveOnly.h
65 diff --git a/test/depr/depr.c.headers/float_h.pass.cpp b/test/depr/depr.c.headers/float_h.pass.cpp
95 diff --git a/test/depr/depr.c.headers/math_h.pass.cpp b/test/depr/depr.c.headers/math_h.pass.cpp
122 diff --git a/test/depr/depr.c.headers/stdbool_h.pass.cpp b/test/depr/depr.c.headers/stdbool_h.pass.…
146 diff --git a/test/depr/depr.c.headers/stdio_h.pass.cpp b/test/depr/depr.c.headers/stdio_h.pass.cpp
164 diff --git a/test/depr/exception.unexpected/set.unexpected/get_unexpected.pass.cpp b/test/depr/exce…
179 diff --git a/test/depr/exception.unexpected/set.unexpected/set_unexpected.pass.cpp b/test/depr/exce…
194 diff --git a/test/input.output/file.streams/c.files/cstdio.pass.cpp b/test/input.output/file.stream…
212 diff --git a/test/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp b/test/inpu…
[all …]
D0013-temp-collective-ndk-hackathon-fixes.patch44 diff --git a/include/__config b/include/__config
85 diff --git a/include/__mutex_base b/include/__mutex_base
146 diff --git a/include/bitset b/include/bitset
162 diff --git a/include/condition_variable b/include/condition_variable
182 diff --git a/include/future b/include/future
202 diff --git a/include/mutex b/include/mutex
224 diff --git a/include/regex b/include/regex
241 diff --git a/include/shared_mutex b/include/shared_mutex
263 diff --git a/include/thread b/include/thread
283 diff --git a/src/algorithm.cpp b/src/algorithm.cpp
[all …]
D0009-Fix-locale-stuff-for-LP64.patch11 diff --git a/include/__locale b/include/__locale
35 diff --git a/src/support/android/locale_android.cpp b/src/support/android/locale_android.cpp
/ndk/build/tools/toolchain-patches/mclinker/
D0001-Revert-Fix-build-with-llvm-trunk.-to-build-with-llvm.patch17 diff --git a/configure.ac b/configure.ac
30 diff --git a/include/mcld/Support/raw_ostream.h b/include/mcld/Support/raw_ostream.h
43 diff --git a/lib/Support/MemoryArea.cpp b/lib/Support/MemoryArea.cpp
62 diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp
D0006-Fix-mingw-and-darwin-builds.patch13 diff --git a/lib/Support/Unix/FileSystem.inc b/lib/Support/Unix/FileSystem.inc
27 diff --git a/lib/Support/Windows/FileSystem.inc b/lib/Support/Windows/FileSystem.inc
40 diff --git a/lib/Support/Windows/PathV3.inc b/lib/Support/Windows/PathV3.inc
D0003-Allow-multiple-of-the-same-options.patch12 diff --git a/tools/mcld/lib/OutputFormatOptions.cpp b/tools/mcld/lib/OutputFormatOptions.cpp
24 diff --git a/tools/mcld/lib/TargetControlOptions.cpp b/tools/mcld/lib/TargetControlOptions.cpp
/ndk/build/tools/toolchain-patches/gcc/
D0013-Modify-LINK_SPEC-to-pass-fix-cortex-a53-843419-as-de.patch17 diff --git a/gcc-4.9/gcc/config/aarch64/aarch64-elf-raw.h b/gcc-4.9/gcc/config/aarch64/aarch64-elf-…
37 diff --git a/gcc-4.9/gcc/config/aarch64/aarch64-linux.h b/gcc-4.9/gcc/config/aarch64/aarch64-linux.h
55 diff --git a/gcc-4.9/gcc/config/aarch64/aarch64.c b/gcc-4.9/gcc/config/aarch64/aarch64.c
71 diff --git a/gcc-4.9/gcc/config/aarch64/aarch64.opt b/gcc-4.9/gcc/config/aarch64/aarch64.opt
D0010-Fix-PR-target-63209.patch15 diff --git a/gcc-4.9/gcc/ChangeLog b/gcc-4.9/gcc/ChangeLog
33 diff --git a/gcc-4.9/gcc/config/arm/arm.md b/gcc-4.9/gcc/config/arm/arm.md
56 diff --git a/gcc-4.9/gcc/testsuite/ChangeLog b/gcc-4.9/gcc/testsuite/ChangeLog
70 diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/pr63209.c b/gcc-4.9/gcc/testsuite/gcc.c-to…
D0012-Don-t-define-__fp16-for-clang.patch12 diff --git a/gcc-4.8/gcc/config/i386/arm_neon.h b/gcc-4.8/gcc/config/i386/arm_neon.h
26 diff --git a/gcc-4.9/gcc/config/i386/arm_neon.h b/gcc-4.9/gcc/config/i386/arm_neon.h
D0002-Enable-C-exceptions-and-RTTI-by-default.patch13 diff --git a/gcc-4.8/gcc/config/linux-android.h b/gcc-4.8/gcc/config/linux-android.h
28 diff --git a/gcc-4.9/gcc/config/linux-android.h b/gcc-4.9/gcc/config/linux-android.h
D0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch15 diff --git a/gcc-4.8/libstdc++-v3/src/Makefile.in b/gcc-4.8/libstdc++-v3/src/Makefile.in
38 diff --git a/gcc-4.9/libstdc++-v3/src/Makefile.in b/gcc-4.9/libstdc++-v3/src/Makefile.in
D0005-Simplify-gcc-BASE-VER-to-make-clang-easier-to-find-l.patch11 diff --git a/gcc-4.9/gcc/BASE-VER b/gcc-4.9/gcc/BASE-VER
/ndk/sources/cxx-stl/stlport/src/
Dtime_facets.cpp430 int diff; in __write_formatted_timeT() local
432 diff = t->tm_gmtoff; in __write_formatted_timeT()
434 diff = t->__tm_gmtoff; in __write_formatted_timeT()
436 if (diff < 0) { in __write_formatted_timeT()
438 diff = -diff; in __write_formatted_timeT()
441 diff /= 60; in __write_formatted_timeT()
442 _STLP_SPRINTF(_buf, "%.4d", (diff / 60) * 100 + diff % 60); in __write_formatted_timeT()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Dfloating_point_comparison.hpp187 FPT diff = tt_detail::fpt_abs( left - right ); in operator ()() local
188 FPT d1 = tt_detail::safe_fpt_division( diff, tt_detail::fpt_abs( right ) ); in operator ()()
189 FPT d2 = tt_detail::safe_fpt_division( diff, tt_detail::fpt_abs( left ) ); in operator ()()

123