Home
last modified time | relevance | path

Searched full:1 (Results 1 – 25 of 704) sorted by relevance

12345678910>>...29

/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_util_misc.c36 /* -1 if invalid */
37 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x00-0x0f */
38 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x10-0x1f */
39 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x20-0x2f */
40 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, /* 0x30-0x3f */
41 -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x40-0x4f */
42 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x50-0x5f */
43 -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x60-0x6f */
44 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x70-0x7f */
45 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x80-0x8f */
[all …]
Dduk_bi_global.c20 ((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | \
23 #define DUK__CHECK_BITMASK(table,cp) ((table)[(cp) >> 3] & (1 << ((cp) & 0x07)))
25 /* E5.1 Section 15.1.3.3: uriReserved + uriUnescaped + '#' */
29 DUK__MKBITS(0, 1, 0, 1, 1, 0, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x20-0x2f */
30 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 0, 1, 0, 1), /* 0x30-0x3f */
31 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */
32 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */
33 DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */
34 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 0x70-0x7f */
37 /* E5.1 Section 15.1.3.4: uriUnescaped */
[all …]
Dduk_bi_string.c31 duk_set_top(ctx, 1); in duk_bi_string_constructor()
46 return 1; in duk_bi_string_constructor()
73 /* ToUint16() coercion is mandatory in the E5.1 specification, but in duk_bi_string_constructor_from_char_code()
88 duk_to_string(ctx, -1); in duk_bi_string_constructor_from_char_code()
89 return 1; in duk_bi_string_constructor_from_char_code()
100 tv = duk_require_tval(ctx, -1); in duk_bi_string_prototype_to_string()
105 return 1; in duk_bi_string_prototype_to_string()
115 duk_get_prop_stridx(ctx, -1, DUK_STRIDX_INT_VALUE); in duk_bi_string_prototype_to_string()
116 DUK_ASSERT(duk_is_string(ctx, -1)); in duk_bi_string_prototype_to_string()
118 return 1; in duk_bi_string_prototype_to_string()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_util_misc.c36 /* -1 if invalid */
37 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x00-0x0f */
38 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x10-0x1f */
39 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x20-0x2f */
40 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, /* 0x30-0x3f */
41 -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x40-0x4f */
42 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x50-0x5f */
43 -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x60-0x6f */
44 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x70-0x7f */
45 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x80-0x8f */
[all …]
Dduk_bi_global.c20 ((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | \
23 #define DUK__CHECK_BITMASK(table,cp) ((table)[(cp) >> 3] & (1 << ((cp) & 0x07)))
25 /* E5.1 Section 15.1.3.3: uriReserved + uriUnescaped + '#' */
29 DUK__MKBITS(0, 1, 0, 1, 1, 0, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x20-0x2f */
30 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 0, 1, 0, 1), /* 0x30-0x3f */
31 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */
32 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */
33 DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */
34 DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 0x70-0x7f */
37 /* E5.1 Section 15.1.3.4: uriUnescaped */
[all …]
Dduk_bi_string.c31 duk_set_top(ctx, 1); in duk_bi_string_constructor()
46 return 1; in duk_bi_string_constructor()
73 /* ToUint16() coercion is mandatory in the E5.1 specification, but in duk_bi_string_constructor_from_char_code()
88 duk_to_string(ctx, -1); in duk_bi_string_constructor_from_char_code()
89 return 1; in duk_bi_string_constructor_from_char_code()
100 tv = duk_require_tval(ctx, -1); in duk_bi_string_prototype_to_string()
105 return 1; in duk_bi_string_prototype_to_string()
115 duk_get_prop_stridx(ctx, -1, DUK_STRIDX_INT_VALUE); in duk_bi_string_prototype_to_string()
116 DUK_ASSERT(duk_is_string(ctx, -1)); in duk_bi_string_prototype_to_string()
118 return 1; in duk_bi_string_prototype_to_string()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dmetadata.json4 "original_line": 1,
9 "original_line": 1,
14 "original_line": 1,
19 "original_line": 1,
24 "original_line": 1,
29 "original_line": 1,
34 "original_line": 1,
44 "original_line": 1,
49 "original_line": 1,
54 "original_line": 1,
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dmetadata.json4 "original_line": 1,
9 "original_line": 1,
14 "original_line": 1,
19 "original_line": 1,
24 "original_line": 1,
29 "original_line": 1,
34 "original_line": 1,
44 "original_line": 1,
49 "original_line": 1,
54 "original_line": 1,
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dmetadata.json4 "original_line": 1,
9 "original_line": 1,
14 "original_line": 1,
19 "original_line": 1,
24 "original_line": 1,
29 "original_line": 1,
34 "original_line": 1,
44 "original_line": 1,
49 "original_line": 1,
54 "original_line": 1,
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dmetadata.json4 "original_line": 1,
9 "original_line": 1,
14 "original_line": 1,
19 "original_line": 1,
24 "original_line": 1,
29 "original_line": 1,
34 "original_line": 1,
44 "original_line": 1,
49 "original_line": 1,
54 "original_line": 1,
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlbaselib.c35 for (i=1; i<=n; i++) { in luaB_print()
37 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
39 lua_call(L, 1, 1); in luaB_print()
40 s = lua_tostring(L, -1); /* get result */ in luaB_print()
44 if (i>1) fputs("\t", stdout); in luaB_print()
46 lua_pop(L, 1); /* pop result */ in luaB_print()
56 luaL_checkany(L, 1); in luaB_tonumber()
57 if (lua_isnumber(L, 1)) { in luaB_tonumber()
58 lua_pushnumber(L, lua_tonumber(L, 1)); in luaB_tonumber()
59 return 1; in luaB_tonumber()
[all …]
Dltablib.c24 int n = aux_getn(L, 1); in foreachi()
26 for (i=1; i <= n; i++) { in foreachi()
28 lua_pushinteger(L, i); /* 1st argument */ in foreachi()
29 lua_rawgeti(L, 1, i); /* 2nd argument */ in foreachi()
30 lua_call(L, 2, 1); in foreachi()
31 if (!lua_isnil(L, -1)) in foreachi()
32 return 1; in foreachi()
33 lua_pop(L, 1); /* remove nil result */ in foreachi()
40 luaL_checktype(L, 1, LUA_TTABLE); in foreach()
43 while (lua_next(L, 1)) { in foreach()
[all …]
Dlmathlib.c27 lua_pushnumber(L, fabs(luaL_checknumber(L, 1))); in math_abs()
28 return 1; in math_abs()
32 lua_pushnumber(L, sin(luaL_checknumber(L, 1))); in math_sin()
33 return 1; in math_sin()
37 lua_pushnumber(L, sinh(luaL_checknumber(L, 1))); in math_sinh()
38 return 1; in math_sinh()
42 lua_pushnumber(L, cos(luaL_checknumber(L, 1))); in math_cos()
43 return 1; in math_cos()
47 lua_pushnumber(L, cosh(luaL_checknumber(L, 1))); in math_cosh()
48 return 1; in math_cosh()
[all …]
/civetweb-2.7.6/
Dmingw.cmd4 @if errorlevel 1 (
6 @exit /b 1
10 @chcp 65001 1>nul 2>nul
11 @if errorlevel 1 (
13 @exit /b 1
19 @set "script_folder=%script_folder:~0,-1%"
23 @set logging_level=1
25 @if [%1] == [] goto :options_parsed
26 @set "arg=%~1"
27 @set one=%arg:~0,1%
[all …]
Dbuild.cmd4 @if errorlevel 1 (
6 exit /b 1
10 @chcp 65001 1>nul 2>nul
11 @if errorlevel 1 (
13 exit /b 1
20 @set "script_folder=%script_folder:~0,-1%"
29 @set logging_level=1
35 @set one=!arg:~0,1!
59 exit /b 1
70 @set /a "log_keep=log_keep-1"
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dltablib.c27 #define TAB_R 1 /* read */
48 int n = 1; /* number of elements to pop */ in checktab()
64 luaL_checktype(L, 1, LUA_TTABLE); in maxn()
66 while (lua_next(L, 1)) { in maxn()
67 lua_pop(L, 1); /* remove value */ in maxn()
68 if (lua_type(L, -1) == LUA_TNUMBER) { in maxn()
69 lua_Number v = lua_tonumber(L, -1); in maxn()
74 return 1; in maxn()
80 lua_Integer e = aux_getn(L, 1, TAB_RW) + 1; /* first empty element */ in tinsert()
90 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); in tinsert()
[all …]
Dlmathlib.c30 #define L_RANDMAX 2147483647 /* (2^31 - 1), following POSIX */
40 if (lua_isinteger(L, 1)) { in math_abs()
41 lua_Integer n = lua_tointeger(L, 1); in math_abs()
46 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
47 return 1; in math_abs()
51 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
52 return 1; in math_sin()
56 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
57 return 1; in math_cos()
61 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
[all …]
Dlbaselib.c28 for (i=1; i<=n; i++) { in luaB_print()
31 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
33 lua_call(L, 1, 1); in luaB_print()
34 s = lua_tolstring(L, -1, &l); /* get result */ in luaB_print()
37 if (i>1) lua_writestring("\t", 1); in luaB_print()
39 lua_pop(L, 1); /* pop result */ in luaB_print()
52 if (*s == '-') { s++; neg = 1; } /* handle signal */ in b_str2int()
71 luaL_checkany(L, 1); in luaB_tonumber()
72 if (lua_type(L, 1) == LUA_TNUMBER) { /* already a number? */ in luaB_tonumber()
73 lua_settop(L, 1); /* yes; return it */ in luaB_tonumber()
[all …]
Dldblib.c43 return 1; in db_getregistry()
48 luaL_checkany(L, 1); in db_getmetatable()
49 if (!lua_getmetatable(L, 1)) { in db_getmetatable()
52 return 1; in db_getmetatable()
61 lua_setmetatable(L, 1); in db_setmetatable()
62 return 1; /* return 1st argument */ in db_setmetatable()
67 if (lua_type(L, 1) != LUA_TUSERDATA) in db_getuservalue()
70 lua_getuservalue(L, 1); in db_getuservalue()
71 return 1; in db_getuservalue()
76 luaL_checktype(L, 1, LUA_TUSERDATA); in db_setuservalue()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dltablib.c27 luaL_checktype(L, 1, LUA_TTABLE); in maxn()
29 while (lua_next(L, 1)) { in maxn()
30 lua_pop(L, 1); /* remove value */ in maxn()
31 if (lua_type(L, -1) == LUA_TNUMBER) { in maxn()
32 lua_Number v = lua_tonumber(L, -1); in maxn()
37 return 1; in maxn()
43 int e = aux_getn(L, 1) + 1; /* first empty element */ in tinsert()
53 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); in tinsert()
55 lua_rawgeti(L, 1, i-1); in tinsert()
56 lua_rawseti(L, 1, i); /* t[i] = t[i-1] */ in tinsert()
[all …]
Dlbaselib.c27 for (i=1; i<=n; i++) { in luaB_print()
30 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
32 lua_call(L, 1, 1); in luaB_print()
33 s = lua_tolstring(L, -1, &l); /* get result */ in luaB_print()
37 if (i>1) luai_writestring("\t", 1); in luaB_print()
39 lua_pop(L, 1); /* pop result */ in luaB_print()
51 lua_Number n = lua_tonumberx(L, 1, &isnum); in luaB_tonumber()
54 return 1; in luaB_tonumber()
56 luaL_checkany(L, 1); in luaB_tonumber()
60 const char *s = luaL_checklstring(L, 1, &l); in luaB_tonumber()
[all …]
Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
28 return 1; in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
33 return 1; in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
38 return 1; in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
43 return 1; in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
48 return 1; in math_cosh()
[all …]
Dldblib.c32 return 1; in db_getregistry()
37 luaL_checkany(L, 1); in db_getmetatable()
38 if (!lua_getmetatable(L, 1)) { in db_getmetatable()
41 return 1; in db_getmetatable()
50 lua_setmetatable(L, 1); in db_setmetatable()
51 return 1; /* return 1st argument */ in db_setmetatable()
56 if (lua_type(L, 1) != LUA_TUSERDATA) in db_getuservalue()
59 lua_getuservalue(L, 1); in db_getuservalue()
60 return 1; in db_getuservalue()
65 if (lua_type(L, 1) == LUA_TLIGHTUSERDATA) in db_setuservalue()
[all …]
Dlstrlib.c39 luaL_checklstring(L, 1, &l); in str_len()
41 return 1; in str_len()
49 else return len - ((size_t)-pos) + 1; in posrelat()
55 const char *s = luaL_checklstring(L, 1, &l); in str_sub()
57 size_t end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
58 if (start < 1) start = 1; in str_sub()
61 lua_pushlstring(L, s + start - 1, end - start + 1); in str_sub()
63 return 1; in str_sub()
70 const char *s = luaL_checklstring(L, 1, &l); in str_reverse()
73 p[i] = s[l - i - 1]; in str_reverse()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/test/
Dlife.lua12 for i=1,10000 do end
13 -- local i=os.clock()+1 while(os.clock()<i) do end
18 for y=1,h do
20 for x=1,w do
31 for y=0,shape.h-1 do
32 for x=0,shape.w-1 do
33 self[top+y][left+x] = shape[y*shape.w+x+1]
40 local ym1,y,yp1,yi=self.h-1,self.h,1,self.h
42 local xm1,x,xp1,xi=self.w-1,self.w,1,self.w
47 next[y][x] = ((sum==2) and self[y][x]) or ((sum==3) and 1) or 0
[all …]

12345678910>>...29