Home
last modified time | relevance | path

Searched refs:L (Results 1 – 25 of 4562) sorted by relevance

12345678910>>...183

/external/pdfium/xfa/fxfa/app/
Dxfa_fontmgr.cpp32 {0x01d5d33e, L"SimSun", L"Arial", 0, 936},
33 {0x01e4f102, L"YouYuan", L"Arial", 1, 936},
34 {0x030549dc, L"LiSu", L"Arial", 1, 936},
35 {0x032edd44, L"Simhei", L"Arial", 1, 936},
36 {0x03eac6fc, L"PoorRichard-Regular", L"Arial", 2, 1252},
37 {0x03ed90e6, L"Nina", L"Arial", 0, 1252},
38 {0x077b56b3, L"KingsoftPhoneticPlain", L"Arial", 0, 1252},
39 {0x078ed524, L"MicrosoftSansSerif", L"Arial", 0, 1252},
40 {0x089b18a9, L"Arial", L"Arial", 0, 1252},
41 {0x0b2cad72, L"MonotypeCorsiva", L"Arial", 8, 1252},
[all …]
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data_enum.cpp12 {0x2a, L"*", XFA_ATTRIBUTEENUM_Asterisk},
13 {0x2f, L"/", XFA_ATTRIBUTEENUM_Slash},
14 {0x5c, L"\\", XFA_ATTRIBUTEENUM_Backslash},
15 {0x239bd, L"on", XFA_ATTRIBUTEENUM_On},
16 {0x25356, L"tb", XFA_ATTRIBUTEENUM_Tb},
17 {0x25885, L"up", XFA_ATTRIBUTEENUM_Up},
18 {0x91b281, L"metaData", XFA_ATTRIBUTEENUM_MetaData},
19 {0x1f8dedb, L"delegate", XFA_ATTRIBUTEENUM_Delegate},
20 {0x2a6c55a, L"postSubmit", XFA_ATTRIBUTEENUM_PostSubmit},
21 {0x31b19c1, L"name", XFA_ATTRIBUTEENUM_Name},
[all …]
Dxfa_basic_data_element_script.cpp130 {0x3c752495, L"verify",
132 {0xa68635f1, L"sign",
134 {0xa7f2c5e6, L"enumerate",
136 {0xd8ed1467, L"clear",
138 {0x4bdcce13, L"execute",
140 {0x1c296ba4, L"restore",
142 {0x7d123a9, L"clearItems",
144 {0xfb0b007, L"execEvent",
146 {0x6716ce97, L"execInitialize",
148 {0x7bb919c2, L"deleteItem",
[all …]
/external/skia/third_party/lua/src/
Dlbaselib.c23 static int luaB_print (lua_State *L) { in luaB_print() argument
24 int n = lua_gettop(L); /* number of arguments */ in luaB_print()
26 lua_getglobal(L, "tostring"); in luaB_print()
30 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
31 lua_pushvalue(L, i); /* value to print */ in luaB_print()
32 lua_call(L, 1, 1); in luaB_print()
33 s = lua_tolstring(L, -1, &l); /* get result */ in luaB_print()
35 return luaL_error(L, in luaB_print()
39 lua_pop(L, 1); /* pop result */ in luaB_print()
48 static int luaB_tonumber (lua_State *L) { in luaB_tonumber() argument
[all …]
Dlapi.c49 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument
51 #define api_checkstackindex(L, i, o) \ argument
52 api_check(L, isstackindex(i, o), "index not in the stack")
55 static TValue *index2addr (lua_State *L, int idx) { in index2addr() argument
56 CallInfo *ci = L->ci; in index2addr()
59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); in index2addr()
60 if (o >= L->top) return NONVALIDVALUE; in index2addr()
64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2addr()
65 return L->top + idx; in index2addr()
68 return &G(L)->l_registry; in index2addr()
[all …]
Dldblib.c25 static int db_getregistry (lua_State *L) { in db_getregistry() argument
26 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
31 static int db_getmetatable (lua_State *L) { in db_getmetatable() argument
32 luaL_checkany(L, 1); in db_getmetatable()
33 if (!lua_getmetatable(L, 1)) { in db_getmetatable()
34 lua_pushnil(L); /* no metatable */ in db_getmetatable()
40 static int db_setmetatable (lua_State *L) { in db_setmetatable() argument
41 int t = lua_type(L, 2); in db_setmetatable()
42 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in db_setmetatable()
44 lua_settop(L, 2); in db_setmetatable()
[all …]
Dloadlib.c105 #define setprogdir(L) ((void)0) argument
112 static void *ll_load (lua_State *L, const char *path, int seeglb);
113 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym);
134 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load() argument
136 if (lib == NULL) lua_pushstring(L, dlerror()); in ll_load()
141 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym() argument
143 if (f == NULL) lua_pushstring(L, dlerror()); in ll_sym()
168 static void setprogdir (lua_State *L) { in setprogdir() argument
174 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
177 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
[all …]
Dltablib.c19 #define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_len(L, n)) argument
24 static int maxn (lua_State *L) { in maxn() argument
26 luaL_checktype(L, 1, LUA_TTABLE); in maxn()
27 lua_pushnil(L); /* first key */ in maxn()
28 while (lua_next(L, 1)) { in maxn()
29 lua_pop(L, 1); /* remove value */ in maxn()
30 if (lua_type(L, -1) == LUA_TNUMBER) { in maxn()
31 lua_Number v = lua_tonumber(L, -1); in maxn()
35 lua_pushnumber(L, max); in maxn()
41 static int tinsert (lua_State *L) { in tinsert() argument
[all …]
Dldo.c53 #define LUAI_THROW(L,c) throw(c) argument
54 #define LUAI_TRY(L,c,a) \ argument
60 #define LUAI_THROW(L,c) _longjmp((c)->b, 1) argument
61 #define LUAI_TRY(L,c,a) if (_setjmp((c)->b) == 0) { a } argument
66 #define LUAI_THROW(L,c) longjmp((c)->b, 1) argument
67 #define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a } argument
84 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj() argument
87 setsvalue2s(L, oldtop, G(L)->memerrmsg); /* reuse preregistered msg. */ in seterrorobj()
91 setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling")); in seterrorobj()
95 setobjs2s(L, oldtop, L->top - 1); /* error message on current top */ in seterrorobj()
[all …]
Dlauxlib.c43 static int findfield (lua_State *L, int objidx, int level) { in findfield() argument
44 if (level == 0 || !lua_istable(L, -1)) in findfield()
46 lua_pushnil(L); /* start 'next' loop */ in findfield()
47 while (lua_next(L, -2)) { /* for each pair in table */ in findfield()
48 if (lua_type(L, -2) == LUA_TSTRING) { /* ignore non-string keys */ in findfield()
49 if (lua_rawequal(L, objidx, -1)) { /* found object? */ in findfield()
50 lua_pop(L, 1); /* remove value (but keep name) */ in findfield()
53 else if (findfield(L, objidx, level - 1)) { /* try recursively */ in findfield()
54 lua_remove(L, -2); /* remove table (but keep name) */ in findfield()
55 lua_pushliteral(L, "."); in findfield()
[all …]
Dliolib.c58 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) argument
59 #define lua_pclose(L,file) ((void)L, pclose(file)) argument
63 #define lua_popen(L,c,m) ((void)L, _popen(c,m)) argument
64 #define lua_pclose(L,file) ((void)L, _pclose(file)) argument
69 #define lua_popen(L,c,m) ((void)((void)c, m), \ argument
70 luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
71 #define lua_pclose(L,file) ((void)((void)L, file), -1) argument
124 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument
129 static int io_type (lua_State *L) { in io_type() argument
131 luaL_checkany(L, 1); in io_type()
[all …]
Dlmathlib.c26 static int math_abs (lua_State *L) { in math_abs() argument
27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
31 static int math_sin (lua_State *L) { in math_sin() argument
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
36 static int math_sinh (lua_State *L) { in math_sinh() argument
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
41 static int math_cos (lua_State *L) { in math_cos() argument
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
46 static int math_cosh (lua_State *L) { in math_cosh() argument
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
[all …]
/external/syslinux/com32/lua/src/
Dlbaselib.c23 static int luaB_print (lua_State *L) { in luaB_print() argument
24 int n = lua_gettop(L); /* number of arguments */ in luaB_print()
26 lua_getglobal(L, "tostring"); in luaB_print()
30 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
31 lua_pushvalue(L, i); /* value to print */ in luaB_print()
32 lua_call(L, 1, 1); in luaB_print()
33 s = lua_tolstring(L, -1, &l); /* get result */ in luaB_print()
35 return luaL_error(L, in luaB_print()
39 lua_pop(L, 1); /* pop result */ in luaB_print()
48 static int luaB_tonumber (lua_State *L) { in luaB_tonumber() argument
[all …]
Dlapi.c49 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument
51 #define api_checkstackindex(L, i, o) \ argument
52 api_check(L, isstackindex(i, o), "index not in the stack")
55 static TValue *index2addr (lua_State *L, int idx) { in index2addr() argument
56 CallInfo *ci = L->ci; in index2addr()
59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); in index2addr()
60 if (o >= L->top) return NONVALIDVALUE; in index2addr()
64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2addr()
65 return L->top + idx; in index2addr()
68 return &G(L)->l_registry; in index2addr()
[all …]
Dldblib.c25 static int db_getregistry (lua_State *L) { in db_getregistry() argument
26 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
31 static int db_getmetatable (lua_State *L) { in db_getmetatable() argument
32 luaL_checkany(L, 1); in db_getmetatable()
33 if (!lua_getmetatable(L, 1)) { in db_getmetatable()
34 lua_pushnil(L); /* no metatable */ in db_getmetatable()
40 static int db_setmetatable (lua_State *L) { in db_setmetatable() argument
41 int t = lua_type(L, 2); in db_setmetatable()
42 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in db_setmetatable()
44 lua_settop(L, 2); in db_setmetatable()
[all …]
Ddmi.c12 static void add_string_item(lua_State *L, const char *item, const char *value_str) { in add_string_item() argument
13 lua_pushstring(L,item); in add_string_item()
14 lua_pushstring(L,value_str); in add_string_item()
15 lua_settable(L,-3); in add_string_item()
18 static void add_int_item(lua_State *L, const char *item, int value_int) { in add_int_item() argument
19 lua_pushstring(L,item); in add_int_item()
20 lua_pushnumber(L,value_int); in add_int_item()
21 lua_settable(L,-3); in add_int_item()
55 static void add_dmi_sub_table(lua_State *L, s_dmi *dmi_ptr, char *table_name, in add_dmi_sub_table() argument
58 if (get_table_fn(L, dmi_ptr)) { /* only adding it when it is there */ in add_dmi_sub_table()
[all …]
Dloadlib.c109 #define setprogdir(L) ((void)0) argument
116 static void *ll_load (lua_State *L, const char *path, int seeglb);
117 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym);
138 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load() argument
140 if (lib == NULL) lua_pushstring(L, dlerror()); in ll_load()
145 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym() argument
147 if (f == NULL) lua_pushstring(L, dlerror()); in ll_sym()
172 static void setprogdir (lua_State *L) { in setprogdir() argument
178 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
181 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
[all …]
Dltablib.c19 #define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_len(L, n)) argument
24 static int maxn (lua_State *L) { in maxn() argument
26 luaL_checktype(L, 1, LUA_TTABLE); in maxn()
27 lua_pushnil(L); /* first key */ in maxn()
28 while (lua_next(L, 1)) { in maxn()
29 lua_pop(L, 1); /* remove value */ in maxn()
30 if (lua_type(L, -1) == LUA_TNUMBER) { in maxn()
31 lua_Number v = lua_tonumber(L, -1); in maxn()
35 lua_pushnumber(L, max); in maxn()
41 static int tinsert (lua_State *L) { in tinsert() argument
[all …]
Dldo.c53 #define LUAI_THROW(L,c) throw(c) argument
54 #define LUAI_TRY(L,c,a) \ argument
60 #define LUAI_THROW(L,c) _longjmp((c)->b, 1) argument
61 #define LUAI_TRY(L,c,a) if (_setjmp((c)->b) == 0) { a } argument
66 #define LUAI_THROW(L,c) longjmp((c)->b, 1) argument
67 #define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a } argument
84 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj() argument
87 setsvalue2s(L, oldtop, G(L)->memerrmsg); /* reuse preregistered msg. */ in seterrorobj()
91 setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling")); in seterrorobj()
95 setobjs2s(L, oldtop, L->top - 1); /* error message on current top */ in seterrorobj()
[all …]
Dlauxlib.c43 static int findfield (lua_State *L, int objidx, int level) { in findfield() argument
44 if (level == 0 || !lua_istable(L, -1)) in findfield()
46 lua_pushnil(L); /* start 'next' loop */ in findfield()
47 while (lua_next(L, -2)) { /* for each pair in table */ in findfield()
48 if (lua_type(L, -2) == LUA_TSTRING) { /* ignore non-string keys */ in findfield()
49 if (lua_rawequal(L, objidx, -1)) { /* found object? */ in findfield()
50 lua_pop(L, 1); /* remove value (but keep name) */ in findfield()
53 else if (findfield(L, objidx, level - 1)) { /* try recursively */ in findfield()
54 lua_remove(L, -2); /* remove table (but keep name) */ in findfield()
55 lua_pushliteral(L, "."); in findfield()
[all …]
Dliolib.c58 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) argument
59 #define lua_pclose(L,file) ((void)L, pclose(file)) argument
63 #define lua_popen(L,c,m) ((void)L, _popen(c,m)) argument
64 #define lua_pclose(L,file) ((void)L, _pclose(file)) argument
69 #define lua_popen(L,c,m) ((void)((void)c, m), \ argument
70 luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
71 #define lua_pclose(L,file) ((void)((void)L, file), -1) argument
125 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument
130 static int io_type (lua_State *L) { in io_type() argument
132 luaL_checkany(L, 1); in io_type()
[all …]
Dlmathlib.c26 static int math_abs (lua_State *L) { in math_abs() argument
27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
31 static int math_sin (lua_State *L) { in math_sin() argument
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
36 static int math_sinh (lua_State *L) { in math_sinh() argument
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
41 static int math_cos (lua_State *L) { in math_cos() argument
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
46 static int math_cosh (lua_State *L) { in math_cosh() argument
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
[all …]
/external/skia/src/utils/
DSkLua.cpp62 template <typename T> T* push_new(lua_State* L) { in DEF_MTNAME()
63 T* addr = (T*)lua_newuserdata(L, sizeof(T)); in DEF_MTNAME()
65 luaL_getmetatable(L, get_mtname<T>()); in DEF_MTNAME()
66 lua_setmetatable(L, -2); in DEF_MTNAME()
70 template <typename T> void push_obj(lua_State* L, const T& obj) { in push_obj() argument
71 new (lua_newuserdata(L, sizeof(T))) T(obj); in push_obj()
72 luaL_getmetatable(L, get_mtname<T>()); in push_obj()
73 lua_setmetatable(L, -2); in push_obj()
76 template <typename T> T* push_ptr(lua_State* L, T* ptr) { in push_ptr() argument
77 *(T**)lua_newuserdata(L, sizeof(T*)) = ptr; in push_ptr()
[all …]
/external/libcxx/test/std/re/re.traits/
Dlookup_collatename.pass.cpp118 test(L"NUL", std::wstring(L"\x00", 1)); in main()
119 test(L"alert", std::wstring(L"\x07")); in main()
120 test(L"backspace", std::wstring(L"\x08")); in main()
121 test(L"tab", std::wstring(L"\x09")); in main()
122 test(L"carriage-return", std::wstring(L"\x0D")); in main()
123 test(L"newline", std::wstring(L"\x0A")); in main()
124 test(L"vertical-tab", std::wstring(L"\x0B")); in main()
125 test(L"form-feed", std::wstring(L"\x0C")); in main()
126 test(L"space", std::wstring(L" ")); in main()
127 test(L"exclamation-mark", std::wstring(L"!")); in main()
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dxfa_simpleexpression.cpp16 L"foxit_xfa_formcalc_runtime.assign_value_operator",
17 L"foxit_xfa_formcalc_runtime.logical_or_operator",
18 L"foxit_xfa_formcalc_runtime.logical_and_operator",
19 L"foxit_xfa_formcalc_runtime.equality_operator",
20 L"foxit_xfa_formcalc_runtime.notequality_operator",
21 L"foxit_xfa_formcalc_runtime.less_operator",
22 L"foxit_xfa_formcalc_runtime.lessequal_operator",
23 L"foxit_xfa_formcalc_runtime.greater_operator",
24 L"foxit_xfa_formcalc_runtime.greaterequal_operator",
25 L"foxit_xfa_formcalc_runtime.plus_operator",
[all …]

12345678910>>...183