Home
last modified time | relevance | path

Searched +full:- +full:3 (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/civetweb-2.7.6/
Dmingw.cmd19 @set "script_folder=%script_folder:~0,-1%"
20 @set "dependency_path=%TEMP%\mingw-build-dependencies"
29 @set three=%arg:~0,3%
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]
[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 @(
110 :: -------------------------- Functions start here ----------------------------
112 :main - Main function that performs the build
116 @call :log 6 "------------------------------------"
127 call :log 3 "Excuting the '%%m' method"
136 @call :log 6 "------------------------------------"
142 :print_usage - Prints the usage of the script
[all …]
/civetweb-2.7.6/unittest/
Dpublic_func.c1 /* Copyright (c) 2015-2018 the Civetweb developers
168 /* options start with a lowercase letter (a-z) */ in START_TEST()
206 ck_assert(mg_strncasecmp("abc", "abc", 3) == 0); in START_TEST()
208 /* equal, since only 3 letters are compared */ in START_TEST()
209 ck_assert(mg_strncasecmp("abc", "abcd", 3) == 0); in START_TEST()
227 ck_assert(mg_strncasecmp("xAx", "xBx", 3) < 0); in START_TEST()
228 ck_assert(mg_strncasecmp("xAx", "xbx", 3) < 0); in START_TEST()
229 ck_assert(mg_strncasecmp("xax", "xBx", 3) < 0); in START_TEST()
230 ck_assert(mg_strncasecmp("xax", "xbx", 3) < 0); in START_TEST()
231 ck_assert(mg_strncasecmp("xbx", "xAx", 3) > 0); in START_TEST()
[all …]
Dtimertest.c1 /* Copyright (c) 2016-2018 the Civetweb developers
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()
120 ck_assert_int_ge(c[0], -1); in START_TEST()
[all …]
Dprivate.c1 /* Copyright (c) 2015-2018 the Civetweb developers
72 /* Copyright (c) 2013-2015 the Civetweb developers */ in START_TEST()
73 /* Copyright (c) 2004-2013 Sergey Lyubka */ in START_TEST()
109 int lenhdr12 = lenreq12 - 4; /* length without body */ in START_TEST()
125 ck_assert_int_eq(-1, get_http_header_len(space, 2)); in START_TEST()
126 ck_assert_int_eq(-1, test_parse_http_request(space, 2, &ri)); in START_TEST()
127 ck_assert_int_eq(-1, test_parse_http_response(space, 2, &respi)); in START_TEST()
131 ck_assert_int_eq(0, get_http_header_len(req1, lenreq1 - 1)); in START_TEST()
135 ck_assert_int_eq(lenreq1 - 1, get_http_header_len(req1 + 1, lenreq1 - 1)); in START_TEST()
136 ck_assert_int_eq(-1, test_parse_http_request(req1 + 1, lenreq1 - 1, &ri)); in START_TEST()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_api_codec.c4 * These are in-place operations which may allow an optimized implementation.
6 * Base-64: https://tools.ietf.org/html/rfc4648#section-4
30 n_full = srclen / 3; /* full 3-byte -> 4-char conversions */ in duk__base64_encode_helper()
31 n_full3 = n_full * 3; in duk__base64_encode_helper()
32 n_final = srclen - n_full3; in duk__base64_encode_helper()
52 dst[3] = duk_base64_enctab[src[2] & 0x3f]; in duk__base64_encode_helper()
53 src += 3; dst += 4; in duk__base64_encode_helper()
62 *dst++ = duk_base64_enctab[t >> 2]; /* XXXXXX-- */ in duk__base64_encode_helper()
63 *dst++ = duk_base64_enctab[(t << 4) & 0x3f]; /* ------XX */ in duk__base64_encode_helper()
72 *dst++ = duk_base64_enctab[t >> 10]; /* XXXXXX-- -------- */ in duk__base64_encode_helper()
[all …]
Dduk_bi_array.c2 * Array built-ins
4 * Note that most Array built-ins are intentionally generic and work even
15 * where one needs a full signed 32-bit range ([-0xffffffff, 0xffffffff],
16 * i.e. -33- bits). Although array 'length' cannot be written to be outside
17 * the unsigned 32-bit range (E5.1 Section 15.4.5.1 throws a RangeError if so)
24 * duk_uint32_t (which is somewhat awkward). See test-bi-array-push-maxlen.js.
35 * "put" is used when modifying an existing array (or a non-array 'this'
51 /* Shared entry code for many Array built-ins. Note that length is left
58 duk_get_prop_stridx(ctx, -1, DUK_STRIDX_LENGTH); in duk__push_this_obj_len_u32()
59 len = duk_to_uint32(ctx, -1); in duk__push_this_obj_len_u32()
[all …]
Dduk_util_hashprime.c4 * Uses a table of successive 32-bit primes whose ratio is roughly
6 * and the data size small. A simple 'predict-correct' compression is
27 4, 3, 4, 1, 4, 1, 1, 2, 2, 2, 2, 1, 6, 6, 9, 5, 1, 2, 2, 5, 1, 3, 3, 3,
28 5, 4, 4, 2, 4, 8, 3, 4, 23, 2, 4, 7, 8, 11, 2, 12, 15, 10, 1, 1, 5, 1, 5,
31 22, 6, 15, 27, 4, 2, 17, 28, 8, 9, 4, 5, 8, 3, 3, 8, 37, 11, 15, 8, 30,
34 -1
41 2, 3, 5, 7, 11, 13, 19, 31, 41, 47, 59, 67, 73, 79, 89, 101, 103, 107,
53 /* may happen if size is very close to 2^32-1 */ in duk_util_get_hash_prime()
57 /* prediction: portable variant using doubles if 64-bit values not available */ in duk_util_get_hash_prime()
61 /* 32-bit x 11-bit = 43-bit, fits accurately into a double */ in duk_util_get_hash_prime()
Dduk_js_bytecode.h12 * !3!3!2!2!2!2!2!2!2!2!2!2!1!1!1!1!1!1!1!1!1!1! ! ! ! ! ! ! ! ! ! !
13 * !1!0!9!8!7!6!5!4!3!2!1!0!9!8!7!6!5!4!3!2!1!0!9!8!7!6!5!4!3!2!1!0!
14 * +---------------------------------------------------+-----------+
16 * +---------------------------------------------------+-----------+
81 #define DUK_OP_LDINT 3
144 /* DUK_OP_EXTRA, sub-operation in A */
148 #define DUK_EXTRAOP_LDUNDEF 3
188 #define DUK_BC_TRYCATCH_FLAG_WITH_BINDING (1 << 3)
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_api_codec.c4 * These are in-place operations which may allow an optimized implementation.
6 * Base-64: https://tools.ietf.org/html/rfc4648#section-4
30 n_full = srclen / 3; /* full 3-byte -> 4-char conversions */ in duk__base64_encode_helper()
31 n_full3 = n_full * 3; in duk__base64_encode_helper()
32 n_final = srclen - n_full3; in duk__base64_encode_helper()
52 dst[3] = duk_base64_enctab[src[2] & 0x3f]; in duk__base64_encode_helper()
53 src += 3; dst += 4; in duk__base64_encode_helper()
62 *dst++ = duk_base64_enctab[t >> 2]; /* XXXXXX-- */ in duk__base64_encode_helper()
63 *dst++ = duk_base64_enctab[(t << 4) & 0x3f]; /* ------XX */ in duk__base64_encode_helper()
72 *dst++ = duk_base64_enctab[t >> 10]; /* XXXXXX-- -------- */ in duk__base64_encode_helper()
[all …]
Dduk_bi_array.c2 * Array built-ins
4 * Note that most Array built-ins are intentionally generic and work even
15 * where one needs a full signed 32-bit range ([-0xffffffff, 0xffffffff],
16 * i.e. -33- bits). Although array 'length' cannot be written to be outside
17 * the unsigned 32-bit range (E5.1 Section 15.4.5.1 throws a RangeError if so)
24 * duk_uint32_t (which is somewhat awkward). See test-bi-array-push-maxlen.js.
35 * "put" is used when modifying an existing array (or a non-array 'this'
51 /* Shared entry code for many Array built-ins. Note that length is left
58 duk_get_prop_stridx(ctx, -1, DUK_STRIDX_LENGTH); in duk__push_this_obj_len_u32()
59 len = duk_to_uint32(ctx, -1); in duk__push_this_obj_len_u32()
[all …]
Dduk_util_hashprime.c4 * Uses a table of successive 32-bit primes whose ratio is roughly
6 * and the data size small. A simple 'predict-correct' compression is
27 4, 3, 4, 1, 4, 1, 1, 2, 2, 2, 2, 1, 6, 6, 9, 5, 1, 2, 2, 5, 1, 3, 3, 3,
28 5, 4, 4, 2, 4, 8, 3, 4, 23, 2, 4, 7, 8, 11, 2, 12, 15, 10, 1, 1, 5, 1, 5,
31 22, 6, 15, 27, 4, 2, 17, 28, 8, 9, 4, 5, 8, 3, 3, 8, 37, 11, 15, 8, 30,
34 -1
41 2, 3, 5, 7, 11, 13, 19, 31, 41, 47, 59, 67, 73, 79, 89, 101, 103, 107,
53 /* may happen if size is very close to 2^32-1 */ in duk_util_get_hash_prime()
57 /* prediction: portable variant using doubles if 64-bit values not available */ in duk_util_get_hash_prime()
61 /* 32-bit x 11-bit = 43-bit, fits accurately into a double */ in duk_util_get_hash_prime()
Dduk_js_bytecode.h12 * !3!3!2!2!2!2!2!2!2!2!2!2!1!1!1!1!1!1!1!1!1!1! ! ! ! ! ! ! ! ! ! !
13 * !1!0!9!8!7!6!5!4!3!2!1!0!9!8!7!6!5!4!3!2!1!0!9!8!7!6!5!4!3!2!1!0!
14 * +---------------------------------------------------+-----------+
16 * +---------------------------------------------------+-----------+
81 #define DUK_OP_LDINT 3
144 /* DUK_OP_EXTRA, sub-operation in A */
148 #define DUK_EXTRAOP_LDUNDEF 3
188 #define DUK_BC_TRYCATCH_FLAG_WITH_BINDING (1 << 3)
/civetweb-2.7.6/src/
Dmod_lua_shared.inl37 * This function must be called before all other functions. Not thread-safe. */
54 * This function should be called for cleanup. Not thread-safe. */
76 lua_rawget(L_shared, -2);
77 ret = lua_tonumber(L_shared, -1);
88 lua_rawset(L_shared, -3);
90 lua_pop(L_shared, 3);
129 double ret = shared_locked_add(sym, symlen, -1.0, 1);
147 lua_rawget(L_shared, -2);
148 ret = lua_tonumber(L_shared, -1);
153 lua_rawset(L_shared, -3);
[all …]
Dsha1.inl2 SHA-1 in C
3 By Steve Reid <sreid@sea-to-sky.net>
6 -----------------
23 greater than 8191 (8K - 1) due to the 'len << 3' on line 3 of SHA1Update().
26 be guaranteed to generate the wrong hash (e.g. Test Vector #3, a million
36 --
40 3. Changed exit(0) to return(0) at end of main.
43 -----------------
45 By Steve Reid <sreid@sea-to-sky.net>
48 1- Removed #include <process.h> and used return() instead of exit()
[all …]
Dmd5.inl27 2002-04-13 lpd Removed support for non-ANSI compilers; removed
30 1999-11-04 lpd Edited comments slightly for automatic TOC extraction.
31 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5);
34 1999-05-03 lpd Original version.
41 * This package supports both compile-time and run-time determination of CPU
43 * compiled to run only on little-endian CPUs; if ARCH_IS_BIG_ENDIAN is
44 * defined as non-zero, the code will be compiled to run only on big-endian
46 * run on either big- or little-endian CPUs, but will run slightly less
50 typedef unsigned char md5_byte_t; /* 8-bit byte */
51 typedef unsigned int md5_word_t; /* 32-bit word */
[all …]
Dmod_lua.inl54 static const char lua_regkey_lsp_include_history = 3;
81 lua_rawset(L, -3);
95 lua_rawset(L, -3);
108 lua_rawset(L, -3);
118 lua_rawset(L, -3);
132 lua_rawset(L, -3);
142 lua_rawset(L, -3);
164 lua_tostring(L, -1));
171 lua_tostring(L, -1));
190 lua_tostring(L, -1));
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/doc/
Dlua.css2 background-color: #F8F8F8 ;
6 background-color: #FFFFFF ;
8 font-family: Helvetica, Arial, sans-serif ;
9 text-align: justify ;
10 line-height: 1.25 ;
14 border-radius: 20px ;
15 max-width: 70em ;
21 font-family: Verdana, Geneva, sans-serif ;
22 font-weight: normal ;
23 font-style: normal ;
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/debugger/
Dduk_debug_proxy.js5 * Node.js-based proxy in duk_debug.js. DukLuv is a much smaller dependency
91 while (data.length - dataOff < buf.length) {
92 log.debug('Resize file read buffer:', data.length, '->', data.length * 2);
228 while (data.length > this.incoming.length - this.incomingOffset) {
262 log.info('PROXY --> CLIENT:', JSON.stringify(msg));
302 for (; idx < dvalues.length - 1; idx++) {
342 // In non-lenient mode drop the connection here; if the failed line
357 this.incomingOffset -= i + 1;
368 log.info('PROXY <-- CLIENT:', JSON.stringify(msg));
462 buf = new Uint8Array(3 + len);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/debugger/
Dduk_debug_proxy.js5 * Node.js-based proxy in duk_debug.js. DukLuv is a much smaller dependency
91 while (data.length - dataOff < buf.length) {
92 log.debug('Resize file read buffer:', data.length, '->', data.length * 2);
228 while (data.length > this.incoming.length - this.incomingOffset) {
262 log.info('PROXY --> CLIENT:', JSON.stringify(msg));
302 for (; idx < dvalues.length - 1; idx++) {
342 // In non-lenient mode drop the connection here; if the failed line
357 this.incomingOffset -= i + 1;
368 log.info('PROXY <-- CLIENT:', JSON.stringify(msg));
462 buf = new Uint8Array(3 + len);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/debug-trans-dvalue/
Dduk_trans_dvalue.c10 * - Callbacks to "received dvalue" callback come from the Duktape thread,
13 * - Calls into duk_trans_dvalue_send() must be made from the callbacks
17 * - The only exception to this is when Duktape is idle: you can then call
55 dv->buf = NULL; in duk_dvalue_alloc()
62 free(dv->buf); /* tolerates NULL */ in duk_dvalue_free()
63 dv->buf = NULL; in duk_dvalue_free()
72 limit = dv->len > maxbytes ? maxbytes : dv->len; in duk__dvalue_bufesc()
74 unsigned char c = dv->buf[i]; in duk__dvalue_bufesc()
88 if (dv->len > maxbytes) { in duk__dvalue_bufesc()
90 buf += 3; in duk__dvalue_bufesc()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/debug-trans-dvalue/
Dduk_trans_dvalue.c10 * - Callbacks to "received dvalue" callback come from the Duktape thread,
13 * - Calls into duk_trans_dvalue_send() must be made from the callbacks
17 * - The only exception to this is when Duktape is idle: you can then call
55 dv->buf = NULL; in duk_dvalue_alloc()
62 free(dv->buf); /* tolerates NULL */ in duk_dvalue_free()
63 dv->buf = NULL; in duk_dvalue_free()
72 limit = dv->len > maxbytes ? maxbytes : dv->len; in duk__dvalue_bufesc()
74 unsigned char c = dv->buf[i]; in duk__dvalue_bufesc()
88 if (dv->len > maxbytes) { in duk__dvalue_bufesc()
90 buf += 3; in duk__dvalue_bufesc()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dldblib.c78 lua_setfield(L, -2, i); in settabss()
84 lua_setfield(L, -2, i); in settabsi()
90 lua_setfield(L, -2, i); in settabsb()
108 lua_pushvalue(L, -2); in treatstackoption()
109 lua_remove(L, -3); in treatstackoption()
113 lua_setfield(L, -2, fname); in treatstackoption()
122 checkstack(L, L1, 3); in db_getinfo()
131 options = lua_tostring(L, -1); in db_getinfo()
173 int nvar = luaL_checkint(L, arg+2); /* local-variable index */ in db_getlocal()
179 else { /* stack-level argument */ in db_getlocal()
[all …]
/civetweb-2.7.6/src/third_party/
Dlfs.c16 ** lfs.symlinkattributes (filepath [, attributename]) -- thanks to Sam Roberts
30 #define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
71 #define LFS_VERSION "1.6.3"
150 return 3; in pusherror()
155 if (i==-1) in pushresult()
229 … http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__locking.asp in _file_lock()
261 return (code != -1); in _file_lock()
291 lock->fd = fd; in lfs_lock_dir()
293 lua_setmetatable (L, -2); in lfs_lock_dir()
298 if(lock->fd != INVALID_HANDLE_VALUE) { in lfs_unlock_dir()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dldblib.c109 lua_setfield(L, -2, k); in settabss()
114 lua_setfield(L, -2, k); in settabsi()
119 lua_setfield(L, -2, k); in settabsb()
132 lua_rotate(L, -2, 1); /* exchange object and table */ in treatstackoption()
135 lua_setfield(L, -2, fname); /* put object into table */ in treatstackoption()
150 checkstack(L, L1, 3); in db_getinfo()
198 int nvar = (int)luaL_checkinteger(L, arg + 2); /* local-variable index */ in db_getlocal()
204 else { /* stack-level argument */ in db_getlocal()
213 lua_rotate(L, -2, 1); /* re-order */ in db_getlocal()
233 luaL_checkany(L, arg+3); in db_setlocal()
[all …]

12345678910>>...14