Home
last modified time | relevance | path

Searched +full:- +full:c (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/civetweb-2.7.6/src/
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().
36 --
37 I also corrected a few compiler warnings generated by Borland C.
43 -----------------
45 By Steve Reid <sreid@sea-to-sky.net>
48 1- Removed #include <process.h> and used return() instead of exit()
49 2- Fixed overwriting of finalcount in SHA1Final() (discovered by Chris Hall)
[all …]
Dmd5.inl2 * This an amalgamation of md5.c and md5.h into a single file
27 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);
32 added conditionalization for C++ compilation from Martin
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
[all …]
DCMakeLists.txt1 # The C API library
6 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)
[all …]
/civetweb-2.7.6/docs/
DEmbedding.md5 For example, a C/C++ application could use CivetWeb to enable a web service and configuration inter…
7-alone executable. It can deliver static files and offers built-in server side Lua, JavaScript and…
11 ------
18C++ where it means "inline" code which is technically not the same as static code. CivetWeb overlo…
25 - HTTP server API
26 - include/civetweb.h
27 - C implementation
28 - src/civetweb.c
29 - src/md5.inl (MD5 calculation)
30 - src/sha1.inl (SHA calculation)
[all …]
DyaSSL.md9 … CivetWeb are tested using [OpenSSL](OpenSSL.md). CivetWeb uses the OpenSSL API functions - wolfSSL
14 ----
16 - Download Cayssl at https://www.wolfssl.com (formerly http://www.yassl.com/)
17 - Extract the zip file
18 - To make this seemless, extract to a directory parallel to with Civetweb is
22 If you download cyaSSL to cyassl-2.7.0 in a directory parallel to Civetweb, you can open the *VS/ci…
25 ----
28 - *cyassl_directory*\
29 - *cyassl_directory*\cyassl\
32 - USE_YASSL
[all …]
/civetweb-2.7.6/unittest/
DCMakeLists.txt8 # We use the check unit testing framework for our C unit tests
13 # ${CIVETWEB_THIRD_PARTY_DIR}/src/check-unit-test-framework/CMakeLists.txt
19 ExternalProject_Add(check-unit-test-framework
20 DEPENDS civetweb-c-library
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)
69 # Build the C unit tests
70 add_library(shared-c-unit-tests STATIC shared.c)
[all …]
Dtimertest.c1 /* Copyright (c) 2016-2018 the Civetweb developers
34 #pragma GCC diagnostic ignored "-Wunused-function"
40 #include "../src/civetweb.c"
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()
82 int c[10]; in START_TEST() local
84 memset(c, 0, sizeof(c)); in START_TEST()
[all …]
/civetweb-2.7.6/resources/
DMakefile.in-lua2 # Copyright (c) 2013 No Face Press, LLC
3 # Copyright (c) 2014-2017 the Civetweb developers
5 # License http://opensource.org/licenses/mit-license.php MIT License
19 LUA_DIR = src/third_party/lua-5.1.5/src
20 LUA_SHARED_LIB_FLAG = -llua5.1
21 LUA_CFLAGS = -DLUA_VERSION_MAKEFILE=501
26 LUA_DIR = src/third_party/lua-5.2.4/src
27 LUA_SHARED_LIB_FLAG = -llua5.2
28 LUA_CFLAGS = -DLUA_VERSION_MAKEFILE=502
33 LUA_DIR = src/third_party/lua-5.3.5/src
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlopcodes.h19 'C' : 9 bits
20 'Ax' : 26 bits ('A', 'B', and 'C' together)
21 'Bx' : 18 bits ('B' and 'C' together)
26 for that argument (so that -max is represented by 0, and +max is
57 ** so they must fit in LUAI_BITSINT-1 bits (-1 for sign)
59 #if SIZE_Bx < LUAI_BITSINT-1
60 #define MAXARG_Bx ((1<<SIZE_Bx)-1)
67 #if SIZE_Ax < LUAI_BITSINT-1
68 #define MAXARG_Ax ((1<<SIZE_Ax)-1)
74 #define MAXARG_A ((1<<SIZE_A)-1)
[all …]
DMakefile9 CC= gcc -std=gnu99
10 CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
12 LIBS= -lm $(SYSLIBS) $(MYLIBS)
16 RM= rm -f
27 # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
63 $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
66 $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
72 @$(CC) $(CFLAGS) -MM l*.c
92 …$(MAKE) $(ALL) CC="xlc" CFLAGS="-O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN" SYSLIBS="-ldl" SYSLDFLAGS="-
95 $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" SYSLIBS="-Wl,-E"
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/
DINSTALL4 ------------
6 controlled from the top-level Makefile.
23 --------------
53 -------------
55 - Where and how to install Lua -- edit Makefile.
56 - How to build Lua -- edit src/Makefile.
57 - Lua features -- edit src/luaconf.h.
71 -----------------------------------------
77 library: lapi.c lcode.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c
78 lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c
[all …]
/civetweb-2.7.6/examples/_obsolete/docroot/
Djquery.js14 * Date: Sat Feb 13 22:33:48 2010 -0500
16c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}func…
17c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"ev…
18 …{o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).clo…
19c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(v…
20c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragmen…
21 …=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:fu…
22c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1…
23c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector…
24c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);retur…
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlopcodes.h19 `C' : 9 bits
20 'Ax' : 26 bits ('A', 'B', and 'C' together)
21 `Bx' : 18 bits (`B' and `C' together)
26 for that argument (so that -max is represented by 0, and +max is
57 ** so they must fit in LUAI_BITSINT-1 bits (-1 for sign)
59 #if SIZE_Bx < LUAI_BITSINT-1
60 #define MAXARG_Bx ((1<<SIZE_Bx)-1)
67 #if SIZE_Ax < LUAI_BITSINT-1
68 #define MAXARG_Ax ((1<<SIZE_Ax)-1)
74 #define MAXARG_A ((1<<SIZE_A)-1)
[all …]
DMakefile10 CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS)
12 LIBS= -lm $(SYSLIBS) $(MYLIBS)
16 RM= rm -f
27 # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
63 $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
66 $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
72 @$(CC) $(CFLAGS) -MM l*.c
92 …$(MAKE) $(ALL) CC="xlc" CFLAGS="-O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN" SYSLIBS="-ldl" SYSLDFLAGS="-
95 $(MAKE) $(ALL) SYSCFLAGS="-DLUA_ANSI"
98 $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" SYSLIBS="-Wl,-E"
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlopcodes.h19 `C' : 9 bits
20 `Bx' : 18 bits (`B' and `C' together)
25 for that argument (so that -max is represented by 0, and +max is
54 ** so they must fit in LUAI_BITSINT-1 bits (-1 for sign)
56 #if SIZE_Bx < LUAI_BITSINT-1
57 #define MAXARG_Bx ((1<<SIZE_Bx)-1)
65 #define MAXARG_A ((1<<SIZE_A)-1)
66 #define MAXARG_B ((1<<SIZE_B)-1)
67 #define MAXARG_C ((1<<SIZE_C)-1)
100 #define GETARG_sBx(i) (GETARG_Bx(i)-MAXARG_sBx)
[all …]
DMakefile11 CFLAGS= -O2 -Wall $(MYCFLAGS)
14 RM= rm -f
15 LIBS= -lm $(MYLIBS)
55 $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
58 $(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
64 @$(CC) $(CFLAGS) -MM l*.c print.c
84 …$(MAKE) all CC="xlc" CFLAGS="-O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-ldl" MYLDFLAGS="-brtl
87 $(MAKE) all MYCFLAGS=-DLUA_ANSI
90 $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E"
93 $(MAKE) all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E -lreadline"
[all …]
Dlfunc.c2 ** $Id: lfunc.c,v 2.12.1.2 2007/12/28 14:58:43 roberto Exp $
24 Closure *c = cast(Closure *, luaM_malloc(L, sizeCclosure(nelems))); in luaF_newCclosure() local
25 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newCclosure()
26 c->c.isC = 1; in luaF_newCclosure()
27 c->c.env = e; in luaF_newCclosure()
28 c->c.nupvalues = cast_byte(nelems); in luaF_newCclosure()
29 return c; in luaF_newCclosure()
34 Closure *c = cast(Closure *, luaM_malloc(L, sizeLclosure(nelems))); in luaF_newLclosure() local
35 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newLclosure()
36 c->l.isC = 0; in luaF_newLclosure()
[all …]
/civetweb-2.7.6/VisualStudio/lua_lib/
Dlua_lib.vcxproj.filters1 <?xml version="1.0" encoding="utf-8"?>
5 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
9 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
13 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14 …rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
18 <ClCompile Include="..\..\src\third_party\lsqlite3.c">
21 <ClCompile Include="..\..\src\third_party\sqlite3.c">
24 <ClCompile Include="..\..\src\third_party\lfs.c">
27 <ClCompile Include="..\..\src\third_party\lua-5.2.4\src\lapi.c">
[all …]
Dlua_lib.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{8F5E5D77-D269-4665-9E27-1045DA6CF0D8}</ProjectGuid>
89 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
103 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
119 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
137 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
147 <ClCompile Include="..\..\src\third_party\lfs.c" />
148 <ClCompile Include="..\..\src\third_party\lua-5.2.4\src\lapi.c" />
149 <ClCompile Include="..\..\src\third_party\lua-5.2.4\src\lauxlib.c" />
150 <ClCompile Include="..\..\src\third_party\lua-5.2.4\src\lbaselib.c" />
[all …]
/civetweb-2.7.6/VisualStudio/civetweb_yassl/yassl_lib/
Dyassl_lib.vcxproj.filters1 <?xml version="1.0" encoding="utf-8"?>
5 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
9 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
13 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14 …rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
18 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\aes.c">
21 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\arc4.c">
24 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\asn.c">
27 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\coding.c">
[all …]
Dyassl_lib.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{8C0C878B-BBD6-4241-BCA6-61753FFCC7F1}</ProjectGuid>
88 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
102 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
118 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
136 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
146 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\aes.c" />
147 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\arc4.c" />
148 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\asn.c" />
149 <ClCompile Include="..\..\..\..\cyassl-2.7.0\ctaocrypt\src\coding.c" />
[all …]
/civetweb-2.7.6/test/
DMakefileTest.mk2 # Copyright (c) 2013 No Face Press, LLC
3 # 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
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_selftest.c16 duk_uint8_t c[8]; member
33 duk_uint8_t c[8]; member
85 test = -1; in duk__selftest_twos_complement()
110 u1.c[0] = 0xef; u1.c[1] = 0xbe; u1.c[2] = 0xad; u1.c[3] = 0xde; in duk__selftest_byte_order()
114 u1.c[0] = 0xde; u1.c[1] = 0xad; u1.c[2] = 0xbe; u1.c[3] = 0xef; in duk__selftest_byte_order()
120 u2.c[0] = 0x00; u2.c[1] = 0x00; u2.c[2] = 0xc4; u2.c[3] = 0x6d; in duk__selftest_byte_order()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 0x42; in duk__selftest_byte_order()
123 u2.c[0] = 0x7c; u2.c[1] = 0xc1; u2.c[2] = 0x37; u2.c[3] = 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()
126 u2.c[0] = 0x42; u2.c[1] = 0x37; u2.c[2] = 0xc1; u2.c[3] = 0x7c; in duk__selftest_byte_order()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_selftest.c16 duk_uint8_t c[8]; member
33 duk_uint8_t c[8]; member
85 test = -1; in duk__selftest_twos_complement()
110 u1.c[0] = 0xef; u1.c[1] = 0xbe; u1.c[2] = 0xad; u1.c[3] = 0xde; in duk__selftest_byte_order()
114 u1.c[0] = 0xde; u1.c[1] = 0xad; u1.c[2] = 0xbe; u1.c[3] = 0xef; in duk__selftest_byte_order()
120 u2.c[0] = 0x00; u2.c[1] = 0x00; u2.c[2] = 0xc4; u2.c[3] = 0x6d; in duk__selftest_byte_order()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 0x42; in duk__selftest_byte_order()
123 u2.c[0] = 0x7c; u2.c[1] = 0xc1; u2.c[2] = 0x37; u2.c[3] = 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()
126 u2.c[0] = 0x42; u2.c[1] = 0x37; u2.c[2] = 0xc1; u2.c[3] = 0x7c; in duk__selftest_byte_order()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/doc/
Dreadme.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
10 border-radius: 8px ;
16 word-spacing: 0.25em ;
20 padding-bottom: 0.2em ;
24 font-size: 12pt ;
54 <A HREF="http://www.puc-rio.br/">PUC-Rio</A>,
85 Lua is implemented in pure ANSI C and compiles unmodified in all known
86 platforms that have an ANSI C compiler.
87 Lua also compiles unmodified as C++.
[all …]

12345678910>>...21