diff --git a/.flake8 b/.flake8 index bfb29b892f464..9fda842a48c50 100644 --- a/.flake8 +++ b/.flake8 @@ -19,6 +19,7 @@ filename = */tools/find_bigvars.py */tools/merge_pair.py */tools/system_libs.py + */tools/add_license.py */tests/runner.py */tests/test_browser.py */tests/test_other.py diff --git a/em++.py b/em++.py index c5875cbac2acd..c847228709af2 100755 --- a/em++.py +++ b/em++.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. # This script should work in python 2 *or* 3. It loads the main code using # python_selector, which may pick a different version. diff --git a/emar.py b/emar.py index 811deb844659c..27e43b7b803f1 100755 --- a/emar.py +++ b/emar.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' emar - ar helper script diff --git a/embuilder.py b/embuilder.py index 259b197a5d4d5..d14b0317b049d 100755 --- a/embuilder.py +++ b/embuilder.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' Tool to manage building of various useful things, such as libc, libc++, native optimizer, as well as fetch and build ports like zlib and sdl2 diff --git a/emcc.py b/emcc.py index d84e79ae9f882..b13a3fd5b517f 100755 --- a/emcc.py +++ b/emcc.py @@ -1,5 +1,9 @@ #!/usr/bin/env python2 -# -*- Mode: python -*- +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """emcc - compiler helper script ============================= diff --git a/emcmake.py b/emcmake.py index d3eb82ac88f43..f442cf2ed4103 100755 --- a/emcmake.py +++ b/emcmake.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. import os, subprocess, sys from tools import shared diff --git a/emconfigure.py b/emconfigure.py index 714577278cbed..7b06303ead59e 100755 --- a/emconfigure.py +++ b/emconfigure.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' This is a helper script. It runs ./configure (or cmake, diff --git a/emlink.py b/emlink.py index 15bce23cabb78..9e5689bbcb627 100755 --- a/emlink.py +++ b/emlink.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' Fast static linker for emscripten outputs. Specifically this links asm.js modules. diff --git a/emmake.py b/emmake.py index 4f21ad7acf612..550022d13ef5a 100755 --- a/emmake.py +++ b/emmake.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' This is a helper script. It runs make for you, setting diff --git a/emrun.py b/emrun.py index 11f426b27909d..ce31943554380 100755 --- a/emrun.py +++ b/emrun.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. # emrun: Implements machinery that allows running a .html page as if it was a standard executable file. # Usage: emrun filename.html diff --git a/emscripten.py b/emscripten.py index e37d08ee1ad51..a52bc32db8aeb 100755 --- a/emscripten.py +++ b/emscripten.py @@ -1,3 +1,8 @@ +# Copyright 2010 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """A small wrapper script around the core JS compiler. This calls that compiler with the settings given to it. It can also read data from C/C++ header files (so that the JS compiler can see the constants in those diff --git a/site/source/_themes/emscripten_sphinx_rtd_theme/__init__.py b/site/source/_themes/emscripten_sphinx_rtd_theme/__init__.py index bfcf0d6ccef17..6630f217a154b 100644 --- a/site/source/_themes/emscripten_sphinx_rtd_theme/__init__.py +++ b/site/source/_themes/emscripten_sphinx_rtd_theme/__init__.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Sphinx ReadTheDocs theme. From https://github.com/ryan-roemer/sphinx-bootstrap-theme. diff --git a/site/source/api_items.py b/site/source/api_items.py index d6bb96ece3f48..8d2e4aa0ea67a 100644 --- a/site/source/api_items.py +++ b/site/source/api_items.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # Auto-generated file (see get-api_items.py) # diff --git a/site/source/conf.py b/site/source/conf.py index 03e2df8474e66..914981bc887a8 100644 --- a/site/source/conf.py +++ b/site/source/conf.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # -*- coding: utf-8 -*- # # Emscripten documentation build configuration file, created by diff --git a/site/source/get_api_items.py b/site/source/get_api_items.py index 53ceb68d54824..319fb37a7b85c 100644 --- a/site/source/get_api_items.py +++ b/site/source/get_api_items.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # # This script gets all the API items defined in the emscripten documentation. These can then be used for automated adding of cross links in other scripts. It writes api_items.py which has function that is imported into get-wiki.py # diff --git a/site/source/get_wiki.py b/site/source/get_wiki.py index 5d7550c782c64..1df469064b300 100644 --- a/site/source/get_wiki.py +++ b/site/source/get_wiki.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # # This script gets the Emscripten wiki, converts files from markdown to restructure text using pandoc (and also prepends the text with a title/heading based on the filename) # It also fixes up inline code items to become links to api-reference diff --git a/system/lib/al.c b/system/lib/al.c index 99dcfa00675da..548e123593de8 100644 --- a/system/lib/al.c +++ b/system/lib/al.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // AL proc address retrieval #include diff --git a/system/lib/debugging.cpp b/system/lib/debugging.cpp index 5dfaf223b56dd..be15a59aa8273 100644 --- a/system/lib/debugging.cpp +++ b/system/lib/debugging.cpp @@ -1,3 +1,7 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. // Some stuff to patch up an emscripten-sdk build so it can be built natively (see nativize_llvm) diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp index f1f1e275ba9da..268a68d5d1e58 100644 --- a/system/lib/embind/bind.cpp +++ b/system/lib/embind/bind.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #ifdef USE_CXA_DEMANGLE #include <../lib/libcxxabi/include/cxxabi.h> diff --git a/system/lib/emmalloc.cpp b/system/lib/emmalloc.cpp index d5329c4171fa3..40fb34345ed12 100644 --- a/system/lib/emmalloc.cpp +++ b/system/lib/emmalloc.cpp @@ -1,4 +1,9 @@ /* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * * Simple minimalistic but efficient malloc/free. * * Assumptions: diff --git a/system/lib/fetch/asmfs.cpp b/system/lib/fetch/asmfs.cpp index 8a46ce4ed7bd5..25e216c440c0b 100644 --- a/system/lib/fetch/asmfs.cpp +++ b/system/lib/fetch/asmfs.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/system/lib/fetch/emscripten_fetch.cpp b/system/lib/fetch/emscripten_fetch.cpp index 6456c93ed1e65..2d19761a6f48a 100644 --- a/system/lib/fetch/emscripten_fetch.cpp +++ b/system/lib/fetch/emscripten_fetch.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/system/lib/gl.c b/system/lib/gl.c index 0890f0b5edf69..ade19eddcf310 100644 --- a/system/lib/gl.c +++ b/system/lib/gl.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // GL proc address retrieval #include diff --git a/system/lib/html5/key_codes.c b/system/lib/html5/key_codes.c index 78c999d55c021..e659e8a77def3 100644 --- a/system/lib/html5/key_codes.c +++ b/system/lib/html5/key_codes.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include const char *emscripten_dom_vk_to_string(int dom_vk_code) diff --git a/system/lib/libc/extras.c b/system/lib/libc/extras.c index 610d094909922..886ee2032ec60 100644 --- a/system/lib/libc/extras.c +++ b/system/lib/libc/extras.c @@ -1,3 +1,9 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ // Extra libc helper functions diff --git a/system/lib/libc/musl/ldso/dlstart.c b/system/lib/libc/musl/ldso/dlstart.c index 4dbe17843ca27..200ab8ffa2ee3 100644 --- a/system/lib/libc/musl/ldso/dlstart.c +++ b/system/lib/libc/musl/ldso/dlstart.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include "dynlink.h" diff --git a/system/lib/libc/musl/ldso/dynlink.c b/system/lib/libc/musl/ldso/dynlink.c index e458f38673d76..77ec2616f1c49 100644 --- a/system/lib/libc/musl/ldso/dynlink.c +++ b/system/lib/libc/musl/ldso/dynlink.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #define _GNU_SOURCE #include #include diff --git a/system/lib/pthread/library_pthread.c b/system/lib/pthread/library_pthread.c index 8ee9263458941..44252c7147411 100644 --- a/system/lib/pthread/library_pthread.c +++ b/system/lib/pthread/library_pthread.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #define _GNU_SOURCE #include #include diff --git a/system/lib/pthread/library_pthread_asmjs.c b/system/lib/pthread/library_pthread_asmjs.c index 48cd5b7940f3a..e0839fa2dccd3 100644 --- a/system/lib/pthread/library_pthread_asmjs.c +++ b/system/lib/pthread/library_pthread_asmjs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // This file contains support machinery to implement multithreading support for asm.js specifically. // Split out to a separate file so that its contents can be easily left out when only doing Wasm // multithreading. diff --git a/system/lib/split_malloc.cpp b/system/lib/split_malloc.cpp index 824fa941d5418..a69cfaafc8727 100644 --- a/system/lib/split_malloc.cpp +++ b/system/lib/split_malloc.cpp @@ -1,6 +1,11 @@ /* - malloc/free for SPLIT_MEMORY -*/ + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * + * malloc/free for SPLIT_MEMORY + */ #include #include diff --git a/system/lib/test.cpp b/system/lib/test.cpp index 653f9cc78bda0..c79a879755ab1 100644 --- a/system/lib/test.cpp +++ b/system/lib/test.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/799.cpp b/tests/799.cpp index aa3213af58794..a5204426b82d4 100644 --- a/tests/799.cpp +++ b/tests/799.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/Module-exports/test.c b/tests/Module-exports/test.c index 787312ae29f04..459d33afe56da 100644 --- a/tests/Module-exports/test.c +++ b/tests/Module-exports/test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include /** diff --git a/tests/access_file_after_heap_resize.c b/tests/access_file_after_heap_resize.c index 116853eaa6302..5590b7655533d 100644 --- a/tests/access_file_after_heap_resize.c +++ b/tests/access_file_after_heap_resize.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/asm_swap.cpp b/tests/asm_swap.cpp index cf3df0b962660..99b92bac92a39 100644 --- a/tests/asm_swap.cpp +++ b/tests/asm_swap.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include extern "C" { diff --git a/tests/asm_swap2.cpp b/tests/asm_swap2.cpp index b9068729ac824..c177cc11353d5 100644 --- a/tests/asm_swap2.cpp +++ b/tests/asm_swap2.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include extern "C" { diff --git a/tests/asmfs/fopen_write.cpp b/tests/asmfs/fopen_write.cpp index 0ef91af1425c0..ae55c9df42cde 100644 --- a/tests/asmfs/fopen_write.cpp +++ b/tests/asmfs/fopen_write.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/asmfs/hello_file.cpp b/tests/asmfs/hello_file.cpp index 3466768114215..7542e4e6e6cfb 100644 --- a/tests/asmfs/hello_file.cpp +++ b/tests/asmfs/hello_file.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/asmfs/read_file_twice.cpp b/tests/asmfs/read_file_twice.cpp index 1003c2d60603c..e105f6d066e39 100644 --- a/tests/asmfs/read_file_twice.cpp +++ b/tests/asmfs/read_file_twice.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/asmfs/relative_paths.cpp b/tests/asmfs/relative_paths.cpp index 0ec2588460122..e06e26cd53a1e 100644 --- a/tests/asmfs/relative_paths.cpp +++ b/tests/asmfs/relative_paths.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/asmjs-unknown-emscripten.c b/tests/asmjs-unknown-emscripten.c index 36071964650b9..01c74ff34a950 100644 --- a/tests/asmjs-unknown-emscripten.c +++ b/tests/asmjs-unknown-emscripten.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #ifndef __EMSCRIPTEN__ #error __EMSCRIPTEN__ is not defined #endif diff --git a/tests/autoassemble.c b/tests/autoassemble.c index 0619933c21945..ff17c5cc8628a 100644 --- a/tests/autoassemble.c +++ b/tests/autoassemble.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/base64.cpp b/tests/base64.cpp index 44468d4ba529d..a3bcc2bdf5b86 100644 --- a/tests/base64.cpp +++ b/tests/base64.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // https://github.com/kostya/benchmarks/blob/master/base64/test.c #include "stdlib.h" diff --git a/tests/benchmark_ffis.cpp b/tests/benchmark_ffis.cpp index 6e9b7c10c03c1..07fa2a40e6941 100644 --- a/tests/benchmark_ffis.cpp +++ b/tests/benchmark_ffis.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/benchmark_memcpy.cpp b/tests/benchmark_memcpy.cpp index 4f38f0d364763..c6d3278b3f6df 100644 --- a/tests/benchmark_memcpy.cpp +++ b/tests/benchmark_memcpy.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/benchmark_memset.cpp b/tests/benchmark_memset.cpp index 83c03bebea33b..2258ea544d4e7 100644 --- a/tests/benchmark_memset.cpp +++ b/tests/benchmark_memset.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/benchmark_sse1.cpp b/tests/benchmark_sse1.cpp index 57048c6881e5e..8121c48c1c074 100644 --- a/tests/benchmark_sse1.cpp +++ b/tests/benchmark_sse1.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include "benchmark_sse.h" diff --git a/tests/benchmark_sse1.py b/tests/benchmark_sse1.py index 04ca6a603dca7..58f3dc634f032 100755 --- a/tests/benchmark_sse1.py +++ b/tests/benchmark_sse1.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import subprocess, tempfile, os, sys, shutil, json from subprocess import Popen, PIPE, STDOUT diff --git a/tests/benchmark_sse2.cpp b/tests/benchmark_sse2.cpp index 1a0e63ab6dc47..6c6e8718c13b7 100644 --- a/tests/benchmark_sse2.cpp +++ b/tests/benchmark_sse2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include "benchmark_sse.h" diff --git a/tests/benchmark_sse2.py b/tests/benchmark_sse2.py index 9bf67a08055b2..3286e9991dbd6 100755 --- a/tests/benchmark_sse2.py +++ b/tests/benchmark_sse2.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import subprocess, tempfile, os, sys, shutil, json from subprocess import Popen, PIPE, STDOUT diff --git a/tests/benchmark_utf16.cpp b/tests/benchmark_utf16.cpp index e99a0903a379a..cfa4dfe7b60aa 100644 --- a/tests/benchmark_utf16.cpp +++ b/tests/benchmark_utf16.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/benchmark_utf8.cpp b/tests/benchmark_utf8.cpp index 9f9d8956d8147..d4f053aec5db5 100644 --- a/tests/benchmark_utf8.cpp +++ b/tests/benchmark_utf8.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/bigswitch.cpp b/tests/bigswitch.cpp index d4b7f4594830b..93cb8d87422b7 100644 --- a/tests/bigswitch.cpp +++ b/tests/bigswitch.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/binaryen_async.c b/tests/binaryen_async.c index b887e8bf6c010..5cb6f5872a938 100644 --- a/tests/binaryen_async.c +++ b/tests/binaryen_async.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/box2d/Benchmark.cpp b/tests/box2d/Benchmark.cpp index becede6343717..787e8a43795ce 100644 --- a/tests/box2d/Benchmark.cpp +++ b/tests/box2d/Benchmark.cpp @@ -1,3 +1,7 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. // diff --git a/tests/box2d/glui/glui_bitmap_img_data.cpp b/tests/box2d/glui/glui_bitmap_img_data.cpp index 6ec7e6df46df6..d538c65b604a1 100644 --- a/tests/box2d/glui/glui_bitmap_img_data.cpp +++ b/tests/box2d/glui/glui_bitmap_img_data.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + /** Bitmaps for all GLUI images. diff --git a/tests/box2d/glui/glui_treepanel.cpp b/tests/box2d/glui/glui_treepanel.cpp index 4849aed494c80..8d7f3e25473ab 100644 --- a/tests/box2d/glui/glui_treepanel.cpp +++ b/tests/box2d/glui/glui_treepanel.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "glui.h" diff --git a/tests/browser/cwrap_early.cpp b/tests/browser/cwrap_early.cpp index 018d089f5cb91..a57f5cf7702d5 100644 --- a/tests/browser/cwrap_early.cpp +++ b/tests/browser/cwrap_early.cpp @@ -1,3 +1,7 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include diff --git a/tests/browser/separate_metadata_later.cpp b/tests/browser/separate_metadata_later.cpp index 911f265379983..810c4b43748df 100644 --- a/tests/browser/separate_metadata_later.cpp +++ b/tests/browser/separate_metadata_later.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include EMSCRIPTEN_KEEPALIVE extern "C" void finish() { diff --git a/tests/browser_gc.cpp b/tests/browser_gc.cpp index 35fade87038f0..12f23443f13b8 100644 --- a/tests/browser_gc.cpp +++ b/tests/browser_gc.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/browser_main.cpp b/tests/browser_main.cpp index dc9b6c204afd6..7624fea69b406 100644 --- a/tests/browser_main.cpp +++ b/tests/browser_main.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/browser_main_loop.c b/tests/browser_main_loop.c index bf7290f6077f5..ba41befbb1ba2 100644 --- a/tests/browser_main_loop.c +++ b/tests/browser_main_loop.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/browser_module.cpp b/tests/browser_module.cpp index 85d724b5e0f94..f5fa013320bba 100644 --- a/tests/browser_module.cpp +++ b/tests/browser_module.cpp @@ -1,3 +1,7 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. int state = 0; diff --git a/tests/browser_test_hello_world.c b/tests/browser_test_hello_world.c index ff73e3290f59e..16ed2bd77481a 100644 --- a/tests/browser_test_hello_world.c +++ b/tests/browser_test_hello_world.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/bullet/Demos/HelloWorld/parse.py b/tests/bullet/Demos/HelloWorld/parse.py index 9ed253d7708ad..20a6be3e59816 100644 --- a/tests/bullet/Demos/HelloWorld/parse.py +++ b/tests/bullet/Demos/HelloWorld/parse.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import math data = ''' diff --git a/tests/bullet/Extras/ConvexDecomposition/ConvexBuilder.cpp b/tests/bullet/Extras/ConvexDecomposition/ConvexBuilder.cpp index b3d6a8c6c1f6d..a58c58b24bfef 100644 --- a/tests/bullet/Extras/ConvexDecomposition/ConvexBuilder.cpp +++ b/tests/bullet/Extras/ConvexDecomposition/ConvexBuilder.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "float_math.h" #include "ConvexBuilder.h" #include "meshvolume.h" diff --git a/tests/bullet/Extras/glui/glui_bitmap_img_data.cpp b/tests/bullet/Extras/glui/glui_bitmap_img_data.cpp index bfcef31fab303..56fbaa546fc4f 100644 --- a/tests/bullet/Extras/glui/glui_bitmap_img_data.cpp +++ b/tests/bullet/Extras/glui/glui_bitmap_img_data.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + /** Bitmaps for all GLUI images. diff --git a/tests/bullet/Extras/glui/glui_treepanel.cpp b/tests/bullet/Extras/glui/glui_treepanel.cpp index 27c659c1d557b..0165fbbe04728 100644 --- a/tests/bullet/Extras/glui/glui_treepanel.cpp +++ b/tests/bullet/Extras/glui/glui_treepanel.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "GL/glui.h" diff --git a/tests/bullet_hello_world.cpp b/tests/bullet_hello_world.cpp index 1e995a5449f1a..376bb857a6cad 100644 --- a/tests/bullet_hello_world.cpp +++ b/tests/bullet_hello_world.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/canvas_size_proxy.c b/tests/canvas_size_proxy.c index a8a25fd217e6a..f0e2600bf1185 100644 --- a/tests/canvas_size_proxy.c +++ b/tests/canvas_size_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/canvas_style_proxy.c b/tests/canvas_style_proxy.c index 74e149d1adb5a..de87eedcd71d8 100644 --- a/tests/canvas_style_proxy.c +++ b/tests/canvas_style_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/cases/phiself.py b/tests/cases/phiself.py index 109296ab0f369..78d17bc34f866 100644 --- a/tests/cases/phiself.py +++ b/tests/cases/phiself.py @@ -1 +1,6 @@ +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + assert '$phi' not in generated, 'we should optimize out self-phis' diff --git a/tests/cases/update.py b/tests/cases/update.py index 46c7617c5c84b..115537a7b6288 100644 --- a/tests/cases/update.py +++ b/tests/cases/update.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' From llvm migration helper scripts, commits like diff --git a/tests/checksummer.c b/tests/checksummer.c index 2d575d62b7972..757c76b0478a7 100644 --- a/tests/checksummer.c +++ b/tests/checksummer.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/clientside_vertex_arrays_es3.c b/tests/clientside_vertex_arrays_es3.c index 5be589f4b0db8..c1fd9cfef7e47 100644 --- a/tests/clientside_vertex_arrays_es3.c +++ b/tests/clientside_vertex_arrays_es3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/cmake/cmake_with_emval/main.cpp b/tests/cmake/cmake_with_emval/main.cpp index 2ae17dd394b07..819ae6a4e3dab 100644 --- a/tests/cmake/cmake_with_emval/main.cpp +++ b/tests/cmake/cmake_with_emval/main.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/cmake/cpp_lib/lib.cpp b/tests/cmake/cpp_lib/lib.cpp index bc801037bd74b..98bb45a3f80ad 100644 --- a/tests/cmake/cpp_lib/lib.cpp +++ b/tests/cmake/cpp_lib/lib.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + extern "C" { int js_library_function(); } diff --git a/tests/cmake/static_lib/lib.cpp b/tests/cmake/static_lib/lib.cpp index 6f4a231bcda2a..2e51d1600c4e8 100644 --- a/tests/cmake/static_lib/lib.cpp +++ b/tests/cmake/static_lib/lib.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include void foo() diff --git a/tests/cmake/stdproperty/main.cpp b/tests/cmake/stdproperty/main.cpp index fa82b8e8c53bc..17ae7bc2e134d 100644 --- a/tests/cmake/stdproperty/main.cpp +++ b/tests/cmake/stdproperty/main.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include struct vector2d{ diff --git a/tests/cmake/target_js/main.cpp b/tests/cmake/target_js/main.cpp index 5aff9d20b591e..227fb1d6c2c46 100644 --- a/tests/cmake/target_js/main.cpp +++ b/tests/cmake/target_js/main.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + extern "C" { void lib_function(); void lib_function2(); diff --git a/tests/cocos2d_hello.cpp b/tests/cocos2d_hello.cpp index 5b5fed78090c7..efd5d6e7f03fe 100644 --- a/tests/cocos2d_hello.cpp +++ b/tests/cocos2d_hello.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/codemods.cpp b/tests/codemods.cpp index a5e265bd508fe..59a5ee6992e0d 100644 --- a/tests/codemods.cpp +++ b/tests/codemods.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/FS_exports.cpp b/tests/core/FS_exports.cpp index dcc5472203133..93f28fdc6ae4e 100644 --- a/tests/core/FS_exports.cpp +++ b/tests/core/FS_exports.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/core/closebitcasts.c b/tests/core/closebitcasts.c index 2c9d5ab5e41d2..1caeda2a10ae7 100644 --- a/tests/core/closebitcasts.c +++ b/tests/core/closebitcasts.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(int argc, char **argv) { diff --git a/tests/core/dyncall.c b/tests/core/dyncall.c index 4e13318d648de..2dedbe302ecce 100644 --- a/tests/core/dyncall.c +++ b/tests/core/dyncall.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include void waka(int x, int y, int z) { diff --git a/tests/core/dyncall_specific.c b/tests/core/dyncall_specific.c index 3574a9e7cda76..cd9d91b7b9f6f 100644 --- a/tests/core/dyncall_specific.c +++ b/tests/core/dyncall_specific.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include void waka(int x, int y, int z) { diff --git a/tests/core/emscripten_get_compiler_setting.c b/tests/core/emscripten_get_compiler_setting.c index 41eb8e389764d..eee3a7dcd2f5e 100644 --- a/tests/core/emscripten_get_compiler_setting.c +++ b/tests/core/emscripten_get_compiler_setting.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/fnmatch.c b/tests/core/fnmatch.c index ebdb200909809..4b3bf9385dfad 100644 --- a/tests/core/fnmatch.c +++ b/tests/core/fnmatch.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Begin test_fnmatch.cpp #include #include diff --git a/tests/core/getValue_setValue.cpp b/tests/core/getValue_setValue.cpp index 68bf8443e336a..af60382e06b55 100644 --- a/tests/core/getValue_setValue.cpp +++ b/tests/core/getValue_setValue.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/core/legacy_exported_runtime_numbers.cpp b/tests/core/legacy_exported_runtime_numbers.cpp index 33f738b13c079..24bcced170318 100644 --- a/tests/core/legacy_exported_runtime_numbers.cpp +++ b/tests/core/legacy_exported_runtime_numbers.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/core/modularize_closure_pre.c b/tests/core/modularize_closure_pre.c index d8fd68d61b850..7c4244905c70a 100644 --- a/tests/core/modularize_closure_pre.c +++ b/tests/core/modularize_closure_pre.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/core/stackAlloc.cpp b/tests/core/stackAlloc.cpp index cde2f94dc72a0..d01738040b1b4 100644 --- a/tests/core/stackAlloc.cpp +++ b/tests/core/stackAlloc.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/core/stack_overflow.cpp b/tests/core/stack_overflow.cpp index b30af38f94e32..1e0a6f2591aa5 100644 --- a/tests/core/stack_overflow.cpp +++ b/tests/core/stack_overflow.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_addr_of_stacked.c b/tests/core/test_addr_of_stacked.c index 7a4d9ba7ebe23..583b209df478e 100644 --- a/tests/core/test_addr_of_stacked.c +++ b/tests/core/test_addr_of_stacked.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include void alter(int *y) { *y += 5; } int main() { diff --git a/tests/core/test_alloca.c b/tests/core/test_alloca.c index 954dbbf6cb5d9..cd090be9459d3 100644 --- a/tests/core/test_alloca.c +++ b/tests/core/test_alloca.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_alloca_stack.c b/tests/core/test_alloca_stack.c index 983ea3dbc8878..738a1c255b799 100644 --- a/tests/core/test_alloca_stack.c +++ b/tests/core/test_alloca_stack.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // We should not blow up the stack with numerous allocas #include #include diff --git a/tests/core/test_array2.c b/tests/core/test_array2.c index 452e079281f30..18191971f9648 100644 --- a/tests/core/test_array2.c +++ b/tests/core/test_array2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include static const double grid[4][2] = {{-3 / 3., -1 / 3.}, diff --git a/tests/core/test_array2b.c b/tests/core/test_array2b.c index 97ace8dbfa1d0..fa054e9d4babf 100644 --- a/tests/core/test_array2b.c +++ b/tests/core/test_array2b.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include static const struct { diff --git a/tests/core/test_assert.c b/tests/core/test_assert.c index 3a1898fa636db..8545e07781683 100644 --- a/tests/core/test_assert.c +++ b/tests/core/test_assert.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_atexit.c b/tests/core/test_atexit.c index 157cd8b042a0b..bb83b3924cc57 100644 --- a/tests/core/test_atexit.c +++ b/tests/core/test_atexit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_atoX.c b/tests/core/test_atoX.c index 0f5a19fd91501..9cf360a99f551 100644 --- a/tests/core/test_atoX.c +++ b/tests/core/test_atoX.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_atomic.c b/tests/core/test_atomic.c index 2390941f5a7ff..67a60b2cb8a39 100644 --- a/tests/core/test_atomic.c +++ b/tests/core/test_atomic.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { int x = 10; diff --git a/tests/core/test_atomic_cxx.cpp b/tests/core/test_atomic_cxx.cpp index 61828d25d5497..b878965713a42 100644 --- a/tests/core/test_atomic_cxx.cpp +++ b/tests/core/test_atomic_cxx.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + //------------------------------------------------------------------------------ // test C++11 atomics // compile native version with: diff --git a/tests/core/test_bigarray.c b/tests/core/test_bigarray.c index 292a44e537a23..aee3e518816a7 100644 --- a/tests/core/test_bigarray.c +++ b/tests/core/test_bigarray.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // avoid "array initializer too large" errors #include #include diff --git a/tests/core/test_bitfields.c b/tests/core/test_bitfields.c index cbc7ccf239c22..4e62fd59537fe 100644 --- a/tests/core/test_bitfields.c +++ b/tests/core/test_bitfields.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct bitty { unsigned x : 1; diff --git a/tests/core/test_bsearch.c b/tests/core/test_bsearch.c index 3b5fb6bcb1602..88b16fbb4db8f 100644 --- a/tests/core/test_bsearch.c +++ b/tests/core/test_bsearch.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_bswap64.c b/tests/core/test_bswap64.c index a608ad221ccc7..37a5b1edf39eb 100644 --- a/tests/core/test_bswap64.c +++ b/tests/core/test_bswap64.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_ccall.cpp b/tests/core/test_ccall.cpp index 4ad9bd180e2a7..03f1d4cd7c16c 100644 --- a/tests/core/test_ccall.cpp +++ b/tests/core/test_ccall.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_class.c b/tests/core/test_class.c index 9450b4a11d8b9..4daafe8221a2a 100644 --- a/tests/core/test_class.c +++ b/tests/core/test_class.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct Random { enum { diff --git a/tests/core/test_complex.c b/tests/core/test_complex.c index 211368cf1787c..934324dbdcf6b 100644 --- a/tests/core/test_complex.c +++ b/tests/core/test_complex.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_constglobalstructs.c b/tests/core/test_constglobalstructs.c index 182fae2f5a5c2..2badbc3f36ed3 100644 --- a/tests/core/test_constglobalstructs.c +++ b/tests/core/test_constglobalstructs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct IUB { int c; diff --git a/tests/core/test_conststructs.c b/tests/core/test_conststructs.c index 6d664bea73ccc..ce8e29d926187 100644 --- a/tests/core/test_conststructs.c +++ b/tests/core/test_conststructs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct IUB { int c; diff --git a/tests/core/test_copyop.c b/tests/core/test_copyop.c index 847a516c2b9c1..bbbae3420a080 100644 --- a/tests/core/test_copyop.c +++ b/tests/core/test_copyop.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_cxx03_do_run.c b/tests/core/test_cxx03_do_run.c index 2ed0d2cf70b7c..09ac4b759683b 100644 --- a/tests/core/test_cxx03_do_run.c +++ b/tests/core/test_cxx03_do_run.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #if __cplusplus != 199711L diff --git a/tests/core/test_demangle_stacks.cpp b/tests/core/test_demangle_stacks.cpp index 06d6ac6b5afce..b70a84d1197ac 100644 --- a/tests/core/test_demangle_stacks.cpp +++ b/tests/core/test_demangle_stacks.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_demangle_stacks_noassert.cpp b/tests/core/test_demangle_stacks_noassert.cpp index a426f1f6fee0d..3918767ececa9 100644 --- a/tests/core/test_demangle_stacks_noassert.cpp +++ b/tests/core/test_demangle_stacks_noassert.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_direct_string_constant_usage.c b/tests/core/test_direct_string_constant_usage.c index cab335bd07798..267b13f1a663d 100644 --- a/tests/core/test_direct_string_constant_usage.c +++ b/tests/core/test_direct_string_constant_usage.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include template void printText(const char (&text)[i]) { diff --git a/tests/core/test_dlfcn_self.c b/tests/core/test_dlfcn_self.c index 7094b97dc4439..c00cbea312ffc 100644 --- a/tests/core/test_dlfcn_self.c +++ b/tests/core/test_dlfcn_self.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_dlmalloc_partial_2.c b/tests/core/test_dlmalloc_partial_2.c index c811717fdf892..965ee217feac6 100644 --- a/tests/core/test_dlmalloc_partial_2.c +++ b/tests/core/test_dlmalloc_partial_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_double_i64_conversion.c b/tests/core/test_double_i64_conversion.c index 4033e21196111..19f4d87f237ba 100644 --- a/tests/core/test_double_i64_conversion.c +++ b/tests/core/test_double_i64_conversion.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_double_varargs.c b/tests/core/test_double_varargs.c index d3eb3eede15ec..6a399e27de45b 100644 --- a/tests/core/test_double_varargs.c +++ b/tests/core/test_double_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_dynamic_cast.c b/tests/core/test_dynamic_cast.c index 1752573c68654..fc0d64cbc87a4 100644 --- a/tests/core/test_dynamic_cast.c +++ b/tests/core/test_dynamic_cast.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct Support { diff --git a/tests/core/test_dynamic_cast_2.c b/tests/core/test_dynamic_cast_2.c index 634ff5c20f4f6..95d18b82f34aa 100644 --- a/tests/core/test_dynamic_cast_2.c +++ b/tests/core/test_dynamic_cast_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_dynamic_cast_b.c b/tests/core/test_dynamic_cast_b.c index 779810352e536..ee39d725f0e0b 100644 --- a/tests/core/test_dynamic_cast_b.c +++ b/tests/core/test_dynamic_cast_b.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include class CBase { diff --git a/tests/core/test_em_asm.cpp b/tests/core/test_em_asm.cpp index ac1339cd36b27..645ff8e964f9f 100644 --- a/tests/core/test_em_asm.cpp +++ b/tests/core/test_em_asm.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_em_asm_2.cpp b/tests/core/test_em_asm_2.cpp index f083e3ece07d3..ca7b47d4ce294 100644 --- a/tests/core/test_em_asm_2.cpp +++ b/tests/core/test_em_asm_2.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_em_asm_parameter_pack.cpp b/tests/core/test_em_asm_parameter_pack.cpp index 2d6dfb41cbf1c..941989fd732b7 100644 --- a/tests/core/test_em_asm_parameter_pack.cpp +++ b/tests/core/test_em_asm_parameter_pack.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include template int call(Args... args) { diff --git a/tests/core/test_em_asm_unicode.cpp b/tests/core/test_em_asm_unicode.cpp index 0e1040c2f73c1..f685f1f621cac 100644 --- a/tests/core/test_em_asm_unicode.cpp +++ b/tests/core/test_em_asm_unicode.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/core/test_em_asm_unused_arguments.cpp b/tests/core/test_em_asm_unused_arguments.cpp index 2d9401eeab051..13313cb649cef 100644 --- a/tests/core/test_em_asm_unused_arguments.cpp +++ b/tests/core/test_em_asm_unused_arguments.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_em_js.cpp b/tests/core/test_em_js.cpp index b46c5f7c3a15c..8da68a4c12bde 100644 --- a/tests/core/test_em_js.cpp +++ b/tests/core/test_em_js.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_embind_5.cpp b/tests/core/test_embind_5.cpp index 1f564d2992724..17d98178344ae 100644 --- a/tests/core/test_embind_5.cpp +++ b/tests/core/test_embind_5.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_emmalloc.cpp b/tests/core/test_emmalloc.cpp index 548cdf5cb6903..bf1bebd91b557 100644 --- a/tests/core/test_emmalloc.cpp +++ b/tests/core/test_emmalloc.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_emptyclass.c b/tests/core/test_emptyclass.c index 370cacf5bb0e9..09327f9a88418 100644 --- a/tests/core/test_emptyclass.c +++ b/tests/core/test_emptyclass.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct Randomized { diff --git a/tests/core/test_emscripten_api.cpp b/tests/core/test_emscripten_api.cpp index 7ea2180f6e341..766db92ea70ca 100644 --- a/tests/core/test_emscripten_api.cpp +++ b/tests/core/test_emscripten_api.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_emulate_function_pointer_casts.cpp b/tests/core/test_emulate_function_pointer_casts.cpp index 08d46748fc6df..d4dbadc07b1d6 100644 --- a/tests/core/test_emulate_function_pointer_casts.cpp +++ b/tests/core/test_emulate_function_pointer_casts.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_erf.c b/tests/core/test_erf.c index bd14b14f22442..51b2a04c3fc22 100644 --- a/tests/core/test_erf.c +++ b/tests/core/test_erf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_errar.c b/tests/core/test_errar.c index 9fda20996223f..86543df7d977a 100644 --- a/tests/core/test_errar.c +++ b/tests/core/test_errar.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_exceptions_2.cpp b/tests/core/test_exceptions_2.cpp index 2eae319837632..4091fceb12219 100644 --- a/tests/core/test_exceptions_2.cpp +++ b/tests/core/test_exceptions_2.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_exceptions_alias.c b/tests/core/test_exceptions_alias.c index 0c8cc37a2dd7e..cdb19dde051e5 100644 --- a/tests/core/test_exceptions_alias.c +++ b/tests/core/test_exceptions_alias.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #define _POSIX_SOURCE #include #include diff --git a/tests/core/test_exceptions_convert.cpp b/tests/core/test_exceptions_convert.cpp index 08938ef5c9e05..563057dad0c51 100644 --- a/tests/core/test_exceptions_convert.cpp +++ b/tests/core/test_exceptions_convert.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_exceptions_destroy_virtual.cpp b/tests/core/test_exceptions_destroy_virtual.cpp index fcc7b93957584..1e40c49f41659 100644 --- a/tests/core/test_exceptions_destroy_virtual.cpp +++ b/tests/core/test_exceptions_destroy_virtual.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_exceptions_libcxx.cpp b/tests/core/test_exceptions_libcxx.cpp index 54d558fcc6ed7..47bb885b1ce00 100644 --- a/tests/core/test_exceptions_libcxx.cpp +++ b/tests/core/test_exceptions_libcxx.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_exceptions_multi.cpp b/tests/core/test_exceptions_multi.cpp index 5453d11cdbc24..ee832cef1609b 100644 --- a/tests/core/test_exceptions_multi.cpp +++ b/tests/core/test_exceptions_multi.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include static int current_exception_id = 0; diff --git a/tests/core/test_exceptions_multiple_inherit.cpp b/tests/core/test_exceptions_multiple_inherit.cpp index 28df85a0099eb..f818249668981 100644 --- a/tests/core/test_exceptions_multiple_inherit.cpp +++ b/tests/core/test_exceptions_multiple_inherit.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_exceptions_primary.cpp b/tests/core/test_exceptions_primary.cpp index e254a37d5e212..511b7eafa357d 100644 --- a/tests/core/test_exceptions_primary.cpp +++ b/tests/core/test_exceptions_primary.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // exception_ptr example #include // std::cout #include // std::exception_ptr, std::current_exception, std::rethrow_exception diff --git a/tests/core/test_exceptions_refcount.cpp b/tests/core/test_exceptions_refcount.cpp index 90e8607afdbd2..8aabb16275eb7 100644 --- a/tests/core/test_exceptions_refcount.cpp +++ b/tests/core/test_exceptions_refcount.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_exceptions_resume.cpp b/tests/core/test_exceptions_resume.cpp index 2c8fd63e2e1d7..7686cba3627ef 100644 --- a/tests/core/test_exceptions_resume.cpp +++ b/tests/core/test_exceptions_resume.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_exceptions_rethrow.cpp b/tests/core/test_exceptions_rethrow.cpp index 2674361e83fb5..0a7ec750216dd 100644 --- a/tests/core/test_exceptions_rethrow.cpp +++ b/tests/core/test_exceptions_rethrow.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_exceptions_simplify_cfg.cpp b/tests/core/test_exceptions_simplify_cfg.cpp index 2d34b32df1193..0642981e6af81 100644 --- a/tests/core/test_exceptions_simplify_cfg.cpp +++ b/tests/core/test_exceptions_simplify_cfg.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + /** * This is the main test runner file for tests */ diff --git a/tests/core/test_exceptions_std.cpp b/tests/core/test_exceptions_std.cpp index bde09eb7bed08..76ea8f0199451 100644 --- a/tests/core/test_exceptions_std.cpp +++ b/tests/core/test_exceptions_std.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_exceptions_typed.c b/tests/core/test_exceptions_typed.c index 3123f03c1dac1..d69281ad6b646 100644 --- a/tests/core/test_exceptions_typed.c +++ b/tests/core/test_exceptions_typed.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include class ExFoo { diff --git a/tests/core/test_exceptions_virtual_inheritance.cpp b/tests/core/test_exceptions_virtual_inheritance.cpp index 647e26fdb469b..8536e9e539bac 100644 --- a/tests/core/test_exceptions_virtual_inheritance.cpp +++ b/tests/core/test_exceptions_virtual_inheritance.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_exceptions_white_list.cpp b/tests/core/test_exceptions_white_list.cpp index 2944f9fe02d5f..c317eafc54599 100644 --- a/tests/core/test_exceptions_white_list.cpp +++ b/tests/core/test_exceptions_white_list.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include void thrower() { diff --git a/tests/core/test_exceptions_white_list_2.c b/tests/core/test_exceptions_white_list_2.c index 40d7c56c511f3..2fb9150b8c422 100644 --- a/tests/core/test_exceptions_white_list_2.c +++ b/tests/core/test_exceptions_white_list_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include void throwhere(void) { diff --git a/tests/core/test_fakestat.c b/tests/core/test_fakestat.c index d1dbed2941e38..c2ff384b12604 100644 --- a/tests/core/test_fakestat.c +++ b/tests/core/test_fakestat.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct stat { int x, y; diff --git a/tests/core/test_fast_math.c b/tests/core/test_fast_math.c index e3b283aac9c0f..521d548b4f3df 100644 --- a/tests/core/test_fast_math.c +++ b/tests/core/test_fast_math.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_fcvt.c b/tests/core/test_fcvt.c index 2e3fdbc6b4931..26441a93eb3e7 100644 --- a/tests/core/test_fcvt.c +++ b/tests/core/test_fcvt.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* This example borrowed from MSDN documentation */#include #include diff --git a/tests/core/test_flexarray_struct.c b/tests/core/test_flexarray_struct.c index cb83a7e5c5acb..17d395a69e595 100644 --- a/tests/core/test_flexarray_struct.c +++ b/tests/core/test_flexarray_struct.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_float32_precise.c b/tests/core/test_float32_precise.c index 969f5ed6f6bfa..ac798818d15f8 100644 --- a/tests/core/test_float32_precise.c +++ b/tests/core/test_float32_precise.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(int argc, char **argv) { diff --git a/tests/core/test_float_builtins.c b/tests/core/test_float_builtins.c index fa4db772a5103..41aedabecf52a 100644 --- a/tests/core/test_float_builtins.c +++ b/tests/core/test_float_builtins.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_floatvars.c b/tests/core/test_floatvars.c index d59b6028c0dd3..1e1b775b3d8b1 100644 --- a/tests/core/test_floatvars.c +++ b/tests/core/test_floatvars.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include // headers test, see issue #1013 diff --git a/tests/core/test_frexp.c b/tests/core/test_frexp.c index fba3231f503de..bdc74ae928771 100644 --- a/tests/core/test_frexp.c +++ b/tests/core/test_frexp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_funcptr.c b/tests/core/test_funcptr.c index 23813b33a1be4..8462e247b0524 100644 --- a/tests/core/test_funcptr.c +++ b/tests/core/test_funcptr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int calc1() { return 26; } int calc2() { return 90; } diff --git a/tests/core/test_funcptr_import_type.cpp b/tests/core/test_funcptr_import_type.cpp index e47bd145231f3..2aaec56408fee 100644 --- a/tests/core/test_funcptr_import_type.cpp +++ b/tests/core/test_funcptr_import_type.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include extern "C" { diff --git a/tests/core/test_funcptr_namecollide.c b/tests/core/test_funcptr_namecollide.c index dc5cfaba25fc4..2a20c3e0f8b28 100644 --- a/tests/core/test_funcptr_namecollide.c +++ b/tests/core/test_funcptr_namecollide.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include void do_call(void (*puts)(const char *), const char *str); diff --git a/tests/core/test_funcptrfunc.c b/tests/core/test_funcptrfunc.c index c6487b88981ab..f2088e888185f 100644 --- a/tests/core/test_funcptrfunc.c +++ b/tests/core/test_funcptrfunc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef void (*funcptr)(int, int); diff --git a/tests/core/test_funcs.c b/tests/core/test_funcs.c index 3619faec9cd37..af86cf94e5045 100644 --- a/tests/core/test_funcs.c +++ b/tests/core/test_funcs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int funcy(int x) { return x * 9; } int main() { diff --git a/tests/core/test_functionpointer_libfunc_varargs.c b/tests/core/test_functionpointer_libfunc_varargs.c index 69faefa277197..8fb43bb2ad63a 100644 --- a/tests/core/test_functionpointer_libfunc_varargs.c +++ b/tests/core/test_functionpointer_libfunc_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include typedef int (*fp_t)(int, int, ...); diff --git a/tests/core/test_fwrite_0.c b/tests/core/test_fwrite_0.c index 990ab25028be8..90817e03060df 100644 --- a/tests/core/test_fwrite_0.c +++ b/tests/core/test_fwrite_0.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_getgep.c b/tests/core/test_getgep.c index 452942f981494..11fc80b45c0e1 100644 --- a/tests/core/test_getgep.c +++ b/tests/core/test_getgep.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct { int y[10]; diff --git a/tests/core/test_getloadavg.c b/tests/core/test_getloadavg.c index c592985a68495..d5aaa205cbf33 100644 --- a/tests/core/test_getloadavg.c +++ b/tests/core/test_getloadavg.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_getopt.c b/tests/core/test_getopt.c index 6a678b79471a2..53c6b3b156439 100644 --- a/tests/core/test_getopt.c +++ b/tests/core/test_getopt.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #pragma clang diagnostic ignored "-Winvalid-pp-token" #include #include diff --git a/tests/core/test_getopt_long.c b/tests/core/test_getopt_long.c index 18f19f2ea0642..65558d803c5b1 100644 --- a/tests/core/test_getopt_long.c +++ b/tests/core/test_getopt_long.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #pragma clang diagnostic ignored "-Winvalid-pp-token" #pragma clang diagnostic ignored "-Wdeprecated-writable-strings" #include /* for printf */ diff --git a/tests/core/test_globaldoubles.c b/tests/core/test_globaldoubles.c index 9ccfb521f025e..527ea8fa43a67 100644 --- a/tests/core/test_globaldoubles.c +++ b/tests/core/test_globaldoubles.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_globals.c b/tests/core/test_globals.c index f972687a3808b..2837524a9252c 100644 --- a/tests/core/test_globals.c +++ b/tests/core/test_globals.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include char cache[256], *next = cache; diff --git a/tests/core/test_gmtime.c b/tests/core/test_gmtime.c index 7b7227ba409ad..7bfebd66fe39d 100644 --- a/tests/core/test_gmtime.c +++ b/tests/core/test_gmtime.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_hello_world.c b/tests/core/test_hello_world.c index b1d9bbbc49781..9409e0a8ec14c 100644 --- a/tests/core/test_hello_world.c +++ b/tests/core/test_hello_world.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { printf("hello, world!\n"); diff --git a/tests/core/test_i16_emcc_intrinsic.c b/tests/core/test_i16_emcc_intrinsic.c index a2aa27ee7407a..c41efc26dbe29 100644 --- a/tests/core/test_i16_emcc_intrinsic.c +++ b/tests/core/test_i16_emcc_intrinsic.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int test(unsigned short a, unsigned short b) { diff --git a/tests/core/test_i32_mul_precise.c b/tests/core/test_i32_mul_precise.c index 2e62b4ba46bc7..35ee6d080ff54 100644 --- a/tests/core/test_i32_mul_precise.c +++ b/tests/core/test_i32_mul_precise.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(int argc, char **argv) { diff --git a/tests/core/test_i64.c b/tests/core/test_i64.c index 8031b7791dc6d..e44254a87144a 100644 --- a/tests/core/test_i64.c +++ b/tests/core/test_i64.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/core/test_i64_2.c b/tests/core/test_i64_2.c index 913457ba1d7b6..8889555744c8f 100644 --- a/tests/core/test_i64_2.c +++ b/tests/core/test_i64_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_i64_3.c b/tests/core/test_i64_3.c index 7af8202e1f685..3b4ef66156956 100644 --- a/tests/core/test_i64_3.c +++ b/tests/core/test_i64_3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_4.c b/tests/core/test_i64_4.c index d12543dbc5001..1da2fd1636e0c 100644 --- a/tests/core/test_i64_4.c +++ b/tests/core/test_i64_4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_7z.c b/tests/core/test_i64_7z.c index 4cdfabcc17e27..b4568e60346c1 100644 --- a/tests/core/test_i64_7z.c +++ b/tests/core/test_i64_7z.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include uint64_t a, b; diff --git a/tests/core/test_i64_b.c b/tests/core/test_i64_b.c index 454e5a1a2b56d..d64cc780e00c1 100644 --- a/tests/core/test_i64_b.c +++ b/tests/core/test_i64_b.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_cmp.c b/tests/core/test_i64_cmp.c index b9cadd4a20a74..efa984c398420 100644 --- a/tests/core/test_i64_cmp.c +++ b/tests/core/test_i64_cmp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef long long int64; diff --git a/tests/core/test_i64_cmp2.c b/tests/core/test_i64_cmp2.c index 532b885788b8d..7a05ddc9b8787 100644 --- a/tests/core/test_i64_cmp2.c +++ b/tests/core/test_i64_cmp2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_double.c b/tests/core/test_i64_double.c index 2b524971c6558..e0841ec57af27 100644 --- a/tests/core/test_i64_double.c +++ b/tests/core/test_i64_double.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef long long int64; diff --git a/tests/core/test_i64_i16.c b/tests/core/test_i64_i16.c index 81d4a7bdf572c..bcb20ae0cf0d2 100644 --- a/tests/core/test_i64_i16.c +++ b/tests/core/test_i64_i16.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main(int argc, char** argv) { diff --git a/tests/core/test_i64_llabs.c b/tests/core/test_i64_llabs.c index 5d10bee0f6548..df6230067bf6d 100644 --- a/tests/core/test_i64_llabs.c +++ b/tests/core/test_i64_llabs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_precise.c b/tests/core/test_i64_precise.c index 9cffdbb9ff7ea..4e58eb06f164b 100644 --- a/tests/core/test_i64_precise.c +++ b/tests/core/test_i64_precise.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_precise_needed.c b/tests/core/test_i64_precise_needed.c index 2a1734606730e..1fca4c8d94277 100644 --- a/tests/core/test_i64_precise_needed.c +++ b/tests/core/test_i64_precise_needed.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main( int argc, char ** argv ) diff --git a/tests/core/test_i64_precise_unneeded.c b/tests/core/test_i64_precise_unneeded.c index 265b678e63d6e..15ddd5f6528be 100644 --- a/tests/core/test_i64_precise_unneeded.c +++ b/tests/core/test_i64_precise_unneeded.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_qdouble.c b/tests/core/test_i64_qdouble.c index db47afa6f49f4..04b4e578e6f90 100644 --- a/tests/core/test_i64_qdouble.c +++ b/tests/core/test_i64_qdouble.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef long long qint64; /* 64 bit signed */ typedef double qreal; diff --git a/tests/core/test_i64_umul.c b/tests/core/test_i64_umul.c index bfe97154dce24..1ec58bdb4f972 100644 --- a/tests/core/test_i64_umul.c +++ b/tests/core/test_i64_umul.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_i64_varargs.c b/tests/core/test_i64_varargs.c index b8d9628a8ae70..042ff8b2bca58 100644 --- a/tests/core/test_i64_varargs.c +++ b/tests/core/test_i64_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_i64_zextneg.c b/tests/core/test_i64_zextneg.c index b7e204fe348ba..7a86c443abf9a 100644 --- a/tests/core/test_i64_zextneg.c +++ b/tests/core/test_i64_zextneg.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_if.c b/tests/core/test_if.c index 07edbe8de424c..79bd56931fe50 100644 --- a/tests/core/test_if.c +++ b/tests/core/test_if.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { int x = 5; diff --git a/tests/core/test_if_else.c b/tests/core/test_if_else.c index b7693eed8dd0b..543acf2bda36c 100644 --- a/tests/core/test_if_else.c +++ b/tests/core/test_if_else.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { int x = 5; diff --git a/tests/core/test_indirectbr.c b/tests/core/test_indirectbr.c index ae3f1baac3f24..521b878e11324 100644 --- a/tests/core/test_indirectbr.c +++ b/tests/core/test_indirectbr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(void) { const void *addrs[2] = {&&FOO, &&BAR}; diff --git a/tests/core/test_indirectbr_many.c b/tests/core/test_indirectbr_many.c index 7937d1970f644..9ad3b4e4f3046 100644 --- a/tests/core/test_indirectbr_many.c +++ b/tests/core/test_indirectbr_many.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include /* Store, "declare" (but jump over) the current B_* label */ diff --git a/tests/core/test_inherit.c b/tests/core/test_inherit.c index ae5b819d93812..51115546c9550 100644 --- a/tests/core/test_inherit.c +++ b/tests/core/test_inherit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct Parent { int x1, x2; diff --git a/tests/core/test_inlinejs.c b/tests/core/test_inlinejs.c index d4419333ff8bc..be22a2bd9cb98 100644 --- a/tests/core/test_inlinejs.c +++ b/tests/core/test_inlinejs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include double get() { diff --git a/tests/core/test_inlinejs2.c b/tests/core/test_inlinejs2.c index 6336cb6984d8a..b3b201bc9fd34 100644 --- a/tests/core/test_inlinejs2.c +++ b/tests/core/test_inlinejs2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int mix(int x, int y) { diff --git a/tests/core/test_inlinejs3.c b/tests/core/test_inlinejs3.c index 258faaa9b9109..ad548f6ab69e1 100644 --- a/tests/core/test_inlinejs3.c +++ b/tests/core/test_inlinejs3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_intentional_fault.c b/tests/core/test_intentional_fault.c index 1a34fe007f1ec..ab84416e42aaa 100644 --- a/tests/core/test_intentional_fault.c +++ b/tests/core/test_intentional_fault.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main () { *(volatile char *)0 = 0; diff --git a/tests/core/test_intvars.c b/tests/core/test_intvars.c index 27b4180b77ceb..715eff1be086e 100644 --- a/tests/core/test_intvars.c +++ b/tests/core/test_intvars.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int global = 20; int *far; diff --git a/tests/core/test_isdigit_l.c b/tests/core/test_isdigit_l.c index 069f20270e311..df9be72c36b81 100644 --- a/tests/core/test_isdigit_l.c +++ b/tests/core/test_isdigit_l.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { using namespace std; diff --git a/tests/core/test_isnan.c b/tests/core/test_isnan.c index 808ffa19175c9..3716c5a380280 100644 --- a/tests/core/test_isnan.c +++ b/tests/core/test_isnan.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int IsNaN(double x) { diff --git a/tests/core/test_istream.c b/tests/core/test_istream.c index e5988d245cbd2..74870f477c7ed 100644 --- a/tests/core/test_istream.c +++ b/tests/core/test_istream.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_iswdigit.c b/tests/core/test_iswdigit.c index 74277a4164d31..df1f12a1e087c 100644 --- a/tests/core/test_iswdigit.c +++ b/tests/core/test_iswdigit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_libcextra.c b/tests/core/test_libcextra.c index ebeb8b5066761..2220993d31a0f 100644 --- a/tests/core/test_libcextra.c +++ b/tests/core/test_libcextra.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_libgen.c b/tests/core/test_libgen.c index d62e4a00d04fb..4fe55ba8dc7ef 100644 --- a/tests/core/test_libgen.c +++ b/tests/core/test_libgen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_linked_list.c b/tests/core/test_linked_list.c index 8988b35258f24..bcd5fc1abe421 100644 --- a/tests/core/test_linked_list.c +++ b/tests/core/test_linked_list.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct worker_args { int value; diff --git a/tests/core/test_literal_negative_zero.c b/tests/core/test_literal_negative_zero.c index 1554fbf50a0ef..056a3135e6354 100644 --- a/tests/core/test_literal_negative_zero.c +++ b/tests/core/test_literal_negative_zero.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_llrint.c b/tests/core/test_llrint.c index 2744c73ae828c..1d5018e49a2d2 100644 --- a/tests/core/test_llrint.c +++ b/tests/core/test_llrint.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_llvm_fabs.c b/tests/core/test_llvm_fabs.c index 6094013d80c75..d5ebef76e104e 100644 --- a/tests/core/test_llvm_fabs.c +++ b/tests/core/test_llvm_fabs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_llvm_intrinsics.cpp b/tests/core/test_llvm_intrinsics.cpp index e56e6529e348d..1349643ed3d8a 100644 --- a/tests/core/test_llvm_intrinsics.cpp +++ b/tests/core/test_llvm_intrinsics.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_llvm_used.c b/tests/core/test_llvm_used.c index b95a66e8aa187..a25241fb8eaa4 100644 --- a/tests/core/test_llvm_used.c +++ b/tests/core/test_llvm_used.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_llvmswitch.c b/tests/core/test_llvmswitch.c index b3f871e4196e5..93170c07dbba9 100644 --- a/tests/core/test_llvmswitch.c +++ b/tests/core/test_llvmswitch.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp.c b/tests/core/test_longjmp.c index 44940cdddf87d..2abb84f98ede8 100644 --- a/tests/core/test_longjmp.c +++ b/tests/core/test_longjmp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp2.c b/tests/core/test_longjmp2.c index e09a33f7c9b45..c9351dd3aa6a4 100644 --- a/tests/core/test_longjmp2.c +++ b/tests/core/test_longjmp2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp3.c b/tests/core/test_longjmp3.c index f9b8846935ddf..843e4fb009f49 100644 --- a/tests/core/test_longjmp3.c +++ b/tests/core/test_longjmp3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp4.c b/tests/core/test_longjmp4.c index 68fa4c22c7cd0..88b150b931c02 100644 --- a/tests/core/test_longjmp4.c +++ b/tests/core/test_longjmp4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp_exc.c b/tests/core/test_longjmp_exc.c index 4e56824254b91..ea71f7b2fbb05 100644 --- a/tests/core/test_longjmp_exc.c +++ b/tests/core/test_longjmp_exc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_longjmp_funcptr.c b/tests/core/test_longjmp_funcptr.c index 38cbd86e18571..c2f0ff4c25a4c 100644 --- a/tests/core/test_longjmp_funcptr.c +++ b/tests/core/test_longjmp_funcptr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp_repeat.c b/tests/core/test_longjmp_repeat.c index f782fc0c14e47..43c0ac331220b 100644 --- a/tests/core/test_longjmp_repeat.c +++ b/tests/core/test_longjmp_repeat.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_longjmp_stacked.c b/tests/core/test_longjmp_stacked.c index b7fd6bfa720e6..cae85cb01f7d2 100644 --- a/tests/core/test_longjmp_stacked.c +++ b/tests/core/test_longjmp_stacked.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_longjmp_throw.cpp b/tests/core/test_longjmp_throw.cpp index a5b658e8f5daa..dd4c23d85cfa5 100644 --- a/tests/core/test_longjmp_throw.cpp +++ b/tests/core/test_longjmp_throw.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_longjmp_unwind.c b/tests/core/test_longjmp_unwind.c index c1f5138504f20..030abba377ac8 100644 --- a/tests/core/test_longjmp_unwind.c +++ b/tests/core/test_longjmp_unwind.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_loop.c b/tests/core/test_loop.c index 83721d175ecdd..bc9e150ad7621 100644 --- a/tests/core/test_loop.c +++ b/tests/core/test_loop.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { int x = 5; diff --git a/tests/core/test_lower_intrinsics.c b/tests/core/test_lower_intrinsics.c index c4e2addf69542..b1966216f5dfd 100644 --- a/tests/core/test_lower_intrinsics.c +++ b/tests/core/test_lower_intrinsics.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_main_module_static_align.cpp b/tests/core/test_main_module_static_align.cpp index 052800d888455..310848e4839b6 100644 --- a/tests/core/test_main_module_static_align.cpp +++ b/tests/core/test_main_module_static_align.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include __attribute__((aligned(16))) volatile char aligned; diff --git a/tests/core/test_main_thread_async_em_asm.cpp b/tests/core/test_main_thread_async_em_asm.cpp index 7ba850522c65c..0c805bc642d05 100644 --- a/tests/core/test_main_thread_async_em_asm.cpp +++ b/tests/core/test_main_thread_async_em_asm.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/core/test_mainenv.c b/tests/core/test_mainenv.c index f42c6b59c2dd1..ceb30fe845a3e 100644 --- a/tests/core/test_mainenv.c +++ b/tests/core/test_mainenv.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(int argc, char **argv, char **envp) { printf("*%p*\n", envp); diff --git a/tests/core/test_math.c b/tests/core/test_math.c index 6dc708b6de5f6..4b136b0387fc0 100644 --- a/tests/core/test_math.c +++ b/tests/core/test_math.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_mathfuncptr.c b/tests/core/test_mathfuncptr.c index 87feaade410c7..8fba500ff4744 100644 --- a/tests/core/test_mathfuncptr.c +++ b/tests/core/test_mathfuncptr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_memcpy2.c b/tests/core/test_memcpy2.c index c7b4de8966bf0..bfcf1959dbefe 100644 --- a/tests/core/test_memcpy2.c +++ b/tests/core/test_memcpy2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memcpy3.c b/tests/core/test_memcpy3.c index 1bf47be65f8b8..7da6c2e11a293 100644 --- a/tests/core/test_memcpy3.c +++ b/tests/core/test_memcpy3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memcpy_memcmp.c b/tests/core/test_memcpy_memcmp.c index fb5dfe6f429fc..b13a2b8fce4de 100644 --- a/tests/core/test_memcpy_memcmp.c +++ b/tests/core/test_memcpy_memcmp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memmove.c b/tests/core/test_memmove.c index 615a5ae12df11..760b9a4404410 100644 --- a/tests/core/test_memmove.c +++ b/tests/core/test_memmove.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_memmove2.c b/tests/core/test_memmove2.c index 2aed0b51956b9..73eccf1f06f90 100644 --- a/tests/core/test_memmove2.c +++ b/tests/core/test_memmove2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memmove3.c b/tests/core/test_memmove3.c index 27f9055bc31a7..e9fc7c165b6c9 100644 --- a/tests/core/test_memmove3.c +++ b/tests/core/test_memmove3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_memorygrowth.c b/tests/core/test_memorygrowth.c index 9f8441d74b609..fc90ef540d831 100644 --- a/tests/core/test_memorygrowth.c +++ b/tests/core/test_memorygrowth.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memorygrowth_2.c b/tests/core/test_memorygrowth_2.c index 1419ffe66f66a..c0d8c6899a6cb 100644 --- a/tests/core/test_memorygrowth_2.c +++ b/tests/core/test_memorygrowth_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memorygrowth_3.c b/tests/core/test_memorygrowth_3.c index b263642a2a746..d541cc2db407b 100644 --- a/tests/core/test_memorygrowth_3.c +++ b/tests/core/test_memorygrowth_3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memorygrowth_wasm_mem_max.c b/tests/core/test_memorygrowth_wasm_mem_max.c index 3d104b63bb48b..8cc520c27038e 100644 --- a/tests/core/test_memorygrowth_wasm_mem_max.c +++ b/tests/core/test_memorygrowth_wasm_mem_max.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_memset.c b/tests/core/test_memset.c index 747765f2df5b0..5b6a8b256df2f 100644 --- a/tests/core/test_memset.c +++ b/tests/core/test_memset.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_mmap.c b/tests/core/test_mmap.c index 0307fa10eb2d1..26f337bb03046 100644 --- a/tests/core/test_mmap.c +++ b/tests/core/test_mmap.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_mod_globalstruct.c b/tests/core/test_mod_globalstruct.c index 3a8522cc0c0b2..5566761ff85d1 100644 --- a/tests/core/test_mod_globalstruct.c +++ b/tests/core/test_mod_globalstruct.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct malloc_params { diff --git a/tests/core/test_negative_zero.c b/tests/core/test_negative_zero.c index ba80563b97afe..870fa1c10a549 100644 --- a/tests/core/test_negative_zero.c +++ b/tests/core/test_negative_zero.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_nested_struct_varargs.c b/tests/core/test_nested_struct_varargs.c index 126751eada749..b4eaf1b501ac3 100644 --- a/tests/core/test_nested_struct_varargs.c +++ b/tests/core/test_nested_struct_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_nl_types.c b/tests/core/test_nl_types.c index 666920eebe4af..e30120afdfb10 100644 --- a/tests/core/test_nl_types.c +++ b/tests/core/test_nl_types.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_perrar.c b/tests/core/test_perrar.c index d7c9eae75475b..9500ce1701fd7 100644 --- a/tests/core/test_perrar.c +++ b/tests/core/test_perrar.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_phiundef.c b/tests/core/test_phiundef.c index 91273cc935958..cc7aacbafae53 100644 --- a/tests/core/test_phiundef.c +++ b/tests/core/test_phiundef.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_poll.c b/tests/core/test_poll.c index aa2c09ee2f264..89fc4b46d04f0 100644 --- a/tests/core/test_poll.c +++ b/tests/core/test_poll.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_polymorph.c b/tests/core/test_polymorph.c index af07dc05de2ee..59774e1a3b94f 100644 --- a/tests/core/test_polymorph.c +++ b/tests/core/test_polymorph.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct Pure { virtual int implme() = 0; diff --git a/tests/core/test_posixtime.c b/tests/core/test_posixtime.c index d07bd61fd4f37..406e3066535a4 100644 --- a/tests/core/test_posixtime.c +++ b/tests/core/test_posixtime.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_printf_2.c b/tests/core/test_printf_2.c index db6ce21d51ea9..43e53ec157c22 100644 --- a/tests/core/test_printf_2.c +++ b/tests/core/test_printf_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/core/test_printf_more.c b/tests/core/test_printf_more.c index fa367a0570495..96cd3202acafe 100644 --- a/tests/core/test_printf_more.c +++ b/tests/core/test_printf_more.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { int size = snprintf(NULL, 0, "%s %d %.2f\n", "me and myself", 25, 1.345); diff --git a/tests/core/test_random_device.cpp b/tests/core/test_random_device.cpp index 2a53975647acf..9ab6d3c7f650a 100644 --- a/tests/core/test_random_device.cpp +++ b/tests/core/test_random_device.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_regex.c b/tests/core/test_regex.c index 4f1bdd21120af..8c91d187c4587 100644 --- a/tests/core/test_regex.c +++ b/tests/core/test_regex.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // This is from// http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frtref%2Fregexec.htm #include #include diff --git a/tests/core/test_reinterpreted_ptrs.c b/tests/core/test_reinterpreted_ptrs.c index 9865c61f26552..7ed09084f62f8 100644 --- a/tests/core/test_reinterpreted_ptrs.c +++ b/tests/core/test_reinterpreted_ptrs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include class Foo { diff --git a/tests/core/test_relocatable_void_function.c b/tests/core/test_relocatable_void_function.c index c3e663c71362c..7ffe3043efbf1 100644 --- a/tests/core/test_relocatable_void_function.c +++ b/tests/core/test_relocatable_void_function.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include void hi_world() { diff --git a/tests/core/test_rounding.c b/tests/core/test_rounding.c index 21f907d72190e..8c52d47a3b8c1 100644 --- a/tests/core/test_rounding.c +++ b/tests/core/test_rounding.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_runtime_stacksave.c b/tests/core/test_runtime_stacksave.c index 3166d60b6699e..f366ce520a67b 100644 --- a/tests/core/test_runtime_stacksave.c +++ b/tests/core/test_runtime_stacksave.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_set_align.c b/tests/core/test_set_align.c index 26158ef428eba..e985d459652f6 100644 --- a/tests/core/test_set_align.c +++ b/tests/core/test_set_align.c @@ -1,3 +1,9 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ #include #include diff --git a/tests/core/test_siglongjmp.c b/tests/core/test_siglongjmp.c index afe9acb883a8b..bd6132a9853b9 100644 --- a/tests/core/test_siglongjmp.c +++ b/tests/core/test_siglongjmp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd.c b/tests/core/test_simd.c index 0c06cf572eb06..a8971cee07e22 100644 --- a/tests/core/test_simd.c +++ b/tests/core/test_simd.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd10.c b/tests/core/test_simd10.c index 597667d318cbe..9f1b3a0c9603a 100644 --- a/tests/core/test_simd10.c +++ b/tests/core/test_simd10.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd11.c b/tests/core/test_simd11.c index be20f8ff8e53c..4b9683fc43e5a 100644 --- a/tests/core/test_simd11.c +++ b/tests/core/test_simd11.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd12.c b/tests/core/test_simd12.c index 18251b70075f1..b397209b0c3ee 100644 --- a/tests/core/test_simd12.c +++ b/tests/core/test_simd12.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd13.c b/tests/core/test_simd13.c index d897594cf051a..f2bb1bf462e47 100644 --- a/tests/core/test_simd13.c +++ b/tests/core/test_simd13.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd14.c b/tests/core/test_simd14.c index f63a0d175c4f8..5b0af307fecd4 100644 --- a/tests/core/test_simd14.c +++ b/tests/core/test_simd14.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd15.c b/tests/core/test_simd15.c index 8290eecf60593..e8ec2b99f95aa 100644 --- a/tests/core/test_simd15.c +++ b/tests/core/test_simd15.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd16.c b/tests/core/test_simd16.c index ad752fe064fb8..6ffde21de8937 100644 --- a/tests/core/test_simd16.c +++ b/tests/core/test_simd16.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd2.c b/tests/core/test_simd2.c index acc249f946d14..d8690573f9aac 100644 --- a/tests/core/test_simd2.c +++ b/tests/core/test_simd2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef float __m128 __attribute__((__vector_size__(16))); diff --git a/tests/core/test_simd3.c b/tests/core/test_simd3.c index f64cd237e5677..8cf65ff77e12e 100644 --- a/tests/core/test_simd3.c +++ b/tests/core/test_simd3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd4.c b/tests/core/test_simd4.c index dcf84ce54fd60..79207e835d4cd 100644 --- a/tests/core/test_simd4.c +++ b/tests/core/test_simd4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd5.c b/tests/core/test_simd5.c index f69b5813a7b2b..a064022dd7f8c 100644 --- a/tests/core/test_simd5.c +++ b/tests/core/test_simd5.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef float float32x4 __attribute__((__vector_size__(16))); diff --git a/tests/core/test_simd6.c b/tests/core/test_simd6.c index f59ad81fb6609..ffd569b243046 100644 --- a/tests/core/test_simd6.c +++ b/tests/core/test_simd6.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd7.c b/tests/core/test_simd7.c index 9ced07f6928d1..4bded7c4d467b 100644 --- a/tests/core/test_simd7.c +++ b/tests/core/test_simd7.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd8.c b/tests/core/test_simd8.c index 8358495cfaa59..e705bc6b6fb07 100644 --- a/tests/core/test_simd8.c +++ b/tests/core/test_simd8.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_simd9.c b/tests/core/test_simd9.c index 2e3efd638b5a5..b01a6df6d20fe 100644 --- a/tests/core/test_simd9.c +++ b/tests/core/test_simd9.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_dyncall.cpp b/tests/core/test_simd_dyncall.cpp index 24fedbe851c1d..2137c69eee581 100644 --- a/tests/core/test_simd_dyncall.cpp +++ b/tests/core/test_simd_dyncall.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_simd_float32x4.c b/tests/core/test_simd_float32x4.c index 37dcdbf143321..4582978049f69 100644 --- a/tests/core/test_simd_float32x4.c +++ b/tests/core/test_simd_float32x4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_float64x2.c b/tests/core/test_simd_float64x2.c index 5454df280811c..102f92204c486 100644 --- a/tests/core/test_simd_float64x2.c +++ b/tests/core/test_simd_float64x2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_int16x8.c b/tests/core/test_simd_int16x8.c index d22e0697f8fa9..e1ef050f15c91 100644 --- a/tests/core/test_simd_int16x8.c +++ b/tests/core/test_simd_int16x8.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_int32x4.c b/tests/core/test_simd_int32x4.c index 34e8ddbffbf6f..1c2bb6a414ec3 100644 --- a/tests/core/test_simd_int32x4.c +++ b/tests/core/test_simd_int32x4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_int8x16.c b/tests/core/test_simd_int8x16.c index 009746f295246..260c7cf8956d1 100644 --- a/tests/core/test_simd_int8x16.c +++ b/tests/core/test_simd_int8x16.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_set_epi64x.c b/tests/core/test_simd_set_epi64x.c index ae95b8f219e70..b702cd975cf0c 100644 --- a/tests/core/test_simd_set_epi64x.c +++ b/tests/core/test_simd_set_epi64x.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_simd_shift_right.c b/tests/core/test_simd_shift_right.c index 669e062196d18..8e782f5684f5f 100644 --- a/tests/core/test_simd_shift_right.c +++ b/tests/core/test_simd_shift_right.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef int int32x4 __attribute__((__vector_size__(16), __may_alias__)); diff --git a/tests/core/test_simd_sitofp.c b/tests/core/test_simd_sitofp.c index 24d38104f780d..729f87919d2c6 100644 --- a/tests/core/test_simd_sitofp.c +++ b/tests/core/test_simd_sitofp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef int int32x4 __attribute__((__vector_size__(16), __may_alias__)); diff --git a/tests/core/test_sintvars.c b/tests/core/test_sintvars.c index 570dba486e6d3..10e2c414be6e3 100644 --- a/tests/core/test_sintvars.c +++ b/tests/core/test_sintvars.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct S { char *match_start; diff --git a/tests/core/test_sizeof.cpp b/tests/core/test_sizeof.cpp index a9bacbb34768a..e398b53835c8f 100644 --- a/tests/core/test_sizeof.cpp +++ b/tests/core/test_sizeof.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include "emscripten.h" diff --git a/tests/core/test_sscanf.c b/tests/core/test_sscanf.c index 470aaf37de676..aa38be3dcde27 100644 --- a/tests/core/test_sscanf.c +++ b/tests/core/test_sscanf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_sscanf_3.c b/tests/core/test_sscanf_3.c index e21897ed958c9..f655132a00fa3 100644 --- a/tests/core/test_sscanf_3.c +++ b/tests/core/test_sscanf_3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_sscanf_4.c b/tests/core/test_sscanf_4.c index c9e3b5f19f550..2ba007a7eb82d 100644 --- a/tests/core/test_sscanf_4.c +++ b/tests/core/test_sscanf_4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/core/test_sscanf_5.c b/tests/core/test_sscanf_5.c index c344258d409e5..8f95561280f2b 100644 --- a/tests/core/test_sscanf_5.c +++ b/tests/core/test_sscanf_5.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "stdio.h" static const char *colors[] = {" c black", ". c #001100", "X c #111100"}; diff --git a/tests/core/test_sscanf_6.c b/tests/core/test_sscanf_6.c index 90fddb4507ada..98ddd7432a42f 100644 --- a/tests/core/test_sscanf_6.c +++ b/tests/core/test_sscanf_6.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_sscanf_caps.c b/tests/core/test_sscanf_caps.c index b0936036b18af..b594e244f9b50 100644 --- a/tests/core/test_sscanf_caps.c +++ b/tests/core/test_sscanf_caps.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "stdio.h" int main() { diff --git a/tests/core/test_sscanf_float.c b/tests/core/test_sscanf_float.c index 29fe2d5617bd9..15ff3d2a400a0 100644 --- a/tests/core/test_sscanf_float.c +++ b/tests/core/test_sscanf_float.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "stdio.h" int main() { diff --git a/tests/core/test_sscanf_hex.cpp b/tests/core/test_sscanf_hex.cpp index a05eb89043b56..11e0a54bc58e9 100644 --- a/tests/core/test_sscanf_hex.cpp +++ b/tests/core/test_sscanf_hex.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_sscanf_n.c b/tests/core/test_sscanf_n.c index 2669e478e15a0..4c3f897ff1739 100644 --- a/tests/core/test_sscanf_n.c +++ b/tests/core/test_sscanf_n.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { const char *line = "version 1.0"; diff --git a/tests/core/test_sscanf_other_whitespace.c b/tests/core/test_sscanf_other_whitespace.c index 3ae23d92870ba..b3bde37715e6c 100644 --- a/tests/core/test_sscanf_other_whitespace.c +++ b/tests/core/test_sscanf_other_whitespace.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/core/test_sscanf_skip.c b/tests/core/test_sscanf_skip.c index 0afc2af347006..0f09db4ce4c22 100644 --- a/tests/core/test_sscanf_skip.c +++ b/tests/core/test_sscanf_skip.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_sscanf_whitespace.c b/tests/core/test_sscanf_whitespace.c index 8bcf1c7b23a29..425bab6193075 100644 --- a/tests/core/test_sscanf_whitespace.c +++ b/tests/core/test_sscanf_whitespace.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/core/test_stack.c b/tests/core/test_stack.c index da49990ae5d31..cec1417a8b78e 100644 --- a/tests/core/test_stack.c +++ b/tests/core/test_stack.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int test(int i) { int x = 10; diff --git a/tests/core/test_stack_align.cpp b/tests/core/test_stack_align.cpp index 6ed0ba64b733e..58775f0aa3d65 100644 --- a/tests/core/test_stack_align.cpp +++ b/tests/core/test_stack_align.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #define ALIGN(num_bytes) __attribute__((aligned(num_bytes))) diff --git a/tests/core/test_stack_byval.c b/tests/core/test_stack_byval.c index d7007d0a66e31..51084a775172d 100644 --- a/tests/core/test_stack_byval.c +++ b/tests/core/test_stack_byval.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // We should also not blow up the stack with byval arguments #include struct vec { diff --git a/tests/core/test_stack_restore.c b/tests/core/test_stack_restore.c index 17c922f230949..8b44782404825 100644 --- a/tests/core/test_stack_restore.c +++ b/tests/core/test_stack_restore.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_stack_varargs.c b/tests/core/test_stack_varargs.c index 01c231af452da..a815f5fa4a055 100644 --- a/tests/core/test_stack_varargs.c +++ b/tests/core/test_stack_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // We should not blow up the stack with numerous varargs #include #include diff --git a/tests/core/test_stack_void.c b/tests/core/test_stack_void.c index 0e72e509262ec..b9ba92184ab0f 100644 --- a/tests/core/test_stack_void.c +++ b/tests/core/test_stack_void.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include static char s[100] = "aaaaa"; diff --git a/tests/core/test_static_variable.c b/tests/core/test_static_variable.c index 70b4132438869..0659df494e144 100644 --- a/tests/core/test_static_variable.c +++ b/tests/core/test_static_variable.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct DATA { diff --git a/tests/core/test_statics.c b/tests/core/test_statics.c index d3302db59e30e..dab5a936c2191 100644 --- a/tests/core/test_statics.c +++ b/tests/core/test_statics.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_statvfs.c b/tests/core/test_statvfs.c index 72891505f343b..9a879396c9e0a 100644 --- a/tests/core/test_statvfs.c +++ b/tests/core/test_statvfs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_std_cout_new.cpp b/tests/core/test_std_cout_new.cpp index d1ab3c45fd854..b475a82476e0f 100644 --- a/tests/core/test_std_cout_new.cpp +++ b/tests/core/test_std_cout_new.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include struct NodeInfo { // structure that we want to transmit to our shaders diff --git a/tests/core/test_stdlibs.c b/tests/core/test_stdlibs.c index ace1f5d39d229..0dba652d9fcc3 100644 --- a/tests/core/test_stdlibs.c +++ b/tests/core/test_stdlibs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_stdvec.c b/tests/core/test_stdvec.c index b370eb612fda5..1a54d7f383fc5 100644 --- a/tests/core/test_stdvec.c +++ b/tests/core/test_stdvec.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strcasecmp.c b/tests/core/test_strcasecmp.c index 2fb69d1a3bbda..c38b4bfd851ff 100644 --- a/tests/core/test_strcasecmp.c +++ b/tests/core/test_strcasecmp.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int sign(int x) { diff --git a/tests/core/test_strcmp_uni.c b/tests/core/test_strcmp_uni.c index 8e8c1897fce2b..7f1ca4d352e29 100644 --- a/tests/core/test_strcmp_uni.c +++ b/tests/core/test_strcmp_uni.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_strftime.cpp b/tests/core/test_strftime.cpp index 2a2f6eaee4376..2694565b0a21a 100644 --- a/tests/core/test_strftime.cpp +++ b/tests/core/test_strftime.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_strings.c b/tests/core/test_strings.c index 3161b73fcc357..c010d571890cf 100644 --- a/tests/core/test_strings.c +++ b/tests/core/test_strings.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_strndup.c b/tests/core/test_strndup.c index 2457de0c7be00..3fcd39c9db2f6 100644 --- a/tests/core/test_strndup.c +++ b/tests/core/test_strndup.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + //--------------- //- http://pubs.opengroup.org/onlinepubs/9699919799/functions/strndup.html //--------------- diff --git a/tests/core/test_strptime_days.c b/tests/core/test_strptime_days.c index 382ea8ef7a7aa..ff861cc077331 100644 --- a/tests/core/test_strptime_days.c +++ b/tests/core/test_strptime_days.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_strptime_reentrant.c b/tests/core/test_strptime_reentrant.c index b2a14d1dbb21f..729b0799a075f 100644 --- a/tests/core/test_strptime_reentrant.c +++ b/tests/core/test_strptime_reentrant.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_strptime_tm.c b/tests/core/test_strptime_tm.c index 2cccfa5561ab6..b6d17cb73d206 100644 --- a/tests/core/test_strptime_tm.c +++ b/tests/core/test_strptime_tm.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_strstr.c b/tests/core/test_strstr.c index 8aa56d4a28bc1..51de30317afe4 100644 --- a/tests/core/test_strstr.c +++ b/tests/core/test_strstr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtod.c b/tests/core/test_strtod.c index a45295def16a0..b75d7098e4084 100644 --- a/tests/core/test_strtod.c +++ b/tests/core/test_strtod.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtok.c b/tests/core/test_strtok.c index 5ad34d6a8c738..130a476d5d0ab 100644 --- a/tests/core/test_strtok.c +++ b/tests/core/test_strtok.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtol_bin.c b/tests/core/test_strtol_bin.c index e54e017333560..5298aa548bcfe 100644 --- a/tests/core/test_strtol_bin.c +++ b/tests/core/test_strtol_bin.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtol_dec.c b/tests/core/test_strtol_dec.c index 56053521bb61d..b9503ccdbb7ba 100644 --- a/tests/core/test_strtol_dec.c +++ b/tests/core/test_strtol_dec.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtol_hex.c b/tests/core/test_strtol_hex.c index 65a43ed073b8f..f1ac5cd1c2276 100644 --- a/tests/core/test_strtol_hex.c +++ b/tests/core/test_strtol_hex.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtol_oct.c b/tests/core/test_strtol_oct.c index 94b9c3ff89293..5ba5dbcf73e80 100644 --- a/tests/core/test_strtol_oct.c +++ b/tests/core/test_strtol_oct.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtold.c b/tests/core/test_strtold.c index 0db9eb11384fb..c3f2dbd93c60a 100644 --- a/tests/core/test_strtold.c +++ b/tests/core/test_strtold.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtoll_bin.c b/tests/core/test_strtoll_bin.c index cbe5546f99f98..66ebe25399c18 100644 --- a/tests/core/test_strtoll_bin.c +++ b/tests/core/test_strtoll_bin.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtoll_dec.c b/tests/core/test_strtoll_dec.c index f4d2950e4bf0f..6a474ec840105 100644 --- a/tests/core/test_strtoll_dec.c +++ b/tests/core/test_strtoll_dec.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtoll_hex.c b/tests/core/test_strtoll_hex.c index a432d0ddcadef..0b5448bc1e710 100644 --- a/tests/core/test_strtoll_hex.c +++ b/tests/core/test_strtoll_hex.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_strtoll_oct.c b/tests/core/test_strtoll_oct.c index e5e12e24a81c4..e42c8ad61da88 100644 --- a/tests/core/test_strtoll_oct.c +++ b/tests/core/test_strtoll_oct.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_struct_varargs.c b/tests/core/test_struct_varargs.c index 2e2a56247cda4..d54363a817210 100644 --- a/tests/core/test_struct_varargs.c +++ b/tests/core/test_struct_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_structs.c b/tests/core/test_structs.c index 2d48a9aa404bb..9b08fa2108ef8 100644 --- a/tests/core/test_structs.c +++ b/tests/core/test_structs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct S { int x, y; diff --git a/tests/core/test_time_c.c b/tests/core/test_time_c.c index 9719464caf99d..b98c4023b87ba 100644 --- a/tests/core/test_time_c.c +++ b/tests/core/test_time_c.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_timeb.c b/tests/core/test_timeb.c index 1e59f301277a4..caf399ce9b237 100644 --- a/tests/core/test_timeb.c +++ b/tests/core/test_timeb.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_tinyfuncstr.c b/tests/core/test_tinyfuncstr.c index fd1c9563a2b61..1b30eebbb030b 100644 --- a/tests/core/test_tinyfuncstr.c +++ b/tests/core/test_tinyfuncstr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include struct Class { diff --git a/tests/core/test_tracing.c b/tests/core/test_tracing.c index ef8fbe161ce85..d055046be668f 100644 --- a/tests/core/test_tracing.c +++ b/tests/core/test_tracing.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(int argc, const char* argv[]) { diff --git a/tests/core/test_transtrcase.c b/tests/core/test_transtrcase.c index 6c855d2b73964..bbbbbb168c8ba 100644 --- a/tests/core/test_transtrcase.c +++ b/tests/core/test_transtrcase.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include int main() { diff --git a/tests/core/test_trickystring.c b/tests/core/test_trickystring.c index 2735ef7c642a1..eded1b2c01055 100644 --- a/tests/core/test_trickystring.c +++ b/tests/core/test_trickystring.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include typedef struct { diff --git a/tests/core/test_typeid.c b/tests/core/test_typeid.c index 1f87e66e98879..f832faa510fd7 100644 --- a/tests/core/test_typeid.c +++ b/tests/core/test_typeid.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_uname.c b/tests/core/test_uname.c index 780a754b50ef3..4ca20f36eced9 100644 --- a/tests/core/test_uname.c +++ b/tests/core/test_uname.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_unary_literal.cpp b/tests/core/test_unary_literal.cpp index 3d36495e6f4b1..5d929a7b186d9 100644 --- a/tests/core/test_unary_literal.cpp +++ b/tests/core/test_unary_literal.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include class UnaryTest { diff --git a/tests/core/test_utf.c b/tests/core/test_utf.c index 7eabc2016de05..9690c6c95c3ac 100644 --- a/tests/core/test_utf.c +++ b/tests/core/test_utf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_varargs.c b/tests/core/test_varargs.c index d85bba54311cd..87f9c0974b131 100644 --- a/tests/core/test_varargs.c +++ b/tests/core/test_varargs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_varargs_multi.c b/tests/core/test_varargs_multi.c index 1c9465347ab30..6b4669b10d26a 100644 --- a/tests/core/test_varargs_multi.c +++ b/tests/core/test_varargs_multi.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_vprintf.c b/tests/core/test_vprintf.c index 4fe30bc2f016d..c797c05fb20aa 100644 --- a/tests/core/test_vprintf.c +++ b/tests/core/test_vprintf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/core/test_vsnprintf.c b/tests/core/test_vsnprintf.c index 85f91e940a1ae..dc386c5a81973 100644 --- a/tests/core/test_vsnprintf.c +++ b/tests/core/test_vsnprintf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/core/test_wprintf.cpp b/tests/core/test_wprintf.cpp index 9d99eb39c56a4..5e9185241918d 100644 --- a/tests/core/test_wprintf.cpp +++ b/tests/core/test_wprintf.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/core/test_zero_multiplication.c b/tests/core/test_zero_multiplication.c index bb6e7e12f89de..9933fab14077e 100644 --- a/tests/core/test_zero_multiplication.c +++ b/tests/core/test_zero_multiplication.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main(int argc, char* argv[]) { int one = argc; diff --git a/tests/core/test_zerodiv.c b/tests/core/test_zerodiv.c index dce51ff32dbdc..4d41321334eaf 100644 --- a/tests/core/test_zerodiv.c +++ b/tests/core/test_zerodiv.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/cstdio/test_remove.cpp b/tests/cstdio/test_remove.cpp index c3d0cc6dfcd23..401a58b7253fd 100644 --- a/tests/cstdio/test_remove.cpp +++ b/tests/cstdio/test_remove.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/ctype/src.c b/tests/ctype/src.c index a8be35b97ceca..faf90c34a7447 100644 --- a/tests/ctype/src.c +++ b/tests/ctype/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #define _BSD_SOURCE #include #include diff --git a/tests/cube2hash/hashstring.cpp b/tests/cube2hash/hashstring.cpp index b08d5d5eb3f4d..327fbe7b9ed1f 100644 --- a/tests/cube2hash/hashstring.cpp +++ b/tests/cube2hash/hashstring.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "cube2crypto.h" #include #include diff --git a/tests/cube2md5.cpp b/tests/cube2md5.cpp index d2a638d16e59b..f1577cbdf4aae 100644 --- a/tests/cube2md5.cpp +++ b/tests/cube2md5.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/cube_explosion.c b/tests/cube_explosion.c index a899f068d38b9..9ec8554e9db47 100644 --- a/tests/cube_explosion.c +++ b/tests/cube_explosion.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/cubegeom.c b/tests/cubegeom.c index 4fe3a5e1ccb0a..ce5a2923297c9 100644 --- a/tests/cubegeom.c +++ b/tests/cubegeom.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/cubescript/command.cpp b/tests/cubescript/command.cpp index 186048e8e389d..a5c4c3868d174 100644 --- a/tests/cubescript/command.cpp +++ b/tests/cubescript/command.cpp @@ -1,3 +1,8 @@ +// Copyright 2010 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // command.cpp: implements the parsing and execution of a tiny script language which // is largely backwards compatible with the quake console language. diff --git a/tests/custom_messages_proxy.c b/tests/custom_messages_proxy.c index d0f3959bd0b2a..b3bef5e111a2b 100644 --- a/tests/custom_messages_proxy.c +++ b/tests/custom_messages_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() diff --git a/tests/debugger/test_pointers.cpp b/tests/debugger/test_pointers.cpp index c85b83a0ca997..007312b205ee4 100644 --- a/tests/debugger/test_pointers.cpp +++ b/tests/debugger/test_pointers.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/debugger/test_union.cpp b/tests/debugger/test_union.cpp index 82891353c9237..9bf43bfc21fb4 100644 --- a/tests/debugger/test_union.cpp +++ b/tests/debugger/test_union.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/dirent/test_readdir.c b/tests/dirent/test_readdir.c index ced766077c715..c2fe4d26e0974 100644 --- a/tests/dirent/test_readdir.c +++ b/tests/dirent/test_readdir.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/dirent/test_readdir_empty.c b/tests/dirent/test_readdir_empty.c index 27ab971d76904..d342708a4e75f 100644 --- a/tests/dirent/test_readdir_empty.c +++ b/tests/dirent/test_readdir_empty.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/dlmalloc_proxy.c b/tests/dlmalloc_proxy.c index 06137c422d246..cd947a9178e8c 100644 --- a/tests/dlmalloc_proxy.c +++ b/tests/dlmalloc_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Emscripten tests #include diff --git a/tests/dlmalloc_test.c b/tests/dlmalloc_test.c index fc640d4611cf8..b11233eca10bd 100644 --- a/tests/dlmalloc_test.c +++ b/tests/dlmalloc_test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Emscripten tests #include diff --git a/tests/doublestart.c b/tests/doublestart.c index 35432018fff2e..947b831a7d5c0 100644 --- a/tests/doublestart.c +++ b/tests/doublestart.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/embind/embind_benchmark.cpp b/tests/embind/embind_benchmark.cpp index 56709f99e4e7d..b3555999963d8 100644 --- a/tests/embind/embind_benchmark.cpp +++ b/tests/embind/embind_benchmark.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/embind/embind_test.cpp b/tests/embind/embind_test.cpp index b3a582394a1ef..d581b5a7a0f8b 100644 --- a/tests/embind/embind_test.cpp +++ b/tests/embind/embind_test.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/embind/isMemoryGrowthEnabled=true.cpp b/tests/embind/isMemoryGrowthEnabled=true.cpp index 91dee4255800b..d8f8963c5f623 100644 --- a/tests/embind/isMemoryGrowthEnabled=true.cpp +++ b/tests/embind/isMemoryGrowthEnabled=true.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include using namespace emscripten; diff --git a/tests/embind/test_float_constants.cpp b/tests/embind/test_float_constants.cpp index 5385a45e9d9b5..4dbfb070b32a4 100644 --- a/tests/embind/test_float_constants.cpp +++ b/tests/embind/test_float_constants.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/embind/test_negative_constants.cpp b/tests/embind/test_negative_constants.cpp index f4757522cd2d0..08c77de3fb230 100644 --- a/tests/embind/test_negative_constants.cpp +++ b/tests/embind/test_negative_constants.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/embind/test_unsigned.cpp b/tests/embind/test_unsigned.cpp index 29b7f58998bd9..edf52fc0121c0 100644 --- a/tests/embind/test_unsigned.cpp +++ b/tests/embind/test_unsigned.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/embind/test_val.cpp b/tests/embind/test_val.cpp index 2e7c5bb2e8a01..968d315ee6616 100644 --- a/tests/embind/test_val.cpp +++ b/tests/embind/test_val.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emmake/make.py b/tests/emmake/make.py index a424c39efe0ac..f226465e39f83 100644 --- a/tests/emmake/make.py +++ b/tests/emmake/make.py @@ -1,3 +1,8 @@ +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os def which(program): diff --git a/tests/emscripten_api_browser.cpp b/tests/emscripten_api_browser.cpp index e436b60854c3a..7c37c5e2364e9 100644 --- a/tests/emscripten_api_browser.cpp +++ b/tests/emscripten_api_browser.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_api_browser2.cpp b/tests/emscripten_api_browser2.cpp index 9a78254de5eb2..176913623d7d5 100644 --- a/tests/emscripten_api_browser2.cpp +++ b/tests/emscripten_api_browser2.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_api_browser_infloop.cpp b/tests/emscripten_api_browser_infloop.cpp index 050ac9151a98f..f3604eff5b7bc 100644 --- a/tests/emscripten_api_browser_infloop.cpp +++ b/tests/emscripten_api_browser_infloop.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_fs_api_browser.cpp b/tests/emscripten_fs_api_browser.cpp index eefa248dc0cd2..3b4fd68aed8a7 100644 --- a/tests/emscripten_fs_api_browser.cpp +++ b/tests/emscripten_fs_api_browser.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_fs_api_browser2.cpp b/tests/emscripten_fs_api_browser2.cpp index 2200d810d7bb7..1591c31ee335f 100644 --- a/tests/emscripten_fs_api_browser2.cpp +++ b/tests/emscripten_fs_api_browser2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_get_now.cpp b/tests/emscripten_get_now.cpp index 5c9c27ba5b1d4..3ed254cbf6e7e 100644 --- a/tests/emscripten_get_now.cpp +++ b/tests/emscripten_get_now.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include "emscripten.h" diff --git a/tests/emscripten_log/emscripten_log.cpp b/tests/emscripten_log/emscripten_log.cpp index 3db53218afcbe..74e11411066a9 100644 --- a/tests/emscripten_log/emscripten_log.cpp +++ b/tests/emscripten_log/emscripten_log.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_log/emscripten_log_with_closure.cpp b/tests/emscripten_log/emscripten_log_with_closure.cpp index 5fa10347104d2..a1cf88a83f18a 100644 --- a/tests/emscripten_log/emscripten_log_with_closure.cpp +++ b/tests/emscripten_log/emscripten_log_with_closure.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/emscripten_main_loop.cpp b/tests/emscripten_main_loop.cpp index 4a6641a55e2bb..c2c470fde9c2e 100644 --- a/tests/emscripten_main_loop.cpp +++ b/tests/emscripten_main_loop.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_main_loop_and_blocker.cpp b/tests/emscripten_main_loop_and_blocker.cpp index 4dd421e97639c..adc9c2309279e 100644 --- a/tests/emscripten_main_loop_and_blocker.cpp +++ b/tests/emscripten_main_loop_and_blocker.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_main_loop_setimmediate.cpp b/tests/emscripten_main_loop_setimmediate.cpp index 92b7a4ec86d99..dca541a8c06c4 100644 --- a/tests/emscripten_main_loop_setimmediate.cpp +++ b/tests/emscripten_main_loop_setimmediate.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_main_loop_settimeout.cpp b/tests/emscripten_main_loop_settimeout.cpp index 333a2f5cc610e..806fd44ba0a46 100644 --- a/tests/emscripten_main_loop_settimeout.cpp +++ b/tests/emscripten_main_loop_settimeout.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emscripten_set_canvas_element_size.c b/tests/emscripten_set_canvas_element_size.c index a5d104e225e51..70163d4e53be3 100644 --- a/tests/emscripten_set_canvas_element_size.c +++ b/tests/emscripten_set_canvas_element_size.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/emterpreter_advise.cpp b/tests/emterpreter_advise.cpp index 10dd4dbff2439..75295c5f4ffaa 100644 --- a/tests/emterpreter_advise.cpp +++ b/tests/emterpreter_advise.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_advise_funcptr.cpp b/tests/emterpreter_advise_funcptr.cpp index 91b8c87fbc7a5..76d6447cd82f3 100644 --- a/tests/emterpreter_advise_funcptr.cpp +++ b/tests/emterpreter_advise_funcptr.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_advise_synclist.c b/tests/emterpreter_advise_synclist.c index 23671bf279558..0dbe29d7d88b6 100644 --- a/tests/emterpreter_advise_synclist.c +++ b/tests/emterpreter_advise_synclist.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + int test = 0; void l() { test++; } diff --git a/tests/emterpreter_async.cpp b/tests/emterpreter_async.cpp index 961c87c128b17..d50a932642445 100644 --- a/tests/emterpreter_async.cpp +++ b/tests/emterpreter_async.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_async_2.cpp b/tests/emterpreter_async_2.cpp index e614683438675..fa7bb232e0e91 100644 --- a/tests/emterpreter_async_2.cpp +++ b/tests/emterpreter_async_2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_async_bad.cpp b/tests/emterpreter_async_bad.cpp index 8db765fcefa07..02e87d657bb63 100644 --- a/tests/emterpreter_async_bad.cpp +++ b/tests/emterpreter_async_bad.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_async_bad_2.cpp b/tests/emterpreter_async_bad_2.cpp index 69b29926aedfe..eb5f5de797d10 100644 --- a/tests/emterpreter_async_bad_2.cpp +++ b/tests/emterpreter_async_bad_2.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_async_iostream.cpp b/tests/emterpreter_async_iostream.cpp index 6819bc45c59c6..876f226be613c 100644 --- a/tests/emterpreter_async_iostream.cpp +++ b/tests/emterpreter_async_iostream.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_async_mainloop.cpp b/tests/emterpreter_async_mainloop.cpp index afce5091525c8..7110873d7058c 100644 --- a/tests/emterpreter_async_mainloop.cpp +++ b/tests/emterpreter_async_mainloop.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/emterpreter_async_sleep2.cpp b/tests/emterpreter_async_sleep2.cpp index 840cdd317a2b8..c8b8b3464c0bf 100644 --- a/tests/emterpreter_async_sleep2.cpp +++ b/tests/emterpreter_async_sleep2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/emterpreter_async_sleep2_safeheap.cpp b/tests/emterpreter_async_sleep2_safeheap.cpp index e32dcdeec24c9..74f195b9532bd 100644 --- a/tests/emterpreter_async_sleep2_safeheap.cpp +++ b/tests/emterpreter_async_sleep2_safeheap.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/emterpreter_async_virtual.cpp b/tests/emterpreter_async_virtual.cpp index 3b76de2af4dda..0f95493bc6d5d 100644 --- a/tests/emterpreter_async_virtual.cpp +++ b/tests/emterpreter_async_virtual.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/emterpreter_async_virtual_2.cpp b/tests/emterpreter_async_virtual_2.cpp index 59a2b34865d93..c9ab6fecc9126 100644 --- a/tests/emterpreter_async_virtual_2.cpp +++ b/tests/emterpreter_async_virtual_2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/emterpreter_async_with_manual.cpp b/tests/emterpreter_async_with_manual.cpp index 126d1a91a6b50..b5f148b1c92db 100644 --- a/tests/emterpreter_async_with_manual.cpp +++ b/tests/emterpreter_async_with_manual.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/enet/callbacks.c b/tests/enet/callbacks.c index f94128256f4ad..2dcaf21b1ebde 100644 --- a/tests/enet/callbacks.c +++ b/tests/enet/callbacks.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file callbacks.c @brief ENet callback functions diff --git a/tests/enet/compress.c b/tests/enet/compress.c index 784489a7877cc..16cbf1e8a86b5 100644 --- a/tests/enet/compress.c +++ b/tests/enet/compress.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file compress.c @brief An adaptive order-2 PPM range coder diff --git a/tests/enet/host.c b/tests/enet/host.c index 0bca71c75f8c7..09699d6ef6634 100644 --- a/tests/enet/host.c +++ b/tests/enet/host.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file host.c @brief ENet host management functions diff --git a/tests/enet/list.c b/tests/enet/list.c index 1c1a8dfaafc91..6797dba40c0d7 100644 --- a/tests/enet/list.c +++ b/tests/enet/list.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file list.c @brief ENet linked list functions diff --git a/tests/enet/packet.c b/tests/enet/packet.c index fd59b14c6dd62..d0e88c4b331d2 100644 --- a/tests/enet/packet.c +++ b/tests/enet/packet.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file packet.c @brief ENet packet management functions diff --git a/tests/enet/peer.c b/tests/enet/peer.c index 38839b1469f96..60646237d760e 100644 --- a/tests/enet/peer.c +++ b/tests/enet/peer.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file peer.c @brief ENet peer management functions diff --git a/tests/enet/protocol.c b/tests/enet/protocol.c index 6d4618c7a30c7..3bf62c3cceab7 100644 --- a/tests/enet/protocol.c +++ b/tests/enet/protocol.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file protocol.c @brief ENet protocol functions diff --git a/tests/enet/unix.c b/tests/enet/unix.c index 292eb29b29289..212f2a4c94dac 100644 --- a/tests/enet/unix.c +++ b/tests/enet/unix.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file unix.c @brief ENet Unix system specific functions diff --git a/tests/enet/win32.c b/tests/enet/win32.c index 0a213e7a82497..b21923f0946a2 100644 --- a/tests/enet/win32.c +++ b/tests/enet/win32.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /** @file win32.c @brief ENet Win32 system specific functions diff --git a/tests/env/src-mini.c b/tests/env/src-mini.c index c8f02867d4318..1c9445a4be53b 100644 --- a/tests/env/src-mini.c +++ b/tests/env/src-mini.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/env/src.c b/tests/env/src.c index 7544966fd5d0d..e2288aae61189 100644 --- a/tests/env/src.c +++ b/tests/env/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fannkuch.cpp b/tests/fannkuch.cpp index f615ba2f868ee..68b98fbf7a033 100644 --- a/tests/fannkuch.cpp +++ b/tests/fannkuch.cpp @@ -1,4 +1,9 @@ /* + * Copyright 2010 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * * The Computer Language Benchmarks Game * http://shootout.alioth.debian.org/ * diff --git a/tests/fasta.cpp b/tests/fasta.cpp index 925dff31e671c..86d1c0c633e19 100644 --- a/tests/fasta.cpp +++ b/tests/fasta.cpp @@ -1,3 +1,8 @@ +// Copyright 2010 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + /* The Computer Language Benchmarks Game http://shootout.alioth.debian.org/ contributed by Andrew Moon diff --git a/tests/fcntl-misc/src.c b/tests/fcntl-misc/src.c index ef1555a820265..f41ce2a5bb3c8 100644 --- a/tests/fcntl-misc/src.c +++ b/tests/fcntl-misc/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fcntl-open/src.c b/tests/fcntl-open/src.c index 018e5f63333e0..bfdbeae1992a1 100644 --- a/tests/fcntl-open/src.c +++ b/tests/fcntl-open/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fcntl/src.c b/tests/fcntl/src.c index b2de8fa997755..ccadf1238a399 100644 --- a/tests/fcntl/src.c +++ b/tests/fcntl/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fetch/cached_xhr.cpp b/tests/fetch/cached_xhr.cpp index 9b0cb31800f9f..4ee26c3d8044e 100644 --- a/tests/fetch/cached_xhr.cpp +++ b/tests/fetch/cached_xhr.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_async_xhr_to_memory.cpp b/tests/fetch/example_async_xhr_to_memory.cpp index 3037ee9f0da17..b2115ba6a6ec4 100644 --- a/tests/fetch/example_async_xhr_to_memory.cpp +++ b/tests/fetch/example_async_xhr_to_memory.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_async_xhr_to_memory_via_indexeddb.cpp b/tests/fetch/example_async_xhr_to_memory_via_indexeddb.cpp index 7dfab76e079a4..8bd7d38e72146 100644 --- a/tests/fetch/example_async_xhr_to_memory_via_indexeddb.cpp +++ b/tests/fetch/example_async_xhr_to_memory_via_indexeddb.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_idb_delete.cpp b/tests/fetch/example_idb_delete.cpp index cd460ce6145bc..f4c6dc230e30f 100644 --- a/tests/fetch/example_idb_delete.cpp +++ b/tests/fetch/example_idb_delete.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_idb_store.cpp b/tests/fetch/example_idb_store.cpp index 94e4946fe44b8..2ab526f5ee827 100644 --- a/tests/fetch/example_idb_store.cpp +++ b/tests/fetch/example_idb_store.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_stream_async_xhr.cpp b/tests/fetch/example_stream_async_xhr.cpp index 7fcb866cecbe9..c99c46b5dacf6 100644 --- a/tests/fetch/example_stream_async_xhr.cpp +++ b/tests/fetch/example_stream_async_xhr.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_sync_xhr_to_memory.cpp b/tests/fetch/example_sync_xhr_to_memory.cpp index 36f9aee47def9..9ce01ca525a12 100644 --- a/tests/fetch/example_sync_xhr_to_memory.cpp +++ b/tests/fetch/example_sync_xhr_to_memory.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_synchronous_fetch.cpp b/tests/fetch/example_synchronous_fetch.cpp index d72819bb6c386..c47ac217f7664 100644 --- a/tests/fetch/example_synchronous_fetch.cpp +++ b/tests/fetch/example_synchronous_fetch.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_waitable_xhr_to_memory.cpp b/tests/fetch/example_waitable_xhr_to_memory.cpp index 8326fafda60ae..baf5f447a20e6 100644 --- a/tests/fetch/example_waitable_xhr_to_memory.cpp +++ b/tests/fetch/example_waitable_xhr_to_memory.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/example_xhr_progress.cpp b/tests/fetch/example_xhr_progress.cpp index 630eeb8ba8136..65809d371b563 100644 --- a/tests/fetch/example_xhr_progress.cpp +++ b/tests/fetch/example_xhr_progress.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/idb_delete.cpp b/tests/fetch/idb_delete.cpp index 31c326f73a247..d54e4b7017851 100644 --- a/tests/fetch/idb_delete.cpp +++ b/tests/fetch/idb_delete.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/idb_store.cpp b/tests/fetch/idb_store.cpp index 93d1b1bd4e8ab..e4d15ee99ab48 100644 --- a/tests/fetch/idb_store.cpp +++ b/tests/fetch/idb_store.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/response_headers.cpp b/tests/fetch/response_headers.cpp index 49416cf501684..651dc045fab42 100644 --- a/tests/fetch/response_headers.cpp +++ b/tests/fetch/response_headers.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/stream_file.cpp b/tests/fetch/stream_file.cpp index b3d1dca3e0edb..6e6ca9c31d7cb 100644 --- a/tests/fetch/stream_file.cpp +++ b/tests/fetch/stream_file.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/sync_fetch_in_main_thread.cpp b/tests/fetch/sync_fetch_in_main_thread.cpp index 00d5f4560df8e..21be691fcab3d 100644 --- a/tests/fetch/sync_fetch_in_main_thread.cpp +++ b/tests/fetch/sync_fetch_in_main_thread.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/sync_xhr.cpp b/tests/fetch/sync_xhr.cpp index 464f7c391ffb4..72cf61cdb6a5b 100644 --- a/tests/fetch/sync_xhr.cpp +++ b/tests/fetch/sync_xhr.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/to_indexeddb.cpp b/tests/fetch/to_indexeddb.cpp index 372d6f33bd454..0ca35aa1fa59b 100644 --- a/tests/fetch/to_indexeddb.cpp +++ b/tests/fetch/to_indexeddb.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fetch/to_memory.cpp b/tests/fetch/to_memory.cpp index 499eace2967c2..16fa737f18c3a 100644 --- a/tests/fetch/to_memory.cpp +++ b/tests/fetch/to_memory.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/file_db.cpp b/tests/file_db.cpp index e110e4f2eb5c6..21447456bc2bc 100644 --- a/tests/file_db.cpp +++ b/tests/file_db.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/files.cpp b/tests/files.cpp index 2ffeebfec3e23..d36acb7b6e228 100644 --- a/tests/files.cpp +++ b/tests/files.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/filesystem/bad_lookup.cpp b/tests/filesystem/bad_lookup.cpp index 282e58415910b..ebe55de3b1648 100644 --- a/tests/filesystem/bad_lookup.cpp +++ b/tests/filesystem/bad_lookup.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/float_tex.cpp b/tests/float_tex.cpp index d4edb07b1e080..d56be2f084a61 100644 --- a/tests/float_tex.cpp +++ b/tests/float_tex.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES #include diff --git a/tests/force_exit.c b/tests/force_exit.c index 281a52c21d62e..b11ca3b29786e 100644 --- a/tests/force_exit.c +++ b/tests/force_exit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/examples/hello_world.c b/tests/freealut/examples/hello_world.c index ca5b4490716f5..819c1ca34e124 100644 --- a/tests/freealut/examples/hello_world.c +++ b/tests/freealut/examples/hello_world.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/freealut/examples/playfile.c b/tests/freealut/examples/playfile.c index 530222502d6fb..c6d52c13e38f9 100644 --- a/tests/freealut/examples/playfile.c +++ b/tests/freealut/examples/playfile.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/src/alutBufferData.c b/tests/freealut/src/alutBufferData.c index c7ad94793ee18..ac9f52c5025d3 100644 --- a/tests/freealut/src/alutBufferData.c +++ b/tests/freealut/src/alutBufferData.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" struct BufferData_struct diff --git a/tests/freealut/src/alutCodec.c b/tests/freealut/src/alutCodec.c index 908c7e32595cf..ffbd4d03cc7f4 100644 --- a/tests/freealut/src/alutCodec.c +++ b/tests/freealut/src/alutCodec.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" ALvoid *_alutCodecLinear(ALvoid * data, size_t length, ALint numChannels, ALint bitsPerSample, ALfloat sampleFrequency) diff --git a/tests/freealut/src/alutError.c b/tests/freealut/src/alutError.c index 57e2957520006..343c6db2944fc 100644 --- a/tests/freealut/src/alutError.c +++ b/tests/freealut/src/alutError.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" #include diff --git a/tests/freealut/src/alutInit.c b/tests/freealut/src/alutInit.c index 32080c8b93f3f..7d31a4c37b23c 100644 --- a/tests/freealut/src/alutInit.c +++ b/tests/freealut/src/alutInit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" static enum diff --git a/tests/freealut/src/alutInputStream.c b/tests/freealut/src/alutInputStream.c index 9ddcb0590b102..b0aa7052ef569 100644 --- a/tests/freealut/src/alutInputStream.c +++ b/tests/freealut/src/alutInputStream.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" #include #include diff --git a/tests/freealut/src/alutLoader.c b/tests/freealut/src/alutLoader.c index c21ed4838b9f7..fb7cc703f2420 100644 --- a/tests/freealut/src/alutLoader.c +++ b/tests/freealut/src/alutLoader.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" #include diff --git a/tests/freealut/src/alutOutputStream.c b/tests/freealut/src/alutOutputStream.c index fc8eca030aae3..03158b43b8128 100644 --- a/tests/freealut/src/alutOutputStream.c +++ b/tests/freealut/src/alutOutputStream.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" #include diff --git a/tests/freealut/src/alutUtil.c b/tests/freealut/src/alutUtil.c index 09be66e52700e..84fd3e331d4d5 100644 --- a/tests/freealut/src/alutUtil.c +++ b/tests/freealut/src/alutUtil.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" #if HAVE_NANOSLEEP && HAVE_TIME_H diff --git a/tests/freealut/src/alutVersion.c b/tests/freealut/src/alutVersion.c index 3837415ca6c00..22bc371189797 100644 --- a/tests/freealut/src/alutVersion.c +++ b/tests/freealut/src/alutVersion.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" ALint alutGetMajorVersion(void) diff --git a/tests/freealut/src/alutWaveform.c b/tests/freealut/src/alutWaveform.c index 5eb769d77ed5d..86a2b11ba94b4 100644 --- a/tests/freealut/src/alutWaveform.c +++ b/tests/freealut/src/alutWaveform.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "alutInternal.h" #include #include diff --git a/tests/freealut/test_suite/test_errorstuff.c b/tests/freealut/test_suite/test_errorstuff.c index 7d21e9d67bb91..40bb0d8c22c00 100644 --- a/tests/freealut/test_suite/test_errorstuff.c +++ b/tests/freealut/test_suite/test_errorstuff.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/test_suite/test_fileloader.c b/tests/freealut/test_suite/test_fileloader.c index ce447daff94aa..61773be05adbb 100644 --- a/tests/freealut/test_suite/test_fileloader.c +++ b/tests/freealut/test_suite/test_fileloader.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/test_suite/test_memoryloader.c b/tests/freealut/test_suite/test_memoryloader.c index a51e1744c0205..e0158892fdfac 100644 --- a/tests/freealut/test_suite/test_memoryloader.c +++ b/tests/freealut/test_suite/test_memoryloader.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/test_suite/test_retrostuff.c b/tests/freealut/test_suite/test_retrostuff.c index 97e3e9490691b..56ee6cb815560 100644 --- a/tests/freealut/test_suite/test_retrostuff.c +++ b/tests/freealut/test_suite/test_retrostuff.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/test_suite/test_version.c b/tests/freealut/test_suite/test_version.c index 472522456bbf2..d97ddebd50ba1 100644 --- a/tests/freealut/test_suite/test_version.c +++ b/tests/freealut/test_suite/test_version.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/freealut/test_suite/test_waveforms.c b/tests/freealut/test_suite/test_waveforms.c index fba854feb37e7..1a37a96e79e55 100644 --- a/tests/freealut/test_suite/test_waveforms.c +++ b/tests/freealut/test_suite/test_waveforms.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/freetype/main.c b/tests/freetype/main.c index be89c143c36b2..6d07bab0b4eb7 100644 --- a/tests/freetype/main.c +++ b/tests/freetype/main.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* example1.c */ /* */ /* This small program shows how to print a rotated string with the */ diff --git a/tests/freetype/main_2.c b/tests/freetype/main_2.c index e9dd7f01345a2..567d63501f465 100644 --- a/tests/freetype/main_2.c +++ b/tests/freetype/main_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* example1.c */ /* */ /* This small program shows how to print a rotated string with the */ diff --git a/tests/freetype/main_3.c b/tests/freetype/main_3.c index c3941a173dae5..27cfe93c41656 100644 --- a/tests/freetype/main_3.c +++ b/tests/freetype/main_3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* example1.c */ /* */ /* This small program shows how to print a rotated string with the */ diff --git a/tests/freetype/src/tools/apinames.c b/tests/freetype/src/tools/apinames.c index 99e3028c93453..9f14f5f8c49c7 100644 --- a/tests/freetype/src/tools/apinames.c +++ b/tests/freetype/src/tools/apinames.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This little program is used to parse the FreeType headers and * find the declaration of all public APIs. This is easy, because diff --git a/tests/freetype/src/tools/test_afm.c b/tests/freetype/src/tools/test_afm.c index f5f99363cabf0..e73382c9619a0 100644 --- a/tests/freetype/src/tools/test_afm.c +++ b/tests/freetype/src/tools/test_afm.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * gcc -DFT2_BUILD_LIBRARY -I../../include -o test_afm test_afm.c \ * -L../../objs/.libs -lfreetype -lz -static diff --git a/tests/freetype/src/tools/test_bbox.c b/tests/freetype/src/tools/test_bbox.c index e085c5b3d6ce6..8efcf700e131c 100644 --- a/tests/freetype/src/tools/test_bbox.c +++ b/tests/freetype/src/tools/test_bbox.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include FT_FREETYPE_H #include FT_BBOX_H diff --git a/tests/freetype/src/tools/test_trig.c b/tests/freetype/src/tools/test_trig.c index 8c8a544aa9b77..154c704fa26e9 100644 --- a/tests/freetype/src/tools/test_trig.c +++ b/tests/freetype/src/tools/test_trig.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include FT_FREETYPE_H #include FT_TRIGONOMETRY_H diff --git a/tests/freetype_test.c b/tests/freetype_test.c index 50470e9257c0c..006aa3f11e720 100644 --- a/tests/freetype_test.c +++ b/tests/freetype_test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_append.c b/tests/fs/test_append.c index ad717a337e059..abed4a17ca43e 100644 --- a/tests/fs/test_append.c +++ b/tests/fs/test_append.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/fs/test_emptyPath.c b/tests/fs/test_emptyPath.c index 27d56ea1cd85b..4ce8bf3a28392 100644 --- a/tests/fs/test_emptyPath.c +++ b/tests/fs/test_emptyPath.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/fs/test_getcwd_with_non_ascii_name.cpp b/tests/fs/test_getcwd_with_non_ascii_name.cpp index 4991389aadda7..fbff57092eef2 100644 --- a/tests/fs/test_getcwd_with_non_ascii_name.cpp +++ b/tests/fs/test_getcwd_with_non_ascii_name.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fs/test_getdents64.cpp b/tests/fs/test_getdents64.cpp index ae0927642beff..5e82b1b500c3e 100644 --- a/tests/fs/test_getdents64.cpp +++ b/tests/fs/test_getdents64.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fs/test_getdents64_special_cases.cpp b/tests/fs/test_getdents64_special_cases.cpp index 73e32bfd19462..cd34b61584bdd 100644 --- a/tests/fs/test_getdents64_special_cases.cpp +++ b/tests/fs/test_getdents64_special_cases.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fs/test_idbfs_fsync.c b/tests/fs/test_idbfs_fsync.c index a76432685a440..94a8c406c1723 100644 --- a/tests/fs/test_idbfs_fsync.c +++ b/tests/fs/test_idbfs_fsync.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_idbfs_sync.c b/tests/fs/test_idbfs_sync.c index 985ab0f9c3a98..8d1e4cfc88b37 100644 --- a/tests/fs/test_idbfs_sync.c +++ b/tests/fs/test_idbfs_sync.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_llseek.c b/tests/fs/test_llseek.c index d0978cbd5212c..c002b1c94db7f 100644 --- a/tests/fs/test_llseek.c +++ b/tests/fs/test_llseek.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() diff --git a/tests/fs/test_lz4fs.cpp b/tests/fs/test_lz4fs.cpp index d9569643bae91..6299249fa0467 100644 --- a/tests/fs/test_lz4fs.cpp +++ b/tests/fs/test_lz4fs.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fs/test_memfs_fsync.c b/tests/fs/test_memfs_fsync.c index d3eec7474721e..71fe916707816 100644 --- a/tests/fs/test_memfs_fsync.c +++ b/tests/fs/test_memfs_fsync.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_mmap.c b/tests/fs/test_mmap.c index 09ba9e3d41172..63348ad77a2fb 100644 --- a/tests/fs/test_mmap.c +++ b/tests/fs/test_mmap.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_mount.c b/tests/fs/test_mount.c index b1a337ade3838..8ad52fbfcbaca 100644 --- a/tests/fs/test_mount.c +++ b/tests/fs/test_mount.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_nodefs_cloexec.c b/tests/fs/test_nodefs_cloexec.c index fbc8bfc01d697..45f7ff62936cf 100644 --- a/tests/fs/test_nodefs_cloexec.c +++ b/tests/fs/test_nodefs_cloexec.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_nodefs_home.c b/tests/fs/test_nodefs_home.c index 5c9ade34ddfc8..2a49c965e370f 100644 --- a/tests/fs/test_nodefs_home.c +++ b/tests/fs/test_nodefs_home.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/fs/test_nodefs_rw.c b/tests/fs/test_nodefs_rw.c index 12d88a9ab8c3b..d7b6b9bc64ef7 100644 --- a/tests/fs/test_nodefs_rw.c +++ b/tests/fs/test_nodefs_rw.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_trackingdelegate.c b/tests/fs/test_trackingdelegate.c index cf8a7a464473e..d5b8c37c3355b 100644 --- a/tests/fs/test_trackingdelegate.c +++ b/tests/fs/test_trackingdelegate.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_workerfs_package.cpp b/tests/fs/test_workerfs_package.cpp index 06fe869e3c1ff..91d67263ce5ff 100644 --- a/tests/fs/test_workerfs_package.cpp +++ b/tests/fs/test_workerfs_package.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fs/test_workerfs_read.c b/tests/fs/test_workerfs_read.c index 18f9579a51ed2..a851e872f66c9 100644 --- a/tests/fs/test_workerfs_read.c +++ b/tests/fs/test_workerfs_read.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/fs/test_write.cpp b/tests/fs/test_write.cpp index 6b940ec348ee0..f29d93d31ae6d 100644 --- a/tests/fs/test_write.cpp +++ b/tests/fs/test_write.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // https://github.com/kripken/emscripten/pull/4705: Test that FS.write() with canOwn=true works. #include diff --git a/tests/fs_after_main.cpp b/tests/fs_after_main.cpp index 2613a69703951..1ff5045ca0c5c 100644 --- a/tests/fs_after_main.cpp +++ b/tests/fs_after_main.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/fuzz/1.c b/tests/fuzz/1.c index 2017fb76fec7e..12f8f8a2ff361 100644 --- a/tests/fuzz/1.c +++ b/tests/fuzz/1.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/11.c b/tests/fuzz/11.c index 5d5644fea119f..92334f06ee8da 100644 --- a/tests/fuzz/11.c +++ b/tests/fuzz/11.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/12.c b/tests/fuzz/12.c index 75535892b9b9f..20950a6728210 100644 --- a/tests/fuzz/12.c +++ b/tests/fuzz/12.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/13.c b/tests/fuzz/13.c index 623f0dee6acb0..a2a0889bc52c3 100644 --- a/tests/fuzz/13.c +++ b/tests/fuzz/13.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/14.c b/tests/fuzz/14.c index 17e7ec5fca406..2559dddacc1b7 100644 --- a/tests/fuzz/14.c +++ b/tests/fuzz/14.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/15.c b/tests/fuzz/15.c index d84af7051a1fa..d62cc619a8648 100644 --- a/tests/fuzz/15.c +++ b/tests/fuzz/15.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/16.c b/tests/fuzz/16.c index 187a6c648eb47..56a228fb389a4 100644 --- a/tests/fuzz/16.c +++ b/tests/fuzz/16.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/17.c b/tests/fuzz/17.c index 25b3028e80435..0d685ae8073a1 100644 --- a/tests/fuzz/17.c +++ b/tests/fuzz/17.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/18.cpp b/tests/fuzz/18.cpp index b27aac1b09edc..f17f39bfbc3d9 100644 --- a/tests/fuzz/18.cpp +++ b/tests/fuzz/18.cpp @@ -1,4 +1,9 @@ /* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.2.0 diff --git a/tests/fuzz/19.c b/tests/fuzz/19.c index d94318c5e5fdb..2195ff97ecc31 100644 --- a/tests/fuzz/19.c +++ b/tests/fuzz/19.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/2.c b/tests/fuzz/2.c index 31ccafc8dc451..744d672921a48 100644 --- a/tests/fuzz/2.c +++ b/tests/fuzz/2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/20.cpp b/tests/fuzz/20.cpp index 619ac6976a161..007f6538ca633 100644 --- a/tests/fuzz/20.cpp +++ b/tests/fuzz/20.cpp @@ -1,4 +1,9 @@ /* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.2.0 diff --git a/tests/fuzz/21.c b/tests/fuzz/21.c index 28720f01756f8..ea5feb5fa1130 100644 --- a/tests/fuzz/21.c +++ b/tests/fuzz/21.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/22.c b/tests/fuzz/22.c index f2de2acd5a144..6d8f9bc89ddc5 100644 --- a/tests/fuzz/22.c +++ b/tests/fuzz/22.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/23.cpp b/tests/fuzz/23.cpp index 1371229b5d590..01b2bcd056ea4 100644 --- a/tests/fuzz/23.cpp +++ b/tests/fuzz/23.cpp @@ -1,4 +1,9 @@ /* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.3.0 diff --git a/tests/fuzz/24.cpp b/tests/fuzz/24.cpp index 1752fe59fb2e4..4aaaf3d6eac76 100644 --- a/tests/fuzz/24.cpp +++ b/tests/fuzz/24.cpp @@ -1,4 +1,9 @@ /* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.3.0 diff --git a/tests/fuzz/25.c b/tests/fuzz/25.c index ba7489e52d137..07823c70b8505 100644 --- a/tests/fuzz/25.c +++ b/tests/fuzz/25.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/3.c b/tests/fuzz/3.c index b2dcac2e44676..09e7a5749b902 100644 --- a/tests/fuzz/3.c +++ b/tests/fuzz/3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/4.c b/tests/fuzz/4.c index 01949b54b466f..e504a5acdea6a 100644 --- a/tests/fuzz/4.c +++ b/tests/fuzz/4.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/5.c b/tests/fuzz/5.c index a62c18a39c3e4..5bb6a5abd1fbf 100644 --- a/tests/fuzz/5.c +++ b/tests/fuzz/5.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/fuzz/6.c b/tests/fuzz/6.c index f7d003f0b3d7c..0536494087716 100644 --- a/tests/fuzz/6.c +++ b/tests/fuzz/6.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/7.c b/tests/fuzz/7.c index 45c0096d9c5ee..cbbdb35b342b3 100644 --- a/tests/fuzz/7.c +++ b/tests/fuzz/7.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/8.c b/tests/fuzz/8.c index 2dbaa5b2c816c..656e2e2a77fbe 100644 --- a/tests/fuzz/8.c +++ b/tests/fuzz/8.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/9.c b/tests/fuzz/9.c index 3e69535e923ec..cbeab4e86888d 100644 --- a/tests/fuzz/9.c +++ b/tests/fuzz/9.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * This is a RANDOMLY GENERATED PROGRAM. * diff --git a/tests/fuzz/creduce_tester.py b/tests/fuzz/creduce_tester.py index 207f0edf21428..eabce1c1a4ef4 100755 --- a/tests/fuzz/creduce_tester.py +++ b/tests/fuzz/creduce_tester.py @@ -1,4 +1,8 @@ #!/usr/bin/python +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' Usage: creduce ./creduce_tester.py newfail1.c diff --git a/tests/fuzz/csmith_driver.py b/tests/fuzz/csmith_driver.py index a5007001a06fb..364871caa9899 100755 --- a/tests/fuzz/csmith_driver.py +++ b/tests/fuzz/csmith_driver.py @@ -1,4 +1,9 @@ #!/usr/bin/python +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Runs csmith, a C fuzzer, and looks for bugs. CSMITH_PATH should be set to something like /usr/local/include/csmith diff --git a/tests/gauge_available_memory.cpp b/tests/gauge_available_memory.cpp index cb93b4d948758..3f1388e351629 100644 --- a/tests/gauge_available_memory.cpp +++ b/tests/gauge_available_memory.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/gen_large_switchcase.py b/tests/gen_large_switchcase.py index 5b1e039f21bce..e93ff9dec70cd 100644 --- a/tests/gen_large_switchcase.py +++ b/tests/gen_large_switchcase.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import random, sys num_cases = int(sys.argv[1]) cases = '' diff --git a/tests/gl_error.c b/tests/gl_error.c index b8c2173d37711..579d5386fe168 100644 --- a/tests/gl_error.c +++ b/tests/gl_error.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/gl_in_mainthread_after_pthread.cpp b/tests/gl_in_mainthread_after_pthread.cpp index 957fa9a29c68f..ed6121a812d36 100644 --- a/tests/gl_in_mainthread_after_pthread.cpp +++ b/tests/gl_in_mainthread_after_pthread.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/gl_in_pthread.cpp b/tests/gl_in_pthread.cpp index c048f94678a84..7337e257503e0 100644 --- a/tests/gl_in_pthread.cpp +++ b/tests/gl_in_pthread.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/gl_matrix_identity.c b/tests/gl_matrix_identity.c index 0d7ebe6c5b96f..e68eda422584b 100644 --- a/tests/gl_matrix_identity.c +++ b/tests/gl_matrix_identity.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/gl_only_in_pthread.cpp b/tests/gl_only_in_pthread.cpp index 4dcfd04b93646..b396a8badef19 100644 --- a/tests/gl_only_in_pthread.cpp +++ b/tests/gl_only_in_pthread.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/gl_subdata.cpp b/tests/gl_subdata.cpp index ad638ea6f6c92..64d1b35d08af3 100644 --- a/tests/gl_subdata.cpp +++ b/tests/gl_subdata.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES #include diff --git a/tests/gl_teximage.c b/tests/gl_teximage.c index f8ead0a5c0bc7..75ea82da285ac 100644 --- a/tests/gl_teximage.c +++ b/tests/gl_teximage.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * GLES2 test for glTexImage2D parameters * diff --git a/tests/gl_textures.cpp b/tests/gl_textures.cpp index 6a9db91ae0038..459c85790bfdd 100644 --- a/tests/gl_textures.cpp +++ b/tests/gl_textures.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/gles2_conformance.cpp b/tests/gles2_conformance.cpp index 7b053cdce4677..bad0d62f16565 100644 --- a/tests/gles2_conformance.cpp +++ b/tests/gles2_conformance.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "SDL/SDL.h" #include diff --git a/tests/gles2_uniform_arrays.cpp b/tests/gles2_uniform_arrays.cpp index 9b6ddc3e6ac55..46cfe678aff75 100644 --- a/tests/gles2_uniform_arrays.cpp +++ b/tests/gles2_uniform_arrays.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "SDL/SDL_opengl.h" #include "SDL/SDL.h" diff --git a/tests/glew.c b/tests/glew.c index ae12c5640da59..ff593493d64f5 100644 --- a/tests/glew.c +++ b/tests/glew.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glframebufferattachmentinfo.c b/tests/glframebufferattachmentinfo.c index 6437ec8eea1e5..54dc963caeb65 100644 --- a/tests/glframebufferattachmentinfo.c +++ b/tests/glframebufferattachmentinfo.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glfw.c b/tests/glfw.c index f1bb5bd7eee30..e07220a397253 100644 --- a/tests/glfw.c +++ b/tests/glfw.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glfw3.c b/tests/glfw3.c index d5cd4493fff96..eb97c57e67db2 100644 --- a/tests/glfw3.c +++ b/tests/glfw3.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glfw_events.c b/tests/glfw_events.c index 979146350ddfb..d768d6b70b789 100644 --- a/tests/glfw_events.c +++ b/tests/glfw_events.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #ifdef USE_GLFW #if USE_GLFW == 2 #include diff --git a/tests/glfw_joystick.c b/tests/glfw_joystick.c index c35605b88bdd7..fa6a55c1a2c76 100644 --- a/tests/glfw_joystick.c +++ b/tests/glfw_joystick.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glfw_minimal.c b/tests/glfw_minimal.c index 0bf12adf6ab6b..179837924d7b4 100644 --- a/tests/glfw_minimal.c +++ b/tests/glfw_minimal.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glgetattachedshaders.c b/tests/glgetattachedshaders.c index f269b5c3727a9..f983bbb378192 100644 --- a/tests/glgetattachedshaders.c +++ b/tests/glgetattachedshaders.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glgettexenv.c b/tests/glgettexenv.c index ccef44c56252e..68702cf52d8b1 100644 --- a/tests/glgettexenv.c +++ b/tests/glgettexenv.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/glshaderinfo.cpp b/tests/glshaderinfo.cpp index bb1bdbdc5cf7d..4c5f4bfd50593 100644 --- a/tests/glshaderinfo.cpp +++ b/tests/glshaderinfo.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES diff --git a/tests/glut_fullscreen.c b/tests/glut_fullscreen.c index 005dd9fef6247..d0ab9ecec6a63 100644 --- a/tests/glut_fullscreen.c +++ b/tests/glut_fullscreen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #ifdef __EMSCRIPTEN__ #define GL_GLEXT_PROTOTYPES #include diff --git a/tests/glut_touchevents.c b/tests/glut_touchevents.c index d3f096d288f38..7f06e80ef79ea 100644 --- a/tests/glut_touchevents.c +++ b/tests/glut_touchevents.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/glut_wheelevents.c b/tests/glut_wheelevents.c index 445e22ddf2ab4..c7c87409f0fe7 100644 --- a/tests/glut_wheelevents.c +++ b/tests/glut_wheelevents.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/hashtest.cpp b/tests/hashtest.cpp index fefb6cc37a9d5..210ad9d87f695 100644 --- a/tests/hashtest.cpp +++ b/tests/hashtest.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + //#include #include #include diff --git a/tests/hello_123.c b/tests/hello_123.c index 2014de7af4645..27464016bb6c3 100644 --- a/tests/hello_123.c +++ b/tests/hello_123.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + int main() { return 123; } diff --git a/tests/hello_cxx03.cpp b/tests/hello_cxx03.cpp index d6cc766a978a9..e6114e56ca7d9 100644 --- a/tests/hello_cxx03.cpp +++ b/tests/hello_cxx03.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #if __cplusplus != 199711L diff --git a/tests/hello_cxx11.cpp b/tests/hello_cxx11.cpp index cfce039a0dc49..fb93e8e08a200 100644 --- a/tests/hello_cxx11.cpp +++ b/tests/hello_cxx11.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #if __cplusplus != 201103L diff --git a/tests/hello_function.cpp b/tests/hello_function.cpp index 6037109e2df6f..9ff8d0433538b 100644 --- a/tests/hello_function.cpp +++ b/tests/hello_function.cpp @@ -1,3 +1,7 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include diff --git a/tests/hello_image_sdl.c b/tests/hello_image_sdl.c index 449798bd575a8..f92a766b4e8d8 100644 --- a/tests/hello_image_sdl.c +++ b/tests/hello_image_sdl.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/hello_libcxx.cpp b/tests/hello_libcxx.cpp index 445c5513b0c74..219eb64aa622f 100644 --- a/tests/hello_libcxx.cpp +++ b/tests/hello_libcxx.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() diff --git a/tests/hello_malloc.cpp b/tests/hello_malloc.cpp index d9d106f772fae..106fa8790b02f 100644 --- a/tests/hello_malloc.cpp +++ b/tests/hello_malloc.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/hello_world.c b/tests/hello_world.c index fdf19b8864653..74a0be7213225 100644 --- a/tests/hello_world.c +++ b/tests/hello_world.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/hello_world.cpp b/tests/hello_world.cpp index bd28fd30085b7..78f426a9ac8c2 100644 --- a/tests/hello_world.cpp +++ b/tests/hello_world.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include class Test {}; // This will fail in C mode diff --git a/tests/hello_world_em_asm.c b/tests/hello_world_em_asm.c index 5d0c2656eac05..f28bb808d8664 100644 --- a/tests/hello_world_em_asm.c +++ b/tests/hello_world_em_asm.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/hello_world_error.c b/tests/hello_world_error.c index c76b5bafae154..ca24eb41f01f9 100644 --- a/tests/hello_world_error.c +++ b/tests/hello_world_error.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #in clu de int main() { diff --git a/tests/hello_world_error.cpp b/tests/hello_world_error.cpp index c76b5bafae154..8f14b716d4629 100644 --- a/tests/hello_world_error.cpp +++ b/tests/hello_world_error.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #in clu de int main() { diff --git a/tests/hello_world_exit.c b/tests/hello_world_exit.c index 1c72f2d1d57b7..c5576976a0a00 100644 --- a/tests/hello_world_exit.c +++ b/tests/hello_world_exit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/hello_world_file.cpp b/tests/hello_world_file.cpp index 97ea395ef78b7..69c36656fc19a 100644 --- a/tests/hello_world_file.cpp +++ b/tests/hello_world_file.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { FILE *file = fopen("tests/hello_world_file.txt", "rb"); diff --git a/tests/hello_world_fopen.c b/tests/hello_world_fopen.c index cacd2cec2d743..a387f1eefce64 100644 --- a/tests/hello_world_fopen.c +++ b/tests/hello_world_fopen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/hello_world_loop.cpp b/tests/hello_world_loop.cpp index 853ff96069ccc..0779a829f8793 100644 --- a/tests/hello_world_loop.cpp +++ b/tests/hello_world_loop.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/hello_world_loop_malloc.cpp b/tests/hello_world_loop_malloc.cpp index 1efd7d7bac846..4716f42101077 100644 --- a/tests/hello_world_loop_malloc.cpp +++ b/tests/hello_world_loop_malloc.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/hello_world_sdl.cpp b/tests/hello_world_sdl.cpp index 6a676b8dd9982..f4874999ac213 100644 --- a/tests/hello_world_sdl.cpp +++ b/tests/hello_world_sdl.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/hello_world_worker.cpp b/tests/hello_world_worker.cpp index ceb0a572f0ba1..fcff57da74fcb 100644 --- a/tests/hello_world_worker.cpp +++ b/tests/hello_world_worker.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/http.cpp b/tests/http.cpp index c3eff03370ab9..283d27f481f8f 100644 --- a/tests/http.cpp +++ b/tests/http.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // // http.cpp // Player Javascript diff --git a/tests/hyperbolic/src.c b/tests/hyperbolic/src.c index 95dc4d3c1f6d0..5e1c330c62ded 100644 --- a/tests/hyperbolic/src.c +++ b/tests/hyperbolic/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/idbstore.c b/tests/idbstore.c index 27fb2e1185b08..65cc9740882be 100644 --- a/tests/idbstore.c +++ b/tests/idbstore.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/idbstore_sync.c b/tests/idbstore_sync.c index 887f08b99dd9c..e44c4dea71870 100644 --- a/tests/idbstore_sync.c +++ b/tests/idbstore_sync.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/idbstore_sync_worker.c b/tests/idbstore_sync_worker.c index 34ecc0289a8be..985fdbcf63cd9 100644 --- a/tests/idbstore_sync_worker.c +++ b/tests/idbstore_sync_worker.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/in_flight_memfile_request.c b/tests/in_flight_memfile_request.c index d7494976596db..e0be9e4b8e7c7 100644 --- a/tests/in_flight_memfile_request.c +++ b/tests/in_flight_memfile_request.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/interop/test_add_function.cpp b/tests/interop/test_add_function.cpp index e05f74e3aa070..f366ca60f27a1 100644 --- a/tests/interop/test_add_function.cpp +++ b/tests/interop/test_add_function.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/keydown_preventdefault_proxy.cpp b/tests/keydown_preventdefault_proxy.cpp index 3bce62a3c8c3d..39b92eda4ccb2 100644 --- a/tests/keydown_preventdefault_proxy.cpp +++ b/tests/keydown_preventdefault_proxy.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/langinfo/test.c b/tests/langinfo/test.c index 3b506835838ec..bda95880108ec 100644 --- a/tests/langinfo/test.c +++ b/tests/langinfo/test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/lib_include_flags.c b/tests/lib_include_flags.c index 72e57db6fa620..6a0fb88fad9da 100644 --- a/tests/lib_include_flags.c +++ b/tests/lib_include_flags.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "test.h" int main(int argc, char** argv) { diff --git a/tests/life.c b/tests/life.c index 263fa0e631229..6480382c76d68 100644 --- a/tests/life.c +++ b/tests/life.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // From http://rosettacode.org/wiki/Conway%27s_Game_of_Life#C #include diff --git a/tests/linpack.c b/tests/linpack.c index 9deb40d980956..843f12a8baf25 100644 --- a/tests/linpack.c +++ b/tests/linpack.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* gcc linpack.c cpuidc64.o cpuida64.o -m64 -lrt -lc -lm -o linpack * * Linpack 100x100 Benchmark In C/C++ For PCs diff --git a/tests/linpack2.c b/tests/linpack2.c index e6443f1a4570c..a652ea2abfaad 100644 --- a/tests/linpack2.c +++ b/tests/linpack2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + # include # include # include diff --git a/tests/lzma/benchmark.c b/tests/lzma/benchmark.c index eda060e1bfc7f..eda5fb2fdd6ab 100644 --- a/tests/lzma/benchmark.c +++ b/tests/lzma/benchmark.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // From the very useful lzbench project, https://github.com/inikep/lzbench #include diff --git a/tests/lzma/lzma/Alloc.c b/tests/lzma/lzma/Alloc.c index dddd2ddfb4f76..f960b117afdc1 100644 --- a/tests/lzma/lzma/Alloc.c +++ b/tests/lzma/lzma/Alloc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* Alloc.c -- Memory allocation functions 2013-11-12 : Igor Pavlov : Public domain */ diff --git a/tests/lzma/lzma/LzFind.c b/tests/lzma/lzma/LzFind.c index 25cf63d94d60a..fddc3071f8292 100644 --- a/tests/lzma/lzma/LzFind.c +++ b/tests/lzma/lzma/LzFind.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* LzFind.c -- Match finder for LZ algorithms 2009-04-22 : Igor Pavlov : Public domain */ diff --git a/tests/lzma/lzma/LzmaDec.c b/tests/lzma/lzma/LzmaDec.c index f6f5abbbf50fc..62151562c478e 100644 --- a/tests/lzma/lzma/LzmaDec.c +++ b/tests/lzma/lzma/LzmaDec.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* LzmaDec.c -- LZMA Decoder 2015-01-01 : Igor Pavlov : Public domain */ diff --git a/tests/lzma/lzma/LzmaEnc.c b/tests/lzma/lzma/LzmaEnc.c index fd18ceb052340..7f3175241ae2c 100644 --- a/tests/lzma/lzma/LzmaEnc.c +++ b/tests/lzma/lzma/LzmaEnc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* LzmaEnc.c -- LZMA Encoder 2014-12-29 : Igor Pavlov : Public domain */ diff --git a/tests/mainloop_infloop.cpp b/tests/mainloop_infloop.cpp index 1d6c69660bf70..726408940832d 100644 --- a/tests/mainloop_infloop.cpp +++ b/tests/mainloop_infloop.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/mainloop_reschedule.cpp b/tests/mainloop_reschedule.cpp index 3c63a907bfbe8..510493c44e982 100644 --- a/tests/mainloop_reschedule.cpp +++ b/tests/mainloop_reschedule.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/mallinfo.cpp b/tests/mallinfo.cpp index 63a998a5e5b50..9a057c46ba9ae 100644 --- a/tests/mallinfo.cpp +++ b/tests/mallinfo.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // Tests that we can use the dlmalloc mallinfo() function to obtain information about malloc()ed blocks and compute how much memory is used/freed. #include diff --git a/tests/malloc_bench.cpp b/tests/malloc_bench.cpp index 0005e8ce59103..3919c3f693aec 100644 --- a/tests/malloc_bench.cpp +++ b/tests/malloc_bench.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/manual_download_data.cpp b/tests/manual_download_data.cpp index 7ec30905542de..b9e0d3094be6c 100644 --- a/tests/manual_download_data.cpp +++ b/tests/manual_download_data.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/manual_wasm_instantiate.cpp b/tests/manual_wasm_instantiate.cpp index 4b8097df2fac1..f4ac673998245 100644 --- a/tests/manual_wasm_instantiate.cpp +++ b/tests/manual_wasm_instantiate.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/math/lgamma.c b/tests/math/lgamma.c index e96f5610433c0..1ca0f9c1f165c 100644 --- a/tests/math/lgamma.c +++ b/tests/math/lgamma.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include diff --git a/tests/matrix_multiply.cpp b/tests/matrix_multiply.cpp index 0c690c11541de..6efc644bae5d5 100644 --- a/tests/matrix_multiply.cpp +++ b/tests/matrix_multiply.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #ifdef __EMSCRIPTEN__ diff --git a/tests/mem_init.cpp b/tests/mem_init.cpp index a4ca6a1f128dc..7c25b1365f4ea 100644 --- a/tests/mem_init.cpp +++ b/tests/mem_init.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/mem_init_request.cpp b/tests/mem_init_request.cpp index 900312943430a..1807594e9a1e1 100644 --- a/tests/mem_init_request.cpp +++ b/tests/mem_init_request.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/meminit_pairs.c b/tests/meminit_pairs.c index fde07cd6e81cf..523f91c6f36a5 100644 --- a/tests/meminit_pairs.c +++ b/tests/meminit_pairs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + unsigned char problematic[] = { 0x20, 0x7c, 0x02, 0x07, 0x5f, 0xa0, 0xdf }; int main() { unsigned char a, b; diff --git a/tests/mmap_file.c b/tests/mmap_file.c index 638a4f0b9167a..edc6920b6ce20 100644 --- a/tests/mmap_file.c +++ b/tests/mmap_file.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/module/test_stdin.c b/tests/module/test_stdin.c index c64403ab4e55d..b95673cbfa170 100644 --- a/tests/module/test_stdin.c +++ b/tests/module/test_stdin.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/nbody-java/constant_pool.c b/tests/nbody-java/constant_pool.c index b3f3467d609b5..e656e293a25d3 100644 --- a/tests/nbody-java/constant_pool.c +++ b/tests/nbody-java/constant_pool.c @@ -1,3 +1,9 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ // Generated by xmlvm2c.xsl. Do not edit! diff --git a/tests/nbody-java/nbody_Body.c b/tests/nbody-java/nbody_Body.c index ca172c060d28e..c1906907b0506 100644 --- a/tests/nbody-java/nbody_Body.c +++ b/tests/nbody-java/nbody_Body.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "xmlvm.h" #include "nbody_Body.h" diff --git a/tests/nbody-java/nbody_NBodySystem.c b/tests/nbody-java/nbody_NBodySystem.c index b43c61e001a94..f98ed395bead1 100644 --- a/tests/nbody-java/nbody_NBodySystem.c +++ b/tests/nbody-java/nbody_NBodySystem.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "xmlvm.h" #include "java_lang_Math.h" #include "nbody_Body.h" diff --git a/tests/nbody-java/nbody_nbody.c b/tests/nbody-java/nbody_nbody.c index 4d77bb3235faf..c02dbff9f05a1 100644 --- a/tests/nbody-java/nbody_nbody.c +++ b/tests/nbody-java/nbody_nbody.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "xmlvm.h" #include "java_io_PrintStream.h" #include "java_lang_Integer.h" diff --git a/tests/nbody-java/xmlvm-number.c b/tests/nbody-java/xmlvm-number.c index ae496d54be048..4ced7555a2144 100644 --- a/tests/nbody-java/xmlvm-number.c +++ b/tests/nbody-java/xmlvm-number.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/tests/nbody-java/xmlvm-tib-list.c b/tests/nbody-java/xmlvm-tib-list.c index 780c6f8a50cfc..16cc7518367d6 100644 --- a/tests/nbody-java/xmlvm-tib-list.c +++ b/tests/nbody-java/xmlvm-tib-list.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Generated by AugmentedCOutputProcess. Do not edit! #include "xmlvm.h" diff --git a/tests/netinet/in.cpp b/tests/netinet/in.cpp index eaadfba267951..740020896e460 100644 --- a/tests/netinet/in.cpp +++ b/tests/netinet/in.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include extern "C" int puts(const char *); int main() { diff --git a/tests/new.cpp b/tests/new.cpp index 3e09fbc1d2ad1..d3d652adba707 100644 --- a/tests/new.cpp +++ b/tests/new.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // Emscripten tests #include diff --git a/tests/openal_buffers.c b/tests/openal_buffers.c index dec1e14a6d29f..3ebe1245626f5 100644 --- a/tests/openal_buffers.c +++ b/tests/openal_buffers.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/openal_capture.c b/tests/openal_capture.c index 8f33f059189b0..05c5a70f141e3 100644 --- a/tests/openal_capture.c +++ b/tests/openal_capture.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // This tests captures a fixed amount of audio data, // then plays it back. // diff --git a/tests/openal_capture_sanity.c b/tests/openal_capture_sanity.c index b6305f1070160..215b4533f2ec8 100644 --- a/tests/openal_capture_sanity.c +++ b/tests/openal_capture_sanity.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // This test attempts to open all possible capture devices, each one // several times with a combination of "reasonable" parameters, and // checks some basic conformance to expectations w.r.t the spec. diff --git a/tests/openal_error.c b/tests/openal_error.c index 61a26022498cf..dba3230ad8f06 100644 --- a/tests/openal_error.c +++ b/tests/openal_error.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/openal_playback.cpp b/tests/openal_playback.cpp index 2237316d46b19..7c07cb187794b 100644 --- a/tests/openal_playback.cpp +++ b/tests/openal_playback.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/other/fd_closed/test.cpp b/tests/other/fd_closed/test.cpp index e7cbf4d45b697..bd61f0cd19207 100644 --- a/tests/other/fd_closed/test.cpp +++ b/tests/other/fd_closed/test.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/other/ffi.c b/tests/other/ffi.c index 80f44fd71fa04..d8cdc77e29148 100644 --- a/tests/other/ffi.c +++ b/tests/other/ffi.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/other/ioctl/window_size/test.cpp b/tests/other/ioctl/window_size/test.cpp index eefa1865c2e7a..e1c0afade4b96 100644 --- a/tests/other/ioctl/window_size/test.cpp +++ b/tests/other/ioctl/window_size/test.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/other/malloc_implicit/test.cpp b/tests/other/malloc_implicit/test.cpp index 808aa5c5b829b..545d6260abf4e 100644 --- a/tests/other/malloc_implicit/test.cpp +++ b/tests/other/malloc_implicit/test.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/other/unlink/test.cpp b/tests/other/unlink/test.cpp index f05676a1aa910..d0e40f18411db 100644 --- a/tests/other/unlink/test.cpp +++ b/tests/other/unlink/test.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/other/wasm_sourcemap/no_main.c b/tests/other/wasm_sourcemap/no_main.c index 019fe2722d123..96c5b7c8e53d7 100644 --- a/tests/other/wasm_sourcemap/no_main.c +++ b/tests/other/wasm_sourcemap/no_main.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + //clang --target=wasm32-unknown-unknown-wasm \ // -nostartfiles -nostdlib -Wl,--no-entry,--export=foo -g -o foo.wasm no_main.c int foo() diff --git a/tests/parallel_runner.py b/tests/parallel_runner.py index fbec456bd12b6..cb5f189349f71 100644 --- a/tests/parallel_runner.py +++ b/tests/parallel_runner.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import multiprocessing import os diff --git a/tests/parseInt/src.c b/tests/parseInt/src.c index 7b99ee4d32ca0..27e64185249e9 100644 --- a/tests/parseInt/src.c +++ b/tests/parseInt/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/perspective.c b/tests/perspective.c index 7799855724d7c..9193ca3f49b6c 100644 --- a/tests/perspective.c +++ b/tests/perspective.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * SDL OpenGL Tutorial. * (c) Michael Vance, 2000 diff --git a/tests/poppler/glib/poppler-enums.c b/tests/poppler/glib/poppler-enums.c index 289cc1c164e25..c71abe888d68a 100644 --- a/tests/poppler/glib/poppler-enums.c +++ b/tests/poppler/glib/poppler-enums.c @@ -1,3 +1,9 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ /* Generated data (by glib-mkenums) */ diff --git a/tests/poppler/qt/test-poppler-qt.cpp b/tests/poppler/qt/test-poppler-qt.cpp index d97954b8ba7ea..0398f8ddfeaaf 100644 --- a/tests/poppler/qt/test-poppler-qt.cpp +++ b/tests/poppler/qt/test-poppler-qt.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/poppler/qt4/tests/check_actualtext.cpp b/tests/poppler/qt4/tests/check_actualtext.cpp index 64fae8fb4128f..2ffcc459d3a5d 100644 --- a/tests/poppler/qt4/tests/check_actualtext.cpp +++ b/tests/poppler/qt4/tests/check_actualtext.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_attachments.cpp b/tests/poppler/qt4/tests/check_attachments.cpp index 2e02ec8162dd6..4c79b50c6b326 100644 --- a/tests/poppler/qt4/tests/check_attachments.cpp +++ b/tests/poppler/qt4/tests/check_attachments.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_dateConversion.cpp b/tests/poppler/qt4/tests/check_dateConversion.cpp index c1f84e2f113c9..8d93438e85b93 100644 --- a/tests/poppler/qt4/tests/check_dateConversion.cpp +++ b/tests/poppler/qt4/tests/check_dateConversion.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include Q_DECLARE_METATYPE(QDate) diff --git a/tests/poppler/qt4/tests/check_fonts.cpp b/tests/poppler/qt4/tests/check_fonts.cpp index fdf4be732901d..412ca9c7ddaa3 100644 --- a/tests/poppler/qt4/tests/check_fonts.cpp +++ b/tests/poppler/qt4/tests/check_fonts.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_links.cpp b/tests/poppler/qt4/tests/check_links.cpp index 2f69a828df85e..c82f22ddc32b7 100644 --- a/tests/poppler/qt4/tests/check_links.cpp +++ b/tests/poppler/qt4/tests/check_links.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_metadata.cpp b/tests/poppler/qt4/tests/check_metadata.cpp index 61575dd6acc9a..caff5e699f18d 100644 --- a/tests/poppler/qt4/tests/check_metadata.cpp +++ b/tests/poppler/qt4/tests/check_metadata.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_optcontent.cpp b/tests/poppler/qt4/tests/check_optcontent.cpp index ec988b8eddab5..d1912aa4673c8 100644 --- a/tests/poppler/qt4/tests/check_optcontent.cpp +++ b/tests/poppler/qt4/tests/check_optcontent.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include "PDFDoc.h" diff --git a/tests/poppler/qt4/tests/check_pagelayout.cpp b/tests/poppler/qt4/tests/check_pagelayout.cpp index dbdb93ea2eaf3..0a436e5e11bca 100644 --- a/tests/poppler/qt4/tests/check_pagelayout.cpp +++ b/tests/poppler/qt4/tests/check_pagelayout.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_pagemode.cpp b/tests/poppler/qt4/tests/check_pagemode.cpp index 9df07ff3ecc6a..a66083edcee54 100644 --- a/tests/poppler/qt4/tests/check_pagemode.cpp +++ b/tests/poppler/qt4/tests/check_pagemode.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_password.cpp b/tests/poppler/qt4/tests/check_password.cpp index 7bc81b21694fd..e1c41b3f89db2 100644 --- a/tests/poppler/qt4/tests/check_password.cpp +++ b/tests/poppler/qt4/tests/check_password.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_permissions.cpp b/tests/poppler/qt4/tests/check_permissions.cpp index eec78edfeeccf..cbca781802a4f 100644 --- a/tests/poppler/qt4/tests/check_permissions.cpp +++ b/tests/poppler/qt4/tests/check_permissions.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/check_search.cpp b/tests/poppler/qt4/tests/check_search.cpp index c7e44bc3b2608..9a116aeaa4120 100644 --- a/tests/poppler/qt4/tests/check_search.cpp +++ b/tests/poppler/qt4/tests/check_search.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/poppler-attachments.cpp b/tests/poppler/qt4/tests/poppler-attachments.cpp index 992dc565b93ea..dcc0b9a53b47d 100644 --- a/tests/poppler/qt4/tests/poppler-attachments.cpp +++ b/tests/poppler/qt4/tests/poppler-attachments.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/poppler-fonts.cpp b/tests/poppler/qt4/tests/poppler-fonts.cpp index 6b66ec4286b52..27f91d8c4ee6f 100644 --- a/tests/poppler/qt4/tests/poppler-fonts.cpp +++ b/tests/poppler/qt4/tests/poppler-fonts.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/poppler-texts.cpp b/tests/poppler/qt4/tests/poppler-texts.cpp index ec28353156ef3..7d889e3ab24ca 100644 --- a/tests/poppler/qt4/tests/poppler-texts.cpp +++ b/tests/poppler/qt4/tests/poppler-texts.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/poppler/qt4/tests/stress-poppler-dir.cpp b/tests/poppler/qt4/tests/stress-poppler-dir.cpp index 6eeab6fa56dc2..b84af5cfd66da 100644 --- a/tests/poppler/qt4/tests/stress-poppler-dir.cpp +++ b/tests/poppler/qt4/tests/stress-poppler-dir.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/poppler/qt4/tests/stress-poppler-qt4.cpp b/tests/poppler/qt4/tests/stress-poppler-qt4.cpp index 5684454358c05..132becc517d75 100644 --- a/tests/poppler/qt4/tests/stress-poppler-qt4.cpp +++ b/tests/poppler/qt4/tests/stress-poppler-qt4.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/poppler/qt4/tests/test-password-qt4.cpp b/tests/poppler/qt4/tests/test-password-qt4.cpp index c961874d87072..1b2080c52261a 100644 --- a/tests/poppler/qt4/tests/test-password-qt4.cpp +++ b/tests/poppler/qt4/tests/test-password-qt4.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/poppler/qt4/tests/test-poppler-qt4.cpp b/tests/poppler/qt4/tests/test-poppler-qt4.cpp index 2f0f924ef89b9..4a74433f170f5 100644 --- a/tests/poppler/qt4/tests/test-poppler-qt4.cpp +++ b/tests/poppler/qt4/tests/test-poppler-qt4.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/poppler/test/pdf-operators.c b/tests/poppler/test/pdf-operators.c index 3e838a2c64189..7bafab7f1b13e 100644 --- a/tests/poppler/test/pdf-operators.c +++ b/tests/poppler/test/pdf-operators.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + typedef struct { char *op; diff --git a/tests/pre_run_deps.cpp b/tests/pre_run_deps.cpp index 35115b5334e21..9c7d9b7c6d55e 100644 --- a/tests/pre_run_deps.cpp +++ b/tests/pre_run_deps.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/preinitialized_webgl_context.cpp b/tests/preinitialized_webgl_context.cpp index 0b5c70476afe9..6545157b76e66 100644 --- a/tests/preinitialized_webgl_context.cpp +++ b/tests/preinitialized_webgl_context.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/primes.cpp b/tests/primes.cpp index 9d5eb77474080..1328818d35c06 100644 --- a/tests/primes.cpp +++ b/tests/primes.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include int main(int argc, char **argv) { diff --git a/tests/printf/test.c b/tests/printf/test.c index 947384c1b0238..5cd102f3d2e4e 100644 --- a/tests/printf/test.c +++ b/tests/printf/test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/printf/test_float.c b/tests/printf/test_float.c index fa7bce004a110..c7cd33cfd8334 100644 --- a/tests/printf/test_float.c +++ b/tests/printf/test_float.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/printf/test_octal.c b/tests/printf/test_octal.c index 9adf81d41b966..4bc36bf1d6622 100644 --- a/tests/printf/test_octal.c +++ b/tests/printf/test_octal.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int main() { diff --git a/tests/pthread/call_async_on_main_thread.c b/tests/pthread/call_async_on_main_thread.c index b46f5f83c177f..63c11f447c523 100644 --- a/tests/pthread/call_async_on_main_thread.c +++ b/tests/pthread/call_async_on_main_thread.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/pthread/call_sync_on_main_thread.c b/tests/pthread/call_sync_on_main_thread.c index 2f4ca38aa6633..42c2de73b957a 100644 --- a/tests/pthread/call_sync_on_main_thread.c +++ b/tests/pthread/call_sync_on_main_thread.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/pthread/hello_thread.c b/tests/pthread/hello_thread.c index 8c2521e0c53df..9c8ff83f23540 100644 --- a/tests/pthread/hello_thread.c +++ b/tests/pthread/hello_thread.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/pthread/specific.c b/tests/pthread/specific.c index 631baf8c959b3..c86bd95b95c39 100644 --- a/tests/pthread/specific.c +++ b/tests/pthread/specific.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/pthread/test_pthread_64bit_atomics.cpp b/tests/pthread/test_pthread_64bit_atomics.cpp index 33111f5a696cc..bb975939dfcf9 100644 --- a/tests/pthread/test_pthread_64bit_atomics.cpp +++ b/tests/pthread/test_pthread_64bit_atomics.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_64bit_cxx11_atomics.cpp b/tests/pthread/test_pthread_64bit_cxx11_atomics.cpp index 1239c8360b44f..45aa87c8da7f7 100644 --- a/tests/pthread/test_pthread_64bit_cxx11_atomics.cpp +++ b/tests/pthread/test_pthread_64bit_cxx11_atomics.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_atomics.cpp b/tests/pthread/test_pthread_atomics.cpp index 13db3329f8c1d..82b8d04043313 100644 --- a/tests/pthread/test_pthread_atomics.cpp +++ b/tests/pthread/test_pthread_atomics.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_barrier.cpp b/tests/pthread/test_pthread_barrier.cpp index b30a681599bf1..aedc818a6d1aa 100644 --- a/tests/pthread/test_pthread_barrier.cpp +++ b/tests/pthread/test_pthread_barrier.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file tests pthread barrier usage. #include diff --git a/tests/pthread/test_pthread_cancel.cpp b/tests/pthread/test_pthread_cancel.cpp index 71dc51cf97851..69725f88b79f4 100644 --- a/tests/pthread/test_pthread_cancel.cpp +++ b/tests/pthread/test_pthread_cancel.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_cleanup.cpp b/tests/pthread/test_pthread_cleanup.cpp index 5cd3bb8009d59..ca45341cdea26 100644 --- a/tests/pthread/test_pthread_cleanup.cpp +++ b/tests/pthread/test_pthread_cleanup.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_clock_drift.cpp b/tests/pthread/test_pthread_clock_drift.cpp index 23c5802773c9f..f7606690ddd47 100644 --- a/tests/pthread/test_pthread_clock_drift.cpp +++ b/tests/pthread/test_pthread_clock_drift.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_condition_variable.cpp b/tests/pthread/test_pthread_condition_variable.cpp index e26abebccea3b..d2783f61bceaa 100644 --- a/tests/pthread/test_pthread_condition_variable.cpp +++ b/tests/pthread/test_pthread_condition_variable.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_create.cpp b/tests/pthread/test_pthread_create.cpp index 7c45f5827de9c..e52f11d0ad6df 100644 --- a/tests/pthread/test_pthread_create.cpp +++ b/tests/pthread/test_pthread_create.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_create_pthread.cpp b/tests/pthread/test_pthread_create_pthread.cpp index 3679936516016..026e31f4a073f 100644 --- a/tests/pthread/test_pthread_create_pthread.cpp +++ b/tests/pthread/test_pthread_create_pthread.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_equal.cpp b/tests/pthread/test_pthread_equal.cpp index c17c5cfd8e4c1..2e5111825c062 100644 --- a/tests/pthread/test_pthread_equal.cpp +++ b/tests/pthread/test_pthread_equal.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/pthread/test_pthread_file_io.cpp b/tests/pthread/test_pthread_file_io.cpp index 7d83f9b5b83fc..982564f7dc53a 100644 --- a/tests/pthread/test_pthread_file_io.cpp +++ b/tests/pthread/test_pthread_file_io.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_gcc_64bit_atomic_fetch_and_op.cpp b/tests/pthread/test_pthread_gcc_64bit_atomic_fetch_and_op.cpp index d83ce9cae2147..e3c169676513c 100644 --- a/tests/pthread/test_pthread_gcc_64bit_atomic_fetch_and_op.cpp +++ b/tests/pthread/test_pthread_gcc_64bit_atomic_fetch_and_op.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_gcc_64bit_atomic_op_and_fetch.cpp b/tests/pthread/test_pthread_gcc_64bit_atomic_op_and_fetch.cpp index dc006d4ba6ad8..1c60b7c65a331 100644 --- a/tests/pthread/test_pthread_gcc_64bit_atomic_op_and_fetch.cpp +++ b/tests/pthread/test_pthread_gcc_64bit_atomic_op_and_fetch.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_gcc_atomic_fetch_and_op.cpp b/tests/pthread/test_pthread_gcc_atomic_fetch_and_op.cpp index 60ddbb794a68c..75da3ae58fbc1 100644 --- a/tests/pthread/test_pthread_gcc_atomic_fetch_and_op.cpp +++ b/tests/pthread/test_pthread_gcc_atomic_fetch_and_op.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_gcc_atomic_op_and_fetch.cpp b/tests/pthread/test_pthread_gcc_atomic_op_and_fetch.cpp index 2b8fa95c21279..6aee13babe963 100644 --- a/tests/pthread/test_pthread_gcc_atomic_op_and_fetch.cpp +++ b/tests/pthread/test_pthread_gcc_atomic_op_and_fetch.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_gcc_atomics.cpp b/tests/pthread/test_pthread_gcc_atomics.cpp index 398b72c084063..bdae4e05f48f4 100644 --- a/tests/pthread/test_pthread_gcc_atomics.cpp +++ b/tests/pthread/test_pthread_gcc_atomics.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_gcc_spinlock.cpp b/tests/pthread/test_pthread_gcc_spinlock.cpp index e2b79e5d727ae..555c3c6c6767b 100644 --- a/tests/pthread/test_pthread_gcc_spinlock.cpp +++ b/tests/pthread/test_pthread_gcc_spinlock.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_global_data_initialization.c b/tests/pthread/test_pthread_global_data_initialization.c index 6ca626d298967..7a7954bc0c1ab 100644 --- a/tests/pthread/test_pthread_global_data_initialization.c +++ b/tests/pthread/test_pthread_global_data_initialization.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/pthread/test_pthread_iostream.cpp b/tests/pthread/test_pthread_iostream.cpp index 528c538ad65a0..2ddfc31de18ad 100644 --- a/tests/pthread/test_pthread_iostream.cpp +++ b/tests/pthread/test_pthread_iostream.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_join.cpp b/tests/pthread/test_pthread_join.cpp index 0f8b183b81872..b9fb9e30837a3 100644 --- a/tests/pthread/test_pthread_join.cpp +++ b/tests/pthread/test_pthread_join.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_kill.cpp b/tests/pthread/test_pthread_kill.cpp index 9136414db1296..be38eec8019b0 100644 --- a/tests/pthread/test_pthread_kill.cpp +++ b/tests/pthread/test_pthread_kill.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_locale.c b/tests/pthread/test_pthread_locale.c index 3b02e95d7ba51..2bb4f4a905c46 100644 --- a/tests/pthread/test_pthread_locale.c +++ b/tests/pthread/test_pthread_locale.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/pthread/test_pthread_malloc.cpp b/tests/pthread/test_pthread_malloc.cpp index 2dbdbc27c1ded..7060323b4e389 100644 --- a/tests/pthread/test_pthread_malloc.cpp +++ b/tests/pthread/test_pthread_malloc.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_malloc_free.cpp b/tests/pthread/test_pthread_malloc_free.cpp index 2d69a78fdabc7..bf37f75293d06 100644 --- a/tests/pthread/test_pthread_malloc_free.cpp +++ b/tests/pthread/test_pthread_malloc_free.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_mandelbrot.cpp b/tests/pthread/test_pthread_mandelbrot.cpp index e014092b19d8c..790128fbd97b6 100644 --- a/tests/pthread/test_pthread_mandelbrot.cpp +++ b/tests/pthread/test_pthread_mandelbrot.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_mutex.cpp b/tests/pthread/test_pthread_mutex.cpp index dd13f18879796..68000535f2b57 100644 --- a/tests/pthread/test_pthread_mutex.cpp +++ b/tests/pthread/test_pthread_mutex.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_nested_spawns.cpp b/tests/pthread/test_pthread_nested_spawns.cpp index 32ce026b14b91..bed31d25d9291 100644 --- a/tests/pthread/test_pthread_nested_spawns.cpp +++ b/tests/pthread/test_pthread_nested_spawns.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_num_logical_cores.cpp b/tests/pthread/test_pthread_num_logical_cores.cpp index e2ffdd544c824..444e3512ce060 100644 --- a/tests/pthread/test_pthread_num_logical_cores.cpp +++ b/tests/pthread/test_pthread_num_logical_cores.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // Also test issue #5343 #include diff --git a/tests/pthread/test_pthread_once.cpp b/tests/pthread/test_pthread_once.cpp index 97a8633c6f856..06432e34d32c8 100644 --- a/tests/pthread/test_pthread_once.cpp +++ b/tests/pthread/test_pthread_once.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_printf.cpp b/tests/pthread/test_pthread_printf.cpp index 5e301e7bef31e..beb04fcc896a1 100644 --- a/tests/pthread/test_pthread_printf.cpp +++ b/tests/pthread/test_pthread_printf.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_proxy_to_pthread.c b/tests/pthread/test_pthread_proxy_to_pthread.c index f4bea28ce5078..6c4c2d55dac3a 100644 --- a/tests/pthread/test_pthread_proxy_to_pthread.c +++ b/tests/pthread/test_pthread_proxy_to_pthread.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/pthread/test_pthread_proxying_in_futex_wait.cpp b/tests/pthread/test_pthread_proxying_in_futex_wait.cpp index a6ecd98be1166..4a2f485de84f2 100644 --- a/tests/pthread/test_pthread_proxying_in_futex_wait.cpp +++ b/tests/pthread/test_pthread_proxying_in_futex_wait.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_run_on_main_thread.cpp b/tests/pthread/test_pthread_run_on_main_thread.cpp index 96977efc3b9dc..ad1fbdd5bc284 100644 --- a/tests/pthread/test_pthread_run_on_main_thread.cpp +++ b/tests/pthread/test_pthread_run_on_main_thread.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_run_on_main_thread_flood.cpp b/tests/pthread/test_pthread_run_on_main_thread_flood.cpp index c6beff3d5d7d5..4a039cf3f16a0 100644 --- a/tests/pthread/test_pthread_run_on_main_thread_flood.cpp +++ b/tests/pthread/test_pthread_run_on_main_thread_flood.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_sbrk.cpp b/tests/pthread/test_pthread_sbrk.cpp index 1ac142ec77541..4d7b6464e56be 100644 --- a/tests/pthread/test_pthread_sbrk.cpp +++ b/tests/pthread/test_pthread_sbrk.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_setspecific_mainthread.cpp b/tests/pthread/test_pthread_setspecific_mainthread.cpp index d7e9b4a028312..b36c40590d48e 100644 --- a/tests/pthread/test_pthread_setspecific_mainthread.cpp +++ b/tests/pthread/test_pthread_setspecific_mainthread.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/pthread/test_pthread_spawns.cpp b/tests/pthread/test_pthread_spawns.cpp index 1cba09816e7ac..ee22cfb586aeb 100644 --- a/tests/pthread/test_pthread_spawns.cpp +++ b/tests/pthread/test_pthread_spawns.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/pthread/test_pthread_supported.cpp b/tests/pthread/test_pthread_supported.cpp index 473aec1e62892..9a07169671dad 100644 --- a/tests/pthread/test_pthread_supported.cpp +++ b/tests/pthread/test_pthread_supported.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_thread_local_storage.cpp b/tests/pthread/test_pthread_thread_local_storage.cpp index 272d407bbe861..4bea0e837073f 100644 --- a/tests/pthread/test_pthread_thread_local_storage.cpp +++ b/tests/pthread/test_pthread_thread_local_storage.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_utf8_funcs.cpp b/tests/pthread/test_pthread_utf8_funcs.cpp index cd591bc6281e9..ed67e78230644 100644 --- a/tests/pthread/test_pthread_utf8_funcs.cpp +++ b/tests/pthread/test_pthread_utf8_funcs.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/pthread/test_pthread_volatile.cpp b/tests/pthread/test_pthread_volatile.cpp index d850954f90beb..671448bccfef5 100644 --- a/tests/pthread/test_pthread_volatile.cpp +++ b/tests/pthread/test_pthread_volatile.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/qsort/benchmark.cpp b/tests/qsort/benchmark.cpp index 950ca4372074e..a7cbb7e52239e 100644 --- a/tests/qsort/benchmark.cpp +++ b/tests/qsort/benchmark.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/raytrace.cpp b/tests/raytrace.cpp index 08209a006224c..6cc856c1b9b11 100644 --- a/tests/raytrace.cpp +++ b/tests/raytrace.cpp @@ -1,3 +1,8 @@ +// Copyright 2010 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // sphere flake bvh raytracer (c) 2005, thierry berger-perrin // this code is released under the GNU Public License. // Emscripten changes: stdlib.h, some printf stuff, SIZE diff --git a/tests/return64bit/test.c b/tests/return64bit/test.c index ec3af5c2327e0..6250bcf287d31 100644 --- a/tests/return64bit/test.c +++ b/tests/return64bit/test.c @@ -1,3 +1,9 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ // This is just a trivial test function, the key bit of interest is that it returns a 64 bit long. long long test_return64() { diff --git a/tests/runner.py b/tests/runner.py index dcb7c7d7949d7..89e8cf1b0162b 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -1,4 +1,9 @@ #!/usr/bin/env python2 +# Copyright 2010 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """This is the Emscripten test runner. To run some tests, specify which tests you want, for example diff --git a/tests/runtime_misuse.cpp b/tests/runtime_misuse.cpp index e5f0808f76206..fabdebb42a556 100644 --- a/tests/runtime_misuse.cpp +++ b/tests/runtime_misuse.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/runtime_misuse_2.cpp b/tests/runtime_misuse_2.cpp index 6153ae392e082..a9b3af0f81bcf 100644 --- a/tests/runtime_misuse_2.cpp +++ b/tests/runtime_misuse_2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/sbrk_brk.cpp b/tests/sbrk_brk.cpp index bca7690b616d6..edad29f19496c 100644 --- a/tests/sbrk_brk.cpp +++ b/tests/sbrk_brk.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/scons/integration.cpp b/tests/scons/integration.cpp index c3d2031a4530d..ccb9f48fa6951 100644 --- a/tests/scons/integration.cpp +++ b/tests/scons/integration.cpp @@ -1,3 +1,7 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include #include diff --git a/tests/scons/other.c b/tests/scons/other.c index e69de29bb2d1d..ca9ded50c29dc 100644 --- a/tests/scons/other.c +++ b/tests/scons/other.c @@ -0,0 +1,7 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + diff --git a/tests/sdl2_audio_beep.cpp b/tests/sdl2_audio_beep.cpp index bbdb6ec2dcd46..badf26aa695c4 100644 --- a/tests/sdl2_audio_beep.cpp +++ b/tests/sdl2_audio_beep.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/sdl2_canvas_blank.c b/tests/sdl2_canvas_blank.c index 2eaebfe517b15..6bb362934876d 100644 --- a/tests/sdl2_canvas_blank.c +++ b/tests/sdl2_canvas_blank.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/sdl2_canvas_palette.c b/tests/sdl2_canvas_palette.c index bd9114dae876f..837de7135daf9 100644 --- a/tests/sdl2_canvas_palette.c +++ b/tests/sdl2_canvas_palette.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_canvas_palette_2.c b/tests/sdl2_canvas_palette_2.c index b6fbaa09f950c..4949687c3d1f5 100644 --- a/tests/sdl2_canvas_palette_2.c +++ b/tests/sdl2_canvas_palette_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_canvas_proxy.c b/tests/sdl2_canvas_proxy.c index 6ff15fc7e8ea4..ed88f8b27900b 100644 --- a/tests/sdl2_canvas_proxy.c +++ b/tests/sdl2_canvas_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_canvas_size.c b/tests/sdl2_canvas_size.c index 00376e602caa7..dc4bbd0162fed 100644 --- a/tests/sdl2_canvas_size.c +++ b/tests/sdl2_canvas_size.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL2/SDL.h" #include diff --git a/tests/sdl2_canvas_twice.c b/tests/sdl2_canvas_twice.c index 6794c9c834ac9..f43fc8b850112 100644 --- a/tests/sdl2_canvas_twice.c +++ b/tests/sdl2_canvas_twice.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #ifdef __EMSCRIPTEN__ diff --git a/tests/sdl2_canvas_write.cpp b/tests/sdl2_canvas_write.cpp index 06eb6e5485a9f..f2513bbf11e3a 100644 --- a/tests/sdl2_canvas_write.cpp +++ b/tests/sdl2_canvas_write.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/sdl2_custom_cursor.c b/tests/sdl2_custom_cursor.c index cf002b4134207..3df513b2a9bdd 100644 --- a/tests/sdl2_custom_cursor.c +++ b/tests/sdl2_custom_cursor.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL2/SDL.h" #include diff --git a/tests/sdl2_gfx_primitives.c b/tests/sdl2_gfx_primitives.c index e020f722515f2..913ef4a444444 100644 --- a/tests/sdl2_gfx_primitives.c +++ b/tests/sdl2_gfx_primitives.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL2/SDL.h" #include "SDL2/SDL2_gfxPrimitives.h" diff --git a/tests/sdl2_gl_frames_swap.c b/tests/sdl2_gl_frames_swap.c index 88245603bbdaa..aff19e88183f6 100644 --- a/tests/sdl2_gl_frames_swap.c +++ b/tests/sdl2_gl_frames_swap.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/sdl2_gl_read.c b/tests/sdl2_gl_read.c index 498289ea662cb..c056c0d7becef 100644 --- a/tests/sdl2_gl_read.c +++ b/tests/sdl2_gl_read.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Built from glbook/hello triange and sdl_ogl, see details there #include "SDL2/SDL.h" diff --git a/tests/sdl2_image.c b/tests/sdl2_image.c index 0ce056edaf628..ac6729b783f07 100644 --- a/tests/sdl2_image.c +++ b/tests/sdl2_image.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_image_prepare.c b/tests/sdl2_image_prepare.c index 7b92db603e141..d63c494297ce1 100644 --- a/tests/sdl2_image_prepare.c +++ b/tests/sdl2_image_prepare.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_image_prepare_data.c b/tests/sdl2_image_prepare_data.c index 7a7b287634859..715b59f4faf26 100644 --- a/tests/sdl2_image_prepare_data.c +++ b/tests/sdl2_image_prepare_data.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_key.c b/tests/sdl2_key.c index 1c5559e4af8c4..a2556097b0404 100644 --- a/tests/sdl2_key.c +++ b/tests/sdl2_key.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_misc.c b/tests/sdl2_misc.c index e5163834d6645..dc31784573a70 100644 --- a/tests/sdl2_misc.c +++ b/tests/sdl2_misc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL2/SDL.h" #include diff --git a/tests/sdl2_mouse.c b/tests/sdl2_mouse.c index 2500af0a41e1c..f7786cdb02d2b 100644 --- a/tests/sdl2_mouse.c +++ b/tests/sdl2_mouse.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_net_client.c b/tests/sdl2_net_client.c index ef8e5adbe82b8..65a8e2dfb1aaf 100644 --- a/tests/sdl2_net_client.c +++ b/tests/sdl2_net_client.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * Compile with: * diff --git a/tests/sdl2_net_server.c b/tests/sdl2_net_server.c index 821f544f1b08c..163d8ccb45b95 100644 --- a/tests/sdl2_net_server.c +++ b/tests/sdl2_net_server.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* * Compile with: * diff --git a/tests/sdl2_pumpevents.c b/tests/sdl2_pumpevents.c index 7749e18f7466e..f1d8d77f1ce8a 100644 --- a/tests/sdl2_pumpevents.c +++ b/tests/sdl2_pumpevents.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_swsurface.c b/tests/sdl2_swsurface.c index 94f4e1652a7f6..ad9bf89ed60e8 100644 --- a/tests/sdl2_swsurface.c +++ b/tests/sdl2_swsurface.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_text.c b/tests/sdl2_text.c index ee20f7571a06c..390b4f6f20e6b 100644 --- a/tests/sdl2_text.c +++ b/tests/sdl2_text.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_timer.c b/tests/sdl2_timer.c index 6eaf105055784..90c074a89d979 100644 --- a/tests/sdl2_timer.c +++ b/tests/sdl2_timer.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_ttf.c b/tests/sdl2_ttf.c index d1b8c137f3e78..d7f597fa43f15 100644 --- a/tests/sdl2_ttf.c +++ b/tests/sdl2_ttf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl2_unwasteful.cpp b/tests/sdl2_unwasteful.cpp index b34c5c93b32b0..491da8870792f 100644 --- a/tests/sdl2_unwasteful.cpp +++ b/tests/sdl2_unwasteful.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/sdl2glshader.c b/tests/sdl2glshader.c index 081ce33cac740..1ab86c7b36da9 100644 --- a/tests/sdl2glshader.c +++ b/tests/sdl2glshader.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/sdl_alloctext.c b/tests/sdl_alloctext.c index e312e36140531..9d01e301e5e8e 100644 --- a/tests/sdl_alloctext.c +++ b/tests/sdl_alloctext.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_audio.c b/tests/sdl_audio.c index 880aa2f3e0865..f844837d6a7bd 100644 --- a/tests/sdl_audio.c +++ b/tests/sdl_audio.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_audio_beep.cpp b/tests/sdl_audio_beep.cpp index ef20db9b14ec1..fbe091eaa9e4d 100644 --- a/tests/sdl_audio_beep.cpp +++ b/tests/sdl_audio_beep.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/sdl_audio_beep_sleep.cpp b/tests/sdl_audio_beep_sleep.cpp index 89747c6e047ba..2890f8684b7dc 100644 --- a/tests/sdl_audio_beep_sleep.cpp +++ b/tests/sdl_audio_beep_sleep.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/sdl_audio_mix.c b/tests/sdl_audio_mix.c index fcbc6c32900b2..b8bcc36d0b2a9 100644 --- a/tests/sdl_audio_mix.c +++ b/tests/sdl_audio_mix.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_audio_mix_channels.c b/tests/sdl_audio_mix_channels.c index 128d76da01286..b21488751a2c5 100644 --- a/tests/sdl_audio_mix_channels.c +++ b/tests/sdl_audio_mix_channels.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_audio_panning.c b/tests/sdl_audio_panning.c index 859eefbbdb5b7..b287264d1a3b2 100644 --- a/tests/sdl_audio_panning.c +++ b/tests/sdl_audio_panning.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_canvas.c b/tests/sdl_canvas.c index af3f493563a21..5897cb7fb2c43 100644 --- a/tests/sdl_canvas.c +++ b/tests/sdl_canvas.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_canvas_alpha.c b/tests/sdl_canvas_alpha.c index abcd2dcbd72ac..51153cf90fdcf 100644 --- a/tests/sdl_canvas_alpha.c +++ b/tests/sdl_canvas_alpha.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_canvas_blank.c b/tests/sdl_canvas_blank.c index 0e7607a660619..3341b47653c46 100644 --- a/tests/sdl_canvas_blank.c +++ b/tests/sdl_canvas_blank.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/sdl_canvas_palette.c b/tests/sdl_canvas_palette.c index 361f71a6dd155..12a77b2516af8 100644 --- a/tests/sdl_canvas_palette.c +++ b/tests/sdl_canvas_palette.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_canvas_palette_2.c b/tests/sdl_canvas_palette_2.c index 11d727acfdb50..d7d364575846d 100644 --- a/tests/sdl_canvas_palette_2.c +++ b/tests/sdl_canvas_palette_2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_canvas_proxy.c b/tests/sdl_canvas_proxy.c index 27ef3bb485319..742f8783e9d7f 100644 --- a/tests/sdl_canvas_proxy.c +++ b/tests/sdl_canvas_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_canvas_size.c b/tests/sdl_canvas_size.c index 5ecdd179dbb02..eed3e50dc998e 100644 --- a/tests/sdl_canvas_size.c +++ b/tests/sdl_canvas_size.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL/SDL.h" #include "SDL/SDL_image.h" #include "SDL/SDL_opengl.h" diff --git a/tests/sdl_canvas_twice.c b/tests/sdl_canvas_twice.c index 55e1610effe0a..3b8ce46c8d5c5 100644 --- a/tests/sdl_canvas_twice.c +++ b/tests/sdl_canvas_twice.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #ifdef __EMSCRIPTEN__ diff --git a/tests/sdl_create_rgb_surface_from.c b/tests/sdl_create_rgb_surface_from.c index 110e550a5ee4d..1349127c542a0 100644 --- a/tests/sdl_create_rgb_surface_from.c +++ b/tests/sdl_create_rgb_surface_from.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_free_screen.cpp b/tests/sdl_free_screen.cpp index 01a849c5d77bc..d118ee51aca70 100644 --- a/tests/sdl_free_screen.cpp +++ b/tests/sdl_free_screen.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/sdl_gfx_primitives.c b/tests/sdl_gfx_primitives.c index dbf9849c98013..883dc488b007f 100644 --- a/tests/sdl_gfx_primitives.c +++ b/tests/sdl_gfx_primitives.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL/SDL.h" #include "SDL/SDL_gfxPrimitives.h" diff --git a/tests/sdl_gl_mapbuffers.c b/tests/sdl_gl_mapbuffers.c index 560344e72ab8c..19597ad049038 100644 --- a/tests/sdl_gl_mapbuffers.c +++ b/tests/sdl_gl_mapbuffers.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Built from glbook/hello triange and sdl_ogl, see details there #include "SDL/SDL.h" diff --git a/tests/sdl_gl_read.c b/tests/sdl_gl_read.c index c9e6904029f07..a412e20e2cc59 100644 --- a/tests/sdl_gl_read.c +++ b/tests/sdl_gl_read.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Built from glbook/hello triange and sdl_ogl, see details there #include "SDL/SDL.h" diff --git a/tests/sdl_headless.c b/tests/sdl_headless.c index e18367770bcb6..117239fdaa76e 100644 --- a/tests/sdl_headless.c +++ b/tests/sdl_headless.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_image.c b/tests/sdl_image.c index 30c306e9c35e8..337e9543b5563 100644 --- a/tests/sdl_image.c +++ b/tests/sdl_image.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_image_must_prepare.c b/tests/sdl_image_must_prepare.c index 58796f5662dbd..2105b82752700 100644 --- a/tests/sdl_image_must_prepare.c +++ b/tests/sdl_image_must_prepare.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_image_prepare.c b/tests/sdl_image_prepare.c index 20a01b48f2577..26d209a776edf 100644 --- a/tests/sdl_image_prepare.c +++ b/tests/sdl_image_prepare.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_image_prepare_data.c b/tests/sdl_image_prepare_data.c index f12d2e087a32e..49b68798dcc8a 100644 --- a/tests/sdl_image_prepare_data.c +++ b/tests/sdl_image_prepare_data.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_joystick.c b/tests/sdl_joystick.c index e391dd88758a4..41e9035da882f 100644 --- a/tests/sdl_joystick.c +++ b/tests/sdl_joystick.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_key.c b/tests/sdl_key.c index 678dde392cd23..1534b539284c4 100644 --- a/tests/sdl_key.c +++ b/tests/sdl_key.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_key_proxy.c b/tests/sdl_key_proxy.c index d0071637cc174..7595a3a451744 100644 --- a/tests/sdl_key_proxy.c +++ b/tests/sdl_key_proxy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_key_test.c b/tests/sdl_key_test.c index ce117209cc855..84a8b9b974144 100644 --- a/tests/sdl_key_test.c +++ b/tests/sdl_key_test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_maprgba.c b/tests/sdl_maprgba.c index 615f02c5b8dd3..24ae09367c7ff 100644 --- a/tests/sdl_maprgba.c +++ b/tests/sdl_maprgba.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_mouse.c b/tests/sdl_mouse.c index bdbca6a799603..f1a10c2d248d1 100644 --- a/tests/sdl_mouse.c +++ b/tests/sdl_mouse.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_pumpevents.c b/tests/sdl_pumpevents.c index 62090a74b87b6..03ecaa297b4a6 100644 --- a/tests/sdl_pumpevents.c +++ b/tests/sdl_pumpevents.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_quit.c b/tests/sdl_quit.c index fb0c1a4dcb42d..b17e5c6f9b161 100644 --- a/tests/sdl_quit.c +++ b/tests/sdl_quit.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_resize.c b/tests/sdl_resize.c index f3dca152fa27d..2e1845fb054ec 100644 --- a/tests/sdl_resize.c +++ b/tests/sdl_resize.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_rotozoom.c b/tests/sdl_rotozoom.c index cc0ee22473b79..ea27caea3827f 100644 --- a/tests/sdl_rotozoom.c +++ b/tests/sdl_rotozoom.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "SDL/SDL.h" #include "SDL/SDL_image.h" #include "SDL/SDL_rotozoom.h" diff --git a/tests/sdl_set_clip_rect.c b/tests/sdl_set_clip_rect.c index 8bb4071ee2d7a..f390ebe4da5cb 100644 --- a/tests/sdl_set_clip_rect.c +++ b/tests/sdl_set_clip_rect.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_stb_image.c b/tests/sdl_stb_image.c index 6d39cb8e4430b..f326c8a8ab128 100644 --- a/tests/sdl_stb_image.c +++ b/tests/sdl_stb_image.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_stb_image_cleanup.c b/tests/sdl_stb_image_cleanup.c index a7af231922480..519011136c78e 100644 --- a/tests/sdl_stb_image_cleanup.c +++ b/tests/sdl_stb_image_cleanup.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_stb_image_data.c b/tests/sdl_stb_image_data.c index d702b4ccf4c98..7b1972f64b45d 100644 --- a/tests/sdl_stb_image_data.c +++ b/tests/sdl_stb_image_data.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_surface_refcount.c b/tests/sdl_surface_refcount.c index 9c5f3857f8c27..f8b6af50447f5 100644 --- a/tests/sdl_surface_refcount.c +++ b/tests/sdl_surface_refcount.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_swsurface.c b/tests/sdl_swsurface.c index 6526c99a4a89e..15a21865bb6f7 100644 --- a/tests/sdl_swsurface.c +++ b/tests/sdl_swsurface.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_text.c b/tests/sdl_text.c index ab274e81a7894..643de0e76b4d8 100644 --- a/tests/sdl_text.c +++ b/tests/sdl_text.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_togglefullscreen.c b/tests/sdl_togglefullscreen.c index 47388f3d25bc4..2155ce51d2b4b 100644 --- a/tests/sdl_togglefullscreen.c +++ b/tests/sdl_togglefullscreen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_touch.c b/tests/sdl_touch.c index 55ddc5ebde032..fdb98c44ada20 100644 --- a/tests/sdl_touch.c +++ b/tests/sdl_touch.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_ttf_render_text_solid.c b/tests/sdl_ttf_render_text_solid.c index 05fadfe33f74b..32f80c32707e9 100644 --- a/tests/sdl_ttf_render_text_solid.c +++ b/tests/sdl_ttf_render_text_solid.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdl_wm_togglefullscreen.c b/tests/sdl_wm_togglefullscreen.c index 6c5026d56dc80..1a640afda8666 100644 --- a/tests/sdl_wm_togglefullscreen.c +++ b/tests/sdl_wm_togglefullscreen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sdlglshader.c b/tests/sdlglshader.c index 52439ead0bf99..ea4db7c8f67ea 100644 --- a/tests/sdlglshader.c +++ b/tests/sdlglshader.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/sdlglshader2.c b/tests/sdlglshader2.c index a63a68600a8d4..f89e7904e9f68 100644 --- a/tests/sdlglshader2.c +++ b/tests/sdlglshader2.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. diff --git a/tests/sha1.c b/tests/sha1.c index 034939b53a924..87672b26c9529 100644 --- a/tests/sha1.c +++ b/tests/sha1.c @@ -1,3 +1,9 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ /* from valgrind tests */ diff --git a/tests/sigalrm.cpp b/tests/sigalrm.cpp index 8fe127c94bcbd..6ffba264fd9fb 100644 --- a/tests/sigalrm.cpp +++ b/tests/sigalrm.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/skinning_test_no_simd.cpp b/tests/skinning_test_no_simd.cpp index b94f8f766fcdd..ddf9553de607c 100644 --- a/tests/skinning_test_no_simd.cpp +++ b/tests/skinning_test_no_simd.cpp @@ -1,3 +1,8 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // From https://github.com/chadaustin/Web-Benchmarks/blob/master/skinning_test_no_simd.cpp // Modifications: // 1. Run for a fixed # of iterations, so the total runtime is the benchmark diff --git a/tests/sockets/socket_relay.py b/tests/sockets/socket_relay.py index 5b6403f95ef71..33c5636562c4d 100644 --- a/tests/sockets/socket_relay.py +++ b/tests/sockets/socket_relay.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Listens on 2 ports and relays between them. diff --git a/tests/sockets/test_enet_client.c b/tests/sockets/test_enet_client.c index e0c0e4489f98a..a5bc17e09541c 100644 --- a/tests/sockets/test_enet_client.c +++ b/tests/sockets/test_enet_client.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_enet_server.c b/tests/sockets/test_enet_server.c index 30d86a9901a68..ac1a666eadd24 100644 --- a/tests/sockets/test_enet_server.c +++ b/tests/sockets/test_enet_server.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // g++ -fpermissive ../enet_server.c -I/home/alon/Dev/emscripten/system/include/emscripten/ -Iinclude/ -fpermissive .libs/libenet.a -o enet_server ; g++ ../enet_client.c -I/home/alon/Dev/emscripten/system/include/emscripten/ -Iinclude/ -fpermissive .libs/libenet.a -o enet_client #include diff --git a/tests/sockets/test_getaddrinfo.c b/tests/sockets/test_getaddrinfo.c index f9c3cd7c94c4b..64d66ab114cf4 100644 --- a/tests/sockets/test_getaddrinfo.c +++ b/tests/sockets/test_getaddrinfo.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_gethostbyname.c b/tests/sockets/test_gethostbyname.c index c0e11efbe79d5..f374fe6dd8c76 100644 --- a/tests/sockets/test_gethostbyname.c +++ b/tests/sockets/test_gethostbyname.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_getnameinfo.c b/tests/sockets/test_getnameinfo.c index dd4a04196cb48..628449050a0a4 100644 --- a/tests/sockets/test_getnameinfo.c +++ b/tests/sockets/test_getnameinfo.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_getprotobyname.c b/tests/sockets/test_getprotobyname.c index 2b7e456704eb5..244a62ae0d2b2 100644 --- a/tests/sockets/test_getprotobyname.c +++ b/tests/sockets/test_getprotobyname.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_echo_client.c b/tests/sockets/test_sockets_echo_client.c index be372e9c6904e..d6ae80734b8e1 100644 --- a/tests/sockets/test_sockets_echo_client.c +++ b/tests/sockets/test_sockets_echo_client.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_echo_server.c b/tests/sockets/test_sockets_echo_server.c index 8d4a65c6cbe19..b8a75fef356e4 100644 --- a/tests/sockets/test_sockets_echo_server.c +++ b/tests/sockets/test_sockets_echo_server.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_partial_client.c b/tests/sockets/test_sockets_partial_client.c index 2f70965014152..5fdf646870dee 100644 --- a/tests/sockets/test_sockets_partial_client.c +++ b/tests/sockets/test_sockets_partial_client.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_partial_server.c b/tests/sockets/test_sockets_partial_server.c index b670efcf78d5d..4c850e1040372 100644 --- a/tests/sockets/test_sockets_partial_server.c +++ b/tests/sockets/test_sockets_partial_server.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_select_server_closes_connection_client_rw.c b/tests/sockets/test_sockets_select_server_closes_connection_client_rw.c index e7ccfa5e546d5..81ca7e368d645 100644 --- a/tests/sockets/test_sockets_select_server_closes_connection_client_rw.c +++ b/tests/sockets/test_sockets_select_server_closes_connection_client_rw.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_select_server_down_client.c b/tests/sockets/test_sockets_select_server_down_client.c index ed6f6983fbc5d..4d6565ec23fd1 100644 --- a/tests/sockets/test_sockets_select_server_down_client.c +++ b/tests/sockets/test_sockets_select_server_down_client.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/test_sockets_select_server_down_server.c b/tests/sockets/test_sockets_select_server_down_server.c index 07c5c84754804..5296e3a635707 100644 --- a/tests/sockets/test_sockets_select_server_down_server.c +++ b/tests/sockets/test_sockets_select_server_down_server.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/webrtc_host.c b/tests/sockets/webrtc_host.c index 73ef99bb477c4..cdbc3eea42596 100644 --- a/tests/sockets/webrtc_host.c +++ b/tests/sockets/webrtc_host.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sockets/webrtc_peer.c b/tests/sockets/webrtc_peer.c index 7b5f3a8ac9816..0b827d39f0408 100644 --- a/tests/sockets/webrtc_peer.c +++ b/tests/sockets/webrtc_peer.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/split_memory_large_file.cpp b/tests/split_memory_large_file.cpp index cb179c9ce41c8..fa636b043e440 100644 --- a/tests/split_memory_large_file.cpp +++ b/tests/split_memory_large_file.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/sqlite/benchmark.c b/tests/sqlite/benchmark.c index 63dacb0344b41..ca95d72e023bc 100644 --- a/tests/sqlite/benchmark.c +++ b/tests/sqlite/benchmark.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/sqlite/speedtest1.c b/tests/sqlite/speedtest1.c index 29d7cd31ee332..fa8abc30256da 100644 --- a/tests/sqlite/speedtest1.c +++ b/tests/sqlite/speedtest1.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /* ** A program for performance testing. ** diff --git a/tests/sqlite/test.c b/tests/sqlite/test.c index f06703647404b..aaaf8c25cec4e 100644 --- a/tests/sqlite/test.c +++ b/tests/sqlite/test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/stack_overflow.cpp b/tests/stack_overflow.cpp index 956a05df4f0b4..5f573ad410bd1 100644 --- a/tests/stack_overflow.cpp +++ b/tests/stack_overflow.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/stat/test_chmod.c b/tests/stat/test_chmod.c index e3cf35b665ff5..79645833b8fa6 100644 --- a/tests/stat/test_chmod.c +++ b/tests/stat/test_chmod.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/stat/test_mknod.c b/tests/stat/test_mknod.c index 262c8a5f7ea36..24a8f5df5f87d 100644 --- a/tests/stat/test_mknod.c +++ b/tests/stat/test_mknod.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/stat/test_stat.c b/tests/stat/test_stat.c index e14ebdc5f1f2a..93a49c4ff526d 100644 --- a/tests/stat/test_stat.c +++ b/tests/stat/test_stat.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/stdio/test_fgetc_ungetc.c b/tests/stdio/test_fgetc_ungetc.c index 40ff0c74edfa4..ff2d6678e635f 100644 --- a/tests/stdio/test_fgetc_ungetc.c +++ b/tests/stdio/test_fgetc_ungetc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/stdio/test_rename.c b/tests/stdio/test_rename.c index 1a5017c1b25f5..bc75e1a3723bf 100644 --- a/tests/stdio/test_rename.c +++ b/tests/stdio/test_rename.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/strptime_symmetry.cpp b/tests/strptime_symmetry.cpp index beaff5f6d8e8c..7e1b883427617 100644 --- a/tests/strptime_symmetry.cpp +++ b/tests/strptime_symmetry.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/systypes/src.c b/tests/systypes/src.c index a01ed5787e157..44f3b14521638 100644 --- a/tests/systypes/src.c +++ b/tests/systypes/src.c @@ -1,3 +1,10 @@ +/* + * Copyright 2012 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include // Declare puts manually, we don't want to include any other headers here diff --git a/tests/termios/test_tcgetattr.c b/tests/termios/test_tcgetattr.c index 2b3780ee52929..2b2c404e1346c 100644 --- a/tests/termios/test_tcgetattr.c +++ b/tests/termios/test_tcgetattr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_aligned_alloc.c b/tests/test_aligned_alloc.c index 8a5077bbde06e..62c576e41f862 100644 --- a/tests/test_aligned_alloc.c +++ b/tests/test_aligned_alloc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py index eea5cadd546a3..a44ffa41a10fd 100644 --- a/tests/test_benchmark.py +++ b/tests/test_benchmark.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import math, os, shutil, subprocess, zlib import runner diff --git a/tests/test_browser.py b/tests/test_browser.py index 145e99d16aef9..537ff8c0c5fb5 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -1,4 +1,8 @@ # coding=utf-8 +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import argparse diff --git a/tests/test_core.py b/tests/test_core.py index aba1a85bdf6a9..10ced6b4bdbaf 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1,4 +1,7 @@ -# coding=utf-8 +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import glob diff --git a/tests/test_coroutines.cpp b/tests/test_coroutines.cpp index 8cf143a08c87f..bf7566970ff21 100644 --- a/tests/test_coroutines.cpp +++ b/tests/test_coroutines.cpp @@ -1,3 +1,8 @@ +// Copyright 2018 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/test_egl.c b/tests/test_egl.c index 1a26627e0e76e..8fbd7dd3dfad1 100644 --- a/tests/test_egl.c +++ b/tests/test_egl.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/test_egl_width_height.c b/tests/test_egl_width_height.c index b3bb80dc61fd7..cc82718fc4166 100644 --- a/tests/test_egl_width_height.c +++ b/tests/test_egl_width_height.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/test_emrun.c b/tests/test_emrun.c index 453e7ce493e40..bc017ae4387df 100644 --- a/tests/test_emrun.c +++ b/tests/test_emrun.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_fflush.cpp b/tests/test_fflush.cpp index 623c69ebc7037..08331e23e648f 100644 --- a/tests/test_fflush.cpp +++ b/tests/test_fflush.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/test_float_literals.cpp b/tests/test_float_literals.cpp index 2920fbd14d97c..95f9a3ea11c42 100644 --- a/tests/test_float_literals.cpp +++ b/tests/test_float_literals.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/test_glfw_cursor_disabled.c b/tests/test_glfw_cursor_disabled.c index 947a92e31a879..ead1cc6015216 100644 --- a/tests/test_glfw_cursor_disabled.c +++ b/tests/test_glfw_cursor_disabled.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_glfw_dropfile.c b/tests/test_glfw_dropfile.c index a6f87a484f581..f582971f91607 100644 --- a/tests/test_glfw_dropfile.c +++ b/tests/test_glfw_dropfile.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_glfw_fullscreen.c b/tests/test_glfw_fullscreen.c index 801f85f854b61..8b9a8c2cb109d 100644 --- a/tests/test_glfw_fullscreen.c +++ b/tests/test_glfw_fullscreen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_glfw_get_key_stuck.c b/tests/test_glfw_get_key_stuck.c index 82373757706c7..949003f4d199b 100644 --- a/tests/test_glfw_get_key_stuck.c +++ b/tests/test_glfw_get_key_stuck.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #ifdef __EMSCRIPTEN__ diff --git a/tests/test_glfw_joystick.c b/tests/test_glfw_joystick.c index 5009bdf666357..0ad399763bc93 100644 --- a/tests/test_glfw_joystick.c +++ b/tests/test_glfw_joystick.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_glfw_pointerlock.c b/tests/test_glfw_pointerlock.c index ae32a9ce0cce0..53a311b7c7ca3 100644 --- a/tests/test_glfw_pointerlock.c +++ b/tests/test_glfw_pointerlock.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_glfw_time.c b/tests/test_glfw_time.c index 409b4d9d787a8..b7cc9a5787629 100644 --- a/tests/test_glfw_time.c +++ b/tests/test_glfw_time.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/test_html5.c b/tests/test_html5.c index a8fc466494f18..b5db9fa0b9d58 100644 --- a/tests/test_html5.c +++ b/tests/test_html5.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_html5_fullscreen.c b/tests/test_html5_fullscreen.c index a5337478e0a9d..f88ad0429cf8b 100644 --- a/tests/test_html5_fullscreen.c +++ b/tests/test_html5_fullscreen.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_html5_mouse.c b/tests/test_html5_mouse.c index 4fa9619e7d16b..c3ccf25e73e1c 100644 --- a/tests/test_html5_mouse.c +++ b/tests/test_html5_mouse.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_html5_pointerlockerror.c b/tests/test_html5_pointerlockerror.c index e74cc94fcddc1..5e9c7edd80f41 100644 --- a/tests/test_html5_pointerlockerror.c +++ b/tests/test_html5_pointerlockerror.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_interactive.py b/tests/test_interactive.py index d9cf887284d40..4613c5d36b5bd 100644 --- a/tests/test_interactive.py +++ b/tests/test_interactive.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import multiprocessing, os, shutil, subprocess, unittest, zlib, time from runner import BrowserCore, path_from_root diff --git a/tests/test_keyboard_codes.c b/tests/test_keyboard_codes.c index 62a333af11f2d..9c29c2787c191 100644 --- a/tests/test_keyboard_codes.c +++ b/tests/test_keyboard_codes.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_locale.c b/tests/test_locale.c index 4aba30db5af7c..5a036195e49a5 100644 --- a/tests/test_locale.c +++ b/tests/test_locale.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/test_memcpy_alignment.cpp b/tests/test_memcpy_alignment.cpp index d863d5342bf00..89ded8be53637 100644 --- a/tests/test_memcpy_alignment.cpp +++ b/tests/test_memcpy_alignment.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/test_memset_alignment.cpp b/tests/test_memset_alignment.cpp index 3bc63de9319c8..b5700328b0e3b 100644 --- a/tests/test_memset_alignment.cpp +++ b/tests/test_memset_alignment.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/test_minmax.c b/tests/test_minmax.c index 998c60d4d1bc1..667cd348a803b 100644 --- a/tests/test_minmax.c +++ b/tests/test_minmax.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_other.py b/tests/test_other.py index 617f3ee523080..5b31917d31bae 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -1,4 +1,9 @@ # coding=utf-8 +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # noqa: E241 from __future__ import print_function @@ -8042,7 +8047,7 @@ def test_binaryen_debug(self): if expect_emit_text: text = open('a.out.wast').read() assert ';;' in text, 'must see debug info comment' - assert 'hello_world.cpp:6' in text, 'must be file:line info' + assert 'hello_world.cpp:12' in text, 'must be file:line info' js = open('a.out.js').read() assert expect_clean_js == ('// ' not in js), 'cleaned-up js must not have comments' assert expect_whitespace_js == ('{\n ' in js), 'whitespace-minified js must not have excess spacing' diff --git a/tests/test_preallocated_heap.cpp b/tests/test_preallocated_heap.cpp index 052e3d91ac93c..970c46778fa2d 100644 --- a/tests/test_preallocated_heap.cpp +++ b/tests/test_preallocated_heap.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/test_pystruct.c b/tests/test_pystruct.c index 7ac1bf129a9cb..47ee449e7e413 100644 --- a/tests/test_pystruct.c +++ b/tests/test_pystruct.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include // Based on CPython code diff --git a/tests/test_sanity.py b/tests/test_sanity.py index 18a374477dcbf..e1ca151857166 100644 --- a/tests/test_sanity.py +++ b/tests/test_sanity.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import contextlib import os diff --git a/tests/test_sdl_mousewheel.c b/tests/test_sdl_mousewheel.c index 7f6ae6e5118f0..51c9198b0360f 100644 --- a/tests/test_sdl_mousewheel.c +++ b/tests/test_sdl_mousewheel.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_sockets.py b/tests/test_sockets.py index 9a9df5a061432..f520c5387228c 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import os, multiprocessing, subprocess, socket, time from runner import BrowserCore, path_from_root diff --git a/tests/test_sse1.cpp b/tests/test_sse1.cpp index 5844201b0ee44..b25a59995d5bf 100644 --- a/tests/test_sse1.cpp +++ b/tests/test_sse1.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file tests full SSE1 compatibility. // Compile with something like 'clang -msse test_sse1.cpp -o a.out' to build natively, and run './a.out'. // To test with Emscripten, compile with 'emcc test_sse1.cpp -o a.js' (or -o a.html) and run in SpiderMonkey/node.js/browser. diff --git a/tests/test_sse1_full.cpp b/tests/test_sse1_full.cpp index 607081f8256ec..b39c59dab8413 100644 --- a/tests/test_sse1_full.cpp +++ b/tests/test_sse1_full.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file uses SSE1 by calling different functions with different interesting inputs and prints the results. // Use a diff tool to compare the results between platforms. diff --git a/tests/test_sse2_full.cpp b/tests/test_sse2_full.cpp index afa146a39989a..45468b732d376 100644 --- a/tests/test_sse2_full.cpp +++ b/tests/test_sse2_full.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file uses SSE2 by calling different functions with different interesting inputs and prints the results. // Use a diff tool to compare the results between platforms. diff --git a/tests/test_sse3_full.cpp b/tests/test_sse3_full.cpp index c0e7db2d65c37..dc8e796118b57 100644 --- a/tests/test_sse3_full.cpp +++ b/tests/test_sse3_full.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file uses SSE3 by calling different functions with different interesting inputs and prints the results. // Use a diff tool to compare the results between platforms. diff --git a/tests/test_sse4_1_full.cpp b/tests/test_sse4_1_full.cpp index 74c85814a84c4..2acba52c37e87 100644 --- a/tests/test_sse4_1_full.cpp +++ b/tests/test_sse4_1_full.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file uses SSE4.1 by calling different functions with different interesting inputs and prints the results. // Use a diff tool to compare the results between platforms. diff --git a/tests/test_ssse3_full.cpp b/tests/test_ssse3_full.cpp index 6afc1d4bc47bb..9041027adc8f7 100644 --- a/tests/test_ssse3_full.cpp +++ b/tests/test_ssse3_full.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + // This file uses SSSE3 by calling different functions with different interesting inputs and prints the results. // Use a diff tool to compare the results between platforms. diff --git a/tests/test_vr.c b/tests/test_vr.c index 5ca5debc19ccc..08afa5627ad5a 100644 --- a/tests/test_vr.c +++ b/tests/test_vr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_webgl_context_attributes_common.c b/tests/test_webgl_context_attributes_common.c index e9a5fc325c1ad..ee2b34e26809e 100644 --- a/tests/test_webgl_context_attributes_common.c +++ b/tests/test_webgl_context_attributes_common.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_webgl_context_attributes_glfw.c b/tests/test_webgl_context_attributes_glfw.c index dcded0fc5ff65..ae3b0cce87ecd 100644 --- a/tests/test_webgl_context_attributes_glfw.c +++ b/tests/test_webgl_context_attributes_glfw.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_webgl_context_attributes_glut.c b/tests/test_webgl_context_attributes_glut.c index e9903fbe671d8..fda9a9ce8f956 100644 --- a/tests/test_webgl_context_attributes_glut.c +++ b/tests/test_webgl_context_attributes_glut.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_webgl_context_attributes_sdl.c b/tests/test_webgl_context_attributes_sdl.c index 5ed433cb7bc5e..40ff1aa8d97f3 100644 --- a/tests/test_webgl_context_attributes_sdl.c +++ b/tests/test_webgl_context_attributes_sdl.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #define NO_SDL_GLEXT #include diff --git a/tests/test_wget.c b/tests/test_wget.c index 900c82ad317fc..560b9b0be4fd7 100644 --- a/tests/test_wget.c +++ b/tests/test_wget.c @@ -1,3 +1,10 @@ +/* + * Copyright 2014 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_wget_data.c b/tests/test_wget_data.c index e72b68f9bacd6..ef6f7f125bb7e 100644 --- a/tests/test_wget_data.c +++ b/tests/test_wget_data.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/test_whole_archive/main.c b/tests/test_whole_archive/main.c index be41b6a3c77d8..dfc741c832b8e 100644 --- a/tests/test_whole_archive/main.c +++ b/tests/test_whole_archive/main.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include int foo; diff --git a/tests/test_whole_archive/testlib.c b/tests/test_whole_archive/testlib.c index e1eb5380d2d46..4dc2b4ca3bdc6 100644 --- a/tests/test_whole_archive/testlib.c +++ b/tests/test_whole_archive/testlib.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + // Library containing only single static constructor function. // This is used to verify that the -Wl,-whole-archive works as expected diff --git a/tests/time/src.cpp b/tests/time/src.cpp index f6635be1040a2..303343ff467e3 100644 --- a/tests/time/src.cpp +++ b/tests/time/src.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/twopart_main.cpp b/tests/twopart_main.cpp index d4e73a8693055..39c9f883bb64f 100644 --- a/tests/twopart_main.cpp +++ b/tests/twopart_main.cpp @@ -1,3 +1,7 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. extern void theFunc(char *str); diff --git a/tests/twopart_side.cpp b/tests/twopart_side.cpp index d09277f52f379..7659142a84e48 100644 --- a/tests/twopart_side.cpp +++ b/tests/twopart_side.cpp @@ -1,3 +1,7 @@ +// Copyright 2011 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include diff --git a/tests/unistd/access.c b/tests/unistd/access.c index 0e387a0ea922c..3deea36a98f1d 100644 --- a/tests/unistd/access.c +++ b/tests/unistd/access.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/close.c b/tests/unistd/close.c index 195c361a5d052..dcc80add1bbbd 100644 --- a/tests/unistd/close.c +++ b/tests/unistd/close.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/confstr.c b/tests/unistd/confstr.c index 6396f0f7ced21..4553ef460a333 100644 --- a/tests/unistd/confstr.c +++ b/tests/unistd/confstr.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/curdir.c b/tests/unistd/curdir.c index bbc0139ac28f3..bbcc721bf57e7 100644 --- a/tests/unistd/curdir.c +++ b/tests/unistd/curdir.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/dup.c b/tests/unistd/dup.c index 7fae07ebf3251..99d339e001aac 100644 --- a/tests/unistd/dup.c +++ b/tests/unistd/dup.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/io.c b/tests/unistd/io.c index 966192d279b2c..42d3617b2cda3 100644 --- a/tests/unistd/io.c +++ b/tests/unistd/io.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/isatty.c b/tests/unistd/isatty.c index 191036e933328..9e3f76809404c 100644 --- a/tests/unistd/isatty.c +++ b/tests/unistd/isatty.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/links.c b/tests/unistd/links.c index d3a340c816d90..5a005e0db6f8a 100644 --- a/tests/unistd/links.c +++ b/tests/unistd/links.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/login.c b/tests/unistd/login.c index 2e4e1515dccbd..7c1cc150cf46c 100644 --- a/tests/unistd/login.c +++ b/tests/unistd/login.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/misc.c b/tests/unistd/misc.c index ff1c3b9f86506..43101b13ee409 100644 --- a/tests/unistd/misc.c +++ b/tests/unistd/misc.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/pathconf.c b/tests/unistd/pathconf.c index c1c40252618e7..bd980a1dbf8b1 100644 --- a/tests/unistd/pathconf.c +++ b/tests/unistd/pathconf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/pipe.c b/tests/unistd/pipe.c index 273a0789a46f2..a100bf758198a 100644 --- a/tests/unistd/pipe.c +++ b/tests/unistd/pipe.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/sleep.c b/tests/unistd/sleep.c index 1171a0a6c7e08..878b9bc1347ba 100644 --- a/tests/unistd/sleep.c +++ b/tests/unistd/sleep.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/swab.c b/tests/unistd/swab.c index d5c9ec2780a5a..017dc836aef75 100644 --- a/tests/unistd/swab.c +++ b/tests/unistd/swab.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include diff --git a/tests/unistd/symlink_on_nodefs.c b/tests/unistd/symlink_on_nodefs.c index 4423b23633b0e..58d9abed59786 100644 --- a/tests/unistd/symlink_on_nodefs.c +++ b/tests/unistd/symlink_on_nodefs.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/sysconf.c b/tests/unistd/sysconf.c index 3211608e1cd5d..f283d0c164057 100644 --- a/tests/unistd/sysconf.c +++ b/tests/unistd/sysconf.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/sysconf_phys_pages.c b/tests/unistd/sysconf_phys_pages.c index 327150457c4cf..c7c1ae6bccd42 100644 --- a/tests/unistd/sysconf_phys_pages.c +++ b/tests/unistd/sysconf_phys_pages.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/truncate.c b/tests/unistd/truncate.c index 5620f5029a407..3435866ebe666 100644 --- a/tests/unistd/truncate.c +++ b/tests/unistd/truncate.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/ttyname.c b/tests/unistd/ttyname.c index b7cc27bd5dad8..08437e5fc84a6 100644 --- a/tests/unistd/ttyname.c +++ b/tests/unistd/ttyname.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/unistd/unlink.c b/tests/unistd/unlink.c index eecfb9ad7abcd..eb51f1221a578 100644 --- a/tests/unistd/unlink.c +++ b/tests/unistd/unlink.c @@ -1,3 +1,10 @@ +/* + * Copyright 2011 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/utf32.cpp b/tests/utf32.cpp index 25faa0f9552e5..64674bea03ef6 100644 --- a/tests/utf32.cpp +++ b/tests/utf32.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/utf8.cpp b/tests/utf8.cpp index 6227b1406fc08..7ea4d0fd012bc 100644 --- a/tests/utf8.cpp +++ b/tests/utf8.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/utime/test_utime.c b/tests/utime/test_utime.c index 59e3e98a5d956..b0f28bc4d9e4e 100644 --- a/tests/utime/test_utime.c +++ b/tests/utime/test_utime.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/uuid/test.c b/tests/uuid/test.c index 96579e656782d..9687a8916b741 100644 --- a/tests/uuid/test.c +++ b/tests/uuid/test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/va_arg/test_va_copy.c b/tests/va_arg/test_va_copy.c index 673e750de863b..1ccf490865dea 100644 --- a/tests/va_arg/test_va_copy.c +++ b/tests/va_arg/test_va_copy.c @@ -1,3 +1,10 @@ +/* + * Copyright 2016 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/vorbis_test.c b/tests/vorbis_test.c index 7cadd9467735e..60a5ff4d6f3bb 100644 --- a/tests/vorbis_test.c +++ b/tests/vorbis_test.c @@ -1,3 +1,10 @@ +/* + * Copyright 2015 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * diff --git a/tests/vswprintf_utf8.c b/tests/vswprintf_utf8.c index cbbb70a4a1c07..7801db19f6ece 100644 --- a/tests/vswprintf_utf8.c +++ b/tests/vswprintf_utf8.c @@ -1,3 +1,10 @@ +/* + * Copyright 2017 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/wasm/trap-f2i.cpp b/tests/wasm/trap-f2i.cpp index 3015e6ecda371..9aadd4c56fc25 100644 --- a/tests/wasm/trap-f2i.cpp +++ b/tests/wasm/trap-f2i.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/wasm/trap-idiv.cpp b/tests/wasm/trap-idiv.cpp index 58400f4d6cf46..c4b2825a98280 100644 --- a/tests/wasm/trap-idiv.cpp +++ b/tests/wasm/trap-idiv.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include int main() { diff --git a/tests/webgl2.cpp b/tests/webgl2.cpp index 8934c753ab6bd..0923497c4a58f 100644 --- a/tests/webgl2.cpp +++ b/tests/webgl2.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/webgl2_backwards_compatibility_emulation.cpp b/tests/webgl2_backwards_compatibility_emulation.cpp index 6618ff0b3d773..f2cec2c2ce05d 100644 --- a/tests/webgl2_backwards_compatibility_emulation.cpp +++ b/tests/webgl2_backwards_compatibility_emulation.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/webgl2_garbage_free_entrypoints.cpp b/tests/webgl2_garbage_free_entrypoints.cpp index b668374ae962a..f3da7b318a8e5 100644 --- a/tests/webgl2_garbage_free_entrypoints.cpp +++ b/tests/webgl2_garbage_free_entrypoints.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/webgl2_objects.cpp b/tests/webgl2_objects.cpp index 5504284cc87ae..5d6bf480fc1ae 100644 --- a/tests/webgl2_objects.cpp +++ b/tests/webgl2_objects.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #include #include diff --git a/tests/webgl2_ubos.cpp b/tests/webgl2_ubos.cpp index 2b2f39b44ec77..c8f9b3226be2b 100644 --- a/tests/webgl2_ubos.cpp +++ b/tests/webgl2_ubos.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #include #include diff --git a/tests/webgl_color_buffer_readpixels.cpp b/tests/webgl_color_buffer_readpixels.cpp index 47e08d680c040..95f156879a37e 100644 --- a/tests/webgl_color_buffer_readpixels.cpp +++ b/tests/webgl_color_buffer_readpixels.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/webgl_create_context.cpp b/tests/webgl_create_context.cpp index 7dcc71e935283..606cb4e4e1e73 100644 --- a/tests/webgl_create_context.cpp +++ b/tests/webgl_create_context.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/webgl_create_context2.cpp b/tests/webgl_create_context2.cpp index c1eff429ef137..b979ed410267f 100644 --- a/tests/webgl_create_context2.cpp +++ b/tests/webgl_create_context2.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/webgl_destroy_context.cpp b/tests/webgl_destroy_context.cpp index b59af17ff33a4..48e05132df057 100644 --- a/tests/webgl_destroy_context.cpp +++ b/tests/webgl_destroy_context.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/webgl_draw_triangle.c b/tests/webgl_draw_triangle.c index 22991a6adcee0..9500f3e7027c7 100644 --- a/tests/webgl_draw_triangle.c +++ b/tests/webgl_draw_triangle.c @@ -1,3 +1,10 @@ +/* + * Copyright 2018 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include #include #include diff --git a/tests/webgl_shader_source_length.cpp b/tests/webgl_shader_source_length.cpp index 199d64306d090..102f0d17e335c 100644 --- a/tests/webgl_shader_source_length.cpp +++ b/tests/webgl_shader_source_length.cpp @@ -1,3 +1,8 @@ +// Copyright 2017 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #include #include diff --git a/tests/webgl_with_closure.cpp b/tests/webgl_with_closure.cpp index 1df4c94447fb7..e9d4756543f1c 100644 --- a/tests/webgl_with_closure.cpp +++ b/tests/webgl_with_closure.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #define GL_GLEXT_PROTOTYPES #include #include diff --git a/tests/webidl/test.cpp b/tests/webidl/test.cpp index 29838f168b2bc..8a3fe7072e618 100644 --- a/tests/webidl/test.cpp +++ b/tests/webidl/test.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include "test.h" Parent::Parent(int val) : value(val), immutableAttr(8) { printf("Parent:%d\n", val); } diff --git a/tests/whets.cpp b/tests/whets.cpp index c2b296dac7718..e1979c68106a5 100644 --- a/tests/whets.cpp +++ b/tests/whets.cpp @@ -1,3 +1,8 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + /* gcc whets.c cpuidc64.o cpuida64.o -m64 -lrt -lc -lm -o whet * * XXX modified by emscripten to be slower, to not slow down test runner diff --git a/tests/worker_api_2_main.cpp b/tests/worker_api_2_main.cpp index c9a43511bfa56..30ac410ddb565 100644 --- a/tests/worker_api_2_main.cpp +++ b/tests/worker_api_2_main.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/worker_api_2_worker.cpp b/tests/worker_api_2_worker.cpp index d7033bc41f968..fdba1dea72f59 100644 --- a/tests/worker_api_2_worker.cpp +++ b/tests/worker_api_2_worker.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/worker_api_3_main.cpp b/tests/worker_api_3_main.cpp index cc07a71caa1dd..064328609b36f 100644 --- a/tests/worker_api_3_main.cpp +++ b/tests/worker_api_3_main.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/worker_api_3_worker.cpp b/tests/worker_api_3_worker.cpp index db14377a9faf9..2f097191cd529 100644 --- a/tests/worker_api_3_worker.cpp +++ b/tests/worker_api_3_worker.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/worker_api_main.cpp b/tests/worker_api_main.cpp index 5f832334fd1ad..de25766475bc3 100644 --- a/tests/worker_api_main.cpp +++ b/tests/worker_api_main.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tests/worker_api_worker.cpp b/tests/worker_api_worker.cpp index 9a671a9197438..597d30e2d6365 100644 --- a/tests/worker_api_worker.cpp +++ b/tests/worker_api_worker.cpp @@ -1,3 +1,8 @@ +// Copyright 2012 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/worker_api_worker_sleep.cpp b/tests/worker_api_worker_sleep.cpp index 96dae26f6060b..9294f0deedb00 100644 --- a/tests/worker_api_worker_sleep.cpp +++ b/tests/worker_api_worker_sleep.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/wrap_malloc.cpp b/tests/wrap_malloc.cpp index e363474349c56..4064cc98ae339 100644 --- a/tests/wrap_malloc.cpp +++ b/tests/wrap_malloc.cpp @@ -1,3 +1,8 @@ +// Copyright 2016 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include diff --git a/tests/zlib/benchmark.c b/tests/zlib/benchmark.c index dbf74264339c3..326f851307fe5 100644 --- a/tests/zlib/benchmark.c +++ b/tests/zlib/benchmark.c @@ -1,3 +1,10 @@ +/* + * Copyright 2013 The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ + #include "zlib.h" #include #include diff --git a/third_party/jni/emjvm.cpp b/third_party/jni/emjvm.cpp index 77ec387121b36..ccaf4f950996c 100644 --- a/third_party/jni/emjvm.cpp +++ b/third_party/jni/emjvm.cpp @@ -1,3 +1,7 @@ +// Copyright 2013 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. // Emscripten shims for JVM support diff --git a/tools/__init__.py b/tools/__init__.py index e69de29bb2d1d..089d73714f3f6 100644 --- a/tools/__init__.py +++ b/tools/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + diff --git a/tools/add_license.py b/tools/add_license.py new file mode 100755 index 0000000000000..18e5b7fab69b2 --- /dev/null +++ b/tools/add_license.py @@ -0,0 +1,117 @@ +#!/usr/bin/env python +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + +"""Add or verify emscripten license header in source files.""" + +import sys +import os +import subprocess + +script_dir = os.path.dirname(os.path.abspath(__file__)) +__rootpath__ = os.path.dirname(script_dir) + +cpp_license = '''\ +// Copyright %s The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. +''' + +py_license = '''\ +# Copyright %s The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. +''' + +c_license = '''\ +/* + * Copyright %s The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + */ +''' + +c_license_base = '''\ +/* + * Copyright %s The Emscripten Authors. All rights reserved. + * Emscripten is available under two separate licenses, the MIT license and the + * University of Illinois/NCSA Open Source License. Both these licenses can be + * found in the LICENSE file. + * +''' + +exclude_filenames = [ + 'system/lib/libc/musl/src', + 'system/lib/html5/dom_pk_codes.c', + 'system/lib/dlmalloc.c', + 'third_party/', + 'tests/freetype/src/', + 'tests/bullet/src/', + 'tests/poppler/poppler/', + 'tests/box2d/', + 'tests/glbook/', + 'tests/nbody-java/', + 'tests/cube2hash/', + 'tests/sqlite/sqlite3.c', +] + +exclude_contents = ['Copyright', 'LICENSE.TXT', 'PUBLIC DOMAIN'] + + +def process_file(filename): + if any(filename.startswith(ex) for ex in exclude_filenames): + return + ext = os.path.splitext(filename)[1] + if ext not in ['.py', '.c', '.cpp']: + return + with open(filename) as f: + contents = f.read() + header = '\n'.join(contents.splitlines()[:30]) + if any(ex in header for ex in exclude_contents): + return + output = subprocess.check_output(['git', 'log', '--pretty=format:%cd', '--date=format:%Y', filename]) + year = output.splitlines()[-1].split()[0] + print(filename) + with open(filename, 'w') as f: + if ext == '.py': + if contents.startswith('#!'): + line1, rest = contents.split('\n', 1) + f.write(line1 + '\n') + contents = rest + f.write(py_license % year) + if not contents.startswith('\n'): + f.write('\n') + elif ext == '.c': + f.write(c_license % year) + if not contents.startswith('\n'): + f.write('\n') + elif ext == '.cpp': + if contents.startswith('/*\n'): + contents = contents[3:] + f.write(c_license_base % year) + else: + f.write(cpp_license % year) + if not contents.startswith('\n'): + f.write('\n') + else: + assert False + f.write(contents) + + +def main(): + os.chdir(__rootpath__) + filenames = sys.argv[1:] + if not filenames: + filenames = subprocess.check_output(['git', 'ls-files']).splitlines() + for filename in filenames: + process_file(filename) + return 0 + + +if __name__ == '__main__': + sys.exit(main()) diff --git a/tools/asm_module.py b/tools/asm_module.py index 26852052d1555..54c282ff9d78e 100644 --- a/tools/asm_module.py +++ b/tools/asm_module.py @@ -1,3 +1,7 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import sys, re, itertools diff --git a/tools/autodebugger.py b/tools/autodebugger.py index 0fd3a90448ae0..ee48fa755e083 100644 --- a/tools/autodebugger.py +++ b/tools/autodebugger.py @@ -1,3 +1,8 @@ +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Processes an LLVM assembly (.ll) file, adding debugging information. diff --git a/tools/cache.py b/tools/cache.py index 203c5935ee9f8..793770c122c78 100644 --- a/tools/cache.py +++ b/tools/cache.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function from .toolchain_profiler import ToolchainProfiler import os.path, sys, shutil, time, logging diff --git a/tools/clean_webconsole.py b/tools/clean_webconsole.py index 2282b0c3de971..63026f8ec2982 100644 --- a/tools/clean_webconsole.py +++ b/tools/clean_webconsole.py @@ -1,3 +1,8 @@ +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Removes timestamp and line info from a webgl log """ diff --git a/tools/client_mods.py b/tools/client_mods.py index 46c630d68d18b..2d0b32f332f85 100644 --- a/tools/client_mods.py +++ b/tools/client_mods.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + class PreciseF32(object): name = 'PRECISE_F32 == 2' diff --git a/tools/colored_logger.py b/tools/colored_logger.py index b4f7364ed1c45..f39de148f1fb3 100644 --- a/tools/colored_logger.py +++ b/tools/colored_logger.py @@ -1,3 +1,8 @@ +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Enables colored logger just by importing this module """ diff --git a/tools/create_dom_pk_codes.py b/tools/create_dom_pk_codes.py index 36b2031616743..a48b09c94b0b1 100644 --- a/tools/create_dom_pk_codes.py +++ b/tools/create_dom_pk_codes.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # The DOM KeyboardEvent field 'code' contains a locale/language independent # identifier of a pressed key on the keyboard, i.e. a "physical" keyboard code, which # is often useful for games that want to provide a physical keyboard layout that does diff --git a/tools/ctor_evaller.py b/tools/ctor_evaller.py index 290e759001676..24a5df160c78a 100644 --- a/tools/ctor_evaller.py +++ b/tools/ctor_evaller.py @@ -1,3 +1,8 @@ +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Tries to evaluate global constructors, applying their effects ahead of time. diff --git a/tools/debug/autodebugger_c.py b/tools/debug/autodebugger_c.py index 16567527a4127..a9735bb5c4cb7 100644 --- a/tools/debug/autodebugger_c.py +++ b/tools/debug/autodebugger_c.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Processes a C source file, adding debugging information. diff --git a/tools/debug/autodebugger_indenter.py b/tools/debug/autodebugger_indenter.py index 50d9a062cdcfd..d03eef2e1689a 100644 --- a/tools/debug/autodebugger_indenter.py +++ b/tools/debug/autodebugger_indenter.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Autodebugger output contains -1 for function entry and -2 for function exit. This script will indent the output nicely diff --git a/tools/debug/autodebugger_js.py b/tools/debug/autodebugger_js.py index 3bd7ee43953ba..1691feb05e0e3 100644 --- a/tools/debug/autodebugger_js.py +++ b/tools/debug/autodebugger_js.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Processes a C source file, adding debugging information. diff --git a/tools/debug/autodediffer.py b/tools/debug/autodediffer.py index 0a539ae24be65..ad2d46375bb34 100644 --- a/tools/debug/autodediffer.py +++ b/tools/debug/autodediffer.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' A semi-smart diff for autodebugger logs. diff --git a/tools/debug/bisect_pair.py b/tools/debug/bisect_pair.py index 837e0d55b4d8f..ccaa623eaef74 100644 --- a/tools/debug/bisect_pair.py +++ b/tools/debug/bisect_pair.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Given two similar files, for example one with an additional optimization pass, and with different results, will bisect between them to find the smallest diff --git a/tools/debug/bisect_pair_lines.py b/tools/debug/bisect_pair_lines.py index 5a62f7c708485..4ad06d7d5555b 100644 --- a/tools/debug/bisect_pair_lines.py +++ b/tools/debug/bisect_pair_lines.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Given two similar files, for example one with an additional optimization pass, and with different results, will bisect between them to find the smallest diff --git a/tools/debug/bisect_pair_wast.py b/tools/debug/bisect_pair_wast.py index ed4efd14d79ec..702f33ca356f0 100644 --- a/tools/debug/bisect_pair_wast.py +++ b/tools/debug/bisect_pair_wast.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Given two similar files, for example one with an additional optimization pass, and with different results, will bisect between them to find the smallest diff --git a/tools/debug/diff_autodebugger.py b/tools/debug/diff_autodebugger.py index 481ee1cab2cb3..36d8d28422cec 100644 --- a/tools/debug/diff_autodebugger.py +++ b/tools/debug/diff_autodebugger.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Very simple line-by line diff of autodebugger outputs. useful when there are no added or removed lines, and there are float differences diff --git a/tools/debug/find_bigis.py b/tools/debug/find_bigis.py index 07365a35c4839..0b50960cb0470 100644 --- a/tools/debug/find_bigis.py +++ b/tools/debug/find_bigis.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Simple tool to find big i types in an .ll file. Anything over i64 is of interest. ''' diff --git a/tools/debug/ll-strip.py b/tools/debug/ll-strip.py index 2e1ac7b877595..1d72e0c4cdce4 100644 --- a/tools/debug/ll-strip.py +++ b/tools/debug/ll-strip.py @@ -1,4 +1,8 @@ #!/usr/bin/python2 +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import sys, re diff --git a/tools/debug/scan_js.py b/tools/debug/scan_js.py index 73066e03a058a..5915c0ed592e6 100644 --- a/tools/debug/scan_js.py +++ b/tools/debug/scan_js.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Finds why a .js file is large by printing functions by size ''' diff --git a/tools/debug/scan_ll.py b/tools/debug/scan_ll.py index 1856435205767..5aef0eb2a13ef 100644 --- a/tools/debug/scan_ll.py +++ b/tools/debug/scan_ll.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Finds why an .ll file is large by printing functions by size ''' diff --git a/tools/debug/stubify_ll.py b/tools/debug/stubify_ll.py index fcfc23524c92b..9c1f29ca30b79 100644 --- a/tools/debug/stubify_ll.py +++ b/tools/debug/stubify_ll.py @@ -1,3 +1,7 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. # given a file of ll and a list of names to retain, makes all other functions into stubs. # you can then build with -s LINKABLE=1 and see any compilation errors on the specific functions diff --git a/tools/determinism_checker.py b/tools/determinism_checker.py index 2d7e403a4baff..dcf9eba7621e3 100644 --- a/tools/determinism_checker.py +++ b/tools/determinism_checker.py @@ -1,3 +1,8 @@ +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Runs a build command many times to search for any nondeterminism. ''' diff --git a/tools/distill_asm.py b/tools/distill_asm.py index c2137af7a84b7..c3270e0f2995a 100644 --- a/tools/distill_asm.py +++ b/tools/distill_asm.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Gets the core asm module out of an emscripten output file. diff --git a/tools/duplicate_function_eliminator.py b/tools/duplicate_function_eliminator.py index 9e5aa5035ad62..58a2c121eb49c 100644 --- a/tools/duplicate_function_eliminator.py +++ b/tools/duplicate_function_eliminator.py @@ -1,3 +1,7 @@ +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import os, sys, subprocess, multiprocessing, re, string, json, shutil, logging, traceback diff --git a/tools/emconfiguren.py b/tools/emconfiguren.py index 05f9a2fcae79b..19ae307931572 100755 --- a/tools/emconfiguren.py +++ b/tools/emconfiguren.py @@ -1,4 +1,9 @@ #!/usr/bin/env python2 +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """This is a helper script for emmaken.py. See docs in that file for more info. """ diff --git a/tools/emdebug_cd_merger.py b/tools/emdebug_cd_merger.py index 2a51738ce5f91..b5157e94c88b5 100755 --- a/tools/emdebug_cd_merger.py +++ b/tools/emdebug_cd_merger.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. import sys import json diff --git a/tools/emdump.py b/tools/emdump.py index b0bfb9b00ec71..1deb5b40976d8 100755 --- a/tools/emdump.py +++ b/tools/emdump.py @@ -1,4 +1,9 @@ #!/usr/bin/env python2 +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # -*- Mode: python -*- """ diff --git a/tools/emmaken.py b/tools/emmaken.py index 094d2b6f6af96..44ade9617459d 100755 --- a/tools/emmaken.py +++ b/tools/emmaken.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import sys diff --git a/tools/emmakenxx.py b/tools/emmakenxx.py index 1cd00b1a08319..dc7ab80240a15 100755 --- a/tools/emmakenxx.py +++ b/tools/emmakenxx.py @@ -1,4 +1,9 @@ #!/usr/bin/env python2 +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """See emmaken.py """ import os diff --git a/tools/emprofile.py b/tools/emprofile.py index c375edca3d27e..a338a9dab29d6 100755 --- a/tools/emprofile.py +++ b/tools/emprofile.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import sys, shutil, os, json, tempfile, time diff --git a/tools/emterpretify.py b/tools/emterpretify.py index 98d4e6a14947d..a384d8aaa5d8c 100755 --- a/tools/emterpretify.py +++ b/tools/emterpretify.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' Processes asm.js code to make it run in an emterpreter. diff --git a/tools/exec_llvm.py b/tools/exec_llvm.py index c4a236558dd8b..e3beb76434a9a 100755 --- a/tools/exec_llvm.py +++ b/tools/exec_llvm.py @@ -1,4 +1,9 @@ #!/usr/bin/python2 +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Small utility to execute some llvm bitcode. The use case is a Makefile that builds some executable diff --git a/tools/experimental/reproduceriter.py b/tools/experimental/reproduceriter.py index 79964e766f14c..2c0b91360e163 100644 --- a/tools/experimental/reproduceriter.py +++ b/tools/experimental/reproduceriter.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' Reproducer Rewriter diff --git a/tools/ffdb.py b/tools/ffdb.py index 6372c07f75c23..e67a83a3fbfd2 100755 --- a/tools/ffdb.py +++ b/tools/ffdb.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import socket, json, sys, uuid, datetime, time, logging, cgi, zipfile, os, tempfile, atexit, subprocess, re, base64, struct, imghdr diff --git a/tools/file_packager.py b/tools/file_packager.py index 752e824f3b49e..d82b9120a904c 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -1,3 +1,8 @@ +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' A tool that generates FS API calls to generate a filesystem, and packages the files to work with that. diff --git a/tools/filelock.py b/tools/filelock.py index 069d3d3feef7a..abe0fdf187c33 100644 --- a/tools/filelock.py +++ b/tools/filelock.py @@ -1,4 +1,8 @@ #!/usr/bin/python2 +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. # This is free and unencumbered software released into the public domain. # diff --git a/tools/find_bigfuncs.py b/tools/find_bigfuncs.py index 7a2166b0df9fe..e1465c07083dd 100644 --- a/tools/find_bigfuncs.py +++ b/tools/find_bigfuncs.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Tool to find or compare big functions in a js or ll file ''' diff --git a/tools/find_bigvars.py b/tools/find_bigvars.py index 8b81c8c2641ae..abae6e05df13b 100644 --- a/tools/find_bigvars.py +++ b/tools/find_bigvars.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Simple tool to find functions with lots of vars. """ diff --git a/tools/gen_struct_info.py b/tools/gen_struct_info.py index 09e444023f621..28eae01f3579e 100644 --- a/tools/gen_struct_info.py +++ b/tools/gen_struct_info.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + # -*- encoding: utf8 -*- ''' diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py index 928f949ba5424..b4e9350cdc0bb 100644 --- a/tools/js_optimizer.py +++ b/tools/js_optimizer.py @@ -1,3 +1,7 @@ +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import os, sys, subprocess, multiprocessing, re, string, json, shutil, logging diff --git a/tools/jsrun.py b/tools/jsrun.py index 443359e19eed2..d82e277f637b2 100644 --- a/tools/jsrun.py +++ b/tools/jsrun.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from .toolchain_profiler import ToolchainProfiler import time, os, sys, logging from subprocess import Popen, PIPE, STDOUT diff --git a/tools/line_endings.py b/tools/line_endings.py index d9cf7ea3d4d15..894772584cc3e 100755 --- a/tools/line_endings.py +++ b/tools/line_endings.py @@ -1,4 +1,9 @@ #!/usr/bin/env python +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import os import sys diff --git a/tools/merge_pair.py b/tools/merge_pair.py index 8575884f87cef..54f77d5da80a5 100644 --- a/tools/merge_pair.py +++ b/tools/merge_pair.py @@ -1,4 +1,9 @@ #!/usr/bin/python +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Usage: left.js right.js n out.js Given two files with the same function names in them, merges in n functions from the latter from the start, diff --git a/tools/nativize_llvm.py b/tools/nativize_llvm.py index f3428ad65867c..a4f217e88984a 100755 --- a/tools/nativize_llvm.py +++ b/tools/nativize_llvm.py @@ -1,4 +1,9 @@ #!/usr/bin/env python2 +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Small utility to build some llvm bitcode into native code. Useful when lli (called from exec_llvm) fails for some reason. diff --git a/tools/optimizer/optimizer-main.cpp b/tools/optimizer/optimizer-main.cpp index 7957c3e42ce41..0705651839893 100644 --- a/tools/optimizer/optimizer-main.cpp +++ b/tools/optimizer/optimizer-main.cpp @@ -1,3 +1,8 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + //============================================================================== // Optimizer tool. This is meant to be run after the emscripten compiler has // finished generating code. These optimizations are done on the generated diff --git a/tools/optimizer/optimizer-shared.cpp b/tools/optimizer/optimizer-shared.cpp index 0b30dc4bb5606..16dffc5aa544f 100644 --- a/tools/optimizer/optimizer-shared.cpp +++ b/tools/optimizer/optimizer-shared.cpp @@ -1,3 +1,7 @@ +// Copyright 2015 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include "optimizer.h" diff --git a/tools/optimizer/optimizer.cpp b/tools/optimizer/optimizer.cpp index 80e4bfabd91c2..973f2699832e6 100644 --- a/tools/optimizer/optimizer.cpp +++ b/tools/optimizer/optimizer.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. + #include #include #include diff --git a/tools/optimizer/parser.cpp b/tools/optimizer/parser.cpp index 23fe1b23cbcea..e46c6a3d11bc5 100644 --- a/tools/optimizer/parser.cpp +++ b/tools/optimizer/parser.cpp @@ -1,3 +1,7 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include "parser.h" diff --git a/tools/optimizer/simple_ast.cpp b/tools/optimizer/simple_ast.cpp index 89b8ce8ed359a..db2d517089fda 100644 --- a/tools/optimizer/simple_ast.cpp +++ b/tools/optimizer/simple_ast.cpp @@ -1,3 +1,7 @@ +// Copyright 2014 The Emscripten Authors. All rights reserved. +// Emscripten is available under two separate licenses, the MIT license and the +// University of Illinois/NCSA Open Source License. Both these licenses can be +// found in the LICENSE file. #include "simple_ast.h" diff --git a/tools/ports/__init__.py b/tools/ports/__init__.py index 64d55f1fa2b01..347e24f453ed9 100644 --- a/tools/ports/__init__.py +++ b/tools/ports/__init__.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from . import binaryen, bullet, cocos2d, freetype, harfbuzz, libpng, ogg, sdl, sdl_image, sdl_ttf, sdl_net, vorbis, zlib # If port A depends on port B, then A should be _after_ B diff --git a/tools/ports/binaryen.py b/tools/ports/binaryen.py index fcb4e915a5500..e4171e54fb2dd 100644 --- a/tools/ports/binaryen.py +++ b/tools/ports/binaryen.py @@ -1,3 +1,8 @@ +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging TAG = 'version_50' diff --git a/tools/ports/bullet.py b/tools/ports/bullet.py index 3c28be6c8dd7b..1859fd6762256 100644 --- a/tools/ports/bullet.py +++ b/tools/ports/bullet.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging, subprocess, sys, stat TAG = 'version_1' diff --git a/tools/ports/cocos2d.py b/tools/ports/cocos2d.py index ca2adc80f145a..9b7cedc20134a 100644 --- a/tools/ports/cocos2d.py +++ b/tools/ports/cocos2d.py @@ -1,3 +1,8 @@ +# Copyright 2017 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os import shutil import logging diff --git a/tools/ports/freetype.py b/tools/ports/freetype.py index 61c701d01e802..ceb467e378313 100644 --- a/tools/ports/freetype.py +++ b/tools/ports/freetype.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging from subprocess import Popen diff --git a/tools/ports/harfbuzz.py b/tools/ports/harfbuzz.py index 43d063ecf23e1..4c4c6168ff9b1 100644 --- a/tools/ports/harfbuzz.py +++ b/tools/ports/harfbuzz.py @@ -1,3 +1,8 @@ +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, logging TAG = '1.7.5' diff --git a/tools/ports/libpng.py b/tools/ports/libpng.py index 9e2c37d0856dc..9388578595492 100644 --- a/tools/ports/libpng.py +++ b/tools/ports/libpng.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging from . import zlib diff --git a/tools/ports/ogg.py b/tools/ports/ogg.py index 8a24ef43b1223..dfd59c646ee7b 100644 --- a/tools/ports/ogg.py +++ b/tools/ports/ogg.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging, subprocess, sys, stat TAG = 'version_1' diff --git a/tools/ports/sdl.py b/tools/ports/sdl.py index 5602014e0e5d2..73288a3327f21 100644 --- a/tools/ports/sdl.py +++ b/tools/ports/sdl.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging TAG = 'version_14' diff --git a/tools/ports/sdl_image.py b/tools/ports/sdl_image.py index 25c8f162c0968..3f8b5d97a6c0d 100644 --- a/tools/ports/sdl_image.py +++ b/tools/ports/sdl_image.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging TAG = 'version_4' diff --git a/tools/ports/sdl_net.py b/tools/ports/sdl_net.py index 974250ad397b6..9f8bc6fb15d5c 100644 --- a/tools/ports/sdl_net.py +++ b/tools/ports/sdl_net.py @@ -1,3 +1,8 @@ +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging TAG = 'version_2' diff --git a/tools/ports/sdl_ttf.py b/tools/ports/sdl_ttf.py index 53b0e29e49164..726c459aa6472 100644 --- a/tools/ports/sdl_ttf.py +++ b/tools/ports/sdl_ttf.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging TAG = 'version_1' diff --git a/tools/ports/vorbis.py b/tools/ports/vorbis.py index 994d83888b57e..f448465804963 100644 --- a/tools/ports/vorbis.py +++ b/tools/ports/vorbis.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging, subprocess, sys, stat from . import ogg diff --git a/tools/ports/zlib.py b/tools/ports/zlib.py index c2094d1bd206e..9f3594d10215f 100644 --- a/tools/ports/zlib.py +++ b/tools/ports/zlib.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import os, shutil, logging from subprocess import Popen diff --git a/tools/python_selector.py b/tools/python_selector.py index d572b38d9c7e2..3a142f59bbb5c 100644 --- a/tools/python_selector.py +++ b/tools/python_selector.py @@ -1,3 +1,8 @@ +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Provides a way to run a script on the preferred Python version""" import os diff --git a/tools/response_file.py b/tools/response_file.py index ea54fc293458d..82624923c5630 100644 --- a/tools/response_file.py +++ b/tools/response_file.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import logging import os import shlex diff --git a/tools/scons/site_scons/site_tools/emscripten/__init__.py b/tools/scons/site_scons/site_tools/emscripten/__init__.py index ebd2c21bd3909..30bf32c830658 100644 --- a/tools/scons/site_scons/site_tools/emscripten/__init__.py +++ b/tools/scons/site_scons/site_tools/emscripten/__init__.py @@ -1,3 +1,7 @@ #!/usr/bin/env python2 +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from emscripten import exists, generate diff --git a/tools/scons/site_scons/site_tools/emscripten/emscripten.py b/tools/scons/site_scons/site_tools/emscripten/emscripten.py index e2ac771d23575..dcf535b755c3d 100644 --- a/tools/scons/site_scons/site_tools/emscripten/emscripten.py +++ b/tools/scons/site_scons/site_tools/emscripten/emscripten.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# Copyright 2012 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. from __future__ import print_function import os diff --git a/tools/separate_asm.py b/tools/separate_asm.py index df01e650d7c5a..987903a03e43c 100644 --- a/tools/separate_asm.py +++ b/tools/separate_asm.py @@ -1,3 +1,8 @@ +# Copyright 2015 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Separates out the core asm module out of an emscripten output file. diff --git a/tools/shared.py b/tools/shared.py index ec41e668a8e03..be18460ceb71a 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -1,3 +1,8 @@ +# Copyright 2011 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function from distutils.spawn import find_executable diff --git a/tools/system_libs.py b/tools/system_libs.py index a4e103722d567..a0f62c37e820b 100755 --- a/tools/system_libs.py +++ b/tools/system_libs.py @@ -1,3 +1,8 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import json import logging diff --git a/tools/tempfiles.py b/tools/tempfiles.py index 6826bea1619da..299eb41c81aa6 100644 --- a/tools/tempfiles.py +++ b/tools/tempfiles.py @@ -1,3 +1,8 @@ +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + from __future__ import print_function import os import shutil diff --git a/tools/toolchain_profiler.py b/tools/toolchain_profiler.py index a9ca4a92acf96..63983a63fa6a3 100644 --- a/tools/toolchain_profiler.py +++ b/tools/toolchain_profiler.py @@ -1,3 +1,8 @@ +# Copyright 2016 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + import subprocess, os, time, sys, tempfile sys.path.insert(1, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) diff --git a/tools/update_js.py b/tools/update_js.py index 8cf5f70698a98..e7eef0361a8e7 100644 --- a/tools/update_js.py +++ b/tools/update_js.py @@ -1,3 +1,8 @@ +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + ''' Performs a search-replace in all of js/ ''' diff --git a/tools/validate_asmjs.py b/tools/validate_asmjs.py index 0119965ed39ba..caabc2cbeb244 100755 --- a/tools/validate_asmjs.py +++ b/tools/validate_asmjs.py @@ -1,4 +1,8 @@ #!/usr/bin/python +# Copyright 2013 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. # This is a helper script to validate a file for asm.js. diff --git a/tools/wasm-sourcemap.py b/tools/wasm-sourcemap.py index 0d371df889b6a..a1e31d721bd9b 100755 --- a/tools/wasm-sourcemap.py +++ b/tools/wasm-sourcemap.py @@ -1,4 +1,9 @@ #!/usr/bin/env python +# Copyright 2018 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. + """Utility tools that extracts DWARF information encoded in a wasm output produced by the LLVM tools, and encodes it as a wasm source map. Additionally, it can collect original sources, change files prefixes, and strip debug diff --git a/tools/webidl_binder.py b/tools/webidl_binder.py index 3b16787ce1798..8a66ae3b4ed46 100644 --- a/tools/webidl_binder.py +++ b/tools/webidl_binder.py @@ -1,3 +1,7 @@ +# Copyright 2014 The Emscripten Authors. All rights reserved. +# Emscripten is available under two separate licenses, the MIT license and the +# University of Illinois/NCSA Open Source License. Both these licenses can be +# found in the LICENSE file. ''' WebIDL binder