Home
last modified time | relevance | path

Searched +full:gcc +full:- +full:5 (Results 1 – 25 of 49) sorted by relevance

12

/civetweb-2.7.6/
D.travis.yml10 - $HOME/third-party
17 - cmake
18 - openssl
19 - libssl-dev
21 - kubuntu-backports
25 - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
28 wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh --no-check-certificate;
29 chmod +x cmake-3.7.2-Linux-x86_64.sh;
30 ./cmake-3.7.2-Linux-x86_64.sh --prefix=$HOME/usr --exclude-subdir --skip-license;
32 - cmake --version
[all …]
Dbuild.cmd20 @set "script_folder=%script_folder:~0,-1%"
26 @set dependency_path=%TEMP%\%project%-build-dependencies
70 @set /a "log_keep=log_keep-1"
72 @for /f "skip=%log_keep%" %%f in ('dir /b /o-D /tc %log_folder%') do @(
98 @call :log 5
110 :: -------------------------- Functions start here ----------------------------
112 :main - Main function that performs the build
116 @call :log 6 "------------------------------------"
136 @call :log 6 "------------------------------------"
142 :print_usage - Prints the usage of the script
[all …]
Dmingw.cmd19 @set "script_folder=%script_folder:~0,-1%"
20 @set "dependency_path=%TEMP%\mingw-build-dependencies"
54 @if not defined output_path set "output_path=%script_folder%\mingw-builds"
67 @set /a "log_keep=log_keep-1"
69 @for /f "skip=%log_keep%" %%f in ('dir /b /o-D /tc %log_folder%') do @(
97 :: -------------------------- Functions start here ----------------------------
99 :main - Main function that performs the download
100 :: %1 - Target architecture
101 :: %2 - Version of MinGW to get [optional]
102 :: %3 - Threading model [optional]
[all …]
DCMakeLists.txt45 string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)" CIVETWEB_VERSION_MATCH "${CIVETWEB_VERSION}")
57 message(STATUS "Enabling tests in the build - ${CIVETWEB_BUILD_TESTING}")
66 message(STATUS "Thread Stack Size - ${CIVETWEB_THREAD_STACK_SIZE}")
69 message(STATUS "Enabling server executable - ${CIVETWEB_ENABLE_SERVER_EXECUTABLE}")
73 message(STATUS "Serve no static files - ${CIVETWEB_SERVE_NO_FILES}")
77 message(STATUS "Disable CGI support - ${CIVETWEB_DISABLE_CGI}")
81 message(STATUS "Disable caching support - ${CIVETWEB_DISABLE_CACHING}")
85 message(STATUS "C++ wrappers - ${CIVETWEB_ENABLE_CXX}")
89 message(STATUS "IP Version 6 - ${CIVETWEB_ENABLE_IPV6}")
93 message(STATUS "Websockets support - ${CIVETWEB_ENABLE_WEBSOCKETS}")
[all …]
/civetweb-2.7.6/unittest/
Dtimertest.c1 /* Copyright (c) 2016-2018 the Civetweb developers
33 #pragma GCC diagnostic push
34 #pragma GCC diagnostic ignored "-Wunused-function"
53 (*p)--; in action_dec()
55 if (*p < -1) { in action_dec()
60 return (*p >= -3) ? action_dec_ret : 0; in action_dec()
68 (*p)--; in action_dec_to_0()
70 if (*p <= -1) { in action_dec_to_0()
102 mg_sleep(10000); /* Sleep 10 second - timers will run */ in START_TEST()
108 mg_sleep(2000); /* Sleep 2 second - timers will not run */ in START_TEST()
[all …]
Dpublic_server.c1 /* Copyright (c) 2015-2018 the Civetweb developers
51 #define SLEEP_AFTER_MG_STOP (5)
62 #pragma GCC diagnostic ignored "-Wunused-result"
134 #pragma GCC diagnostic push in wait_not_null()
135 #pragma GCC diagnostic ignored "-Wunreachable-code" in wait_not_null()
136 #pragma GCC diagnostic ignored "-Wunreachable-code-return" in wait_not_null()
144 #pragma GCC diagnostic pop in wait_not_null()
164 wd[sizeof(wd) - 1] = 0; in START_TEST()
167 wd[sizeof(wd) - 1] = 0; in START_TEST()
187 exit(1); /* some path is not correct --> test will not work */ in START_TEST()
[all …]
/civetweb-2.7.6/src/
Dcivetweb.c1 /* Copyright (c) 2013-2018 the Civetweb developers
2 * Copyright (c) 2004-2013 Sergey Lyubka
27 /* gcc diagnostic pragmas available */
33 /* Disable unused macros warnings - not all defines are required
35 #pragma GCC diagnostic ignored "-Wunused-macros"
37 #pragma GCC diagnostic ignored "-Wpadded"
40 #if defined(__clang__) /* GCC does not (yet) support this pragma */
44 #pragma GCC diagnostic push
45 #pragma GCC diagnostic ignored "-Wreserved-id-macro"
52 #if !defined(_WIN32_WINNT) /* defined for tdm-gcc so we can use getnameinfo */
[all …]
Dmain.c1 /* Copyright (c) 2013-2018 the Civetweb developers
2 * Copyright (c) 2004-2013 Sergey Lyubka
39 * http://man7.org/linux/man-pages/man3/realpath.3.html, but in
42 * #pragma GCC diagnostic ignored "-Wimplicit-function-declaration"
43 * #pragma clang diagnostic ignored "-Wimplicit-function-declaration"
66 #define _FILE_OFFSET_BITS 64 /* Use 64-bit file offsets by default */
95 #define _WIN32_WINNT 0x0501 /* for tdm-gcc so we can use getconsolewindow */
123 #else /* defined(_WIN32) && !defined(__SYMBIAN32__) - WINDOWS / UNIX include \
134 #endif /* defined(_WIN32) && !defined(__SYMBIAN32__) - WINDOWS / UNIX include \
241 (void)vsnprintf(msg, sizeof(msg) - 1, fmt, ap); in die()
[all …]
/civetweb-2.7.6/examples/rest/cJSON/
DcJSON.c2 Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
32 #pragma GCC visibility push(default)
56 #pragma GCC visibility pop
81 return item->valuestring; in cJSON_GetStringValue()
84 /* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
85 #if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 5)
118 return tolower(*string1) - tolower(*string2); in case_insensitive_strcmp()
161 copy = (unsigned char*)hooks->allocate(length); in cJSON_strdup()
183 if (hooks->malloc_fn != NULL) in cJSON_InitHooks()
185 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks()
[all …]
DcJSON.h2 Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
34 #define CJSON_VERSION_PATCH 5
45 #define cJSON_Array (1 << 5)
90 CJSON_HIDE_SYMBOLS - Define this in the case where you don't want to ever dllexport symbols
91 CJSON_EXPORT_SYMBOLS - Define this on library build when you want to dllexport symbols (default)
92 CJSON_IMPORT_SYMBOLS - Define this if you want to dllimport symbol
97 -fvisibility=hidden (for gcc)
99 -xldscope=hidden (for sun cc)
152 … accurate in estimating how much memory it will use, so to be safe allocate 5 bytes more than you …
213 …* WARNING: When this function was used, make sure to always check that (item->type & cJSON_StringI…
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_selftest.c85 test = -1; in duk__selftest_twos_complement()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 0x42; in duk__selftest_byte_order()
124 u2.c[4] = 0x00; u2.c[5] = 0x00; u2.c[6] = 0xc4; u2.c[7] = 0x6d; in duk__selftest_byte_order()
127 u2.c[4] = 0x6d; u2.c[5] = 0xc4; u2.c[6] = 0x00; u2.c[7] = 0x00; in duk__selftest_byte_order()
168 du.uc[4] = 0x33; du.uc[5] = 0x44; du.uc[6] = 0x55; du.uc[7] = 0x66; in duk__selftest_bswap_macros()
170 du_diff = du.d - 2.008366013071895; in duk__selftest_bswap_macros()
174 if (du_diff > 1e-15) { in duk__selftest_bswap_macros()
177 * Linux gcc-4.8 -m32 at least). in duk__selftest_bswap_macros()
183 (unsigned int) du.uc[4], (unsigned int) du.uc[5], in duk__selftest_bswap_macros()
207 /* This testcase fails when Emscripten-generated code runs on Firefox. in duk__selftest_double_aliasing()
[all …]
Dduk_config.h6 * Git branch: v1.8-maintenance
9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
[all …]
Dduk_tval.h7 * There are two packed type alternatives: an 8-byte representation
8 * based on an IEEE double (preferred for compactness), and a 12-byte
10 * 64-bit environments (it usually pads to 16 bytes per value).
12 * Selecting the tagged type format involves many trade-offs (memory
33 * Packed 8-byte representation
60 /* two casts to avoid gcc warning: "warning: cast from pointer to integer of different size [-Wpoin…
64 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 16) | (((duk_uint64_t) (duk_uint32_t) (h))…
68 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h));…
73 (v)->ui[DUK_DBL_IDX_UI0] = ((duk_uint32_t) (tag)) << 16; \
74 (v)->ui[DUK_DBL_IDX_UI1] = (duk_uint32_t) (h); \
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_selftest.c85 test = -1; in duk__selftest_twos_complement()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 0x42; in duk__selftest_byte_order()
124 u2.c[4] = 0x00; u2.c[5] = 0x00; u2.c[6] = 0xc4; u2.c[7] = 0x6d; in duk__selftest_byte_order()
127 u2.c[4] = 0x6d; u2.c[5] = 0xc4; u2.c[6] = 0x00; u2.c[7] = 0x00; in duk__selftest_byte_order()
168 du.uc[4] = 0x33; du.uc[5] = 0x44; du.uc[6] = 0x55; du.uc[7] = 0x66; in duk__selftest_bswap_macros()
170 du_diff = du.d - 2.008366013071895; in duk__selftest_bswap_macros()
174 if (du_diff > 1e-15) { in duk__selftest_bswap_macros()
177 * Linux gcc-4.8 -m32 at least). in duk__selftest_bswap_macros()
183 (unsigned int) du.uc[4], (unsigned int) du.uc[5], in duk__selftest_bswap_macros()
207 /* This testcase fails when Emscripten-generated code runs on Firefox. in duk__selftest_double_aliasing()
[all …]
Dduk_config.h9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
18 * - Emscripten
[all …]
Dduk_tval.h7 * There are two packed type alternatives: an 8-byte representation
8 * based on an IEEE double (preferred for compactness), and a 12-byte
10 * 64-bit environments (it usually pads to 16 bytes per value).
12 * Selecting the tagged type format involves many trade-offs (memory
33 * Packed 8-byte representation
60 /* two casts to avoid gcc warning: "warning: cast from pointer to integer of different size [-Wpoin…
64 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 16) | (((duk_uint64_t) (duk_uint32_t) (h))…
68 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h));…
73 (v)->ui[DUK_DBL_IDX_UI0] = ((duk_uint32_t) (tag)) << 16; \
74 (v)->ui[DUK_DBL_IDX_UI1] = (duk_uint32_t) (h); \
[all …]
Dduk_heap_alloc.c7 /* Constants for built-in string data depacking. */
23 * Free heap object and its internal (non-heap) pointers. Assumes that
45 DUK_FREE(heap, t->valstack); in duk_free_hobject_inner()
46 DUK_FREE(heap, t->callstack); in duk_free_hobject_inner()
47 DUK_FREE(heap, t->catchstack); in duk_free_hobject_inner()
48 /* Don't free h->resumer because it exists in the heap. in duk_free_hobject_inner()
82 …DUK_USE_EXTSTR_FREE(heap->heap_udata, (const void *) DUK_HSTRING_GET_EXTDATA((duk_hstring_external… in duk_free_hstring_inner()
113 * Frees heap-related non-heap-tracked allocations such as the
127 curr = heap->heap_allocated; in duk__free_allocated()
146 curr = heap->refzero_list; in duk__free_refzero_list()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduk_config.h6 * Git branch: v1.8-maintenance
9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduk_config.h6 * Git branch: v1.8-maintenance
9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduk_config.h9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
18 * - Emscripten
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduk_config.h9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
18 * - Emscripten
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/config/
Dduk_config.h-modular-dll6 * Git branch: v1.8-maintenance
9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
[all …]
Dduk_config.h-modular-static6 * Git branch: v1.8-maintenance
9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/config/
Dduk_config.h-modular-dll9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
18 * - Emscripten
[all …]
Dduk_config.h-modular-static9 * - Mac OSX, iPhone, Darwin
10 * - OpenBSD
11 * - Generic BSD
12 * - Atari ST TOS
13 * - AmigaOS
14 * - Windows
15 * - Flashplayer (Crossbridge)
16 * - QNX
17 * - TI-Nspire
18 * - Emscripten
[all …]

12