res 193 core/shooting.c int res = shooting_get_prop(PROPCASE_RESOLUTION); res 194 core/shooting.c if( res != 5) { // raw requested, if resolution not already set, set to 5 and previous res 195 core/shooting.c saved_resolution = res; res 68 include/lolevel.h extern long _CheckAnyEventFlag(void *flag, long mask, long *res); res 69 include/lolevel.h extern long _GetEventFlagValue(void *flag, long *res); res 96 lib/lua/lapi.c int res = 1; res 99 lib/lua/lapi.c res = 0; /* stack overflow */ res 106 lib/lua/lapi.c return res; res 327 lib/lua/lapi.c lua_Integer res; res 329 lib/lua/lapi.c lua_number2integer(res, num); res 330 lib/lua/lapi.c return res; res 590 lib/lua/lapi.c int res; res 605 lib/lua/lapi.c res = 0; res 609 lib/lua/lapi.c res = 1; res 612 lib/lua/lapi.c return res; res 736 lib/lua/lapi.c int res = 1; res 753 lib/lua/lapi.c res = 0; res 756 lib/lua/lapi.c if (res) luaC_objbarrier(L, gcvalue(o), hvalue(L->top - 1)); res 759 lib/lua/lapi.c return res; res 900 lib/lua/lapi.c int res = 0; res 919 lib/lua/lapi.c res = cast_int(g->totalbytes >> 10); res 923 lib/lua/lapi.c res = cast_int(g->totalbytes & 0x3ff); res 935 lib/lua/lapi.c res = 1; /* signal it */ res 942 lib/lua/lapi.c res = g->gcpause; res 947 lib/lua/lapi.c res = g->gcstepmul; res 951 lib/lua/lapi.c default: res = -1; /* invalid option */ res 954 lib/lua/lapi.c return res; res 675 lib/lua/lauxlib.c void* res = malloc( nsize ); res 676 lib/lua/lauxlib.c if( !res ) res 678 lib/lua/lauxlib.c memcpy( res, ptr, osize ); res 680 lib/lua/lauxlib.c return res; res 233 lib/lua/lbaselib.c int res = lua_gc(L, optsnum[o], ex); res 237 lib/lua/lbaselib.c lua_pushnumber(L, res + ((lua_Number)b/1024)); res 241 lib/lua/lbaselib.c lua_pushboolean(L, res); res 245 lib/lua/lbaselib.c lua_pushnumber(L, res); res 344 lib/lua/ldo.c StkId res; res 350 lib/lua/ldo.c res = ci->func; /* res == final position of 1st result */ res 356 lib/lua/ldo.c setobjs2s(L, res++, firstResult++); res 358 lib/lua/ldo.c setnilvalue(res++); res 359 lib/lua/ldo.c L->top = res; res 535 lib/lua/liolib.c int res = setvbuf(f, NULL, mode[op], sz); res 536 lib/lua/liolib.c return pushresult(L, res == 0, NULL); res 112 lib/lua/loslib.c int res; res 114 lib/lua/loslib.c res = lua_isnil(L, -1) ? -1 : lua_toboolean(L, -1); res 116 lib/lua/loslib.c return res; res 121 lib/lua/loslib.c int res; res 124 lib/lua/loslib.c res = (int)lua_tointeger(L, -1); res 128 lib/lua/loslib.c res = d; res 131 lib/lua/loslib.c return res; res 227 lib/lua/lstrlib.c int res; res 229 lib/lua/lstrlib.c case 'a' : res = isalpha(c); break; res 230 lib/lua/lstrlib.c case 'c' : res = iscntrl(c); break; res 231 lib/lua/lstrlib.c case 'd' : res = isdigit(c); break; res 232 lib/lua/lstrlib.c case 'l' : res = islower(c); break; res 233 lib/lua/lstrlib.c case 'p' : res = ispunct(c); break; res 234 lib/lua/lstrlib.c case 's' : res = isspace(c); break; res 235 lib/lua/lstrlib.c case 'u' : res = isupper(c); break; res 236 lib/lua/lstrlib.c case 'w' : res = isalnum(c); break; res 237 lib/lua/lstrlib.c case 'x' : res = isxdigit(c); break; res 238 lib/lua/lstrlib.c case 'z' : res = (c == 0); break; res 241 lib/lua/lstrlib.c return (islower(cl) ? res : !res); res 308 lib/lua/lstrlib.c const char *res = match(ms, (s+i), ep+1); res 309 lib/lua/lstrlib.c if (res) return res; res 319 lib/lua/lstrlib.c const char *res = match(ms, s, ep+1); res 320 lib/lua/lstrlib.c if (res != NULL) res 321 lib/lua/lstrlib.c return res; res 331 lib/lua/lstrlib.c const char *res; res 337 lib/lua/lstrlib.c if ((res=match(ms, s, p)) == NULL) /* match failed? */ res 339 lib/lua/lstrlib.c return res; res 346 lib/lua/lstrlib.c const char *res; res 348 lib/lua/lstrlib.c if ((res = match(ms, s, p)) == NULL) /* match failed? */ res 350 lib/lua/lstrlib.c return res; res 419 lib/lua/lstrlib.c const char *res; res 420 lib/lua/lstrlib.c if (m && ((res=match(ms, s+1, ep+1)) != NULL)) res 421 lib/lua/lstrlib.c return res; res 520 lib/lua/lstrlib.c const char *res; res 522 lib/lua/lstrlib.c if ((res=match(&ms, s1, p)) != NULL) { res 525 lib/lua/lstrlib.c lua_pushinteger(L, res-s); /* end */ res 529 lib/lua/lstrlib.c return push_captures(&ms, s1, res); res 180 lib/lua/ltablib.c int res; res 185 lib/lua/ltablib.c res = lua_toboolean(L, -1); res 187 lib/lua/ltablib.c return res; res 96 lib/lua/lvm.c static void callTMres (lua_State *L, StkId res, const TValue *f, res 98 lib/lua/lvm.c ptrdiff_t result = savestack(L, res); res 105 lib/lua/lvm.c res = restorestack(L, result); res 107 lib/lua/lvm.c setobjs2s(L, res, L->top); res 130 lib/lua/lvm.c const TValue *res = luaH_get(h, key); /* do a primitive get */ res 131 lib/lua/lvm.c if (!ttisnil(res) || /* result is no nil? */ res 133 lib/lua/lvm.c setobj2s(L, val, res); res 182 lib/lua/lvm.c StkId res, TMS event) { res 187 lib/lua/lvm.c callTMres(L, res, tm, p1, p2); res 242 lib/lua/lvm.c int res; res 249 lib/lua/lvm.c else if ((res = call_orderTM(L, l, r, TM_LT)) != -1) res 250 lib/lua/lvm.c return res; res 256 lib/lua/lvm.c int res; res 263 lib/lua/lvm.c else if ((res = call_orderTM(L, l, r, TM_LE)) != -1) /* first try `le' */ res 264 lib/lua/lvm.c return res; res 265 lib/lua/lvm.c else if ((res = call_orderTM(L, r, l, TM_LT)) != -1) /* else try `lt' */ res 266 lib/lua/lvm.c return !res; res 526 lib/lua/lvm.c int res = l_isfalse(RB(i)); /* next assignment may change this value */ res 527 lib/lua/lvm.c setbvalue(ra, res); res 59 modules/cordic_math.c double res; res 62 modules/cordic_math.c res = FLOAT(cordic_abs(a)) * FLOAT(cordic_abs(b)) / FLOAT(cordic_abs(c)); res 63 modules/cordic_math.c if (res > INT_MAX) { res 65 modules/cordic_math.c res = INT_MAX; res 66 modules/cordic_math.c } else { res = sign * res; } res 69 modules/cordic_math.c res = 0; res 71 modules/cordic_math.c return FIXED(res); res 300 modules/cordic_math.c double res = cordic_abs(a); res 301 modules/cordic_math.c if (round) res = res + 0.5; res 302 modules/cordic_math.c res = res * CORDIC_SCALE / INT_SCALE; res 303 modules/cordic_math.c if (res > INT_MAX) { res 305 modules/cordic_math.c res = INT_MAX; res 307 modules/cordic_math.c return cordic_sign(a) * res; res 311 modules/cordic_math.c double res = cordic_abs(a); res 312 modules/cordic_math.c if (res > INT_MAX) { res 314 modules/cordic_math.c res = INT_MAX; res 316 modules/cordic_math.c res = res * INT_SCALE / CORDIC_SCALE; res 317 modules/cordic_math.c if (round) res = res + 0.5; res 318 modules/cordic_math.c return cordic_sign(a) * res; res 906 platform/generic/wrappers.c long res; res 909 platform/generic/wrappers.c res = _vsprintf(s, st, va); res 911 platform/generic/wrappers.c return res; res 938 platform/generic/wrappers.c int res=0; res 945 platform/generic/wrappers.c res=_SetFileTimeStamp(file, newTimes->modtime, newTimes->actime); res 949 platform/generic/wrappers.c res=_SetFileTimeStamp(fd, newTimes->modtime, newTimes->actime); res 954 platform/generic/wrappers.c return (res)?0:-1; res 1315 tools/firmware_load_ng.c int get_call_const_args(firmware *fw, iter_state_t *is_init, int max_backtrack, uint32_t *res) res 1329 tools/firmware_load_ng.c res[i]=0; res 1389 tools/firmware_load_ng.c res[rd_i] += *pv; res 1396 tools/firmware_load_ng.c res[rd_i] += v; res 1404 tools/firmware_load_ng.c res[rd_i] += fw->is->insn->detail->arm.operands[1].imm; res 1408 tools/firmware_load_ng.c res[rd_i] += fw->is->insn->detail->arm.operands[1].imm; res 1414 tools/firmware_load_ng.c res[rd_i] = (int)(res[rd_i]) - fw->is->insn->detail->arm.operands[1].imm; res 468 tools/firmware_load_ng.h int get_call_const_args(firmware *fw, iter_state_t *is_init, int max_backtrack, uint32_t *res); res 270 tools/gensig_dryos.c int i, res=0; res 273 tools/gensig_dryos.c res+=(v>>i)&1; res 275 tools/gensig_dryos.c return res; res 264 tools/gensig_vxworks.c int i, res=0; res 267 tools/gensig_vxworks.c res+=(v>>i)&1; res 269 tools/gensig_vxworks.c return res; res 91 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CheckAnyEventFlag(int flag, int mask, int *res); res 92 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int GetEventFlagValue(int flag, int *res); res 429 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CheckAllEventFlag(int flag, int mask, int *res); res 437 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int GetNumberOfPostedMessages(int msgq,int *res); res 1150 tools/packfi2/trees.c register unsigned res = 0; res 1152 tools/packfi2/trees.c res |= code & 1; res 1153 tools/packfi2/trees.c code >>= 1, res <<= 1; res 1155 tools/packfi2/trees.c return res >> 1;