/civetweb-2.7.6/src/third_party/lua-5.2.4/src/ |
D | ldebug.c | 36 static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); 111 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname() 130 const char *name = NULL; in findlocal() local 137 name = luaF_getlocalname(ci_func(ci)->p, n, currentpc(ci)); in findlocal() 142 if (name == NULL) { /* no 'standard' name? */ in findlocal() 145 name = "(*temporary)"; /* generic name for any valid slot */ in findlocal() 150 return name; in findlocal() 155 const char *name; in lua_getlocal() local 160 name = NULL; in lua_getlocal() 162 name = luaF_getlocalname(clLvalue(L->top - 1)->p, n, 0); in lua_getlocal() [all …]
|
D | loadlib.c | 349 static const char *searchpath (lua_State *L, const char *name, in searchpath() argument 356 name = luaL_gsub(L, name, sep, dirsep); /* replace it by 'dirsep' */ in searchpath() 359 LUA_PATH_MARK, name); in searchpath() 386 static const char *findfile (lua_State *L, const char *name, in findfile() argument 394 return searchpath(L, name, path, ".", dirsep); in findfile() 412 const char *name = luaL_checkstring(L, 1); in searcher_Lua() local 413 filename = findfile(L, name, "path", LUA_LSUBSEP); in searcher_Lua() 438 const char *name = luaL_checkstring(L, 1); in searcher_C() local 439 const char *filename = findfile(L, name, "cpath", LUA_CSUBSEP); in searcher_C() 441 return checkload(L, (loadfunc(L, filename, name) == 0), filename); in searcher_C() [all …]
|
D | lundump.c | 27 const char* name; member 32 luaO_pushfstring(S->L,"%s: %s precompiled chunk",S->name,why); in error() 141 for (i=0; i<n; i++) f->upvalues[i].name=NULL; in LoadUpvalues() 168 for (i=0; i<n; i++) f->upvalues[i].name=LoadString(S); in LoadDebug() 206 Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name) in luaU_undump() argument 210 if (*name=='@' || *name=='=') in luaU_undump() 211 S.name=name+1; in luaU_undump() 212 else if (*name==LUA_SIGNATURE[0]) in luaU_undump() 213 S.name="binary string"; in luaU_undump() 215 S.name=name; in luaU_undump()
|
D | lua.c | 210 static int dofile (lua_State *L, const char *name) { in dofile() argument 211 int status = luaL_loadfile(L, name); in dofile() 217 static int dostring (lua_State *L, const char *s, const char *name) { in dostring() argument 218 int status = luaL_loadbuffer(L, s, strlen(s), name); in dostring() 224 static int dolibrary (lua_State *L, const char *name) { in dolibrary() argument 227 lua_pushstring(L, name); in dolibrary() 230 lua_setglobal(L, name); /* global[name] = require return */ in dolibrary() 424 const char *name = "=" LUA_INITVERSION; in handle_luainit() local 425 const char *init = getenv(name + 1); in handle_luainit() 427 name = "=" LUA_INIT; in handle_luainit() [all …]
|
D | ldblib.c | 155 settabss(L, "name", ar.name); in db_getinfo() 172 const char *name; in db_getlocal() local 183 name = lua_getlocal(L1, &ar, nvar); in db_getlocal() 184 if (name) { in db_getlocal() 186 lua_pushstring(L, name); /* push name */ in db_getlocal() 214 const char *name; in auxupvalue() local 217 name = get ? lua_getupvalue(L, 1, n) : lua_setupvalue(L, 1, n); in auxupvalue() 218 if (name == NULL) return 0; in auxupvalue() 219 lua_pushstring(L, name); in auxupvalue()
|
/civetweb-2.7.6/unittest/ |
D | private.c | 200 ck_assert_str_eq("A", ri.http_headers[0].name); in START_TEST() 202 ck_assert_str_eq("B", ri.http_headers[1].name); in START_TEST() 940 ck_assert_ptr_eq(NULL, config_options[NUM_OPTIONS].name); in START_TEST() 952 ck_assert_str_eq("cgi_pattern", config_options[CGI_EXTENSIONS].name); in START_TEST() 953 ck_assert_str_eq("cgi_environment", config_options[CGI_ENVIRONMENT].name); in START_TEST() 955 config_options[PUT_DELETE_PASSWORDS_FILE].name); in START_TEST() 956 ck_assert_str_eq("cgi_interpreter", config_options[CGI_INTERPRETER].name); in START_TEST() 957 ck_assert_str_eq("protect_uri", config_options[PROTECT_URI].name); in START_TEST() 959 config_options[AUTHENTICATION_DOMAIN].name); in START_TEST() 961 config_options[ENABLE_AUTH_DOMAIN_CHECK].name); in START_TEST() [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/ |
D | duk_js_var.c | 751 duk_hstring *name, in duk__getid_open_decl_env_regs() argument 763 DUK_ASSERT(name != NULL); in duk__getid_open_decl_env_regs() 792 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_open_decl_env_regs() 836 duk_hstring *name, in duk__getid_activation_regs() argument 846 DUK_ASSERT(name != NULL); in duk__getid_activation_regs() 866 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_activation_regs() 893 duk_hstring *name, in duk__get_identifier_reference() argument 904 DUK_ASSERT(name != NULL); in duk__get_identifier_reference() 936 if (duk__getid_activation_regs(thr, name, act, out)) { in duk__get_identifier_reference() 940 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference() [all …]
|
D | duk_js.h | 69 DUK_INTERNAL duk_bool_t duk_js_hasvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name); 71 …l_t duk_js_getvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name, duk_bool_t throw_f… 72 …_js_getvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_bool_t throw_f… 73 DUK_INTERNAL_DECL void duk_js_putvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name, … 74 …_js_putvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_tval *val, duk… 76 …TERNAL_DECL duk_bool_t duk_js_delvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name); 78 …DECL duk_bool_t duk_js_delvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name); 79 …js_declvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_tval *val, duk…
|
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/ |
D | ldebug.c | 42 const char **name); 128 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname() 147 const char *name = NULL; in findlocal() local 154 name = luaF_getlocalname(ci_func(ci)->p, n, currentpc(ci)); in findlocal() 159 if (name == NULL) { /* no 'standard' name? */ in findlocal() 162 name = "(*temporary)"; /* generic name for any valid slot */ in findlocal() 167 return name; in findlocal() 172 const char *name; in lua_getlocal() local 177 name = NULL; in lua_getlocal() 179 name = luaF_getlocalname(clLvalue(L->top - 1)->p, n, 0); in lua_getlocal() [all …]
|
D | loadlib.c | 435 static const char *searchpath (lua_State *L, const char *name, in searchpath() argument 442 name = luaL_gsub(L, name, sep, dirsep); /* replace it by 'dirsep' */ in searchpath() 445 LUA_PATH_MARK, name); in searchpath() 472 static const char *findfile (lua_State *L, const char *name, in findfile() argument 480 return searchpath(L, name, path, ".", dirsep); in findfile() 497 const char *name = luaL_checkstring(L, 1); in searcher_Lua() local 498 filename = findfile(L, name, "path", LUA_LSUBSEP); in searcher_Lua() 531 const char *name = luaL_checkstring(L, 1); in searcher_C() local 532 const char *filename = findfile(L, name, "cpath", LUA_CSUBSEP); in searcher_C() 534 return checkload(L, (loadfunc(L, filename, name) == 0), filename); in searcher_C() [all …]
|
D | lundump.c | 35 const char *name; member 40 luaO_pushfstring(S->L, "%s: %s precompiled chunk", S->name, why); in error() 172 f->upvalues[i].name = NULL; in LoadUpvalues() 198 f->upvalues[i].name = LoadString(S); in LoadDebug() 258 LClosure *luaU_undump(lua_State *L, ZIO *Z, const char *name) { in luaU_undump() argument 261 if (*name == '@' || *name == '=') in luaU_undump() 262 S.name = name + 1; in luaU_undump() 263 else if (*name == LUA_SIGNATURE[0]) in luaU_undump() 264 S.name = "binary string"; in luaU_undump() 266 S.name = name; in luaU_undump()
|
D | ldblib.c | 180 settabss(L, "name", ar.name); in db_getinfo() 197 const char *name; in db_getlocal() local 209 name = lua_getlocal(L1, &ar, nvar); in db_getlocal() 210 if (name) { in db_getlocal() 212 lua_pushstring(L, name); /* push name */ in db_getlocal() 226 const char *name; in db_setlocal() local 237 name = lua_setlocal(L1, &ar, nvar); in db_setlocal() 238 if (name == NULL) in db_setlocal() 240 lua_pushstring(L, name); in db_setlocal() 249 const char *name; in auxupvalue() local [all …]
|
D | lua.c | 245 static int dofile (lua_State *L, const char *name) { in dofile() argument 246 return dochunk(L, luaL_loadfile(L, name)); in dofile() 250 static int dostring (lua_State *L, const char *s, const char *name) { in dostring() argument 251 return dochunk(L, luaL_loadbuffer(L, s, strlen(s), name)); in dostring() 259 static int dolibrary (lua_State *L, const char *name) { in dolibrary() argument 262 lua_pushstring(L, name); in dolibrary() 265 lua_setglobal(L, name); /* global[name] = require return */ in dolibrary() 536 const char *name = "=" LUA_INITVARVERSION; in handle_luainit() local 537 const char *init = getenv(name + 1); in handle_luainit() 539 name = "=" LUA_INIT_VAR; in handle_luainit() [all …]
|
D | lauxlib.c | 78 const char *name = lua_tostring(L, -1); in pushglobalfuncname() local 79 if (strncmp(name, "_G.", 3) == 0) { /* name start with '_G.'? */ in pushglobalfuncname() 80 lua_pushstring(L, name + 3); /* push name without prefix */ in pushglobalfuncname() 100 lua_pushfstring(L, "%s '%s'", ar->namewhat, ar->name); /* use it */ in pushfuncname() 173 ar.name, extramsg); in luaL_argerror() 175 if (ar.name == NULL) in luaL_argerror() 176 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror() 178 arg, ar.name, extramsg); in luaL_argerror() 350 const char *name = (def) ? luaL_optstring(L, arg, def) : in luaL_checkoption() local 354 if (strcmp(lst[i], name) == 0) in luaL_checkoption() [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/ |
D | duk_js_var.c | 755 duk_hstring *name, in duk__getid_open_decl_env_regs() argument 767 DUK_ASSERT(name != NULL); in duk__getid_open_decl_env_regs() 796 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_open_decl_env_regs() 840 duk_hstring *name, in duk__getid_activation_regs() argument 850 DUK_ASSERT(name != NULL); in duk__getid_activation_regs() 870 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_activation_regs() 897 duk_hstring *name, in duk__get_identifier_reference() argument 908 DUK_ASSERT(name != NULL); in duk__get_identifier_reference() 940 if (duk__getid_activation_regs(thr, name, act, out)) { in duk__get_identifier_reference() 944 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference() [all …]
|
D | duk_js.h | 69 DUK_INTERNAL duk_bool_t duk_js_hasvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name); 71 …l_t duk_js_getvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name, duk_bool_t throw_f… 72 …_js_getvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_bool_t throw_f… 73 DUK_INTERNAL_DECL void duk_js_putvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name, … 74 …_js_putvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_tval *val, duk… 76 …TERNAL_DECL duk_bool_t duk_js_delvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name); 78 …DECL duk_bool_t duk_js_delvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name); 79 …js_declvar_activation(duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_tval *val, duk…
|
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/ |
D | loadlib.c | 351 static const char *findfile (lua_State *L, const char *name, in findfile() argument 354 name = luaL_gsub(L, name, ".", LUA_DIRSEP); in findfile() 362 filename = luaL_gsub(L, lua_tostring(L, -1), LUA_PATH_MARK, name); in findfile() 382 const char *name = luaL_checkstring(L, 1); in loader_Lua() local 383 filename = findfile(L, name, "path"); in loader_Lua() 404 const char *name = luaL_checkstring(L, 1); in loader_C() local 405 const char *filename = findfile(L, name, "cpath"); in loader_C() 407 funcname = mkfuncname(L, name); in loader_C() 417 const char *name = luaL_checkstring(L, 1); in loader_Croot() local 418 const char *p = strchr(name, '.'); in loader_Croot() [all …]
|
D | ldebug.c | 33 static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); 113 const char *name; in findlocal() local 115 if (fp && (name = luaF_getlocalname(fp, n, currentpc(L, ci))) != NULL) in findlocal() 116 return name; /* is a local variable in a Lua function */ in findlocal() 129 const char *name = findlocal(L, ci, n); in lua_getlocal() local 131 if (name) in lua_getlocal() 134 return name; in lua_getlocal() 140 const char *name = findlocal(L, ci, n); in lua_setlocal() local 142 if (name) in lua_setlocal() 146 return name; in lua_setlocal() [all …]
|
D | lundump.c | 27 const char* name; member 38 luaO_pushfstring(S->L,"%s: %s in precompiled chunk",S->name,why); in error() 195 Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name) in luaU_undump() argument 198 if (*name=='@' || *name=='=') in luaU_undump() 199 S.name=name+1; in luaU_undump() 200 else if (*name==LUA_SIGNATURE[0]) in luaU_undump() 201 S.name="binary string"; in luaU_undump() 203 S.name=name; in luaU_undump()
|
D | ldblib.c | 133 settabss(L, "name", ar.name); in db_getinfo() 148 const char *name; in db_getlocal() local 151 name = lua_getlocal(L1, &ar, luaL_checkint(L, arg+2)); in db_getlocal() 152 if (name) { in db_getlocal() 154 lua_pushstring(L, name); in db_getlocal() 180 const char *name; in auxupvalue() local 184 name = get ? lua_getupvalue(L, 1, n) : lua_setupvalue(L, 1, n); in auxupvalue() 185 if (name == NULL) return 0; in auxupvalue() 186 lua_pushstring(L, name); in auxupvalue() 358 lua_pushfstring(L, " in function " LUA_QS, ar.name); in db_errorfb()
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/coffee/ |
D | globals.coffee | 3 print(name) for name in Object.getOwnPropertyNames(this) 5 print '*** Globals with a short name (<= 8 chars)' 6 print(name) for name in Object.getOwnPropertyNames(this) when name.length <= 8
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/coffee/ |
D | globals.coffee | 3 print(name) for name in Object.getOwnPropertyNames(this) 5 print '*** Globals with a short name (<= 8 chars)' 6 print(name) for name in Object.getOwnPropertyNames(this) when name.length <= 8
|
/civetweb-2.7.6/src/third_party/lua-5.1.5/test/ |
D | trace-globals.lua | 14 local log=function (name,old,new) 19 io.write(": ",name," is now ",tostring(new)," (was ",tostring(old),")","\n") 23 local set=function (t,name,value) 24 log(name,g[name],value) 25 g[name]=value
|
/civetweb-2.7.6/src/ |
D | main.c | 300 for (i = 0; options[i].name != NULL; i++) { in show_usage_and_exit() 303 options[i].name, in show_usage_and_exit() 310 for (i = 0; options[i].name != NULL; i++) { in show_usage_and_exit() 313 options[i].name, in show_usage_and_exit() 379 for (i = 0; options[i].name != NULL; i++) { in create_config_file() 380 value = mg_get_option(ctx, options[i].name); in create_config_file() 383 options[i].name, in create_config_file() 565 set_option(char **options, const char *name, const char *value) in set_option() argument 571 for (i = 0; main_config_options[i].name != NULL; i++) { in set_option() 574 if (!strcmp(name, main_config_options[OPTION_TITLE].name)) { in set_option() [all …]
|
/civetweb-2.7.6/examples/rest/cJSON/ |
D | cJSON.h | 250 CJSON_PUBLIC(cJSON*) cJSON_AddNullToObject(cJSON * const object, const char * const name); 251 CJSON_PUBLIC(cJSON*) cJSON_AddTrueToObject(cJSON * const object, const char * const name); 252 CJSON_PUBLIC(cJSON*) cJSON_AddFalseToObject(cJSON * const object, const char * const name); 253 CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJS… 254 CJSON_PUBLIC(cJSON*) cJSON_AddNumberToObject(cJSON * const object, const char * const name, const d… 255 CJSON_PUBLIC(cJSON*) cJSON_AddStringToObject(cJSON * const object, const char * const name, const c… 256 CJSON_PUBLIC(cJSON*) cJSON_AddRawToObject(cJSON * const object, const char * const name, const char… 257 CJSON_PUBLIC(cJSON*) cJSON_AddObjectToObject(cJSON * const object, const char * const name); 258 CJSON_PUBLIC(cJSON*) cJSON_AddArrayToObject(cJSON * const object, const char * const name);
|