├── .gitignore ├── Android.mk ├── BACKERS.md ├── CHANGELOG.md ├── CleanSpec.mk ├── OWNERS ├── README.md ├── build ├── NOTICE ├── awk │ ├── check-awk.awk │ ├── extract-debuggable.awk │ ├── extract-launchable.awk │ ├── extract-minsdkversion.awk │ ├── extract-package-name.awk │ ├── extract-pid.awk │ ├── extract-platform.awk │ ├── gen-cygwin-deps-converter.awk │ ├── gen-windows-host-path.awk │ └── xml.awk ├── core │ ├── add-application.mk │ ├── add-platform.mk │ ├── add-toolchain.mk │ ├── build-all.mk │ ├── build-binary.mk │ ├── build-executable.mk │ ├── build-local.mk │ ├── build-module.mk │ ├── build-shared-library.mk │ ├── build-static-library.mk │ ├── check-cygwin-make.mk │ ├── clear-vars.mk │ ├── default-application.mk │ ├── default-build-commands.mk │ ├── defaults.mk │ ├── definitions-graph.mk │ ├── definitions-host.mk │ ├── definitions-tests.mk │ ├── definitions-utils.mk │ ├── definitions.mk │ ├── import-locals.mk │ ├── init.mk │ ├── main.mk │ ├── prebuilt-library.mk │ ├── prebuilt-shared-library.mk │ ├── prebuilt-static-library.mk │ ├── setup-abi.mk │ ├── setup-app.mk │ ├── setup-imports.mk │ ├── setup-toolchain.mk │ └── toolchains │ │ ├── aarch64-linux-android-4.9 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── aarch64-linux-android-5 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── aarch64-linux-android-6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── aarch64-linux-android-clang │ │ ├── config.mk │ │ └── setup.mk │ │ ├── aarch64-linux-android-clang3.6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── aarch64-linux-android-clang3.7 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── aarch64-linux-android-clang3.8 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-4.9 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-5 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-clang │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-clang3.6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-clang3.7 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── arm-linux-androideabi-clang3.8 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-4.9 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-5 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-clang │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-clang3.6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-clang3.7 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mips64el-linux-android-clang3.8 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-4.9 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-5 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-clang │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-clang3.6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-clang3.7 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── mipsel-linux-android-clang3.8 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-4.9 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-5 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-clang │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-clang3.6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-clang3.7 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86-clang3.8 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86_64-4.9 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86_64-5 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86_64-6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86_64-clang │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86_64-clang3.6 │ │ ├── config.mk │ │ └── setup.mk │ │ ├── x86_64-clang3.7 │ │ ├── config.mk │ │ └── setup.mk │ │ └── x86_64-clang3.8 │ │ ├── config.mk │ │ └── setup.mk ├── gmsl │ ├── README │ ├── __gmsl │ ├── gmsl │ ├── gmsl-tests │ └── index.html ├── instruments │ ├── README.md │ ├── build-analyzer.sh │ ├── build-boost.sh │ ├── build-ccache.sh │ ├── build-cocotron.sh │ ├── build-compiler-rt.sh │ ├── build-crystax.sh │ ├── build-docs.sh │ ├── build-gcc.sh │ ├── build-gdb-stub.sh │ ├── build-gdbserver.sh │ ├── build-gnu-libstdc++.sh │ ├── build-gnustep-libobjc2.sh │ ├── build-host-awk.sh │ ├── build-host-gdb.sh │ ├── build-host-make.sh │ ├── build-host-prebuilts.sh │ ├── build-host-python.sh │ ├── build-host-toolbox.sh │ ├── build-host-yasm.sh │ ├── build-icu.sh │ ├── build-libjpeg-turbo.sh │ ├── build-libjpeg.sh │ ├── build-libpng.sh │ ├── build-libtiff.sh │ ├── build-llvm-libc++.sh │ ├── build-llvm.py │ ├── build-llvm.sh │ ├── build-mingw64-toolchain.sh │ ├── build-ndk-stack.sh │ ├── build-ndk-sysroot.sh │ ├── build-python │ │ ├── _sitebuiltins.py │ │ ├── _sysconfigdata.py │ │ ├── android.mk.2.7 │ │ ├── android.mk.3.5 │ │ ├── build_stdlib.py │ │ ├── config.c.2.7 │ │ ├── config.c.3.5 │ │ ├── freeze_stdlib.py │ │ ├── frozen.c.2.7 │ │ ├── frozen.c.3.x │ │ ├── getpath.c.2.7 │ │ ├── getpath.c.3.x │ │ ├── host │ │ │ ├── CMakeLists.txt.2.7 │ │ │ ├── CMakeLists.txt.3.5 │ │ │ ├── callproc.c.2.7.mingw.patch │ │ │ ├── callproc.c.3.5.mingw.patch │ │ │ ├── config.c.2.7 │ │ │ ├── config.c.3.5 │ │ │ ├── dynload_win.c.2.7.mingw.patch │ │ │ ├── dynload_win.c.3.5.mingw.patch │ │ │ ├── getpath.c.2.7 │ │ │ ├── getpath.c.3.x │ │ │ ├── interpreter-posix.c.2.7 │ │ │ ├── interpreter-posix.c.3.x │ │ │ ├── interpreter-winapi.c.2.7 │ │ │ ├── interpreter-winapi.c.3.x │ │ │ ├── posixmodule.c.2.7.mingw.patch │ │ │ ├── posixmodule.c.3.5.1.mingw.patch │ │ │ ├── posixmodule.c.3.5.x.mingw.patch │ │ │ ├── pyconfig.h.2.7.mingw.patch │ │ │ └── pyconfig.h.3.5.mingw.patch │ │ ├── interpreter-static.c.2.7 │ │ ├── interpreter-static.c.3.x │ │ ├── pyconfig.h │ │ ├── site.py │ │ ├── stdlib.config │ │ └── sysconfig.py │ ├── build-renderscript.sh │ ├── build-sqlite3.sh │ ├── build-support.sh │ ├── build-target-bash.sh │ ├── build-target-cpulimit.sh │ ├── build-target-ffmpeg.sh │ ├── build-target-gnu-coreutils.sh │ ├── build-target-gnu-grep.sh │ ├── build-target-gnu-less.sh │ ├── build-target-gnu-sed.sh │ ├── build-target-gnu-tar.sh │ ├── build-target-gnu-which.sh │ ├── build-target-gnu-zip.sh │ ├── build-target-htop.sh │ ├── build-target-info-unzip.sh │ ├── build-target-info-zip.sh │ ├── build-target-ncurses.sh │ ├── build-target-net-tools.sh │ ├── build-target-openssh.sh │ ├── build-target-openssl.sh │ ├── build-target-prebuilts.sh │ ├── build-target-procps-ng.sh │ ├── build-target-python.sh │ ├── build-target-vim.sh │ ├── build-target-x264.sh │ ├── build-vendor-host-python.sh │ ├── builder-funcs.sh │ ├── check-glibc.sh │ ├── cleanup-apps.sh │ ├── common-build-host-funcs.sh │ ├── dev-defaults.sh │ ├── dev-platform-compress.sh │ ├── dev-platform-expand-all.sh │ ├── dev-platform-expand.sh │ ├── dev-platform-import.sh │ ├── dev-system-import.sh │ ├── find-case-duplicates.sh │ ├── gen-platforms.sh │ ├── gen-system-symbols.sh │ ├── gen-toolchain-wrapper.sh │ ├── make-release.sh │ ├── ndk-ccache-g++.sh │ ├── ndk-ccache-gcc.sh │ ├── ndk-common.sh │ ├── package-platforms.sh │ ├── package-release.sh │ ├── patch-sources.sh │ ├── prebuilt-common.sh │ ├── rebuild-all-prebuilt.sh │ ├── regenerate-platforms │ ├── toolchain-licenses │ │ ├── COPYING │ │ ├── COPYING.LIB │ │ ├── COPYING.RUNTIME │ │ ├── COPYING3 │ │ └── COPYING3.LIB │ ├── toolchain-patches-host │ │ └── mingw-w64 │ │ │ └── mingw-w64-widl.patch │ ├── unpack-build-cache │ ├── unwanted-symbols │ │ ├── arm │ │ │ ├── libc.so.functions.txt │ │ │ ├── libc.so.variables.txt │ │ │ ├── libgcc.a.functions.txt │ │ │ └── libgcc.a.variables.txt │ │ ├── arm64 │ │ │ ├── libc.so.functions.txt │ │ │ ├── libc.so.variables.txt │ │ │ ├── libgcc.a.functions.txt │ │ │ └── libgcc.a.variables.txt │ │ ├── mips │ │ │ ├── libc.so.functions.txt │ │ │ ├── libc.so.variables.txt │ │ │ ├── libgcc.a.functions.txt │ │ │ └── libgcc.a.variables.txt │ │ ├── mips64 │ │ │ ├── libc.so.functions.txt │ │ │ ├── libc.so.variables.txt │ │ │ ├── libgcc.a.functions.txt │ │ │ └── libgcc.a.variables.txt │ │ ├── x86 │ │ │ ├── libc.so.functions.txt │ │ │ ├── libc.so.variables.txt │ │ │ ├── libgcc.a.functions.txt │ │ │ └── libgcc.a.variables.txt │ │ └── x86_64 │ │ │ ├── libc.so.functions.txt │ │ │ ├── libc.so.variables.txt │ │ │ ├── libgcc.a.functions.txt │ │ │ └── libgcc.a.variables.txt │ └── update-build-cache ├── lib │ └── build_support.py ├── ndk-build ├── ndk-build.cmd ├── scripts │ ├── build-crew-utils │ ├── build-curl │ ├── build-host-gcc │ ├── build-libarchive │ ├── build-ruby │ ├── build-xz │ ├── builder.rb │ ├── cache.rb │ ├── commander.rb │ ├── common.rb │ ├── exceptions.rb │ ├── install-crew │ ├── install-crew-utils │ ├── logger.rb │ ├── options.rb │ ├── ruby │ └── ruby.cmd └── tools │ ├── README.md │ ├── build-analyzer.sh │ ├── build-boost.sh │ ├── build-cocotron.sh │ ├── build-compiler-rt.sh │ ├── build-crystax.sh │ ├── build-gcc.py │ ├── build-gdb-stub.sh │ ├── build-gdbserver.py │ ├── build-gdbserver.sh │ ├── build-gnustep-libobjc2.sh │ ├── build-icu.sh │ ├── build-libjpeg-turbo.sh │ ├── build-libjpeg.sh │ ├── build-libpng.sh │ ├── build-libtiff.sh │ ├── build-llvm-libc++.sh │ ├── build-llvm.py │ ├── build-llvm.sh │ ├── build-platforms.py │ ├── build-renderscript.sh │ ├── build-shader-tools.py │ ├── build-sqlite3.sh │ ├── builder-funcs.sh │ ├── common-build-host-funcs.sh │ ├── dev-defaults.sh │ ├── gen-platforms.sh │ ├── gen-toolchain-wrapper.sh │ ├── make-release.sh │ ├── make-standalone-toolchain.sh │ ├── ndk-ccache-g++.sh │ ├── ndk-ccache-gcc.sh │ ├── ndk-common.sh │ ├── package-platforms.sh │ ├── package.py │ ├── prebuilt-common.sh │ ├── regenerate-platforms │ ├── toolchain-licenses │ ├── COPYING │ ├── COPYING.LIB │ ├── COPYING.RUNTIME │ ├── COPYING3 │ └── COPYING3.LIB │ ├── unpack-build-cache │ ├── unwanted-symbols │ ├── arm │ │ ├── libgcc.a.functions.txt │ │ └── libgcc.a.variables.txt │ ├── arm64 │ │ ├── libgcc.a.functions.txt │ │ └── libgcc.a.variables.txt │ ├── mips │ │ ├── libgcc.a.functions.txt │ │ └── libgcc.a.variables.txt │ ├── mips64 │ │ ├── libgcc.a.functions.txt │ │ └── libgcc.a.variables.txt │ ├── x86 │ │ ├── libgcc.a.functions.txt │ │ └── libgcc.a.variables.txt │ └── x86_64 │ │ ├── libgcc.a.functions.txt │ │ └── libgcc.a.variables.txt │ └── update-build-cache ├── checkbuild.py ├── cmake ├── modules │ ├── FindBZip2.cmake │ ├── FindBoost.cmake │ ├── FindJNI.cmake │ ├── FindThreads.cmake │ └── FindZLIB.cmake └── toolchain.cmake ├── config.py ├── crew ├── crew.cmd ├── docs ├── GeneratingSysroots.md ├── Testing.md └── Toolchains.md ├── ndk-build ├── ndk-build.cmd ├── ndk-gdb ├── ndk-gdb.cmd ├── ndk-gdb.py ├── ndk-which ├── prebuilt └── common │ └── gdb │ └── common.setup ├── samples ├── .gitignore ├── README.md └── test-debug │ ├── .gitignore │ ├── AndroidManifest.xml │ ├── jni │ ├── Android.mk │ ├── Application.mk │ └── testdebug.c │ ├── proguard-project.txt │ ├── project.properties │ ├── res │ └── values │ │ └── strings.xml │ └── src │ └── com │ └── example │ └── testdebug │ └── TestDebug.java ├── sources ├── android │ ├── .gitignore │ ├── compiler-rt │ │ └── Android.mk │ ├── cpufeatures │ │ ├── Android.mk │ │ ├── NOTICE │ │ ├── cpu-features.c │ │ └── cpu-features.h │ ├── libthread_db │ │ ├── README │ │ ├── gdb-7.7 │ │ │ ├── libthread_db.c │ │ │ └── thread_db.h │ │ ├── libthread_db.c │ │ └── thread_db.h │ ├── native_app_glue │ │ ├── Android.mk │ │ ├── NOTICE │ │ ├── android_native_app_glue.c │ │ └── android_native_app_glue.h │ ├── ndk_helper │ │ ├── Android.mk │ │ ├── GLContext.cpp │ │ ├── GLContext.h │ │ ├── JNIHelper.cpp │ │ ├── JNIHelper.h │ │ ├── NDKHelper.h │ │ ├── NOTICE │ │ ├── gestureDetector.cpp │ │ ├── gestureDetector.h │ │ ├── gl3stub.c │ │ ├── gl3stub.h │ │ ├── interpolator.cpp │ │ ├── interpolator.h │ │ ├── perfMonitor.cpp │ │ ├── perfMonitor.h │ │ ├── shader.cpp │ │ ├── shader.h │ │ ├── tapCamera.cpp │ │ ├── tapCamera.h │ │ ├── vecmath.cpp │ │ └── vecmath.h │ └── support │ │ └── NOTICE ├── cpufeatures │ ├── Android.mk │ ├── README.TXT │ └── cpu-features.h ├── crystax │ ├── .gitignore │ ├── .syntastic │ │ └── c │ ├── GNUmakefile │ ├── LICENSE │ ├── bin │ │ ├── check-symbols │ │ ├── config │ │ ├── gen-arith │ │ ├── gen-bionic-sources │ │ ├── gen-bsd-sources │ │ ├── gen-compiler-rt-headers │ │ ├── gen-libkqueue-sources │ │ ├── gen-libpwq-sources │ │ ├── gen-locales │ │ ├── gen-musl-sources │ │ ├── gen-sources │ │ ├── gen-system-core-headers │ │ └── patch-sysroot │ ├── crazy_linker │ │ ├── Android.mk │ │ ├── DESIGN.TXT │ │ ├── LICENSE │ │ ├── README.TXT │ │ ├── include │ │ │ └── crazy_linker.h │ │ ├── minitest │ │ │ ├── minitest.cc │ │ │ └── minitest.h │ │ ├── src │ │ │ ├── crazy_linker_api.cpp │ │ │ ├── crazy_linker_ashmem.cpp │ │ │ ├── crazy_linker_ashmem.h │ │ │ ├── crazy_linker_ashmem_unittest.cpp │ │ │ ├── crazy_linker_debug.cpp │ │ │ ├── crazy_linker_debug.h │ │ │ ├── crazy_linker_elf_loader.cpp │ │ │ ├── crazy_linker_elf_loader.h │ │ │ ├── crazy_linker_elf_relocations.cpp │ │ │ ├── crazy_linker_elf_relocations.h │ │ │ ├── crazy_linker_elf_relro.cpp │ │ │ ├── crazy_linker_elf_relro.h │ │ │ ├── crazy_linker_elf_symbols.cpp │ │ │ ├── crazy_linker_elf_symbols.h │ │ │ ├── crazy_linker_elf_view.cpp │ │ │ ├── crazy_linker_elf_view.h │ │ │ ├── crazy_linker_error.cpp │ │ │ ├── crazy_linker_error.h │ │ │ ├── crazy_linker_error_unittest.cpp │ │ │ ├── crazy_linker_globals.cpp │ │ │ ├── crazy_linker_globals.h │ │ │ ├── crazy_linker_globals_unittest.cpp │ │ │ ├── crazy_linker_library_list.cpp │ │ │ ├── crazy_linker_library_list.h │ │ │ ├── crazy_linker_library_view.cpp │ │ │ ├── crazy_linker_library_view.h │ │ │ ├── crazy_linker_line_reader.cpp │ │ │ ├── crazy_linker_line_reader.h │ │ │ ├── crazy_linker_line_reader_unittest.cpp │ │ │ ├── crazy_linker_memory_mapping.h │ │ │ ├── crazy_linker_proc_maps.cpp │ │ │ ├── crazy_linker_proc_maps.h │ │ │ ├── crazy_linker_proc_maps_unittest.cpp │ │ │ ├── crazy_linker_rdebug.cpp │ │ │ ├── crazy_linker_rdebug.h │ │ │ ├── crazy_linker_search_path_list.cpp │ │ │ ├── crazy_linker_search_path_list.h │ │ │ ├── crazy_linker_search_path_list_unittest.cpp │ │ │ ├── crazy_linker_shared_library.cpp │ │ │ ├── crazy_linker_shared_library.h │ │ │ ├── crazy_linker_system.cpp │ │ │ ├── crazy_linker_system.h │ │ │ ├── crazy_linker_system_mock.cpp │ │ │ ├── crazy_linker_system_mock.h │ │ │ ├── crazy_linker_system_unittest.cpp │ │ │ ├── crazy_linker_thread.cpp │ │ │ ├── crazy_linker_thread.h │ │ │ ├── crazy_linker_thread_unittest.cpp │ │ │ ├── crazy_linker_util.cpp │ │ │ ├── crazy_linker_util.h │ │ │ ├── crazy_linker_util_unittest.cpp │ │ │ ├── crazy_linker_wrappers.cpp │ │ │ ├── crazy_linker_wrappers.h │ │ │ ├── elf_traits.h │ │ │ ├── linker_phdr.cpp │ │ │ └── linker_phdr.h │ │ └── tests │ │ │ ├── Android.mk │ │ │ ├── bar.cpp │ │ │ ├── bar_with_relro.cpp │ │ │ ├── bench_load_library.cpp │ │ │ ├── foo.cpp │ │ │ ├── foo2.cpp │ │ │ ├── foo_with_relro.cpp │ │ │ ├── foo_with_static_constructor.cpp │ │ │ ├── jni_lib.cpp │ │ │ ├── test_constructors_destructors.cpp │ │ │ ├── test_dl_wrappers.cpp │ │ │ ├── test_jni_hooks.cpp │ │ │ ├── test_load_library.cpp │ │ │ ├── test_load_library_callbacks.cpp │ │ │ ├── test_load_library_depends.cpp │ │ │ ├── test_relocated_shared_relro.cpp │ │ │ ├── test_search_path_list.cpp │ │ │ ├── test_shared_relro.cpp │ │ │ ├── test_two_shared_relros.cpp │ │ │ ├── test_util.h │ │ │ └── zoo.cpp │ ├── empty │ │ └── libcrystax.a │ ├── include │ │ ├── OpenGLES │ │ │ ├── ES1 │ │ │ │ ├── gl.h │ │ │ │ └── glext.h │ │ │ ├── ES2 │ │ │ │ ├── gl.h │ │ │ │ └── glext.h │ │ │ └── ES3 │ │ │ │ ├── gl.h │ │ │ │ └── glext.h │ │ ├── alloca.h │ │ ├── asm │ │ │ ├── bitsperlong.h │ │ │ ├── posix_types.h │ │ │ ├── siginfo.h │ │ │ ├── signal.h │ │ │ ├── unistd.h │ │ │ ├── unistd_32.h │ │ │ ├── unistd_64.h │ │ │ └── unistd_x32.h │ │ ├── crystax.h │ │ ├── crystax │ │ │ ├── arm │ │ │ │ └── fenv.h │ │ │ ├── arm64 │ │ │ │ ├── _inttypes.h │ │ │ │ ├── _limits.h │ │ │ │ ├── _stdint.h │ │ │ │ ├── endian.h │ │ │ │ └── fenv.h │ │ │ ├── common.hpp │ │ │ ├── ctassert.h │ │ │ ├── details │ │ │ │ └── jni.inc │ │ │ ├── freebsd.h │ │ │ ├── id.h │ │ │ ├── jutils.hpp │ │ │ ├── jutils │ │ │ │ ├── class.hpp │ │ │ │ ├── exceptions.hpp │ │ │ │ ├── field.hpp │ │ │ │ ├── helper.hpp │ │ │ │ ├── jcast.hpp │ │ │ │ ├── jholder.hpp │ │ │ │ ├── jni.hpp │ │ │ │ └── method.hpp │ │ │ ├── list.hpp │ │ │ ├── log.h │ │ │ ├── memory.hpp │ │ │ ├── mips │ │ │ │ └── fenv.h │ │ │ ├── mips64 │ │ │ │ ├── _inttypes.h │ │ │ │ ├── _limits.h │ │ │ │ ├── _stdint.h │ │ │ │ ├── endian.h │ │ │ │ └── fenv.h │ │ │ ├── path.hpp │ │ │ ├── sys │ │ │ │ ├── ctype.h │ │ │ │ ├── endian.h │ │ │ │ ├── fenvsoft.h │ │ │ │ ├── fpmath.h │ │ │ │ ├── inttypes.h │ │ │ │ ├── langinfo.h │ │ │ │ ├── limits.h │ │ │ │ ├── locale.h │ │ │ │ ├── math.h │ │ │ │ ├── monetary.h │ │ │ │ ├── stdio.h │ │ │ │ ├── stdlib.h │ │ │ │ ├── string.h │ │ │ │ ├── strings.h │ │ │ │ ├── time.h │ │ │ │ ├── tls.h │ │ │ │ ├── wait.h │ │ │ │ ├── wchar.h │ │ │ │ └── wctype.h │ │ │ ├── system.h │ │ │ ├── x86 │ │ │ │ └── fenv.h │ │ │ └── x86_64 │ │ │ │ └── fenv.h │ │ ├── dlfcn.h │ │ ├── elf.h │ │ ├── endian.h │ │ ├── errno.h │ │ ├── fcntl.h │ │ ├── fenv.h │ │ ├── getrrsetbyname.h │ │ ├── grp.h │ │ ├── ieeefp.h │ │ ├── linux │ │ │ ├── elf.h │ │ │ ├── in.h │ │ │ ├── shm.h │ │ │ └── sysctl.h │ │ ├── machine │ │ │ ├── _align.h │ │ │ ├── _types.h │ │ │ ├── atomic.h │ │ │ ├── fenv.h │ │ │ ├── limits.h │ │ │ └── wchar_limits.h │ │ ├── malloc.h │ │ ├── netinet │ │ │ └── tcp.h │ │ ├── paths.h │ │ ├── pthread_np.h │ │ ├── semaphore.h │ │ ├── stdint.h │ │ ├── sys │ │ │ ├── _types.h │ │ │ ├── cdefs.h │ │ │ ├── fcntl.h │ │ │ ├── mman.h │ │ │ ├── param.h │ │ │ ├── shm.h │ │ │ ├── socket.h │ │ │ ├── sysctl.h │ │ │ ├── syslimits.h │ │ │ ├── syslog.h │ │ │ ├── timeb.h │ │ │ ├── timespec.h │ │ │ ├── types.h │ │ │ └── wait.h │ │ ├── syscall.h │ │ ├── termios.h │ │ ├── timeb.h │ │ └── xlocale.h │ ├── src │ │ ├── __get_thread.cpp │ │ ├── __wait4.c │ │ ├── bsd_signal.c │ │ ├── bzip2 │ │ │ └── error.c │ │ ├── crystax │ │ │ ├── android.cpp │ │ │ ├── android_jni.cpp │ │ │ ├── crystax_posix_base.c │ │ │ ├── fenvimpl.c │ │ │ ├── isthreaded.c │ │ │ ├── jutils │ │ │ │ ├── exceptions.cpp │ │ │ │ ├── helper.cpp │ │ │ │ ├── jcast.cpp │ │ │ │ └── rethrow.cpp │ │ │ ├── locale │ │ │ │ ├── locale.c │ │ │ │ └── localeinit.c │ │ │ ├── lock.cpp │ │ │ ├── log.c │ │ │ ├── logcat.c │ │ │ ├── pthread_workqueue_impl.c │ │ │ ├── rawargs.cpp │ │ │ └── system.cpp │ │ ├── domainname.c │ │ ├── execve.c │ │ ├── fcntl │ │ │ └── fcntl.c │ │ ├── fdprintf.c │ │ ├── ftime.c │ │ ├── futex.c │ │ ├── getdents.c │ │ ├── getdtablesize.c │ │ ├── getnetgrent.c │ │ ├── getrlimit64.c │ │ ├── grent.c │ │ ├── include │ │ │ ├── crystax │ │ │ │ ├── arm │ │ │ │ │ ├── arith.h │ │ │ │ │ └── gd_qnan.h │ │ │ │ ├── arm64 │ │ │ │ │ ├── arith.h │ │ │ │ │ └── gd_qnan.h │ │ │ │ ├── atomic.h │ │ │ │ ├── fenvimpl.h │ │ │ │ ├── internal.h │ │ │ │ ├── localeimpl.h │ │ │ │ ├── lock.hpp │ │ │ │ ├── mips │ │ │ │ │ ├── arith.h │ │ │ │ │ └── gd_qnan.h │ │ │ │ ├── mips64 │ │ │ │ │ ├── arith.h │ │ │ │ │ └── gd_qnan.h │ │ │ │ ├── private.h │ │ │ │ ├── pthread_workqueue_impl.h │ │ │ │ ├── x86 │ │ │ │ │ ├── arith.h │ │ │ │ │ └── gd_qnan.h │ │ │ │ └── x86_64 │ │ │ │ │ ├── arith.h │ │ │ │ │ └── gd_qnan.h │ │ │ └── jemalloc_defs.h │ │ ├── issetugid.c │ │ ├── lchmod.c │ │ ├── lseek64.cpp │ │ ├── makedev.c │ │ ├── math │ │ │ ├── complex.c │ │ │ ├── fenvsoft.c │ │ │ ├── math.c │ │ │ └── sincos.c │ │ ├── memswap.c │ │ ├── msgcat.c │ │ ├── openbsd │ │ │ └── getrrsetbyname.c │ │ ├── posix_fadvise.c │ │ ├── posix_fallocate.c │ │ ├── pread.c │ │ ├── progname.c │ │ ├── pthread_attr_getstackaddr.c │ │ ├── pthread_gettid.c │ │ ├── pthread_main_np.cpp │ │ ├── pwent.c │ │ ├── pwrite.c │ │ ├── shmat.c │ │ ├── shmctl.c │ │ ├── shmdt.c │ │ ├── shmget.c │ │ ├── stdlib │ │ │ ├── abort.c │ │ │ └── rand.c │ │ ├── string │ │ │ └── strerror.c │ │ ├── strntoimax.c │ │ ├── strverscmp.c │ │ ├── swapxx.c │ │ ├── sysctl.c │ │ ├── sysv_signal.cpp │ │ ├── tkill.c │ │ ├── tls.c │ │ ├── uname.c │ │ ├── usershell.c │ │ ├── vfdprintf.c │ │ ├── wait3.c │ │ ├── wcswcs.c │ │ └── write.c │ └── vfs │ │ ├── accept.cpp │ │ ├── access.cpp │ │ ├── android.cpp │ │ ├── android_jni.cpp │ │ ├── assets │ │ ├── adriver.cpp │ │ └── driver.hpp │ │ ├── bind.cpp │ │ ├── chdir.cpp │ │ ├── chown.cpp │ │ ├── chroot.cpp │ │ ├── close.cpp │ │ ├── closedir.cpp │ │ ├── connect.cpp │ │ ├── dirfd.cpp │ │ ├── dup.cpp │ │ ├── dup2.cpp │ │ ├── fchdir.cpp │ │ ├── fchown.cpp │ │ ├── fcntl.cpp │ │ ├── fdatasync.cpp │ │ ├── fdopendir.cpp │ │ ├── fileio.cpp │ │ ├── fileio │ │ ├── api.hpp │ │ ├── common.hpp │ │ └── driver.hpp │ │ ├── flock.cpp │ │ ├── fstat.cpp │ │ ├── fsync.cpp │ │ ├── ftruncate.cpp │ │ ├── futils.cpp │ │ ├── getcwd.cpp │ │ ├── getdents.cpp │ │ ├── getsockname.cpp │ │ ├── getsockopt.cpp │ │ ├── include │ │ └── crystax │ │ │ └── vfs.h │ │ ├── ioctl.cpp │ │ ├── lchown.cpp │ │ ├── link.cpp │ │ ├── listen.cpp │ │ ├── lseek.cpp │ │ ├── lseek64.cpp │ │ ├── lstat.cpp │ │ ├── mkdir.cpp │ │ ├── mmap.cpp │ │ ├── mount.cpp │ │ ├── open.cpp │ │ ├── opendir.cpp │ │ ├── osfs │ │ ├── asyncsocketclosemonitor.cpp │ │ ├── asyncsocketclosemonitor.h │ │ ├── osfs.cpp │ │ ├── osfs.hpp │ │ ├── osfs_eclair.cpp │ │ ├── osfs_froyo.cpp │ │ ├── osfs_gingerbread.cpp │ │ └── osfs_ics.cpp │ │ ├── pipe.cpp │ │ ├── pread.cpp │ │ ├── pwrite.cpp │ │ ├── read.cpp │ │ ├── readdir.cpp │ │ ├── readdir_r.cpp │ │ ├── readlink.cpp │ │ ├── readv.cpp │ │ ├── recv.cpp │ │ ├── recvfrom.cpp │ │ ├── recvmsg.cpp │ │ ├── remove.cpp │ │ ├── rename.cpp │ │ ├── rewinddir.cpp │ │ ├── rmdir.cpp │ │ ├── scandir.cpp │ │ ├── seekdir.cpp │ │ ├── select.cpp │ │ ├── send.cpp │ │ ├── sendmsg.cpp │ │ ├── sendto.cpp │ │ ├── setsockopt.cpp │ │ ├── shutdown.cpp │ │ ├── socket.cpp │ │ ├── stat.cpp │ │ ├── symlink.cpp │ │ ├── system │ │ ├── driver.hpp │ │ └── sdriver.cpp │ │ ├── telldir.cpp │ │ ├── unlink.cpp │ │ ├── write.cpp │ │ └── writev.cpp ├── cxx-stl │ ├── gabi++ │ │ └── NOTICE │ ├── gnu-libstdc++ │ │ ├── .gitignore │ │ ├── Android.mk │ │ ├── README │ │ ├── build-gnu-libstdc++.sh │ │ └── build.py │ ├── llvm-libc++ │ │ ├── .gitignore │ │ ├── Android.mk │ │ ├── README.NDK │ │ ├── build.py │ │ ├── export_symbols.txt │ │ └── test │ │ │ ├── Android.mk │ │ │ └── test_1.cc │ ├── llvm-libc++abi │ │ ├── NOTICE │ │ ├── libcxxabi │ │ │ ├── CREDITS.TXT │ │ │ ├── LICENSE.TXT │ │ │ ├── include │ │ │ │ ├── __cxxabi_config.h │ │ │ │ ├── cxxabi.h │ │ │ │ ├── libunwind.h │ │ │ │ ├── mach-o │ │ │ │ │ └── compact_unwind_encoding.h │ │ │ │ └── unwind.h │ │ │ ├── lib │ │ │ │ └── buildit │ │ │ ├── src │ │ │ │ ├── Unwind │ │ │ │ │ ├── AddressSpace.hpp │ │ │ │ │ ├── CompactUnwinder.hpp │ │ │ │ │ ├── DwarfInstructions.hpp │ │ │ │ │ ├── DwarfParser.hpp │ │ │ │ │ ├── EHHeaderParser.hpp │ │ │ │ │ ├── Registers.hpp │ │ │ │ │ ├── Unwind-EHABI.cpp │ │ │ │ │ ├── Unwind-EHABI.h │ │ │ │ │ ├── Unwind-sjlj.c │ │ │ │ │ ├── UnwindCursor.hpp │ │ │ │ │ ├── UnwindLevel1-gcc-ext.c │ │ │ │ │ ├── UnwindLevel1.c │ │ │ │ │ ├── UnwindRegistersRestore.S │ │ │ │ │ ├── UnwindRegistersSave.S │ │ │ │ │ ├── Unwind_AppleExtras.cpp │ │ │ │ │ ├── assembly.h │ │ │ │ │ ├── config.h │ │ │ │ │ ├── dwarf2.h │ │ │ │ │ ├── libunwind.cpp │ │ │ │ │ ├── libunwind_ext.h │ │ │ │ │ └── unwind_ext.h │ │ │ │ ├── abort_message.cpp │ │ │ │ ├── abort_message.h │ │ │ │ ├── config.h │ │ │ │ ├── cxa_aux_runtime.cpp │ │ │ │ ├── cxa_default_handlers.cpp │ │ │ │ ├── cxa_demangle.cpp │ │ │ │ ├── cxa_exception.cpp │ │ │ │ ├── cxa_exception.hpp │ │ │ │ ├── cxa_exception_storage.cpp │ │ │ │ ├── cxa_guard.cpp │ │ │ │ ├── cxa_handlers.cpp │ │ │ │ ├── cxa_handlers.hpp │ │ │ │ ├── cxa_new_delete.cpp │ │ │ │ ├── cxa_personality.cpp │ │ │ │ ├── cxa_thread_atexit.cpp │ │ │ │ ├── cxa_unexpected.cpp │ │ │ │ ├── cxa_vector.cpp │ │ │ │ ├── cxa_virtual.cpp │ │ │ │ ├── exception.cpp │ │ │ │ ├── fallback_malloc.ipp │ │ │ │ ├── private_typeinfo.cpp │ │ │ │ ├── private_typeinfo.h │ │ │ │ ├── stdexcept.cpp │ │ │ │ └── typeinfo.cpp │ │ │ └── test │ │ │ │ ├── backtrace_test.pass.cpp │ │ │ │ ├── catch_array_01.pass.cpp │ │ │ │ ├── catch_array_02.pass.cpp │ │ │ │ ├── catch_class_01.pass.cpp │ │ │ │ ├── catch_class_02.pass.cpp │ │ │ │ ├── catch_class_03.pass.cpp │ │ │ │ ├── catch_class_04.pass.cpp │ │ │ │ ├── catch_const_pointer_nullptr.pass.cpp │ │ │ │ ├── catch_function_01.pass.cpp │ │ │ │ ├── catch_function_02.pass.cpp │ │ │ │ ├── catch_in_noexcept.pass.cpp │ │ │ │ ├── catch_member_data_pointer_01.pass.cpp │ │ │ │ ├── catch_member_function_pointer_01.pass.cpp │ │ │ │ ├── catch_member_pointer_nullptr.pass.cpp │ │ │ │ ├── catch_pointer_nullptr.pass.cpp │ │ │ │ ├── catch_pointer_reference.pass.cpp │ │ │ │ ├── catch_ptr.pass.cpp │ │ │ │ ├── catch_ptr_02.pass.cpp │ │ │ │ ├── cxa_thread_atexit_test.pass.cpp │ │ │ │ ├── dynamic_cast14.pass.cpp │ │ │ │ ├── dynamic_cast3.pass.cpp │ │ │ │ ├── dynamic_cast5.pass.cpp │ │ │ │ ├── dynamic_cast_stress.pass.cpp │ │ │ │ ├── inherited_exception.pass.cpp │ │ │ │ ├── libcxxabi │ │ │ │ ├── __init__.py │ │ │ │ └── test │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── config.py │ │ │ │ ├── lit.cfg │ │ │ │ ├── lit.site.cfg.in │ │ │ │ ├── support │ │ │ │ └── timer.hpp │ │ │ │ ├── test_aux_runtime.pass.cpp │ │ │ │ ├── test_aux_runtime_op_array_new.pass.cpp │ │ │ │ ├── test_demangle.pass.cpp │ │ │ │ ├── test_exception_storage.pass.cpp │ │ │ │ ├── test_fallback_malloc.pass.cpp │ │ │ │ ├── test_guard.pass.cpp │ │ │ │ ├── test_vector1.pass.cpp │ │ │ │ ├── test_vector2.pass.cpp │ │ │ │ ├── test_vector3.pass.cpp │ │ │ │ ├── testit │ │ │ │ ├── testit_android │ │ │ │ ├── unwind_01.pass.cpp │ │ │ │ ├── unwind_02.pass.cpp │ │ │ │ ├── unwind_03.pass.cpp │ │ │ │ ├── unwind_04.pass.cpp │ │ │ │ ├── unwind_05.pass.cpp │ │ │ │ └── unwind_06.pass.cpp │ │ └── sources.mk │ └── system │ │ ├── Android.mk │ │ ├── MODULE_LICENSE_BSD │ │ ├── NOTICE │ │ ├── include │ │ ├── cassert │ │ ├── cctype │ │ ├── cerrno │ │ ├── cfloat │ │ ├── climits │ │ ├── cmath │ │ ├── csetjmp │ │ ├── csignal │ │ ├── cstddef │ │ ├── cstdint │ │ ├── cstdio │ │ ├── cstdlib │ │ ├── cstring │ │ ├── ctime │ │ ├── cwchar │ │ ├── cwctype_is_not_supported │ │ ├── new │ │ ├── stl_pair.h │ │ ├── typeinfo │ │ └── utility │ │ └── setup.mk ├── host-tools │ ├── gdb-pretty-printers │ │ └── stlport │ │ │ └── gppfs-0.2 │ │ │ ├── COPYING │ │ │ ├── ChangeLog │ │ │ ├── README │ │ │ ├── stlport │ │ │ ├── __init__.py │ │ │ └── printers.py │ │ │ └── test │ │ │ ├── .gdbinit │ │ │ ├── Makefile │ │ │ ├── script │ │ │ └── test.cpp │ ├── gdb-stub │ │ └── gdb-stub.c │ ├── make-3.81 │ │ ├── ABOUT-NLS │ │ ├── AUTHORS │ │ ├── COPYING │ │ ├── ChangeLog │ │ ├── INSTALL │ │ ├── Makefile.DOS │ │ ├── Makefile.am │ │ ├── Makefile.ami │ │ ├── Makefile.in │ │ ├── NEWS │ │ ├── NMakefile │ │ ├── README │ │ ├── README.Amiga │ │ ├── README.DOS │ │ ├── README.OS2 │ │ ├── README.W32 │ │ ├── README.customs │ │ ├── SCOPTIONS │ │ ├── SMakefile │ │ ├── acinclude.m4 │ │ ├── aclocal.m4 │ │ ├── alloca.c │ │ ├── amiga.c │ │ ├── amiga.h │ │ ├── ansi2knr.1 │ │ ├── ansi2knr.c │ │ ├── ar.c │ │ ├── arscan.c │ │ ├── autom4te.cache │ │ │ ├── output.0 │ │ │ ├── requests │ │ │ └── traces.0 │ │ ├── build-make.sh │ │ ├── build.py │ │ ├── build.sh.in │ │ ├── build_w32.bat │ │ ├── commands.c │ │ ├── commands.h │ │ ├── config.ami │ │ ├── config.h-vms │ │ ├── config.h.W32 │ │ ├── config.h.in │ │ ├── config.log │ │ ├── config │ │ │ ├── ChangeLog │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── codeset.m4 │ │ │ ├── compile │ │ │ ├── config.guess │ │ │ ├── config.rpath │ │ │ ├── config.sub │ │ │ ├── depcomp │ │ │ ├── dospaths.m4 │ │ │ ├── gettext.m4 │ │ │ ├── glibc21.m4 │ │ │ ├── iconv.m4 │ │ │ ├── install-sh │ │ │ ├── intdiv0.m4 │ │ │ ├── intmax.m4 │ │ │ ├── inttypes-pri.m4 │ │ │ ├── inttypes.m4 │ │ │ ├── inttypes_h.m4 │ │ │ ├── isc-posix.m4 │ │ │ ├── lcmessage.m4 │ │ │ ├── lib-ld.m4 │ │ │ ├── lib-link.m4 │ │ │ ├── lib-prefix.m4 │ │ │ ├── longdouble.m4 │ │ │ ├── longlong.m4 │ │ │ ├── mdate-sh │ │ │ ├── missing │ │ │ ├── mkinstalldirs │ │ │ ├── nls.m4 │ │ │ ├── po.m4 │ │ │ ├── printf-posix.m4 │ │ │ ├── progtest.m4 │ │ │ ├── signed.m4 │ │ │ ├── size_max.m4 │ │ │ ├── stdint_h.m4 │ │ │ ├── texinfo.tex │ │ │ ├── uintmax_t.m4 │ │ │ ├── ulonglong.m4 │ │ │ ├── wchar_t.m4 │ │ │ ├── wint_t.m4 │ │ │ └── xsize.m4 │ │ ├── configh.dos │ │ ├── configure │ │ ├── configure.bat │ │ ├── configure.in │ │ ├── debug.h │ │ ├── default.c │ │ ├── dep.h │ │ ├── dir.c │ │ ├── doc │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── fdl.texi │ │ │ ├── make-stds.texi │ │ │ ├── make.info │ │ │ ├── make.info-1 │ │ │ ├── make.info-2 │ │ │ ├── make.texi │ │ │ ├── stamp-vti │ │ │ └── version.texi │ │ ├── dosbuild.bat │ │ ├── expand.c │ │ ├── file.c │ │ ├── filedef.h │ │ ├── function.c │ │ ├── getloadavg.c │ │ ├── getopt.c │ │ ├── getopt.h │ │ ├── getopt1.c │ │ ├── gettext.h │ │ ├── glob │ │ │ ├── COPYING.LIB │ │ │ ├── ChangeLog │ │ │ ├── Makefile.am │ │ │ ├── Makefile.ami │ │ │ ├── Makefile.in │ │ │ ├── SCOPTIONS │ │ │ ├── SMakefile │ │ │ ├── configure.bat │ │ │ ├── fnmatch.c │ │ │ ├── fnmatch.h │ │ │ ├── glob.c │ │ │ └── glob.h │ │ ├── hash.c │ │ ├── hash.h │ │ ├── implicit.c │ │ ├── job.c │ │ ├── job.h │ │ ├── main.c │ │ ├── make.1 │ │ ├── make.h │ │ ├── make.lnk │ │ ├── make_msvc_net2003.sln │ │ ├── make_msvc_net2003.vcproj │ │ ├── makefile.com │ │ ├── makefile.vms │ │ ├── misc.c │ │ ├── po │ │ │ ├── ChangeLog │ │ │ ├── LINGUAS │ │ │ ├── Makefile.in.in │ │ │ ├── Makevars │ │ │ ├── POTFILES.in │ │ │ ├── Rules-quot │ │ │ ├── be.gmo │ │ │ ├── be.po │ │ │ ├── boldquot.sed │ │ │ ├── da.gmo │ │ │ ├── da.po │ │ │ ├── de.gmo │ │ │ ├── de.po │ │ │ ├── en@boldquot.header │ │ │ ├── en@quot.header │ │ │ ├── es.gmo │ │ │ ├── es.po │ │ │ ├── fi.gmo │ │ │ ├── fi.po │ │ │ ├── fr.gmo │ │ │ ├── fr.po │ │ │ ├── ga.gmo │ │ │ ├── ga.po │ │ │ ├── gl.gmo │ │ │ ├── gl.po │ │ │ ├── he.gmo │ │ │ ├── he.po │ │ │ ├── hr.gmo │ │ │ ├── hr.po │ │ │ ├── id.gmo │ │ │ ├── id.po │ │ │ ├── insert-header.sin │ │ │ ├── ja.gmo │ │ │ ├── ja.po │ │ │ ├── ko.gmo │ │ │ ├── ko.po │ │ │ ├── make.pot │ │ │ ├── nl.gmo │ │ │ ├── nl.po │ │ │ ├── pl.gmo │ │ │ ├── pl.po │ │ │ ├── pt_BR.gmo │ │ │ ├── pt_BR.po │ │ │ ├── quot.sed │ │ │ ├── remove-potcdate.sin │ │ │ ├── ru.gmo │ │ │ ├── ru.po │ │ │ ├── rw.gmo │ │ │ ├── rw.po │ │ │ ├── stamp-po │ │ │ ├── sv.gmo │ │ │ ├── sv.po │ │ │ ├── tr.gmo │ │ │ ├── tr.po │ │ │ ├── uk.gmo │ │ │ ├── uk.po │ │ │ ├── vi.gmo │ │ │ ├── vi.po │ │ │ ├── zh_CN.gmo │ │ │ └── zh_CN.po │ │ ├── read.c │ │ ├── readme.vms │ │ ├── remake.c │ │ ├── remote-cstms.c │ │ ├── remote-stub.c │ │ ├── rule.c │ │ ├── rule.h │ │ ├── signame.c │ │ ├── strcache.c │ │ ├── subproc.bat │ │ ├── tests │ │ │ ├── COPYING │ │ │ ├── ChangeLog │ │ │ ├── NEWS │ │ │ ├── README │ │ │ ├── mkshadow │ │ │ ├── run_make_tests │ │ │ ├── run_make_tests.pl │ │ │ ├── scripts │ │ │ │ ├── features │ │ │ │ │ ├── comments │ │ │ │ │ ├── conditionals │ │ │ │ │ ├── default_names │ │ │ │ │ ├── double_colon │ │ │ │ │ ├── echoing │ │ │ │ │ ├── errors │ │ │ │ │ ├── escape │ │ │ │ │ ├── export │ │ │ │ │ ├── include │ │ │ │ │ ├── mult_rules │ │ │ │ │ ├── mult_targets │ │ │ │ │ ├── order_only │ │ │ │ │ ├── override │ │ │ │ │ ├── parallelism │ │ │ │ │ ├── patspecific_vars │ │ │ │ │ ├── patternrules │ │ │ │ │ ├── quoting │ │ │ │ │ ├── recursion │ │ │ │ │ ├── reinvoke │ │ │ │ │ ├── se_explicit │ │ │ │ │ ├── se_implicit │ │ │ │ │ ├── se_statpat │ │ │ │ │ ├── statipattrules │ │ │ │ │ ├── targetvars │ │ │ │ │ ├── varnesting │ │ │ │ │ ├── vpath │ │ │ │ │ ├── vpath2 │ │ │ │ │ ├── vpathgpath │ │ │ │ │ └── vpathplus │ │ │ │ ├── functions │ │ │ │ │ ├── abspath │ │ │ │ │ ├── addprefix │ │ │ │ │ ├── addsuffix │ │ │ │ │ ├── andor │ │ │ │ │ ├── basename │ │ │ │ │ ├── call │ │ │ │ │ ├── dir │ │ │ │ │ ├── error │ │ │ │ │ ├── eval │ │ │ │ │ ├── filter-out │ │ │ │ │ ├── findstring │ │ │ │ │ ├── flavor │ │ │ │ │ ├── foreach │ │ │ │ │ ├── if │ │ │ │ │ ├── join │ │ │ │ │ ├── notdir │ │ │ │ │ ├── origin │ │ │ │ │ ├── realpath │ │ │ │ │ ├── shell │ │ │ │ │ ├── sort │ │ │ │ │ ├── strip │ │ │ │ │ ├── substitution │ │ │ │ │ ├── suffix │ │ │ │ │ ├── value │ │ │ │ │ ├── warning │ │ │ │ │ ├── wildcard │ │ │ │ │ └── word │ │ │ │ ├── misc │ │ │ │ │ ├── close_stdout │ │ │ │ │ ├── general1 │ │ │ │ │ ├── general2 │ │ │ │ │ ├── general3 │ │ │ │ │ └── general4 │ │ │ │ ├── options │ │ │ │ │ ├── dash-B │ │ │ │ │ ├── dash-C │ │ │ │ │ ├── dash-I │ │ │ │ │ ├── dash-W │ │ │ │ │ ├── dash-e │ │ │ │ │ ├── dash-f │ │ │ │ │ ├── dash-k │ │ │ │ │ ├── dash-l │ │ │ │ │ ├── dash-n │ │ │ │ │ ├── dash-q │ │ │ │ │ ├── dash-t │ │ │ │ │ ├── general │ │ │ │ │ ├── symlinks │ │ │ │ │ └── warn-undefined-variables │ │ │ │ ├── targets │ │ │ │ │ ├── DEFAULT │ │ │ │ │ ├── FORCE │ │ │ │ │ ├── INTERMEDIATE │ │ │ │ │ ├── PHONY │ │ │ │ │ ├── SECONDARY │ │ │ │ │ ├── SILENT │ │ │ │ │ └── clean │ │ │ │ ├── test_template │ │ │ │ └── variables │ │ │ │ │ ├── CURDIR │ │ │ │ │ ├── DEFAULT_GOAL │ │ │ │ │ ├── INCLUDE_DIRS │ │ │ │ │ ├── MAKE │ │ │ │ │ ├── MAKECMDGOALS │ │ │ │ │ ├── MAKEFILES │ │ │ │ │ ├── MAKELEVEL │ │ │ │ │ ├── MAKE_RESTARTS │ │ │ │ │ ├── MFILE_LIST │ │ │ │ │ ├── SHELL │ │ │ │ │ ├── automatic │ │ │ │ │ ├── flavors │ │ │ │ │ ├── negative │ │ │ │ │ └── special │ │ │ └── test_driver.pl │ │ ├── variable.c │ │ ├── variable.h │ │ ├── version.c │ │ ├── vmsdir.h │ │ ├── vmsfunctions.c │ │ ├── vmsify.c │ │ ├── vmsjobs.c │ │ ├── vpath.c │ │ └── w32 │ │ │ ├── .deps │ │ │ ├── libw32_a-misc.Po │ │ │ ├── libw32_a-pathstuff.Po │ │ │ ├── libw32_a-sub_proc.Po │ │ │ └── libw32_a-w32err.Po │ │ │ ├── Makefile │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── compat │ │ │ └── dirent.c │ │ │ ├── include │ │ │ ├── dirent.h │ │ │ ├── pathstuff.h │ │ │ ├── sub_proc.h │ │ │ └── w32err.h │ │ │ ├── pathstuff.c │ │ │ └── subproc │ │ │ ├── NMakefile │ │ │ ├── build.bat │ │ │ ├── misc.c │ │ │ ├── proc.h │ │ │ ├── sub_proc.c │ │ │ └── w32err.c │ ├── nawk-20071023 │ │ ├── FIXES │ │ ├── GNUmakefile │ │ ├── NOTICE │ │ ├── README │ │ ├── awk.h │ │ ├── awkgram.y │ │ ├── b.c │ │ ├── build-awk.sh │ │ ├── build.py │ │ ├── lex.c │ │ ├── lib.c │ │ ├── main.c │ │ ├── maketab.c │ │ ├── parse.c │ │ ├── proto.h │ │ ├── run.c │ │ └── tran.c │ ├── ndk-depends │ │ ├── GNUmakefile │ │ ├── NOTICE │ │ ├── build-ndk-depends.sh │ │ ├── build.py │ │ └── ndk-depends.cc │ ├── ndk-stack │ │ ├── GNUmakefile │ │ ├── NOTICE │ │ ├── binutils │ │ │ ├── COPYING3 │ │ │ └── addr2line.c │ │ ├── build-ndk-stack.sh │ │ ├── build.py │ │ ├── ndk-stack-parser.c │ │ ├── ndk-stack-parser.h │ │ ├── ndk-stack.c │ │ └── regex │ │ │ ├── cclass.h │ │ │ ├── cname.h │ │ │ ├── engine.c │ │ │ ├── regcomp.c │ │ │ ├── regerror.c │ │ │ ├── regex.h │ │ │ ├── regex2.h │ │ │ ├── regexec.c │ │ │ ├── regfree.c │ │ │ ├── targetver.h │ │ │ └── utils.h │ └── toolbox │ │ ├── NOTICE │ │ ├── build-toolbox.sh │ │ ├── build.py │ │ ├── cmp_win.c │ │ └── echo_win.c ├── objc │ ├── cocotron │ │ └── 0.1.0 │ │ │ ├── .gitignore │ │ │ └── Android.mk │ ├── gnustep-libobjc2 │ │ ├── .gitignore │ │ └── Android.mk │ └── none │ │ └── Android.mk ├── python │ ├── 2.7 │ │ ├── .gitignore │ │ ├── Android.mk │ │ └── frozen │ │ │ ├── _ctypes │ │ │ └── Android.mk │ │ │ ├── _multiprocessing │ │ │ └── Android.mk │ │ │ ├── _socket │ │ │ └── Android.mk │ │ │ ├── _sqlite3 │ │ │ └── Android.mk │ │ │ ├── _ssl │ │ │ └── Android.mk │ │ │ ├── pyexpat │ │ │ └── Android.mk │ │ │ ├── select │ │ │ └── Android.mk │ │ │ ├── stdlib │ │ │ └── Android.mk │ │ │ └── unicodedata │ │ │ └── Android.mk │ └── 3.5 │ │ ├── .gitignore │ │ ├── Android.mk │ │ └── frozen │ │ ├── _ctypes │ │ └── Android.mk │ │ ├── _multiprocessing │ │ └── Android.mk │ │ ├── _socket │ │ └── Android.mk │ │ ├── _sqlite3 │ │ └── Android.mk │ │ ├── _ssl │ │ └── Android.mk │ │ ├── pyexpat │ │ └── Android.mk │ │ ├── select │ │ └── Android.mk │ │ ├── stdlib │ │ └── Android.mk │ │ └── unicodedata │ │ └── Android.mk └── third_party │ └── googletest │ ├── Android.mk │ ├── NOTICE │ ├── README.NDK │ ├── googletest │ ├── CHANGES │ ├── LICENSE │ ├── README │ ├── include │ │ └── gtest │ │ │ ├── gtest-death-test.h │ │ │ ├── gtest-message.h │ │ │ ├── gtest-param-test.h │ │ │ ├── gtest-param-test.h.pump │ │ │ ├── gtest-printers.h │ │ │ ├── gtest-spi.h │ │ │ ├── gtest-test-part.h │ │ │ ├── gtest-typed-test.h │ │ │ ├── gtest.h │ │ │ ├── gtest_pred_impl.h │ │ │ ├── gtest_prod.h │ │ │ └── internal │ │ │ ├── gtest-death-test-internal.h │ │ │ ├── gtest-filepath.h │ │ │ ├── gtest-internal.h │ │ │ ├── gtest-linked_ptr.h │ │ │ ├── gtest-param-util-generated.h │ │ │ ├── gtest-param-util-generated.h.pump │ │ │ ├── gtest-param-util.h │ │ │ ├── gtest-port.h │ │ │ ├── gtest-string.h │ │ │ ├── gtest-tuple.h │ │ │ ├── gtest-tuple.h.pump │ │ │ ├── gtest-type-util.h │ │ │ └── gtest-type-util.h.pump │ ├── samples │ │ ├── prime_tables.h │ │ ├── sample1.cc │ │ ├── sample1.h │ │ ├── sample10_unittest.cc │ │ ├── sample1_unittest.cc │ │ ├── sample2.cc │ │ ├── sample2.h │ │ ├── sample2_unittest.cc │ │ ├── sample3-inl.h │ │ ├── sample3_unittest.cc │ │ ├── sample4.cc │ │ ├── sample4.h │ │ ├── sample4_unittest.cc │ │ ├── sample5_unittest.cc │ │ ├── sample6_unittest.cc │ │ ├── sample7_unittest.cc │ │ ├── sample8_unittest.cc │ │ └── sample9_unittest.cc │ ├── src │ │ ├── gtest-all.cc │ │ ├── gtest-death-test.cc │ │ ├── gtest-filepath.cc │ │ ├── gtest-internal-inl.h │ │ ├── gtest-port.cc │ │ ├── gtest-printers.cc │ │ ├── gtest-test-part.cc │ │ ├── gtest-typed-test.cc │ │ ├── gtest.cc │ │ └── gtest_main.cc │ └── test │ │ ├── gtest-death-test_ex_test.cc │ │ ├── gtest-death-test_test.cc │ │ ├── gtest-filepath_test.cc │ │ ├── gtest-linked_ptr_test.cc │ │ ├── gtest-listener_test.cc │ │ ├── gtest-message_test.cc │ │ ├── gtest-options_test.cc │ │ ├── gtest-param-test2_test.cc │ │ ├── gtest-param-test_test.cc │ │ ├── gtest-param-test_test.h │ │ ├── gtest-port_test.cc │ │ ├── gtest-printers_test.cc │ │ ├── gtest-test-part_test.cc │ │ ├── gtest-tuple_test.cc │ │ ├── gtest-typed-test2_test.cc │ │ ├── gtest-typed-test_test.cc │ │ ├── gtest-typed-test_test.h │ │ ├── gtest-unittest-api_test.cc │ │ ├── gtest_all_test.cc │ │ ├── gtest_break_on_failure_unittest.py │ │ ├── gtest_break_on_failure_unittest_.cc │ │ ├── gtest_catch_exceptions_test.py │ │ ├── gtest_catch_exceptions_test_.cc │ │ ├── gtest_color_test.py │ │ ├── gtest_color_test_.cc │ │ ├── gtest_env_var_test.py │ │ ├── gtest_env_var_test_.cc │ │ ├── gtest_environment_test.cc │ │ ├── gtest_filter_unittest.py │ │ ├── gtest_filter_unittest_.cc │ │ ├── gtest_help_test.py │ │ ├── gtest_help_test_.cc │ │ ├── gtest_list_tests_unittest.py │ │ ├── gtest_list_tests_unittest_.cc │ │ ├── gtest_main_unittest.cc │ │ ├── gtest_no_test_unittest.cc │ │ ├── gtest_output_test.py │ │ ├── gtest_output_test_.cc │ │ ├── gtest_output_test_golden_lin.txt │ │ ├── gtest_pred_impl_unittest.cc │ │ ├── gtest_prod_test.cc │ │ ├── gtest_repeat_test.cc │ │ ├── gtest_shuffle_test.py │ │ ├── gtest_shuffle_test_.cc │ │ ├── gtest_sole_header_test.cc │ │ ├── gtest_stress_test.cc │ │ ├── gtest_test_utils.py │ │ ├── gtest_throw_on_failure_ex_test.cc │ │ ├── gtest_throw_on_failure_test.py │ │ ├── gtest_throw_on_failure_test_.cc │ │ ├── gtest_uninitialized_test.py │ │ ├── gtest_uninitialized_test_.cc │ │ ├── gtest_unittest.cc │ │ ├── gtest_xml_outfile1_test_.cc │ │ ├── gtest_xml_outfile2_test_.cc │ │ ├── gtest_xml_outfiles_test.py │ │ ├── gtest_xml_output_unittest.py │ │ ├── gtest_xml_output_unittest_.cc │ │ ├── gtest_xml_test_utils.py │ │ ├── production.cc │ │ └── production.h │ └── patches.ndk │ ├── 0001-Allow-clone-usage-on-MIPS.patch │ ├── 0002-Work-around-broken-abort-on-Android-MIPS.patch │ └── 0003-Allow-clone-usage-on-X86.patch ├── tests ├── .gitignore ├── README ├── __init__.py ├── awk │ ├── extract-launchable │ │ ├── multiple-categories.in │ │ ├── multiple-categories.out │ │ ├── multiple-launchables.in │ │ ├── multiple-launchables.out │ │ ├── no-launchable.in │ │ ├── no-launchable.out │ │ ├── one-launchable.in │ │ └── one-launchable.out │ ├── extract-pid │ │ ├── test-1.in │ │ └── test-1.out │ ├── gen-cygwin-deps-converter │ │ ├── test-1.in │ │ ├── test-1.out │ │ ├── test-2.in │ │ └── test-2.out │ └── gen-windows-host-path │ │ ├── test-1.in │ │ └── test-1.out ├── build │ ├── .gitignore │ ├── absolute-src-file-paths │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ └── src │ │ │ ├── foo.c │ │ │ └── main.c │ ├── ansi │ │ ├── README │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test_ansi.c │ │ │ └── test_ansi.cpp │ ├── awk-trailing-r │ │ ├── AndroidManifest.xml │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── awk-trailing-r.c │ ├── b14811006-GOT_PREL-optimization │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── SkAlphaMulQ.cc │ │ └── properties.json │ ├── b14825026-aarch64-FP_LO_REGS │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── idct_dequant_full_2x_neon.c │ │ └── test_config.py │ ├── b8247455-hidden-cxa │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── idiv.cpp │ │ │ └── throw.cpp │ ├── b9193874-neon │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── b9193874-neon.c │ │ ├── properties.json │ │ └── test_config.py │ ├── build-assembly-file │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── assembly-mips.S │ │ │ ├── assembly-x86.S │ │ │ ├── assembly1.s │ │ │ └── assembly2.S │ ├── build-mode │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── c++-stl-source-extensions │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── main.C │ │ │ ├── main.CPP │ │ │ ├── main.c++ │ │ │ ├── main.cc │ │ │ ├── main.cp │ │ │ ├── main.cpp │ │ │ └── main.cxx │ │ └── test_config.py │ ├── check-armeabi-v7a-prebuilts │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ ├── clang-include-gnu-libc++ │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── clang-include-gnu-libc++.cc │ ├── copysign │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── copysign.cpp │ │ └── test_config.py │ ├── cortex-a53-835769 │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── cortex-a53-835769-1.c │ │ │ └── cortex-a53-835769-2.c │ │ └── test_config.py │ ├── cpp-extensions │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── foo1.cc │ │ │ ├── foo2.cp │ │ │ ├── foo3.cxx │ │ │ ├── foo4.cpp │ │ │ ├── foo5.C │ │ │ ├── foo6.CPP │ │ │ └── main.c++ │ ├── crystax-check-BROKEN_BUILD │ │ └── build.sh │ ├── crystax-check-BROKEN_RUN │ │ └── build.sh │ ├── crystax-check-BUILD_SHOULD_FAIL │ │ └── build.sh │ ├── crystax-check-DISABLED │ │ └── build.sh │ ├── crystax-check-__gnu_linux__ │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-check-host-python-ssl-modules │ │ └── build.sh │ ├── crystax-check-prebuilt-gdb │ │ └── build.sh │ ├── crystax-issue1044-clang-x86_64-crash │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ │ └── properties.json │ ├── crystax-issue1170-alloca-redefined │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-issue1234-fd_set-should-be-exposed-implicitly-by-stdlib_h │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-issue1263-___atomic_add_fetch │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ │ └── properties.json │ ├── crystax-issue1263-clang-64bit-atomics │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ │ └── properties.json │ ├── crystax-issue1340-PTRDIFF_MAX-is-not-defined │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ │ └── properties.json │ ├── crystax-issue1352-libobjc-soname │ │ └── build.sh │ ├── crystax-issue1363-do-not-know-how-to-soften-operand │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ ├── crystax-issue1370-unknown-dwarf-version │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── test.c │ ├── crystax-issue906-long-double │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ ├── crystax-issue922-struct_user-exposed-by-stdlib_h │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-__GCC_HAVE_SYNC_COMPARE_AND_SWAP │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-boost-dependencies │ │ ├── build.sh │ │ └── jni │ │ │ └── test.cpp │ ├── crystax-test-c++-exceptions-and-rtti-enabled-by-default │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── test.cpp │ ├── crystax-test-ext-hash │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── crystax-test-headers │ │ └── build.sh │ ├── crystax-test-libcrystax-linking │ │ └── build.sh │ ├── crystax-test-neon │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── crystax-test-patched-sysroot │ │ └── build.sh │ ├── crystax-test-posix-interfaces │ │ ├── bin │ │ │ ├── gen-aio │ │ │ ├── gen-all │ │ │ ├── gen-cpio │ │ │ ├── gen-errno │ │ │ ├── gen-fcntl │ │ │ ├── gen-fenv │ │ │ ├── gen-float │ │ │ ├── gen-fmtmsg │ │ │ ├── gen-fnmatch │ │ │ ├── gen-ftw │ │ │ ├── gen-glob │ │ │ ├── gen-inttypes │ │ │ ├── gen-iso646 │ │ │ ├── gen-langinfo │ │ │ ├── gen-limits │ │ │ ├── gen-locale │ │ │ ├── gen-math │ │ │ ├── gen-netdb │ │ │ ├── gen-netinet_in │ │ │ ├── gen-poll │ │ │ ├── gen-pthread │ │ │ ├── gen-regex │ │ │ ├── gen-sched │ │ │ ├── gen-signal │ │ │ ├── gen-spawn │ │ │ ├── gen-stdbool │ │ │ ├── gen-stdint │ │ │ ├── gen-stdio │ │ │ ├── gen-stdlib │ │ │ ├── gen-sys_ipc │ │ │ ├── gen-sys_mman │ │ │ ├── gen-sys_resource │ │ │ ├── gen-sys_sem │ │ │ ├── gen-sys_shm │ │ │ ├── gen-sys_socket │ │ │ ├── gen-sys_stat │ │ │ ├── gen-sys_statvfs │ │ │ ├── gen-sys_time │ │ │ ├── gen-sys_wait │ │ │ ├── gen-syslog │ │ │ ├── gen-tar │ │ │ ├── gen-termios │ │ │ ├── gen-tgmath │ │ │ ├── gen-time │ │ │ ├── gen-unistd │ │ │ ├── gen-wchar │ │ │ └── gen-wordexp │ │ ├── build.sh │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── .gitignore │ │ │ ├── Android.mk │ │ │ ├── aio.c │ │ │ ├── arpa_inet.c │ │ │ ├── checkm.c │ │ │ ├── complex.c │ │ │ ├── cpio.c │ │ │ ├── ctype.c │ │ │ ├── dirent.c │ │ │ ├── dlfcn.c │ │ │ ├── errno.c │ │ │ ├── fcntl.c │ │ │ ├── fenv.c │ │ │ ├── float.c │ │ │ ├── fmtmsg.c │ │ │ ├── fnmatch.c │ │ │ ├── ftw.c │ │ │ ├── glob.c │ │ │ ├── grp.c │ │ │ ├── helper.h │ │ │ ├── iconv.c │ │ │ ├── inttypes.c │ │ │ ├── iso646.c │ │ │ ├── langinfo.c │ │ │ ├── libgen.c │ │ │ ├── limits.c │ │ │ ├── locale.c │ │ │ ├── main.c │ │ │ ├── math.c │ │ │ ├── monetary.c │ │ │ ├── mqueue.c │ │ │ ├── ndbm.c │ │ │ ├── net_if.c │ │ │ ├── netdb.c │ │ │ ├── netinet_in.c │ │ │ ├── netinet_tcp.c │ │ │ ├── nl_types.c │ │ │ ├── poll.c │ │ │ ├── pthread.c │ │ │ ├── pwd.c │ │ │ ├── regex.c │ │ │ ├── sched.c │ │ │ ├── search.c │ │ │ ├── semaphore.c │ │ │ ├── setjmp.c │ │ │ ├── signal.c │ │ │ ├── spawn.c │ │ │ ├── stdarg.c │ │ │ ├── stdbool.c │ │ │ ├── stddef.c │ │ │ ├── stdint.c │ │ │ ├── stdio.c │ │ │ ├── stdlib.c │ │ │ ├── string.c │ │ │ ├── strings.c │ │ │ ├── sys_ipc.c │ │ │ ├── sys_mman.c │ │ │ ├── sys_msg.c │ │ │ ├── sys_resource.c │ │ │ ├── sys_select.c │ │ │ ├── sys_sem.c │ │ │ ├── sys_shm.c │ │ │ ├── sys_socket.c │ │ │ ├── sys_stat.c │ │ │ ├── sys_statvfs.c │ │ │ ├── sys_time.c │ │ │ ├── sys_times.c │ │ │ ├── sys_types.c │ │ │ ├── sys_uio.c │ │ │ ├── sys_un.c │ │ │ ├── sys_utsname.c │ │ │ ├── sys_wait.c │ │ │ ├── syslog.c │ │ │ ├── tar.c │ │ │ ├── termios.c │ │ │ ├── tgmath.c │ │ │ ├── time.c │ │ │ ├── unistd.c │ │ │ ├── utime.c │ │ │ ├── wchar.c │ │ │ ├── wctype.c │ │ │ ├── wordexp.c │ │ │ ├── xlocale.c │ │ │ └── xlocale2.c │ ├── crystax-test-prebuilt-macros │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-sync_file_range │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── deprecate-__set_errno │ │ └── build.sh │ ├── fenv │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test_fenv.c │ │ │ └── test_fenv.cpp │ ├── flto │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── flto.c │ │ ├── properties.json │ │ └── test_config.py │ ├── gnustl-force-all │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── forced_all.cpp │ ├── gnustl-force-exceptions │ │ └── build.sh │ ├── gnustl-force-none │ │ └── build.sh │ ├── gnustl-force-rtti │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── forced_rtti.cpp │ ├── import-install │ │ ├── README │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ │ ├── path1 │ │ │ ├── Android.mk │ │ │ ├── path1.c │ │ │ └── path1.h │ │ └── path2 │ │ │ ├── Android.mk │ │ │ ├── path2.c │ │ │ └── path2.h │ ├── import-static │ │ ├── README │ │ ├── bar │ │ │ ├── Android.mk │ │ │ ├── bar.c │ │ │ └── bar.h │ │ ├── build.sh │ │ ├── foo │ │ │ ├── Android.mk │ │ │ ├── foo.c │ │ │ └── foo.h │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── main.c │ ├── issue-gcc59052-partial-specialization-of-template │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue-gcc59052-partial-specialization-of-template.cc │ ├── issue17144-byteswap │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue17144-byteswap.c │ │ └── test_config.py │ ├── issue20862-libpng-O0 │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── png.h │ │ │ ├── pngconf.h │ │ │ ├── pngdebug.h │ │ │ ├── pnginfo.h │ │ │ ├── pnglibconf.h │ │ │ ├── pngpriv.h │ │ │ ├── pngrtran.c │ │ │ └── pngstruct.h │ ├── issue21132-__ARM_ARCH__ │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue21132-__ARM_ARCH__.c │ │ └── test_config.py │ ├── issue22336-ICE-emit-rtl │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue22336-ICE-emit-rtl.cpp │ │ └── test_config.py │ ├── issue22345-ICE-postreload │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue22345-ICE-postreload.cpp │ │ └── test_config.py │ ├── issue34613-neon │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue34613-neon.cpp │ │ └── test_config.py │ ├── issue36131-flto-c++11 │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue36131-flto-c++11.cxx │ │ ├── properties.json │ │ └── test_config.py │ ├── issue38441-Elf32_auxv_t │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue38441-Elf32_auxv_t.c │ ├── issue39824-__BYTE_ORDER │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── issue39824-_BYTE_ORDER.c │ │ │ └── issue39824-__BYTE_ORDER.c │ ├── issue39983-PAGE_SIZE │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue39983-PAGE_SIZE.c │ ├── issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE.c │ ├── issue41297-atomic-64bit │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue41297-atomic-64bit.c │ │ └── test_config.py │ ├── issue41387-uniform-initialized-rvalue │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue41387-uniform-initialized-rvalue.cpp │ ├── issue41770-_GLIBCXX_HAS_GTHREADS │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue41770-_GLIBCXX_HAS_GTHREADS.cpp │ │ └── test_config.py │ ├── issue42841-LOCAL_PATH │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue42841-LOCAL_PATH.c │ ├── issue53163-OpenSLES_AndroidConfiguration │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue53163-OpenSLES_AndroidConfiguration.c │ ├── issue53404-backward-compatibility │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue53404-backward-compatibility.cpp │ ├── issue53711-un_h │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue53711-un_h.c │ ├── issue54465-invalid-asm-operand-out-of-range │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue54465-invalid-asm-operand-out-of-range.cpp │ ├── issue54623-dcraw_common-x86-segfault │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue54623-dcraw_common-x86-segfault.cpp │ ├── issue56508-gcc4.7-ICE │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── extraMachine.c │ ├── issue58135-_C_LABEL_STRING │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue58135-_C_LABEL_STRING.cpp │ ├── issue64679-prctl │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue64679-prctl.cc │ ├── issue65705-asm-pc │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue65705-asm-pc.c │ │ ├── properties.json │ │ └── test_config.py │ ├── issue66668-libc++-std-feof │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue66668-libc++-std-feof.cpp │ ├── issue79114-__builtin___stpncpy_chk │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── __builtin___stpncpy_chk.c │ ├── issue79115-confusing-ld.gold-warning │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue79115-confusing-ld.gold-warning.c │ ├── issue81440-non-ascii-comment │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue81440-non-ascii-comment.cpp │ ├── lambda-defarg3 │ │ ├── COPYING │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── lambda-defarg3.C │ │ └── test_config.py │ ├── merge-string-literals │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── merge-string-literals-1.c │ │ │ └── merge-string-literals-2.c │ ├── mips-fp4 │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── mips-fp4-test1-2.c │ │ │ └── mips-fp4-test3-6.c │ │ ├── properties.json │ │ └── test_config.py │ ├── multi-abi │ │ ├── README │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── multi-module-path │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── test.c │ │ ├── path1 │ │ │ └── foo │ │ │ │ ├── Android.mk │ │ │ │ ├── foo.h │ │ │ │ └── libfoo.c │ │ └── path2 │ │ │ └── bar │ │ │ ├── Android.mk │ │ │ ├── bar.h │ │ │ └── libbar.c │ ├── multiple-static-const │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── foo.cpp │ │ │ ├── main.cpp │ │ │ └── main.h │ ├── ndk-build-unit-tests │ │ ├── build.sh │ │ └── jni │ │ │ └── Android.mk │ ├── ndk-out │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── main.c │ ├── no-installable-modules │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── foo.c │ ├── pch-cpp │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── foo.c │ │ │ ├── foo.cpp │ │ │ └── stdafx.h │ ├── pch-tags │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── bar.cpp │ │ │ ├── foo.cpp │ │ │ └── stdafx.h │ ├── prebuilt-copy │ │ ├── README │ │ ├── build.sh │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ │ └── prebuilts │ │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── bar.c │ │ │ └── foo.c │ ├── project-properties │ │ ├── default.properties │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ └── project.properties │ ├── pthread-rwlock-initializer │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_pthread_rwlock_initializer.c │ ├── short-commands │ │ └── build.sh │ ├── ssax-instructions │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.S │ │ └── test_config.py │ ├── standalone-toolchain │ │ ├── foo.cpp │ │ ├── properties.json │ │ ├── test.py │ │ └── test_config.py │ ├── stdint-c++ │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── gen-sources.sh │ │ │ ├── test_all_macros.cpp │ │ │ ├── test_c.c │ │ │ ├── test_constant_macros.cpp │ │ │ ├── test_limit_macros.cpp │ │ │ └── test_no_macros.cpp │ ├── system-cpp-headers │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── target-c-includes │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── check.c │ │ │ └── include │ │ │ └── math.h │ ├── test-c-only-flags │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test-c-only-flags.cpp │ ├── test-gnustl-chrono │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── hanoi.c │ │ │ ├── hanoi.h │ │ │ └── main.cpp │ ├── test-inet-defs │ │ ├── README │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-in.c │ │ │ └── test-in6.c │ ├── thin-archives │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── bar.c │ │ │ ├── foo.c │ │ │ └── main.c │ ├── topological-sort │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── bar.c │ │ │ ├── bar.h │ │ │ ├── foo.c │ │ │ ├── foo.h │ │ │ ├── foo2.c │ │ │ └── main.c │ ├── ucontext │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── ucontext.c │ ├── warn-bad-modules │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── foo.cpp │ ├── warn-no-ldflags-in-static-libraries │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── foo.c │ ├── warn-no-ldlibs-in-static-libraries │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── foo.c │ ├── warn-no-modules │ │ ├── build.sh │ │ └── jni │ │ │ └── Android.mk │ ├── warn-non-system-libs-in-linker-flags │ │ ├── build.sh │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── foo.c │ │ │ └── main.c │ └── warn-thin-archive-is-for-static-libraries │ │ ├── build.sh │ │ └── jni │ │ ├── Android.mk │ │ └── foo.c ├── device │ ├── asan-smoke │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── asan_oob_test.cc │ │ ├── properties.json │ │ └── test_config.py │ ├── b16355626-bad-atof-strtod │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── b16355626-bad-atof-strtod.cpp │ ├── b16355858 │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── sample.c │ │ │ └── sample_lib.c │ ├── b8708181-Vector4 │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── Vector4.cpp │ │ └── test_config.py │ ├── bitfield │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── func.c │ │ │ ├── header.h │ │ │ └── main.c │ ├── clone │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── clone.c │ ├── crystax-issue1003-pw_gecos │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-issue1046-dlopen-unknown-reloc-type-160 │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── main.c │ │ │ └── test.cpp │ │ └── properties.json │ ├── crystax-issue1163-dladdr │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── foo.c │ │ │ ├── foo.h │ │ │ └── main.c │ ├── crystax-issue1188-wrong-static-library-link │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── lib-shared.cpp │ │ │ ├── lib-shared.hpp │ │ │ ├── lib-static.cpp │ │ │ ├── lib-static.hpp │ │ │ └── test.cpp │ ├── crystax-issue1194-posix_memalign │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-issue1252-swab │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-issue1360-boost_locale_issetugid │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issetugidtest.cpp │ ├── crystax-issue1369-lrintf │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-issue1398-esdb │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ │ └── properties.json │ ├── crystax-issue1399-gmtime-return-NULL-tm_zone │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-issue1436-gethostname │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-issue350-copy-with-zone │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.m │ │ └── properties.json │ ├── crystax-issue355-clock_nanosleep │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ │ └── properties.json │ ├── crystax-issue57-std_atomic │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ ├── crystax-issue876-swapNN │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── assert.h │ │ │ ├── function.c │ │ │ ├── macro.c │ │ │ └── main.c │ ├── crystax-issue912-__tls_get_addr │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test.c │ │ │ └── tga.c │ │ └── properties.json │ ├── crystax-issue995-objective-c-literals │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.m │ │ └── properties.json │ ├── crystax-test-alignof │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.cpp │ ├── crystax-test-big-switch │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── gen │ ├── crystax-test-bionic │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ └── properties.json │ ├── crystax-test-boost-serialization │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── gps.cpp │ │ │ ├── gps.hpp │ │ │ └── test.cpp │ ├── crystax-test-c++11 │ │ ├── .syntastic │ │ │ └── cxx │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── common.h │ │ │ ├── main.cpp │ │ │ ├── test-chrono-duration.cpp │ │ │ ├── test-language.cpp │ │ │ ├── test-stol.cpp │ │ │ ├── test-thread.cpp │ │ │ ├── test-to-string.cpp │ │ │ └── test-to-wstring.cpp │ ├── crystax-test-c99-complex │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ │ └── properties.json │ ├── crystax-test-c99-stdlib │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-cmake │ │ ├── CMakeLists.txt │ │ └── test.c │ ├── crystax-test-dynamic_cast │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── crystax-test-executables │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-fcntl │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── fcntl.c │ ├── crystax-test-float-abi │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test-float.c │ ├── crystax-test-getauxval │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-test-iostream │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── crystax-test-libcrystax │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── absolutize.cpp │ │ │ ├── basename.cpp │ │ │ ├── common.h │ │ │ ├── dirname.cpp │ │ │ ├── is_absolute.cpp │ │ │ ├── is_normalized.cpp │ │ │ ├── is_subpath.cpp │ │ │ ├── list.cpp │ │ │ ├── main.cpp │ │ │ ├── normalize.cpp │ │ │ ├── open-self.cpp │ │ │ ├── path.cpp │ │ │ └── relpath.cpp │ ├── crystax-test-libjpeg-turbo │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-test-libjpeg │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-test-libkqueue │ │ ├── config.h │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ ├── crystax-test-libpng │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-test-locales │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-setlocale.c │ │ │ ├── test-strfmon.c │ │ │ └── test-strftime.c │ ├── crystax-test-msun │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-cexp.c │ │ │ ├── test-conj.c │ │ │ ├── test-csqrt.c │ │ │ ├── test-ctrig.c │ │ │ ├── test-exponential.c │ │ │ ├── test-fenv.c │ │ │ ├── test-fma.c │ │ │ ├── test-fmaxmin.c │ │ │ ├── test-ilogb.c │ │ │ ├── test-invctrig.c │ │ │ ├── test-invtrig.c │ │ │ ├── test-logarithm.c │ │ │ ├── test-lrint.c │ │ │ ├── test-lround.c │ │ │ ├── test-nan.c │ │ │ ├── test-nearbyint.c │ │ │ ├── test-next.c │ │ │ ├── test-rem.c │ │ │ ├── test-trig.c │ │ │ └── test-utils.h │ ├── crystax-test-objc-blocks │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.m │ │ └── properties.json │ ├── crystax-test-objc-cocotron │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-assert.m │ │ │ ├── test-base.m │ │ │ ├── test-exception.m │ │ │ ├── test-nslog.m │ │ │ └── test-string.m │ │ └── properties.json │ ├── crystax-test-objc-runtime │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── objc.m │ │ │ ├── objcxx.mm │ │ │ └── test.c │ │ └── properties.json │ ├── crystax-test-openpts │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ └── properties.json │ ├── crystax-test-pthread_workqueue │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ └── properties.json │ ├── crystax-test-rand_r │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-regex │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── crystax-test-setjmp │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-sincos │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-sincos-c.c │ │ │ ├── test-sincos-cpp.cpp │ │ │ └── test-sincos-main.c │ ├── crystax-test-sqlite3 │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test.c │ ├── crystax-test-std-atomic-crashes │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cc │ │ └── properties.json │ ├── crystax-test-stdatomic.h │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-stdio │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-fmemopen.c │ │ │ ├── test-fopen.c │ │ │ ├── test-getdelim.c │ │ │ ├── test-getline.c │ │ │ ├── test-open_memstream.c │ │ │ ├── test-open_wmemstream.c │ │ │ ├── test-popen.c │ │ │ ├── test-print-positional.c │ │ │ ├── test-printbasic.c │ │ │ ├── test-printf-data.inc │ │ │ ├── test-printf.c │ │ │ ├── test-printfloat.c │ │ │ └── test-scanfloat.c │ ├── crystax-test-stream-float-output │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test-stream-float-output.cpp │ ├── crystax-test-strtod │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-wchar-minmax │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ └── GNUmakefile │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── crystax-test-wchar │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test-btowc.c │ │ │ ├── test-iswctype.c │ │ │ ├── test-mblen.c │ │ │ ├── test-mbrlen.c │ │ │ ├── test-mbrtowc.c │ │ │ ├── test-mbsnrtowcs.c │ │ │ ├── test-mbsrtowcs.c │ │ │ ├── test-mbstowcs.c │ │ │ ├── test-mbtowc.c │ │ │ ├── test-ms-wprintf.c │ │ │ ├── test-towctrans.c │ │ │ ├── test-wcrtomb.c │ │ │ ├── test-wcscasecmp.c │ │ │ ├── test-wcslen-cpp.cpp │ │ │ ├── test-wcslen.c │ │ │ ├── test-wcsnlen.c │ │ │ ├── test-wcsnrtombs.c │ │ │ ├── test-wcsrtombs.c │ │ │ ├── test-wcstombs.c │ │ │ ├── test-wctomb.c │ │ │ ├── test-wprintf.c │ │ │ ├── test-wscanf.c │ │ │ ├── test-wstring.cpp │ │ │ └── wprintf.inc │ ├── emm │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── emm.c │ │ └── test_config.py │ ├── exceptions-crash │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── foo.cpp │ │ │ └── main.cpp │ ├── fenv │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_fenv.c │ │ └── test_config.py │ ├── gnustl-shared-1 │ │ ├── README │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── foo.cpp │ │ │ └── main.cpp │ ├── issue19851-sigsetjmp │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue19851-sigsetjmp.c │ │ └── test_config.py │ ├── issue20176-__gnu_Unwind_Find_exidx │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue20176-__gnu_Unwind_Find_exidx.cpp │ │ └── test_config.py │ ├── issue22165-typeinfo │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── main.cpp │ │ │ ├── myexception.h │ │ │ ├── throwable.cpp │ │ │ └── throwable.h │ ├── issue28598-linker-global-ref │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── liba.cpp │ │ │ ├── liba.h │ │ │ └── main.cpp │ ├── issue35933-lambda │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue35933-lambda.cpp │ ├── issue39680-chrono-resolution │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue39680-chrono-resolution.cpp │ ├── issue42891-boost-1_52 │ │ ├── COPYING │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── boost │ │ │ │ └── boost │ │ │ │ │ ├── algorithm │ │ │ │ │ └── string │ │ │ │ │ │ ├── compare.hpp │ │ │ │ │ │ ├── concept.hpp │ │ │ │ │ │ ├── config.hpp │ │ │ │ │ │ ├── constants.hpp │ │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── find_format.hpp │ │ │ │ │ │ ├── find_format_all.hpp │ │ │ │ │ │ ├── find_format_store.hpp │ │ │ │ │ │ ├── finder.hpp │ │ │ │ │ │ ├── formatter.hpp │ │ │ │ │ │ ├── replace_storage.hpp │ │ │ │ │ │ ├── sequence.hpp │ │ │ │ │ │ └── util.hpp │ │ │ │ │ │ ├── find_format.hpp │ │ │ │ │ │ ├── finder.hpp │ │ │ │ │ │ ├── formatter.hpp │ │ │ │ │ │ ├── replace.hpp │ │ │ │ │ │ ├── sequence_traits.hpp │ │ │ │ │ │ └── yes_no_type.hpp │ │ │ │ │ ├── aligned_storage.hpp │ │ │ │ │ ├── array.hpp │ │ │ │ │ ├── assert.hpp │ │ │ │ │ ├── bind.hpp │ │ │ │ │ ├── bind │ │ │ │ │ ├── arg.hpp │ │ │ │ │ ├── bind.hpp │ │ │ │ │ ├── bind_cc.hpp │ │ │ │ │ ├── bind_mf2_cc.hpp │ │ │ │ │ ├── bind_mf_cc.hpp │ │ │ │ │ ├── bind_template.hpp │ │ │ │ │ ├── mem_fn.hpp │ │ │ │ │ ├── mem_fn_cc.hpp │ │ │ │ │ ├── mem_fn_template.hpp │ │ │ │ │ ├── placeholders.hpp │ │ │ │ │ └── storage.hpp │ │ │ │ │ ├── call_traits.hpp │ │ │ │ │ ├── checked_delete.hpp │ │ │ │ │ ├── concept │ │ │ │ │ ├── assert.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── backward_compatibility.hpp │ │ │ │ │ │ ├── concept_def.hpp │ │ │ │ │ │ ├── concept_undef.hpp │ │ │ │ │ │ ├── general.hpp │ │ │ │ │ │ └── has_constraints.hpp │ │ │ │ │ └── usage.hpp │ │ │ │ │ ├── concept_check.hpp │ │ │ │ │ ├── config.hpp │ │ │ │ │ ├── config │ │ │ │ │ ├── compiler │ │ │ │ │ │ ├── clang.hpp │ │ │ │ │ │ └── gcc.hpp │ │ │ │ │ ├── no_tr1 │ │ │ │ │ │ ├── cmath.hpp │ │ │ │ │ │ ├── complex.hpp │ │ │ │ │ │ ├── memory.hpp │ │ │ │ │ │ └── utility.hpp │ │ │ │ │ ├── platform │ │ │ │ │ │ └── linux.hpp │ │ │ │ │ ├── posix_features.hpp │ │ │ │ │ ├── select_compiler_config.hpp │ │ │ │ │ ├── select_platform_config.hpp │ │ │ │ │ ├── select_stdlib_config.hpp │ │ │ │ │ ├── stdlib │ │ │ │ │ │ └── libstdcpp3.hpp │ │ │ │ │ ├── suffix.hpp │ │ │ │ │ └── user.hpp │ │ │ │ │ ├── container │ │ │ │ │ └── container_fwd.hpp │ │ │ │ │ ├── cstdint.hpp │ │ │ │ │ ├── cstdlib.hpp │ │ │ │ │ ├── current_function.hpp │ │ │ │ │ ├── detail │ │ │ │ │ ├── binary_search.hpp │ │ │ │ │ ├── call_traits.hpp │ │ │ │ │ ├── endian.hpp │ │ │ │ │ ├── fenv.hpp │ │ │ │ │ ├── indirect_traits.hpp │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ ├── lcast_precision.hpp │ │ │ │ │ ├── reference_content.hpp │ │ │ │ │ ├── sp_typeinfo.hpp │ │ │ │ │ └── workaround.hpp │ │ │ │ │ ├── exception │ │ │ │ │ ├── current_exception_cast.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── attribute_noreturn.hpp │ │ │ │ │ │ ├── error_info_impl.hpp │ │ │ │ │ │ └── type_info.hpp │ │ │ │ │ ├── exception.hpp │ │ │ │ │ └── get_error_info.hpp │ │ │ │ │ ├── functional │ │ │ │ │ ├── hash │ │ │ │ │ │ └── hash_fwd.hpp │ │ │ │ │ └── hash_fwd.hpp │ │ │ │ │ ├── get_pointer.hpp │ │ │ │ │ ├── integer_traits.hpp │ │ │ │ │ ├── io │ │ │ │ │ └── ios_state.hpp │ │ │ │ │ ├── io_fwd.hpp │ │ │ │ │ ├── is_placeholder.hpp │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ ├── iterator │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── config_def.hpp │ │ │ │ │ │ ├── config_undef.hpp │ │ │ │ │ │ ├── enable_if.hpp │ │ │ │ │ │ └── facade_iterator_category.hpp │ │ │ │ │ ├── interoperable.hpp │ │ │ │ │ ├── iterator_adaptor.hpp │ │ │ │ │ ├── iterator_categories.hpp │ │ │ │ │ ├── iterator_concepts.hpp │ │ │ │ │ ├── iterator_facade.hpp │ │ │ │ │ ├── iterator_traits.hpp │ │ │ │ │ └── reverse_iterator.hpp │ │ │ │ │ ├── lexical_cast.hpp │ │ │ │ │ ├── limits.hpp │ │ │ │ │ ├── math │ │ │ │ │ ├── policies │ │ │ │ │ │ └── policy.hpp │ │ │ │ │ ├── special_functions │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ ├── fp_traits.hpp │ │ │ │ │ │ │ └── round_fwd.hpp │ │ │ │ │ │ ├── fpclassify.hpp │ │ │ │ │ │ ├── math_fwd.hpp │ │ │ │ │ │ └── sign.hpp │ │ │ │ │ └── tools │ │ │ │ │ │ ├── config.hpp │ │ │ │ │ │ ├── promotion.hpp │ │ │ │ │ │ ├── real_cast.hpp │ │ │ │ │ │ └── user.hpp │ │ │ │ │ ├── mem_fn.hpp │ │ │ │ │ ├── memory_order.hpp │ │ │ │ │ ├── mpl │ │ │ │ │ ├── O1_size.hpp │ │ │ │ │ ├── O1_size_fwd.hpp │ │ │ │ │ ├── advance.hpp │ │ │ │ │ ├── advance_fwd.hpp │ │ │ │ │ ├── always.hpp │ │ │ │ │ ├── and.hpp │ │ │ │ │ ├── apply.hpp │ │ │ │ │ ├── apply_fwd.hpp │ │ │ │ │ ├── apply_wrap.hpp │ │ │ │ │ ├── arg.hpp │ │ │ │ │ ├── arg_fwd.hpp │ │ │ │ │ ├── assert.hpp │ │ │ │ │ ├── at.hpp │ │ │ │ │ ├── at_fwd.hpp │ │ │ │ │ ├── aux_ │ │ │ │ │ │ ├── O1_size_impl.hpp │ │ │ │ │ │ ├── adl_barrier.hpp │ │ │ │ │ │ ├── advance_backward.hpp │ │ │ │ │ │ ├── advance_forward.hpp │ │ │ │ │ │ ├── arg_typedef.hpp │ │ │ │ │ │ ├── arithmetic_op.hpp │ │ │ │ │ │ ├── arity.hpp │ │ │ │ │ │ ├── arity_spec.hpp │ │ │ │ │ │ ├── at_impl.hpp │ │ │ │ │ │ ├── begin_end_impl.hpp │ │ │ │ │ │ ├── clear_impl.hpp │ │ │ │ │ │ ├── common_name_wknd.hpp │ │ │ │ │ │ ├── comparison_op.hpp │ │ │ │ │ │ ├── config │ │ │ │ │ │ │ ├── adl.hpp │ │ │ │ │ │ │ ├── arrays.hpp │ │ │ │ │ │ │ ├── bcc.hpp │ │ │ │ │ │ │ ├── bind.hpp │ │ │ │ │ │ │ ├── compiler.hpp │ │ │ │ │ │ │ ├── ctps.hpp │ │ │ │ │ │ │ ├── dtp.hpp │ │ │ │ │ │ │ ├── eti.hpp │ │ │ │ │ │ │ ├── forwarding.hpp │ │ │ │ │ │ │ ├── gcc.hpp │ │ │ │ │ │ │ ├── has_apply.hpp │ │ │ │ │ │ │ ├── has_xxx.hpp │ │ │ │ │ │ │ ├── integral.hpp │ │ │ │ │ │ │ ├── intel.hpp │ │ │ │ │ │ │ ├── lambda.hpp │ │ │ │ │ │ │ ├── msvc.hpp │ │ │ │ │ │ │ ├── msvc_typename.hpp │ │ │ │ │ │ │ ├── nttp.hpp │ │ │ │ │ │ │ ├── overload_resolution.hpp │ │ │ │ │ │ │ ├── pp_counter.hpp │ │ │ │ │ │ │ ├── preprocessor.hpp │ │ │ │ │ │ │ ├── static_constant.hpp │ │ │ │ │ │ │ ├── ttp.hpp │ │ │ │ │ │ │ ├── typeof.hpp │ │ │ │ │ │ │ ├── use_preprocessed.hpp │ │ │ │ │ │ │ └── workaround.hpp │ │ │ │ │ │ ├── contains_impl.hpp │ │ │ │ │ │ ├── find_if_pred.hpp │ │ │ │ │ │ ├── fold_impl.hpp │ │ │ │ │ │ ├── full_lambda.hpp │ │ │ │ │ │ ├── has_apply.hpp │ │ │ │ │ │ ├── has_begin.hpp │ │ │ │ │ │ ├── has_size.hpp │ │ │ │ │ │ ├── has_tag.hpp │ │ │ │ │ │ ├── has_type.hpp │ │ │ │ │ │ ├── include_preprocessed.hpp │ │ │ │ │ │ ├── inserter_algorithm.hpp │ │ │ │ │ │ ├── integral_wrapper.hpp │ │ │ │ │ │ ├── is_msvc_eti_arg.hpp │ │ │ │ │ │ ├── iter_apply.hpp │ │ │ │ │ │ ├── iter_fold_if_impl.hpp │ │ │ │ │ │ ├── iter_fold_impl.hpp │ │ │ │ │ │ ├── lambda_arity_param.hpp │ │ │ │ │ │ ├── lambda_spec.hpp │ │ │ │ │ │ ├── lambda_support.hpp │ │ │ │ │ │ ├── largest_int.hpp │ │ │ │ │ │ ├── msvc_eti_base.hpp │ │ │ │ │ │ ├── msvc_never_true.hpp │ │ │ │ │ │ ├── msvc_type.hpp │ │ │ │ │ │ ├── na.hpp │ │ │ │ │ │ ├── na_assert.hpp │ │ │ │ │ │ ├── na_fwd.hpp │ │ │ │ │ │ ├── na_spec.hpp │ │ │ │ │ │ ├── nested_type_wknd.hpp │ │ │ │ │ │ ├── nttp_decl.hpp │ │ │ │ │ │ ├── numeric_cast_utils.hpp │ │ │ │ │ │ ├── numeric_op.hpp │ │ │ │ │ │ ├── preprocessed │ │ │ │ │ │ │ └── gcc │ │ │ │ │ │ │ │ ├── advance_backward.hpp │ │ │ │ │ │ │ │ ├── advance_forward.hpp │ │ │ │ │ │ │ │ ├── and.hpp │ │ │ │ │ │ │ │ ├── apply.hpp │ │ │ │ │ │ │ │ ├── apply_fwd.hpp │ │ │ │ │ │ │ │ ├── apply_wrap.hpp │ │ │ │ │ │ │ │ ├── arg.hpp │ │ │ │ │ │ │ │ ├── bind.hpp │ │ │ │ │ │ │ │ ├── bind_fwd.hpp │ │ │ │ │ │ │ │ ├── equal_to.hpp │ │ │ │ │ │ │ │ ├── fold_impl.hpp │ │ │ │ │ │ │ │ ├── full_lambda.hpp │ │ │ │ │ │ │ │ ├── greater.hpp │ │ │ │ │ │ │ │ ├── greater_equal.hpp │ │ │ │ │ │ │ │ ├── iter_fold_if_impl.hpp │ │ │ │ │ │ │ │ ├── iter_fold_impl.hpp │ │ │ │ │ │ │ │ ├── less.hpp │ │ │ │ │ │ │ │ ├── less_equal.hpp │ │ │ │ │ │ │ │ ├── list.hpp │ │ │ │ │ │ │ │ ├── minus.hpp │ │ │ │ │ │ │ │ ├── not_equal_to.hpp │ │ │ │ │ │ │ │ ├── or.hpp │ │ │ │ │ │ │ │ ├── placeholders.hpp │ │ │ │ │ │ │ │ ├── plus.hpp │ │ │ │ │ │ │ │ ├── quote.hpp │ │ │ │ │ │ │ │ ├── reverse_fold_impl.hpp │ │ │ │ │ │ │ │ ├── template_arity.hpp │ │ │ │ │ │ │ │ ├── times.hpp │ │ │ │ │ │ │ │ └── vector.hpp │ │ │ │ │ │ ├── preprocessor │ │ │ │ │ │ │ ├── def_params_tail.hpp │ │ │ │ │ │ │ ├── default_params.hpp │ │ │ │ │ │ │ ├── enum.hpp │ │ │ │ │ │ │ └── params.hpp │ │ │ │ │ │ ├── push_back_impl.hpp │ │ │ │ │ │ ├── push_front_impl.hpp │ │ │ │ │ │ ├── reverse_fold_impl.hpp │ │ │ │ │ │ ├── size_impl.hpp │ │ │ │ │ │ ├── static_cast.hpp │ │ │ │ │ │ ├── template_arity.hpp │ │ │ │ │ │ ├── template_arity_fwd.hpp │ │ │ │ │ │ ├── traits_lambda_spec.hpp │ │ │ │ │ │ ├── type_wrapper.hpp │ │ │ │ │ │ ├── unwrap.hpp │ │ │ │ │ │ ├── value_wknd.hpp │ │ │ │ │ │ └── yes_no.hpp │ │ │ │ │ ├── back_fwd.hpp │ │ │ │ │ ├── back_inserter.hpp │ │ │ │ │ ├── begin_end.hpp │ │ │ │ │ ├── begin_end_fwd.hpp │ │ │ │ │ ├── bind.hpp │ │ │ │ │ ├── bind_fwd.hpp │ │ │ │ │ ├── bool.hpp │ │ │ │ │ ├── bool_fwd.hpp │ │ │ │ │ ├── clear.hpp │ │ │ │ │ ├── clear_fwd.hpp │ │ │ │ │ ├── comparison.hpp │ │ │ │ │ ├── contains.hpp │ │ │ │ │ ├── contains_fwd.hpp │ │ │ │ │ ├── deref.hpp │ │ │ │ │ ├── distance.hpp │ │ │ │ │ ├── distance_fwd.hpp │ │ │ │ │ ├── empty_fwd.hpp │ │ │ │ │ ├── equal_to.hpp │ │ │ │ │ ├── eval_if.hpp │ │ │ │ │ ├── find.hpp │ │ │ │ │ ├── find_if.hpp │ │ │ │ │ ├── fold.hpp │ │ │ │ │ ├── for_each.hpp │ │ │ │ │ ├── front_fwd.hpp │ │ │ │ │ ├── front_inserter.hpp │ │ │ │ │ ├── greater.hpp │ │ │ │ │ ├── greater_equal.hpp │ │ │ │ │ ├── has_xxx.hpp │ │ │ │ │ ├── identity.hpp │ │ │ │ │ ├── if.hpp │ │ │ │ │ ├── inserter.hpp │ │ │ │ │ ├── int.hpp │ │ │ │ │ ├── int_fwd.hpp │ │ │ │ │ ├── integral_c.hpp │ │ │ │ │ ├── integral_c_fwd.hpp │ │ │ │ │ ├── integral_c_tag.hpp │ │ │ │ │ ├── is_sequence.hpp │ │ │ │ │ ├── iter_fold.hpp │ │ │ │ │ ├── iter_fold_if.hpp │ │ │ │ │ ├── iterator_range.hpp │ │ │ │ │ ├── iterator_tags.hpp │ │ │ │ │ ├── lambda.hpp │ │ │ │ │ ├── lambda_fwd.hpp │ │ │ │ │ ├── less.hpp │ │ │ │ │ ├── less_equal.hpp │ │ │ │ │ ├── limits │ │ │ │ │ │ ├── arity.hpp │ │ │ │ │ │ ├── list.hpp │ │ │ │ │ │ └── vector.hpp │ │ │ │ │ ├── list.hpp │ │ │ │ │ ├── list │ │ │ │ │ │ ├── aux_ │ │ │ │ │ │ │ ├── O1_size.hpp │ │ │ │ │ │ │ ├── begin_end.hpp │ │ │ │ │ │ │ ├── clear.hpp │ │ │ │ │ │ │ ├── empty.hpp │ │ │ │ │ │ │ ├── front.hpp │ │ │ │ │ │ │ ├── include_preprocessed.hpp │ │ │ │ │ │ │ ├── item.hpp │ │ │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ │ │ ├── pop_front.hpp │ │ │ │ │ │ │ ├── preprocessed │ │ │ │ │ │ │ │ └── plain │ │ │ │ │ │ │ │ │ ├── list10.hpp │ │ │ │ │ │ │ │ │ └── list20.hpp │ │ │ │ │ │ │ ├── push_back.hpp │ │ │ │ │ │ │ ├── push_front.hpp │ │ │ │ │ │ │ ├── size.hpp │ │ │ │ │ │ │ └── tag.hpp │ │ │ │ │ │ ├── list0.hpp │ │ │ │ │ │ ├── list10.hpp │ │ │ │ │ │ └── list20.hpp │ │ │ │ │ ├── logical.hpp │ │ │ │ │ ├── long.hpp │ │ │ │ │ ├── long_fwd.hpp │ │ │ │ │ ├── minus.hpp │ │ │ │ │ ├── multiplies.hpp │ │ │ │ │ ├── negate.hpp │ │ │ │ │ ├── next.hpp │ │ │ │ │ ├── next_prior.hpp │ │ │ │ │ ├── not.hpp │ │ │ │ │ ├── not_equal_to.hpp │ │ │ │ │ ├── numeric_cast.hpp │ │ │ │ │ ├── or.hpp │ │ │ │ │ ├── pair.hpp │ │ │ │ │ ├── placeholders.hpp │ │ │ │ │ ├── plus.hpp │ │ │ │ │ ├── pop_back_fwd.hpp │ │ │ │ │ ├── pop_front_fwd.hpp │ │ │ │ │ ├── prior.hpp │ │ │ │ │ ├── protect.hpp │ │ │ │ │ ├── push_back.hpp │ │ │ │ │ ├── push_back_fwd.hpp │ │ │ │ │ ├── push_front.hpp │ │ │ │ │ ├── push_front_fwd.hpp │ │ │ │ │ ├── quote.hpp │ │ │ │ │ ├── remove_if.hpp │ │ │ │ │ ├── reverse_fold.hpp │ │ │ │ │ ├── same_as.hpp │ │ │ │ │ ├── sequence_tag.hpp │ │ │ │ │ ├── sequence_tag_fwd.hpp │ │ │ │ │ ├── size.hpp │ │ │ │ │ ├── size_fwd.hpp │ │ │ │ │ ├── size_t.hpp │ │ │ │ │ ├── size_t_fwd.hpp │ │ │ │ │ ├── tag.hpp │ │ │ │ │ ├── times.hpp │ │ │ │ │ ├── vector.hpp │ │ │ │ │ ├── vector │ │ │ │ │ │ ├── aux_ │ │ │ │ │ │ │ ├── O1_size.hpp │ │ │ │ │ │ │ ├── at.hpp │ │ │ │ │ │ │ ├── back.hpp │ │ │ │ │ │ │ ├── begin_end.hpp │ │ │ │ │ │ │ ├── clear.hpp │ │ │ │ │ │ │ ├── empty.hpp │ │ │ │ │ │ │ ├── front.hpp │ │ │ │ │ │ │ ├── include_preprocessed.hpp │ │ │ │ │ │ │ ├── item.hpp │ │ │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ │ │ ├── pop_back.hpp │ │ │ │ │ │ │ ├── pop_front.hpp │ │ │ │ │ │ │ ├── preprocessed │ │ │ │ │ │ │ │ └── typeof_based │ │ │ │ │ │ │ │ │ ├── vector10.hpp │ │ │ │ │ │ │ │ │ └── vector20.hpp │ │ │ │ │ │ │ ├── push_back.hpp │ │ │ │ │ │ │ ├── push_front.hpp │ │ │ │ │ │ │ ├── size.hpp │ │ │ │ │ │ │ ├── tag.hpp │ │ │ │ │ │ │ └── vector0.hpp │ │ │ │ │ │ ├── vector0.hpp │ │ │ │ │ │ ├── vector10.hpp │ │ │ │ │ │ └── vector20.hpp │ │ │ │ │ ├── void.hpp │ │ │ │ │ └── void_fwd.hpp │ │ │ │ │ ├── next_prior.hpp │ │ │ │ │ ├── noncopyable.hpp │ │ │ │ │ ├── none.hpp │ │ │ │ │ ├── none_t.hpp │ │ │ │ │ ├── numeric │ │ │ │ │ └── conversion │ │ │ │ │ │ ├── bounds.hpp │ │ │ │ │ │ ├── cast.hpp │ │ │ │ │ │ ├── conversion_traits.hpp │ │ │ │ │ │ ├── converter.hpp │ │ │ │ │ │ ├── converter_policies.hpp │ │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── bounds.hpp │ │ │ │ │ │ ├── conversion_traits.hpp │ │ │ │ │ │ ├── converter.hpp │ │ │ │ │ │ ├── int_float_mixture.hpp │ │ │ │ │ │ ├── is_subranged.hpp │ │ │ │ │ │ ├── meta.hpp │ │ │ │ │ │ ├── numeric_cast_traits.hpp │ │ │ │ │ │ ├── preprocessed │ │ │ │ │ │ │ ├── numeric_cast_traits_common.hpp │ │ │ │ │ │ │ └── numeric_cast_traits_long_long.hpp │ │ │ │ │ │ ├── sign_mixture.hpp │ │ │ │ │ │ └── udt_builtin_mixture.hpp │ │ │ │ │ │ ├── int_float_mixture_enum.hpp │ │ │ │ │ │ ├── numeric_cast_traits.hpp │ │ │ │ │ │ ├── sign_mixture_enum.hpp │ │ │ │ │ │ └── udt_builtin_mixture_enum.hpp │ │ │ │ │ ├── optional.hpp │ │ │ │ │ ├── optional │ │ │ │ │ ├── optional.hpp │ │ │ │ │ └── optional_fwd.hpp │ │ │ │ │ ├── preprocessor │ │ │ │ │ ├── arithmetic │ │ │ │ │ │ ├── add.hpp │ │ │ │ │ │ ├── dec.hpp │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ └── div_base.hpp │ │ │ │ │ │ ├── inc.hpp │ │ │ │ │ │ ├── mod.hpp │ │ │ │ │ │ └── sub.hpp │ │ │ │ │ ├── array │ │ │ │ │ │ ├── data.hpp │ │ │ │ │ │ ├── elem.hpp │ │ │ │ │ │ └── size.hpp │ │ │ │ │ ├── cat.hpp │ │ │ │ │ ├── comma_if.hpp │ │ │ │ │ ├── comparison │ │ │ │ │ │ └── less_equal.hpp │ │ │ │ │ ├── config │ │ │ │ │ │ └── config.hpp │ │ │ │ │ ├── control │ │ │ │ │ │ ├── deduce_d.hpp │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ └── while.hpp │ │ │ │ │ │ ├── expr_iif.hpp │ │ │ │ │ │ ├── if.hpp │ │ │ │ │ │ ├── iif.hpp │ │ │ │ │ │ └── while.hpp │ │ │ │ │ ├── debug │ │ │ │ │ │ └── error.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── auto_rec.hpp │ │ │ │ │ │ ├── check.hpp │ │ │ │ │ │ └── is_binary.hpp │ │ │ │ │ ├── empty.hpp │ │ │ │ │ ├── facilities │ │ │ │ │ │ ├── empty.hpp │ │ │ │ │ │ ├── identity.hpp │ │ │ │ │ │ └── overload.hpp │ │ │ │ │ ├── identity.hpp │ │ │ │ │ ├── inc.hpp │ │ │ │ │ ├── iteration │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ ├── bounds │ │ │ │ │ │ │ │ ├── lower1.hpp │ │ │ │ │ │ │ │ └── upper1.hpp │ │ │ │ │ │ │ └── iter │ │ │ │ │ │ │ │ └── forward1.hpp │ │ │ │ │ │ └── iterate.hpp │ │ │ │ │ ├── list │ │ │ │ │ │ ├── adt.hpp │ │ │ │ │ │ ├── append.hpp │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ ├── fold_left.hpp │ │ │ │ │ │ │ └── fold_right.hpp │ │ │ │ │ │ ├── fold_left.hpp │ │ │ │ │ │ ├── fold_right.hpp │ │ │ │ │ │ ├── for_each_i.hpp │ │ │ │ │ │ ├── reverse.hpp │ │ │ │ │ │ └── transform.hpp │ │ │ │ │ ├── logical │ │ │ │ │ │ ├── and.hpp │ │ │ │ │ │ ├── bitand.hpp │ │ │ │ │ │ ├── bool.hpp │ │ │ │ │ │ ├── compl.hpp │ │ │ │ │ │ └── not.hpp │ │ │ │ │ ├── punctuation │ │ │ │ │ │ ├── comma.hpp │ │ │ │ │ │ ├── comma_if.hpp │ │ │ │ │ │ └── paren.hpp │ │ │ │ │ ├── repeat.hpp │ │ │ │ │ ├── repetition │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ └── for.hpp │ │ │ │ │ │ ├── enum.hpp │ │ │ │ │ │ ├── enum_binary_params.hpp │ │ │ │ │ │ ├── enum_params.hpp │ │ │ │ │ │ ├── enum_trailing_params.hpp │ │ │ │ │ │ ├── for.hpp │ │ │ │ │ │ ├── repeat.hpp │ │ │ │ │ │ └── repeat_from_to.hpp │ │ │ │ │ ├── seq │ │ │ │ │ │ ├── cat.hpp │ │ │ │ │ │ ├── elem.hpp │ │ │ │ │ │ ├── enum.hpp │ │ │ │ │ │ ├── fold_left.hpp │ │ │ │ │ │ ├── for_each.hpp │ │ │ │ │ │ ├── for_each_i.hpp │ │ │ │ │ │ ├── seq.hpp │ │ │ │ │ │ ├── size.hpp │ │ │ │ │ │ └── transform.hpp │ │ │ │ │ ├── slot │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ ├── def.hpp │ │ │ │ │ │ │ └── shared.hpp │ │ │ │ │ │ └── slot.hpp │ │ │ │ │ ├── stringize.hpp │ │ │ │ │ ├── tuple │ │ │ │ │ │ ├── eat.hpp │ │ │ │ │ │ ├── elem.hpp │ │ │ │ │ │ ├── rem.hpp │ │ │ │ │ │ └── to_list.hpp │ │ │ │ │ └── variadic │ │ │ │ │ │ ├── elem.hpp │ │ │ │ │ │ └── size.hpp │ │ │ │ │ ├── progress.hpp │ │ │ │ │ ├── range │ │ │ │ │ ├── algorithm │ │ │ │ │ │ └── equal.hpp │ │ │ │ │ ├── as_literal.hpp │ │ │ │ │ ├── begin.hpp │ │ │ │ │ ├── concepts.hpp │ │ │ │ │ ├── config.hpp │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── common.hpp │ │ │ │ │ │ ├── extract_optional_type.hpp │ │ │ │ │ │ ├── implementation_help.hpp │ │ │ │ │ │ ├── misc_concept.hpp │ │ │ │ │ │ ├── safe_bool.hpp │ │ │ │ │ │ ├── sfinae.hpp │ │ │ │ │ │ └── str_types.hpp │ │ │ │ │ ├── difference_type.hpp │ │ │ │ │ ├── distance.hpp │ │ │ │ │ ├── empty.hpp │ │ │ │ │ ├── end.hpp │ │ │ │ │ ├── functions.hpp │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ ├── iterator_range.hpp │ │ │ │ │ ├── iterator_range_core.hpp │ │ │ │ │ ├── iterator_range_io.hpp │ │ │ │ │ ├── mutable_iterator.hpp │ │ │ │ │ ├── rbegin.hpp │ │ │ │ │ ├── rend.hpp │ │ │ │ │ ├── reverse_iterator.hpp │ │ │ │ │ ├── size.hpp │ │ │ │ │ ├── size_type.hpp │ │ │ │ │ └── value_type.hpp │ │ │ │ │ ├── ref.hpp │ │ │ │ │ ├── scoped_array.hpp │ │ │ │ │ ├── scoped_ptr.hpp │ │ │ │ │ ├── shared_array.hpp │ │ │ │ │ ├── shared_ptr.hpp │ │ │ │ │ ├── smart_ptr │ │ │ │ │ ├── bad_weak_ptr.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── operator_bool.hpp │ │ │ │ │ │ ├── shared_count.hpp │ │ │ │ │ │ ├── sp_convertible.hpp │ │ │ │ │ │ ├── sp_counted_base.hpp │ │ │ │ │ │ ├── sp_counted_base_gcc_mips.hpp │ │ │ │ │ │ ├── sp_counted_base_gcc_x86.hpp │ │ │ │ │ │ ├── sp_counted_base_spin.hpp │ │ │ │ │ │ ├── sp_counted_impl.hpp │ │ │ │ │ │ ├── sp_has_sync.hpp │ │ │ │ │ │ ├── spinlock.hpp │ │ │ │ │ │ ├── spinlock_pool.hpp │ │ │ │ │ │ ├── spinlock_pt.hpp │ │ │ │ │ │ ├── spinlock_sync.hpp │ │ │ │ │ │ └── yield_k.hpp │ │ │ │ │ ├── scoped_array.hpp │ │ │ │ │ ├── scoped_ptr.hpp │ │ │ │ │ ├── shared_array.hpp │ │ │ │ │ └── shared_ptr.hpp │ │ │ │ │ ├── static_assert.hpp │ │ │ │ │ ├── swap.hpp │ │ │ │ │ ├── test │ │ │ │ │ ├── debug.hpp │ │ │ │ │ ├── debug_config.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── config.hpp │ │ │ │ │ │ ├── enable_warnings.hpp │ │ │ │ │ │ ├── fwd_decl.hpp │ │ │ │ │ │ ├── global_typedef.hpp │ │ │ │ │ │ ├── log_level.hpp │ │ │ │ │ │ ├── suppress_warnings.hpp │ │ │ │ │ │ ├── unit_test_parameters.hpp │ │ │ │ │ │ └── workaround.hpp │ │ │ │ │ ├── execution_monitor.hpp │ │ │ │ │ ├── floating_point_comparison.hpp │ │ │ │ │ ├── framework.hpp │ │ │ │ │ ├── impl │ │ │ │ │ │ ├── compiler_log_formatter.ipp │ │ │ │ │ │ ├── debug.ipp │ │ │ │ │ │ ├── exception_safety.ipp │ │ │ │ │ │ ├── execution_monitor.ipp │ │ │ │ │ │ ├── framework.ipp │ │ │ │ │ │ ├── interaction_based.ipp │ │ │ │ │ │ ├── logged_expectations.ipp │ │ │ │ │ │ ├── plain_report_formatter.ipp │ │ │ │ │ │ ├── progress_monitor.ipp │ │ │ │ │ │ ├── results_collector.ipp │ │ │ │ │ │ ├── results_reporter.ipp │ │ │ │ │ │ ├── test_tools.ipp │ │ │ │ │ │ ├── unit_test_log.ipp │ │ │ │ │ │ ├── unit_test_main.ipp │ │ │ │ │ │ ├── unit_test_monitor.ipp │ │ │ │ │ │ ├── unit_test_parameters.ipp │ │ │ │ │ │ ├── unit_test_suite.ipp │ │ │ │ │ │ ├── xml_log_formatter.ipp │ │ │ │ │ │ └── xml_report_formatter.ipp │ │ │ │ │ ├── included │ │ │ │ │ │ └── unit_test.hpp │ │ │ │ │ ├── interaction_based.hpp │ │ │ │ │ ├── mock_object.hpp │ │ │ │ │ ├── output │ │ │ │ │ │ ├── compiler_log_formatter.hpp │ │ │ │ │ │ ├── plain_report_formatter.hpp │ │ │ │ │ │ ├── xml_log_formatter.hpp │ │ │ │ │ │ └── xml_report_formatter.hpp │ │ │ │ │ ├── output_test_stream.hpp │ │ │ │ │ ├── predicate_result.hpp │ │ │ │ │ ├── progress_monitor.hpp │ │ │ │ │ ├── results_collector.hpp │ │ │ │ │ ├── results_reporter.hpp │ │ │ │ │ ├── test_observer.hpp │ │ │ │ │ ├── test_tools.hpp │ │ │ │ │ ├── unit_test.hpp │ │ │ │ │ ├── unit_test_log.hpp │ │ │ │ │ ├── unit_test_log_formatter.hpp │ │ │ │ │ ├── unit_test_monitor.hpp │ │ │ │ │ ├── unit_test_suite.hpp │ │ │ │ │ ├── unit_test_suite_impl.hpp │ │ │ │ │ └── utils │ │ │ │ │ │ ├── algorithm.hpp │ │ │ │ │ │ ├── assign_op.hpp │ │ │ │ │ │ ├── basic_cstring │ │ │ │ │ │ ├── basic_cstring.hpp │ │ │ │ │ │ ├── basic_cstring_fwd.hpp │ │ │ │ │ │ ├── bcs_char_traits.hpp │ │ │ │ │ │ ├── compare.hpp │ │ │ │ │ │ └── io.hpp │ │ │ │ │ │ ├── callback.hpp │ │ │ │ │ │ ├── class_properties.hpp │ │ │ │ │ │ ├── custom_manip.hpp │ │ │ │ │ │ ├── fixed_mapping.hpp │ │ │ │ │ │ ├── foreach.hpp │ │ │ │ │ │ ├── iterator │ │ │ │ │ │ ├── input_iterator_facade.hpp │ │ │ │ │ │ └── token_iterator.hpp │ │ │ │ │ │ ├── lazy_ostream.hpp │ │ │ │ │ │ ├── named_params.hpp │ │ │ │ │ │ ├── rtti.hpp │ │ │ │ │ │ ├── runtime │ │ │ │ │ │ ├── argument.hpp │ │ │ │ │ │ ├── cla │ │ │ │ │ │ │ ├── argument_factory.hpp │ │ │ │ │ │ │ ├── argv_traverser.hpp │ │ │ │ │ │ │ ├── argv_traverser.ipp │ │ │ │ │ │ │ ├── basic_parameter.hpp │ │ │ │ │ │ │ ├── char_parameter.hpp │ │ │ │ │ │ │ ├── char_parameter.ipp │ │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ │ └── argument_value_usage.hpp │ │ │ │ │ │ │ ├── dual_name_parameter.hpp │ │ │ │ │ │ │ ├── dual_name_parameter.ipp │ │ │ │ │ │ │ ├── fwd.hpp │ │ │ │ │ │ │ ├── id_policy.hpp │ │ │ │ │ │ │ ├── id_policy.ipp │ │ │ │ │ │ │ ├── iface │ │ │ │ │ │ │ │ ├── argument_factory.hpp │ │ │ │ │ │ │ │ └── id_policy.hpp │ │ │ │ │ │ │ ├── modifier.hpp │ │ │ │ │ │ │ ├── named_parameter.hpp │ │ │ │ │ │ │ ├── named_parameter.ipp │ │ │ │ │ │ │ ├── parameter.hpp │ │ │ │ │ │ │ ├── parser.hpp │ │ │ │ │ │ │ ├── parser.ipp │ │ │ │ │ │ │ ├── typed_parameter.hpp │ │ │ │ │ │ │ ├── validation.hpp │ │ │ │ │ │ │ ├── validation.ipp │ │ │ │ │ │ │ ├── value_generator.hpp │ │ │ │ │ │ │ └── value_handler.hpp │ │ │ │ │ │ ├── config.hpp │ │ │ │ │ │ ├── env │ │ │ │ │ │ │ ├── environment.hpp │ │ │ │ │ │ │ ├── environment.ipp │ │ │ │ │ │ │ ├── fwd.hpp │ │ │ │ │ │ │ ├── modifier.hpp │ │ │ │ │ │ │ └── variable.hpp │ │ │ │ │ │ ├── fwd.hpp │ │ │ │ │ │ ├── interpret_argument_value.hpp │ │ │ │ │ │ ├── parameter.hpp │ │ │ │ │ │ ├── trace.hpp │ │ │ │ │ │ └── validation.hpp │ │ │ │ │ │ ├── trivial_singleton.hpp │ │ │ │ │ │ ├── wrap_stringstream.hpp │ │ │ │ │ │ └── xml_printer.hpp │ │ │ │ │ ├── throw_exception.hpp │ │ │ │ │ ├── timer.hpp │ │ │ │ │ ├── type.hpp │ │ │ │ │ ├── type_traits │ │ │ │ │ ├── add_const.hpp │ │ │ │ │ ├── add_cv.hpp │ │ │ │ │ ├── add_pointer.hpp │ │ │ │ │ ├── add_reference.hpp │ │ │ │ │ ├── add_rvalue_reference.hpp │ │ │ │ │ ├── add_volatile.hpp │ │ │ │ │ ├── alignment_of.hpp │ │ │ │ │ ├── broken_compiler_spec.hpp │ │ │ │ │ ├── config.hpp │ │ │ │ │ ├── conversion_traits.hpp │ │ │ │ │ ├── cv_traits.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── bool_trait_def.hpp │ │ │ │ │ │ ├── bool_trait_undef.hpp │ │ │ │ │ │ ├── cv_traits_impl.hpp │ │ │ │ │ │ ├── false_result.hpp │ │ │ │ │ │ ├── ice_and.hpp │ │ │ │ │ │ ├── ice_eq.hpp │ │ │ │ │ │ ├── ice_not.hpp │ │ │ │ │ │ ├── ice_or.hpp │ │ │ │ │ │ ├── is_function_ptr_helper.hpp │ │ │ │ │ │ ├── is_mem_fun_pointer_impl.hpp │ │ │ │ │ │ ├── size_t_trait_def.hpp │ │ │ │ │ │ ├── size_t_trait_undef.hpp │ │ │ │ │ │ ├── template_arity_spec.hpp │ │ │ │ │ │ ├── type_trait_def.hpp │ │ │ │ │ │ ├── type_trait_undef.hpp │ │ │ │ │ │ └── yes_no_type.hpp │ │ │ │ │ ├── function_traits.hpp │ │ │ │ │ ├── has_nothrow_constructor.hpp │ │ │ │ │ ├── has_nothrow_copy.hpp │ │ │ │ │ ├── has_trivial_constructor.hpp │ │ │ │ │ ├── has_trivial_copy.hpp │ │ │ │ │ ├── ice.hpp │ │ │ │ │ ├── integral_constant.hpp │ │ │ │ │ ├── intrinsics.hpp │ │ │ │ │ ├── is_abstract.hpp │ │ │ │ │ ├── is_arithmetic.hpp │ │ │ │ │ ├── is_array.hpp │ │ │ │ │ ├── is_class.hpp │ │ │ │ │ ├── is_const.hpp │ │ │ │ │ ├── is_convertible.hpp │ │ │ │ │ ├── is_enum.hpp │ │ │ │ │ ├── is_float.hpp │ │ │ │ │ ├── is_floating_point.hpp │ │ │ │ │ ├── is_function.hpp │ │ │ │ │ ├── is_integral.hpp │ │ │ │ │ ├── is_lvalue_reference.hpp │ │ │ │ │ ├── is_member_function_pointer.hpp │ │ │ │ │ ├── is_member_pointer.hpp │ │ │ │ │ ├── is_pod.hpp │ │ │ │ │ ├── is_pointer.hpp │ │ │ │ │ ├── is_reference.hpp │ │ │ │ │ ├── is_rvalue_reference.hpp │ │ │ │ │ ├── is_same.hpp │ │ │ │ │ ├── is_scalar.hpp │ │ │ │ │ ├── is_signed.hpp │ │ │ │ │ ├── is_unsigned.hpp │ │ │ │ │ ├── is_void.hpp │ │ │ │ │ ├── is_volatile.hpp │ │ │ │ │ ├── make_unsigned.hpp │ │ │ │ │ ├── remove_const.hpp │ │ │ │ │ ├── remove_cv.hpp │ │ │ │ │ ├── remove_pointer.hpp │ │ │ │ │ ├── remove_reference.hpp │ │ │ │ │ ├── remove_volatile.hpp │ │ │ │ │ └── type_with_alignment.hpp │ │ │ │ │ ├── units │ │ │ │ │ └── detail │ │ │ │ │ │ └── utility.hpp │ │ │ │ │ ├── utility.hpp │ │ │ │ │ ├── utility │ │ │ │ │ ├── addressof.hpp │ │ │ │ │ ├── base_from_member.hpp │ │ │ │ │ ├── binary.hpp │ │ │ │ │ ├── compare_pointees.hpp │ │ │ │ │ ├── detail │ │ │ │ │ │ ├── in_place_factory_prefix.hpp │ │ │ │ │ │ └── in_place_factory_suffix.hpp │ │ │ │ │ ├── enable_if.hpp │ │ │ │ │ ├── identity_type.hpp │ │ │ │ │ ├── in_place_factory.hpp │ │ │ │ │ ├── swap.hpp │ │ │ │ │ └── value_init.hpp │ │ │ │ │ ├── version.hpp │ │ │ │ │ └── visit_each.hpp │ │ │ └── main.cpp │ │ └── test_config.py │ ├── issue46718-iostream-crash-gnustl │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue46718-iostream-crash.cpp │ ├── issue61659-neon-assignment │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue61659-neon-assignment.c │ │ └── test_config.py │ ├── issue62910-gcc4.8.2-libstdc++-nth-element-segfault │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── issue62910-gcc4.8.2-libstdc++-nth-element-segfault.cpp │ ├── libcxx-relocs │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── bar.cpp │ │ │ └── foo.cpp │ │ └── properties.json │ ├── libcxx-unwind │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── foo.cpp │ │ └── test_config.py │ ├── math │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── math.c │ │ │ └── math.cpp │ │ └── test_config.py │ ├── multi-static-instances │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cpp │ ├── stat │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── stat.c │ ├── static-executable │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.cxx │ │ └── test_config.py │ ├── test-basic-exceptions │ │ ├── README │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_basic_exceptions.cpp │ ├── test-basic-rtti │ │ ├── README │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_basic_rtti.cpp │ ├── test-compiler-bug-1 │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── main.c │ ├── test-cpufeatures │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test_android_setCpuArm_1.c │ │ │ ├── test_android_setCpu_1.c │ │ │ ├── test_android_setCpu_2.c │ │ │ ├── test_arm_idiv.c │ │ │ └── test_cpufeatures.c │ ├── test-cxx-init-array │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── global_ctor.cpp │ │ │ ├── global_ctor.h │ │ │ └── test.cpp │ ├── test-gnustl-1 │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── hello.cpp │ ├── test-gnustl-2 │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── hello.cpp │ ├── test-gnustl-copy_vector_into_a_set │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── copy_vector_into_a_set.cpp │ ├── test-gnustl-full │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ ├── properties.json │ │ ├── test_config.py │ │ └── unit │ │ │ ├── _template.cpp │ │ │ ├── accum_test.cpp │ │ │ ├── adj_test.cpp │ │ │ ├── advance_test.cpp │ │ │ ├── alg_test.cpp │ │ │ ├── algorithm_header_test.cpp │ │ │ ├── allocator_test.cpp │ │ │ ├── assert_header_test.c │ │ │ ├── bcompos_test.cpp │ │ │ ├── bind_test.cpp │ │ │ ├── binsert_test.cpp │ │ │ ├── bitset_header_test.cpp │ │ │ ├── bitset_test.cpp │ │ │ ├── bnegate_test.cpp │ │ │ ├── boost_check.cpp │ │ │ ├── bound_test.cpp │ │ │ ├── bsearch_test.cpp │ │ │ ├── bvector_test.cpp │ │ │ ├── c_limits_header_test.c │ │ │ ├── c_locale_header_test.c │ │ │ ├── cassert_header_test.cpp │ │ │ ├── cctype_header_test.cpp │ │ │ ├── cerrno_header_test.cpp │ │ │ ├── cfloat_header_test.cpp │ │ │ ├── ciso646_header_test.cpp │ │ │ ├── climits_header_test.cpp │ │ │ ├── clocale_header_test.cpp │ │ │ ├── cmath_header_test.cpp │ │ │ ├── cmath_test.cpp │ │ │ ├── codecvt_test.cpp │ │ │ ├── collate_facets_test.cpp │ │ │ ├── complete_digits.h │ │ │ ├── complex_header_test.cpp │ │ │ ├── config_test.cpp │ │ │ ├── copy_test.cpp │ │ │ ├── count_test.cpp │ │ │ ├── cppunit │ │ │ ├── cppunit_mini.h │ │ │ ├── cppunit_proxy.h │ │ │ ├── cppunit_timer.h │ │ │ ├── file_reporter.h │ │ │ └── test_main.cpp │ │ │ ├── csetjmp_header_test.cpp │ │ │ ├── csignal_header_test.cpp │ │ │ ├── cstdarg_header_test.cpp │ │ │ ├── cstddef_header_test.cpp │ │ │ ├── cstdio_header_test.cpp │ │ │ ├── cstdlib_header_test.cpp │ │ │ ├── cstring_header_test.cpp │ │ │ ├── cstring_test.cpp │ │ │ ├── ctime_header_test.cpp │ │ │ ├── ctype_facets_test.cpp │ │ │ ├── ctype_header_test.c │ │ │ ├── cwchar_header_test.cpp │ │ │ ├── cwctype_header_test.cpp │ │ │ ├── deque_header_test.cpp │ │ │ ├── deque_test.cpp │ │ │ ├── divides_test.cpp │ │ │ ├── epilog_test.cpp │ │ │ ├── equal_test.cpp │ │ │ ├── errno_header_test.c │ │ │ ├── exception_header_test.cpp │ │ │ ├── exception_test.cpp │ │ │ ├── fadapter.h │ │ │ ├── fib.h │ │ │ ├── fill_test.cpp │ │ │ ├── find_test.cpp │ │ │ ├── finsert_test.cpp │ │ │ ├── float_header_test.c │ │ │ ├── foreach_test.cpp │ │ │ ├── fstream_header_test.cpp │ │ │ ├── fstream_test.cpp │ │ │ ├── full_streambuf.h │ │ │ ├── func_test.cpp │ │ │ ├── functional_header_test.cpp │ │ │ ├── generator_test.cpp │ │ │ ├── greater_test.cpp │ │ │ ├── hash_test.cpp │ │ │ ├── heap_test.cpp │ │ │ ├── includes_test.cpp │ │ │ ├── innerprod_test.cpp │ │ │ ├── inplace_test.cpp │ │ │ ├── insert_test.cpp │ │ │ ├── ioiter_test.cpp │ │ │ ├── iomanip_header_test.cpp │ │ │ ├── ios_header_test.cpp │ │ │ ├── iosfwd_header_test.cpp │ │ │ ├── iostream_header_test.cpp │ │ │ ├── iostream_test.cpp │ │ │ ├── iota.h │ │ │ ├── iota_test.cpp │ │ │ ├── iso646_header_test.c │ │ │ ├── istmit_test.cpp │ │ │ ├── istream_header_test.cpp │ │ │ ├── iter_test.cpp │ │ │ ├── iterator_header_test.cpp │ │ │ ├── less_test.cpp │ │ │ ├── lexcmp_test.cpp │ │ │ ├── limits_header_test.cpp │ │ │ ├── limits_test.cpp │ │ │ ├── list_header_test.cpp │ │ │ ├── list_test.cpp │ │ │ ├── locale_header_test.cpp │ │ │ ├── locale_test.cpp │ │ │ ├── locale_test.h │ │ │ ├── logic_test.cpp │ │ │ ├── macro_checks.cpp │ │ │ ├── map_header_test.cpp │ │ │ ├── map_test.cpp │ │ │ ├── math_aux.h │ │ │ ├── math_header_test.c │ │ │ ├── max_test.cpp │ │ │ ├── memory_header_test.cpp │ │ │ ├── memory_test.cpp │ │ │ ├── merge_test.cpp │ │ │ ├── messages_facets_test.cpp │ │ │ ├── mfunptr_test.cpp │ │ │ ├── min_test.cpp │ │ │ ├── mismatch_test.cpp │ │ │ ├── modulus_test.cpp │ │ │ ├── money_facets_test.cpp │ │ │ ├── multiset_test.cpp │ │ │ ├── mvctor_declaration_test.cpp │ │ │ ├── mvctor_test.cpp │ │ │ ├── mvctor_test.h │ │ │ ├── mvctor_traits_test.cpp │ │ │ ├── neq_test.cpp │ │ │ ├── new_header_test.cpp │ │ │ ├── nthelm_test.cpp │ │ │ ├── num_facets_test.cpp │ │ │ ├── num_put_get_test.cpp │ │ │ ├── numeric_header_test.cpp │ │ │ ├── ostmit_test.cpp │ │ │ ├── ostream_header_test.cpp │ │ │ ├── pair_test.cpp │ │ │ ├── partial_test.cpp │ │ │ ├── partition_test.cpp │ │ │ ├── perm_test.cpp │ │ │ ├── plusminus_test.cpp │ │ │ ├── ptr2_test.cpp │ │ │ ├── ptrspec_test.cpp │ │ │ ├── queue_header_test.cpp │ │ │ ├── queue_test.cpp │ │ │ ├── rawriter_test.cpp │ │ │ ├── reference_wrapper_test.cpp │ │ │ ├── resolve_name.cpp │ │ │ ├── reviter_test.cpp │ │ │ ├── rm_cp_test.cpp │ │ │ ├── rndshf_test.cpp │ │ │ ├── rope_test.cpp │ │ │ ├── rotate_test.cpp │ │ │ ├── search_test.cpp │ │ │ ├── set_header_test.cpp │ │ │ ├── set_test.cpp │ │ │ ├── setdiff_test.cpp │ │ │ ├── setinter_test.cpp │ │ │ ├── setjmp_header_test.c │ │ │ ├── setjmp_header_test2.cpp │ │ │ ├── setunion_test.cpp │ │ │ ├── shared_ptr_test.cpp │ │ │ ├── signal_header_test.c │ │ │ ├── slist_test.cpp │ │ │ ├── sort_test.cpp │ │ │ ├── sstream_header_test.cpp │ │ │ ├── sstream_test.cpp │ │ │ ├── stack_allocator.h │ │ │ ├── stack_header_test.cpp │ │ │ ├── stack_test.cpp │ │ │ ├── stdarg_header_test.c │ │ │ ├── stddef_header_test.c │ │ │ ├── stdexcept_header_test.cpp │ │ │ ├── stdio_header_test.c │ │ │ ├── stdlib_header_test.c │ │ │ ├── stldbg_include.cpp │ │ │ ├── streambuf_header_test.cpp │ │ │ ├── string_header_test.c │ │ │ ├── string_header_test.cpp │ │ │ ├── string_test.cpp │ │ │ ├── strstream_buffer_read_test.cpp │ │ │ ├── strstream_header_test.cpp │ │ │ ├── strstream_test.cpp │ │ │ ├── swap_test.cpp │ │ │ ├── test_errno.cpp │ │ │ ├── time_facets_test.cpp │ │ │ ├── time_header_test.c │ │ │ ├── times_test.cpp │ │ │ ├── transform_test.cpp │ │ │ ├── type_traits_test.cpp │ │ │ ├── typeinfo_header_test.cpp │ │ │ ├── unary.h │ │ │ ├── unary_test.cpp │ │ │ ├── uninitialized_test.cpp │ │ │ ├── unique_test.cpp │ │ │ ├── unordered_test.cpp │ │ │ ├── utility_header_test.cpp │ │ │ ├── valarray_header_test.cpp │ │ │ ├── valarray_test.cpp │ │ │ ├── vector_header_test.cpp │ │ │ ├── vector_test.cpp │ │ │ ├── wchar_header_test.c │ │ │ └── wctype_header_test.c │ ├── test-gnustl_shared-exception │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test0_foo.cpp │ │ │ ├── test0_main.cpp │ │ │ ├── test1_foo.cpp │ │ │ ├── test1_main.cpp │ │ │ ├── test2_foo.cpp │ │ │ ├── test2_main.cpp │ │ │ ├── test3_bar.cpp │ │ │ ├── test3_foo.cpp │ │ │ ├── test3_main.cpp │ │ │ ├── test4_bar.cpp │ │ │ ├── test4_foo.cpp │ │ │ └── test4_main.cpp │ │ ├── properties.json │ │ └── test_config.py │ ├── test-gnustl_static-exception │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── test0_foo.cpp │ │ │ ├── test0_main.cpp │ │ │ ├── test1_foo.cpp │ │ │ ├── test1_main.cpp │ │ │ ├── test2_foo.cpp │ │ │ ├── test2_main.cpp │ │ │ ├── test3_bar.cpp │ │ │ ├── test3_foo.cpp │ │ │ ├── test3_main.cpp │ │ │ ├── test4_bar.cpp │ │ │ ├── test4_foo.cpp │ │ │ └── test4_main.cpp │ ├── test-googletest-full │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ └── properties.json │ ├── test-googletest-gnustl │ │ └── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ ├── test-libc++-shared-full │ │ ├── DATA │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ ├── properties.json │ │ └── test_config.py │ ├── test-libc++-shared │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_1.cc │ ├── test-libc++-static-full │ │ ├── DATA │ │ ├── jni │ │ │ ├── Android.mk │ │ │ └── Application.mk │ │ ├── properties.json │ │ └── test_config.py │ ├── test-libc++-static │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_1.cc │ │ └── test_config.py │ ├── test-libc++ │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_1.cc │ │ └── test_config.py │ ├── test-openmp │ │ ├── common.mk │ │ ├── host │ │ │ ├── .gitignore │ │ │ ├── GNUmakefile │ │ │ └── test.mk │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── fib.c │ │ │ ├── openmp.c │ │ │ └── openmp2.c │ │ ├── properties.json │ │ └── test_config.py │ ├── test-shaderc-gnustl │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── shaderc.cc │ │ ├── properties.json │ │ └── test_config.py │ ├── test-shaderc-libc++ │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── shaderc.cc │ │ ├── properties.json │ │ └── test_config.py │ ├── test-vulkan │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── instance.cpp │ │ ├── properties.json │ │ └── test_config.py │ ├── test-wait │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ └── test_wait.c │ │ └── test_config.py │ ├── test-yasm │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── print_hello.asm │ │ │ └── test-yasm.c │ │ └── test_config.py │ └── whole-static-libs │ │ └── jni │ │ ├── Android.mk │ │ ├── Application.mk │ │ ├── foo.c │ │ ├── foo2.c │ │ └── main.c ├── filters.py ├── lib │ ├── awk.rb │ ├── log.rb │ ├── mro.rb │ ├── project.rb │ ├── samples.rb │ ├── standalone.rb │ └── tests.rb ├── ndk.py ├── onhost-functions.mk ├── onhost.mk ├── prepare-buildbot-emulators.py ├── printers.py ├── run-all.py ├── run-boost-tests ├── run-ndk-tests ├── runners.py ├── standalone │ ├── basic-c-compile │ │ └── main.c │ ├── basic-cxx-compile │ │ └── main.cpp │ ├── basic-objc-compile │ │ └── main.m │ ├── basic-objcxx-compile │ │ └── main.mm │ ├── builtin-macros │ │ └── run.sh │ ├── init-fini-arrays │ │ ├── README │ │ ├── foo.cpp │ │ └── run.sh │ ├── libcrystax-c-linked │ │ └── main.c │ ├── libcrystax-cxx-linked │ │ └── main.cpp │ ├── run-all.sh │ ├── run-standalone-tests.rb │ └── run.sh ├── test_filters.py ├── tests.py ├── util.py └── validate.py └── tools ├── adbrunner └── deploy-posix-environment /Android.mk: -------------------------------------------------------------------------------- 1 | # Please try to keep this file empty by only including what is necessary to 2 | # build the Android platform. This is not the normal usage of the NDK. 3 | 4 | include ndk/sources/android/cpufeatures/Android.mk 5 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | danalbert 2 | enh 3 | jmgao 4 | 5 | # For questions rather than code review, send email to: 6 | # 7 | # android-ndk@google.com (Googlers only) 8 | # android-ndk@googlegroups.com (public) 9 | # 10 | # Ask on Stack Overflow: http://stackoverflow.com/questions/tagged/android-ndk. 11 | -------------------------------------------------------------------------------- /build/core/defaults.mk: -------------------------------------------------------------------------------- 1 | DEFAULT_CXX_STANDARD := gnu++11 2 | DEFAULT_LIBSTDCXX := gnustl 3 | DEFAULT_LIBOBJC := cocotron 4 | -------------------------------------------------------------------------------- /build/gmsl/__gmsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/build/gmsl/__gmsl -------------------------------------------------------------------------------- /build/instruments/build-python/_sysconfigdata.py: -------------------------------------------------------------------------------- 1 | # system configuration generated and used by the sysconfig module 2 | build_time_vars = {} 3 | -------------------------------------------------------------------------------- /build/instruments/build-python/frozen.c.2.7: -------------------------------------------------------------------------------- 1 | /* Minimal frozen modules initializer */ 2 | 3 | #include 4 | 5 | static struct _frozen _PyImport_FrozenModules[] = { 6 | {0, 0, 0} 7 | }; 8 | 9 | struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules; 10 | -------------------------------------------------------------------------------- /build/instruments/ndk-ccache-g++.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | $NDK_CCACHE $NDK_CCACHE_CXX "$@" 3 | -------------------------------------------------------------------------------- /build/instruments/ndk-ccache-gcc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | $NDK_CCACHE $NDK_CCACHE_CC "$@" 3 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/arm/libc.so.variables.txt: -------------------------------------------------------------------------------- 1 | __dso_handle 2 | __sdidinit 3 | __sglue -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/arm/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __CTOR_LIST__ 3 | __DTOR_LIST__ 4 | __popcount_tab 5 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/arm64/libc.so.variables.txt: -------------------------------------------------------------------------------- 1 | __atexit 2 | __atexit_invalid 3 | _C_ctype_ 4 | _C_tolower_ 5 | _C_toupper_ 6 | gMallocLeakZygoteChild 7 | __isthreaded 8 | __sdidinit 9 | __sglue 10 | __system_property_area__ 11 | _tolower_tab_ 12 | _toupper_tab_ 13 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/arm64/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __CTOR_LIST__ 3 | __DTOR_LIST__ 4 | __popcount_tab 5 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/mips/libc.so.variables.txt: -------------------------------------------------------------------------------- 1 | __sdidinit 2 | __sglue -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/mips/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __popcount_tab 3 | __thenan_df 4 | __thenan_sf 5 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/mips64/libc.so.variables.txt: -------------------------------------------------------------------------------- 1 | __atexit 2 | __atexit_invalid 3 | _C_ctype_ 4 | _C_tolower_ 5 | _C_toupper_ 6 | gMallocLeakZygoteChild 7 | __isthreaded 8 | __sdidinit 9 | __sglue 10 | __system_property_area__ 11 | _tolower_tab_ 12 | _toupper_tab_ 13 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/mips64/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __popcount_tab 3 | -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/x86/libc.so.variables.txt: -------------------------------------------------------------------------------- 1 | __sdidinit 2 | __sglue -------------------------------------------------------------------------------- /build/instruments/unwanted-symbols/x86_64/libc.so.variables.txt: -------------------------------------------------------------------------------- 1 | __atexit 2 | __atexit_invalid 3 | _C_ctype_ 4 | _C_tolower_ 5 | _C_toupper_ 6 | gMallocLeakZygoteChild 7 | __isthreaded 8 | __sdidinit 9 | __sglue 10 | __system_property_area__ 11 | _tolower_tab_ 12 | _toupper_tab_ 13 | -------------------------------------------------------------------------------- /build/ndk-build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | set NDK_ROOT=%~dp0\.. 3 | set PREBUILT_PATH=%NDK_ROOT%\prebuilt\windows-x86_64 4 | if exist %PREBUILT_PATH% goto FOUND 5 | set PREBUILT_PATH=%NDK_ROOT%\prebuilt\windows 6 | :FOUND 7 | "%PREBUILT_PATH%\bin\make.exe" -f "%NDK_ROOT%\build\core\build-local.mk" SHELL=cmd %* 8 | -------------------------------------------------------------------------------- /build/scripts/ruby: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | unset GEM_HOME 4 | unset GEM_PATH 5 | 6 | tools_dir=$(dirname $0)/.. 7 | ruby_ver=`cat $tools_dir/crew/ruby/active_version.txt` 8 | ruby_dir="$tools_dir/crew/ruby/$ruby_ver/bin" 9 | 10 | exec $ruby_dir/ruby "$@" 11 | -------------------------------------------------------------------------------- /build/tools/ndk-ccache-g++.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | $NDK_CCACHE $NDK_CCACHE_CXX "$@" 3 | -------------------------------------------------------------------------------- /build/tools/ndk-ccache-gcc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | $NDK_CCACHE $NDK_CCACHE_CC "$@" 3 | -------------------------------------------------------------------------------- /build/tools/unwanted-symbols/arm/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __CTOR_LIST__ 3 | __DTOR_LIST__ 4 | __popcount_tab 5 | -------------------------------------------------------------------------------- /build/tools/unwanted-symbols/arm64/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __CTOR_LIST__ 3 | __DTOR_LIST__ 4 | __popcount_tab 5 | -------------------------------------------------------------------------------- /build/tools/unwanted-symbols/mips/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __popcount_tab 3 | __thenan_df 4 | __thenan_sf 5 | -------------------------------------------------------------------------------- /build/tools/unwanted-symbols/mips64/libgcc.a.variables.txt: -------------------------------------------------------------------------------- 1 | __clz_tab 2 | __popcount_tab 3 | -------------------------------------------------------------------------------- /cmake/modules/FindBZip2.cmake: -------------------------------------------------------------------------------- 1 | set(BZIP2_FOUND true) 2 | set(BZIP2_INCLUDE_DIR ${ANDROID_SYSROOT}/include) 3 | set(BZIP2_LIBRARIES ${ANDROID_SYSROOT}/lib/libbz2.a) 4 | 5 | mark_as_advanced(BZIP2_INCLUDE_DIR) 6 | -------------------------------------------------------------------------------- /cmake/modules/FindJNI.cmake: -------------------------------------------------------------------------------- 1 | set(JNI_FOUND true) 2 | set(JNI_INCLUDE_DIRS ${ANDROID_SYSROOT}/usr/include) 3 | -------------------------------------------------------------------------------- /cmake/modules/FindThreads.cmake: -------------------------------------------------------------------------------- 1 | set(Threads_FOUND TRUE) 2 | set(CMAKE_USE_PTHREADS_INIT 1) 3 | -------------------------------------------------------------------------------- /cmake/modules/FindZLIB.cmake: -------------------------------------------------------------------------------- 1 | set(ZLIB_FOUND TRUE) 2 | set(ZLIB_INCLUDE_DIRS ${ANDROID_SYSROOT}/include) 3 | set(ZLIB_LIBRARIES ${ANDROID_SYSROOT}/usr/lib/libz.so) 4 | 5 | mark_as_advanced(ZLIB_INCLUDE_DIRS) 6 | -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- 1 | major = 12 2 | hotfix = 0 3 | hotfix_str = chr(ord('a') + hotfix) if hotfix else '' 4 | release = 'r{}{}'.format(major, hotfix_str) 5 | -------------------------------------------------------------------------------- /crew: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cmd=`dirname $0`/crew.dir/crew 4 | if [ ! -f $cmd ]; then 5 | cmd=`dirname $0`/../../crew/crew 6 | fi 7 | 8 | exec $cmd "$@" 9 | -------------------------------------------------------------------------------- /crew.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | set d=%~dp0% 4 | %d%crew.dir\crew.cmd %* 5 | -------------------------------------------------------------------------------- /ndk-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | DIR="$(cd "$(dirname "$0")" && pwd)" 3 | $DIR/build/ndk-build "$@" -------------------------------------------------------------------------------- /ndk-build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | %~dp0\build\ndk-build.cmd %* 3 | -------------------------------------------------------------------------------- /ndk-gdb: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | NDK_BIN_DIR=$(dirname $0) 3 | ${NDK_BIN_DIR}/python ${NDK_BIN_DIR}/ndk-gdb.py $@ 4 | -------------------------------------------------------------------------------- /ndk-gdb.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | set PREBUILT_BIN=%~dp0 4 | set SHELL=cmd 5 | "%PREBUILT_BIN%/python.exe" -u "%~dp0ndk-gdb.py" %* 6 | endlocal 7 | -------------------------------------------------------------------------------- /samples/.gitignore: -------------------------------------------------------------------------------- 1 | /MoreTeapots/ 2 | /Teapot/ 3 | /bitmap-plasma/ 4 | /gles3jni/ 5 | /hello-gl2/ 6 | /hello-jni/ 7 | /hello-neon/ 8 | /module-exports/ 9 | /native-activity/ 10 | /native-audio/ 11 | /native-codec/ 12 | /native-media/ 13 | /native-plasma/ 14 | /san-angeles/ 15 | /test-libstdc++/ 16 | /two-libs/ 17 | -------------------------------------------------------------------------------- /samples/test-debug/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | gen/ 3 | libs/ 4 | obj/ 5 | -------------------------------------------------------------------------------- /samples/test-debug/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /samples/test-debug/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestDebug 4 | 5 | -------------------------------------------------------------------------------- /sources/android/.gitignore: -------------------------------------------------------------------------------- 1 | gccunwind/libs 2 | compiler-rt/libs 3 | native_app_glue/ 4 | ndk_helper/ 5 | libportable/ 6 | -------------------------------------------------------------------------------- /sources/android/native_app_glue/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE:= android_native_app_glue 6 | LOCAL_SRC_FILES:= android_native_app_glue.c 7 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) 8 | LOCAL_EXPORT_LDLIBS := -llog 9 | 10 | include $(BUILD_STATIC_LIBRARY) 11 | -------------------------------------------------------------------------------- /sources/cpufeatures/Android.mk: -------------------------------------------------------------------------------- 1 | # NOTE: The library has moved to $NDK/sources/android/cpufeatures, 2 | # this file is only provided to redirect to the real one. 3 | include $(dir $(call my-dir))/android/cpufeatures/Android.mk 4 | -------------------------------------------------------------------------------- /sources/cpufeatures/cpu-features.h: -------------------------------------------------------------------------------- 1 | ../android/cpufeatures/cpu-features.h -------------------------------------------------------------------------------- /sources/crystax/.syntastic/c: -------------------------------------------------------------------------------- 1 | --sysroot=../../platforms/android-9/arch-arm 2 | -I../include 3 | -I../src/include 4 | -------------------------------------------------------------------------------- /sources/crystax/empty/libcrystax.a: -------------------------------------------------------------------------------- 1 | ! 2 | -------------------------------------------------------------------------------- /sources/crystax/src/bzip2/error.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void bz_internal_error(int err) 5 | { 6 | fprintf(stderr, "BZip2 internal error: %d\n", err); 7 | abort(); 8 | } 9 | -------------------------------------------------------------------------------- /sources/cxx-stl/gnu-libstdc++/.gitignore: -------------------------------------------------------------------------------- 1 | 4.9/ 2 | 5/ 3 | 6/ 4 | -------------------------------------------------------------------------------- /sources/cxx-stl/llvm-libc++/.gitignore: -------------------------------------------------------------------------------- 1 | /3.6/ 2 | /3.7/ 3 | /3.8/ 4 | -------------------------------------------------------------------------------- /sources/cxx-stl/llvm-libc++abi/NOTICE: -------------------------------------------------------------------------------- 1 | libcxxabi/LICENSE.TXT -------------------------------------------------------------------------------- /sources/cxx-stl/llvm-libc++abi/libcxxabi/test/libcxxabi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/libcxxabi/__init__.py -------------------------------------------------------------------------------- /sources/cxx-stl/llvm-libc++abi/libcxxabi/test/libcxxabi/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/libcxxabi/test/__init__.py -------------------------------------------------------------------------------- /sources/cxx-stl/system/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libstdc++ 6 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include 7 | LOCAL_EXPORT_LDLIBS := -lstdc++ 8 | 9 | include $(BUILD_STATIC_LIBRARY) 10 | -------------------------------------------------------------------------------- /sources/cxx-stl/system/MODULE_LICENSE_BSD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/cxx-stl/system/MODULE_LICENSE_BSD -------------------------------------------------------------------------------- /sources/cxx-stl/system/setup.mk: -------------------------------------------------------------------------------- 1 | NDK_APP_CXX_STATIC_LIBRARIES := libstdc++ 2 | NDK_APP_CXX_SHARED_LIBRARIES := 3 | 4 | include $(call my-dir)/Android.mk 5 | -------------------------------------------------------------------------------- /sources/host-tools/gdb-pretty-printers/stlport/gppfs-0.2/stlport/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/SCOPTIONS: -------------------------------------------------------------------------------- 1 | ERRORREXX 2 | OPTIMIZE 3 | NOVERSION 4 | OPTIMIZERTIME 5 | OPTIMIZERALIAS 6 | DEFINE INCLUDEDIR="include:" 7 | DEFINE LIBDIR="lib:" 8 | DEFINE NO_ALLOCA 9 | DEFINE NO_FLOAT 10 | DEFINE NO_ARCHIVES 11 | IGNORE=161 12 | IGNORE=100 13 | STARTUP=cres 14 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/config.h-vms: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/config.h-vms -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/doc/stamp-vti: -------------------------------------------------------------------------------- 1 | @set UPDATED 13 October 2011 2 | @set UPDATED-MONTH October 2011 3 | @set EDITION 3.81 4 | @set VERSION 3.81 5 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/doc/version.texi: -------------------------------------------------------------------------------- 1 | @set UPDATED 13 October 2011 2 | @set UPDATED-MONTH October 2011 3 | @set EDITION 3.81 4 | @set VERSION 3.81 5 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/glob/SCOPTIONS: -------------------------------------------------------------------------------- 1 | ERRORREXX 2 | OPTIMIZE 3 | NOVERSION 4 | OPTIMIZERTIME 5 | OPTIMIZERALIAS 6 | DEFINE INCLUDEDIR="include:" 7 | DEFINE LIBDIR="lib:" 8 | DEFINE NO_ALLOCA 9 | DEFINE NO_FLOAT 10 | DEFINE NO_ARCHIVES 11 | IGNORE=161 12 | IGNORE=100 13 | STARTUP=cres 14 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/makefile.vms: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/makefile.vms -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/LINGUAS: -------------------------------------------------------------------------------- 1 | # Set of available languages: 23 languages 2 | 3 | be da de es fi fr ga gl he hr id ja ko nl pl pt_BR ru rw sv tr uk vi zh_CN 4 | 5 | # Can't seem to get en@quot and en@boldquot to build properly? 6 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/be.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/be.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/da.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/da.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/da.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/de.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/de.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/de.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/es.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/es.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/fi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/fi.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/fr.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/fr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/fr.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ga.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ga.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ga.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ga.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/gl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/gl.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/gl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/gl.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/he.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/he.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/he.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/he.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/hr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/hr.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/hr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/hr.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/id.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ja.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ja.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ja.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ko.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ko.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ko.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ko.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/nl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/nl.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/pl.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/pl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/pl.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/pt_BR.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/pt_BR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/pt_BR.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ru.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/ru.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/ru.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/rw.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/rw.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/sv.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/sv.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/sv.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/tr.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/uk.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/uk.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/uk.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/vi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/vi.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/zh_CN.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/zh_CN.gmo -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/po/zh_CN.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/po/zh_CN.po -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/readme.vms: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/readme.vms -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/tests/run_make_tests: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl $0.pl ${1+"$@"} 3 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/vmsify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/sources/host-tools/make-3.81/vmsify.c -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/w32/.deps/libw32_a-misc.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/w32/.deps/libw32_a-pathstuff.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/w32/.deps/libw32_a-sub_proc.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /sources/host-tools/make-3.81/w32/.deps/libw32_a-w32err.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /sources/objc/cocotron/0.1.0/.gitignore: -------------------------------------------------------------------------------- 1 | frameworks/*/*.framework 2 | -------------------------------------------------------------------------------- /sources/objc/gnustep-libobjc2/.gitignore: -------------------------------------------------------------------------------- 1 | include/ 2 | libs/ 3 | -------------------------------------------------------------------------------- /sources/objc/none/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libobjcnone 5 | include $(BUILD_STATIC_LIBRARY) 6 | -------------------------------------------------------------------------------- /sources/python/2.7/.gitignore: -------------------------------------------------------------------------------- 1 | include/ 2 | shared/ 3 | static/ 4 | -------------------------------------------------------------------------------- /sources/python/3.5/.gitignore: -------------------------------------------------------------------------------- 1 | include/ 2 | shared/ 3 | static/ 4 | -------------------------------------------------------------------------------- /sources/third_party/googletest/NOTICE: -------------------------------------------------------------------------------- 1 | googletest/LICENSE -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore generated files in test subdirectories. 2 | */obj/ 3 | */libs/ 4 | */*/obj/ 5 | */*/libs/ 6 | rs/ 7 | out/ 8 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/__init__.py -------------------------------------------------------------------------------- /tests/awk/extract-launchable/multiple-categories.out: -------------------------------------------------------------------------------- 1 | .HelloJni 2 | -------------------------------------------------------------------------------- /tests/awk/extract-launchable/multiple-launchables.out: -------------------------------------------------------------------------------- 1 | .HelloJni 2 | .HelloJni3 3 | -------------------------------------------------------------------------------- /tests/awk/extract-launchable/no-launchable.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/awk/extract-launchable/no-launchable.out -------------------------------------------------------------------------------- /tests/awk/extract-launchable/one-launchable.out: -------------------------------------------------------------------------------- 1 | .HelloJni 2 | -------------------------------------------------------------------------------- /tests/awk/extract-pid/test-1.out: -------------------------------------------------------------------------------- 1 | 2827 2 | -------------------------------------------------------------------------------- /tests/awk/gen-windows-host-path/test-1.in: -------------------------------------------------------------------------------- 1 | C:/cygwin/bin on /usr/bin type ntfs (binary,auto) 2 | C:/cygwin/lib on /usr/lib type ntfs (binary,auto) 3 | C:/cygwin on / type ntfs (binary,auto) 4 | C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) 5 | D: on /cygdrive/d type udf (binary,posix=0,user,noumount,auto) 6 | -------------------------------------------------------------------------------- /tests/awk/gen-windows-host-path/test-1.out: -------------------------------------------------------------------------------- 1 | $(patsubst /%,C:/cygwin/%, 2 | $(patsubst /usr/bin/%,C:/cygwin/bin/%, 3 | $(patsubst /usr/lib/%,C:/cygwin/lib/%, 4 | $(patsubst /cygdrive/C/%,C:/%, 5 | $(patsubst /cygdrive/D/%,D:/%, 6 | $(patsubst /cygdrive/c/%,C:/%, 7 | $(patsubst /cygdrive/d/%,D:/%, 8 | $1))))))) 9 | -------------------------------------------------------------------------------- /tests/build/.gitignore: -------------------------------------------------------------------------------- 1 | */obj/ 2 | */libs/ 3 | -------------------------------------------------------------------------------- /tests/build/absolute-src-file-paths/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script is used to check that using absolute paths in 4 | # LOCAL_SRC_PATHS works properly. 5 | CUR_DIR=$(cd $(dirname "$0") && pwd) 6 | echo $NDK/ndk-build "$@" FOO_PATH="$CUR_DIR/src" 7 | $NDK/ndk-build "$@" FOO_PATH="$CUR_DIR/src" 8 | -------------------------------------------------------------------------------- /tests/build/absolute-src-file-paths/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/absolute-src-file-paths/src/foo.c: -------------------------------------------------------------------------------- 1 | int foo(int x) { 2 | return x + 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/absolute-src-file-paths/src/main.c: -------------------------------------------------------------------------------- 1 | extern int foo(int); 2 | 3 | int main(void) { 4 | return foo(18); 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/ansi/README: -------------------------------------------------------------------------------- 1 | This test is meant to test -ansi 2 | 3 | -------------------------------------------------------------------------------- /tests/build/ansi/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-9 3 | -------------------------------------------------------------------------------- /tests/build/awk-trailing-r/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | LOCAL_MODULE := awk-trailing-r 4 | LOCAL_SRC_FILES := awk-trailing-r.c 5 | include $(BUILD_SHARED_LIBRARY) 6 | -------------------------------------------------------------------------------- /tests/build/awk-trailing-r/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/awk-trailing-r/jni/awk-trailing-r.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/b14811006-GOT_PREL-optimization/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := SkAlphaMulQ 5 | LOCAL_SRC_FILES := SkAlphaMulQ.cc 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/b14811006-GOT_PREL-optimization/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi armeabi-v7a 2 | -------------------------------------------------------------------------------- /tests/build/b14811006-GOT_PREL-optimization/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7", "clang3.8", "gcc6"]} 2 | -------------------------------------------------------------------------------- /tests/build/b14825026-aarch64-FP_LO_REGS/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := idct_dequant_full_2x_neon 5 | LOCAL_SRC_FILES := idct_dequant_full_2x_neon.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/b14825026-aarch64-FP_LO_REGS/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := arm64-v8a 2 | -------------------------------------------------------------------------------- /tests/build/b14825026-aarch64-FP_LO_REGS/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi != 'arm64-v8a': 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/b8247455-hidden-cxa/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/build/b8247455-hidden-cxa/jni/idiv.cpp: -------------------------------------------------------------------------------- 1 | int my_idiv (int a, int b) 2 | { 3 | return a / b; 4 | } 5 | -------------------------------------------------------------------------------- /tests/build/b8247455-hidden-cxa/jni/throw.cpp: -------------------------------------------------------------------------------- 1 | extern int my_idiv(int a, int b); 2 | int my_thorw() 3 | { 4 | my_idiv(3, 5); 5 | throw 20; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/b9193874-neon/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := b9193874-neon 5 | LOCAL_SRC_FILES := b9193874-neon.c.neon 6 | LOCAL_CFLAGS += -frename-registers -O2 7 | include $(BUILD_SHARED_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/b9193874-neon/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/build/b9193874-neon/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": "clang3.6"} 2 | -------------------------------------------------------------------------------- /tests/build/b9193874-neon/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | if toolchain != '4.9': 5 | return toolchain 6 | return None 7 | -------------------------------------------------------------------------------- /tests/build/build-assembly-file/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/build-assembly-file/jni/assembly-mips.S: -------------------------------------------------------------------------------- 1 | .text 2 | .align 2 3 | .ent foo 4 | .globl foo 5 | .set noreorder 6 | foo: 7 | jr $31 8 | nop 9 | .end foo 10 | -------------------------------------------------------------------------------- /tests/build/build-assembly-file/jni/assembly1.s: -------------------------------------------------------------------------------- 1 | .global foo 2 | foo: 3 | bl bar 4 | bx lr 5 | -------------------------------------------------------------------------------- /tests/build/build-assembly-file/jni/assembly2.S: -------------------------------------------------------------------------------- 1 | .global bar 2 | bar: 3 | mov r0, #0 4 | bx lr 5 | -------------------------------------------------------------------------------- /tests/build/build-mode/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_OPTIM := release -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_ABI := all 3 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.C: -------------------------------------------------------------------------------- 1 | #include "main.cc" 2 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.CPP: -------------------------------------------------------------------------------- 1 | #include "main.cc" 2 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.c++: -------------------------------------------------------------------------------- 1 | #include "main.cc" 2 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.cc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | std::cout << "Hello World!" << std::endl; 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.cp: -------------------------------------------------------------------------------- 1 | #include "main.cc" 2 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.cpp: -------------------------------------------------------------------------------- 1 | #include "main.cc" 2 | -------------------------------------------------------------------------------- /tests/build/c++-stl-source-extensions/jni/main.cxx: -------------------------------------------------------------------------------- 1 | #include "main.cc" 2 | -------------------------------------------------------------------------------- /tests/build/check-armeabi-v7a-prebuilts/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | -------------------------------------------------------------------------------- /tests/build/check-armeabi-v7a-prebuilts/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard -------------------------------------------------------------------------------- /tests/build/clang-include-gnu-libc++/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := clang-include-gnu-libc++ 5 | LOCAL_SRC_FILES := clang-include-gnu-libc++.cc 6 | LOCAL_CPPFLAGS += -std=gnu++11 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/clang-include-gnu-libc++/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_shared -------------------------------------------------------------------------------- /tests/build/copysign/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := copysign 5 | LOCAL_SRC_FILES := copysign.cpp 6 | LOCAL_CPPFLAGS := -std=c++11 7 | include $(BUILD_SHARED_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/copysign/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | -------------------------------------------------------------------------------- /tests/build/copysign/jni/copysign.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | template 4 | T foo(T a) { 5 | return std::copysign(a, static_cast(-1.0)); 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/copysign/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, toolchain, subtest=None): 2 | if abi not in ('arm64-v8a', 'mips64', 'x86_64'): 3 | return abi, 'https://b.android.com/74835' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/build/cortex-a53-835769/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := arm64-v8a 2 | -------------------------------------------------------------------------------- /tests/build/cortex-a53-835769/jni/cortex-a53-835769-1.c: -------------------------------------------------------------------------------- 1 | int 2 | foo (int a, double b, int c, int d, int e) 3 | { 4 | double result; 5 | __asm__ __volatile ("// %0, %1" 6 | : "=w" (result) 7 | :"0" (b) 8 | : /* No clobbers */ 9 | ); 10 | return c * d + e; 11 | } 12 | 13 | int main() 14 | { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /tests/build/cortex-a53-835769/jni/cortex-a53-835769-2.c: -------------------------------------------------------------------------------- 1 | int 2 | foo (int a, int b, int c, int d, int e) 3 | { 4 | int result; 5 | __asm__ __volatile ("// %0, %1" 6 | : "=r" (result) 7 | : "r" (b) 8 | : /* No clobbers */ 9 | ); 10 | return c * d + e; 11 | } 12 | 13 | int main() 14 | { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /tests/build/cortex-a53-835769/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi != 'arm64-v8a': 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/foo1.cc: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | 3 | extern int foo1(int x) { 4 | return x + 1; 5 | } 6 | 7 | } -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/foo2.cp: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | 3 | extern int foo1(int); 4 | 5 | int foo2(int x) { 6 | return foo1(x) + 2; 7 | } 8 | 9 | } // namespace cpp 10 | -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/foo3.cxx: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | 3 | extern int foo2(int); 4 | 5 | int foo3(int x) { 6 | return foo2(x) + 3; 7 | } 8 | 9 | } // namespace cpp -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/foo4.cpp: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | 3 | extern int foo3(int); 4 | 5 | int foo4(int x) { 6 | return foo3(x) + 4; 7 | } 8 | 9 | } // namespace cpp 10 | -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/foo5.C: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | 3 | extern int foo4(int); 4 | 5 | int foo5(int x) { 6 | return foo4(x) + 5; 7 | } 8 | 9 | } -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/foo6.CPP: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | 3 | extern int foo5(int); 4 | 5 | int foo6(int x) { 6 | return foo5(x) + 6; 7 | } 8 | 9 | } // namespace cpp -------------------------------------------------------------------------------- /tests/build/cpp-extensions/jni/main.c++: -------------------------------------------------------------------------------- 1 | namespace cpp { 2 | extern int foo6(int); 3 | } 4 | 5 | int x; 6 | 7 | int main(int argc, char** argv) { 8 | x = cpp::foo6(10); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /tests/build/crystax-check-__gnu_linux__/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-check-__gnu_linux__/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/crystax-check-__gnu_linux__/jni/main.c: -------------------------------------------------------------------------------- 1 | #if defined(__gnu_linux__) && defined(__ANDROID__) 2 | #error Both __gnu_linux__ and __ANDROID__ defined 3 | #endif 4 | 5 | int main() 6 | { 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1044-clang-x86_64-crash/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.cpp 2 | CXXFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1044-clang-x86_64-crash/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1044-clang-x86_64-crash/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1044-clang-x86_64-crash/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CPPFLAGS := $(CXXFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1044-clang-x86_64-crash/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := x86_64 2 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1044-clang-x86_64-crash/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7"]} 2 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1170-alloca-redefined/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-alloca 5 | LOCAL_SRC_FILES := main.c 6 | LOCAL_CFLAGS := -Wall -Wextra -Werror 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1170-alloca-redefined/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/crystax-issue1170-alloca-redefined/jni/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1234-fd_set-should-be-exposed-implicitly-by-stdlib_h/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | CFLAGS += -UNDEBUG 4 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1234-fd_set-should-be-exposed-implicitly-by-stdlib_h/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1234-fd_set-should-be-exposed-implicitly-by-stdlib_h/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.cpp 2 | CXXFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CPPFLAGS := $(CXXFLAGS) 8 | LOCAL_LDLIBS := -latomic 9 | include $(BUILD_EXECUTABLE) 10 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/jni/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | std::atomic a(0); 7 | return ++a == 1 ? 0 : 1; 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-___atomic_add_fetch/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7"]} 2 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.cpp 2 | CXXFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CPPFLAGS := $(CXXFLAGS) 8 | LOCAL_LDLIBS := -latomic 9 | include $(BUILD_EXECUTABLE) 10 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/jni/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | std::atomic a(0); 7 | return ++a == 1 ? 0 : 1; 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1263-clang-64bit-atomics/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7"]} 2 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.cpp 2 | CXXFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CPPFLAGS := $(CXXFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/jni/main.cpp: -------------------------------------------------------------------------------- 1 | #include // for PTRDIFF_MAX 2 | #include // for ptrdiff_t 3 | 4 | int main() 5 | { 6 | ptrdiff_t x = PTRDIFF_MAX; 7 | (void)x; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1340-PTRDIFF_MAX-is-not-defined/properties.json: -------------------------------------------------------------------------------- 1 | {"broken": "true"} 2 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1363-do-not-know-how-to-soften-operand/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := test.cpp 6 | include $(BUILD_SHARED_LIBRARY) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1363-do-not-know-how-to-soften-operand/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := x86_64 2 | APP_STL := system 3 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1370-unknown-dwarf-version/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := test.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-issue1370-unknown-dwarf-version/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int16_t f16(int16_t i) 5 | { 6 | return __swap16(i); 7 | } 8 | 9 | int main() 10 | { 11 | return f16((int16_t)1); 12 | } 13 | -------------------------------------------------------------------------------- /tests/build/crystax-issue922-struct_user-exposed-by-stdlib_h/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-issue922-struct_user-exposed-by-stdlib_h/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/crystax-issue922-struct_user-exposed-by-stdlib_h/jni/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | struct user var; 4 | 5 | int main() 6 | { 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/crystax-test-__GCC_HAVE_SYNC_COMPARE_AND_SWAP/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := clang-atomic-macros 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-test-__GCC_HAVE_SYNC_COMPARE_AND_SWAP/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/crystax-test-c++-exceptions-and-rtti-enabled-by-default/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := test.cpp 6 | include $(BUILD_EXECUTABLE) 7 | 8 | -------------------------------------------------------------------------------- /tests/build/crystax-test-ext-hash/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-ext-hash 5 | LOCAL_SRC_FILES := main.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-test-ext-hash/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/crystax-test-ext-hash/jni/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/crystax-test-neon/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-neon 5 | LOCAL_ARM_NEON := true 6 | LOCAL_SRC_FILES := main.cpp 7 | include $(BUILD_SHARED_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/crystax-test-neon/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a 2 | -------------------------------------------------------------------------------- /tests/build/crystax-test-posix-interfaces/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/build/crystax-test-posix-interfaces/jni/.gitignore: -------------------------------------------------------------------------------- 1 | gen/ 2 | -------------------------------------------------------------------------------- /tests/build/crystax-test-prebuilt-macros/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-prebuilt-macros 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-test-prebuilt-macros/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/crystax-test-prebuilt-macros/jni/main.c: -------------------------------------------------------------------------------- 1 | #ifndef __CRYSTAX__ 2 | #error "__CRYSTAX__ macro is undefined" 3 | #endif 4 | 5 | #if __CRYSTAX__ != 1 6 | #error "__CRYSTAX__ macro defined, but has value other than '1'" 7 | #endif 8 | 9 | int main() 10 | { 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /tests/build/crystax-test-sync_file_range/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := sync_file_range 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/crystax-test-sync_file_range/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/deprecate-__set_errno/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$NDK" ]; then 4 | echo "ERROR: NDK is not defined" 1>&2 5 | exit 1 6 | fi 7 | 8 | $NDK/ndk-build "$@" 9 | if [ $? -eq 0 ]; then 10 | echo "ERROR: Build succeed, but it should fail" 1>&2 11 | exit 1 12 | fi 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /tests/build/fenv/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_fenv_c 5 | LOCAL_SRC_FILES := test_fenv.c 6 | include $(BUILD_EXECUTABLE) 7 | 8 | include $(CLEAR_VARS) 9 | LOCAL_MODULE := test_fenv_cpp 10 | LOCAL_SRC_FILES := test_fenv.cpp 11 | include $(BUILD_EXECUTABLE) 12 | -------------------------------------------------------------------------------- /tests/build/fenv/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/flto/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/flto/jni/flto.c: -------------------------------------------------------------------------------- 1 | int foo() { 2 | return 0; 3 | } 4 | 5 | int main() 6 | { 7 | return foo(); 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/flto/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7", "clang3.8"]} 2 | -------------------------------------------------------------------------------- /tests/build/gnustl-force-all/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_gnustl_forced_all 5 | LOCAL_SRC_FILES := forced_all.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/gnustl-force-all/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | APP_GNUSTL_FORCE_CPP_FEATURES := exceptions rtti 4 | -------------------------------------------------------------------------------- /tests/build/gnustl-force-exceptions/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$NDK" ]; then 4 | echo "ERROR: NDK is not defined" 1>&2 5 | exit 1 6 | fi 7 | 8 | $NDK/ndk-build "$@" 9 | if [ $? -eq 0 ]; then 10 | echo "ERROR: Build succeed, but it should fail" 1>&2 11 | exit 1 12 | fi 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /tests/build/gnustl-force-none/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$NDK" ]; then 4 | echo "ERROR: NDK is not defined" 1>&2 5 | exit 1 6 | fi 7 | 8 | $NDK/ndk-build "$@" 9 | if [ $? -eq 0 ]; then 10 | echo "ERROR: Build succeed, but it should fail" 1>&2 11 | exit 1 12 | fi 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /tests/build/gnustl-force-rtti/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_gnustl_forced_rtti 5 | LOCAL_SRC_FILES := forced_rtti.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/gnustl-force-rtti/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | APP_GNUSTL_FORCE_CPP_FEATURES := rtti -------------------------------------------------------------------------------- /tests/build/import-install/README: -------------------------------------------------------------------------------- 1 | The purpose of this test is to check that imported shared libraries 2 | are properly installed to the target location, i.e. libs// 3 | 4 | -------------------------------------------------------------------------------- /tests/build/import-install/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libfoo 5 | LOCAL_SRC_FILES := main.c 6 | LOCAL_SHARED_LIBRARIES := libpath1 7 | include $(BUILD_SHARED_LIBRARY) 8 | 9 | $(call import-module,path1) 10 | 11 | -------------------------------------------------------------------------------- /tests/build/import-install/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/import-install/jni/main.c: -------------------------------------------------------------------------------- 1 | #include "path1.h" 2 | 3 | int foo(int x) 4 | { 5 | return path1(x) - 16; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /tests/build/import-install/path1/path1.c: -------------------------------------------------------------------------------- 1 | #include "path1.h" 2 | #include "path2.h" 3 | 4 | int path1(int x) 5 | { 6 | return path2(x + 1); 7 | } 8 | 9 | -------------------------------------------------------------------------------- /tests/build/import-install/path1/path1.h: -------------------------------------------------------------------------------- 1 | #ifndef PATH1_H 2 | #define PATH1_H 3 | extern int path1(int x); 4 | #endif 5 | -------------------------------------------------------------------------------- /tests/build/import-install/path2/path2.c: -------------------------------------------------------------------------------- 1 | #include "path2.h" 2 | 3 | int path2(int x) 4 | { 5 | return x*42; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /tests/build/import-install/path2/path2.h: -------------------------------------------------------------------------------- 1 | #ifndef PATH2_H 2 | #define PATH2_H 3 | extern int path2(int x); 4 | #endif 5 | -------------------------------------------------------------------------------- /tests/build/import-static/README: -------------------------------------------------------------------------------- 1 | The purpose of this check is to verify that static library imports 2 | are transitive, i.e. that if foo imports a static library bar, which 3 | imports another static library zoo, then libfoo.so will be linked 4 | against both libbar.a and libzoo.a properly. 5 | 6 | -------------------------------------------------------------------------------- /tests/build/import-static/bar/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libbar 5 | LOCAL_SRC_FILES := bar.c 6 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) 7 | include $(BUILD_STATIC_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/import-static/bar/bar.c: -------------------------------------------------------------------------------- 1 | #include "bar.h" 2 | 3 | int bar(int x) 4 | { 5 | return x+32; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/import-static/bar/bar.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | extern int bar(int x); 5 | 6 | #endif -------------------------------------------------------------------------------- /tests/build/import-static/build.sh: -------------------------------------------------------------------------------- 1 | cd `dirname $0` 2 | PWD=$(pwd) 3 | 4 | # Update NDK_MODULE_PATH so we can find our imported modules 5 | export NDK_MODULE_PATH="$PWD" 6 | 7 | # Build everything 8 | $NDK/ndk-build "$@" 9 | -------------------------------------------------------------------------------- /tests/build/import-static/foo/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libfoo 5 | LOCAL_SRC_FILES := foo.c 6 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) 7 | LOCAL_STATIC_LIBRARIES := libbar 8 | include $(BUILD_STATIC_LIBRARY) 9 | 10 | $(call import-module,bar) 11 | 12 | -------------------------------------------------------------------------------- /tests/build/import-static/foo/foo.c: -------------------------------------------------------------------------------- 1 | #include "foo.h" 2 | #include "bar.h" 3 | 4 | int foo(int x) 5 | { 6 | return bar(x)*2; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/import-static/foo/foo.h: -------------------------------------------------------------------------------- 1 | #ifndef _FOO_H 2 | #define _FOO_H 3 | 4 | extern int foo(int x); 5 | 6 | #endif -------------------------------------------------------------------------------- /tests/build/import-static/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_static_imports 5 | LOCAL_SRC_FILES := main.c 6 | LOCAL_STATIC_LIBRARIES := libfoo 7 | include $(BUILD_SHARED_LIBRARY) 8 | 9 | $(call import-module,foo) 10 | 11 | -------------------------------------------------------------------------------- /tests/build/import-static/jni/main.c: -------------------------------------------------------------------------------- 1 | #include "foo.h" 2 | 3 | int goop(int x) 4 | { 5 | return foo(x-5)*7; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/issue-gcc59052-partial-specialization-of-template/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue-gcc59052-partial-specialization-of-template 5 | LOCAL_SRC_FILES := issue-gcc59052-partial-specialization-of-template.cc 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue-gcc59052-partial-specialization-of-template/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue17144-byteswap/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue17144-byteswap 5 | LOCAL_SRC_FILES := issue17144-byteswap.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue17144-byteswap/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue17144-byteswap/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, toolchain, subtest=None): 2 | if toolchain == 'clang' and abi.startswith('armeabi-v7a'): 3 | return '{} {}'.format(toolchain, abi), 'http://b/26091410' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/build/issue20862-libpng-O0/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue21132-__ARM_ARCH__/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue21132-__ARM_ARCH__ 5 | LOCAL_SRC_FILES := issue21132-__ARM_ARCH__.c 6 | include $(BUILD_EXECUTABLE) 7 | 8 | -------------------------------------------------------------------------------- /tests/build/issue21132-__ARM_ARCH__/jni/Application.mk: -------------------------------------------------------------------------------- 1 | # Only armeabi-v7a* and x86 instruction for fast __swap32md 2 | APP_ABI := armeabi-v7a x86 armeabi-v7a-hard 3 | -------------------------------------------------------------------------------- /tests/build/issue21132-__ARM_ARCH__/jni/issue21132-__ARM_ARCH__.c: -------------------------------------------------------------------------------- 1 | #if defined(__ARM_ARCH_5__) 2 | #error 3 | #elif defined(__ARM_ARCH_5T__) 4 | #error 5 | #elif defined(__ARM_ARCH_5E__) 6 | #error 7 | #elif defined(__ARM_ARCH_5TE__) 8 | #error 9 | #endif 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /tests/build/issue21132-__ARM_ARCH__/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard', 'x86'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/issue22336-ICE-emit-rtl/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/build/issue22336-ICE-emit-rtl/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/issue22345-ICE-postreload/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/build/issue22345-ICE-postreload/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/issue34613-neon/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | ifeq ($(strip $(filter-out $(NDK_KNOWN_ARCHS),$(TARGET_ARCH))),) 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := issue34613-neon 6 | LOCAL_ARM_NEON := true 7 | LOCAL_SRC_FILES := issue34613-neon.cpp 8 | include $(BUILD_SHARED_LIBRARY) 9 | endif 10 | -------------------------------------------------------------------------------- /tests/build/issue34613-neon/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | APP_STL := gnustl_shared 3 | -------------------------------------------------------------------------------- /tests/build/issue34613-neon/jni/issue34613-neon.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void x(float32x4_t v0, float32_t f) 5 | { 6 | float32x4_t vv = vmulq_n_f32( v0, f); 7 | } 8 | 9 | int main() 10 | { 11 | std::vector my_vector; 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /tests/build/issue34613-neon/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/issue36131-flto-c++11/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/build/issue36131-flto-c++11/jni/issue36131-flto-c++11.cxx: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/issue36131-flto-c++11/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7", "clang3.8"]} 2 | -------------------------------------------------------------------------------- /tests/build/issue38441-Elf32_auxv_t/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue38441-Elf32_auxv_t 5 | LOCAL_SRC_FILES := issue38441-Elf32_auxv_t.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue38441-Elf32_auxv_t/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue39824-__BYTE_ORDER/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue39824-__BYTE_ORDER/jni/issue39824-_BYTE_ORDER.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | return 0 * _BYTE_ORDER * __BYTE_ORDER; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/issue39824-__BYTE_ORDER/jni/issue39824-__BYTE_ORDER.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | return 0 * __BYTE_ORDER; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/issue39983-PAGE_SIZE/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue39983-PAGE_SIZE 5 | LOCAL_SRC_FILES := issue39983-PAGE_SIZE.c 6 | include $(BUILD_EXECUTABLE) 7 | 8 | -------------------------------------------------------------------------------- /tests/build/issue39983-PAGE_SIZE/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue39983-PAGE_SIZE/jni/issue39983-PAGE_SIZE.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | return 0 * PTHREAD_STACK_MIN; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE 5 | LOCAL_SRC_FILES := issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE.c 6 | LOCAL_LDLIBS += -lOpenSLES 7 | include $(BUILD_SHARED_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-14 -------------------------------------------------------------------------------- /tests/build/issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE/jni/issue40625-SL_IID_ANDROIDBUFFERQUEUESOURCE.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | SLInterfaceID foo() 5 | { 6 | return SL_IID_ANDROIDBUFFERQUEUESOURCE; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/issue41297-atomic-64bit/jni/Application.mk: -------------------------------------------------------------------------------- 1 | # Note that MIPS doesn't support 64-bit atomic built-in yet 2 | APP_ABI := armeabi-v7a x86 armeabi-v7a-hard 3 | -------------------------------------------------------------------------------- /tests/build/issue41297-atomic-64bit/jni/issue41297-atomic-64bit.c: -------------------------------------------------------------------------------- 1 | long long K; 2 | 3 | int main() 4 | { 5 | __sync_fetch_and_add(&K, 1); 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/issue41297-atomic-64bit/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi == 'mips': 3 | return abi, 'http://b.android.com/41297' 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/issue41387-uniform-initialized-rvalue/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue41387-uniform-initialized-rvalue 5 | LOCAL_SRC_FILES := issue41387-uniform-initialized-rvalue.cpp 6 | LOCAL_CFLAGS += -std=c++11 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/issue41387-uniform-initialized-rvalue/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue41387-uniform-initialized-rvalue/jni/issue41387-uniform-initialized-rvalue.cpp: -------------------------------------------------------------------------------- 1 | struct pair { 2 | int a, b; 3 | void method() const {} 4 | }; 5 | 6 | int main() { 7 | (pair { 0, 0 }).method(); 8 | } 9 | 10 | -------------------------------------------------------------------------------- /tests/build/issue41770-_GLIBCXX_HAS_GTHREADS/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue41770-_GLIBCXX_HAS_GTHREADS 5 | LOCAL_SRC_FILES := issue41770-_GLIBCXX_HAS_GTHREADS.cpp 6 | include $(BUILD_EXECUTABLE) 7 | 8 | -------------------------------------------------------------------------------- /tests/build/issue41770-_GLIBCXX_HAS_GTHREADS/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/build/issue41770-_GLIBCXX_HAS_GTHREADS/jni/issue41770-_GLIBCXX_HAS_GTHREADS.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | #if !defined(_GLIBCXX_HAS_GTHREADS) 6 | #error _GLIBCXX_HAS_GTHREADS is not defined 7 | #endif 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/issue41770-_GLIBCXX_HAS_GTHREADS/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, toolchain, subtest=None): 2 | return 'all', 'http://b/27433401' 3 | -------------------------------------------------------------------------------- /tests/build/issue42841-LOCAL_PATH/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue53163-OpenSLES_AndroidConfiguration/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue53163-OpenSLES_AndroidConfiguration 5 | LOCAL_SRC_FILES := issue53163-OpenSLES_AndroidConfiguration.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue53163-OpenSLES_AndroidConfiguration/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-9 3 | -------------------------------------------------------------------------------- /tests/build/issue53404-backward-compatibility/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue53404-backward-compatibility 5 | LOCAL_SRC_FILES := issue53404-backward-compatibility.cpp 6 | LOCAL_CFLAGS := -Wno-deprecated 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/issue53404-backward-compatibility/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static -------------------------------------------------------------------------------- /tests/build/issue53404-backward-compatibility/jni/issue53404-backward-compatibility.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/issue53711-un_h/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue53711-un_h 5 | LOCAL_SRC_FILES := issue53711-un_h.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue53711-un_h/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue54465-invalid-asm-operand-out-of-range/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue54465-invalid-asm-operand-out-of-range 5 | LOCAL_SRC_FILES := issue54465-invalid-asm-operand-out-of-range.cpp 6 | LOCAL_CPPFLAGS += -O0 7 | include $(BUILD_SHARED_LIBRARY) -------------------------------------------------------------------------------- /tests/build/issue54465-invalid-asm-operand-out-of-range/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_shared -------------------------------------------------------------------------------- /tests/build/issue54623-dcraw_common-x86-segfault/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue54623-dcraw_common-x86-segfault 5 | LOCAL_SRC_FILES := issue54623-dcraw_common-x86-segfault.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue54623-dcraw_common-x86-segfault/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue54623-dcraw_common-x86-segfault/jni/issue54623-dcraw_common-x86-segfault.cpp: -------------------------------------------------------------------------------- 1 | int c; 2 | void foo(int f) 3 | { 4 | int wbi=-100000000; 5 | c = (f ? "012346000000000000":"01345:000000006008")[wbi]-'0'+ 2; 6 | } 7 | int main() 8 | { 9 | return 0; 10 | } -------------------------------------------------------------------------------- /tests/build/issue56508-gcc4.7-ICE/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue56508-gcc4.7-ICE 5 | LOCAL_SRC_FILES := extraMachine.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue56508-gcc4.7-ICE/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue58135-_C_LABEL_STRING/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue58135-_C_LABEL_STRING 5 | LOCAL_SRC_FILES := issue58135-_C_LABEL_STRING.cpp 6 | LOCAL_CPPFLAGS += -std=c++11 -Werror 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/issue58135-_C_LABEL_STRING/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue64679-prctl/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue64679-prctl 5 | LOCAL_SRC_FILES := issue64679-prctl.cc 6 | LOCAL_CPPFLAGS += -std=c++11 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/issue64679-prctl/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue65705-asm-pc/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi armeabi-v7a armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/build/issue65705-asm-pc/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["gcc4.8", "gcc4.9", "gcc5", "gcc6"]} 2 | -------------------------------------------------------------------------------- /tests/build/issue66668-libc++-std-feof/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue66668-libc++-std-feof 5 | LOCAL_SRC_FILES := issue66668-libc++-std-feof.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/issue66668-libc++-std-feof/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := c++_static 3 | -------------------------------------------------------------------------------- /tests/build/issue66668-libc++-std-feof/jni/issue66668-libc++-std-feof.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | std::FILE* fp; 6 | int a = std::getchar(); 7 | int b = std::putchar(a); 8 | std::clearerr(fp); 9 | int c = std::feof(fp); 10 | int d = std::ferror(fp); 11 | 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /tests/build/issue79114-__builtin___stpncpy_chk/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := __builtin___stpncpy_chk 5 | LOCAL_SRC_FILES := __builtin___stpncpy_chk.c 6 | LOCAL_CFLAGS += -D_FORTIFY_SOURCE=2 7 | include $(BUILD_EXECUTABLE) 8 | 9 | -------------------------------------------------------------------------------- /tests/build/issue79114-__builtin___stpncpy_chk/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-21 3 | -------------------------------------------------------------------------------- /tests/build/issue79114-__builtin___stpncpy_chk/jni/__builtin___stpncpy_chk.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) 4 | { 5 | stpncpy(argv[1], argv[2], argc); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/issue79115-confusing-ld.gold-warning/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue81440-non-ascii-comment/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue81440-non-ascii-comment 5 | LOCAL_SRC_FILES := issue81440-non-ascii-comment.cpp 6 | LOCAL_CFLAGS += -fmessage-length=150 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/issue81440-non-ascii-comment/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/issue81440-non-ascii-comment/jni/issue81440-non-ascii-comment.cpp: -------------------------------------------------------------------------------- 1 | # 1 "" 2 | # 1 "c:\\b.cpp" 3 | class foo 4 | { 5 | void F(cocos2d::CCScene* a); // инициализация начального состояния. Можно вызвать только 1 раз 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/lambda-defarg3/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := lambda-defarg3 5 | LOCAL_SRC_FILES := lambda-defarg3.C 6 | LOCAL_CFLAGS += -std=c++11 -fabi-version=0 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/lambda-defarg3/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/lambda-defarg3/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if toolchain != '4.9': 3 | return toolchain 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/merge-string-literals/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := merge-string-literals 5 | LOCAL_SRC_FILES := merge-string-literals-1.c merge-string-literals-2.c 6 | include $(BUILD_SHARED_LIBRARY) 7 | -------------------------------------------------------------------------------- /tests/build/merge-string-literals/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := system 3 | -------------------------------------------------------------------------------- /tests/build/mips-fp4/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := mips 2 | -------------------------------------------------------------------------------- /tests/build/mips-fp4/jni/mips-fp4-test1-2.c: -------------------------------------------------------------------------------- 1 | double test1 (double a, double b, double c) 2 | { 3 | return a + b * c; 4 | } 5 | double test2 (double a, double b, double c) 6 | { 7 | return - a + b * c; 8 | } 9 | double a, b, c; 10 | 11 | int main() 12 | { 13 | test1(a, b, c); 14 | test2(a, b, c); 15 | } 16 | -------------------------------------------------------------------------------- /tests/build/mips-fp4/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7", "clang3.8"]} 2 | -------------------------------------------------------------------------------- /tests/build/multi-abi/README: -------------------------------------------------------------------------------- 1 | This test checks that we can build the same binary for multiple architectures 2 | in a single ndk-build invokation, i.e. when using: 3 | 4 | APP_ABI := armeabi armeabi-v7a x86 mips armeabi-v7a-hard 5 | 6 | This failed in NDK r6 due to a bug in the build scripts. 7 | -------------------------------------------------------------------------------- /tests/build/multi-abi/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := multi-hello 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/multi-abi/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a x86 mips armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/build/multi-abi/jni/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | printf("Hello world!\n"); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "\$0=$0" 4 | cd `dirname $0` 5 | echo "PWD=`pwd`" 6 | export NDK_MODULE_PATH=`pwd`/path1:`pwd`/path2 7 | $NDK/ndk-build "$@" 8 | if [ $? != 0 ]; then 9 | echo "ERROR: Can't build test program!" 10 | exit 1 11 | fi 12 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := multi_path_test 5 | LOCAL_SRC_FILES := test.c 6 | LOCAL_STATIC_LIBRARIES := libbar libfoo 7 | include $(BUILD_EXECUTABLE) 8 | 9 | $(call import-module,bar) 10 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "bar.h" 3 | 4 | int main(void) 5 | { 6 | printf("The answer is %d\n", bar()); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/path1/foo/foo.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | extern int foo(void); 5 | 6 | #endif /* FOO_H */ 7 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/path1/foo/libfoo.c: -------------------------------------------------------------------------------- 1 | #include "foo.h" 2 | 3 | int foo(void) 4 | { 5 | return 42; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/path2/bar/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libbar 5 | LOCAL_SRC_FILES := libbar.c 6 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) 7 | LOCAL_STATIC_LIBRARIES := libfoo 8 | include $(BUILD_STATIC_LIBRARY) 9 | 10 | $(call import-module,foo) 11 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/path2/bar/bar.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | extern int bar(void); 5 | 6 | #endif /* BAR_H */ 7 | -------------------------------------------------------------------------------- /tests/build/multi-module-path/path2/bar/libbar.c: -------------------------------------------------------------------------------- 1 | #include "bar.h" 2 | #include "foo.h" 3 | 4 | int bar(void) 5 | { 6 | return foo()*2; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/multiple-static-const/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := test_multiple_static_const 6 | LOCAL_SRC_FILES := main.cpp foo.cpp 7 | 8 | include $(BUILD_EXECUTABLE) 9 | 10 | -------------------------------------------------------------------------------- /tests/build/multiple-static-const/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/multiple-static-const/jni/foo.cpp: -------------------------------------------------------------------------------- 1 | #include "main.h" 2 | 3 | void foo(void) 4 | { 5 | return; 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/multiple-static-const/jni/main.cpp: -------------------------------------------------------------------------------- 1 | #include "main.h" 2 | 3 | const int Foo::CONST_1 = 42; 4 | const double Foo::CONST_2 = 3.14159265; 5 | 6 | extern void foo(void); 7 | 8 | int main(void) 9 | { 10 | foo(); 11 | return 0; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /tests/build/multiple-static-const/jni/main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H 2 | #define MAIN_H 3 | 4 | class Foo { 5 | public: 6 | static const int CONST_1; 7 | static const double CONST_2; 8 | }; 9 | 10 | #endif /* MAIN_H */ 11 | -------------------------------------------------------------------------------- /tests/build/ndk-build-unit-tests/build.sh: -------------------------------------------------------------------------------- 1 | # This is used to check that the internal unit tests of ndk-build 2 | # work properly. Note that these only check internal Make functions 3 | # within the build system, not anything that tries to build something. 4 | cd $(dirname "$0") 5 | $NDK/ndk-build NDK_UNIT_TESTS=1 clean 6 | -------------------------------------------------------------------------------- /tests/build/ndk-build-unit-tests/jni/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/build/ndk-build-unit-tests/jni/Android.mk -------------------------------------------------------------------------------- /tests/build/ndk-out/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := ndk_out_hello 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/ndk-out/jni/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(void) { 3 | printf("Hello NDK_OUT!\n"); 4 | return 0; 5 | } -------------------------------------------------------------------------------- /tests/build/no-installable-modules/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/no-installable-modules/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/pch-cpp/jni/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/build/pch-cpp/jni/foo.c -------------------------------------------------------------------------------- /tests/build/pch-cpp/jni/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/build/pch-cpp/jni/foo.cpp -------------------------------------------------------------------------------- /tests/build/pch-cpp/jni/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/build/pch-cpp/jni/stdafx.h -------------------------------------------------------------------------------- /tests/build/pch-tags/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard x86 arm64-v8a x86_64 2 | -------------------------------------------------------------------------------- /tests/build/pch-tags/jni/bar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/build/pch-tags/jni/bar.cpp -------------------------------------------------------------------------------- /tests/build/pch-tags/jni/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/build/pch-tags/jni/foo.cpp -------------------------------------------------------------------------------- /tests/build/pch-tags/jni/stdafx.h: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/build/prebuilt-copy/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/prebuilt-copy/jni/main.c: -------------------------------------------------------------------------------- 1 | extern int foo(int); 2 | extern int bar(int); 3 | 4 | int main(void) { 5 | return foo(bar(10)); 6 | } 7 | -------------------------------------------------------------------------------- /tests/build/prebuilt-copy/prebuilts/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libfoo 5 | LOCAL_SRC_FILES := foo.c 6 | include $(BUILD_SHARED_LIBRARY) 7 | 8 | include $(CLEAR_VARS) 9 | LOCAL_MODULE := libbar 10 | LOCAL_SRC_FILES := bar.c 11 | include $(BUILD_STATIC_LIBRARY) 12 | -------------------------------------------------------------------------------- /tests/build/prebuilt-copy/prebuilts/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_MODULES := libfoo libbar 3 | -------------------------------------------------------------------------------- /tests/build/prebuilt-copy/prebuilts/jni/bar.c: -------------------------------------------------------------------------------- 1 | int bar(int x) { 2 | return x * 2; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/prebuilt-copy/prebuilts/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(int x) { 2 | return x - 18; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/project-properties/default.properties: -------------------------------------------------------------------------------- 1 | # This value should be ignored because project.properties 2 | # exists and provides a different one. 3 | target=android-5 4 | -------------------------------------------------------------------------------- /tests/build/project-properties/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/project-properties/project.properties: -------------------------------------------------------------------------------- 1 | # This is the value that should be kept by the build system 2 | # Instead of the one under default.properties 3 | target=android-9 4 | -------------------------------------------------------------------------------- /tests/build/pthread-rwlock-initializer/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_pthread_rwlock_initializer 5 | LOCAL_CFLAGS := -Wall -Werror 6 | LOCAL_SRC_FILES := test_pthread_rwlock_initializer.c 7 | include $(BUILD_SHARED_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/pthread-rwlock-initializer/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-9 -------------------------------------------------------------------------------- /tests/build/ssax-instructions/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/build/ssax-instructions/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/build/standalone-toolchain/foo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | void foo(const std::string& s) { 6 | printf("%s\n", s.c_str()); 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/standalone-toolchain/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/stdint-c++/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/system-cpp-headers/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_system_cpp_headers 5 | LOCAL_SRC_FILES := main.cpp 6 | LOCAL_C_INCLUDES := $(NDK_ROOT)/sources/cxx-stl/system/include 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/system-cpp-headers/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := none 2 | APP_PLATFORM := android-3 3 | -------------------------------------------------------------------------------- /tests/build/target-c-includes/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := check_target_c_includes 5 | LOCAL_SRC_FILES := check.c 6 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 7 | include $(BUILD_SHARED_LIBRARY) 8 | -------------------------------------------------------------------------------- /tests/build/target-c-includes/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/target-c-includes/jni/include/math.h: -------------------------------------------------------------------------------- 1 | /* This is intentionally *not* a real */ 2 | 3 | #define CUSTOM_MATH_H_WAS_INCLUDED 1 4 | -------------------------------------------------------------------------------- /tests/build/test-c-only-flags/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/test-gnustl-chrono/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_stl_chrono 5 | LOCAL_SRC_FILES := main.cpp hanoi.c 6 | LOCAL_CPPFLAGS := -std=c++0x 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/build/test-gnustl-chrono/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_ABI := all 3 | -------------------------------------------------------------------------------- /tests/build/test-inet-defs/README: -------------------------------------------------------------------------------- 1 | This test is there to check that certain declarations are correctly provided 2 | by and . These are mainly required to build the Boost 3 | library for Android. 4 | -------------------------------------------------------------------------------- /tests/build/test-inet-defs/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_inet_defs 5 | LOCAL_SRC_FILES := test-in.c test-in6.c 6 | include $(BUILD_SHARED_LIBRARY) 7 | -------------------------------------------------------------------------------- /tests/build/test-inet-defs/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/build/thin-archives/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_THIN_ARCHIVE := true 3 | -------------------------------------------------------------------------------- /tests/build/thin-archives/jni/bar.c: -------------------------------------------------------------------------------- 1 | extern int foo(void); 2 | 3 | int bar(void) { 4 | return foo(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/thin-archives/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/thin-archives/jni/main.c: -------------------------------------------------------------------------------- 1 | extern int bar(void); 2 | 3 | int main(void) { 4 | return (bar() == 42) ? 0 : 1; 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/bar.c: -------------------------------------------------------------------------------- 1 | #include "bar.h" 2 | 3 | #include "foo.h" 4 | 5 | int bar(int x) { 6 | return foo2(x) * 3; 7 | } 8 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/bar.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | extern int bar(int x); 5 | 6 | #endif /* BAR_H */ 7 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/foo.c: -------------------------------------------------------------------------------- 1 | #include "foo.h" 2 | 3 | int foo(int x) { 4 | return x + 42; 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/foo.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | extern int foo(int x); 5 | extern int foo2(int x); 6 | 7 | #endif /* FOO_H */ 8 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/foo2.c: -------------------------------------------------------------------------------- 1 | #include "foo.h" 2 | 3 | int foo2(int x) { 4 | return x - 42; 5 | } 6 | -------------------------------------------------------------------------------- /tests/build/topological-sort/jni/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "foo.h" 4 | #include "bar.h" 5 | 6 | int main() { 7 | int x = 10; 8 | printf("foo(%d) = %d\n", x, foo(x)); 9 | printf("bar(%d) = %d\n", x, bar(x)); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /tests/build/ucontext/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := ucontext 5 | LOCAL_SRC_FILES := ucontext.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/build/ucontext/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/build/warn-bad-modules/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := foo 5 | LOCAL_SRC_FILES := foo.cpp 6 | include $(BUILD_STATIC_LIBRARY) 7 | -------------------------------------------------------------------------------- /tests/build/warn-bad-modules/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | 3 | # Android.mk only defines the 'foo' module. 4 | # Itentionally ask for the non-existing 'bar' module to be built. 5 | APP_MODULES := bar 6 | -------------------------------------------------------------------------------- /tests/build/warn-bad-modules/jni/foo.cpp: -------------------------------------------------------------------------------- 1 | int foo() { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/warn-no-ldflags-in-static-libraries/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_MODULES := libfoo 2 | APP_ABI := all 3 | -------------------------------------------------------------------------------- /tests/build/warn-no-ldflags-in-static-libraries/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/warn-no-ldlibs-in-static-libraries/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_MODULES := libfoo 2 | APP_ABI := all 3 | -------------------------------------------------------------------------------- /tests/build/warn-no-ldlibs-in-static-libraries/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/warn-no-modules/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # This file is intentionally empty! 2 | -------------------------------------------------------------------------------- /tests/build/warn-non-system-libs-in-linker-flags/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/build/warn-non-system-libs-in-linker-flags/jni/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | extern int foo(void); 4 | 5 | int main(void) { 6 | printf("foo=%d\n", foo()); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/build/warn-thin-archive-is-for-static-libraries/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libfoo 5 | LOCAL_SRC_FILES := foo.c 6 | LOCAL_THIN_ARCHIVE := true 7 | include $(BUILD_SHARED_LIBRARY) 8 | 9 | -------------------------------------------------------------------------------- /tests/build/warn-thin-archive-is-for-static-libraries/jni/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/device/asan-smoke/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := c++_shared 2 | NDK_TOOLCHAIN_VERSION := clang3.6 3 | -------------------------------------------------------------------------------- /tests/device/asan-smoke/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/device/b16355626-bad-atof-strtod/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := b16355626-bad-atof-strtod 5 | LOCAL_SRC_FILES := b16355626-bad-atof-strtod.cpp 6 | LOCAL_CFLAGS += -std=c++11 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/b16355626-bad-atof-strtod/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := c++_static 3 | -------------------------------------------------------------------------------- /tests/device/b16355858/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_SRC_FILES := sample.c sample_lib.c 6 | LOCAL_MODULE := sample 7 | LOCAL_ARM_MODE := arm 8 | 9 | include $(BUILD_EXECUTABLE) 10 | -------------------------------------------------------------------------------- /tests/device/b16355858/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/b8708181-Vector4/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a x86 mips armeabi-v7a-hard arm64-v8a x86_64 mips64 2 | -------------------------------------------------------------------------------- /tests/device/b8708181-Vector4/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi == 'armeabi': 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/bitfield/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | 3 | LOCAL_PATH:= $(call my-dir) 4 | include $(CLEAR_VARS) 5 | 6 | LOCAL_MODULE := bitfield 7 | 8 | LOCAL_SRC_FILES:= \ 9 | main.c \ 10 | func.c 11 | 12 | LOCAL_CFLAGS += -O1 13 | 14 | include $(BUILD_EXECUTABLE) 15 | -------------------------------------------------------------------------------- /tests/device/bitfield/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/bitfield/jni/header.h: -------------------------------------------------------------------------------- 1 | struct s { 2 | unsigned int x:1; 3 | unsigned int unused:15; 4 | unsigned short y; 5 | }; 6 | 7 | union u { 8 | struct s s; 9 | volatile int i; 10 | }; 11 | 12 | void foo(union u *ptr, int flag); 13 | -------------------------------------------------------------------------------- /tests/device/clone/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-9 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1003-pw_gecos/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | CFLAGS += -UNDEBUG 4 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1003-pw_gecos/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1003-pw_gecos/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1003-pw_gecos/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1003-pw_gecos/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1046-dlopen-unknown-reloc-type-160/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1046-dlopen-unknown-reloc-type-160/jni/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define N 3 4 | struct S { 5 | int a[N]; 6 | }; 7 | 8 | extern "C" 9 | void qq() { 10 | std::atomic s; 11 | s.exchange(S()); 12 | } 13 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1046-dlopen-unknown-reloc-type-160/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["gcc4.9", "gcc5", "gcc6"]} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1163-dladdr/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1163-dladdr/jni/foo.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H_8d72b0b670554fcd9f45542d25d8537f 2 | #define FOO_H_8d72b0b670554fcd9f45542d25d8537f 3 | 4 | #define MAGIC_NUMBER_FROM_SO 127512580 5 | #define MAGIC_NUMBER_FROM_EXE 917670907 6 | 7 | #endif /* FOO_H_8d72b0b670554fcd9f45542d25d8537f */ 8 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1188-wrong-static-library-link/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | 3 | APP_STL := gnustl_shared 4 | APP_GNUSTL_FORCE_CPP_FEATURES := exceptions rtti 5 | 6 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1188-wrong-static-library-link/jni/lib-shared.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "lib-static.hpp" 3 | 4 | namespace libShared { 5 | 6 | int& 7 | getValue() 8 | { 9 | return libStatic::getValue(); 10 | } 11 | 12 | } // namespace libShared 13 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1188-wrong-static-library-link/jni/lib-shared.hpp: -------------------------------------------------------------------------------- 1 | 2 | namespace libShared { 3 | 4 | int& 5 | getValue(); 6 | 7 | } // namespace libShared 8 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1188-wrong-static-library-link/jni/lib-static.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "lib-static.hpp" 3 | 4 | namespace libStatic { 5 | 6 | int& 7 | getValue() 8 | { 9 | static int value = 1; 10 | return value; 11 | } 12 | 13 | } // namespace libStatic 14 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1188-wrong-static-library-link/jni/lib-static.hpp: -------------------------------------------------------------------------------- 1 | 2 | namespace libStatic { 3 | 4 | int& 5 | getValue(); 6 | 7 | } // namespace libStatic 8 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1194-posix_memalign/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | 3 | CFLAGS := -Wall -Wextra -Werror 4 | CFLAGS += -UNDEBUG 5 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1194-posix_memalign/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1194-posix_memalign/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1194-posix_memalign/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1252-swab/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := main.c 6 | LOCAL_CFLAGS := -Wall -Wextra -Werror 7 | LOCAL_CFLAGS += -UNDEBUG 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1252-swab/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1360-boost_locale_issetugid/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1369-lrintf/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | CFLAGS += -DNDEBUG 4 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1369-lrintf/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1369-lrintf/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1369-lrintf/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-lrintf 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1369-lrintf/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1369-lrintf/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | long v = lrintf(23.45f); 7 | printf("v=%ld\n", v); 8 | printf("ok\n"); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1398-esdb/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1398-esdb/properties.json: -------------------------------------------------------------------------------- 1 | {"broken": "true"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1399-gmtime-return-NULL-tm_zone/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | CFLAGS += -UNDEBUG 4 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1399-gmtime-return-NULL-tm_zone/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1399-gmtime-return-NULL-tm_zone/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1399-gmtime-return-NULL-tm_zone/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1399-gmtime-return-NULL-tm_zone/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1436-gethostname/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := main.c 6 | LOCAL_CFLAGS := -Wall -Wextra -Werror 7 | LOCAL_CFLAGS += -UNDEBUG 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue1436-gethostname/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue350-copy-with-zone/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.m 2 | 3 | CFLAGS := -Wall -Werror 4 | -------------------------------------------------------------------------------- /tests/device/crystax-issue350-copy-with-zone/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue350-copy-with-zone/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue350-copy-with-zone/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-type": "gcc"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue355-clock_nanosleep/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := \ 2 | main.c \ 3 | 4 | CFLAGS := -Wall -Wextra -Werror 5 | -------------------------------------------------------------------------------- /tests/device/crystax-issue355-clock_nanosleep/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue355-clock_nanosleep/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue355-clock_nanosleep/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := clock_nanosleep 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue355-clock_nanosleep/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue355-clock_nanosleep/properties.json: -------------------------------------------------------------------------------- 1 | {"onhost-disabled-os": ["darwin", "linux"]} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue57-std_atomic/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.cpp 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue57-std_atomic/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue57-std_atomic/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue876-swapNN/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-swap 5 | LOCAL_SRC_FILES := main.c macro.c function.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/crystax-issue876-swapNN/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue876-swapNN/jni/main.c: -------------------------------------------------------------------------------- 1 | extern void test_macros(); 2 | extern void test_functions(); 3 | 4 | int main() 5 | { 6 | test_macros(); 7 | test_functions(); 8 | 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /tests/device/crystax-issue912-__tls_get_addr/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue912-__tls_get_addr/jni/test.c: -------------------------------------------------------------------------------- 1 | #ifdef NDEBUG 2 | #undef NDEBUG 3 | #endif 4 | 5 | #include 6 | 7 | void tga_set_value(int v); 8 | int tga_value(); 9 | 10 | int main() 11 | { 12 | tga_set_value(1); 13 | assert(tga_value() == 1); 14 | 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /tests/device/crystax-issue912-__tls_get_addr/jni/tga.c: -------------------------------------------------------------------------------- 1 | __thread int __v; 2 | 3 | void tga_set_value(int v) 4 | { 5 | __v = v; 6 | } 7 | 8 | int tga_value() 9 | { 10 | return __v; 11 | } 12 | -------------------------------------------------------------------------------- /tests/device/crystax-issue912-__tls_get_addr/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": "clang3.6"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-issue995-objective-c-literals/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.m 2 | 3 | CFLAGS := -Wall -Werror 4 | CFLAGS += -UNDEBUG 5 | -------------------------------------------------------------------------------- /tests/device/crystax-issue995-objective-c-literals/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-issue995-objective-c-literals/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | ifneq (,$(shell uname -s | grep -i darwin)) 3 | include $(or $(NDK),../../../..)/tests/onhost.mk 4 | else 5 | .PHONY: test 6 | test: 7 | @echo "=== Skip on this OS" 8 | endif 9 | -------------------------------------------------------------------------------- /tests/device/crystax-issue995-objective-c-literals/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["gcc4.9", "gcc5", "gcc6"]} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-alignof/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test 5 | LOCAL_SRC_FILES := test.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/crystax-test-alignof/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-big-switch/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | $(shell $(LOCAL_PATH)/gen 20000) 4 | 5 | include $(CLEAR_VARS) 6 | LOCAL_MODULE := crystax-test-big-switch 7 | LOCAL_SRC_FILES := main.c switch.c 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-big-switch/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_OPTIM := debug 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-bionic/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-bionic/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true, 3 | "long": true 4 | } 5 | -------------------------------------------------------------------------------- /tests/device/crystax-test-boost-serialization/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c++11/.syntastic/cxx: -------------------------------------------------------------------------------- 1 | -std=c++11 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c++11/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c++11/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-complex/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -fno-builtin 3 | CFLAGS += -Wall -Wextra -Werror 4 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-complex/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-complex/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | 3 | LDLIBS := -lm 4 | 5 | include $(or $(NDK),../../../..)/tests/onhost.mk 6 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-complex/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-complex/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": "clang3.6"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-stdlib/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | CFLAGS += -DNDEBUG 4 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-stdlib/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-stdlib/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-c99-stdlib/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | #APP_PLATFORM := android-9 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-cmake/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(TARGET hello-world) 2 | 3 | add_definitions(-Wall -Wextra -Werror) 4 | add_executable(${TARGET} test.c) 5 | -------------------------------------------------------------------------------- /tests/device/crystax-test-cmake/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | printf("Hello, world!\n"); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/device/crystax-test-dynamic_cast/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.cpp 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-dynamic_cast/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-dynamic_cast/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-dynamic_cast/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-dynamic-cast 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-dynamic_cast/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-executables/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-executables/jni/main.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /tests/device/crystax-test-fcntl/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := fcntl.c 2 | 3 | CFLAGS := -Wall -Wextra -Werror 4 | CFLAGS += -UNDEBUG 5 | -------------------------------------------------------------------------------- /tests/device/crystax-test-fcntl/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-fcntl/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-fcntl/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-fcntl 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_C_INCLUDES := $(LOCAL_PATH) 8 | LOCAL_CFLAGS := $(CFLAGS) 9 | include $(BUILD_EXECUTABLE) 10 | -------------------------------------------------------------------------------- /tests/device/crystax-test-fcntl/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-float-abi/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-float-abi 5 | LOCAL_SRC_FILES := test-float.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/crystax-test-float-abi/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | APP_PLATFORM := android-9 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-getauxval/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-getauxval 5 | LOCAL_SRC_FILES := test.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/crystax-test-getauxval/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-getauxval/jni/test.c: -------------------------------------------------------------------------------- 1 | #ifdef NDEBUG 2 | #undef NDEBUG 3 | #endif 4 | 5 | #include 6 | #include 7 | 8 | int main() 9 | { 10 | unsigned long pz = getauxval(AT_PAGESZ); 11 | printf("AT_PAGESZ = %lu", pz); 12 | 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /tests/device/crystax-test-iostream/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.cpp 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-iostream/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-iostream/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-iostream/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-iostream 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-iostream/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_shared 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libcrystax/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/crystax-test-libjpeg-turbo/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libjpeg-turbo/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | struct jpeg_compress_struct cinfo; 7 | jpeg_create_compress(&cinfo); 8 | jpeg_destroy_compress(&cinfo); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libjpeg/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libjpeg/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | struct jpeg_compress_struct cinfo; 7 | jpeg_create_compress(&cinfo); 8 | jpeg_destroy_compress(&cinfo); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libkqueue/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libpng/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-libpng/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | printf("libpng version: (%lu):%s\n", (unsigned long)png_access_version_number(), png_get_header_version(NULL)); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-locales/common.mk: -------------------------------------------------------------------------------- 1 | CTESTS := \ 2 | setlocale \ 3 | strfmon \ 4 | strftime \ 5 | 6 | CFLAGS := -Wall -Wextra -Werror 7 | CFLAGS += -UNDEBUG 8 | -------------------------------------------------------------------------------- /tests/device/crystax-test-locales/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-locales/host/test.mk: -------------------------------------------------------------------------------- 1 | include $(or $(NDK),../../../..)/tests/onhost.mk 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-locales/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-msun/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-msun/host/test.mk: -------------------------------------------------------------------------------- 1 | include $(or $(NDK),../../../..)/tests/onhost.mk 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-msun/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.m 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | 3 | ifneq (,$(shell uname -s | grep -i linux)) 4 | .PHONY: test 5 | test: 6 | @echo "Skipped for Linux" 7 | 8 | else 9 | include $(or $(NDK),../../../..)/tests/onhost.mk 10 | endif 11 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-objc-blocks 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_OBJC := none 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/jni/test.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void (^testBlock)(void) = ^{ 4 | printf("Hello world!\n"); 5 | }; 6 | 7 | int main() 8 | { 9 | testBlock(); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-blocks/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-type": "gcc"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/common.mk: -------------------------------------------------------------------------------- 1 | CTESTS := \ 2 | assert \ 3 | base \ 4 | nslog \ 5 | string \ 6 | exception \ 7 | 8 | CFLAGS := -UNDEBUG 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/host/test.mk: -------------------------------------------------------------------------------- 1 | include $(or $(NDK),../../../..)/tests/onhost.mk 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/jni/test-assert.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main() 4 | { 5 | NSCAssert(YES, @""); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/jni/test-nslog.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main() 4 | { 5 | NSLog(@"AAAAAAAAAAAAAAAAA: %@", [NSString stringWithUTF8String:"IJHUYGKLJAHS"]); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-cocotron/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-type": "gcc"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-runtime/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test.c objc.m objcxx.mm 2 | CFLAGS := -Wall -Wextra -Werror -Wno-objc-root-class 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-runtime/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-runtime/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi armeabi-v7a armeabi-v7a-hard arm64-v8a x86 x86_64 2 | APP_OBJC := none 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-runtime/jni/test.c: -------------------------------------------------------------------------------- 1 | void test_objc(); 2 | void test_objcxx(); 3 | 4 | int main() 5 | { 6 | test_objc(); 7 | test_objcxx(); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /tests/device/crystax-test-objc-runtime/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-type": "gcc"} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-openpts/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-openpts/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-openpts/properties.json: -------------------------------------------------------------------------------- 1 | {"long": true, "single-run-timeout": 240} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-pthread_workqueue/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-pthread_workqueue/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["gcc4.9", "gcc5", "clang3.6", "clang3.7"]} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-rand_r/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-rand_r/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-rand_r/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-rand_r/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-stdlib 6 | LOCAL_C_INCLUDES := $(LOCAL_PATH) 7 | LOCAL_SRC_FILES := $(SRCFILES) 8 | LOCAL_CFLAGS := $(CFLAGS) 9 | include $(BUILD_EXECUTABLE) 10 | -------------------------------------------------------------------------------- /tests/device/crystax-test-rand_r/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-regex/common.mk: -------------------------------------------------------------------------------- 1 | CFLAGS := -Wall -Wextra -Werror 2 | SRCFILES := main.cpp 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-regex/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-regex/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-regex/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-setjmp/common.mk: -------------------------------------------------------------------------------- 1 | CFLAGS := -Wall -Wextra -Werror 2 | SRCFILES := main.c 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-setjmp/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-setjmp/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-setjmp/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-setjmp 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-setjmp/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test-sincos-main.c test-sincos-c.c test-sincos-cpp.cpp 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-sincos 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/jni/test-sincos-c.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | float test_sincos_c(float a) 4 | { 5 | return sin(a) + cos(a); 6 | } 7 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sincos/jni/test-sincos-cpp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | extern "C" 4 | float test_sincos_cpp(float a) 5 | { 6 | return sin(a) + cos(a); 7 | } 8 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sqlite3/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-sqlite3/jni/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | printf("sqlite3 version: %s\n", sqlite3_libversion()); 7 | printf("sqlite3 source id: %s\n", sqlite3_sourceid()); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /tests/device/crystax-test-std-atomic-crashes/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := none 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-std-atomic-crashes/properties.json: -------------------------------------------------------------------------------- 1 | {"single-run-timeout": 240} 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stdatomic.h/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | 3 | CFLAGS := -std=c11 4 | CFLAGS += -Wall -Wextra -Werror 5 | CFLAGS += -UNDEBUG 6 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stdatomic.h/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stdatomic.h/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stdio/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stdio/host/test.mk: -------------------------------------------------------------------------------- 1 | include $(or $(NDK),../../../..)/tests/onhost.mk 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stdio/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stream-float-output/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := test-stream-float-output.cpp 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stream-float-output/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stream-float-output/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stream-float-output/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-stream-float-output 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-stream-float-output/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/crystax-test-stream-float-output/jni/test-stream-float-output.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | std::stringstream ss; 7 | ss << 3.14; 8 | std::cout << ss.str() << "\n"; 9 | std::cout << 3.15 << "\n"; 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /tests/device/crystax-test-strtod/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-strtod/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-strtod/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-strtod/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(LOCAL_PATH)/../common.mk 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := test-strtod 6 | LOCAL_SRC_FILES := $(SRCFILES) 7 | LOCAL_CFLAGS := $(CFLAGS) 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/crystax-test-strtod/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar-minmax/common.mk: -------------------------------------------------------------------------------- 1 | SRCFILES := main.c 2 | CFLAGS := -Wall -Wextra -Werror 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar-minmax/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar-minmax/host/GNUmakefile: -------------------------------------------------------------------------------- 1 | include ../common.mk 2 | include $(or $(NDK),../../../..)/tests/onhost.mk 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar-minmax/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar/host/test.mk: -------------------------------------------------------------------------------- 1 | include $(or $(NDK),../../../..)/tests/onhost.mk 2 | -------------------------------------------------------------------------------- /tests/device/crystax-test-wchar/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/emm/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | ifeq ($(strip $(filter-out $(NDK_KNOWN_ARCHS),$(TARGET_ARCH))),) 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := emm 6 | LOCAL_SRC_FILES := emm.c 7 | include $(BUILD_EXECUTABLE) 8 | endif 9 | -------------------------------------------------------------------------------- /tests/device/emm/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := x86 2 | APP_PLATFORM := android-16 3 | -------------------------------------------------------------------------------- /tests/device/exceptions-crash/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := none 3 | -------------------------------------------------------------------------------- /tests/device/exceptions-crash/jni/foo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | void foo() 6 | { 7 | try { 8 | ::printf("Hello "); 9 | throw std::exception(); 10 | } 11 | catch (std::exception e) { 12 | ::printf(" World!\n"); 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /tests/device/fenv/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_fenv_c 5 | LOCAL_SRC_FILES := test_fenv.c 6 | LOCAL_LDFLAGS += -lm 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/fenv/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a x86 mips armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/device/fenv/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi == 'armeabi': 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/gnustl-shared-1/README: -------------------------------------------------------------------------------- 1 | This checks that one can link against gnustl_shared and still throw exceptions 2 | between several binaries. I.e. one exception is thrown in libfoo.so and caught 3 | into the main executable. 4 | 5 | -------------------------------------------------------------------------------- /tests/device/gnustl-shared-1/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_shared 2 | APP_ABI := all 3 | 4 | APP_CPPFLAGS := -fexceptions 5 | -------------------------------------------------------------------------------- /tests/device/gnustl-shared-1/jni/foo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int foo(void) 6 | { 7 | ::printf("Hello "); 8 | throw std::exception(); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /tests/device/issue19851-sigsetjmp/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue19851-sigsetjmp 5 | LOCAL_SRC_FILES := issue19851-sigsetjmp.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/issue19851-sigsetjmp/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/issue19851-sigsetjmp/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | if device_platform <= 10: 3 | return device_platform, 'http://b/26015756' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/device/issue20176-__gnu_Unwind_Find_exidx/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue20176-__gnu_Unwind_Find_exidx 5 | LOCAL_SRC_FILES := issue20176-__gnu_Unwind_Find_exidx.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/issue20176-__gnu_Unwind_Find_exidx/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | APP_STL := gnustl_shared 3 | APP_CPPFLAGS += -fexceptions 4 | APP_CPPFLAGS += -frtti 5 | -------------------------------------------------------------------------------- /tests/device/issue20176-__gnu_Unwind_Find_exidx/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi not in ('armeabi', 'armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/issue22165-typeinfo/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_shared -------------------------------------------------------------------------------- /tests/device/issue22165-typeinfo/jni/throwable.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "myexception.h" 4 | #include "throwable.h" 5 | 6 | int throw_an_exception() 7 | { 8 | std::cout << "throw_an_exception()" << std::endl; 9 | throw my_exception("my exception"); 10 | } -------------------------------------------------------------------------------- /tests/device/issue22165-typeinfo/jni/throwable.h: -------------------------------------------------------------------------------- 1 | #ifndef THROWABLE_H__ 2 | #define THROWABLE_H__ 3 | 4 | int throw_an_exception(); 5 | 6 | #endif //THROWABLE_H__ 7 | -------------------------------------------------------------------------------- /tests/device/issue28598-linker-global-ref/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/issue28598-linker-global-ref/jni/liba.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "liba.h" 3 | int global = 0x42; 4 | void func() 5 | { 6 | printf("global = 0x%x (%p)\n", global, &global); 7 | } 8 | 9 | -------------------------------------------------------------------------------- /tests/device/issue28598-linker-global-ref/jni/liba.h: -------------------------------------------------------------------------------- 1 | extern int global; 2 | void func(); -------------------------------------------------------------------------------- /tests/device/issue35933-lambda/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue35933-lambda 5 | LOCAL_SRC_FILES := issue35933-lambda.cpp 6 | LOCAL_CFLAGS += -std=gnu++0x 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/issue35933-lambda/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_shared -------------------------------------------------------------------------------- /tests/device/issue39680-chrono-resolution/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue39680-chrono-resolution 5 | LOCAL_SRC_FILES := issue39680-chrono-resolution.cpp 6 | LOCAL_CFLAGS += -std=gnu++0x 7 | include $(BUILD_EXECUTABLE) 8 | 9 | -------------------------------------------------------------------------------- /tests/device/issue39680-chrono-resolution/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/device/issue42891-boost-1_52/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_PLATFORM := android-9 3 | APP_STL := gnustl_static 4 | -------------------------------------------------------------------------------- /tests/device/issue42891-boost-1_52/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | return 'all', 'http://b/27433401' 3 | -------------------------------------------------------------------------------- /tests/device/issue46718-iostream-crash-gnustl/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue46718-iostream-crash-gnustl 5 | LOCAL_SRC_FILES := issue46718-iostream-crash.cpp 6 | include $(BUILD_EXECUTABLE) 7 | 8 | -------------------------------------------------------------------------------- /tests/device/issue46718-iostream-crash-gnustl/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/device/issue61659-neon-assignment/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := issue61659-neon-assignment 5 | LOCAL_SRC_FILES := issue61659-neon-assignment.c.neon 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/issue61659-neon-assignment/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a armeabi-v7a-hard 2 | -------------------------------------------------------------------------------- /tests/device/issue61659-neon-assignment/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi not in ('armeabi-v7a', 'armeabi-v7a-hard'): 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/issue62910-gcc4.8.2-libstdc++-nth-element-segfault/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static -------------------------------------------------------------------------------- /tests/device/libcxx-relocs/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := c++_static 2 | -------------------------------------------------------------------------------- /tests/device/libcxx-relocs/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/device/libcxx-unwind/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := foo 5 | LOCAL_SRC_FILES := foo.cpp 6 | LOCAL_CPPFLAGS := -std=c++11 -fexceptions -frtti -UNDEBUG -O0 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/libcxx-unwind/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := c++_shared 2 | APP_ABI := armeabi-v7a 3 | APP_PLATFORM := android-21 4 | NDK_TOOLCHAIN_VERSION := clang 5 | -------------------------------------------------------------------------------- /tests/device/libcxx-unwind/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi.startswith('armeabi') and device_platform <= 10: 3 | return '{} {}'.format(abi, device_platform), 'http://b/28044141' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/device/math/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := math_c 5 | LOCAL_SRC_FILES := math.c 6 | include $(BUILD_EXECUTABLE) 7 | 8 | include $(CLEAR_VARS) 9 | LOCAL_MODULE := math_cpp 10 | LOCAL_SRC_FILES := math.cpp 11 | include $(BUILD_EXECUTABLE) 12 | -------------------------------------------------------------------------------- /tests/device/math/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/math/jni/math.cpp: -------------------------------------------------------------------------------- 1 | #include "math.c" 2 | -------------------------------------------------------------------------------- /tests/device/math/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if device_platform < 18: 3 | return device_platform 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/multi-static-instances/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | 3 | # This is a trick to allow use to build three executables 4 | # that are linked to different STL runtimes. 5 | APP_STL := none 6 | -------------------------------------------------------------------------------- /tests/device/stat/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := stat 5 | LOCAL_SRC_FILES := stat.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/stat/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/static-executable/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := system 3 | -------------------------------------------------------------------------------- /tests/device/static-executable/jni/main.cxx: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | printf ("Hello 1\n"); 5 | try { 6 | throw 20; 7 | } catch(...) { 8 | printf ("catch\n"); 9 | } 10 | printf ("Hello 2\n"); 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /tests/device/test-basic-exceptions/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_basic_exceptions 5 | LOCAL_SRC_FILES := test_basic_exceptions.cpp 6 | LOCAL_CPPFLAGS := -fexceptions 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/test-basic-exceptions/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/test-basic-rtti/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_basic_rtti 5 | LOCAL_SRC_FILES := test_basic_rtti.cpp 6 | LOCAL_CPPFLAGS := -frtti 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/test-basic-rtti/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/test-compiler-bug-1/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_compiler_bug1 5 | LOCAL_SRC_FILES := main.c 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/test-compiler-bug-1/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/test-cpufeatures/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/test-cxx-init-array/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_cxx_init_array 5 | LOCAL_SRC_FILES := test.cpp global_ctor.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/test-cxx-init-array/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/test-cxx-init-array/jni/global_ctor.cpp: -------------------------------------------------------------------------------- 1 | #include "global_ctor.h" 2 | 3 | GlobalCtor::GlobalCtor() : Value(42) { } 4 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-1/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_gnustl_1 5 | LOCAL_SRC_FILES := hello.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-1/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | APP_CPPFLAGS := -fexceptions 4 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-2/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_gnustl_locale 5 | LOCAL_SRC_FILES := hello.cpp 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-2/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-2/jni/hello.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | time_t now = 0; 6 | 7 | std::cout << "Hello "; 8 | std::cout << 1.0; 9 | std::cout << now; 10 | std::cout << " World" << std::endl; 11 | } 12 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-copy_vector_into_a_set/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := gnustl_test_copy_vector_into_a_set 5 | LOCAL_SRC_FILES := copy_vector_into_a_set.cpp 6 | LOCAL_CFLAGS += -DBUG=1 7 | include $(BUILD_EXECUTABLE) 8 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-copy_vector_into_a_set/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-full/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | APP_PLATFORM := android-9 -------------------------------------------------------------------------------- /tests/device/test-gnustl-full/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true, 3 | "long": true 4 | } 5 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-full/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | return toolchain, 'http://b/24613808' 3 | -------------------------------------------------------------------------------- /tests/device/test-gnustl-full/unit/collate_facets_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/device/test-gnustl-full/unit/collate_facets_test.cpp -------------------------------------------------------------------------------- /tests/device/test-gnustl-full/unit/ctype_facets_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystax/android-platform-ndk/d86e23c826179a1c46b0576d42501ed234bf1a50/tests/device/test-gnustl-full/unit/ctype_facets_test.cpp -------------------------------------------------------------------------------- /tests/device/test-gnustl-full/unit/epilog_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES) 5 | 6 | struct some_struct { 7 | std::string s; // if std not properly redefined, error will be here 8 | }; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /tests/device/test-gnustl_shared-exception/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_shared 3 | APP_CPPFLAGS := -fexceptions 4 | -------------------------------------------------------------------------------- /tests/device/test-gnustl_shared-exception/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "adbrunner-options": { 3 | "exec_throwing_lib_catching": {"min-api-level": 18} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /tests/device/test-gnustl_static-exception/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := gnustl_static 3 | APP_CPPFLAGS := -fexceptions 4 | -------------------------------------------------------------------------------- /tests/device/test-googletest-full/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # Just import the modules from GoogleTest 2 | # The APP_MODULES declaration in Application.mk will force the 3 | # build of those we're interested in. 4 | 5 | $(call import-module,third_party/googletest) 6 | -------------------------------------------------------------------------------- /tests/device/test-googletest-full/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_MODULES := googletest_unittest 3 | APP_STL := gnustl_static 4 | APP_PLATFORM := android-9 5 | -------------------------------------------------------------------------------- /tests/device/test-googletest-full/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken-run": "gtest_all_test", 3 | "long": true 4 | } 5 | -------------------------------------------------------------------------------- /tests/device/test-googletest-gnustl/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # Just import the modules for GoogleTest 2 | # The APP_MODULES declaration in Application.mk selects which 3 | # ones to build. 4 | $(call import-module,third_party/googletest) 5 | -------------------------------------------------------------------------------- /tests/device/test-libc++-shared-full/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := c++_shared 3 | -------------------------------------------------------------------------------- /tests/device/test-libc++-shared-full/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true, 3 | "long": true 4 | } 5 | -------------------------------------------------------------------------------- /tests/device/test-libc++-shared-full/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | return toolchain 3 | -------------------------------------------------------------------------------- /tests/device/test-libc++-shared/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_1_shared 5 | LOCAL_SRC_FILES := test_1.cc 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/test-libc++-shared/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := c++_shared 3 | -------------------------------------------------------------------------------- /tests/device/test-libc++-static-full/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := c++_static 3 | -------------------------------------------------------------------------------- /tests/device/test-libc++-static-full/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true, 3 | "long": true 4 | } 5 | -------------------------------------------------------------------------------- /tests/device/test-libc++-static-full/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | return toolchain 3 | -------------------------------------------------------------------------------- /tests/device/test-libc++-static/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test_1_static 5 | LOCAL_SRC_FILES := test_1.cc 6 | include $(BUILD_EXECUTABLE) 7 | -------------------------------------------------------------------------------- /tests/device/test-libc++-static/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := c++_static 3 | -------------------------------------------------------------------------------- /tests/device/test-libc++-static/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | if subtest == 'test_1_static' and abi == 'mips': 3 | return abi, 'http://b/24673473' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/device/test-libc++/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | APP_STL := none 3 | LIBCXX_FORCE_REBUILD := true 4 | -------------------------------------------------------------------------------- /tests/device/test-libc++/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi == 'armeabi': 3 | # I have no interest in supporting rebuilding libc++ for ARM5. 4 | return abi 5 | return None 6 | -------------------------------------------------------------------------------- /tests/device/test-openmp/common.mk: -------------------------------------------------------------------------------- 1 | CTESTS := \ 2 | openmp \ 3 | openmp2 \ 4 | fib \ 5 | 6 | CFLAGS := -fopenmp 7 | LDFLAGS := -fopenmp 8 | 9 | CFLAGS += -Wall -Wextra -Werror 10 | -------------------------------------------------------------------------------- /tests/device/test-openmp/host/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | -------------------------------------------------------------------------------- /tests/device/test-openmp/host/test.mk: -------------------------------------------------------------------------------- 1 | include $(or $(NDK),../../../..)/tests/onhost.mk 2 | -------------------------------------------------------------------------------- /tests/device/test-openmp/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/test-openmp/properties.json: -------------------------------------------------------------------------------- 1 | {"broken-toolchain-version": ["clang3.6", "clang3.7", "clang3.8"]} 2 | -------------------------------------------------------------------------------- /tests/device/test-openmp/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | if toolchain == 'clang': 3 | return toolchain, 'http://b/25937032' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/device/test-shaderc-gnustl/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | -------------------------------------------------------------------------------- /tests/device/test-shaderc-gnustl/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/device/test-shaderc-gnustl/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi == 'armeabi': 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/test-shaderc-libc++/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := c++_static 2 | -------------------------------------------------------------------------------- /tests/device/test-shaderc-libc++/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/device/test-shaderc-libc++/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | if abi == 'armeabi': 3 | return abi 4 | return None 5 | -------------------------------------------------------------------------------- /tests/device/test-vulkan/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_PLATFORM := android-24 2 | APP_STL := gnustl_shared 3 | -------------------------------------------------------------------------------- /tests/device/test-vulkan/properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "broken": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/device/test-vulkan/test_config.py: -------------------------------------------------------------------------------- 1 | def match_unsupported(abi, platform, device_platform, toolchain, subtest=None): 2 | # Vulkan support wasn't added until android-24 3 | if device_platform < 24: 4 | return device_platform 5 | 6 | return None 7 | -------------------------------------------------------------------------------- /tests/device/test-wait/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /tests/device/test-wait/test_config.py: -------------------------------------------------------------------------------- 1 | def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 | if subtest == 'test_wait-static' and abi == 'x86': 3 | return abi, 'http://b/24507500' 4 | return None, None 5 | -------------------------------------------------------------------------------- /tests/device/test-yasm/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := test-yasm 5 | LOCAL_SRC_FILES := \ 6 | test-yasm.c \ 7 | print_hello.asm 8 | include $(BUILD_EXECUTABLE) 9 | -------------------------------------------------------------------------------- /tests/device/test-yasm/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := x86 2 | -------------------------------------------------------------------------------- /tests/device/test-yasm/jni/test-yasm.c: -------------------------------------------------------------------------------- 1 | void print_hello(char *s); 2 | int main() 3 | { 4 | print_hello("Android"); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /tests/device/whole-static-libs/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all -------------------------------------------------------------------------------- /tests/device/whole-static-libs/jni/foo.c: -------------------------------------------------------------------------------- 1 | /* This function is called from main() */ 2 | int foo(int x) 3 | { 4 | return x + 42; 5 | } 6 | -------------------------------------------------------------------------------- /tests/device/whole-static-libs/jni/foo2.c: -------------------------------------------------------------------------------- 1 | /* This function is not called from main() but should still be included 2 | * in the final executable due to our use of LOCAL_WHOLE_STATIC_LIBRARIES. 3 | * main() will dlopen() itself to look for the function symbol. 4 | */ 5 | int foo2(int x) 6 | { 7 | return x*2; 8 | } 9 | -------------------------------------------------------------------------------- /tests/standalone/basic-c-compile/main.c: -------------------------------------------------------------------------------- 1 | /* Nothing fancy here, just checking that we can compile hello world */ 2 | #include 3 | 4 | int main(void) { 5 | printf("Hello World!\n"); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/standalone/basic-cxx-compile/main.cpp: -------------------------------------------------------------------------------- 1 | /* Nothing fancy here, just checking that we can compile hello world */ 2 | #include 3 | 4 | int main(void) 5 | { 6 | std::cout << "Hello World!\n" << std::endl; 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /tests/standalone/libcrystax-c-linked/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(void) 5 | { 6 | if (crystax_jvm() != NULL) { 7 | printf("ERROR: crystax_jvm() returned not NULL pointer!\n"); 8 | return 1; 9 | } 10 | 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /tests/standalone/libcrystax-cxx-linked/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | if (crystax_jvm() != NULL) { 7 | std::cerr << "ERROR: crystax_jvm() returned not NULL pointer!" << std::endl; 8 | return 1; 9 | } 10 | 11 | return 0; 12 | } 13 | --------------------------------------------------------------------------------