e 1262 core/gui_draw.c const char *e = strchr(s, '\n'); e 1264 core/gui_draw.c if (e) e 1265 core/gui_draw.c l = (e - s) * FONT_WIDTH; e 1306 core/gui_draw.c const char *e = strchr(s, '\n'); e 1307 core/gui_draw.c if (e) e 1309 core/gui_draw.c n = e - s; e 1310 core/gui_draw.c e++; e 1319 core/gui_draw.c s = e; e 1337 core/gui_draw.c const char *e = strchr(s, '\n'); e 1338 core/gui_draw.c if (e) e++; e 1342 core/gui_draw.c s = e; e 41 include/font.h extern void rbf_enable_cursor(int s, int e); e 396 lib/font/rbf_font.c void rbf_enable_cursor(int s, int e) e 400 lib/font/rbf_font.c cursor_end = e; e 92 lib/lang/lang.c char *p, *s, *e, *b; e 113 lib/lang/lang.c e = buf-1; e 114 lib/lang/lang.c while(e) { e 115 lib/lang/lang.c p = e+1; e 117 lib/lang/lang.c i = strtol(p, &e, 0/*autodetect base oct-dec-hex*/); // convert "*p" to long "i" and return pointer beyond to e e 118 lib/lang/lang.c if (e!=p) { e 119 lib/lang/lang.c p = e; e 120 lib/lang/lang.c e = strpbrk(p, "\r\n"); //break string with zero on \r|\n e 121 lib/lang/lang.c if (e) *e=0; e 143 lib/lang/lang.c e = strpbrk(p, "\r\n"); e 144 lib/lang/lang.c if (e) *e=0; e 357 lib/lua/lauxlib.c const char *e; e 360 lib/lua/lauxlib.c e = strchr(fname, '.'); e 361 lib/lua/lauxlib.c if (e == NULL) e = fname + strlen(fname); e 362 lib/lua/lauxlib.c lua_pushlstring(L, fname, e - fname); e 366 lib/lua/lauxlib.c lua_createtable(L, 0, (*e == '.' ? 1 : szhint)); /* new table for field */ e 367 lib/lua/lauxlib.c lua_pushlstring(L, fname, e - fname); e 376 lib/lua/lauxlib.c fname = e + 1; e 377 lib/lua/lauxlib.c } while (*e == '.'); e 46 lib/lua/lauxlib.h LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); e 47 lib/lua/lauxlib.h LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e); e 376 lib/lua/lbaselib.c int i, e, n; e 379 lib/lua/lbaselib.c e = luaL_opt(L, luaL_checkint, 3, luaL_getn(L, 1)); e 380 lib/lua/lbaselib.c if (i > e) return 0; /* empty range */ e 381 lib/lua/lbaselib.c n = e - i + 1; /* number of elements */ e 385 lib/lua/lbaselib.c while (i++ < e) /* push arg[i + 1...e] */ e 27 lib/lua/lcode.c #define hasjumps(e) ((e)->t != (e)->f) e 30 lib/lua/lcode.c static int isnumeral(expdesc *e) { e 31 lib/lua/lcode.c return (e->k == VKNUM && e->t == NO_JUMP && e->f == NO_JUMP); e 223 lib/lua/lcode.c static void freeexp (FuncState *fs, expdesc *e) { e 224 lib/lua/lcode.c if (e->k == VNONRELOC) e 225 lib/lua/lcode.c freereg(fs, e->u.s.info); e 280 lib/lua/lcode.c LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) { e 281 lib/lua/lcode.c if (e->k == VCALL) { /* expression is an open function call? */ e 282 lib/lua/lcode.c SETARG_C(getcode(fs, e), nresults+1); e 284 lib/lua/lcode.c else if (e->k == VVARARG) { e 285 lib/lua/lcode.c SETARG_B(getcode(fs, e), nresults+1); e 286 lib/lua/lcode.c SETARG_A(getcode(fs, e), fs->freereg); e 292 lib/lua/lcode.c LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e) { e 293 lib/lua/lcode.c if (e->k == VCALL) { /* expression is an open function call? */ e 294 lib/lua/lcode.c e->k = VNONRELOC; e 295 lib/lua/lcode.c e->u.s.info = GETARG_A(getcode(fs, e)); e 297 lib/lua/lcode.c else if (e->k == VVARARG) { e 298 lib/lua/lcode.c SETARG_B(getcode(fs, e), 2); e 299 lib/lua/lcode.c e->k = VRELOCABLE; /* can relocate its simple result */ e 304 lib/lua/lcode.c LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e) { e 305 lib/lua/lcode.c switch (e->k) { e 307 lib/lua/lcode.c e->k = VNONRELOC; e 311 lib/lua/lcode.c e->u.s.info = luaK_codeABC(fs, OP_GETUPVAL, 0, e->u.s.info, 0); e 312 lib/lua/lcode.c e->k = VRELOCABLE; e 316 lib/lua/lcode.c e->u.s.info = luaK_codeABx(fs, OP_GETGLOBAL, 0, e->u.s.info); e 317 lib/lua/lcode.c e->k = VRELOCABLE; e 321 lib/lua/lcode.c freereg(fs, e->u.s.aux); e 322 lib/lua/lcode.c freereg(fs, e->u.s.info); e 323 lib/lua/lcode.c e->u.s.info = luaK_codeABC(fs, OP_GETTABLE, 0, e->u.s.info, e->u.s.aux); e 324 lib/lua/lcode.c e->k = VRELOCABLE; e 329 lib/lua/lcode.c luaK_setoneret(fs, e); e 343 lib/lua/lcode.c static void discharge2reg (FuncState *fs, expdesc *e, int reg) { e 344 lib/lua/lcode.c luaK_dischargevars(fs, e); e 345 lib/lua/lcode.c switch (e->k) { e 351 lib/lua/lcode.c luaK_codeABC(fs, OP_LOADBOOL, reg, e->k == VTRUE, 0); e 355 lib/lua/lcode.c luaK_codeABx(fs, OP_LOADK, reg, e->u.s.info); e 359 lib/lua/lcode.c luaK_codeABx(fs, OP_LOADK, reg, luaK_numberK(fs, e->u.nval)); e 363 lib/lua/lcode.c Instruction *pc = &getcode(fs, e); e 368 lib/lua/lcode.c if (reg != e->u.s.info) e 369 lib/lua/lcode.c luaK_codeABC(fs, OP_MOVE, reg, e->u.s.info, 0); e 373 lib/lua/lcode.c lua_assert(e->k == VVOID || e->k == VJMP); e 377 lib/lua/lcode.c e->u.s.info = reg; e 378 lib/lua/lcode.c e->k = VNONRELOC; e 382 lib/lua/lcode.c static void discharge2anyreg (FuncState *fs, expdesc *e) { e 383 lib/lua/lcode.c if (e->k != VNONRELOC) { e 385 lib/lua/lcode.c discharge2reg(fs, e, fs->freereg-1); e 390 lib/lua/lcode.c static void exp2reg (FuncState *fs, expdesc *e, int reg) { e 391 lib/lua/lcode.c discharge2reg(fs, e, reg); e 392 lib/lua/lcode.c if (e->k == VJMP) e 393 lib/lua/lcode.c luaK_concat(fs, &e->t, e->u.s.info); /* put this jump in `t' list */ e 394 lib/lua/lcode.c if (hasjumps(e)) { e 398 lib/lua/lcode.c if (need_value(fs, e->t) || need_value(fs, e->f)) { e 399 lib/lua/lcode.c int fj = (e->k == VJMP) ? NO_JUMP : luaK_jump(fs); e 405 lib/lua/lcode.c patchlistaux(fs, e->f, final, reg, p_f); e 406 lib/lua/lcode.c patchlistaux(fs, e->t, final, reg, p_t); e 408 lib/lua/lcode.c e->f = e->t = NO_JUMP; e 409 lib/lua/lcode.c e->u.s.info = reg; e 410 lib/lua/lcode.c e->k = VNONRELOC; e 414 lib/lua/lcode.c LUAI_FUNC void luaK_exp2nextreg (FuncState *fs, expdesc *e) { e 415 lib/lua/lcode.c luaK_dischargevars(fs, e); e 416 lib/lua/lcode.c freeexp(fs, e); e 418 lib/lua/lcode.c exp2reg(fs, e, fs->freereg - 1); e 422 lib/lua/lcode.c LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e) { e 423 lib/lua/lcode.c luaK_dischargevars(fs, e); e 424 lib/lua/lcode.c if (e->k == VNONRELOC) { e 425 lib/lua/lcode.c if (!hasjumps(e)) return e->u.s.info; /* exp is already in a register */ e 426 lib/lua/lcode.c if (e->u.s.info >= fs->nactvar) { /* reg. is not a local? */ e 427 lib/lua/lcode.c exp2reg(fs, e, e->u.s.info); /* put value on it */ e 428 lib/lua/lcode.c return e->u.s.info; e 431 lib/lua/lcode.c luaK_exp2nextreg(fs, e); /* default */ e 432 lib/lua/lcode.c return e->u.s.info; e 436 lib/lua/lcode.c LUAI_FUNC void luaK_exp2val (FuncState *fs, expdesc *e) { e 437 lib/lua/lcode.c if (hasjumps(e)) e 438 lib/lua/lcode.c luaK_exp2anyreg(fs, e); e 440 lib/lua/lcode.c luaK_dischargevars(fs, e); e 444 lib/lua/lcode.c LUAI_FUNC int luaK_exp2RK (FuncState *fs, expdesc *e) { e 445 lib/lua/lcode.c luaK_exp2val(fs, e); e 446 lib/lua/lcode.c switch (e->k) { e 452 lib/lua/lcode.c e->u.s.info = (e->k == VNIL) ? nilK(fs) : e 453 lib/lua/lcode.c (e->k == VKNUM) ? luaK_numberK(fs, e->u.nval) : e 454 lib/lua/lcode.c boolK(fs, (e->k == VTRUE)); e 455 lib/lua/lcode.c e->k = VK; e 456 lib/lua/lcode.c return RKASK(e->u.s.info); e 461 lib/lua/lcode.c if (e->u.s.info <= MAXINDEXRK) /* constant fit in argC? */ e 462 lib/lua/lcode.c return RKASK(e->u.s.info); e 468 lib/lua/lcode.c return luaK_exp2anyreg(fs, e); e 480 lib/lua/lcode.c int e = luaK_exp2anyreg(fs, ex); e 481 lib/lua/lcode.c luaK_codeABC(fs, OP_SETUPVAL, e, var->u.s.info, 0); e 485 lib/lua/lcode.c int e = luaK_exp2anyreg(fs, ex); e 486 lib/lua/lcode.c luaK_codeABx(fs, OP_SETGLOBAL, e, var->u.s.info); e 490 lib/lua/lcode.c int e = luaK_exp2RK(fs, ex); e 491 lib/lua/lcode.c luaK_codeABC(fs, OP_SETTABLE, var->u.s.info, var->u.s.aux, e); e 503 lib/lua/lcode.c LUAI_FUNC void luaK_self (FuncState *fs, expdesc *e, expdesc *key) { e 505 lib/lua/lcode.c luaK_exp2anyreg(fs, e); e 506 lib/lua/lcode.c freeexp(fs, e); e 509 lib/lua/lcode.c luaK_codeABC(fs, OP_SELF, func, e->u.s.info, luaK_exp2RK(fs, key)); e 511 lib/lua/lcode.c e->u.s.info = func; e 512 lib/lua/lcode.c e->k = VNONRELOC; e 516 lib/lua/lcode.c static void invertjump (FuncState *fs, expdesc *e) { e 517 lib/lua/lcode.c Instruction *pc = getjumpcontrol(fs, e->u.s.info); e 524 lib/lua/lcode.c static int jumponcond (FuncState *fs, expdesc *e, int cond) { e 525 lib/lua/lcode.c if (e->k == VRELOCABLE) { e 526 lib/lua/lcode.c Instruction ie = getcode(fs, e); e 533 lib/lua/lcode.c discharge2anyreg(fs, e); e 534 lib/lua/lcode.c freeexp(fs, e); e 535 lib/lua/lcode.c return condjump(fs, OP_TESTSET, NO_REG, e->u.s.info, cond); e 539 lib/lua/lcode.c LUAI_FUNC void luaK_goiftrue (FuncState *fs, expdesc *e) { e 541 lib/lua/lcode.c luaK_dischargevars(fs, e); e 542 lib/lua/lcode.c switch (e->k) { e 548 lib/lua/lcode.c invertjump(fs, e); e 549 lib/lua/lcode.c pc = e->u.s.info; e 553 lib/lua/lcode.c pc = jumponcond(fs, e, 0); e 557 lib/lua/lcode.c luaK_concat(fs, &e->f, pc); /* insert last jump in `f' list */ e 558 lib/lua/lcode.c luaK_patchtohere(fs, e->t); e 559 lib/lua/lcode.c e->t = NO_JUMP; e 563 lib/lua/lcode.c static void luaK_goiffalse (FuncState *fs, expdesc *e) { e 565 lib/lua/lcode.c luaK_dischargevars(fs, e); e 566 lib/lua/lcode.c switch (e->k) { e 572 lib/lua/lcode.c pc = e->u.s.info; e 576 lib/lua/lcode.c pc = jumponcond(fs, e, 1); e 580 lib/lua/lcode.c luaK_concat(fs, &e->t, pc); /* insert last jump in `t' list */ e 581 lib/lua/lcode.c luaK_patchtohere(fs, e->f); e 582 lib/lua/lcode.c e->f = NO_JUMP; e 586 lib/lua/lcode.c static void codenot (FuncState *fs, expdesc *e) { e 587 lib/lua/lcode.c luaK_dischargevars(fs, e); e 588 lib/lua/lcode.c switch (e->k) { e 590 lib/lua/lcode.c e->k = VTRUE; e 594 lib/lua/lcode.c e->k = VFALSE; e 598 lib/lua/lcode.c invertjump(fs, e); e 603 lib/lua/lcode.c discharge2anyreg(fs, e); e 604 lib/lua/lcode.c freeexp(fs, e); e 605 lib/lua/lcode.c e->u.s.info = luaK_codeABC(fs, OP_NOT, 0, e->u.s.info, 0); e 606 lib/lua/lcode.c e->k = VRELOCABLE; e 615 lib/lua/lcode.c { int temp = e->f; e->f = e->t; e->t = temp; } e 616 lib/lua/lcode.c removevalues(fs, e->f); e 617 lib/lua/lcode.c removevalues(fs, e->t); e 689 lib/lua/lcode.c LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e) { e 694 lib/lua/lcode.c if (!isnumeral(e)) e 695 lib/lua/lcode.c luaK_exp2anyreg(fs, e); /* cannot operate on non-numeric constants */ e 696 lib/lua/lcode.c codearith(fs, OP_UNM, e, &e2); e 699 lib/lua/lcode.c case OPR_NOT: codenot(fs, e); break; e 701 lib/lua/lcode.c luaK_exp2anyreg(fs, e); /* cannot operate on constants */ e 702 lib/lua/lcode.c codearith(fs, OP_LEN, e, &e2); e 39 lib/lua/lcode.h #define getcode(fs,e) ((fs)->f->code[(e)->u.s.info]) e 43 lib/lua/lcode.h #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) e 53 lib/lua/lcode.h LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e); e 54 lib/lua/lcode.h LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e); e 55 lib/lua/lcode.h LUAI_FUNC void luaK_exp2nextreg (FuncState *fs, expdesc *e); e 56 lib/lua/lcode.h LUAI_FUNC void luaK_exp2val (FuncState *fs, expdesc *e); e 57 lib/lua/lcode.h LUAI_FUNC int luaK_exp2RK (FuncState *fs, expdesc *e); e 58 lib/lua/lcode.h LUAI_FUNC void luaK_self (FuncState *fs, expdesc *e, expdesc *key); e 60 lib/lua/lcode.h LUAI_FUNC void luaK_goiftrue (FuncState *fs, expdesc *e); e 61 lib/lua/lcode.h LUAI_FUNC void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e); e 62 lib/lua/lcode.h LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults); e 63 lib/lua/lcode.h LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e); e 23 lib/lua/lfunc.c LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e) { e 27 lib/lua/lfunc.c c->c.env = e; e 33 lib/lua/lfunc.c LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e) { e 37 lib/lua/lfunc.c c->l.env = e; e 22 lib/lua/lfunc.h LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); e 23 lib/lua/lfunc.h LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); e 57 lib/lua/llimits.h #define check_exp(c,e) (lua_assert(c), (e)) e 58 lib/lua/llimits.h #define api_check(l,e) lua_assert(e) e 63 lib/lua/llimits.h #define check_exp(c,e) (e) e 149 lib/lua/lmathlib.c int e; e 150 lib/lua/lmathlib.c lua_pushnumber(L, frexp(luaL_checknumber(L, 1), &e)); e 151 lib/lua/lmathlib.c lua_pushinteger(L, e); e 19 lib/lua/lmem.h #define luaM_reallocv(L,b,on,n,e) \ e 20 lib/lua/lmem.h ((cast(size_t, (n)+1) <= MAX_SIZET/(e)) ? /* +1 to avoid warnings */ \ e 21 lib/lua/lmem.h luaM_realloc_(L, (b), (on)*(e), (n)*(e)) : \ e 33 lib/lua/lmem.h #define luaM_growvector(L,v,nelems,size,t,limit,e) \ e 35 lib/lua/lmem.h ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) e 36 lib/lua/lobject.c int e = 0; /* expoent */ e 39 lib/lua/lobject.c e++; e 42 lib/lua/lobject.c else return ((e+1) << 3) | (cast_int(x) - 8); e 48 lib/lua/lobject.c int e = (x >> 3) & 31; e 49 lib/lua/lobject.c if (e == 0) return x; e 50 lib/lua/lobject.c else return ((x & 7)+8) << (e - 1); e 115 lib/lua/lobject.c const char *e = strchr(fmt, '%'); e 116 lib/lua/lobject.c if (e == NULL) break; e 117 lib/lua/lobject.c setsvalue2s(L, L->top, luaS_newlstr(L, fmt, e-fmt)); e 119 lib/lua/lobject.c switch (*(e+1)) { e 156 lib/lua/lobject.c buff[1] = *(e+1); e 163 lib/lua/lobject.c fmt = e+2; e 126 lib/lua/lparser.c static void init_exp (expdesc *e, expkind k, int i) { e 127 lib/lua/lparser.c e->f = e->t = NO_JUMP; e 128 lib/lua/lparser.c e->k = k; e 129 lib/lua/lparser.c e->u.s.info = i; e 133 lib/lua/lparser.c static void codestring (LexState *ls, expdesc *e, TString *s) { e 134 lib/lua/lparser.c init_exp(e, VK, luaK_stringK(ls->fs, s)); e 138 lib/lua/lparser.c static void checkname(LexState *ls, expdesc *e) { e 139 lib/lua/lparser.c codestring(ls, e, str_checkname(ls)); e 256 lib/lua/lparser.c static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) { e 259 lib/lua/lparser.c if (hasmultret(e->k)) { e 262 lib/lua/lparser.c luaK_setreturns(fs, e, extra); /* last exp. provides the difference */ e 266 lib/lua/lparser.c if (e->k != VVOID) luaK_exp2nextreg(fs, e); /* close last expression */ e 576 lib/lua/lparser.c static void body (LexState *ls, expdesc *e, int needself, int line) { e 592 lib/lua/lparser.c pushclosure(ls, &new_fs, e); e 932 lib/lua/lparser.c expdesc e; e 948 lib/lua/lparser.c nexps = explist1(ls, &e); e 950 lib/lua/lparser.c adjust_assign(ls, nvars, nexps, &e); e 955 lib/lua/lparser.c luaK_setoneret(ls->fs, &e); /* close last expression */ e 956 lib/lua/lparser.c luaK_storevar(ls->fs, &lh->v, &e); e 960 lib/lua/lparser.c init_exp(&e, VNONRELOC, ls->fs->freereg-1); /* default assignment */ e 961 lib/lua/lparser.c luaK_storevar(ls->fs, &lh->v, &e); e 1037 lib/lua/lparser.c expdesc e; e 1039 lib/lua/lparser.c expr(ls, &e); e 1040 lib/lua/lparser.c k = e.k; e 1041 lib/lua/lparser.c luaK_exp2nextreg(ls->fs, &e); e 1092 lib/lua/lparser.c expdesc e; e 1106 lib/lua/lparser.c adjust_assign(ls, 3, explist1(ls, &e), &e); e 1183 lib/lua/lparser.c expdesc e; e 1188 lib/lua/lparser.c nexps = explist1(ls, &e); e 1190 lib/lua/lparser.c e.k = VVOID; e 1193 lib/lua/lparser.c adjust_assign(ls, nvars, nexps, &e); e 1241 lib/lua/lparser.c expdesc e; e 1247 lib/lua/lparser.c nret = explist1(ls, &e); /* optional return values */ e 1248 lib/lua/lparser.c if (hasmultret(e.k)) { e 1249 lib/lua/lparser.c luaK_setmultret(fs, &e); e 1250 lib/lua/lparser.c if (e.k == VCALL && nret == 1) { /* tail call? */ e 1251 lib/lua/lparser.c SET_OPCODE(getcode(fs,&e), OP_TAILCALL); e 1252 lib/lua/lparser.c lua_assert(GETARG_A(getcode(fs,&e)) == fs->nactvar); e 1259 lib/lua/lparser.c first = luaK_exp2anyreg(fs, &e); e 1261 lib/lua/lparser.c luaK_exp2nextreg(fs, &e); /* values must go to the `stack' */ e 96 lib/lua/lstring.c LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e) { e 105 lib/lua/lstring.c u->uv.env = e; e 27 lib/lua/lstring.h LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); e 288 lib/lua/lstrlib.c int e = *(p+1); e 291 lib/lua/lstrlib.c if (*s == e) { e 467 lib/lua/lstrlib.c const char *e) { e 470 lib/lua/lstrlib.c lua_pushlstring(ms->L, s, e - s); /* add whole match */ e 485 lib/lua/lstrlib.c static int push_captures (MatchState *ms, const char *s, const char *e) { e 490 lib/lua/lstrlib.c push_onecapture(ms, i, s, e); e 560 lib/lua/lstrlib.c const char *e; e 562 lib/lua/lstrlib.c if ((e = match(&ms, src, p)) != NULL) { e 563 lib/lua/lstrlib.c lua_Integer newstart = e-s; e 564 lib/lua/lstrlib.c if (e == src) newstart++; /* empty match? go at least one position */ e 567 lib/lua/lstrlib.c return push_captures(&ms, src, e); e 591 lib/lua/lstrlib.c const char *e) { e 602 lib/lua/lstrlib.c luaL_addlstring(b, s, e - s); e 604 lib/lua/lstrlib.c push_onecapture(ms, news[i] - '1', s, e); e 613 lib/lua/lstrlib.c const char *e) { e 618 lib/lua/lstrlib.c add_s(ms, b, s, e); e 624 lib/lua/lstrlib.c n = push_captures(ms, s, e); e 629 lib/lua/lstrlib.c push_onecapture(ms, 0, s, e); e 636 lib/lua/lstrlib.c lua_pushlstring(L, s, e - s); /* keep original text */ e 662 lib/lua/lstrlib.c const char *e; e 664 lib/lua/lstrlib.c e = match(&ms, src, p); e 665 lib/lua/lstrlib.c if (e) { e 667 lib/lua/lstrlib.c add_value(&ms, &b, src, e); e 669 lib/lua/lstrlib.c if (e && e>src) /* non empty match? */ e 670 lib/lua/lstrlib.c src = e; /* skip it */ e 91 lib/lua/ltablib.c int e = aux_getn(L, 1) + 1; /* first empty element */ e 95 lib/lua/ltablib.c pos = e; /* insert new element at the end */ e 101 lib/lua/ltablib.c if (pos > e) e = pos; /* `grow' array if necessary */ e 102 lib/lua/ltablib.c for (i = e; i > pos; i--) { /* move up elements */ e 112 lib/lua/ltablib.c luaL_setn(L, 1, e); /* new size */ e 119 lib/lua/ltablib.c int e = aux_getn(L, 1); e 120 lib/lua/ltablib.c int pos = luaL_optint(L, 2, e); e 121 lib/lua/ltablib.c if (!(1 <= pos && pos <= e)) /* position is outside bounds? */ e 123 lib/lua/ltablib.c luaL_setn(L, 1, e - 1); /* t.n = n-1 */ e 125 lib/lua/ltablib.c for ( ;pos<e; pos++) { e 130 lib/lua/ltablib.c lua_rawseti(L, 1, e); /* t[e] = nil */ e 41 lib/lua/ltm.h #define gfasttm(g,et,e) ((et) == NULL ? NULL : \ e 42 lib/lua/ltm.h ((et)->flags & (1u<<(e))) ? NULL : luaT_gettm(et, e, (g)->tmname[e])) e 44 lib/lua/ltm.h #define fasttm(l,et,e) gfasttm(G(l), et, e) e 684 lib/lua/luaconf.h #define lua_tmpnam(b,e) { \ e 686 lib/lua/luaconf.h e = mkstemp(b); \ e 687 lib/lua/luaconf.h if (e != -1) close(e); \ e 688 lib/lua/luaconf.h e = (e == -1); } e 692 lib/lua/luaconf.h #define lua_tmpnam(b,e) { e = (tmpnam(b) == NULL); } e 1281 modules/cpuinfo_v7.c unsigned interpret_l1_table_entry(unsigned e, char *buf) { e 1296 modules/cpuinfo_v7.c switch (e & 3) { e 1299 modules/cpuinfo_v7.c case 2: typ = (e & 0x40000)?1:0; e 1306 modules/cpuinfo_v7.c if (e & 0x200) { e 1309 modules/cpuinfo_v7.c col.domain = (e >> 5) & 15; e 1312 modules/cpuinfo_v7.c l2a = e & 0xfffffc00; e 1317 modules/cpuinfo_v7.c sprintf(col.physaddr,"0x%08x",e & 0xfff00000); e 1318 modules/cpuinfo_v7.c col.ngbit = e&0x20000?"Nonglobal":"Global"; e 1319 modules/cpuinfo_v7.c col.sbit = e&0x10000?"Shareable":""; e 1320 modules/cpuinfo_v7.c col.xnbit = e&0x10?"No exec":""; e 1321 modules/cpuinfo_v7.c switch (e & 0x8C00) { e 1331 modules/cpuinfo_v7.c switch (e & 0x700c) { e 1339 modules/cpuinfo_v7.c if (e & 0x4000) { e 1340 modules/cpuinfo_v7.c unsigned i = ((e&0x3000)>>10)|((e&0xc)>>2); e 1358 modules/cpuinfo_v7.c unsigned interpret_l2_table_entry(unsigned e, char *buf) { e 1373 modules/cpuinfo_v7.c switch (e & 3) { e 1376 modules/cpuinfo_v7.c sprintf(col.physaddr,"0x%08x",e & 0xffff0000); e 1377 modules/cpuinfo_v7.c col.xnbit = e&0x8000?"No exec":""; e 1378 modules/cpuinfo_v7.c f = e; e 1383 modules/cpuinfo_v7.c sprintf(col.physaddr,"0x%08x",e & 0xfffff000); e 1384 modules/cpuinfo_v7.c col.xnbit = e&1?"No exec":""; e 1385 modules/cpuinfo_v7.c f = ((e<<6) & 0x7000) | (e & 0xc); // rearrange bits for evaluation below e 1392 modules/cpuinfo_v7.c col.ngbit = e&0x800?"Nonglobal":"Global"; e 1393 modules/cpuinfo_v7.c col.sbit = e&0x400?"Shareable":""; e 1394 modules/cpuinfo_v7.c switch ((e<<6) & 0x8C00) { e 1435 modules/cpuinfo_v7.c unsigned n, *e, r, pr=42, cycl, l1a; e 1437 modules/cpuinfo_v7.c e = (unsigned*)tt0adr; e 1447 modules/cpuinfo_v7.c r = interpret_l1_table_entry(*e, linebuf); e 1450 modules/cpuinfo_v7.c if ((unsigned)e & 0x3f) { e 1455 modules/cpuinfo_v7.c v = *e; e 1457 modules/cpuinfo_v7.c if (v != *(e+m)) { e 1504 modules/cpuinfo_v7.c e++; e 1508 modules/cpuinfo_v7.c e = (unsigned*)(tt1adr+tt0len); e 389 modules/dng.c static void inc_ifd_count(ifd_entry* ifd, __attribute__ ((unused))dir_entry* e) e 404 modules/dng.c static void inc_raw_offset(__attribute__ ((unused))ifd_entry* ifd, dir_entry* e) e 407 modules/dng.c int size_ext = get_type_size(e->type) * e->count; e 428 modules/dng.c static void add_entry_to_buffer(__attribute__ ((unused))ifd_entry* ifd, dir_entry* e) e 430 modules/dng.c add_val_to_buf(e->tag, sizeof(short)); e 431 modules/dng.c add_val_to_buf(e->type & 0xFF, sizeof(short)); e 432 modules/dng.c add_val_to_buf(e->count, sizeof(int)); e 433 modules/dng.c int size_ext = get_type_size(e->type) * e->count; e 436 modules/dng.c if (e->type & T_PTR) e 438 modules/dng.c add_to_buf((void*)e->offset, sizeof(int)); e 442 modules/dng.c add_val_to_buf(e->offset, sizeof(int)); e 461 modules/dng.c static void add_entry_extra_data_to_buffer(__attribute__ ((unused))ifd_entry* ifd, dir_entry* e) e 463 modules/dng.c int size_ext = get_type_size(e->type) * e->count; e 466 modules/dng.c add_to_buf((void*)e->offset, size_ext); e 591 modules/sha1.c u32 a, b, c, d, e; e 609 modules/sha1.c e = state[4]; e 611 modules/sha1.c R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); e 612 modules/sha1.c R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); e 613 modules/sha1.c R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); e 614 modules/sha1.c R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); e 615 modules/sha1.c R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); e 616 modules/sha1.c R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); e 617 modules/sha1.c R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); e 618 modules/sha1.c R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); e 619 modules/sha1.c R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); e 620 modules/sha1.c R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); e 621 modules/sha1.c R3(a,b,c,d,e,40); R3(e,a,b,c,d,41); R3(d,e,a,b,c,42); R3(c,d,e,a,b,43); e 622 modules/sha1.c R3(b,c,d,e,a,44); R3(a,b,c,d,e,45); R3(e,a,b,c,d,46); R3(d,e,a,b,c,47); e 623 modules/sha1.c R3(c,d,e,a,b,48); R3(b,c,d,e,a,49); R3(a,b,c,d,e,50); R3(e,a,b,c,d,51); e 624 modules/sha1.c R3(d,e,a,b,c,52); R3(c,d,e,a,b,53); R3(b,c,d,e,a,54); R3(a,b,c,d,e,55); e 625 modules/sha1.c R3(e,a,b,c,d,56); R3(d,e,a,b,c,57); R3(c,d,e,a,b,58); R3(b,c,d,e,a,59); e 626 modules/sha1.c R4(a,b,c,d,e,60); R4(e,a,b,c,d,61); R4(d,e,a,b,c,62); R4(c,d,e,a,b,63); e 627 modules/sha1.c R4(b,c,d,e,a,64); R4(a,b,c,d,e,65); R4(e,a,b,c,d,66); R4(d,e,a,b,c,67); e 628 modules/sha1.c R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71); e 629 modules/sha1.c R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75); e 630 modules/sha1.c R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79); e 636 modules/sha1.c state[4] += e; e 638 modules/sha1.c a = b = c = d = e = 0; e 336 tools/capdis.c char *e; e 339 tools/capdis.c e=p+strlen(s); e 347 tools/capdis.c e=p+r - 3; e 350 tools/capdis.c while(p < e) { e 1475 tools/finsig_dryos.c int e = find_inst(fw, isLDMFD_PC, k+1, 80); e 1476 tools/finsig_dryos.c if ((s >= 0) && (e >= 0)) e 1493 tools/finsig_dryos.c for (k1=k+1; k1<e-1; k1++) e 4674 tools/finsig_dryos.c int e = find_inst(fw, isLDMFD_PC, s+1, 160); e 4681 tools/finsig_dryos.c for (k2=e-32; k2<e; k2++) e 6064 tools/finsig_dryos.c int e = find_inst(fw, isLDMFD_PC, f+1, 200); e 6065 tools/finsig_dryos.c for (k1 = f+1; k1 < e; k1++) e 6099 tools/finsig_dryos.c for (k2 = f+1; (k2 < e) && !found; k2++) e 173 tools/makeexport.c char* e; e 178 tools/makeexport.c build_num += mult*strtol(build, &e, 0/*autodetect base oct-dec-hex*/); e 180 tools/makeexport.c build=e; e 140 tools/makelang.c char *p, *s, *e; e 146 tools/makelang.c e = buf-1; e 147 tools/makelang.c while(e) e 149 tools/makelang.c p = e+1; e 151 tools/makelang.c i = strtol(p, &e, 0/*autodetect base oct-dec-hex*/); // convert "*p" to long "i" and return pointer beyond to e e 157 tools/makelang.c e = strpbrk(p, "\r\n"); //find eol e 161 tools/makelang.c if (e!=p) { e 162 tools/makelang.c p = e; e 163 tools/makelang.c e = strpbrk(p, "\r\n"); //break string with zero on \r|\n e 164 tools/makelang.c if (e) *e=0; e 176 tools/makelang.c e = strpbrk(p, "\r\n"); e 177 tools/makelang.c if (e) *e=0; e 235 tools/makelang.c char *p, *e; e 241 tools/makelang.c e = buf; e 242 tools/makelang.c while (e && *e) e 244 tools/makelang.c p = e; e 267 tools/makelang.c e = strpbrk(e, "\n"); e 268 tools/makelang.c if (e) e++;