Home
last modified time | relevance | path

Searched +full:- +full:- +full:prefix (Results 1 – 25 of 66) sorted by relevance

123

/civetweb-2.7.6/src/third_party/lua-5.1.5/etc/
Dlua.pc1 # lua.pc -- pkg-config data for Lua
10 # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
11 prefix= /usr/local
12 INSTALL_BIN= ${prefix}/bin
13 INSTALL_INC= ${prefix}/include
14 INSTALL_LIB= ${prefix}/lib
15 INSTALL_MAN= ${prefix}/man/man1
16 INSTALL_LMOD= ${prefix}/share/lua/${V}
17 INSTALL_CMOD= ${prefix}/lib/lua/${V}
20 exec_prefix=${prefix}
[all …]
/civetweb-2.7.6/
DMakefile3 # License http://opensource.org/licenses/mit-license.php MIT License
10 include resources/Makefile.in-os
19 # http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
20 PREFIX ?= /usr/local macro
21 EXEC_PREFIX = $(PREFIX)
23 DATAROOTDIR = $(PREFIX)/share
25 SYSCONFDIR ?= $(PREFIX)/etc
27 INCLUDEDIR = $(DESTDIR)$(PREFIX)/include
32 MKDIR = mkdir -p
33 RMF = rm -f
[all …]
/civetweb-2.7.6/src/
DCMakeLists.txt6 add_library(civetweb-c-library ${LIB_TYPE} civetweb.c)
7 set_target_properties(civetweb-c-library PROPERTIES
14 …target_compile_definitions(civetweb-c-library PRIVATE CIVETWEB_DLL_EXPORTS INTERFACE CIVETWEB_DLL_…
17 civetweb-c-library PUBLIC
20 TARGETS civetweb-c-library
21 EXPORT ${PROJECT_NAME}-targets
25 COMPONENT civetweb-c-library
30 COMPONENT civetweb-c-library)
35 target_link_libraries(civetweb-c-library WINSOCK::WINSOCK)
40 target_link_libraries(civetweb-c-library ${CMAKE_THREAD_LIBS_INIT})
[all …]
/civetweb-2.7.6/docs/
DBuilding.md4 This guide covers the build instructions for the stand-alone web server.
17 ---------
25 #### Using MinGW-w64 or TDM-GCC
26 In the start menu locate and run the "Run terminal" batch file. For TDM-GCC this is named "MinGW Co…
29 mingw32-make CC=gcc
41 ---------
87 | --------------------------- | ------------------------------------------------- |
89 | `WITH_DUKTAPE=1` | build with server-side JavaScript support |
104 | `PREFIX=/usr/local` | sets the install directory |
105 | `COPT='-DNO_SSL'` | method to insert compile flags |
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/cmdline/
Dduk_cmdline.c4 * To enable linenoise and other fancy stuff, compile with -DDUK_CMDLINE_FANCY.
145 if (!duk_is_object(ctx, -1)) { in get_stack_raw()
148 if (!duk_has_prop_string(ctx, -1, "stack")) { in get_stack_raw()
151 if (!duk_is_error(ctx, -1)) { in get_stack_raw()
156 duk_get_prop_string(ctx, -1, "stack"); /* caller coerces */ in get_stack_raw()
157 duk_remove(ctx, -2); in get_stack_raw()
168 fprintf(f, "%s\n", duk_safe_to_string(ctx, -1)); in print_pop_error()
190 src_data = (const char *) duk_require_pointer(ctx, -3); in wrapped_compile_execute()
191 src_len = (duk_size_t) duk_require_uint(ctx, -2); in wrapped_compile_execute()
196 duk_to_buffer(ctx, -1, NULL); in wrapped_compile_execute()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/cmdline/
Dduk_cmdline.c4 * To enable linenoise and other fancy stuff, compile with -DDUK_CMDLINE_FANCY.
145 if (!duk_is_object(ctx, -1)) { in get_stack_raw()
148 if (!duk_has_prop_string(ctx, -1, "stack")) { in get_stack_raw()
151 if (!duk_is_error(ctx, -1)) { in get_stack_raw()
156 duk_get_prop_string(ctx, -1, "stack"); /* caller coerces */ in get_stack_raw()
157 duk_remove(ctx, -2); in get_stack_raw()
168 fprintf(f, "%s\n", duk_safe_to_string(ctx, -1)); in print_pop_error()
190 src_data = (const char *) duk_require_pointer(ctx, -3); in wrapped_compile_execute()
191 src_len = (duk_size_t) duk_require_uint(ctx, -2); in wrapped_compile_execute()
196 duk_to_buffer(ctx, -1, NULL); in wrapped_compile_execute()
[all …]
/civetweb-2.7.6/include/
DCivetServer.h1 /* Copyright (c) 2013-2017 the Civetweb developers
4 * License http://opensource.org/licenses/mit-license.php MIT License
64 * @param server - the calling server
65 * @param conn - the connection information
73 * @param server - the calling server
74 * @param conn - the connection information
82 * @param server - the calling server
83 * @param conn - the connection information
91 * @param server - the calling server
92 * @param conn - the connection information
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlobject.c33 ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if
43 return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb()
51 else return ((x & 7) + 8) << (e - 1); in luaO_fb2int()
67 x--; in luaO_ceillog2()
88 if (lisdigit(c)) return c - '0'; in luaO_hexavalue()
89 else return ltolower(c) - 'a' + 10; in luaO_hexavalue()
99 if (**s == '-') { (*s)++; return 1; } in isneg()
135 e *= -4; /* each fractional digit divides value by 2^-4 */ in lua_strx2number()
145 exp1 = exp1 * 10 + *(s++) - '0'; in lua_strx2number()
146 if (neg1) exp1 = -exp1; in lua_strx2number()
[all …]
/civetweb-2.7.6/ci/travis/
Dsetup_lua.sh2 set -ev
25 LUA_BASE=lua-$LUA_VERSION
26 rm -rf $LUA_BASE
36 rm -rf $LUA_DIR
45 LUAROCKS_BASE=luarocks-$LUAROCKS_VERSION
46 rm -rf ${LUAROCKS_BASE}
48 # -L because it's a 302 redirect
49 curl -L $LUAROCKS_URL | tar xzp
53 ./configure --prefix=$LUA_DIR
59 rm -rf $LUAROCKS_BASE
[all …]
/civetweb-2.7.6/distribution/arch/
DPKGBUILD.git.example4 pkgname=$_pkgname-git
7 pkgdesc="Small and quick-to-use web server; https/php/cgi support; MIT license - git development ve…
14 optdepends=('php-cgi: for php support')
23 git describe --tags | sed 's|-|.|g'
33 make install PREFIX="$pkgdir/usr" SYSCONFDIR="$pkgdir/etc/local/$_pkgname"
35 …install -Dm644 "$srcdir/$_pkgname/distribution/arch/$_pkgname.service" "$pkgdir/usr/lib/systemd/sy…
37 …sed -i "s/^document_root [^\n]*/document_root \/srv\/http/g" "$pkgdir/etc/local/$_pkgname/$_pkgnam…
38 …sed -i "s/^# access_log_file/access_log_file \/var\/log\/$_pkgname\/access.log/g" "$pkgdir/etc/loc…
39 …sed -i "s/^# error_log_file/access_log_file \/var\/log\/$_pkgname\/error.log/g" "$pkgdir/etc/local…
/civetweb-2.7.6/contrib/buildroot/
Dcivetweb.mk13 CIVETWEB_COPT = $(TARGET_CFLAGS) -DHAVE_POSIX_FALLOCATE=0
19 CIVETWEB_COPT += -DSQLITE_DISABLE_LFS
31 CIVETWEB_COPT += -DNO_SSL_DL -lcrypt -lssl
34 CIVETWEB_COPT += -DNO_SSL
38 $(MAKE) CC="$(TARGET_CC)" -C $(@D) build \
44 $(MAKE) CC="$(TARGET_CC)" -C $(@D) install \
49 PREFIX="$(TARGET_DIR)/usr" \
54 $(eval $(generic-package))
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_numconv.h5 * Number-to-string conversion. The semantics of these is very tightly
31 * String-to-number conversion
70 /* Allow leading zeroes (e.g. "0123" -> "123") */
73 /* Allow automatic detection of hex base ("0x" or "0X" prefix),
Dduk_heap_hashstring.c49 duk_uint32_t str_seed = heap->hash_seed ^ ((duk_uint32_t) len); in duk_heap_hashstring()
68 duk_size_t left = len - off; in duk_heap_hashstring()
77 * against a hash stored in a 16-bit field. in duk_heap_hashstring()
102 * more often in the suffix than in the prefix. in duk_heap_hashstring()
105 hash = heap->hash_seed ^ ((duk_uint32_t) len); /* Bernstein hash init value is normally 5381 */ in duk_heap_hashstring()
107 for (off = len; off >= step; off -= step) { in duk_heap_hashstring()
109 hash = (hash * 33) + str[off - 1]; in duk_heap_hashstring()
114 * against a hash stored in a 16-bit field. in duk_heap_hashstring()
Dduk_strings.h4 * Error messages are accessed through macros with fine-grained, explicit
13 * be followed by format arguments), they have a special prefix (DUK_STR_FMT_
Dduk_hbuffer.h26 #define DUK_HBUFFER_HAS_DYNAMIC(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
27 #define DUK_HBUFFER_HAS_EXTERNAL(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
29 #define DUK_HBUFFER_SET_DYNAMIC(x) DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_…
30 #define DUK_HBUFFER_SET_EXTERNAL(x) DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_…
32 #define DUK_HBUFFER_CLEAR_DYNAMIC(x) DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
33 #define DUK_HBUFFER_CLEAR_EXTERNAL(x) DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
63 #define DUK_HBUFFER_GET_SIZE(x) ((x)->hdr.h_flags >> 16)
68 (x)->hdr.h_flags = ((x)->hdr.h_flags & 0x0000ffffUL) | (((duk_uint32_t) duk__v) << 16); \
71 (x)->hdr.h_flags += ((dv) << 16); \
74 (x)->hdr.h_flags -= ((dv) << 16); \
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_numconv.h5 * Number-to-string conversion. The semantics of these is very tightly
31 * String-to-number conversion
70 /* Allow leading zeroes (e.g. "0123" -> "123") */
73 /* Allow automatic detection of hex base ("0x" or "0X" prefix),
Dduk_heap_hashstring.c49 duk_uint32_t str_seed = heap->hash_seed ^ ((duk_uint32_t) len); in duk_heap_hashstring()
68 duk_size_t left = len - off; in duk_heap_hashstring()
77 * against a hash stored in a 16-bit field. in duk_heap_hashstring()
102 * more often in the suffix than in the prefix. in duk_heap_hashstring()
105 hash = heap->hash_seed ^ ((duk_uint32_t) len); /* Bernstein hash init value is normally 5381 */ in duk_heap_hashstring()
107 for (off = len; off >= step; off -= step) { in duk_heap_hashstring()
109 hash = (hash * 33) + str[off - 1]; in duk_heap_hashstring()
114 * against a hash stored in a 16-bit field. in duk_heap_hashstring()
Dduk_strings.h4 * Error messages are accessed through macros with fine-grained, explicit
13 * be followed by format arguments), they have a special prefix (DUK_STR_FMT_
/civetweb-2.7.6/test/
DMakefileTest.mk3 # License http://opensource.org/licenses/mit-license.php MIT License
11 include $(TOP)/resources/Makefile.in-os
27 $(MAKE) -C $(TOP) -f Makefile.osx clean package
31 $(MAKE) -C $(TOP)/examples/embedded_c clean all
32 $(MAKE) -C $(TOP)/examples/embedded_c clean
34 $(MAKE) -C $(TOP)/examples/embedded_cpp clean all
35 $(MAKE) -C $(TOP)/examples/embedded_cpp clean
37 $(MAKE) -C $(TOP)/examples/chat clean all
38 $(MAKE) -C $(TOP)/examples/chat clean
40 $(MAKE) -C $(TOP)/examples/hello clean all
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/
DMakefile21 # How to install. If your install program does not support "-p", then
23 INSTALL= install -p
24 INSTALL_EXEC= $(INSTALL) -m 0755
25 INSTALL_DATA= $(INSTALL) -m 0644
28 # INSTALL= cp -p
33 MKDIR= mkdir -p
34 RM= rm -f
36 # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
58 src/lua -v
86 @cd src && $(MAKE) -s echo
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/
DMakefile21 # How to install. If your install program does not support "-p", then
23 INSTALL= install -p
24 INSTALL_EXEC= $(INSTALL) -m 0755
25 INSTALL_DATA= $(INSTALL) -m 0644
28 # INSTALL= cp -p
33 MKDIR= mkdir -p
34 RM= rm -f
36 # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
58 src/lua -v
86 @cd src && $(MAKE) -s echo
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlapi.c39 /* value at a non-valid index */
61 CallInfo *ci = L->ci; in index2addr()
63 TValue *o = ci->func + idx; in index2addr()
64 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); in index2addr()
65 if (o >= L->top) return NONVALIDVALUE; in index2addr()
69 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2addr()
70 return L->top + idx; in index2addr()
73 return &G(L)->l_registry; in index2addr()
75 idx = LUA_REGISTRYINDEX - idx; in index2addr()
77 if (ttislcf(ci->func)) /* light C function? */ in index2addr()
[all …]
Dlobject.c38 ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if
52 return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb()
58 return (x < 8) ? x : ((x & 7) + 8) << ((x >> 3) - 1); in luaO_fb2int()
66 static const lu_byte log_2[256] = { /* log_2[i] = ceil(log2(i - 1)) */ in luaO_ceillog2()
77 x--; in luaO_ceillog2()
87 case LUA_OPSUB:return intop(-, v1, v2); in intarith()
95 case LUA_OPSHR: return luaV_shiftl(v1, -v2); in intarith()
96 case LUA_OPUNM: return intop(-, 0, v1); in intarith()
159 luaT_trybinTM(L, p1, p2, res, cast(TMS, (op - LUA_OPADD) + TM_ADD)); in luaO_arith()
164 if (lisdigit(c)) return c - '0'; in luaO_hexavalue()
[all …]
Dlauxlib.c43 ** search for 'objidx' in table at index -1.
47 if (level == 0 || !lua_istable(L, -1)) in findfield()
50 while (lua_next(L, -2)) { /* for each pair in table */ in findfield()
51 if (lua_type(L, -2) == LUA_TSTRING) { /* ignore non-string keys */ in findfield()
52 if (lua_rawequal(L, objidx, -1)) { /* found object? */ in findfield()
56 else if (findfield(L, objidx, level - 1)) { /* try recursively */ in findfield()
57 lua_remove(L, -2); /* remove table (but keep name) */ in findfield()
59 lua_insert(L, -2); /* place '.' between the two names */ in findfield()
78 const char *name = lua_tostring(L, -1); in pushglobalfuncname()
80 lua_pushstring(L, name + 3); /* push name without prefix */ in pushglobalfuncname()
[all …]
/civetweb-2.7.6/unittest/
DCMakeLists.txt13 # ${CIVETWEB_THIRD_PARTY_DIR}/src/check-unit-test-framework/CMakeLists.txt
19 ExternalProject_Add(check-unit-test-framework
20 DEPENDS civetweb-c-library
32 PREFIX "${CIVETWEB_THIRD_PARTY_DIR}"
36 "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
37 "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}"
38 "-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>"
46 ExternalProject_Get_Property(check-unit-test-framework INSTALL_DIR)
70 add_library(shared-c-unit-tests STATIC shared.c)
72 shared-c-unit-tests PUBLIC
[all …]

123