Home
last modified time | relevance | path

Searched +full:- +full:lp (Results 1 – 13 of 13) sorted by relevance

/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlstrlib.c3 ** Standard library for string operations and pattern-matching
25 ** pattern-matching. This limit is arbitrary.
48 else if (0u - (size_t)pos > len) return 0; in posrelat()
49 else return len - ((size_t)-pos) + 1; in posrelat()
57 size_t end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
61 lua_pushlstring(L, s + start - 1, end - start + 1); in str_sub()
73 p[i] = s[l - i - 1]; in str_reverse()
117 size_t totallen = n * l + (n - 1) * lsep; in str_rep()
120 while (n-- > 1) { /* first n-1 copies (followed by separator) */ in str_rep()
142 n = (int)(pose - posi + 1); in str_byte()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlstrlib.c3 ** Standard library for string operations and pattern-matching
30 ** pattern-matching. This limit is arbitrary, but must fit in
65 else if (0u - (size_t)pos > len) return 0; in posrelat()
74 lua_Integer end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
78 lua_pushlstring(L, s + start - 1, (size_t)(end - start) + 1); in str_sub()
90 p[i] = s[l - i - 1]; in str_reverse()
131 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep()
134 while (n-- > 1) { /* first n-1 copies (followed by separator) */ in str_rep()
157 if (pose - posi >= INT_MAX) /* arithmetic overflow? */ in str_byte()
159 n = (int)(pose - posi) + 1; in str_byte()
[all …]
/civetweb-2.7.6/docs/
DUserManual.md5 It may be embedded into C/C++ host applications or used as a stand-alone
9 The stand-alone server is self-contained, and does not require any external
11 [Visual C++ Redistributable](http://www.microsoft.com/en-us/download/details.aspx?id=30679).
15 ----
17 On Windows, UNIX and Mac, the CivetWeb stand-alone executable may be started
24 Pressing `Ctrl-C` keys will stop the server.
27 Right-clicking on the icon pops up a menu, where it is possible to stop
33 to this folder, double-click the exe, and launch a browser at
54 All command line arguments must start with `-`.
57 `CivetWeb -document_root D:\web`. Then the `D:\web` directory will be served
[all …]
/civetweb-2.7.6/test/ajax/
Decho.lp2 -- This *.lp file simply runs the *.lua file in the same directory.
3 n = string.match(mg.request_info.uri, "^(.*)%.lp$")
Dtest.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
7 <!--
23 if (testType == "cgi") testType = "lp";
24 else if (testType == "lp") testType = "lua";
81 --pendingCount;
98 //-->
/civetweb-2.7.6/test/
Dpage3.lp2 Content-Type: text/html
11 script = string.gsub(mg.script_name, "page3.lp$", "page2.lp")
Dpage3a.lp2 Content-Type: text/html
11 script = "test/page2.lp"
Dpage3r.lp2 Content-Type: text/html
11 script = "page2.lp"
Dpage3v.lp2 Content-Type: text/html
11 script = "page2.lp"
/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 …]
/civetweb-2.7.6/src/
Dmod_lua.inl81 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));
206 if ((num_args == 1) && lua_istable(L, -1)) {
[all …]
Dcivetweb.c1 /* Copyright (c) 2013-2018 the Civetweb developers
2 * Copyright (c) 2004-2013 Sergey Lyubka
33 /* Disable unused macros warnings - not all defines are required
35 #pragma GCC diagnostic ignored "-Wunused-macros"
37 #pragma GCC diagnostic ignored "-Wpadded"
45 #pragma GCC diagnostic ignored "-Wreserved-id-macro"
52 #if !defined(_WIN32_WINNT) /* defined for tdm-gcc so we can use getnameinfo */
70 #define _FILE_OFFSET_BITS 64 /* Use 64-bit file offsets by default */
88 /* Enable reserved-id-macro warning again. */
102 /* non-constant aggregate initializer: issued due to missing C99 support */
[all …]
/civetweb-2.7.6/src/third_party/
Dsqlite3.c17 ** language. The code for the "sqlite3" command-line shell is also in a
38 ** This file implements routines used to report what compile-time options
46 ** autoconf-based build
59 ** An array of names of all compile-time options. This array should
60 ** be sorted A-Z.
63 ** only a handful of compile-time options, so most times this array is usually
99 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__) "."
103 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER),
105 "COMPILER=gcc-" __VERSION__,
800 ** NO_TEST - The branches on this line are not
[all …]