Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 29) sorted by relevance

12

/civetweb-2.7.6/src/third_party/
DLuaXML.lua7 function xml.tag(var,tag)
9 if base.type(tag)=="nil" then
12 var[xml.TAG] = tag
28 function xml.append(var,tag)
30 local newVar = xml.new(tag)
44 local tag = var[0] or tagValue or base.type(var)
45 local s = indentStr.."<"..tag
58 s = s..">"..xml.encode(base.tostring(var[1])).."</"..tag..">\n"
68 s=s..tableStr..indentStr.."</"..tag..">\n"
72 local tag = base.type(var)
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/debug-trans-dvalue/
Dduk_trans_dvalue.h40 int tag; member
72 duk_dvalue *duk_dvalue_make_tag(int tag);
73 duk_dvalue *duk_dvalue_make_tag_int(int tag, int intval);
74 duk_dvalue *duk_dvalue_make_tag_double(int tag, double dblval);
75 duk_dvalue *duk_dvalue_make_tag_data(int tag, const char *buf, size_t len);
76 duk_dvalue *duk_dvalue_make_tag_int_data(int tag, int intval, const char *buf, size_t len);
Dduk_trans_dvalue.c103 switch (dv->tag) { in duk_dvalue_to_string()
173 sprintf(buf, "unknown:%d", (int) dv->tag); in duk_dvalue_to_string()
177 duk_dvalue *duk_dvalue_make_tag(int tag) { in duk_dvalue_make_tag() argument
180 dv->tag = tag; in duk_dvalue_make_tag()
184 duk_dvalue *duk_dvalue_make_tag_int(int tag, int intval) { in duk_dvalue_make_tag_int() argument
187 dv->tag = tag; in duk_dvalue_make_tag_int()
192 duk_dvalue *duk_dvalue_make_tag_double(int tag, double dblval) { in duk_dvalue_make_tag_double() argument
195 dv->tag = tag; in duk_dvalue_make_tag_double()
200 duk_dvalue *duk_dvalue_make_tag_data(int tag, const char *buf, size_t len) { in duk_dvalue_make_tag_data() argument
215 dv->tag = tag; in duk_dvalue_make_tag_data()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/debug-trans-dvalue/
Dduk_trans_dvalue.h40 int tag; member
72 duk_dvalue *duk_dvalue_make_tag(int tag);
73 duk_dvalue *duk_dvalue_make_tag_int(int tag, int intval);
74 duk_dvalue *duk_dvalue_make_tag_double(int tag, double dblval);
75 duk_dvalue *duk_dvalue_make_tag_data(int tag, const char *buf, size_t len);
76 duk_dvalue *duk_dvalue_make_tag_int_data(int tag, int intval, const char *buf, size_t len);
Dduk_trans_dvalue.c103 switch (dv->tag) { in duk_dvalue_to_string()
173 sprintf(buf, "unknown:%d", (int) dv->tag); in duk_dvalue_to_string()
177 duk_dvalue *duk_dvalue_make_tag(int tag) { in duk_dvalue_make_tag() argument
180 dv->tag = tag; in duk_dvalue_make_tag()
184 duk_dvalue *duk_dvalue_make_tag_int(int tag, int intval) { in duk_dvalue_make_tag_int() argument
187 dv->tag = tag; in duk_dvalue_make_tag_int()
192 duk_dvalue *duk_dvalue_make_tag_double(int tag, double dblval) { in duk_dvalue_make_tag_double() argument
195 dv->tag = tag; in duk_dvalue_make_tag_double()
200 duk_dvalue *duk_dvalue_make_tag_data(int tag, const char *buf, size_t len) { in duk_dvalue_make_tag_data() argument
215 dv->tag = tag; in duk_dvalue_make_tag_data()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/config/
Dgenconfig.py566 for tag in doc.get('tags', []):
567 use_tags[tag] = True
647 def get_tag_title(tag): argument
648 meta = tags_meta.get(tag, None)
650 return tag
652 return meta.get('title', tag)
654 def get_tag_description(tag): argument
655 meta = tags_meta.get(tag, None)
665 for tag in preferred:
666 if tag not in tags:
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/config/
Dgenconfig.py566 for tag in doc.get('tags', []):
567 use_tags[tag] = True
647 def get_tag_title(tag): argument
648 meta = tags_meta.get(tag, None)
650 return tag
652 return meta.get('title', tag)
654 def get_tag_description(tag): argument
655 meta = tags_meta.get(tag, None)
665 for tag in preferred:
666 if tag not in tags:
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/
DHISTORY33 + tags replaced by metatables and tag methods replaced by metamethods,
87 + garbage collection tag methods for tables now deprecated.
88 + there is now only one tag method for order.
139 + NEW CONCEPT: "tag methods".
141 semantics of Lua. Whereas fallbacks had a global nature, tag methods
142 work on objects having the same tag (e.g., groups of tables).
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_tval.h63 #define DUK__TVAL_SET_TAGGEDPOINTER(v,h,tag) do { \ argument
64 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 16) | (((duk_uint64_t) (duk_uint32_t) (h))…
67 #define DUK__TVAL_SET_TAGGEDPOINTER(v,h,tag) do { \ argument
68 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h));…
72 #define DUK__TVAL_SET_TAGGEDPOINTER(v,h,tag) do { \ argument
73 (v)->ui[DUK_DBL_IDX_UI0] = ((duk_uint32_t) (tag)) << 16; \
Dduk_js_ops.c388 duk_small_uint_t tag = DUK_TVAL_GET_TAG(tv_x);
392 if (tag == DUK_TAG_UNDEFINED ||
393 tag == DUK_TAG_NULL ||
394 tag == DUK_TAG_POINTER ||
395 tag == DUK_TAG_BUFFER) {
Dduk_api_stack.c48 …L_DECL duk_heaphdr *duk__get_tagged_heaphdr_raw(duk_context *ctx, duk_idx_t index, duk_uint_t tag);
1403 …LOCAL duk_heaphdr *duk__get_tagged_heaphdr_raw(duk_context *ctx, duk_idx_t index, duk_uint_t tag) { in duk__get_tagged_heaphdr_raw() argument
1409 if (tv && (DUK_TVAL_GET_TAG(tv) == tag)) { in duk__get_tagged_heaphdr_raw()
2587 DUK_LOCAL duk_bool_t duk__tag_check(duk_context *ctx, duk_idx_t index, duk_small_uint_t tag) { in duk__tag_check() argument
2594 return (DUK_TVAL_GET_TAG(tv) == tag); in duk__tag_check()
2743 duk_small_uint_t tag; in duk_is_null_or_undefined() local
2751 tag = DUK_TVAL_GET_TAG(tv); in duk_is_null_or_undefined()
2752 return (tag == DUK_TAG_UNDEFINED) || (tag == DUK_TAG_NULL); in duk_is_null_or_undefined()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_tval.h63 #define DUK__TVAL_SET_TAGGEDPOINTER(v,h,tag) do { \ argument
64 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 16) | (((duk_uint64_t) (duk_uint32_t) (h))…
67 #define DUK__TVAL_SET_TAGGEDPOINTER(v,h,tag) do { \ argument
68 …(v)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h));…
72 #define DUK__TVAL_SET_TAGGEDPOINTER(v,h,tag) do { \ argument
73 (v)->ui[DUK_DBL_IDX_UI0] = ((duk_uint32_t) (tag)) << 16; \
Dduk_js_ops.c388 duk_small_uint_t tag = DUK_TVAL_GET_TAG(tv_x);
392 if (tag == DUK_TAG_UNDEFINED ||
393 tag == DUK_TAG_NULL ||
394 tag == DUK_TAG_POINTER ||
395 tag == DUK_TAG_BUFFER) {
Dduk_api_stack.c48 …L_DECL duk_heaphdr *duk__get_tagged_heaphdr_raw(duk_context *ctx, duk_idx_t index, duk_uint_t tag);
1399 …LOCAL duk_heaphdr *duk__get_tagged_heaphdr_raw(duk_context *ctx, duk_idx_t index, duk_uint_t tag) { in duk__get_tagged_heaphdr_raw() argument
1405 if (tv && (DUK_TVAL_GET_TAG(tv) == tag)) { in duk__get_tagged_heaphdr_raw()
2583 DUK_LOCAL duk_bool_t duk__tag_check(duk_context *ctx, duk_idx_t index, duk_small_uint_t tag) { in duk__tag_check() argument
2590 return (DUK_TVAL_GET_TAG(tv) == tag); in duk__tag_check()
2739 duk_small_uint_t tag; in duk_is_null_or_undefined() local
2747 tag = DUK_TVAL_GET_TAG(tv); in duk_is_null_or_undefined()
2748 return (tag == DUK_TAG_UNDEFINED) || (tag == DUK_TAG_NULL); in duk_is_null_or_undefined()
/civetweb-2.7.6/src/
Dmod_lua.inl375 char tag; member
431 /* First call: Send opening tag - what function to call */
448 /* Send closing tag. */
462 /* Find next tag */
467 /* Forward all data until the next tag */
479 reader->tag = '?';
484 reader->tag = '%';
489 reader->tag = '?';
495 /* We found an opening or closing tag, or we reached the end of the
498 /* Lua= tag - Lua expression to print */
[all …]
Dcivetweb.c11672 char *tag, argument
11687 if (sscanf(tag, " virtual=\"%511[^\"]\"", file_name) == 1) {
11698 } else if (sscanf(tag, " abspath=\"%511[^\"]\"", file_name) == 1) {
11705 } else if ((sscanf(tag, " file=\"%511[^\"]\"", file_name) == 1)
11706 || (sscanf(tag, " \"%511[^\"]\"", file_name) == 1)) {
11725 mg_cry_internal(conn, "Bad SSI #include: [%s]", tag);
11730 mg_cry_internal(conn, "SSI #include path length overflow: [%s]", tag);
11737 tag,
11757 do_ssi_exec(struct mg_connection *conn, char *tag) argument
11762 if (sscanf(tag, " \"%1023[^\"]\"", cmd) != 1) {
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlmem.h38 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) argument
Dlstring.c99 int tag, unsigned int h, GCObject **list) { in createstrobj() argument
103 ts = &luaC_newobj(L, tag, totalsize, list, 0)->ts; in createstrobj()
Dlauxlib.c178 static void tag_error (lua_State *L, int narg, int tag) { in tag_error() argument
179 typeerror(L, narg, lua_typename(L, tag)); in tag_error()
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlmem.h50 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) argument
Dlstring.c133 static TString *createstrobj (lua_State *L, size_t l, int tag, unsigned int h) { in createstrobj() argument
138 o = luaC_newobj(L, tag, totalsize); in createstrobj()
Dlauxlib.c196 static void tag_error (lua_State *L, int arg, int tag) { in tag_error() argument
197 typeerror(L, arg, lua_typename(L, tag)); in tag_error()
/civetweb-2.7.6/test/
Dpage2.lp12 -- functions defubed in one Lua tag should still be available in the next one
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlauxlib.c68 static void tag_error (lua_State *L, int narg, int tag) { in tag_error() argument
69 luaL_typerror(L, narg, lua_typename(L, tag)); in tag_error()
/civetweb-2.7.6/docs/api/
Dmg_form_data_handler.md11 ||**`key`** - The name of the field as it was named with the `name` tag in the HTML source.|

12