w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

lj_obj.h File Reference
#include "lua.h"
#include "lj_def.h"
#include "lj_arch.h"
Include dependency graph for lj_obj.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MRef
 
struct  GCRef
 
struct  SBuf
 
union  FrameLink
 
struct  GCstr
 
struct  GCudata
 
struct  GCcdata
 
struct  GCcdataVar
 
struct  GCproto
 
struct  GCupval
 
struct  GCfuncC
 
struct  GCfuncL
 
union  GCfunc
 
struct  Node
 
struct  GCtab
 
struct  GCState
 
struct  global_State
 
struct  lua_State
 
struct  GChead
 
union  GCobj
 

Macros

#define mref(r, t)   ((t *)(void *)(uintptr_t)(r).ptr32)
 
#define setmref(r, p)   ((r).ptr32 = (uint32_t)(uintptr_t)(void *)(p))
 
#define setmrefr(r, v)   ((r).ptr32 = (v).ptr32)
 
#define GCHeader   GCRef nextgc; uint8_t marked; uint8_t gct
 
#define gcref(r)   ((GCobj *)(uintptr_t)(r).gcptr32)
 
#define gcrefp(r, t)   ((t *)(void *)(uintptr_t)(r).gcptr32)
 
#define gcrefu(r)   ((r).gcptr32)
 
#define gcrefeq(r1, r2)   ((r1).gcptr32 == (r2).gcptr32)
 
#define setgcref(r, gc)   ((r).gcptr32 = (uint32_t)(uintptr_t)&(gc)->gch)
 
#define setgcrefp(r, p)   ((r).gcptr32 = (uint32_t)(uintptr_t)(p))
 
#define setgcrefnull(r)   ((r).gcptr32 = 0)
 
#define setgcrefr(r, v)   ((r).gcptr32 = (v).gcptr32)
 
#define gcnext(gc)   (gcref((gc)->gch.nextgc))
 
#define tvref(r)   (mref(r, TValue))
 
#define LAST_TT   LUA_TTHREAD
 
#define LUA_TPROTO   (LAST_TT+1)
 
#define LUA_TCDATA   (LAST_TT+2)
 
#define LJ_TNIL   (~0u)
 
#define LJ_TFALSE   (~1u)
 
#define LJ_TTRUE   (~2u)
 
#define LJ_TLIGHTUD   (~3u)
 
#define LJ_TSTR   (~4u)
 
#define LJ_TUPVAL   (~5u)
 
#define LJ_TTHREAD   (~6u)
 
#define LJ_TPROTO   (~7u)
 
#define LJ_TFUNC   (~8u)
 
#define LJ_TTRACE   (~9u)
 
#define LJ_TCDATA   (~10u)
 
#define LJ_TTAB   (~11u)
 
#define LJ_TUDATA   (~12u)
 
#define LJ_TNUMX   (~13u)
 
#define LJ_TISNUM   0xfffeffffu
 
#define LJ_TISTRUECOND   LJ_TFALSE
 
#define LJ_TISPRI   LJ_TTRUE
 
#define LJ_TISGCV   (LJ_TSTR+1)
 
#define LJ_TISTABUD   LJ_TTAB
 
#define strref(r)   (&gcref((r))->str)
 
#define strdata(s)   ((const char *)((s)+1))
 
#define strdatawr(s)   ((char *)((s)+1))
 
#define strVdata(o)   strdata(strV(o))
 
#define sizestring(s)   (sizeof(struct GCstr)+(s)->len+1)
 
#define uddata(u)   ((void *)((u)+1))
 
#define sizeudata(u)   (sizeof(struct GCudata)+(u)->len)
 
#define cdataptr(cd)   ((void *)((cd)+1))
 
#define cdataisv(cd)   ((cd)->marked & 0x80)
 
#define cdatav(cd)   ((GCcdataVar *)((char *)(cd) - sizeof(GCcdataVar)))
 
#define cdatavlen(cd)   check_exp(cdataisv(cd), cdatav(cd)->len)
 
#define sizecdatav(cd)   (cdatavlen(cd) + cdatav(cd)->extra)
 
#define memcdatav(cd)   ((void *)((char *)(cd) - cdatav(cd)->offset))
 
#define SCALE_NUM_GCO   ((int32_t)sizeof(lua_Number)/sizeof(GCRef))
 
#define round_nkgc(n)   (((n) + SCALE_NUM_GCO-1) & ~(SCALE_NUM_GCO-1))
 
#define PROTO_CHILD   0x01 /* Has child prototypes. */
 
#define PROTO_VARARG   0x02 /* Vararg function. */
 
#define PROTO_FFI   0x04 /* Uses BC_KCDATA for FFI datatypes. */
 
#define PROTO_NOJIT   0x08 /* JIT disabled for this function. */
 
#define PROTO_ILOOP   0x10 /* Patched bytecode with ILOOP etc. */
 
#define PROTO_HAS_RETURN   0x20 /* Already emitted a return. */
 
#define PROTO_FIXUP_RETURN   0x40 /* Need to fixup emitted returns. */
 
#define PROTO_CLCOUNT   0x20 /* Base of saturating 3 bit counter. */
 
#define PROTO_CLC_BITS   3
 
#define PROTO_CLC_POLY   (3*PROTO_CLCOUNT) /* Polymorphic threshold. */
 
#define PROTO_UV_LOCAL   0x8000 /* Upvalue for local slot. */
 
#define PROTO_UV_IMMUTABLE   0x4000 /* Immutable upvalue. */
 
#define proto_kgc(pt, idx)
 
#define proto_knumtv(pt, idx)    check_exp((uintptr_t)(idx) < (pt)->sizekn, &mref((pt)->k, TValue)[(idx)])
 
#define proto_bc(pt)   ((BCIns *)((char *)(pt) + sizeof(GCproto)))
 
#define proto_bcpos(pt, pc)   ((BCPos)((pc) - proto_bc(pt)))
 
#define proto_uv(pt)   (mref((pt)->uv, uint16_t))
 
#define proto_chunkname(pt)   (strref((pt)->chunkname))
 
#define proto_chunknamestr(pt)   (strdata(proto_chunkname((pt))))
 
#define proto_lineinfo(pt)   (mref((pt)->lineinfo, const void))
 
#define proto_uvinfo(pt)   (mref((pt)->uvinfo, const uint8_t))
 
#define proto_varinfo(pt)   (mref((pt)->varinfo, const uint8_t))
 
#define uvprev(uv_)   (&gcref((uv_)->prev)->uv)
 
#define uvnext(uv_)   (&gcref((uv_)->next)->uv)
 
#define uvval(uv_)   (mref((uv_)->v, TValue))
 
#define GCfuncHeader
 
#define FF_LUA   0
 
#define FF_C   1
 
#define isluafunc(fn)   ((fn)->c.ffid == FF_LUA)
 
#define iscfunc(fn)   ((fn)->c.ffid == FF_C)
 
#define isffunc(fn)   ((fn)->c.ffid > FF_C)
 
#define funcproto(fn)    check_exp(isluafunc(fn), (GCproto *)(mref((fn)->l.pc, char)-sizeof(GCproto)))
 
#define sizeCfunc(n)   (sizeof(GCfuncC)-sizeof(TValue)+sizeof(TValue)*(n))
 
#define sizeLfunc(n)   (sizeof(GCfuncL)-sizeof(GCRef)+sizeof(GCRef)*(n))
 
#define sizetabcolo(n)   ((n)*sizeof(TValue) + sizeof(GCtab))
 
#define tabref(r)   (&gcref((r))->tab)
 
#define noderef(r)   (mref((r), Node))
 
#define nextnode(n)   (mref((n)->next, Node))
 
#define getfreetop(t, n)   (noderef((n)->freetop))
 
#define setfreetop(t, n, v)   (setmref((n)->freetop, (v)))
 
#define setvmstate(g, st)   ((g)->vmstate = ~LJ_VMST_##st)
 
#define MMDEF_FFI(_)   _(new)
 
#define MMDEF_PAIRS(_)   _(pairs) _(ipairs)
 
#define MMDEF(_)
 
#define MMENUM(name)   MM_##name,
 
#define basemt_it(g, it)   ((g)->gcroot[GCROOT_BASEMT+~(it)])
 
#define basemt_obj(g, o)   ((g)->gcroot[GCROOT_BASEMT+itypemap(o)])
 
#define mmname_str(g, mm)   (strref((g)->gcroot[GCROOT_MMNAME+(mm)]))
 
#define mainthread(g)   (&gcref(g->mainthref)->th)
 
#define niltv(L)    check_exp(tvisnil(&G(L)->nilnode.val), &G(L)->nilnode.val)
 
#define niltvg(g)    check_exp(tvisnil(&(g)->nilnode.val), &(g)->nilnode.val)
 
#define HOOK_EVENTMASK   0x0f
 
#define HOOK_ACTIVE   0x10
 
#define HOOK_ACTIVE_SHIFT   4
 
#define HOOK_VMEVENT   0x20
 
#define HOOK_GC   0x40
 
#define HOOK_PROFILE   0x80
 
#define hook_active(g)   ((g)->hookmask & HOOK_ACTIVE)
 
#define hook_enter(g)   ((g)->hookmask |= HOOK_ACTIVE)
 
#define hook_entergc(g)   ((g)->hookmask |= (HOOK_ACTIVE|HOOK_GC))
 
#define hook_vmevent(g)   ((g)->hookmask |= (HOOK_ACTIVE|HOOK_VMEVENT))
 
#define hook_leave(g)   ((g)->hookmask &= ~HOOK_ACTIVE)
 
#define hook_save(g)   ((g)->hookmask & ~HOOK_EVENTMASK)
 
#define hook_restore(g, h)    ((g)->hookmask = ((g)->hookmask & HOOK_EVENTMASK) | (h))
 
#define G(L)   (mref(L->glref, global_State))
 
#define registry(L)   (&G(L)->registrytv)
 
#define curr_func(L)   (&gcref((L->base-1)->fr.func)->fn)
 
#define curr_funcisL(L)   (isluafunc(curr_func(L)))
 
#define curr_proto(L)   (funcproto(curr_func(L)))
 
#define curr_topL(L)   (L->base + curr_proto(L)->framesize)
 
#define curr_top(L)   (curr_funcisL(L) ? curr_topL(L) : L->top)
 
#define gco2str(o)   check_exp((o)->gch.gct == ~LJ_TSTR, &(o)->str)
 
#define gco2uv(o)   check_exp((o)->gch.gct == ~LJ_TUPVAL, &(o)->uv)
 
#define gco2th(o)   check_exp((o)->gch.gct == ~LJ_TTHREAD, &(o)->th)
 
#define gco2pt(o)   check_exp((o)->gch.gct == ~LJ_TPROTO, &(o)->pt)
 
#define gco2func(o)   check_exp((o)->gch.gct == ~LJ_TFUNC, &(o)->fn)
 
#define gco2cd(o)   check_exp((o)->gch.gct == ~LJ_TCDATA, &(o)->cd)
 
#define gco2tab(o)   check_exp((o)->gch.gct == ~LJ_TTAB, &(o)->tab)
 
#define gco2ud(o)   check_exp((o)->gch.gct == ~LJ_TUDATA, &(o)->ud)
 
#define obj2gco(v)   ((GCobj *)(v))
 
#define itype(o)   ((o)->it)
 
#define tvisnil(o)   (itype(o) == LJ_TNIL)
 
#define tvisfalse(o)   (itype(o) == LJ_TFALSE)
 
#define tvistrue(o)   (itype(o) == LJ_TTRUE)
 
#define tvisbool(o)   (tvisfalse(o) || tvistrue(o))
 
#define tvislightud(o)   (((int32_t)itype(o) >> 15) == -2)
 
#define tvisstr(o)   (itype(o) == LJ_TSTR)
 
#define tvisfunc(o)   (itype(o) == LJ_TFUNC)
 
#define tvisthread(o)   (itype(o) == LJ_TTHREAD)
 
#define tvisproto(o)   (itype(o) == LJ_TPROTO)
 
#define tviscdata(o)   (itype(o) == LJ_TCDATA)
 
#define tvistab(o)   (itype(o) == LJ_TTAB)
 
#define tvisudata(o)   (itype(o) == LJ_TUDATA)
 
#define tvisnumber(o)   (itype(o) <= LJ_TISNUM)
 
#define tvisint(o)   (LJ_DUALNUM && itype(o) == LJ_TISNUM)
 
#define tvisnum(o)   (itype(o) < LJ_TISNUM)
 
#define tvistruecond(o)   (itype(o) < LJ_TISTRUECOND)
 
#define tvispri(o)   (itype(o) >= LJ_TISPRI)
 
#define tvistabud(o)   (itype(o) <= LJ_TISTABUD) /* && !tvisnum() */
 
#define tvisgcv(o)   ((itype(o) - LJ_TISGCV) > (LJ_TNUMX - LJ_TISGCV))
 
#define tvisnan(o)   ((o)->n != (o)->n)
 
#define tviszero(o)   (((o)->u64 << 1) == 0)
 
#define tvispzero(o)   ((o)->u64 == 0)
 
#define tvismzero(o)   ((o)->u64 == U64x(80000000,00000000))
 
#define tvispone(o)   ((o)->u64 == U64x(3ff00000,00000000))
 
#define rawnumequal(o1, o2)   ((o1)->u64 == (o2)->u64)
 
#define itypemap(o)    (tvisnumber(o) ? ~LJ_TNUMX : tvislightud(o) ? ~LJ_TLIGHTUD : ~itype(o))
 
#define gcval(o)   (gcref((o)->gcr))
 
#define boolV(o)   check_exp(tvisbool(o), (LJ_TFALSE - itype(o)))
 
#define lightudV(o)    check_exp(tvislightud(o), (void *)((o)->u64 & U64x(00007fff,ffffffff)))
 
#define gcV(o)   check_exp(tvisgcv(o), gcval(o))
 
#define strV(o)   check_exp(tvisstr(o), &gcval(o)->str)
 
#define funcV(o)   check_exp(tvisfunc(o), &gcval(o)->fn)
 
#define threadV(o)   check_exp(tvisthread(o), &gcval(o)->th)
 
#define protoV(o)   check_exp(tvisproto(o), &gcval(o)->pt)
 
#define cdataV(o)   check_exp(tviscdata(o), &gcval(o)->cd)
 
#define tabV(o)   check_exp(tvistab(o), &gcval(o)->tab)
 
#define udataV(o)   check_exp(tvisudata(o), &gcval(o)->ud)
 
#define numV(o)   check_exp(tvisnum(o), (o)->n)
 
#define intV(o)   check_exp(tvisint(o), (int32_t)(o)->i)
 
#define setitype(o, i)   ((o)->it = (i))
 
#define setnilV(o)   ((o)->it = LJ_TNIL)
 
#define setboolV(o, x)   ((o)->it = LJ_TFALSE-(uint32_t)(x))
 
#define setpriV(o, i)   (setitype((o), (i)))
 
#define checklightudptr(L, p)    (((uint64_t)(p) >> 47) ? (lj_err_msg(L, LJ_ERR_BADLU), NULL) : (p))
 
#define contptr(f)    ((void *)(uintptr_t)(uint32_t)((intptr_t)(f) - (intptr_t)lj_vm_asm_begin))
 
#define setcont(o, f)    ((o)->u64 = (uint64_t)(void *)(f) - (uint64_t)lj_vm_asm_begin)
 
#define tvchecklive(L, o)
 
#define define_setV(name, type, tag)
 
#define setnumV(o, x)   ((o)->n = (x))
 
#define setnanV(o)   ((o)->u64 = U64x(fff80000,00000000))
 
#define setpinfV(o)   ((o)->u64 = U64x(7ff00000,00000000))
 
#define setminfV(o)   ((o)->u64 = U64x(fff00000,00000000))
 
#define setintptrV(o, i)   setint64V((o), (i))
 
#define lj_num2int(n)   ((int32_t)(n))
 
#define lj_typename(o)   (lj_obj_itypename[itypemap(o)])
 

Typedefs

typedef uint32_t MSize
 
typedef uint32_t GCSize
 
typedef struct MRef MRef
 
typedef struct GCRef GCRef
 
typedef uint32_t BCIns
 
typedef uint32_t BCPos
 
typedef uint32_t BCReg
 
typedef int32_t BCLine
 
typedef void(* ASMFunction) (void)
 
typedef struct SBuf SBuf
 
typedef const TValue cTValue
 
typedef struct GCstr GCstr
 
typedef struct GCudata GCudata
 
typedef struct GCcdata GCcdata
 
typedef struct GCcdataVar GCcdataVar
 
typedef struct GCproto GCproto
 
typedef struct GCupval GCupval
 
typedef struct GCfuncC GCfuncC
 
typedef struct GCfuncL GCfuncL
 
typedef union GCfunc GCfunc
 
typedef struct Node Node
 
typedef struct GCtab GCtab
 
typedef struct GCState GCState
 
typedef struct global_State global_State
 
typedef struct GChead GChead
 
typedef union GCobj GCobj
 

Enumerations

enum  { UDTYPE_USERDATA , UDTYPE_IO_FILE , UDTYPE_FFI_CLIB , UDTYPE__MAX }
 
enum  {
  LJ_VMST_INTERP , LJ_VMST_C , LJ_VMST_GC , LJ_VMST_EXIT ,
  LJ_VMST_RECORD , LJ_VMST_OPT , LJ_VMST_ASM , LJ_VMST__MAX
}
 
enum  MMS {
  MM_index , MM_newindex , MM_gc , MM_mode ,
  MM_eq , MM_len , MM_lt , MM_le ,
  MM_concat , MM_call , MM_add , MM_sub ,
  MM_mul , MM_div , MM_mod , MM_pow ,
  MM_unm , MM_metatable , MM_tostring , MM_new ,
  MM_pairs , MM_ipairs , MM__MAX , MM____ = MM__MAX ,
  MM_FAST = MM_len , MM_index , MM_newindex , MM_gc ,
  MM_mode , MM_eq , MM_len , MM_lt ,
  MM_le , MM_concat , MM_call , MM_add ,
  MM_sub , MM_mul , MM_div , MM_mod ,
  MM_pow , MM_unm , MM_metatable , MM_tostring ,
  MM_new , MM_pairs , MM_ipairs , MM__MAX ,
  MM____ = MM__MAX , MM_FAST = MM_len , MM_index , MM_newindex ,
  MM_gc , MM_mode , MM_eq , MM_len ,
  MM_lt , MM_le , MM_concat , MM_call ,
  MM_add , MM_sub , MM_mul , MM_div ,
  MM_mod , MM_pow , MM_unm , MM_metatable ,
  MM_tostring , MM_new , MM_pairs , MM_ipairs ,
  MM__MAX , MM____ = MM__MAX , MM_FAST = MM_len , MM_index ,
  MM_newindex , MM_gc , MM_mode , MM_eq ,
  MM_len , MM_lt , MM_le , MM_concat ,
  MM_call , MM_add , MM_sub , MM_mul ,
  MM_div , MM_mod , MM_pow , MM_unm ,
  MM_metatable , MM_tostring , MM_new , MM_pairs ,
  MM_ipairs , MM__MAX , MM____ = MM__MAX , MM_FAST = MM_len
}
 
enum  GCRootID {
  GCROOT_MMNAME , GCROOT_MMNAME_LAST = GCROOT_MMNAME + MM__MAX-1 , GCROOT_BASEMT , GCROOT_BASEMT_NUM = GCROOT_BASEMT + ~ (~13u) ,
  GCROOT_IO_INPUT , GCROOT_IO_OUTPUT , GCROOT_MAX , GCROOT_MMNAME ,
  GCROOT_MMNAME_LAST = GCROOT_MMNAME + MM__MAX-1 , GCROOT_BASEMT , GCROOT_BASEMT_NUM = GCROOT_BASEMT + ~ (~13u) , GCROOT_IO_INPUT ,
  GCROOT_IO_OUTPUT , GCROOT_MAX , GCROOT_MMNAME , GCROOT_MMNAME_LAST = GCROOT_MMNAME + MM__MAX-1 ,
  GCROOT_BASEMT , GCROOT_BASEMT_NUM = GCROOT_BASEMT + ~ (~13u) , GCROOT_IO_INPUT , GCROOT_IO_OUTPUT ,
  GCROOT_MAX , GCROOT_MMNAME , GCROOT_MMNAME_LAST = GCROOT_MMNAME + MM__MAX-1 , GCROOT_BASEMT ,
  GCROOT_BASEMT_NUM = GCROOT_BASEMT + ~ (~13u) , GCROOT_IO_INPUT , GCROOT_IO_OUTPUT , GCROOT_MAX
}
 

Functions

typedef LJ_ALIGN (8) union TValue
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(Node, val)==0)?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, env)==offsetof(GCfuncL, env))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, env)==offsetof(GCudata, env))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, metatable)==offsetof(GCtab, metatable))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, metatable)==offsetof(GCudata, metatable))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(lua_State, gclist))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(GCproto, gclist))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(GCfuncL, gclist))?1:-1])
 
void lj_assert___LINE__ (int STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(GCtab, gclist))?1:-1])
 
static LJ_AINLINE void setlightudV (TValue *o, void *p)
 
static LJ_AINLINE void setgcVraw (TValue *o, GCobj *v, uint32_t itype)
 
static LJ_AINLINE void setgcV (lua_State *L, TValue *o, GCobj *v, uint32_t it)
 
static LJ_AINLINE void setstrV (lua_State *L, TValue *o, GCstr *v)
 
static LJ_AINLINE void setthreadV (lua_State *L, TValue *o, lua_State *v)
 
static LJ_AINLINE void setprotoV (lua_State *L, TValue *o, GCproto *v)
 
static LJ_AINLINE void setfuncV (lua_State *L, TValue *o, GCfunc *v)
 
static LJ_AINLINE void setcdataV (lua_State *L, TValue *o, GCcdata *v)
 
static LJ_AINLINE void settabV (lua_State *L, TValue *o, GCtab *v)
 
static LJ_AINLINE void setudataV (lua_State *L, TValue *o, GCudata *v)
 
static LJ_AINLINE void setintV (TValue *o, int32_t i)
 
static LJ_AINLINE void setint64V (TValue *o, int64_t i)
 
static LJ_AINLINE void copyTV (lua_State *L, TValue *o1, const TValue *o2)
 
static LJ_AINLINE int32_t lj_num2bit (lua_Number n)
 
static LJ_AINLINE uint64_t lj_num2u64 (lua_Number n)
 
static LJ_AINLINE int32_t numberVint (cTValue *o)
 
static LJ_AINLINE lua_Number numberVnum (cTValue *o)
 
int lj_obj_equal (cTValue *o1, cTValue *o2)
 
const voidlj_obj_ptr (cTValue *o)
 

Variables

 TValue
 
const char *const lj_obj_typename [1+(8+2)+1]
 
const char *const lj_obj_itypename [~(~13u)+1]
 

Macro Definition Documentation

◆ basemt_it

#define basemt_it (   g,
  it 
)    ((g)->gcroot[GCROOT_BASEMT+~(it)])

Definition at line 568 of file lj_obj.h.

◆ basemt_obj

#define basemt_obj (   g,
 
)    ((g)->gcroot[GCROOT_BASEMT+itypemap(o)])

Definition at line 569 of file lj_obj.h.

◆ boolV

#define boolV (   o)    check_exp(tvisbool(o), (LJ_TFALSE - itype(o)))

Definition at line 795 of file lj_obj.h.

◆ cdataisv

#define cdataisv (   cd)    ((cd)->marked & 0x80)

Definition at line 345 of file lj_obj.h.

◆ cdataptr

#define cdataptr (   cd)    ((void *)((cd)+1))

Definition at line 344 of file lj_obj.h.

◆ cdatav

#define cdatav (   cd)    ((GCcdataVar *)((char *)(cd) - sizeof(GCcdataVar)))

Definition at line 346 of file lj_obj.h.

◆ cdataV

#define cdataV (   o)    check_exp(tviscdata(o), &gcval(o)->cd)

Definition at line 807 of file lj_obj.h.

◆ cdatavlen

#define cdatavlen (   cd)    check_exp(cdataisv(cd), cdatav(cd)->len)

Definition at line 347 of file lj_obj.h.

◆ checklightudptr

#define checklightudptr (   L,
  p 
)     (((uint64_t)(p) >> 47) ? (lj_err_msg(L, LJ_ERR_BADLU), NULL) : (p))

Definition at line 838 of file lj_obj.h.

◆ contptr

#define contptr (   f)     ((void *)(uintptr_t)(uint32_t)((intptr_t)(f) - (intptr_t)lj_vm_asm_begin))

Definition at line 848 of file lj_obj.h.

◆ curr_func

#define curr_func (   L)    (&gcref((L->base-1)->fr.func)->fn)

Definition at line 673 of file lj_obj.h.

◆ curr_funcisL

#define curr_funcisL (   L)    (isluafunc(curr_func(L)))

Definition at line 675 of file lj_obj.h.

◆ curr_proto

#define curr_proto (   L)    (funcproto(curr_func(L)))

Definition at line 676 of file lj_obj.h.

◆ curr_top

#define curr_top (   L)    (curr_funcisL(L) ? curr_topL(L) : L->top)

Definition at line 678 of file lj_obj.h.

◆ curr_topL

#define curr_topL (   L)    (L->base + curr_proto(L)->framesize)

Definition at line 677 of file lj_obj.h.

◆ define_setV

#define define_setV (   name,
  type,
  tag 
)
Value:
static LJ_AINLINE void name(lua_State *L, TValue *o, type *v) \
{ \
setgcV(L, o, obj2gco(v), tag); \
}
#define type(a)
Definition: aptex-macros.h:171
#define name
int v
Definition: dviconv.c:10
#define obj2gco(v)
Definition: lj_obj.h:729
Definition: xmlparse.c:179
@ L
Definition: ubidiimp.h:45

Definition at line 875 of file lj_obj.h.

◆ FF_C

#define FF_C   1

Definition at line 459 of file lj_obj.h.

◆ FF_LUA

#define FF_LUA   0

Definition at line 458 of file lj_obj.h.

◆ funcproto

#define funcproto (   fn)     check_exp(isluafunc(fn), (GCproto *)(mref((fn)->l.pc, char)-sizeof(GCproto)))

Definition at line 463 of file lj_obj.h.

◆ funcV

#define funcV (   o)    check_exp(tvisfunc(o), &gcval(o)->fn)

Definition at line 804 of file lj_obj.h.

◆ G

#define G (   L)    (mref(L->glref, global_State))

Definition at line 664 of file lj_obj.h.

◆ GCfuncHeader

#define GCfuncHeader
Value:
GCHeader; uint8_t ffid; uint8_t nupvalues; \
GCRef env; GCRef gclist; MRef pc
long pc
Definition: disdvi.c:114
unsigned char uint8_t
Definition: stdint.h:78
static int ffid
Definition: buildvm_lib.c:19
#define GCHeader
Definition: lj_obj.h:59
Definition: lj_obj.h:50
Definition: lj_obj.h:27
Definition: sh.h:1689

Definition at line 438 of file lj_obj.h.

◆ GCHeader

#define GCHeader   GCRef nextgc; uint8_t marked; uint8_t gct

Definition at line 59 of file lj_obj.h.

◆ gcnext

#define gcnext (   gc)    (gcref((gc)->gch.nextgc))

Definition at line 86 of file lj_obj.h.

◆ gco2cd

#define gco2cd (   o)    check_exp((o)->gch.gct == ~LJ_TCDATA, &(o)->cd)

Definition at line 724 of file lj_obj.h.

◆ gco2func

#define gco2func (   o)    check_exp((o)->gch.gct == ~LJ_TFUNC, &(o)->fn)

Definition at line 723 of file lj_obj.h.

◆ gco2pt

#define gco2pt (   o)    check_exp((o)->gch.gct == ~LJ_TPROTO, &(o)->pt)

Definition at line 722 of file lj_obj.h.

◆ gco2str

#define gco2str (   o)    check_exp((o)->gch.gct == ~LJ_TSTR, &(o)->str)

Definition at line 719 of file lj_obj.h.

◆ gco2tab

#define gco2tab (   o)    check_exp((o)->gch.gct == ~LJ_TTAB, &(o)->tab)

Definition at line 725 of file lj_obj.h.

◆ gco2th

#define gco2th (   o)    check_exp((o)->gch.gct == ~LJ_TTHREAD, &(o)->th)

Definition at line 721 of file lj_obj.h.

◆ gco2ud

#define gco2ud (   o)    check_exp((o)->gch.gct == ~LJ_TUDATA, &(o)->ud)

Definition at line 726 of file lj_obj.h.

◆ gco2uv

#define gco2uv (   o)    check_exp((o)->gch.gct == ~LJ_TUPVAL, &(o)->uv)

Definition at line 720 of file lj_obj.h.

◆ gcref

#define gcref (   r)    ((GCobj *)(uintptr_t)(r).gcptr32)

Definition at line 75 of file lj_obj.h.

◆ gcrefeq

#define gcrefeq (   r1,
  r2 
)    ((r1).gcptr32 == (r2).gcptr32)

Definition at line 78 of file lj_obj.h.

◆ gcrefp

#define gcrefp (   r,
  t 
)    ((t *)(void *)(uintptr_t)(r).gcptr32)

Definition at line 76 of file lj_obj.h.

◆ gcrefu

#define gcrefu (   r)    ((r).gcptr32)

Definition at line 77 of file lj_obj.h.

◆ gcV

#define gcV (   o)    check_exp(tvisgcv(o), gcval(o))

Definition at line 802 of file lj_obj.h.

◆ gcval

#define gcval (   o)    (gcref((o)->gcr))

Definition at line 793 of file lj_obj.h.

◆ getfreetop

#define getfreetop (   t,
  n 
)    (noderef((n)->freetop))

Definition at line 505 of file lj_obj.h.

◆ HOOK_ACTIVE

#define HOOK_ACTIVE   0x10

Definition at line 633 of file lj_obj.h.

◆ hook_active

#define hook_active (   g)    ((g)->hookmask & HOOK_ACTIVE)

Definition at line 638 of file lj_obj.h.

◆ HOOK_ACTIVE_SHIFT

#define HOOK_ACTIVE_SHIFT   4

Definition at line 634 of file lj_obj.h.

◆ hook_enter

#define hook_enter (   g)    ((g)->hookmask |= HOOK_ACTIVE)

Definition at line 639 of file lj_obj.h.

◆ hook_entergc

#define hook_entergc (   g)    ((g)->hookmask |= (HOOK_ACTIVE|HOOK_GC))

Definition at line 640 of file lj_obj.h.

◆ HOOK_EVENTMASK

#define HOOK_EVENTMASK   0x0f

Definition at line 632 of file lj_obj.h.

◆ HOOK_GC

#define HOOK_GC   0x40

Definition at line 636 of file lj_obj.h.

◆ hook_leave

#define hook_leave (   g)    ((g)->hookmask &= ~HOOK_ACTIVE)

Definition at line 642 of file lj_obj.h.

◆ HOOK_PROFILE

#define HOOK_PROFILE   0x80

Definition at line 637 of file lj_obj.h.

◆ hook_restore

#define hook_restore (   g,
  h 
)     ((g)->hookmask = ((g)->hookmask & HOOK_EVENTMASK) | (h))

Definition at line 644 of file lj_obj.h.

◆ hook_save

#define hook_save (   g)    ((g)->hookmask & ~HOOK_EVENTMASK)

Definition at line 643 of file lj_obj.h.

◆ HOOK_VMEVENT

#define HOOK_VMEVENT   0x20

Definition at line 635 of file lj_obj.h.

◆ hook_vmevent

#define hook_vmevent (   g)    ((g)->hookmask |= (HOOK_ACTIVE|HOOK_VMEVENT))

Definition at line 641 of file lj_obj.h.

◆ intV

#define intV (   o)    check_exp(tvisint(o), (int32_t)(o)->i)

Definition at line 811 of file lj_obj.h.

◆ iscfunc

#define iscfunc (   fn)    ((fn)->c.ffid == FF_C)

Definition at line 461 of file lj_obj.h.

◆ isffunc

#define isffunc (   fn)    ((fn)->c.ffid > FF_C)

Definition at line 462 of file lj_obj.h.

◆ isluafunc

#define isluafunc (   fn)    ((fn)->c.ffid == FF_LUA)

Definition at line 460 of file lj_obj.h.

◆ itype

#define itype (   o)    ((o)->it)

Definition at line 742 of file lj_obj.h.

◆ itypemap

#define itypemap (   o)     (tvisnumber(o) ? ~LJ_TNUMX : tvislightud(o) ? ~LJ_TLIGHTUD : ~itype(o))

Definition at line 783 of file lj_obj.h.

◆ LAST_TT

#define LAST_TT   LUA_TTHREAD

Definition at line 218 of file lj_obj.h.

◆ lightudV

#define lightudV (   o)     check_exp(tvislightud(o), (void *)((o)->u64 & U64x(00007fff,ffffffff)))

Definition at line 797 of file lj_obj.h.

◆ lj_num2int

#define lj_num2int (   n)    ((int32_t)(n))

Definition at line 939 of file lj_obj.h.

◆ LJ_TCDATA

#define LJ_TCDATA   (~10u)

Definition at line 267 of file lj_obj.h.

◆ LJ_TFALSE

#define LJ_TFALSE   (~1u)

Definition at line 258 of file lj_obj.h.

◆ LJ_TFUNC

#define LJ_TFUNC   (~8u)

Definition at line 265 of file lj_obj.h.

◆ LJ_TISGCV

#define LJ_TISGCV   (LJ_TSTR+1)

Definition at line 281 of file lj_obj.h.

◆ LJ_TISNUM

#define LJ_TISNUM   0xfffeffffu

Definition at line 275 of file lj_obj.h.

◆ LJ_TISPRI

#define LJ_TISPRI   LJ_TTRUE

Definition at line 280 of file lj_obj.h.

◆ LJ_TISTABUD

#define LJ_TISTABUD   LJ_TTAB

Definition at line 282 of file lj_obj.h.

◆ LJ_TISTRUECOND

#define LJ_TISTRUECOND   LJ_TFALSE

Definition at line 279 of file lj_obj.h.

◆ LJ_TLIGHTUD

#define LJ_TLIGHTUD   (~3u)

Definition at line 260 of file lj_obj.h.

◆ LJ_TNIL

#define LJ_TNIL   (~0u)

Definition at line 257 of file lj_obj.h.

◆ LJ_TNUMX

#define LJ_TNUMX   (~13u)

Definition at line 271 of file lj_obj.h.

◆ LJ_TPROTO

#define LJ_TPROTO   (~7u)

Definition at line 264 of file lj_obj.h.

◆ LJ_TSTR

#define LJ_TSTR   (~4u)

Definition at line 261 of file lj_obj.h.

◆ LJ_TTAB

#define LJ_TTAB   (~11u)

Definition at line 268 of file lj_obj.h.

◆ LJ_TTHREAD

#define LJ_TTHREAD   (~6u)

Definition at line 263 of file lj_obj.h.

◆ LJ_TTRACE

#define LJ_TTRACE   (~9u)

Definition at line 266 of file lj_obj.h.

◆ LJ_TTRUE

#define LJ_TTRUE   (~2u)

Definition at line 259 of file lj_obj.h.

◆ LJ_TUDATA

#define LJ_TUDATA   (~12u)

Definition at line 269 of file lj_obj.h.

◆ LJ_TUPVAL

#define LJ_TUPVAL   (~5u)

Definition at line 262 of file lj_obj.h.

◆ lj_typename

#define lj_typename (   o)    (lj_obj_itypename[itypemap(o)])

Definition at line 973 of file lj_obj.h.

◆ LUA_TCDATA

#define LUA_TCDATA   (LAST_TT+2)

Definition at line 220 of file lj_obj.h.

◆ LUA_TPROTO

#define LUA_TPROTO   (LAST_TT+1)

Definition at line 219 of file lj_obj.h.

◆ mainthread

#define mainthread (   g)    (&gcref(g->mainthref)->th)

Definition at line 625 of file lj_obj.h.

◆ memcdatav

#define memcdatav (   cd)    ((void *)((char *)(cd) - cdatav(cd)->offset))

Definition at line 349 of file lj_obj.h.

◆ MMDEF

#define MMDEF (   _)
Value:
_(index) _(newindex) _(gc) _(mode) _(eq) _(len) \
/* Only the above (fast) metamethods are negative cached (max. 8). */ \
_(lt) _(le) _(concat) _(call) \
/* The following must be in ORDER ARITH. */ \
_(add) _(sub) _(mul) _(div) _(mod) _(pow) _(unm) \
/* The following are used in the standard libraries. */ \
_(metatable) _(tostring) MMDEF_FFI(_) MMDEF_PAIRS(_)
return _Result< 0 ? -1 :_Result;} #line 1069 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnwprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1091 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, va_list _ArgList) { return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1108 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _ArgList) { return _vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1133 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1179 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1196 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __vswprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1212 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf(wchar_t *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1227 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1243 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1264 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1281 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1283 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1312 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1347 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_l(_Format,((void *) 0), _ArgList);} #line 1361 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1380 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1394 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __swprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1414 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1435 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf(wchar_t *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1454 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1474 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "__swprintf_l_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __swprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vswprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __vswprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "swprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swprintf(wchar_t *_Buffer, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vswprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vswprintf(wchar_t *_Buffer, wchar_t const *_Format, va_list _Args);__inline int __cdecl _swprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1511 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1532 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1534 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1562 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1582 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1603 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1623 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1646 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1668 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1711 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1737 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1755 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1774 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1792 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable:4141 6054) #pragma warning(pop) #line 1856 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" int __cdecl __stdio_common_vswscanf(unsigned __int64 _Options, wchar_t const *_Buffer, size_t _BufferCount, wchar_t const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vswscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1897 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf(wchar_t const *_Buffer, wchar_t const *_Format, va_list _ArgList) { return _vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1947 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1949 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1976 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1995 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_swscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2015 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "swscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl swscanf(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2034 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2054 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 2077 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2100 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2122 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2143 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) typedef __int64 fpos_t;errno_t __cdecl _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count);errno_t __cdecl clearerr_s(FILE *_Stream);errno_t __cdecl fopen_s(FILE **_Stream, char const *_FileName, char const *_Mode);size_t __cdecl fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);errno_t __cdecl freopen_s(FILE **_Stream, char const *_FileName, char const *_Mode, FILE *_OldStream);char *__cdecl gets_s(char *_Buffer, rsize_t _Size);errno_t __cdecl tmpfile_s(FILE **_Stream);errno_t __cdecl tmpnam_s(char *_Buffer, rsize_t _Size);#line 145 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl clearerr(FILE *_Stream);int __cdecl fclose(FILE *_Stream);int __cdecl _fcloseall(void);FILE *__cdecl _fdopen(int _FileHandle, char const *_Mode);int __cdecl feof(FILE *_Stream);int __cdecl ferror(FILE *_Stream);int __cdecl fflush(FILE *_Stream);int __cdecl fgetc(FILE *_Stream);int __cdecl _fgetchar(void);int __cdecl fgetpos(FILE *_Stream, fpos_t *_Position);char *__cdecl fgets(char *_Buffer, int _MaxCount, FILE *_Stream);int __cdecl _fileno(FILE *_Stream);int __cdecl _flushall(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "fopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl fopen(char const *_FileName, char const *_Mode);int __cdecl fputc(int _Character, FILE *_Stream);int __cdecl _fputchar(int _Character);int __cdecl fputs(char const *_Buffer, FILE *_Stream);size_t __cdecl fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);__declspec(deprecated("This function or variable may be unsafe. Consider using " "freopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl freopen(char const *_FileName, char const *_Mode, FILE *_Stream);FILE *__cdecl _fsopen(char const *_FileName, char const *_Mode, int _ShFlag);int __cdecl fsetpos(FILE *_Stream, fpos_t const *_Position);int __cdecl fseek(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl ftell(FILE *_Stream);__int64 __cdecl _ftelli64(FILE *_Stream);size_t __cdecl fwrite(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl getc(FILE *_Stream);int __cdecl getchar(void);int __cdecl _getmaxstdio(void);int __cdecl _getw(FILE *_Stream);void __cdecl perror(char const *_ErrorMessage);int __cdecl _pclose(FILE *_Stream);FILE *__cdecl _popen(char const *_Command, char const *_Mode);#line 344 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl putc(int _Character, FILE *_Stream);int __cdecl putchar(int _Character);int __cdecl puts(char const *_Buffer);int __cdecl _putw(int _Word, FILE *_Stream);int __cdecl remove(char const *_FileName);int __cdecl rename(char const *_OldFileName, char const *_NewFileName);int __cdecl _unlink(char const *_FileName);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_unlink" ". See online help for details.")) int __cdecl unlink(char const *_FileName);#line 391 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl rewind(FILE *_Stream);int __cdecl _rmtmp(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "setvbuf" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) void __cdecl setbuf(FILE *_Stream, char *_Buffer);int __cdecl _setmaxstdio(int _Maximum);int __cdecl setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size);__declspec(allocator) char *__cdecl _tempnam(char const *_DirectoryName, char const *_FilePrefix);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpfile_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl tmpfile(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl tmpnam(char *_Buffer);int __cdecl ungetc(int _Character, FILE *_Stream);void __cdecl _lock_file(FILE *_Stream);void __cdecl _unlock_file(FILE *_Stream);int __cdecl _fclose_nolock(FILE *_Stream);int __cdecl _fflush_nolock(FILE *_Stream);int __cdecl _fgetc_nolock(FILE *_Stream);int __cdecl _fputc_nolock(int _Character, FILE *_Stream);size_t __cdecl _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);size_t __cdecl _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _fseek_nolock(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64_nolock(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl _ftell_nolock(FILE *_Stream);__int64 __cdecl _ftelli64_nolock(FILE *_Stream);size_t __cdecl _fwrite_nolock(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _getc_nolock(FILE *_Stream);int __cdecl _putc_nolock(int _Character, FILE *_Stream);int __cdecl _ungetc_nolock(int _Character, FILE *_Stream);int *__cdecl __p__commode(void);#line 596 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfprintf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_s(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_p(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vfprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 648 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 662 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 677 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 693 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 695 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 710 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);} #line 724 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 738 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf(char const *const _Format, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 751 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 765 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf_s(char const *const _Format, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 780 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 796 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p(char const *const _Format, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 809 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 828 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 846 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl _set_printf_count_output(int _Value);int __cdecl _get_printf_count_output(void);__inline int __cdecl _fprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 871 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 891 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 893 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 948 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 965 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 983 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1002 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1004 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1022 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1039 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfscanf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _Arglist);__inline int __cdecl _vfscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options()), _Stream, _Format, _Locale, _ArgList);} #line 1070 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1084 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Stream, _Format, _Locale, _ArgList);} #line 1101 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1118 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1120 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1134 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf(char const *const _Format, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1147 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1161 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf_s(char const *const _Format, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1176 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1178 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _fscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1197 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "fscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl fscanf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1215 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1234 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fscanf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1254 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_scanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _scanf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1274 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "scanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl scanf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1291 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scanf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1309 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl scanf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1330 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsprintf(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsnprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, size_t _MaxCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_p(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1399 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1415 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);return _Result< 0 ? -1 :_Result;} #line 1446 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1462 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl vsprintf(char *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1477 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1498 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1516 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1526 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1547 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1563 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1585 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1602 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1630 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1641 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1659 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf(char const *const _Format, va_list _ArgList) { return _vscprintf_l(_Format,((void *) 0), _ArgList);} #line 1672 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p(char const *const _Format, va_list _ArgList) { return _vscprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1703 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1723 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1739 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1761 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf(char *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl sprintf(char *_Buffer, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl vsprintf(char *_Buffer, char const *_Format, va_list _Args);__inline int __cdecl _sprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1810 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1832 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1834 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1862 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1882 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1905 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1936 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1956 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _snprintf(char *_Buffer, size_t _BufferCount, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _vsnprintf(char *_Buffer, size_t _BufferCount, char const *_Format, va_list _Args);__inline int __cdecl _snprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1986 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2006 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2028 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2049 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2092 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2110 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p(_Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2127 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsscanf(unsigned __int64 _Options, char const *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vsscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2158 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsscanf(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2172 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2189 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __inline int __cdecl vsscanf_s(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2208 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) #line 2219 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2238 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl sscanf(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2275 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sscanf_s(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsscanf_s(_Buffer, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2297 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 2299 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2326 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2349 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2374 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2397 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_tempnam" ". See online help for details.")) char *__cdecl tempnam(char const *_Directory, char const *_FilePrefix);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fcloseall" ". See online help for details.")) int __cdecl fcloseall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fdopen" ". See online help for details.")) FILE *__cdecl fdopen(int _FileHandle, char const *_Format);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fgetchar" ". See online help for details.")) int __cdecl fgetchar(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fileno" ". See online help for details.")) int __cdecl fileno(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_flushall" ". See online help for details.")) int __cdecl flushall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fputchar" ". See online help for details.")) int __cdecl fputchar(int _Ch);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_getw" ". See online help for details.")) int __cdecl getw(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_putw" ". See online help for details.")) int __cdecl putw(int _Ch, FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_rmtmp" ". See online help for details.")) int __cdecl rmtmp(void);#line 2441 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h"__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma once#pragma once#pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int *__cdecl _errno(void);errno_t __cdecl _set_errno(int _Value);errno_t __cdecl _get_errno(int *_Value);unsigned long *__cdecl __doserrno(void);errno_t __cdecl _set_doserrno(unsigned long _Value);errno_t __cdecl _get_doserrno(unsigned long *_Value);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) void *__cdecl memchr(void const *_Buf, int _Val, size_t _MaxCount);int __cdecl memcmp(void const *_Buf1, void const *_Buf2, size_t _Size);void *__cdecl memcpy(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memmove(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memset(void *_Dst, int _Val, size_t _Size);char *__cdecl strchr(char const *_Str, int _Val);char *__cdecl strrchr(char const *_Str, int _Ch);char *__cdecl strstr(char const *_Str, char const *_SubStr);wchar_t *__cdecl wcschr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsrchr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsstr(wchar_t const *_Str, wchar_t const *_SubStr);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) static __inline errno_t __cdecl memcpy_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;if(_Source==((void *) 0)||_DestinationSize< _SourceSize) { memset(_Destination, 0, _DestinationSize);{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;return 22 ;} memcpy(_Destination, _Source, _SourceSize);return 0;} static __inline errno_t __cdecl memmove_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;memmove(_Destination, _Source, _SourceSize);return 0;}#pragma warning(pop) __pragma(pack(pop))#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int __cdecl _memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);int __cdecl _memicmp_l(void const *_Buf1, void const *_Buf2, size_t _Size, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memccpy" ". See online help for details.")) void *__cdecl memccpy(void *_Dst, void const *_Src, int _Val, size_t _Size);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memicmp" ". See online help for details.")) int __cdecl memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl wcscat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcscpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcsncat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);errno_t __cdecl wcsncpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);wchar_t *__cdecl wcstok_s(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);__declspec(allocator) wchar_t *__cdecl _wcsdup(wchar_t const *_String);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscat(wchar_t *_Destination, wchar_t const *_Source);int __cdecl wcscmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscpy(wchar_t *_Destination, wchar_t const *_Source);size_t __cdecl wcscspn(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcslen(wchar_t const *_String);size_t __cdecl wcsnlen(wchar_t const *_Source, size_t _MaxCount);static __inline size_t __cdecl wcsnlen_s(wchar_t const *_Source, size_t _MaxCount) { return(_Source==0) ? 0 :wcsnlen(_Source, _MaxCount);}__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncat(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);int __cdecl wcsncmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncpy(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);wchar_t *__cdecl wcspbrk(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcsspn(wchar_t const *_String, wchar_t const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcstok(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);#line 237 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) static __inline wchar_t *__cdecl _wcstok(wchar_t *const _String, wchar_t const *const _Delimiter) { return wcstok(_String, _Delimiter, 0);} __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcserror(int _ErrorNumber);errno_t __cdecl _wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, int _ErrorNumber);__declspec(deprecated("This function or variable may be unsafe. Consider using " "__wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl __wcserror(wchar_t const *_String);errno_t __cdecl __wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, wchar_t const *_ErrorMessage);int __cdecl _wcsicmp(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicmp_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicmp_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);errno_t __cdecl _wcsnset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);wchar_t *__cdecl _wcsrev(wchar_t *_String);errno_t __cdecl _wcsset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsset(wchar_t *_String, wchar_t _Value);errno_t __cdecl _wcslwr_s(wchar_t *_String, size_t _SizeInWords);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr(wchar_t *_String);errno_t __cdecl _wcslwr_s_l(wchar_t *_String, size_t _SizeInWords, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr_l(wchar_t *_String, _locale_t _Locale);errno_t __cdecl _wcsupr_s(wchar_t *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr(wchar_t *_String);errno_t __cdecl _wcsupr_s_l(wchar_t *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr_l(wchar_t *_String, _locale_t _Locale);size_t __cdecl wcsxfrm(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount);size_t __cdecl _wcsxfrm_l(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount, _locale_t _Locale);int __cdecl wcscoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcscoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsicoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsncoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsncoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _wcsnicoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsdup" ". See online help for details.")) wchar_t *__cdecl wcsdup(wchar_t const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicmp" ". See online help for details.")) int __cdecl wcsicmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnicmp" ". See online help for details.")) int __cdecl wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnset" ". See online help for details.")) wchar_t *__cdecl wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsrev" ". See online help for details.")) wchar_t *__cdecl wcsrev(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsset" ". See online help for details.")) wchar_t *__cdecl wcsset(wchar_t *_String, wchar_t _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcslwr" ". See online help for details.")) wchar_t *__cdecl wcslwr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsupr" ". See online help for details.")) wchar_t *__cdecl wcsupr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicoll" ". See online help for details.")) int __cdecl wcsicoll(wchar_t const *_String1, wchar_t const *_String2);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl strcpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strcat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strerror_s(char *_Buffer, size_t _SizeInBytes, int _ErrorNumber);errno_t __cdecl strncat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);errno_t __cdecl strncpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);char *__cdecl strtok_s(char *_String, char const *_Delimiter, char **_Context);void *__cdecl _memccpy(void *_Dst, void const *_Src, int _Val, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcat(char *_Destination, char const *_Source);int __cdecl strcmp(char const *_Str1, char const *_Str2);int __cdecl _strcmpi(char const *_String1, char const *_String2);int __cdecl strcoll(char const *_String1, char const *_String2);int __cdecl _strcoll_l(char const *_String1, char const *_String2, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcpy(char *_Destination, char const *_Source);size_t __cdecl strcspn(char const *_Str, char const *_Control);__declspec(allocator) char *__cdecl _strdup(char const *_Source);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strerror(char const *_ErrorMessage);errno_t __cdecl _strerror_s(char *_Buffer, size_t _SizeInBytes, char const *_ErrorMessage);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strerror(int _ErrorMessage);int __cdecl _stricmp(char const *_String1, char const *_String2);int __cdecl _stricoll(char const *_String1, char const *_String2);int __cdecl _stricoll_l(char const *_String1, char const *_String2, _locale_t _Locale);int __cdecl _stricmp_l(char const *_String1, char const *_String2, _locale_t _Locale);size_t __cdecl strlen(char const *_Str);errno_t __cdecl _strlwr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr(char *_String);errno_t __cdecl _strlwr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr_l(char *_String, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncat(char *_Destination, char const *_Source, size_t _Count);int __cdecl strncmp(char const *_Str1, char const *_Str2, size_t _MaxCount);int __cdecl _strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicmp_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strnicoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strncoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strncoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);size_t __cdecl __strncnt(char const *_String, size_t _Count);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncpy(char *_Destination, char const *_Source, size_t _Count);size_t __cdecl strnlen(char const *_String, size_t _MaxCount);static __inline size_t __cdecl strnlen_s(char const *_String, size_t _MaxCount) { return _String==0 ? 0 :strnlen(_String, _MaxCount);} errno_t __cdecl _strnset_s(char *_String, size_t _SizeInBytes, int _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strnset(char *_Destination, int _Value, size_t _Count);char *__cdecl strpbrk(char const *_Str, char const *_Control);char *__cdecl _strrev(char *_Str);errno_t __cdecl _strset_s(char *_Destination, size_t _DestinationSize, int _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strset(char *_Destination, int _Value);size_t __cdecl strspn(char const *_Str, char const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strtok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strtok(char *_String, char const *_Delimiter);errno_t __cdecl _strupr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr(char *_String);errno_t __cdecl _strupr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr_l(char *_String, _locale_t _Locale);size_t __cdecl strxfrm(char *_Destination, char const *_Source, size_t _MaxCount);size_t __cdecl _strxfrm_l(char *_Destination, char const *_Source, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strdup" ". See online help for details.")) char *__cdecl strdup(char const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strcmpi" ". See online help for details.")) int __cdecl strcmpi(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_stricmp" ". See online help for details.")) int __cdecl stricmp(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strlwr" ". See online help for details.")) char *__cdecl strlwr(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnicmp" ". See online help for details.")) int __cdecl strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnset" ". See online help for details.")) char *__cdecl strnset(char *_String, int _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strrev" ". See online help for details.")) char *__cdecl strrev(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strset" ". See online help for details.")) char *__cdecl strset(char *_String, int _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strupr" ". See online help for details.")) char *__cdecl strupr(char *_String);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) __pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) typedef unsigned short _ino_t;typedef _ino_t ino_t;#line 24 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef unsigned int _dev_t;typedef _dev_t dev_t;#line 36 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef long _off_t;typedef _off_t off_t;#line 48 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h"#pragma warning(pop) typedef char *sds;#pragma pack(push, 1) struct sdshdr5 { unsigned char flags;char buf[];};struct sdshdr8 { uint8_t len;uint8_t alloc;unsigned char flags;char buf[];};struct sdshdr16 { uint16_t len;uint16_t alloc;unsigned char flags;char buf[];};struct sdshdr32 { uint32_t len;uint32_t alloc;unsigned char flags;char buf[];};struct sdshdr64 { uint64_t len;uint64_t alloc;unsigned char flags;char buf[];};#pragma pack(pop) static inline size_t sdslen(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :return((flags) >> 3) ;case 1 :return((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len;case 2 :return((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len;case 3 :return((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) ->len;case 4 :return((struct sdshdr64 *)((s) -(sizeof(struct sdshdr64)))) ->len;} return 0;}static inline size_t sdsavail(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ return 0;} case 1 :{ struct sdshdr8 *sh=(void *)((s) -(sizeof(struct sdshdr8)));;return sh->alloc - sh->len;} case 2 :{ struct sdshdr16 *sh=(void *)((s) -(sizeof(struct sdshdr16)));;return sh->alloc - sh->len;} case 3 :{ struct sdshdr32 *sh=(void *)((s) -(sizeof(struct sdshdr32)));;return sh->alloc - sh->len;} case 4 :{ struct sdshdr64 *sh=(void *)((s) -(sizeof(struct sdshdr64)));;return sh->alloc - sh->len;} } return 0;}static inline void sdssetlen(sds s, size_t newlen) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ unsigned char *fp=((unsigned char *) s) - 1;*fp=0|(newlen<< 3);} break;case 1 :((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len=(uint8_t) newlen;break;case 2 :((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len=(uint16_t) newlen;break;case 3 :((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) -> len
Definition: CPAL.d:15583
double __cdecl pow(double _X, double _Y)
div_t __cdecl div(int _Numerator, int _Denominator)
static char * concat(const char *s1, const char *s2)
Definition: afm2pl.c:377
#define mode
Definition: aptex-macros.h:510
#define call
Definition: aptex-macros.h:493
double mod(double, int)
Definition: axohelp.c:326
Definition: Endian.h:81
#define _(String)
Definition: ftxerr18.c:64
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF base if bpp PF set rept prefetch_distance PF set OFFSET endr endif endm macro preload_leading_step2 base if bpp ifc DST PF PF else if bpp lsl PF PF lsl PF PF lsl PF PF PF else PF lsl PF add
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF base if bpp PF set rept prefetch_distance PF set OFFSET endr endif endm macro preload_leading_step2 base if bpp ifc DST PF PF else if bpp lsl PF PF lsl PF sub
#define MMDEF_FFI(_)
Definition: lj_obj.h:527
#define MMDEF_PAIRS(_)
Definition: lj_obj.h:533
#define tostring(L, o)
Definition: lvm.c:454
Definition: mendex.h:20

Definition at line 540 of file lj_obj.h.

◆ MMDEF_FFI

#define MMDEF_FFI (   _)    _(new)

Definition at line 527 of file lj_obj.h.

◆ MMDEF_PAIRS

#define MMDEF_PAIRS (   _)    _(pairs) _(ipairs)

Definition at line 533 of file lj_obj.h.

◆ MMENUM

#define MMENUM (   name)    MM_##name,

Definition at line 550 of file lj_obj.h.

◆ mmname_str

#define mmname_str (   g,
  mm 
)    (strref((g)->gcroot[GCROOT_MMNAME+(mm)]))

Definition at line 570 of file lj_obj.h.

◆ mref

#define mref (   r,
  t 
)    ((t *)(void *)(uintptr_t)(r).ptr32)

Definition at line 41 of file lj_obj.h.

◆ nextnode

#define nextnode (   n)    (mref((n)->next, Node))

Definition at line 500 of file lj_obj.h.

◆ niltv

#define niltv (   L)     check_exp(tvisnil(&G(L)->nilnode.val), &G(L)->nilnode.val)

Definition at line 626 of file lj_obj.h.

◆ niltvg

#define niltvg (   g)     check_exp(tvisnil(&(g)->nilnode.val), &(g)->nilnode.val)

Definition at line 628 of file lj_obj.h.

◆ noderef

#define noderef (   r)    (mref((r), Node))

Definition at line 499 of file lj_obj.h.

◆ numV

#define numV (   o)    check_exp(tvisnum(o), (o)->n)

Definition at line 810 of file lj_obj.h.

◆ obj2gco

#define obj2gco (   v)    ((GCobj *)(v))

Definition at line 729 of file lj_obj.h.

◆ proto_bc

#define proto_bc (   pt)    ((BCIns *)((char *)(pt) + sizeof(GCproto)))

Definition at line 404 of file lj_obj.h.

◆ proto_bcpos

#define proto_bcpos (   pt,
  pc 
)    ((BCPos)((pc) - proto_bc(pt)))

Definition at line 405 of file lj_obj.h.

◆ PROTO_CHILD

#define PROTO_CHILD   0x01 /* Has child prototypes. */

Definition at line 383 of file lj_obj.h.

◆ proto_chunkname

#define proto_chunkname (   pt)    (strref((pt)->chunkname))

Definition at line 408 of file lj_obj.h.

◆ proto_chunknamestr

#define proto_chunknamestr (   pt)    (strdata(proto_chunkname((pt))))

Definition at line 409 of file lj_obj.h.

◆ PROTO_CLC_BITS

#define PROTO_CLC_BITS   3

Definition at line 393 of file lj_obj.h.

◆ PROTO_CLC_POLY

#define PROTO_CLC_POLY   (3*PROTO_CLCOUNT) /* Polymorphic threshold. */

Definition at line 394 of file lj_obj.h.

◆ PROTO_CLCOUNT

#define PROTO_CLCOUNT   0x20 /* Base of saturating 3 bit counter. */

Definition at line 392 of file lj_obj.h.

◆ PROTO_FFI

#define PROTO_FFI   0x04 /* Uses BC_KCDATA for FFI datatypes. */

Definition at line 385 of file lj_obj.h.

◆ PROTO_FIXUP_RETURN

#define PROTO_FIXUP_RETURN   0x40 /* Need to fixup emitted returns. */

Definition at line 390 of file lj_obj.h.

◆ PROTO_HAS_RETURN

#define PROTO_HAS_RETURN   0x20 /* Already emitted a return. */

Definition at line 389 of file lj_obj.h.

◆ PROTO_ILOOP

#define PROTO_ILOOP   0x10 /* Patched bytecode with ILOOP etc. */

Definition at line 387 of file lj_obj.h.

◆ proto_kgc

#define proto_kgc (   pt,
  idx 
)
Value:
gcref(mref((pt)->k, GCRef)[(idx)]))
FT_UInt idx
Definition: cffcmap.c:135
unsigned int uintptr_t
Definition: stdint.h:119
signed int intptr_t
Definition: stdint.h:118
int k
Definition: otp-parser.c:70
#define gcref(r)
Definition: lj_obj.h:75
#define mref(r, t)
Definition: lj_obj.h:41
#define check_exp(c, e)
Definition: llimits.h:90
PATTERN * pt
Definition: vlna.c:74

Definition at line 399 of file lj_obj.h.

◆ proto_knumtv

#define proto_knumtv (   pt,
  idx 
)     check_exp((uintptr_t)(idx) < (pt)->sizekn, &mref((pt)->k, TValue)[(idx)])

Definition at line 402 of file lj_obj.h.

◆ proto_lineinfo

#define proto_lineinfo (   pt)    (mref((pt)->lineinfo, const void))

Definition at line 410 of file lj_obj.h.

◆ PROTO_NOJIT

#define PROTO_NOJIT   0x08 /* JIT disabled for this function. */

Definition at line 386 of file lj_obj.h.

◆ proto_uv

#define proto_uv (   pt)    (mref((pt)->uv, uint16_t))

Definition at line 406 of file lj_obj.h.

◆ PROTO_UV_IMMUTABLE

#define PROTO_UV_IMMUTABLE   0x4000 /* Immutable upvalue. */

Definition at line 397 of file lj_obj.h.

◆ PROTO_UV_LOCAL

#define PROTO_UV_LOCAL   0x8000 /* Upvalue for local slot. */

Definition at line 396 of file lj_obj.h.

◆ proto_uvinfo

#define proto_uvinfo (   pt)    (mref((pt)->uvinfo, const uint8_t))

Definition at line 411 of file lj_obj.h.

◆ PROTO_VARARG

#define PROTO_VARARG   0x02 /* Vararg function. */

Definition at line 384 of file lj_obj.h.

◆ proto_varinfo

#define proto_varinfo (   pt)    (mref((pt)->varinfo, const uint8_t))

Definition at line 412 of file lj_obj.h.

◆ protoV

#define protoV (   o)    check_exp(tvisproto(o), &gcval(o)->pt)

Definition at line 806 of file lj_obj.h.

◆ rawnumequal

#define rawnumequal (   o1,
  o2 
)    ((o1)->u64 == (o2)->u64)

Definition at line 779 of file lj_obj.h.

◆ registry

#define registry (   L)    (&G(L)->registrytv)

Definition at line 665 of file lj_obj.h.

◆ round_nkgc

#define round_nkgc (   n)    (((n) + SCALE_NUM_GCO-1) & ~(SCALE_NUM_GCO-1))

Definition at line 354 of file lj_obj.h.

◆ SCALE_NUM_GCO

#define SCALE_NUM_GCO   ((int32_t)sizeof(lua_Number)/sizeof(GCRef))

Definition at line 353 of file lj_obj.h.

◆ setboolV

#define setboolV (   o,
  x 
)    ((o)->it = LJ_TFALSE-(uint32_t)(x))

Definition at line 822 of file lj_obj.h.

◆ setcont

#define setcont (   o,
  f 
)     ((o)->u64 = (uint64_t)(void *)(f) - (uint64_t)lj_vm_asm_begin)

Definition at line 850 of file lj_obj.h.

◆ setfreetop

#define setfreetop (   t,
  n,
  v 
)    (setmref((n)->freetop, (v)))

Definition at line 506 of file lj_obj.h.

◆ setgcref

#define setgcref (   r,
  gc 
)    ((r).gcptr32 = (uint32_t)(uintptr_t)&(gc)->gch)

Definition at line 80 of file lj_obj.h.

◆ setgcrefnull

#define setgcrefnull (   r)    ((r).gcptr32 = 0)

Definition at line 82 of file lj_obj.h.

◆ setgcrefp

#define setgcrefp (   r,
  p 
)    ((r).gcptr32 = (uint32_t)(uintptr_t)(p))

Definition at line 81 of file lj_obj.h.

◆ setgcrefr

#define setgcrefr (   r,
  v 
)    ((r).gcptr32 = (v).gcptr32)

Definition at line 83 of file lj_obj.h.

◆ setintptrV

#define setintptrV (   o,
  i 
)    setint64V((o), (i))

Definition at line 911 of file lj_obj.h.

◆ setitype

#define setitype (   o,
  i 
)    ((o)->it = (i))

Definition at line 820 of file lj_obj.h.

◆ setminfV

#define setminfV (   o)    ((o)->u64 = U64x(fff00000,00000000))

Definition at line 891 of file lj_obj.h.

◆ setmref

#define setmref (   r,
  p 
)    ((r).ptr32 = (uint32_t)(uintptr_t)(void *)(p))

Definition at line 43 of file lj_obj.h.

◆ setmrefr

#define setmrefr (   r,
  v 
)    ((r).ptr32 = (v).ptr32)

Definition at line 44 of file lj_obj.h.

◆ setnanV

#define setnanV (   o)    ((o)->u64 = U64x(fff80000,00000000))

Definition at line 889 of file lj_obj.h.

◆ setnilV

#define setnilV (   o)    ((o)->it = LJ_TNIL)

Definition at line 821 of file lj_obj.h.

◆ setnumV

#define setnumV (   o,
  x 
)    ((o)->n = (x))

Definition at line 888 of file lj_obj.h.

◆ setpinfV

#define setpinfV (   o)    ((o)->u64 = U64x(7ff00000,00000000))

Definition at line 890 of file lj_obj.h.

◆ setpriV

#define setpriV (   o,
  i 
)    (setitype((o), (i)))

Definition at line 823 of file lj_obj.h.

◆ setvmstate

#define setvmstate (   g,
  st 
)    ((g)->vmstate = ~LJ_VMST_##st)

Definition at line 523 of file lj_obj.h.

◆ sizecdatav

#define sizecdatav (   cd)    (cdatavlen(cd) + cdatav(cd)->extra)

Definition at line 348 of file lj_obj.h.

◆ sizeCfunc

#define sizeCfunc (   n)    (sizeof(GCfuncC)-sizeof(TValue)+sizeof(TValue)*(n))

Definition at line 465 of file lj_obj.h.

◆ sizeLfunc

#define sizeLfunc (   n)    (sizeof(GCfuncL)-sizeof(GCRef)+sizeof(GCRef)*(n))

Definition at line 466 of file lj_obj.h.

◆ sizestring

#define sizestring (   s)    (sizeof(struct GCstr)+(s)->len+1)

Definition at line 303 of file lj_obj.h.

◆ sizetabcolo

#define sizetabcolo (   n)    ((n)*sizeof(TValue) + sizeof(GCtab))

Definition at line 497 of file lj_obj.h.

◆ sizeudata

#define sizeudata (   u)    (sizeof(struct GCudata)+(u)->len)

Definition at line 327 of file lj_obj.h.

◆ strdata

#define strdata (   s)    ((const char *)((s)+1))

Definition at line 300 of file lj_obj.h.

◆ strdatawr

#define strdatawr (   s)    ((char *)((s)+1))

Definition at line 301 of file lj_obj.h.

◆ strref

#define strref (   r)    (&gcref((r))->str)

Definition at line 299 of file lj_obj.h.

◆ strV

#define strV (   o)    check_exp(tvisstr(o), &gcval(o)->str)

Definition at line 803 of file lj_obj.h.

◆ strVdata

#define strVdata (   o)    strdata(strV(o))

Definition at line 302 of file lj_obj.h.

◆ tabref

#define tabref (   r)    (&gcref((r))->tab)

Definition at line 498 of file lj_obj.h.

◆ tabV

#define tabV (   o)    check_exp(tvistab(o), &gcval(o)->tab)

Definition at line 808 of file lj_obj.h.

◆ threadV

#define threadV (   o)    check_exp(tvisthread(o), &gcval(o)->th)

Definition at line 805 of file lj_obj.h.

◆ tvchecklive

#define tvchecklive (   L,
 
)
Value:
((~itype(o) == gcval(o)->gch.gct) && !isdead(G(L), gcval(o))))
#define UNUSED
Definition: makeint.h:237
#define G(L)
Definition: lj_obj.h:664
#define itype(o)
Definition: lj_obj.h:742
#define tvisgcv(o)
Definition: lj_obj.h:767
#define gcval(o)
Definition: lj_obj.h:793
#define isdead(g, v)
Definition: lgc.h:96
#define lua_assert(c)
Definition: llimits.h:89

Definition at line 857 of file lj_obj.h.

◆ tvisbool

#define tvisbool (   o)    (tvisfalse(o) || tvistrue(o))

Definition at line 747 of file lj_obj.h.

◆ tviscdata

#define tviscdata (   o)    (itype(o) == LJ_TCDATA)

Definition at line 757 of file lj_obj.h.

◆ tvisfalse

#define tvisfalse (   o)    (itype(o) == LJ_TFALSE)

Definition at line 745 of file lj_obj.h.

◆ tvisfunc

#define tvisfunc (   o)    (itype(o) == LJ_TFUNC)

Definition at line 754 of file lj_obj.h.

◆ tvisgcv

#define tvisgcv (   o)    ((itype(o) - LJ_TISGCV) > (LJ_TNUMX - LJ_TISGCV))

Definition at line 767 of file lj_obj.h.

◆ tvisint

#define tvisint (   o)    (LJ_DUALNUM && itype(o) == LJ_TISNUM)

Definition at line 761 of file lj_obj.h.

◆ tvislightud

#define tvislightud (   o)    (((int32_t)itype(o) >> 15) == -2)

Definition at line 749 of file lj_obj.h.

◆ tvismzero

#define tvismzero (   o)    ((o)->u64 == U64x(80000000,00000000))

Definition at line 777 of file lj_obj.h.

◆ tvisnan

#define tvisnan (   o)    ((o)->n != (o)->n)

Definition at line 770 of file lj_obj.h.

◆ tvisnil

#define tvisnil (   o)    (itype(o) == LJ_TNIL)

Definition at line 743 of file lj_obj.h.

◆ tvisnum

#define tvisnum (   o)    (itype(o) < LJ_TISNUM)

Definition at line 762 of file lj_obj.h.

◆ tvisnumber

#define tvisnumber (   o)    (itype(o) <= LJ_TISNUM)

Definition at line 760 of file lj_obj.h.

◆ tvispone

#define tvispone (   o)    ((o)->u64 == U64x(3ff00000,00000000))

Definition at line 778 of file lj_obj.h.

◆ tvispri

#define tvispri (   o)    (itype(o) >= LJ_TISPRI)

Definition at line 765 of file lj_obj.h.

◆ tvisproto

#define tvisproto (   o)    (itype(o) == LJ_TPROTO)

Definition at line 756 of file lj_obj.h.

◆ tvispzero

#define tvispzero (   o)    ((o)->u64 == 0)

Definition at line 776 of file lj_obj.h.

◆ tvisstr

#define tvisstr (   o)    (itype(o) == LJ_TSTR)

Definition at line 753 of file lj_obj.h.

◆ tvistab

#define tvistab (   o)    (itype(o) == LJ_TTAB)

Definition at line 758 of file lj_obj.h.

◆ tvistabud

#define tvistabud (   o)    (itype(o) <= LJ_TISTABUD) /* && !tvisnum() */

Definition at line 766 of file lj_obj.h.

◆ tvisthread

#define tvisthread (   o)    (itype(o) == LJ_TTHREAD)

Definition at line 755 of file lj_obj.h.

◆ tvistrue

#define tvistrue (   o)    (itype(o) == LJ_TTRUE)

Definition at line 746 of file lj_obj.h.

◆ tvistruecond

#define tvistruecond (   o)    (itype(o) < LJ_TISTRUECOND)

Definition at line 764 of file lj_obj.h.

◆ tvisudata

#define tvisudata (   o)    (itype(o) == LJ_TUDATA)

Definition at line 759 of file lj_obj.h.

◆ tviszero

#define tviszero (   o)    (((o)->u64 << 1) == 0)

Definition at line 772 of file lj_obj.h.

◆ tvref

#define tvref (   r)    (mref(r, TValue))

Definition at line 215 of file lj_obj.h.

◆ udataV

#define udataV (   o)    check_exp(tvisudata(o), &gcval(o)->ud)

Definition at line 809 of file lj_obj.h.

◆ uddata

#define uddata (   u)    ((void *)((u)+1))

Definition at line 326 of file lj_obj.h.

◆ uvnext

#define uvnext (   uv_)    (&gcref((uv_)->next)->uv)

Definition at line 432 of file lj_obj.h.

◆ uvprev

#define uvprev (   uv_)    (&gcref((uv_)->prev)->uv)

Definition at line 431 of file lj_obj.h.

◆ uvval

#define uvval (   uv_)    (mref((uv_)->v, TValue))

Definition at line 433 of file lj_obj.h.

Typedef Documentation

◆ ASMFunction

typedef void(* ASMFunction) (void)

Definition at line 153 of file lj_obj.h.

◆ BCIns

typedef uint32_t BCIns

Definition at line 147 of file lj_obj.h.

◆ BCLine

typedef int32_t BCLine

Definition at line 150 of file lj_obj.h.

◆ BCPos

typedef uint32_t BCPos

Definition at line 148 of file lj_obj.h.

◆ BCReg

typedef uint32_t BCReg

Definition at line 149 of file lj_obj.h.

◆ cTValue

typedef const TValue cTValue

Definition at line 213 of file lj_obj.h.

◆ GCcdata

typedef struct GCcdata GCcdata

◆ GCcdataVar

typedef struct GCcdataVar GCcdataVar

◆ GCfunc

typedef union GCfunc GCfunc

◆ GCfuncC

typedef struct GCfuncC GCfuncC

◆ GCfuncL

typedef struct GCfuncL GCfuncL

◆ GChead

typedef struct GChead GChead

◆ GCobj

typedef union GCobj GCobj

◆ GCproto

typedef struct GCproto GCproto

◆ GCRef

typedef struct GCRef GCRef

◆ GCSize

typedef uint32_t GCSize

Definition at line 23 of file lj_obj.h.

◆ GCState

typedef struct GCState GCState

◆ GCstr

typedef struct GCstr GCstr

◆ GCtab

typedef struct GCtab GCtab

◆ GCudata

typedef struct GCudata GCudata

◆ GCupval

typedef struct GCupval GCupval

◆ global_State

typedef struct global_State global_State

◆ MRef

typedef struct MRef MRef

◆ MSize

typedef uint32_t MSize

Definition at line 19 of file lj_obj.h.

◆ Node

typedef struct Node Node

◆ SBuf

typedef struct SBuf SBuf

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
UDTYPE_USERDATA 
UDTYPE_IO_FILE 
UDTYPE_FFI_CLIB 
UDTYPE__MAX 

Definition at line 319 of file lj_obj.h.

◆ anonymous enum

anonymous enum
Enumerator
LJ_VMST_INTERP 
LJ_VMST_C 
LJ_VMST_GC 
LJ_VMST_EXIT 
LJ_VMST_RECORD 
LJ_VMST_OPT 
LJ_VMST_ASM 
LJ_VMST__MAX 

Definition at line 512 of file lj_obj.h.

◆ GCRootID

enum GCRootID
Enumerator
GCROOT_MMNAME 
GCROOT_MMNAME_LAST 
GCROOT_BASEMT 
GCROOT_BASEMT_NUM 
GCROOT_IO_INPUT 
GCROOT_IO_OUTPUT 
GCROOT_MAX 
GCROOT_MMNAME 
GCROOT_MMNAME_LAST 
GCROOT_BASEMT 
GCROOT_BASEMT_NUM 
GCROOT_IO_INPUT 
GCROOT_IO_OUTPUT 
GCROOT_MAX 
GCROOT_MMNAME 
GCROOT_MMNAME_LAST 
GCROOT_BASEMT 
GCROOT_BASEMT_NUM 
GCROOT_IO_INPUT 
GCROOT_IO_OUTPUT 
GCROOT_MAX 
GCROOT_MMNAME 
GCROOT_MMNAME_LAST 
GCROOT_BASEMT 
GCROOT_BASEMT_NUM 
GCROOT_IO_INPUT 
GCROOT_IO_OUTPUT 
GCROOT_MAX 

Definition at line 558 of file lj_obj.h.

◆ MMS

enum MMS
Enumerator
MM_index 
MM_newindex 
MM_gc 
MM_mode 
MM_eq 
MM_len 
MM_lt 
MM_le 
MM_concat 
MM_call 
MM_add 
MM_sub 
MM_mul 
MM_div 
MM_mod 
MM_pow 
MM_unm 
MM_metatable 
MM_tostring 
MM_new 
MM_pairs 
MM_ipairs 
MM__MAX 
MM____ 
MM_FAST 
MM_index 
MM_newindex 
MM_gc 
MM_mode 
MM_eq 
MM_len 
MM_lt 
MM_le 
MM_concat 
MM_call 
MM_add 
MM_sub 
MM_mul 
MM_div 
MM_mod 
MM_pow 
MM_unm 
MM_metatable 
MM_tostring 
MM_new 
MM_pairs 
MM_ipairs 
MM__MAX 
MM____ 
MM_FAST 
MM_index 
MM_newindex 
MM_gc 
MM_mode 
MM_eq 
MM_len 
MM_lt 
MM_le 
MM_concat 
MM_call 
MM_add 
MM_sub 
MM_mul 
MM_div 
MM_mod 
MM_pow 
MM_unm 
MM_metatable 
MM_tostring 
MM_new 
MM_pairs 
MM_ipairs 
MM__MAX 
MM____ 
MM_FAST 
MM_index 
MM_newindex 
MM_gc 
MM_mode 
MM_eq 
MM_len 
MM_lt 
MM_le 
MM_concat 
MM_call 
MM_add 
MM_sub 
MM_mul 
MM_div 
MM_mod 
MM_pow 
MM_unm 
MM_metatable 
MM_tostring 
MM_new 
MM_pairs 
MM_ipairs 
MM__MAX 
MM____ 
MM_FAST 

Definition at line 549 of file lj_obj.h.

Function Documentation

◆ copyTV()

static LJ_AINLINE void copyTV ( lua_State L,
TValue o1,
const TValue o2 
)
static

◆ LJ_ALIGN()

typedef LJ_ALIGN ( )

Definition at line 172 of file lj_obj.h.

References func, i, LJ_ENDIAN_LOHI, n, tp, u32, and u64.

◆ lj_assert___LINE__() [1/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, env)==offsetof(GCfuncL, env))?1:-1])

◆ lj_assert___LINE__() [2/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, env)==offsetof(GCudata, env))?1:-1])

◆ lj_assert___LINE__() [3/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(GCfuncL, gclist))?1:-1])

◆ lj_assert___LINE__() [4/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(GCproto, gclist))?1:-1])

◆ lj_assert___LINE__() [5/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(GCtab, gclist))?1:-1])

◆ lj_assert___LINE__() [6/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, gclist)==offsetof(lua_State, gclist))?1:-1])

◆ lj_assert___LINE__() [7/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, metatable)==offsetof(GCtab, metatable))?1:-1])

◆ lj_assert___LINE__() [8/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(GChead, metatable)==offsetof(GCudata, metatable))?1:-1])

◆ lj_assert___LINE__() [9/9]

void lj_assert___LINE__ ( int  STATIC_ASSERTION_FAILED[(offsetof(Node, val)==0)?1:-1])

◆ lj_num2bit()

static LJ_AINLINE int32_t lj_num2bit ( lua_Number  n)
static

Definition at line 928 of file lj_obj.h.

References n.

Referenced by fold_kfold_tobit(), and lj_carith_check64().

◆ lj_num2u64()

static LJ_AINLINE uint64_t lj_num2u64 ( lua_Number  n)
static

Definition at line 941 of file lj_obj.h.

References int64_t, and n.

Referenced by fold_kfold_conv_knum_u64_num(), and lj_cconv_ct_ct().

◆ lj_obj_equal()

int lj_obj_equal ( cTValue o1,
cTValue o2 
)

Definition at line 23 of file lj_obj.c.

◆ lj_obj_ptr()

const void* lj_obj_ptr ( cTValue o)

Definition at line 37 of file lj_obj.c.

◆ numberVint()

static LJ_AINLINE int32_t numberVint ( cTValue o)
static

◆ numberVnum()

◆ setcdataV()

◆ setfuncV()

◆ setgcV()

static LJ_AINLINE void setgcV ( lua_State L,
TValue o,
GCobj v,
uint32_t  it 
)
static

◆ setgcVraw()

static LJ_AINLINE void setgcVraw ( TValue o,
GCobj v,
uint32_t  itype 
)
static

Definition at line 861 of file lj_obj.h.

References itype, setgcref, setitype, and v.

Referenced by expr_kvalue(), and setgcV().

◆ setint64V()

static LJ_AINLINE void setint64V ( TValue o,
int64_t  i 
)
static

Definition at line 902 of file lj_obj.h.

References i, LJ_DUALNUM, LJ_LIKELY, setintV(), and setnumV.

Referenced by lj_cf_io_method_seek().

◆ setintV()

◆ setlightudV()

static LJ_AINLINE void setlightudV ( TValue o,
void p 
)
static

◆ setprotoV()

static LJ_AINLINE void setprotoV ( lua_State L,
TValue o,
GCproto v 
)
static

Definition at line 882 of file lj_obj.h.

Referenced by fs_finish(), lj_bcread(), and lj_cf_jit_util_funcinfo().

◆ setstrV()

◆ settabV()

◆ setthreadV()

static LJ_AINLINE void setthreadV ( lua_State L,
TValue o,
lua_State v 
)
static

Definition at line 881 of file lj_obj.h.

Referenced by lua_newthread(), lua_pushthread(), and stack_init().

◆ setudataV()

static LJ_AINLINE void setudataV ( lua_State L,
TValue o,
GCudata v 
)
static

Definition at line 886 of file lj_obj.h.

Referenced by clib_new(), io_file_write(), io_std_getset(), lj_cf_io_lines(), and lua_newuserdata().

Variable Documentation

◆ lj_obj_itypename

const char* const lj_obj_itypename[~(~13u)+1]
extern

Definition at line 17 of file lj_obj.c.

◆ lj_obj_typename

const char* const lj_obj_typename[1+( 8+2)+1]
extern

Definition at line 12 of file lj_obj.c.

◆ TValue

Definition at line 211 of file lj_obj.h.