f                 198 core/action_stack.c void action_push_func(action_func f)
f                 200 core/action_stack.c     action_push((long)f);
f                 444 core/action_stack.c         action_func f = (action_func)action_top(1);
f                 447 core/action_stack.c             process = f();
f                 452 core/action_stack.c             sprintf(buf,"AS Error - Not a Function. Aborting. %d %08x %08x.",active_stack->stack_ptr,id,f);
f                  27 core/action_stack.h void action_push_func(action_func f);
f                  12 core/gps_math.c     int f=1;
f                  13 core/gps_math.c     for (i=2; i<=n; i++) f*=i;
f                  14 core/gps_math.c     return(f);
f                 619 core/gui_draw.c     FontData *f = (FontData*)get_current_font_data(ch);
f                 621 core/gui_draw.c     *offset = f->skips >> 4;            // # of blank lines at top
f                 622 core/gui_draw.c     *size = 16 - (f->skips & 0xF);      // last line of non-blank data
f                 626 core/gui_draw.c     return (unsigned char*)f + sizeof(FontData) - *offset;
f                  52 core/gui_osd.c         int f = dist % 1000;
f                  54 core/gui_osd.c             sprintf(buf, ".%03d", f);
f                  56 core/gui_osd.c             sprintf(buf, "%d.%02d", i, (f+5)/10);
f                  58 core/gui_osd.c             sprintf(buf, "%02d.%d", i, (f+50)/100);
f                 860 core/gui_script.c     int f = (sizeof(hdr_script_submenu_items) / sizeof(CMenuItem)) + warn;
f                 861 core/gui_script.c     int n = f + script_param_count + 2;
f                 891 core/gui_script.c             script_submenu_items[f-1].text = (int)warning;
f                 892 core/gui_script.c             script_submenu_items[f-1].type = MENUITEM_ERROR;
f                 896 core/gui_script.c             script_submenu_items[f-1].text = (int)"No @chdk_version, assuming CHDK 1.3";
f                 897 core/gui_script.c             script_submenu_items[f-1].type = MENUITEM_WARNING;
f                 905 core/gui_script.c     for (i=f, p=script_params; p; i++, p=p->next)
f                 121 core/memmgmt.c     unsigned long *f = 0, *l = 0;
f                 128 core/memmgmt.c             if (f == 0) f = p;
f                 138 core/memmgmt.c         sprintf(osd_buf, "f:%8x l:%8x c:%d", f, l, cnt);
f                 614 core/ptp.c             FILE *f=NULL;
f                 632 core/ptp.c                 if(!f) {
f                 641 core/ptp.c                     f = fopen(fn,"wb");
f                 643 core/ptp.c                     if(!f) {
f                 647 core/ptp.c                     fwrite(rs.buf+4+fn_len,1,rs.last_read - 4 - fn_len,f);
f                 649 core/ptp.c                     fwrite(rs.buf,1,rs.last_read,f);
f                 654 core/ptp.c             if(f) {
f                 655 core/ptp.c                 fclose(f);
f                 666 core/ptp.c             FILE *f;
f                 694 core/ptp.c             f = fopen(fn,"rb");
f                 695 core/ptp.c             if ( f == NULL )
f                 705 core/ptp.c             fseek(f,0,SEEK_END);
f                 706 core/ptp.c             s = ftell(f);
f                 707 core/ptp.c             fseek(f,0,SEEK_SET);
f                 720 core/ptp.c             while ( (r = fread(buf,1,(t<buf_size)?t:buf_size,f)) > 0 )
f                 727 core/ptp.c             fclose(f);
f                 152 core/shooting.c     short f = shooting_get_focus_mode();
f                 154 core/shooting.c     if (f==0 && m!=0) f=(m==1)?4:m;
f                 155 core/shooting.c     return f;
f                  80 core/suba.c    #define check_cell(s, c, f, l) (c)
f                  50 include/lolevel.h extern void _RefreshPhysicalScreen(long f);
f                  98 include/lolevel.h extern long _Fread_Fut(void *buf, long elsize, long count, long f);
f                  99 include/lolevel.h extern long _Fwrite_Fut(const void *buf, long elsize, long count, long f);
f                 104 include/lolevel.h extern char *_Fgets_Fut(char *buf, int n, long f);
f                 145 include/stdlib.h extern long fclose(FILE *f);
f                 146 include/stdlib.h extern long fread(void *buf, long elsize, long count, FILE *f);
f                 147 include/stdlib.h extern long fwrite(const void *buf, long elsize, long count, FILE *f);
f                 152 include/stdlib.h extern char *fgets(char *buf, int n, FILE *f);
f                  64 lib/font/rbf_font.c     font *f = malloc(sizeof(font));
f                  65 lib/font/rbf_font.c     if (f) {
f                  66 lib/font/rbf_font.c         memset(f,0,sizeof(font));      // wipe memory
f                  68 lib/font/rbf_font.c         return f;
f                  85 lib/font/rbf_font.c void alloc_cTable(font *f) {
f                  88 lib/font/rbf_font.c     if (f->usingFont8x16) {
f                  89 lib/font/rbf_font.c         f->width = FONT_WIDTH;
f                  92 lib/font/rbf_font.c         f->width = 8 * f->hdr.charSize / f->hdr.height;
f                  94 lib/font/rbf_font.c     f->charCount = f->hdr.charLast - f->hdr.charFirst + 1;
f                  97 lib/font/rbf_font.c     memset(f->wTable, f->width, 256);
f                 104 lib/font/rbf_font.c     if ((f->cTable != 0) && (f->cTableSizeMax < (f->charCount*f->hdr.charSize))) {
f                 105 lib/font/rbf_font.c         free(f->cTable);              // free the memory
f                 106 lib/font/rbf_font.c         f->cTable = 0;                // clear pointer so new memory is allocated
f                 107 lib/font/rbf_font.c         f->cTableSizeMax = 0;
f                 111 lib/font/rbf_font.c     if (f->cTable == 0 && !f->usingFont8x16) {
f                 113 lib/font/rbf_font.c         f->cTable = malloc(f->charCount*f->hdr.charSize);
f                 116 lib/font/rbf_font.c         f->cTableSize = f->charCount*f->hdr.charSize;
f                 117 lib/font/rbf_font.c         if (f->cTableSizeMax == 0) f->cTableSizeMax = f->cTableSize;    // Save actual size allocated
f                 145 lib/font/rbf_font.c char* rbf_font_char(font* f, int ch)
f                 147 lib/font/rbf_font.c     if (f && (ch >= f->hdr.charFirst) && (ch <= f->hdr.charLast))
f                 149 lib/font/rbf_font.c         return &f->cTable[(ch-f->hdr.charFirst)*f->hdr.charSize];
f                 185 lib/font/rbf_font.c int rbf_font_load(char *file, font* f, int maxchar)
f                 191 lib/font/rbf_font.c     if ((f == 0) || (*file == 0)) return 0;
f                 194 lib/font/rbf_font.c     f->usingFont8x16 = 0;
f                 200 lib/font/rbf_font.c         i = font_read(fd, (unsigned char*)&f->hdr, sizeof(font_hdr));
f                 203 lib/font/rbf_font.c         if ((i == sizeof(font_hdr)) && (f->hdr.magic1 == RBF_HDR_MAGIC1) && (f->hdr.magic2 == RBF_HDR_MAGIC2)) {
f                 206 lib/font/rbf_font.c                 f->hdr.charLast = maxchar;
f                 209 lib/font/rbf_font.c             alloc_cTable(f);
f                 212 lib/font/rbf_font.c             lseek(fd, f->hdr._wmapAddr, SEEK_SET);
f                 213 lib/font/rbf_font.c             font_read(fd, (unsigned char*)&f->wTable[f->hdr.charFirst], f->charCount);
f                 216 lib/font/rbf_font.c             lseek(fd, f->hdr._cmapAddr, SEEK_SET);
f                 217 lib/font/rbf_font.c             font_read(fd, (unsigned char*)f->cTable, f->charCount*f->hdr.charSize);
f                  60 lib/lang/lang.c     int f=0;
f                  69 lib/lang/lang.c                 if (f) {
f                  73 lib/lang/lang.c                     f = 0;
f                  77 lib/lang/lang.c                         f = 1;
f                 381 lib/lua/lapi.c   return (!iscfunction(o)) ? NULL : clvalue(o)->c.f;
f                 492 lib/lua/lapi.c   cl->c.f = fn;
f                 841 lib/lua/lapi.c   cl->c.f = c->func;
f                1008 lib/lua/lapi.c   lua_Alloc f;
f                1011 lib/lua/lapi.c   f = G(L)->frealloc;
f                1013 lib/lua/lapi.c   return f;
f                1017 lib/lua/lapi.c LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {
f                1020 lib/lua/lapi.c   G(L)->frealloc = f;
f                1040 lib/lua/lapi.c   Closure *f;
f                1042 lib/lua/lapi.c   f = clvalue(fi);
f                1043 lib/lua/lapi.c   if (f->c.isC) {
f                1044 lib/lua/lapi.c     if (!(1 <= n && n <= f->c.nupvalues)) return NULL;
f                1045 lib/lua/lapi.c     *val = &f->c.upvalue[n-1];
f                1049 lib/lua/lapi.c     Proto *p = f->l.p;
f                1051 lib/lua/lapi.c     *val = f->l.upvals[n-1]->v;
f                 522 lib/lua/lauxlib.c   FILE *f;
f                 535 lib/lua/lauxlib.c   if (feof(lf->f)) return NULL;
f                 536 lib/lua/lauxlib.c   *size = fread(lf->buff, 1, sizeof(lf->buff), lf->f);
f                 541 lib/lua/lauxlib.c   FILE *f;
f                 548 lib/lua/lauxlib.c   if (feof(lf->f)) return NULL;
f                 549 lib/lua/lauxlib.c   *size = fread(lf->buff, 1, sizeof(lf->buff), lf->f);
f                 576 lib/lua/lauxlib.c     lf.f = stdin;
f                 580 lib/lua/lauxlib.c     lf.f = fopen(filename, "r");
f                 581 lib/lua/lauxlib.c     if (lf.f == NULL) return errfile(L, "open", fnameindex);
f                 583 lib/lua/lauxlib.c   c = getc(lf.f);
f                 586 lib/lua/lauxlib.c     while ((c = getc(lf.f)) != EOF && c != '\n') ;  /* skip first line */
f                 587 lib/lua/lauxlib.c     if (c == '\n') c = getc(lf.f);
f                 590 lib/lua/lauxlib.c     lf.f = freopen(filename, "rb", lf.f);  /* reopen in binary mode */
f                 591 lib/lua/lauxlib.c     if (lf.f == NULL) return errfile(L, "reopen", fnameindex);
f                 593 lib/lua/lauxlib.c    while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
f                 596 lib/lua/lauxlib.c   ungetc(c, lf.f);
f                 598 lib/lua/lauxlib.c   readstatus = ferror(lf.f);
f                 599 lib/lua/lauxlib.c   if (filename) fclose(lf.f);  /* close file (even in case of errors) */
f                 614 lib/lua/lauxlib.c   lf.f = fopen(filename, "rb"); // cams don't translate crlf anyway
f                 615 lib/lua/lauxlib.c   if (lf.f == NULL) return errfile(L, "fopen", fnameindex);
f                 618 lib/lua/lauxlib.c   readerror = ((fread(&c, 1, 1, lf.f) < 1) && !feof(lf.f));
f                 620 lib/lua/lauxlib.c   fclose(lf.f);  /* close file (even in case of errors) */
f                 119 lib/lua/lauxlib.h #define luaL_opt(L,f,n,d)	(lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
f                 652 lib/lua/lbaselib.c                      lua_CFunction f, lua_CFunction u) {
f                 654 lib/lua/lbaselib.c   lua_pushcclosure(L, f, 1);
f                  27 lib/lua/lcode.c #define hasjumps(e)	((e)->t != (e)->f)
f                  31 lib/lua/lcode.c   return (e->k == VKNUM && e->t == NO_JUMP && e->f == NO_JUMP);
f                  43 lib/lua/lcode.c       previous = &fs->f->code[fs->pc-1];
f                  81 lib/lua/lcode.c   Instruction *jmp = &fs->f->code[pc];
f                 101 lib/lua/lcode.c   int offset = GETARG_sBx(fs->f->code[pc]);
f                 110 lib/lua/lcode.c   Instruction *pi = &fs->f->code[pc];
f                 201 lib/lua/lcode.c   if (newstack > fs->f->maxstacksize) {
f                 204 lib/lua/lcode.c     fs->f->maxstacksize = cast_byte(newstack);
f                 232 lib/lua/lcode.c   Proto *f = fs->f;
f                 233 lib/lua/lcode.c   int oldsize = f->sizek;
f                 235 lib/lua/lcode.c     lua_assert(luaO_rawequalObj(&fs->f->k[cast_int(nvalue(idx))], v));
f                 240 lib/lua/lcode.c     luaM_growvector(L, f->k, fs->nk, f->sizek, TValue,
f                 242 lib/lua/lcode.c     while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]);
f                 243 lib/lua/lcode.c     setobj(L, &f->k[fs->nk], v);
f                 244 lib/lua/lcode.c     luaC_barrier(L, f, v);
f                 398 lib/lua/lcode.c     if (need_value(fs, e->t) || need_value(fs, e->f)) {
f                 405 lib/lua/lcode.c     patchlistaux(fs, e->f, final, reg, p_f);
f                 408 lib/lua/lcode.c   e->f = e->t = NO_JUMP;
f                 557 lib/lua/lcode.c   luaK_concat(fs, &e->f, pc);  /* insert last jump in `f' list */
f                 581 lib/lua/lcode.c   luaK_patchtohere(fs, e->f);
f                 582 lib/lua/lcode.c   e->f = NO_JUMP;
f                 615 lib/lua/lcode.c   { int temp = e->f; e->f = e->t; e->t = temp; }
f                 616 lib/lua/lcode.c   removevalues(fs, e->f);
f                 691 lib/lua/lcode.c   e2.t = e2.f = NO_JUMP; e2.k = VKNUM; e2.u.nval = 0;
f                 742 lib/lua/lcode.c       luaK_concat(fs, &e2->f, e1->f);
f                 747 lib/lua/lcode.c       lua_assert(e1->f == NO_JUMP);  /* list must be closed */
f                 785 lib/lua/lcode.c   fs->f->lineinfo[fs->pc - 1] = line;
f                 790 lib/lua/lcode.c   Proto *f = fs->f;
f                 793 lib/lua/lcode.c   luaM_growvector(fs->L, f->code, fs->pc, f->sizecode, Instruction,
f                 795 lib/lua/lcode.c   f->code[fs->pc] = i;
f                 797 lib/lua/lcode.c   luaM_growvector(fs->L, f->lineinfo, fs->pc, f->sizelineinfo, int,
f                 799 lib/lua/lcode.c   f->lineinfo[fs->pc] = line;
f                  39 lib/lua/lcode.h #define getcode(fs,e)	((fs)->f->code[(e)->u.s.info])
f                 177 lib/lua/ldebug.c static void collectvalidlines (lua_State *L, Closure *f) {
f                 178 lib/lua/ldebug.c   if (f == NULL || f->c.isC) {
f                 183 lib/lua/ldebug.c     int *lineinfo = f->l.p->lineinfo;
f                 185 lib/lua/ldebug.c     for (i=0; i<f->l.p->sizelineinfo; i++)
f                 194 lib/lua/ldebug.c                     Closure *f, CallInfo *ci) {
f                 196 lib/lua/ldebug.c   if (f == NULL) {
f                 203 lib/lua/ldebug.c         funcinfo(ar, f);
f                 211 lib/lua/ldebug.c         ar->nups = f->c.nupvalues;
f                 234 lib/lua/ldebug.c   Closure *f = NULL;
f                 241 lib/lua/ldebug.c     f = clvalue(func);
f                 247 lib/lua/ldebug.c     f = clvalue(ci->func);
f                 249 lib/lua/ldebug.c   status = auxgetinfo(L, what, ar, f, ci);
f                 251 lib/lua/ldebug.c     if (f == NULL) setnilvalue(L->top);
f                 252 lib/lua/ldebug.c     else setclvalue(L, L->top, f);
f                 256 lib/lua/ldebug.c     collectvalidlines(L, f);
f                  16 lib/lua/ldebug.h #define getline(f,pc)	(((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
f                 111 lib/lua/ldo.c  LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) {
f                 117 lib/lua/ldo.c      (*f)(L, ud);
f                 320 lib/lua/ldo.c      n = (*curr_func(L)->c.f)(L);  /* do the actual call */
f                  52 lib/lua/ldo.h  LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);
f                  76 lib/lua/ldump.c #define DumpCode(f,D)	 DumpVector(f->code,f->sizecode,sizeof(Instruction),D)
f                  78 lib/lua/ldump.c static void DumpFunction(const Proto* f, const TString* p, DumpState* D);
f                  80 lib/lua/ldump.c static void DumpConstants(const Proto* f, DumpState* D)
f                  82 lib/lua/ldump.c  int i,n=f->sizek;
f                  86 lib/lua/ldump.c   const TValue* o=&f->k[i];
f                 106 lib/lua/ldump.c  n=f->sizep;
f                 108 lib/lua/ldump.c  for (i=0; i<n; i++) DumpFunction(f->p[i],f->source,D);
f                 111 lib/lua/ldump.c static void DumpDebug(const Proto* f, DumpState* D)
f                 114 lib/lua/ldump.c  n= (D->strip) ? 0 : f->sizelineinfo;
f                 115 lib/lua/ldump.c  DumpVector(f->lineinfo,n,sizeof(int),D);
f                 116 lib/lua/ldump.c  n= (D->strip) ? 0 : f->sizelocvars;
f                 120 lib/lua/ldump.c   DumpString(f->locvars[i].varname,D);
f                 121 lib/lua/ldump.c   DumpInt(f->locvars[i].startpc,D);
f                 122 lib/lua/ldump.c   DumpInt(f->locvars[i].endpc,D);
f                 124 lib/lua/ldump.c  n= (D->strip) ? 0 : f->sizeupvalues;
f                 126 lib/lua/ldump.c  for (i=0; i<n; i++) DumpString(f->upvalues[i],D);
f                 129 lib/lua/ldump.c static void DumpFunction(const Proto* f, const TString* p, DumpState* D)
f                 131 lib/lua/ldump.c  DumpString((f->source==p || D->strip) ? NULL : f->source,D);
f                 132 lib/lua/ldump.c  DumpInt(f->linedefined,D);
f                 133 lib/lua/ldump.c  DumpInt(f->lastlinedefined,D);
f                 134 lib/lua/ldump.c  DumpChar(f->nups,D);
f                 135 lib/lua/ldump.c  DumpChar(f->numparams,D);
f                 136 lib/lua/ldump.c  DumpChar(f->is_vararg,D);
f                 137 lib/lua/ldump.c  DumpChar(f->maxstacksize,D);
f                 138 lib/lua/ldump.c  DumpCode(f,D);
f                 139 lib/lua/ldump.c  DumpConstants(f,D);
f                 140 lib/lua/ldump.c  DumpDebug(f,D);
f                 153 lib/lua/ldump.c LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip)
f                 162 lib/lua/ldump.c  DumpFunction(f,NULL,&D);
f                 116 lib/lua/lfunc.c   Proto *f = luaM_new(L, Proto);
f                 117 lib/lua/lfunc.c   luaC_link(L, obj2gco(f), LUA_TPROTO);
f                 118 lib/lua/lfunc.c   f->k = NULL;
f                 119 lib/lua/lfunc.c   f->sizek = 0;
f                 120 lib/lua/lfunc.c   f->p = NULL;
f                 121 lib/lua/lfunc.c   f->sizep = 0;
f                 122 lib/lua/lfunc.c   f->code = NULL;
f                 123 lib/lua/lfunc.c   f->sizecode = 0;
f                 124 lib/lua/lfunc.c   f->sizelineinfo = 0;
f                 125 lib/lua/lfunc.c   f->sizeupvalues = 0;
f                 126 lib/lua/lfunc.c   f->nups = 0;
f                 127 lib/lua/lfunc.c   f->upvalues = NULL;
f                 128 lib/lua/lfunc.c   f->numparams = 0;
f                 129 lib/lua/lfunc.c   f->is_vararg = 0;
f                 130 lib/lua/lfunc.c   f->maxstacksize = 0;
f                 131 lib/lua/lfunc.c   f->lineinfo = NULL;
f                 132 lib/lua/lfunc.c   f->sizelocvars = 0;
f                 133 lib/lua/lfunc.c   f->locvars = NULL;
f                 134 lib/lua/lfunc.c   f->linedefined = 0;
f                 135 lib/lua/lfunc.c   f->lastlinedefined = 0;
f                 136 lib/lua/lfunc.c   f->source = NULL;
f                 137 lib/lua/lfunc.c   return f;
f                 141 lib/lua/lfunc.c LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f) {
f                 142 lib/lua/lfunc.c   luaM_freearray(L, f->code, f->sizecode, Instruction);
f                 143 lib/lua/lfunc.c   luaM_freearray(L, f->p, f->sizep, Proto *);
f                 144 lib/lua/lfunc.c   luaM_freearray(L, f->k, f->sizek, TValue);
f                 145 lib/lua/lfunc.c   luaM_freearray(L, f->lineinfo, f->sizelineinfo, int);
f                 146 lib/lua/lfunc.c   luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar);
f                 147 lib/lua/lfunc.c   luaM_freearray(L, f->upvalues, f->sizeupvalues, TString *);
f                 148 lib/lua/lfunc.c   luaM_free(L, f);
f                 163 lib/lua/lfunc.c LUAI_FUNC const char *luaF_getlocalname (const Proto *f, int local_number, int pc) {
f                 165 lib/lua/lfunc.c   for (i = 0; i<f->sizelocvars && f->locvars[i].startpc <= pc; i++) {
f                 166 lib/lua/lfunc.c     if (pc < f->locvars[i].endpc) {  /* is variable active? */
f                 169 lib/lua/lfunc.c         return getstr(f->locvars[i].varname);
f                  27 lib/lua/lfunc.h LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
f                 203 lib/lua/lgc.c  static void traverseproto (global_State *g, Proto *f) {
f                 205 lib/lua/lgc.c    if (f->source) stringmark(f->source);
f                 206 lib/lua/lgc.c    for (i=0; i<f->sizek; i++)  /* mark literals */
f                 207 lib/lua/lgc.c      markvalue(g, &f->k[i]);
f                 208 lib/lua/lgc.c    for (i=0; i<f->sizeupvalues; i++) {  /* mark upvalue names */
f                 209 lib/lua/lgc.c      if (f->upvalues[i])
f                 210 lib/lua/lgc.c        stringmark(f->upvalues[i]);
f                 212 lib/lua/lgc.c    for (i=0; i<f->sizep; i++) {  /* mark nested protos */
f                 213 lib/lua/lgc.c      if (f->p[i])
f                 214 lib/lua/lgc.c        markobject(g, f->p[i]);
f                 216 lib/lua/lgc.c    for (i=0; i<f->sizelocvars; i++) {  /* mark local-variable names */
f                 217 lib/lua/lgc.c      if (f->locvars[i].varname)
f                 218 lib/lua/lgc.c        stringmark(f->locvars[i].varname);
f                  79 lib/lua/liolib.c   FILE **f = tofilep(L);
f                  80 lib/lua/liolib.c   if (*f == NULL)
f                  82 lib/lua/liolib.c   return *f;
f                 152 lib/lua/liolib.c   FILE *f = *tofilep(L);
f                 154 lib/lua/liolib.c   if (f != NULL)
f                 161 lib/lua/liolib.c   FILE *f = *tofilep(L);
f                 162 lib/lua/liolib.c   if (f == NULL)
f                 165 lib/lua/liolib.c     lua_pushfstring(L, "file (%p)", f);
f                 205 lib/lua/liolib.c   FILE *f;
f                 207 lib/lua/liolib.c   f = *(FILE **)lua_touserdata(L, -1);
f                 208 lib/lua/liolib.c   if (f == NULL)
f                 210 lib/lua/liolib.c   return f;
f                 214 lib/lua/liolib.c static int g_iofile (lua_State *L, int f, const char *mode) {
f                 227 lib/lua/liolib.c     lua_rawseti(L, LUA_ENVIRONINDEX, f);
f                 230 lib/lua/liolib.c   lua_rawgeti(L, LUA_ENVIRONINDEX, f);
f                 290 lib/lua/liolib.c static int scan_num(FILE *f,int *r) {
f                 296 lib/lua/liolib.c     if(fread(&c,1,1,f) != 1) return 0;
f                 300 lib/lua/liolib.c     if(fread(&c,1,1,f) != 1) return 0;
f                 307 lib/lua/liolib.c       fseek(f,-1,SEEK_CUR);
f                 313 lib/lua/liolib.c     if( fread(&c,1,1,f) != 1 ) break;
f                 323 lib/lua/liolib.c static int read_number (lua_State *L, FILE *f) {
f                 327 lib/lua/liolib.c   if (fscanf(f, LUA_NUMBER_SCAN, &d) == 1) {
f                 329 lib/lua/liolib.c   if (scan_num(f,&d) == 1) {
f                 342 lib/lua/liolib.c static int test_eof (lua_State *L, FILE *f) {
f                 343 lib/lua/liolib.c   int c = getc(f);
f                 344 lib/lua/liolib.c   ungetc(c, f);
f                 349 lib/lua/liolib.c static int test_eof (lua_State *L, FILE *f) {
f                 352 lib/lua/liolib.c   return !feof(f);
f                 357 lib/lua/liolib.c static int read_line (lua_State *L, FILE *f) {
f                 363 lib/lua/liolib.c     if (fgets(p, LUAL_BUFFERSIZE, f) == NULL) {  /* eof? */
f                 379 lib/lua/liolib.c static int read_chars (lua_State *L, FILE *f, size_t n) {
f                 388 lib/lua/liolib.c     nr = fread(p, sizeof(char), rlen, f);
f                 397 lib/lua/liolib.c static int g_read (lua_State *L, FILE *f, int first) {
f                 403 lib/lua/liolib.c   clearerr(f);
f                 406 lib/lua/liolib.c     success = read_line(L, f);
f                 415 lib/lua/liolib.c         success = (l == 0) ? test_eof(L, f) : read_chars(L, f, l);
f                 422 lib/lua/liolib.c             success = read_number(L, f);
f                 425 lib/lua/liolib.c             success = read_line(L, f);
f                 428 lib/lua/liolib.c             read_chars(L, f, ~((size_t)0));  /* read MAX_SIZE_T chars */
f                 439 lib/lua/liolib.c   if (ferror(f))
f                 461 lib/lua/liolib.c   FILE *f = *(FILE **)lua_touserdata(L, lua_upvalueindex(1));
f                 463 lib/lua/liolib.c   if (f == NULL)  /* file is already closed? */
f                 465 lib/lua/liolib.c   sucess = read_line(L, f);
f                 468 lib/lua/liolib.c   if (ferror(f))
f                 485 lib/lua/liolib.c static int g_write (lua_State *L, FILE *f, int arg) {
f                 495 lib/lua/liolib.c           fprintf(f, LUA_NUMBER_FMT, lua_tonumber(L, arg)) > 0;
f                 497 lib/lua/liolib.c           fwrite(s, sizeof(char), strlen(s), f);
f                 503 lib/lua/liolib.c       status = status && (fwrite(s, sizeof(char), l, f) == l);
f                 523 lib/lua/liolib.c   FILE *f = tofile(L);
f                 526 lib/lua/liolib.c   op = fseek(f, offset, mode[op]);
f                 530 lib/lua/liolib.c     lua_pushinteger(L, ftell(f));
f                 540 lib/lua/liolib.c   FILE *f = tofile(L);
f                 543 lib/lua/liolib.c   int res = setvbuf(f, NULL, mode[op], sz);
f                 560 lib/lua/liolib.c   FILE *f = tofile(L);
f                 561 lib/lua/liolib.c   lua_pushinteger(L, (int)f);
f                 611 lib/lua/liolib.c static void createstdfile (lua_State *L, FILE *f, int k, const char *fname) {
f                 612 lib/lua/liolib.c   *newfile(L) = f;
f                  77 lib/lua/loadlib.c   lua_CFunction f = (lua_CFunction)dlsym(lib, sym);
f                  78 lib/lua/loadlib.c   if (f == NULL) lua_pushstring(L, dlerror());
f                  79 lib/lua/loadlib.c   return f;
f                 136 lib/lua/loadlib.c   lua_CFunction f = (lua_CFunction)GetProcAddress((HINSTANCE)lib, sym);
f                 137 lib/lua/loadlib.c   if (f == NULL) pusherror(L);
f                 138 lib/lua/loadlib.c   return f;
f                 303 lib/lua/loadlib.c     lua_CFunction f = ll_sym(L, *reg, sym);
f                 304 lib/lua/loadlib.c     if (f == NULL)
f                 306 lib/lua/loadlib.c     lua_pushcfunction(L, f);
f                 337 lib/lua/loadlib.c   FILE *f = fopen(filename, "r");  /* try to open file */
f                 338 lib/lua/loadlib.c   if (f == NULL) return 0;  /* open failed */
f                 339 lib/lua/loadlib.c   fclose(f);
f                 341 lib/lua/loadlib.c   int f = open(filename,O_RDONLY,0777);
f                 342 lib/lua/loadlib.c   if (f == -1) return 0;  /* open failed */
f                 343 lib/lua/loadlib.c   close(f);
f                 297 lib/lua/lobject.h   lua_CFunction f;
f                  32 lib/lua/lparser.c #define getlocvar(fs, i)	((fs)->f->locvars[(fs)->actvar[i]])
f                  72 lib/lua/lparser.c   const char *msg = (fs->f->linedefined == 0) ?
f                  75 lib/lua/lparser.c                             fs->f->linedefined, limit, what);
f                 127 lib/lua/lparser.c   e->f = e->t = NO_JUMP;
f                 145 lib/lua/lparser.c   Proto *f = fs->f;
f                 146 lib/lua/lparser.c   int oldsize = f->sizelocvars;
f                 147 lib/lua/lparser.c   luaM_growvector(ls->L, f->locvars, fs->nlocvars, f->sizelocvars,
f                 149 lib/lua/lparser.c   while (oldsize < f->sizelocvars) f->locvars[oldsize++].varname = NULL;
f                 150 lib/lua/lparser.c   f->locvars[fs->nlocvars].varname = varname;
f                 151 lib/lua/lparser.c   luaC_objbarrier(ls->L, f, varname);
f                 185 lib/lua/lparser.c   Proto *f = fs->f;
f                 186 lib/lua/lparser.c   int oldsize = f->sizeupvalues;
f                 187 lib/lua/lparser.c   for (i=0; i<f->nups; i++) {
f                 189 lib/lua/lparser.c       lua_assert(f->upvalues[i] == name);
f                 194 lib/lua/lparser.c   luaY_checklimit(fs, f->nups + 1, LUAI_MAXUPVALUES, "upvalues");
f                 195 lib/lua/lparser.c   luaM_growvector(fs->L, f->upvalues, f->nups, f->sizeupvalues,
f                 197 lib/lua/lparser.c   while (oldsize < f->sizeupvalues) f->upvalues[oldsize++] = NULL;
f                 198 lib/lua/lparser.c   f->upvalues[f->nups] = name;
f                 199 lib/lua/lparser.c   luaC_objbarrier(fs->L, f, name);
f                 201 lib/lua/lparser.c   fs->upvalues[f->nups].k = cast_byte(v->k);
f                 202 lib/lua/lparser.c   fs->upvalues[f->nups].info = cast_byte(v->u.s.info);
f                 203 lib/lua/lparser.c   return f->nups++;
f                 312 lib/lua/lparser.c   Proto *f = fs->f;
f                 313 lib/lua/lparser.c   int oldsize = f->sizep;
f                 315 lib/lua/lparser.c   luaM_growvector(ls->L, f->p, fs->np, f->sizep, Proto *,
f                 317 lib/lua/lparser.c   while (oldsize < f->sizep) f->p[oldsize++] = NULL;
f                 318 lib/lua/lparser.c   f->p[fs->np++] = func->f;
f                 319 lib/lua/lparser.c   luaC_objbarrier(ls->L, f, func->f);
f                 321 lib/lua/lparser.c   for (i=0; i<func->f->nups; i++) {
f                 330 lib/lua/lparser.c   Proto *f = luaF_newproto(L);
f                 331 lib/lua/lparser.c   fs->f = f;
f                 345 lib/lua/lparser.c   f->source = ls->source;
f                 346 lib/lua/lparser.c   f->maxstacksize = 2;  /* registers 0/1 are always valid */
f                 351 lib/lua/lparser.c   setptvalue2s(L, L->top, f);
f                 359 lib/lua/lparser.c   Proto *f = fs->f;
f                 362 lib/lua/lparser.c   luaM_reallocvector(L, f->code, f->sizecode, fs->pc, Instruction);
f                 363 lib/lua/lparser.c   f->sizecode = fs->pc;
f                 364 lib/lua/lparser.c   luaM_reallocvector(L, f->lineinfo, f->sizelineinfo, fs->pc, int);
f                 365 lib/lua/lparser.c   f->sizelineinfo = fs->pc;
f                 366 lib/lua/lparser.c   luaM_reallocvector(L, f->k, f->sizek, fs->nk, TValue);
f                 367 lib/lua/lparser.c   f->sizek = fs->nk;
f                 368 lib/lua/lparser.c   luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *);
f                 369 lib/lua/lparser.c   f->sizep = fs->np;
f                 370 lib/lua/lparser.c   luaM_reallocvector(L, f->locvars, f->sizelocvars, fs->nlocvars, LocVar);
f                 371 lib/lua/lparser.c   f->sizelocvars = fs->nlocvars;
f                 372 lib/lua/lparser.c   luaM_reallocvector(L, f->upvalues, f->sizeupvalues, f->nups, TString *);
f                 373 lib/lua/lparser.c   f->sizeupvalues = f->nups;
f                 374 lib/lua/lparser.c   lua_assert(luaG_checkcode(f));
f                 389 lib/lua/lparser.c   funcstate.f->is_vararg = VARARG_ISVARARG;  /* main func. is always vararg */
f                 395 lib/lua/lparser.c   lua_assert(funcstate.f->nups == 0);
f                 397 lib/lua/lparser.c   return funcstate.f;
f                 535 lib/lua/lparser.c   SETARG_B(fs->f->code[pc], luaO_int2fb(cc.na)); /* set initial array size */
f                 536 lib/lua/lparser.c   SETARG_C(fs->f->code[pc], luaO_int2fb(cc.nh));  /* set initial table size */
f                 546 lib/lua/lparser.c   Proto *f = fs->f;
f                 548 lib/lua/lparser.c   f->is_vararg = 0;
f                 561 lib/lua/lparser.c           f->is_vararg = VARARG_HASARG | VARARG_NEEDSARG;
f                 563 lib/lua/lparser.c           f->is_vararg |= VARARG_ISVARARG;
f                 568 lib/lua/lparser.c     } while (!f->is_vararg && testnext(ls, ','));
f                 571 lib/lua/lparser.c   f->numparams = cast_byte(fs->nactvar - (f->is_vararg & VARARG_HASARG));
f                 580 lib/lua/lparser.c   new_fs.f->linedefined = line;
f                 589 lib/lua/lparser.c   new_fs.f->lastlinedefined = ls->linenumber;
f                 609 lib/lua/lparser.c static void funcargs (LexState *ls, expdesc *f) {
f                 642 lib/lua/lparser.c   lua_assert(f->k == VNONRELOC);
f                 643 lib/lua/lparser.c   base = f->u.s.info;  /* base register for call */
f                 651 lib/lua/lparser.c   init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2));
f                 754 lib/lua/lparser.c       check_condition(ls, fs->f->is_vararg,
f                 756 lib/lua/lparser.c       fs->f->is_vararg &= ~VARARG_NEEDSARG;  /* don't need 'arg' */
f                 971 lib/lua/lparser.c   return v.f;
f                1332 lib/lua/lparser.c     lua_assert(ls->fs->f->maxstacksize >= ls->fs->freereg &&
f                  44 lib/lua/lparser.h   int f;  /* patch list of `exit when false' */
f                  59 lib/lua/lparser.h   Proto *f;  /* current function header */
f                 143 lib/lua/lstate.c LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
f                 147 lib/lua/lstate.c   void *l = (*f)(ud, NULL, 0, state_size(LG));
f                 157 lib/lua/lstate.c   g->frealloc = f;
f                 110 lib/lua/lua.h  LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
f                 244 lib/lua/lua.h  LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
f                 258 lib/lua/lua.h  #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
f                 260 lib/lua/lua.h  #define lua_pushcfunction(L,f)	lua_pushcclosure(L, (f), 0)
f                 126 lib/lua/luac.c   Proto* f=luaF_newproto(L);
f                 127 lib/lua/luac.c   setptvalue2s(L,L->top,f); incr_top(L);
f                 128 lib/lua/luac.c   f->source=luaS_newliteral(L,"=(" PROGNAME ")");
f                 129 lib/lua/luac.c   f->maxstacksize=1;
f                 131 lib/lua/luac.c   f->code=luaM_newvector(L,pc,Instruction);
f                 132 lib/lua/luac.c   f->sizecode=pc;
f                 133 lib/lua/luac.c   f->p=luaM_newvector(L,n,Proto*);
f                 134 lib/lua/luac.c   f->sizep=n;
f                 138 lib/lua/luac.c    f->p[i]=toproto(L,i-n-1);
f                 139 lib/lua/luac.c    f->code[pc++]=CREATE_ABx(OP_CLOSURE,0,i);
f                 140 lib/lua/luac.c    f->code[pc++]=CREATE_ABC(OP_CALL,0,1,1);
f                 142 lib/lua/luac.c   f->code[pc++]=CREATE_ABC(OP_RETURN,0,1,0);
f                 143 lib/lua/luac.c   return f;
f                 163 lib/lua/luac.c  const Proto* f;
f                 171 lib/lua/luac.c  f=combine(L,argc);
f                 172 lib/lua/luac.c  if (listing) luaU_print(f,listing>1);
f                 178 lib/lua/luac.c   luaU_dump(L,f,writer,D,stripping);
f                  90 lib/lua/lundump.c static void LoadCode(LoadState* S, Proto* f)
f                  93 lib/lua/lundump.c  f->code=luaM_newvector(S->L,n,Instruction);
f                  94 lib/lua/lundump.c  f->sizecode=n;
f                  95 lib/lua/lundump.c  LoadVector(S,f->code,n,sizeof(Instruction));
f                 100 lib/lua/lundump.c static void LoadConstants(LoadState* S, Proto* f)
f                 104 lib/lua/lundump.c  f->k=luaM_newvector(S->L,n,TValue);
f                 105 lib/lua/lundump.c  f->sizek=n;
f                 106 lib/lua/lundump.c  for (i=0; i<n; i++) setnilvalue(&f->k[i]);
f                 109 lib/lua/lundump.c   TValue* o=&f->k[i];
f                 131 lib/lua/lundump.c  f->p=luaM_newvector(S->L,n,Proto*);
f                 132 lib/lua/lundump.c  f->sizep=n;
f                 133 lib/lua/lundump.c  for (i=0; i<n; i++) f->p[i]=NULL;
f                 134 lib/lua/lundump.c  for (i=0; i<n; i++) f->p[i]=LoadFunction(S,f->source);
f                 137 lib/lua/lundump.c static void LoadDebug(LoadState* S, Proto* f)
f                 141 lib/lua/lundump.c  f->lineinfo=luaM_newvector(S->L,n,int);
f                 142 lib/lua/lundump.c  f->sizelineinfo=n;
f                 143 lib/lua/lundump.c  LoadVector(S,f->lineinfo,n,sizeof(int));
f                 145 lib/lua/lundump.c  f->locvars=luaM_newvector(S->L,n,LocVar);
f                 146 lib/lua/lundump.c  f->sizelocvars=n;
f                 147 lib/lua/lundump.c  for (i=0; i<n; i++) f->locvars[i].varname=NULL;
f                 150 lib/lua/lundump.c   f->locvars[i].varname=LoadString(S);
f                 151 lib/lua/lundump.c   f->locvars[i].startpc=LoadInt(S);
f                 152 lib/lua/lundump.c   f->locvars[i].endpc=LoadInt(S);
f                 155 lib/lua/lundump.c  f->upvalues=luaM_newvector(S->L,n,TString*);
f                 156 lib/lua/lundump.c  f->sizeupvalues=n;
f                 157 lib/lua/lundump.c  for (i=0; i<n; i++) f->upvalues[i]=NULL;
f                 158 lib/lua/lundump.c  for (i=0; i<n; i++) f->upvalues[i]=LoadString(S);
f                 163 lib/lua/lundump.c  Proto* f;
f                 165 lib/lua/lundump.c  f=luaF_newproto(S->L);
f                 166 lib/lua/lundump.c  setptvalue2s(S->L,S->L->top,f); incr_top(S->L);
f                 167 lib/lua/lundump.c  f->source=LoadString(S); if (f->source==NULL) f->source=p;
f                 168 lib/lua/lundump.c  f->linedefined=LoadInt(S);
f                 169 lib/lua/lundump.c  f->lastlinedefined=LoadInt(S);
f                 170 lib/lua/lundump.c  f->nups=LoadByte(S);
f                 171 lib/lua/lundump.c  f->numparams=LoadByte(S);
f                 172 lib/lua/lundump.c  f->is_vararg=LoadByte(S);
f                 173 lib/lua/lundump.c  f->maxstacksize=LoadByte(S);
f                 174 lib/lua/lundump.c  LoadCode(S,f);
f                 175 lib/lua/lundump.c  LoadConstants(S,f);
f                 176 lib/lua/lundump.c  LoadDebug(S,f);
f                 177 lib/lua/lundump.c  IF (!luaG_checkcode(f), "bad code");
f                 180 lib/lua/lundump.c  return f;
f                  20 lib/lua/lundump.h LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
f                  24 lib/lua/lundump.h LUAI_FUNC void luaU_print (const Proto* f, int full);
f                  96 lib/lua/lvm.c  static void callTMres (lua_State *L, StkId res, const TValue *f,
f                  99 lib/lua/lvm.c    setobj2s(L, L->top, f);  /* push function */
f                 112 lib/lua/lvm.c  static void callTM (lua_State *L, const TValue *f, const TValue *p1,
f                 114 lib/lua/lvm.c    setobj2s(L, L->top, f);  /* push function */
f                  51 lib/lua/print.c static void PrintConstant(const Proto* f, int i)
f                  53 lib/lua/print.c  const TValue* o=&f->k[i];
f                  74 lib/lua/print.c static void PrintCode(const Proto* f)
f                  76 lib/lua/print.c  const Instruction* code=f->code;
f                  77 lib/lua/print.c  int pc,n=f->sizecode;
f                  87 lib/lua/print.c   int line=getline(f,pc);
f                 108 lib/lua/print.c     printf("\t; "); PrintConstant(f,bx);
f                 112 lib/lua/print.c     printf("\t; %s", (f->sizeupvalues>0) ? getstr(f->upvalues[b]) : "-");
f                 116 lib/lua/print.c     printf("\t; %s",svalue(&f->k[bx]));
f                 120 lib/lua/print.c     if (ISK(c)) { printf("\t; "); PrintConstant(f,INDEXK(c)); }
f                 134 lib/lua/print.c      if (ISK(b)) PrintConstant(f,INDEXK(b)); else printf("-");
f                 136 lib/lua/print.c      if (ISK(c)) PrintConstant(f,INDEXK(c)); else printf("-");
f                 145 lib/lua/print.c     printf("\t; %p",VOID(f->p[bx]));
f                 161 lib/lua/print.c static void PrintHeader(const Proto* f)
f                 163 lib/lua/print.c  const char* s=getstr(f->source);
f                 171 lib/lua/print.c  	(f->linedefined==0)?"main":"function",s,
f                 172 lib/lua/print.c 	f->linedefined,f->lastlinedefined,
f                 173 lib/lua/print.c 	S(f->sizecode),f->sizecode*Sizeof(Instruction),VOID(f));
f                 175 lib/lua/print.c 	f->numparams,f->is_vararg?"+":"",SS(f->numparams),
f                 176 lib/lua/print.c 	S(f->maxstacksize),S(f->nups));
f                 178 lib/lua/print.c 	S(f->sizelocvars),S(f->sizek),S(f->sizep));
f                 181 lib/lua/print.c static void PrintConstants(const Proto* f)
f                 183 lib/lua/print.c  int i,n=f->sizek;
f                 184 lib/lua/print.c  printf("constants (%d) for %p:\n",n,VOID(f));
f                 188 lib/lua/print.c   PrintConstant(f,i);
f                 193 lib/lua/print.c static void PrintLocals(const Proto* f)
f                 195 lib/lua/print.c  int i,n=f->sizelocvars;
f                 196 lib/lua/print.c  printf("locals (%d) for %p:\n",n,VOID(f));
f                 200 lib/lua/print.c   i,getstr(f->locvars[i].varname),f->locvars[i].startpc+1,f->locvars[i].endpc+1);
f                 204 lib/lua/print.c static void PrintUpvalues(const Proto* f)
f                 206 lib/lua/print.c  int i,n=f->sizeupvalues;
f                 207 lib/lua/print.c  printf("upvalues (%d) for %p:\n",n,VOID(f));
f                 208 lib/lua/print.c  if (f->upvalues==NULL) return;
f                 211 lib/lua/print.c   printf("\t%d\t%s\n",i,getstr(f->upvalues[i]));
f                 215 lib/lua/print.c void PrintFunction(const Proto* f, int full)
f                 217 lib/lua/print.c  int i,n=f->sizep;
f                 218 lib/lua/print.c  PrintHeader(f);
f                 219 lib/lua/print.c  PrintCode(f);
f                 222 lib/lua/print.c   PrintConstants(f);
f                 223 lib/lua/print.c   PrintLocals(f);
f                 224 lib/lua/print.c   PrintUpvalues(f);
f                 226 lib/lua/print.c  for (i=0; i<n; i++) PrintFunction(f->p[i],full);
f                  36 lib/math/ef_log.c 	float hfsq,f,s,z,R,w,t1,t2,dk;
f                  55 lib/math/ef_log.c 	f = x-(float)1.0;
f                  57 lib/math/ef_log.c            if(f==zero) { if(k==0) return zero;  else {dk=(float)k;
f                  59 lib/math/ef_log.c 	    R = f*f*((float)0.5-(float)0.33333333333333333*f);
f                  60 lib/math/ef_log.c 	    if(k==0) return f-R; else {dk=(float)k;
f                  61 lib/math/ef_log.c 	    	     return dk*ln2_hi-((R-dk*ln2_lo)-f);}
f                  63 lib/math/ef_log.c  	s = f/((float)2.0+f); 
f                  74 lib/math/ef_log.c 	    hfsq=(float)0.5*f*f;
f                  75 lib/math/ef_log.c 	    if(k==0) return f-(hfsq-s*(hfsq+R)); else
f                  76 lib/math/ef_log.c 		     return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f);
f                  78 lib/math/ef_log.c 	    if(k==0) return f-s*(f-R); else
f                  79 lib/math/ef_log.c 		     return dk*ln2_hi-((s*(f-R)-dk*ln2_lo)-f);
f                  64 lib/ubasic/run-ubasic.c         FILE * f = fopen(argv[1], "rb");
f                  65 lib/ubasic/run-ubasic.c         if (!f) {
f                  70 lib/ubasic/run-ubasic.c         fseek(f,0, SEEK_END);
f                  71 lib/ubasic/run-ubasic.c         int sz = ftell(f);
f                  72 lib/ubasic/run-ubasic.c         fseek(f,0, SEEK_SET);
f                  74 lib/ubasic/run-ubasic.c         int szr = fread(program,1,sz, f);
f                  75 lib/ubasic/run-ubasic.c         fclose(f);
f                  30 modules/cordic_math.c LUALIB_API void cordic(tangle t, fcordic f, fixed *x, fixed *y, fixed *z) {
f                  41 modules/cordic_math.c         int f1 = (f) ? *y >= 0 : *z < 0;
f                 142 modules/cordic_math.c     int f = 0;
f                 146 modules/cordic_math.c         f = 1;
f                 159 modules/cordic_math.c         *hyp = (f)? 0 : x;
f                  63 modules/cordic_math.h LUALIB_API void cordic(tangle t, fcordic f, fixed *x, fixed *y, fixed *z);
f                 361 modules/dng.c  static void process_ifd_list(void (*f)(ifd_entry*))
f                 368 modules/dng.c              f(&ifd_list[i]);
f                 374 modules/dng.c  static void process_entries(ifd_entry* ifd, void (*f)(ifd_entry*, dir_entry*))
f                 381 modules/dng.c              f(ifd, &ifd->entry[i]);
f                 953 modules/dng.c      FILE*f;
f                 956 modules/dng.c          f=fopen(PATH_BAD_TMP_BIN,"w+b");
f                 960 modules/dng.c          f=NULL;
f                 977 modules/dng.c                  if (f)
f                 983 modules/dng.c                          fwrite(c, 2, xlen+1, f);
f                 991 modules/dng.c          if (f && (xlen > 0))
f                 994 modules/dng.c              fwrite(c, 2, xlen+1, f);
f                 997 modules/dng.c      if (f) fclose(f);
f                 677 modules/games/gui_tetris.c             FILE * f;
f                 682 modules/games/gui_tetris.c             f = fopen("A/CHDK/GAMES/TETRIS.SCO", "wb");
f                 683 modules/games/gui_tetris.c             fwrite(&buf, 1, sizeof(buf), f);
f                 684 modules/games/gui_tetris.c             fclose(f);
f                 769 modules/games/gui_tetris.c     FILE *f;
f                 771 modules/games/gui_tetris.c     f = fopen("A/CHDK/GAMES/TETRIS.SCO", "rb");
f                 772 modules/games/gui_tetris.c     if (!f)
f                 778 modules/games/gui_tetris.c         fread(&buf, 1, sizeof(buf), f);
f                 782 modules/games/gui_tetris.c     fclose(f);
f                 846 modules/gui_fselect.c                     unsigned long f = ((n & 0x3FF) * 10) >> 10;    // 1 digit of remainder % 1024
f                 847 modules/gui_fselect.c                     sprintf(dbuf+j, "%3d.%1d%c", n >> 10, f, suffixes[sfx]);
f                 302 modules/md5.c  #define MD5STEP(f, w, x, y, z, data, s) \
f                 303 modules/md5.c  	( w += f(x, y, z) + data,  w = w<<s | w>>(32-s),  w += x )
f                 238 modules/zebra.c static int draw_zebra_aspect_adjust(int mrec, unsigned int f, color *cls)
f                 258 modules/zebra.c     if (f) {
f                 284 modules/zebra.c                     if (!((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f)) {
f                 292 modules/zebra.c                 else if (((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f))
f                 303 modules/zebra.c         if (!zebra_drawn) f=0;
f                 306 modules/zebra.c     if (!f) {
f                 347 modules/zebra.c static int draw_zebra_no_aspect_adjust(int mrec, unsigned int f, color *cls) {
f                 369 modules/zebra.c     if (f) {
f                 386 modules/zebra.c                     if (!((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f)) {
f                 393 modules/zebra.c                 else if (((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f)) buf[s]=COLOR_TRANSPARENT;
f                 408 modules/zebra.c         if (!zebra_drawn) f=0;
f                 411 modules/zebra.c     if (!f) {
f                 446 modules/zebra.c     unsigned int f;
f                 497 modules/zebra.c         case ZEBRA_MODE_ZEBRA_1:    f = 4;          break;
f                 498 modules/zebra.c         case ZEBRA_MODE_ZEBRA_2:    f = 8;          break;
f                 499 modules/zebra.c         case ZEBRA_MODE_SOLID:      f = 1;          break;
f                 500 modules/zebra.c         case ZEBRA_MODE_BLINKED_1:  f = timer&1;    break;
f                 501 modules/zebra.c         case ZEBRA_MODE_BLINKED_3:  f = timer&4;    break;
f                 503 modules/zebra.c         default:                    f = timer&2;    break;
f                 507 modules/zebra.c         return draw_zebra_aspect_adjust(camera_info.state.mode_rec,f,cls);    // For newer cameras with 720/960 pixel wide screen
f                 509 modules/zebra.c         return draw_zebra_no_aspect_adjust(camera_info.state.mode_rec,f,cls); // For older cameras with 360/480 pixel wide screen
f                 557 modules/zebra.c         int f;
f                 558 modules/zebra.c         for (f=0; f<8; f++)
f                 560 modules/zebra.c             clr[f].yuv = color_to_rawpx(cls[f], &(clr[f].op));
f                 624 modules/zebra.c static int draw_zebra_no_aspect_adjust(int mrec, unsigned int f)
f                 651 modules/zebra.c     if (f)
f                 686 modules/zebra.c                     if (!((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f))
f                 703 modules/zebra.c                 else if (((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f))
f                 721 modules/zebra.c         if (!zebra_drawn) f=0;
f                 724 modules/zebra.c     if (!f)
f                 760 modules/zebra.c     unsigned int f;
f                 790 modules/zebra.c         case ZEBRA_MODE_ZEBRA_1:    f = 4;          break;
f                 791 modules/zebra.c         case ZEBRA_MODE_ZEBRA_2:    f = 8;          break;
f                 792 modules/zebra.c         case ZEBRA_MODE_SOLID:      f = 1;          break;
f                 793 modules/zebra.c         case ZEBRA_MODE_BLINKED_1:  f = timer&1;    break;
f                 794 modules/zebra.c         case ZEBRA_MODE_BLINKED_3:  f = timer&4;    break;
f                 796 modules/zebra.c         default:                    f = timer&2;    break;
f                 799 modules/zebra.c     return draw_zebra_no_aspect_adjust(camera_info.state.mode_rec,f);
f                 772 platform/generic/wrappers.c long fclose(FILE *f) {
f                 773 platform/generic/wrappers.c     return _Fclose_Fut((long)f);
f                 776 platform/generic/wrappers.c long fread(void *buf, long elsize, long count, FILE *f) {
f                 777 platform/generic/wrappers.c     return _Fread_Fut(buf,elsize,count,(long)f);
f                 780 platform/generic/wrappers.c long fwrite(const void *buf, long elsize, long count, FILE *f) {
f                 781 platform/generic/wrappers.c     return _Fwrite_Fut(buf,elsize,count,(long)f);
f                 796 platform/generic/wrappers.c char *fgets(char *buf, int n, FILE *f) {
f                 797 platform/generic/wrappers.c     return _Fgets_Fut(buf,n,(int)f);
f                1488 platform/generic/wrappers.c   char *f;
f                1489 platform/generic/wrappers.c   f=strstr(s, DNG_EXT_FROM);
f                1490 platform/generic/wrappers.c   if (f) _memcpy(f, DNG_EXT_TO, sizeof(DNG_EXT_TO)-1);
f                 155 tools/finsig_dryos.c void addMatch(uint32_t fadr, int s, int f, int sig)
f                 159 tools/finsig_dryos.c     matches[count].fail = f;
f                 165 tools/finsig_dryos.c void fwAddMatch(firmware *fw, uint32_t fadr, int s, int f, int sig)
f                 169 tools/finsig_dryos.c         addMatch(fadr - fw->base_copied + fw->base2,s,f,sig);
f                 173 tools/finsig_dryos.c         addMatch(fadr,s,f,sig);
f                4381 tools/finsig_dryos.c         int f;
f                4382 tools/finsig_dryos.c         for (f=0; f<3 && !found; f++)
f                4384 tools/finsig_dryos.c             if (isLDR(fw,k+fbd[f][0]) && isLDR(fw,k+fbd[f][1]) && isLDR(fw,k+fbd[f][2]))
f                4386 tools/finsig_dryos.c                 int reg = fw->buf[k+fbd[f][2]] & 0x000F0000;    // Index register used
f                4388 tools/finsig_dryos.c                 if (((fw->buf[k+fbd[f][0]] & 0x0000F000) << 4) == reg)      { ka = k+fbd[f][0]; }
f                4389 tools/finsig_dryos.c                 else if (((fw->buf[k+fbd[f][1]] & 0x0000F000) << 4) == reg) { ka = k+fbd[f][1]; }
f                5214 tools/finsig_dryos.c         int f = find_inst_rev(fw, isSTMFD_LR, k-1, 100);
f                5215 tools/finsig_dryos.c         if (f != -1)
f                5217 tools/finsig_dryos.c             f = search_fw(fw, find_BL, f, 0, 1);
f                5218 tools/finsig_dryos.c             if (f > 0)
f                5220 tools/finsig_dryos.c                 f--;
f                5221 tools/finsig_dryos.c                 if ((fwval(fw,f) & 0xFFF00000) == 0xE2400000)     // SUB
f                5223 tools/finsig_dryos.c                     int src = fwRn(fw,f);
f                5224 tools/finsig_dryos.c                     for (k1 = f-1; (k1 > f-10) && !found; k1--)
f                5228 tools/finsig_dryos.c                             uint32_t v = LDR2val(fw,k1) - ALUop2(fw,f);
f                5454 tools/finsig_dryos.c                     int f = find_inst_rev(fw, isSTMFD_LR, k-1, 100);
f                5455 tools/finsig_dryos.c                     if (f != -1)
f                5457 tools/finsig_dryos.c                         int e = find_inst(fw, isLDMFD_PC, f+1, 200);
f                5458 tools/finsig_dryos.c                         for (k1 = f+1; k1 < e; k1++)
f                5492 tools/finsig_dryos.c                                 for (k2 = f+1; (k2 < e) && !found; k2++)
f                7503 tools/finsig_dryos.c     FILE *f=fopen("levent_table.txt","w");
f                7504 tools/finsig_dryos.c     if(!f) {
f                7507 tools/finsig_dryos.c     fprintf(f,"address    ID     (unknown)  name\n");
f                7517 tools/finsig_dryos.c             fprintf(f,"0x%08x 0x%04x 0x%08x %s\n",tadr,lid,*(uint32_t*)adr2ptr(fw, tadr+8),str);
f                7520 tools/finsig_dryos.c     fclose(f);
f                1403 tools/finsig_thumb2.c     uint32_t f=get_branch_call_insn_target(fw,is);
f                1406 tools/finsig_thumb2.c     if(f != sleeptask) {
f                1407 tools/finsig_thumb2.c         fw_disasm_iter_single(fw,f);
f                1414 tools/finsig_thumb2.c         save_sig_with_j(fw,"SleepTask",f);
f                5043 tools/finsig_thumb2.c     FILE *f=fopen("physw_bits.txt","w");
f                5044 tools/finsig_thumb2.c     if(!f) {
f                5047 tools/finsig_thumb2.c     fprintf(f,"physw_event_table dump (%d entries printed, may not all be valid)\n",tcount);
f                5048 tools/finsig_thumb2.c     fprintf(f,"address    info       event      index bit        non-inverted\n");
f                5054 tools/finsig_thumb2.c         fprintf(f,"0x%08x 0x%08x 0x%08x %-5d 0x%08x %d\n",tadr,v.raw_info,v.ev,v.reg,v.bit,v.no_invert);
f                5056 tools/finsig_thumb2.c     fclose(f);
f                 156 tools/finsig_vxworks.c void addMatch(uint32_t fadr, int s, int f, int sig)
f                 160 tools/finsig_vxworks.c     matches[count].fail = f;
f                 166 tools/finsig_vxworks.c void fwAddMatch(firmware *fw, uint32_t fadr, int s, int f, int sig)
f                 170 tools/finsig_vxworks.c         addMatch(fadr - fw->base_copied + fw->base2,s,f,sig);
f                 174 tools/finsig_vxworks.c         addMatch(fadr,s,f,sig);
f                5890 tools/finsig_vxworks.c     FILE *f=fopen("levent_table.txt","w");
f                5891 tools/finsig_vxworks.c     if(!f) {
f                5894 tools/finsig_vxworks.c     fprintf(f,"address    ID     (unknown)  name\n");
f                5904 tools/finsig_vxworks.c             fprintf(f,"0x%08x 0x%04x 0x%08x %s\n",tadr,lid,*(uint32_t*)adr2ptr(fw, tadr+8),str);
f                5907 tools/finsig_vxworks.c     fclose(f);
f                 908 tools/firmware_load.c     FILE *f = fopen(filename, "rb");
f                 911 tools/firmware_load.c     if (f == NULL)
f                 925 tools/firmware_load.c     fseek(f,0,SEEK_END);
f                 926 tools/firmware_load.c     fw->size = (ftell(f)+3)/4;
f                 927 tools/firmware_load.c     fseek(f,0,SEEK_SET);
f                 939 tools/firmware_load.c     k = fread(fw->buf, 4, fw->size, f);
f                 940 tools/firmware_load.c     fclose(f);
f                 927 tools/firmware_load_ng.c uint32_t fw_search_insn(firmware *fw, iter_state_t *is, search_insn_fn f, uint32_t v1, void *udata, uint32_t adr_end)
f                 963 tools/firmware_load_ng.c                 uint32_t r=f(fw,is,v1,udata);
f                1001 tools/firmware_load_ng.c                 uint32_t r=f(fw,is,v1,udata);
f                1662 tools/firmware_load_ng.c     FILE *f = fopen(filename, "rb");
f                1663 tools/firmware_load_ng.c     if (f == NULL)
f                1668 tools/firmware_load_ng.c     fseek(f,0,SEEK_END);
f                1669 tools/firmware_load_ng.c     fw->size8 = ftell(f);
f                1670 tools/firmware_load_ng.c     fseek(f,0,SEEK_SET);
f                1695 tools/firmware_load_ng.c     fread(fw->buf8, 1, fw->size8, f);
f                1696 tools/firmware_load_ng.c     fclose(f);
f                 347 tools/firmware_load_ng.h uint32_t fw_search_insn(firmware *fw, iter_state_t *is, search_insn_fn f,uint32_t v1, void *udata, uint32_t adr_end);
f                 102 tools/font_8x16_pack.c     unsigned short f;
f                 106 tools/font_8x16_pack.c         f = font_find_offset(src[i]);
f                 107 tools/font_8x16_pack.c         if (f == 0xFFFF)
f                 108 tools/font_8x16_pack.c             f = font_find_offset(DEFAULT_SYMBOL);
f                 109 tools/font_8x16_pack.c         src[st+i] = f;
f                 135 tools/font_8x16_pack.c     int i, j, f = 0, cc = 0, r;
f                 174 tools/font_8x16_pack.c             font_offsets[cc] = f;
f                 185 tools/font_8x16_pack.c                 font_data[f++] = (top << 4) | bottom;
f                 188 tools/font_8x16_pack.c                 r = f;
f                 193 tools/font_8x16_pack.c                         font_data[f++] = orig_font_data[i].data[j] & 0xFF;
f                 200 tools/font_8x16_pack.c                         font_data[f] = fdata_usage[uc]; // byte's index in lookup table
f                 201 tools/font_8x16_pack.c                         if ( (j > top) && (font_data[f] == font_data[f-1]) )
f                 204 tools/font_8x16_pack.c                             font_data[f-1] = font_data[f-1] | 0x80;
f                 208 tools/font_8x16_pack.c                             f++;
f                 214 tools/font_8x16_pack.c                     for (j=r; j<f; j++)
f                 227 tools/font_8x16_pack.c     printf("// font_data length: %d bytes\n", f);
f                  13 tools/gen_conf_lua.c static int read_line(FILE *f, char *buf)
f                  19 tools/gen_conf_lua.c         if (fread(buf,1,1,f) != 1) { eof = 1; break; }
f                  67 tools/gen_conf_lua.c     FILE *f = fopen(argv[1], "rb");
f                  69 tools/gen_conf_lua.c     if (f == NULL) usage("failed to open conf.c file");
f                  84 tools/gen_conf_lua.c     while (read_line(f,line))
f                 121 tools/gen_conf_lua.c     fclose(f);
f                 280 tools/gensig_dryos.c void dump_sig(uint32_t pos, int size, FILE *f)
f                 294 tools/gensig_dryos.c     fseek(f, pos, SEEK_SET);
f                 295 tools/gensig_dryos.c     i = fread(buf, 4, size, f);
f                 328 tools/gensig_dryos.c     FILE *f;
f                 340 tools/gensig_dryos.c     f = fopen(argv[1], "r+b");
f                 342 tools/gensig_dryos.c     if (f == NULL)
f                 356 tools/gensig_dryos.c     dump_sig(pos,size,f);
f                 361 tools/gensig_dryos.c         dump_sig(lnk_pos,lnk_size,f);
f                 366 tools/gensig_dryos.c     fclose(f);
f                 276 tools/gensig_vxworks.c     FILE *f;
f                 288 tools/gensig_vxworks.c     f = fopen(argv[1], "r+b");
f                 290 tools/gensig_vxworks.c     if (f == NULL)
f                 299 tools/gensig_vxworks.c     fseek(f, pos, SEEK_SET);
f                 300 tools/gensig_vxworks.c     i = fread(buf, 4, size, f);
f                 330 tools/gensig_vxworks.c     fclose(f);
f                 231 tools/makeexport.c     int f, size;
f                 235 tools/makeexport.c     f = open(filename, O_RDONLY, 0777);
f                 236 tools/makeexport.c     if (f>=0) {
f                 241 tools/makeexport.c                 size = read(f, buf, size);
f                 245 tools/makeexport.c         close(f);
f                 186 tools/makelang.c     int f, size;
f                 190 tools/makelang.c     f = open(filename, O_RDONLY, 0777);
f                 191 tools/makelang.c     if (f>=0) {
f                 196 tools/makelang.c                 size = read(f, buf, size);
f                 200 tools/makelang.c         close(f);
f                 504 tools/packfi2/trees.c     ush f;              /* frequency */
f                 526 tools/packfi2/trees.c         f = tree[n].Freq;
f                 527 tools/packfi2/trees.c         s->opt_len += (ulg)f * (bits + xbits);
f                 528 tools/packfi2/trees.c         if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
f                 156 tools/pakwif.c int crypt_fwrite(void *buf, int len, FILE *f)
f                 161 tools/pakwif.c     start = ftell(f);
f                 182 tools/pakwif.c 	r = fwrite(cbuf,1,towr,f);
f                 192 tools/pakwif.c int crypt_fread(void *buf, int len, FILE *f)
f                 197 tools/pakwif.c     start = ftell(f);
f                 207 tools/pakwif.c     r = fread(cbuf,1,towr,f);
f                 226 tools/pakwif.c 	r = fread(cbuf,1,towr,f);
f                 237 tools/pakwif.c 	FILE *f;
f                 244 tools/pakwif.c 	FILE *f;
f                 248 tools/pakwif.c 	f = fopen(filename, "w+b");
f                 249 tools/pakwif.c 	if(f == NULL){
f                 254 tools/pakwif.c 	p->f = f;
f                 273 tools/pakwif.c 	crypt_fwrite(&h,HEADER_SIZE,f);
f                 326 tools/pakwif.c 	fseek(p->f, HEADER_SIZE, SEEK_CUR);
f                 333 tools/pakwif.c 		crypt_fwrite(buff, bcnt, p->f);
f                 338 tools/pakwif.c 	fseek(p->f, -filelen-HEADER_SIZE, SEEK_CUR);
f                 346 tools/pakwif.c 	crypt_fwrite(&h,HEADER_SIZE,p->f);
f                 347 tools/pakwif.c 	fseek(p->f, filelen, SEEK_CUR);
f                 366 tools/pakwif.c 	crypt_fwrite(&h,HEADER_SIZE,p->f);
f                 367 tools/pakwif.c 	crypt_fwrite(&id,4,p->f);
f                 379 tools/pakwif.c 	len = ftell(p->f);
f                 381 tools/pakwif.c 	fseek(p->f, HEADER_SIZE, SEEK_SET);
f                 383 tools/pakwif.c 	bcnt = crypt_fread(buff, BLKSIZE, p->f);
f                 386 tools/pakwif.c 		bcnt = crypt_fread(buff, BLKSIZE, p->f);
f                 389 tools/pakwif.c 	fseek(p->f, 32*3, SEEK_SET);
f                 390 tools/pakwif.c 	crypt_fwrite(&len, 4, p->f);
f                 391 tools/pakwif.c 	crypt_fwrite(&cs, 4, p->f);
f                 393 tools/pakwif.c 	fclose(p->f);
f                  35 tools/stubs_load.c static int read_line(FILE *f, char *buf)
f                  41 tools/stubs_load.c         if (fread(buf,1,1,f) != 1) { eof = 1; break; }
f                 148 tools/stubs_load.c     osig *f = p;
f                 155 tools/stubs_load.c     return f;
f                 164 tools/stubs_load.c     FILE *f = fopen(name, "rb");
f                 166 tools/stubs_load.c     if (f == NULL) return;
f                 173 tools/stubs_load.c     while (read_line(f,line))
f                 181 tools/stubs_load.c     fclose(f);
f                 189 tools/stubs_load.c     FILE *f = fopen(name, "rb");
f                 191 tools/stubs_load.c     if (f == NULL) return;
f                 198 tools/stubs_load.c     while (read_line(f,line))
f                 224 tools/stubs_load.c     fclose(f);
f                 242 tools/stubs_load.c     FILE *f = fopen("../../shooting.c", "rb");
f                 244 tools/stubs_load.c     if (f == NULL) return;
f                 252 tools/stubs_load.c     while (read_line(f,line))
f                 281 tools/stubs_load.c     FILE *f = fopen("../../platform_camera.h", "rb");
f                 283 tools/stubs_load.c     if (f == NULL) return;
f                 291 tools/stubs_load.c     while (read_line(f,line))
f                 325 tools/stubs_load.c     fclose(f);
f                 331 tools/stubs_load.c     FILE *f = fopen(fn, "rb");
f                 333 tools/stubs_load.c     if (f == NULL) return;
f                 338 tools/stubs_load.c     while (read_line(f,line))
f                 367 tools/stubs_load.c     fclose(f);
f                 373 tools/stubs_load.c     FILE *f = fopen(fn, "rb");
f                 375 tools/stubs_load.c     if (f == NULL) return;
f                 382 tools/stubs_load.c     while (read_line(f,line))
f                 397 tools/stubs_load.c     fclose(f);