/civetweb-2.7.6/src/third_party/lua-5.3.5/src/ |
D | loadlib.c | 80 ** load C library in file 'path'. If 'seeglb', load with all names in 85 static void *lsys_load (lua_State *L, const char *path, int seeglb); 126 static void *lsys_load (lua_State *L, const char *path, int seeglb) { in lsys_load() argument 127 void *lib = dlopen(path, RTLD_NOW | (seeglb ? RTLD_GLOBAL : RTLD_LOCAL)); in lsys_load() 165 ** Replace in the path (on the top of the stack) any occurrence 166 ** of LUA_EXEC_DIR with the executable's path. 176 *lb = '\0'; /* cut name on the last '\\' to get the path */ in setprogdir() 200 static void *lsys_load (lua_State *L, const char *path, int seeglb) { in lsys_load() argument 201 HMODULE lib = LoadLibraryExA(path, NULL, LUA_LLE_FLAGS); in lsys_load() 236 static void *lsys_load (lua_State *L, const char *path, int seeglb) { in lsys_load() argument [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/ |
D | loadlib.c | 51 ** LUA_PATH_SEP is the character that separates templates in a path. 54 ** LUA_EXEC_DIR in a Windows path is replaced by the executable's 112 static void *ll_load (lua_State *L, const char *path, int seeglb); 134 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load() argument 135 void *lib = dlopen(path, RTLD_NOW | (seeglb ? RTLD_GLOBAL : RTLD_LOCAL)); in ll_load() 198 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load() argument 199 HMODULE lib = LoadLibraryExA(path, NULL, LUA_LLE_FLAGS); in ll_load() 234 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load() argument 235 (void)(path); (void)(seeglb); /* not used */ in ll_load() 251 static void *ll_checkclib (lua_State *L, const char *path) { in ll_checkclib() argument [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/ |
D | loadlib.c | 46 static void *ll_load (lua_State *L, const char *path); 68 static void *ll_load (lua_State *L, const char *path) { in ll_load() argument 69 void *lib = dlopen(path, RTLD_NOW); in ll_load() 127 static void *ll_load (lua_State *L, const char *path) { in ll_load() argument 128 HINSTANCE lib = LoadLibraryA(path); in ll_load() 191 static void *ll_load (lua_State *L, const char *path) { in ll_load() argument 199 ret = NSCreateObjectFileImageFromFile(path, &img); in ll_load() 201 NSModule mod = NSLinkModule(img, path, NSLINKMODULE_OPTION_PRIVATE | in ll_load() 244 static void *ll_load (lua_State *L, const char *path) { in ll_load() argument 245 (void)path; /* to avoid warnings */ in ll_load() [all …]
|
/civetweb-2.7.6/docs/ |
D | UserManual.md | 161 Path to a file for access logs. Either full path, or relative to the current 176 It this feature is activated, that /some/path/file.ext might be handled by: 177 1. /some/path/file.ext (with PATH\_INFO='/', if ext = cgi) 178 2. /some/path/index.lua with mg.request\_info.path\_info='/file.ext' 179 3. /some/path/index.cgi with PATH\_INFO='/file.ext' 180 4. /some/path/index.php with PATH\_INFO='/file.ext' 181 5. /some/index.lua with mg.request\_info.path\_info=='/path/file.ext' 182 6. /some/index.cgi with PATH\_INFO='/path/file.ext' 183 7. /some/index.php with PATH\_INFO='/path/file.ext' 184 8. /index.lua with mg.request\_info.path\_info=='/some/path/file.ext' [all …]
|
D | APIReference.md | 84 * [`mg_send_file( conn, path );`](api/mg_send_file.md) 85 * [`mg_send_mime_file( conn, path, mime_type );`](api/mg_send_mime_file.md) 86 * [`mg_send_mime_file2( conn, path, mime_type, additional_headers );`](api/mg_send_mime_file2.md) 93 * [`mg_connect_websocket_client( host, port, use_ssl, error_buffer, error_buffer_size, path, origin… 118 * [`mg_send_file( conn, path );`](api/mg_send_file_body.md) 121 * [`mg_store_body( conn, path );`](api/mg_store_body.md)
|
/civetweb-2.7.6/src/ |
D | handle_form.inl | 28 char *path, argument 63 fdh->field_found(key_dec, filename_dec, path, path_len, fdh->user_data); 140 const char *path, argument 148 return fdh->field_store(path, file_size, fdh->user_data); 177 char path[512]; local 248 memset(path, 0, sizeof(path)); 255 path, 256 sizeof(path) - 1, 285 if (mg_fopen(conn, path, MG_FOPEN_MODE_WRITE, &fstore) == 0) { 296 path); [all …]
|
D | main.c | 366 create_config_file(const struct mg_context *ctx, const char *path) in create_config_file() argument 374 if ((fp = fopen(path, "r")) != NULL) { in create_config_file() 376 } else if ((fp = fopen(path, "a+")) != NULL) { in create_config_file() 801 /* No config file set. No path in arg[0] found. in process_command_line_arguments() 802 * Use default file name in the current path. */ in process_command_line_arguments() 808 /* No config file set. Path to exe found in arg[0]. in process_command_line_arguments() 924 is_path_absolute(const char *path) in is_path_absolute() argument 927 return path != NULL in is_path_absolute() 928 && ((path[0] == '\\' && path[1] == '\\') || /* UNC path, e.g. in is_path_absolute() 930 (isalpha((unsigned char)path[0]) && path[1] == ':' in is_path_absolute() [all …]
|
D | civetweb.c | 508 mg_static_assert(PATH_MAX >= 1, "path length must be a positive number"); 760 const char *path, 854 #define mg_mkdir(conn, path, mode) (mkdir(path, mode)) argument 3122 const char *path, in open_file_in_memory() argument 3139 buf = conn->phys_ctx->callbacks.open_file(conn, path, &size); in open_file_in_memory() 3171 (void)path; in open_file_in_memory() 3182 is_file_in_memory(const struct mg_connection *conn, const char *path) in is_file_in_memory() argument 3184 return open_file_in_memory(conn, path, NULL, MG_FOPEN_MODE_NONE); in is_file_in_memory() 3205 const char *path, 3210 * The input parameter path is a string in UTF-8 encoding. [all …]
|
/civetweb-2.7.6/examples/rest/cJSON/ |
D | cJSON_Utils.c | 101 /* Compare the next path element of two JSON pointers, two NULL pointers are considered unequal: */ 214 …ar*)full_pointer, "/%lu%s", (unsigned long)child_index, target_pointer); /* /<array_index><path> */ in cJSONUtils_FindPointerFromObjectTo() 290 /* follow path of the pointer */ in get_item_from_pointer() 318 /* skip to the next path token or end of string */ in get_item_from_pointer() 405 /* detach an item at the given path */ 406 static cJSON *detach_path(cJSON *object, const unsigned char *path, const cJSON_bool case_sensitive) in detach_path() argument 413 /* copy path and split it in parent and child */ in detach_path() 414 parent_pointer = cJSONUtils_strdup(path); in detach_path() 784 cJSON *path = NULL; in apply_patch() local 792 path = get_object_item(patch, "path", case_sensitive); in apply_patch() [all …]
|
/civetweb-2.7.6/resources/ |
D | check_defines.lua | 62 path = path or "" 63 noifdef(path .. "src/civetweb.c") 64 noifdef(path .. "src/civetweb_private_lua.h") 65 noifdef(path .. "src/main.c") 66 noifdef(path .. "src/md5.inl") 67 noifdef(path .. "src/mod_duktape.inl") 68 noifdef(path .. "src/mod_lua.inl") 69 noifdef(path .. "src/mod_zlib.inl") 70 noifdef(path .. "src/sha1.inl") 71 noifdef(path .. "src/timer.inl") [all …]
|
D | mingw.bat | 2 @rem Adapt path/versions before use 8 @set PATH=%ProgramFiles%\mingw-w64\i686-4.9.2-win32-dwarf-rt_v3-rev1\mingw32\bin;%PATH% variable 9 @set PATH=%ProgramFiles%\GnuWin32\bin;%PATH% variable
|
/civetweb-2.7.6/src/third_party/ |
D | lfs.c | 8 ** lfs.chdir (path) 10 ** lfs.dir (path) 12 ** lfs.lock_dir (path) 13 ** lfs.mkdir (path) 14 ** lfs.rmdir (path) 166 const char *path = luaL_checkstring(L, 1); in change_dir() local 167 if (chdir(path)) { in change_dir() 170 path, chdir_error); in change_dir() 184 char *path; in get_dir() local 187 if ((path = getcwd(buf, LFS_MAXPATHLEN)) == NULL) { in get_dir() [all …]
|
/civetweb-2.7.6/ |
D | appveyor.yml | 309 - cmd: set PATH=%PATH%;C:\OpenSSL-Win32;C:\OpenSSL-Win64 312 - path 316 # Remove sh.exe from the path otherwise CMake will complain: 317 # "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe" 320 # The entire directory containing sh.exe could be removed from the PATH environment: 321 # - set PATH=%PATH:C:\Program Files\Git\usr\bin;=% 322 # However, this will also remove all other programs in this directory from the PATH. 349 # Add the compiler path if needed 350 - if not "%compiler_path%"=="" (set "PATH=%PATH%;%compiler_path%") 352 - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files (x86)\Git\bin=%") [all …]
|
D | build.cmd | 176 set "PATH=!compiler_path!;%PATH%" 185 @endlocal & set "PATH=%PATH%" 356 :: %2 - The file path 391 :find_in_path - Finds a program of file in the PATH 397 @call :log 3 "Searching PATH for %file%" 398 @for %%x in ("%file%") do @set "file_path=%%~f$PATH:x" 439 @for /F "skip=1 tokens=1-6" %%g IN ('wmic Path Win32_UTCTime Get Day^,Hour^,Minute^,Month^,Second^,… 527 :: %1 - the cmake file path 559 :: %1 - the cmake file path 586 :: %1 - the compiler path that should be added to PATH [all …]
|
/civetweb-2.7.6/docs/api/ |
D | mg_form_data_handler.md | 9 |**`field_found`**|**`int field_found( const char *key, const char *filename, char *path, size_t pa… 13 …path`** - This is an output parameter used to store the full name of the file including the path t… 14 ||**`pathlen`** - The length of the buffer where the output path can be stored.| 19 ||**`FORM_FIELD_STORAGE_STORE`** - Store a file as `path` and overwrite that file if it already exi… 30 |**`field_store`**|**`int field_store( const char *path, long long file_size, void *user_data );`**| 32 ||**`path`** - The path on the server where the file was stored|
|
D | mg_start.md | 18 | **`cgi_interpreter`**| *empty* | The option `cgi_interpreter` can contain a path to an executable… 19 …ws system where both PHP and Perl CGI scripts are used, `#!/path/to/php-cgi.exe` and `#!/path/to/p… 20 …erpreter, it is more efficient to set the option `cgi_interpreter` to the path to that executable … 21 …o restrict CGIs to a certain directory, use `/path/to/cgi-bin/**.cgi` as a pattern. Note that the …
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/config/ |
D | genconfig.py | 153 if os.path.isdir(dirname) and '-genconfig' in dirname: 254 # XXX: better plumbing for lookup path 255 sub_fn = os.path.normpath(os.path.join(filename, '..', '..', 'header-snippets', m.group(1))) 309 sn = Snippet.fromFile(os.path.join(self.base_dir, fn)) 505 root, ext = os.path.splitext(fn) 508 with open(os.path.join(dirname, fn), 'rb') as f: 536 root, ext = os.path.splitext(fn) 539 with open(os.path.join(dirname, fn), 'rb') as f: 586 helper_snippets.append(Snippet.fromFile(os.path.join(dirname, fn))) 1035 ret = FileBuilder(base_dir=os.path.join(meta_dir, 'header-snippets'), \ [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/config/ |
D | genconfig.py | 153 if os.path.isdir(dirname) and '-genconfig' in dirname: 254 # XXX: better plumbing for lookup path 255 sub_fn = os.path.normpath(os.path.join(filename, '..', '..', 'header-snippets', m.group(1))) 309 sn = Snippet.fromFile(os.path.join(self.base_dir, fn)) 505 root, ext = os.path.splitext(fn) 508 with open(os.path.join(dirname, fn), 'rb') as f: 536 root, ext = os.path.splitext(fn) 539 with open(os.path.join(dirname, fn), 'rb') as f: 586 helper_snippets.append(Snippet.fromFile(os.path.join(dirname, fn))) 1035 ret = FileBuilder(base_dir=os.path.join(meta_dir, 'header-snippets'), \ [all …]
|
/civetweb-2.7.6/include/ |
D | civetweb.h | 328 file_name: full path name to the uploaded file. */ 749 * passwords_file_name: Path and name of a file storing multiple passwords 909 * path: Full path to the file to send. 912 CIVETWEB_API void mg_send_file(struct mg_connection *conn, const char *path); 920 * path: Full path to the file to send. 926 const char *path); 990 * filename: Path and name of a file storing multiple password hashes. 1009 * path: Full path to the file to send. 1014 const char *path, 1021 path: Full path to the file to send. [all …]
|
/civetweb-2.7.6/test/ |
D | test.pl | 5 use File::Path; 35 File::Path::rmtree($test_dir); 241 my $path = $test_dir . $dir_separator . 'x' . $dir_separator . 'index.cgi'; 242 write_file($path, read_file($root . $dir_separator . 'env.cgi')); 243 chmod(0755, $path); 255 $path = $test_dir . $dir_separator . 'x' . $dir_separator . 'a.cgi'; 257 write_file($path, "#!../../myperl\n" . 259 chmod(0755, $path); 260 o("GET /$test_dir_uri/x/a.cgi HTTP/1.0\n\n", "hi", 'Relative CGI interp path'); 358 'HTTP/1.1 200 OK.+hello', 'CGI script with spaces in path'); [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/ |
D | duk_bi_json.c | 86 * 0x81: slow path 118 /* 0x00: slow path 220 /* This fast path is pretty marginal in practice. in duk__dec_eat_white() 419 /* End of input (NUL) goes through slow path and causes SyntaxError. */ in duk__dec_string() 425 /* Fast path, decode as is. */ in duk__dec_string() 595 /* XXX: Would be nice to share the fast path loop from duk_hex_decode() in duk__dec_buffer() 665 /* This fast path is pretty marginal in practice. in duk__dec_number() 1256 /* slow path is shared */ 1261 /* ascii fast path: avoid decoding utf-8 */ 1287 /* slow path is shared */ [all …]
|
D | duk_unicode_support.c | 9 * Fast path tables 283 * every byte of the string with no skipping. Having an ASCII fast path 316 /* This seems like a good overall approach. Fast path for ASCII in 4 byte 352 ; /* ASCII fast path */ in duk_unicode_unvalidated_utf8_length() 396 * Used for slow path Unicode matching. 592 /* ASCII (and EOF) fast path -- quick accept and reject */ in duk_unicode_is_identifier_start() 606 /* Non-ASCII slow path (range-by-range linear comparison), very slow */ in duk_unicode_is_identifier_start() 660 * The ASCII fast path consists of: in duk_unicode_is_identifier_part() 681 /* ASCII (and EOF) fast path -- quick accept and reject */ in duk_unicode_is_identifier_part() 696 /* Non-ASCII slow path (range-by-range linear comparison), very slow */ in duk_unicode_is_identifier_part() [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/ |
D | duk_bi_json.c | 86 * 0x81: slow path 118 /* 0x00: slow path 220 /* This fast path is pretty marginal in practice. in duk__dec_eat_white() 419 /* End of input (NUL) goes through slow path and causes SyntaxError. */ in duk__dec_string() 425 /* Fast path, decode as is. */ in duk__dec_string() 595 /* XXX: Would be nice to share the fast path loop from duk_hex_decode() in duk__dec_buffer() 665 /* This fast path is pretty marginal in practice. in duk__dec_number() 1256 /* slow path is shared */ 1261 /* ascii fast path: avoid decoding utf-8 */ 1287 /* slow path is shared */ [all …]
|
D | duk_unicode_support.c | 9 * Fast path tables 283 * every byte of the string with no skipping. Having an ASCII fast path 316 /* This seems like a good overall approach. Fast path for ASCII in 4 byte 352 ; /* ASCII fast path */ in duk_unicode_unvalidated_utf8_length() 396 * Used for slow path Unicode matching. 592 /* ASCII (and EOF) fast path -- quick accept and reject */ in duk_unicode_is_identifier_start() 606 /* Non-ASCII slow path (range-by-range linear comparison), very slow */ in duk_unicode_is_identifier_start() 660 * The ASCII fast path consists of: in duk_unicode_is_identifier_part() 681 /* ASCII (and EOF) fast path -- quick accept and reject */ in duk_unicode_is_identifier_part() 696 /* Non-ASCII slow path (range-by-range linear comparison), very slow */ in duk_unicode_is_identifier_part() [all …]
|
/civetweb-2.7.6/cmake/ |
D | FindWinSock.cmake | 32 foreach(PATH IN LISTS ${LIST_VAR}) 33 get_filename_component(PATH "${PATH}" REALPATH) 34 list(APPEND WINSOCK_LIST "${PATH}") 35 endforeach(PATH)
|