size_t 574 core/ptp.c size_t l = 0; size_t 28 core/suba.c size_t size; size_t 41 core/suba.c size_t size; // total size of memory area size_t 44 core/suba.c size_t mincell; // min cell size must be at least sizeof cell size_t 50 core/suba.c size_t allocated_count; // total number of current allocations size_t 51 core/suba.c size_t allocated_size; // total amount of memory currently allocated, excluding overhead size_t 52 core/suba.c size_t allocated_peak; // maximum value of allocated_size encountered size_t 245 core/suba.c suba_init(allocator *suba, size_t size, size_t mincell, char *name) size_t 247 core/suba.c size_t hdrsiz; size_t 306 core/suba.c suba_alloc(allocator *suba, size_t size, int zero) size_t 312 core/suba.c size_t cellsize = ACTUALSIZE(size); size_t 343 lib/lua/lapi.c LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) { size_t 361 lib/lua/lapi.c LUA_API size_t lua_objlen (lua_State *L, int idx) { size_t 368 lib/lua/lapi.c size_t l; size_t 445 lib/lua/lapi.c LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) { size_t 1025 lib/lua/lapi.c LUA_API void *lua_newuserdata (lua_State *L, size_t size) { size_t 158 lib/lua/lauxlib.c LUALIB_API const char *luaL_checklstring (lua_State *L, int narg, size_t *len) { size_t 166 lib/lua/lauxlib.c const char *def, size_t *len) { size_t 342 lib/lua/lauxlib.c size_t l = strlen(p); size_t 391 lib/lua/lauxlib.c #define bufffree(B) ((size_t)(LUAL_BUFFERSIZE - bufflen(B))) size_t 397 lib/lua/lauxlib.c size_t l = bufflen(B); size_t 412 lib/lua/lauxlib.c size_t toplen = lua_strlen(L, -1); size_t 414 lib/lua/lauxlib.c size_t l = lua_strlen(L, -(toget+1)); size_t 434 lib/lua/lauxlib.c LUALIB_API void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) { size_t 454 lib/lua/lauxlib.c size_t vl; size_t 527 lib/lua/lauxlib.c static const char *getF (lua_State *L, void *ud, size_t *size) { size_t 545 lib/lua/lauxlib.c static const char *getF (lua_State *L, void *ud, size_t *size) { size_t 632 lib/lua/lauxlib.c size_t size; size_t 636 lib/lua/lauxlib.c static const char *getS (lua_State *L, void *ud, size_t *size) { size_t 646 lib/lua/lauxlib.c LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t size, size_t 664 lib/lua/lauxlib.c static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { size_t 51 lib/lua/lauxlib.h size_t *l); size_t 53 lib/lua/lauxlib.h const char *def, size_t *l); size_t 78 lib/lua/lauxlib.h LUALIB_API int (luaL_loadbuffer) (lua_State *L, const char *buff, size_t sz, size_t 147 lib/lua/lauxlib.h LUALIB_API void (luaL_addlstring) (luaL_Buffer *B, const char *s, size_t l); size_t 311 lib/lua/lbaselib.c size_t l; size_t 330 lib/lua/lbaselib.c static const char *generic_reader (lua_State *L, void *ud, size_t *size) { size_t 29 lib/lua/ldump.c static void DumpBlock(const void* b, size_t size, DumpState* D) size_t 55 lib/lua/ldump.c static void DumpVector(const void* b, int n, size_t size, DumpState* D) size_t 65 lib/lua/ldump.c size_t size=0; size_t 70 lib/lua/ldump.c size_t size=s->tsv.len+1; /* include trailing '\0' */ size_t 128 lib/lua/lgc.c LUAI_FUNC size_t luaC_separateudata (lua_State *L, int all) { size_t 130 lib/lua/lgc.c size_t deadmem = 0; size_t 323 lib/lua/lgc.c static size_t propagateall (global_State *g) { size_t 324 lib/lua/lgc.c size_t m = 0; size_t 439 lib/lua/lgc.c size_t newsize = luaZ_sizebuffer(&g->buff) / 2; size_t 527 lib/lua/lgc.c size_t udsize; /* total size of userdata to be finalized */ size_t 99 lib/lua/lgc.h LUAI_FUNC size_t luaC_separateudata (lua_State *L, int all); size_t 353 lib/lua/liolib.c size_t l; size_t 371 lib/lua/liolib.c static int read_chars (lua_State *L, FILE *f, size_t n) { size_t 372 lib/lua/liolib.c size_t rlen; /* how much to read */ size_t 373 lib/lua/liolib.c size_t nr; /* number of chars actually read */ size_t 406 lib/lua/liolib.c size_t l = (size_t)lua_tointeger(L, n); size_t 420 lib/lua/liolib.c read_chars(L, f, ~((size_t)0)); /* read MAX_SIZE_T chars */ size_t 493 lib/lua/liolib.c size_t l; size_t 495 lib/lua/liolib.c status = status && ((size_t)fwrite(s, sizeof(char), l, f) == l); size_t 54 lib/lua/llex.c size_t newsize; size_t 117 lib/lua/llex.c LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l) { size_t 172 lib/lua/llex.c size_t n = luaZ_bufflen(ls->buff); size_t 73 lib/lua/llex.h LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); size_t 30 lib/lua/llimits.h #define MAX_SIZET ((size_t)(~(size_t)0)-2) size_t 46 lib/lua/lmem.c LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int *size, size_t size_elems, size_t 76 lib/lua/lmem.c LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { size_t 20 lib/lua/lmem.h ((cast(size_t, (n)+1) <= MAX_SIZET/(e)) ? /* +1 to avoid warnings */ \ size_t 41 lib/lua/lmem.h LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize, size_t 42 lib/lua/lmem.h size_t size); size_t 45 lib/lua/lmem.h size_t size_elem, int limit, size_t 182 lib/lua/lobject.c LUAI_FUNC void luaO_chunkid (char *out, const char *source, size_t bufflen) { size_t 189 lib/lua/lobject.c size_t l; size_t 203 lib/lua/lobject.c size_t len = strcspn(source, "\n\r"); /* stop at first newline */ size_t 205 lib/lua/lobject.h size_t len; size_t 221 lib/lua/lobject.h size_t len; size_t 377 lib/lua/lobject.h LUAI_FUNC void luaO_chunkid (char *out, const char *source, size_t len); size_t 174 lib/lua/loslib.c size_t reslen; size_t 50 lib/lua/lstring.c static TString *newlstr (lua_State *L, const char *str, size_t l, size_t 75 lib/lua/lstring.c LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { size_t 78 lib/lua/lstring.c size_t step = (l>>5)+1; /* if string is too long, don't hash all its chars */ size_t 79 lib/lua/lstring.c size_t l1; size_t 96 lib/lua/lstring.c LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e) { size_t 27 lib/lua/lstring.h LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); size_t 28 lib/lua/lstring.h LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); size_t 29 lib/lua/lstrlib.c size_t l; size_t 36 lib/lua/lstrlib.c static ptrdiff_t posrelat (ptrdiff_t pos, size_t len) { size_t 44 lib/lua/lstrlib.c size_t l; size_t 58 lib/lua/lstrlib.c size_t l; size_t 69 lib/lua/lstrlib.c size_t l; size_t 70 lib/lua/lstrlib.c size_t i; size_t 82 lib/lua/lstrlib.c size_t l; size_t 83 lib/lua/lstrlib.c size_t i; size_t 94 lib/lua/lstrlib.c size_t l; size_t 107 lib/lua/lstrlib.c size_t l; size_t 113 lib/lua/lstrlib.c if ((size_t)pose > l) pose = l; size_t 140 lib/lua/lstrlib.c static int writer (lua_State *L, const void* b, size_t size, void* B) { size_t 355 lib/lua/lstrlib.c size_t len; size_t 358 lib/lua/lstrlib.c if ((size_t)(ms->src_end-s) >= len && size_t 444 lib/lua/lstrlib.c static const char *lmemfind (const char *s1, size_t l1, size_t 445 lib/lua/lstrlib.c const char *s2, size_t l2) { size_t 496 lib/lua/lstrlib.c size_t l1, l2; size_t 501 lib/lua/lstrlib.c else if ((size_t)(init) > l1) init = (ptrdiff_t)l1; size_t 550 lib/lua/lstrlib.c size_t ls; size_t 557 lib/lua/lstrlib.c for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); size_t 592 lib/lua/lstrlib.c size_t l, i; size_t 645 lib/lua/lstrlib.c size_t srcl; size_t 697 lib/lua/lstrlib.c size_t l; size_t 728 lib/lua/lstrlib.c if ((size_t)(p - strfrmt) >= sizeof(FLAGS)) size_t 748 lib/lua/lstrlib.c size_t l = strlen(form); size_t 759 lib/lua/lstrlib.c size_t sfl; size_t 800 lib/lua/lstrlib.c size_t l; size_t 146 lib/lua/ltablib.c size_t lsep; size_t 165 lib/lua/lua.c size_t lmsg; size_t 180 lib/lua/lua.c size_t l; size_t 58 lib/lua/lua.h typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz); size_t 60 lib/lua/lua.h typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud); size_t 66 lib/lua/lua.h typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize); size_t 149 lib/lua/lua.h LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len); size_t 150 lib/lua/lua.h LUA_API size_t (lua_objlen) (lua_State *L, int idx); size_t 163 lib/lua/lua.h LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l); size_t 182 lib/lua/lua.h LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); size_t 147 lib/lua/luac.c static int writer(lua_State* L, const void* p, size_t size, void* u) size_t 441 lib/lua/luaconf.h #define LUAI_UMEM size_t size_t 48 lib/lua/lundump.c static void LoadBlock(LoadState* S, void* b, size_t size) size_t 50 lib/lua/lundump.c size_t r=luaZ_read(S->Z,b,size); size_t 78 lib/lua/lundump.c size_t size; size_t 223 lib/lua/lundump.c *h++=(char)sizeof(size_t); size_t 221 lib/lua/lvm.c size_t ll = ls->tsv.len; size_t 223 lib/lua/lvm.c size_t lr = rs->tsv.len; size_t 228 lib/lua/lvm.c size_t len = strlen(l); /* index of first `\0' in both strings */ size_t 309 lib/lua/lvm.c size_t tl = tsvalue(top-1)->len; size_t 314 lib/lua/lvm.c size_t l = tsvalue(top-n-1)->len; size_t 321 lib/lua/lvm.c size_t l = tsvalue(top-i)->len; size_t 22 lib/lua/lzio.c size_t size; size_t 63 lib/lua/lzio.c LUAI_FUNC size_t luaZ_read (ZIO *z, void *b, size_t n) { size_t 65 lib/lua/lzio.c size_t m; size_t 79 lib/lua/lzio.c LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { size_t 26 lib/lua/lzio.h size_t n; size_t 27 lib/lua/lzio.h size_t buffsize; size_t 46 lib/lua/lzio.h LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n); size_t 49 lib/lua/lzio.h LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ size_t 57 lib/lua/lzio.h size_t n; /* bytes still unread */ size_t 26 lib/lua/print.c size_t i,n=ts->tsv.len; size_t 31 modules/eyefi.h void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); size_t 32 modules/eyefi.h void hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); size_t 33 modules/eyefi.h void hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac); size_t 34 modules/eyefi.h void pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len, int iterations, u8 *buf, size_t buflen); size_t 399 modules/luascript.c size_t l; size_t 30 modules/md5.c void hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, size_t 31 modules/md5.c const u8 *addr[], const size_t *len, u8 *mac) size_t 36 modules/md5.c size_t i, _len[6]; size_t 102 modules/md5.c void hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, size_t 137 modules/md5.c void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) size_t 140 modules/md5.c size_t i; size_t 22 modules/sha1.c void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); size_t 35 modules/sha1.c void hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, size_t 36 modules/sha1.c const u8 *addr[], const size_t *len, u8 *mac) size_t 41 modules/sha1.c size_t _len[6], i; size_t 106 modules/sha1.c void hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, size_t 126 modules/sha1.c void sha1_prf(const u8 *key, size_t key_len, const char *label, size_t 127 modules/sha1.c const u8 *data, size_t data_len, u8 *buf, size_t buf_len) size_t 130 modules/sha1.c size_t pos, plen; size_t 132 modules/sha1.c size_t label_len = strlen(label); size_t 134 modules/sha1.c size_t len[4]; size_t 177 modules/sha1.c void sha1_t_prf(const u8 *key, size_t key_len, const char *label, size_t 178 modules/sha1.c const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) size_t 181 modules/sha1.c size_t pos, plen; size_t 183 modules/sha1.c size_t label_len = strlen(label); size_t 186 modules/sha1.c size_t len[5]; size_t 232 modules/sha1.c int tls_prf(const u8 *secret, size_t secret_len, const char *label, size_t 233 modules/sha1.c const u8 *seed, size_t seed_len, u8 *out, size_t outlen) size_t 235 modules/sha1.c size_t L_S1, L_S2, i; size_t 241 modules/sha1.c size_t MD5_len[3]; size_t 243 modules/sha1.c size_t SHA1_len[3]; size_t 301 modules/sha1.c size_t ssid_len, int iterations, unsigned int count, size_t 308 modules/sha1.c size_t len[2]; size_t 309 modules/sha1.c size_t passphrase_len = strlen(passphrase); size_t 352 modules/sha1.c void pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len, size_t 353 modules/sha1.c int iterations, u8 *buf, size_t buflen) size_t 357 modules/sha1.c size_t left = buflen, plen; size_t 394 modules/sha1.c void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, size_t 398 modules/sha1.c size_t i; size_t 407 modules/sha1.c int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) size_t 852 tools/capdis.c size_t count=0; size_t 274 tools/chdk_dasm.c extern void swiname(t_value, char *, size_t); size_t 1464 tools/chdk_dasm.c void swiname(__attribute__ ((unused))t_value w, __attribute__ ((unused))char * s, __attribute__ ((unused))size_t sz) { return; } size_t 1144 tools/code_gen.c size_t len = st.st_size; size_t 1163 tools/code_gen.c size_t n = fread(def, 1, len, fp); size_t 80 tools/dumputil.c size_t rcnt; size_t 119 tools/dumputil.c if (rcnt != (size_t)st.st_size) { size_t 9 tools/dumputil.h size_t size; size_t 132 tools/firmware_load_ng.c uint32_t find_next_bytes_range(firmware *fw, const void *bytes, size_t len, uint32_t start_adr, uint32_t max_adr) size_t 174 tools/firmware_load_ng.c int find_bytes_all(firmware *fw, const void *bytes, size_t len, uint32_t adr, uint32_t *result, int max) size_t 422 tools/firmware_load_ng.c int fw_memcmp(firmware *fw, uint32_t adr,const void *cmp, size_t n) size_t 1075 tools/firmware_load_ng.c size_t fw_disasm_adr(firmware *fw, uint32_t adr, unsigned count, cs_insn **insn) size_t 2377 tools/firmware_load_ng.c size_t count; size_t 61 tools/firmware_load_ng.h size_t size; // remaining code size size_t 180 tools/firmware_load_ng.h uint32_t find_next_bytes_range(firmware *fw, const void *bytes, size_t len, uint32_t start_adr, uint32_t max_adr); size_t 184 tools/firmware_load_ng.h int find_bytes_all(firmware *fw, const void *bytes, size_t len, uint32_t adr, uint32_t *result, int maxmatch); size_t 221 tools/firmware_load_ng.h int fw_memcmp(firmware *fw, uint32_t adr,const void *cmp, size_t n); size_t 82 tools/packfi2/fi2enc.c if( strlen( str ) != (size_t)len*2 ){ size_t 121 tools/packfi2/fi2enc.c size_t flen; size_t 164 tools/rawconvert.c void swap_bytes(unsigned char *src, unsigned char *dst, size_t size) size_t 238 tools/rawconvert.c size_t rcount; size_t 314 tools/rawconvert.c assert(rcount==(size_t)st.st_size); size_t 72 tools/yuvconvert.c size_t rcount;