result 18 core/gps_math.c double result=0.0; result 24 core/gps_math.c result = x; result 31 core/gps_math.c result += ((pow(x, i)/i) * ((sign) ? -1.0 : +1.0)); result 38 core/gps_math.c if (x<-1) {result = 3.141592653589793* -0.5; } result 39 core/gps_math.c if (x>=1) {result = 3.141592653589793*0.5; } result 46 core/gps_math.c result += ((1/(i*pow(x,i))) * ((sign) ? -1.0 : +1.0)); result 51 core/gps_math.c return result; result 55 core/gps_math.c double result; result 56 core/gps_math.c result = 2.0 * arctan((y / (sqrt(x*x+y*y)+x)),30); result 57 core/gps_math.c return result; result 136 core/gps_math.c const char* formatDouble (t_format_result result, double value, unsigned length, unsigned fractDigits) { result 154 core/gps_math.c if (!result) result = staticBuffer; result 197 core/gps_math.c sprintf (result, "%*s", length, "***"); result 198 core/gps_math.c return result; result 214 core/gps_math.c sprintf (result, "%*s", length, "***"); result 215 core/gps_math.c return result; result 224 core/gps_math.c sprintf (result, "%s%lli.%0*lli", sign, integer, fractDigits, fract); result 225 core/gps_math.c return result; result 227 core/gps_math.c sprintf (result, "%*lli.%0*lli", integerDigits, integer, fractDigits, fract); result 239 core/gps_math.c sprintf (result, "%s%li%09li.%s", sign, result 243 core/gps_math.c return result; result 245 core/gps_math.c sprintf (result, "%*li%09li.%s", integerDigits-9, result 251 core/gps_math.c sprintf (result, "%s%li.%s", sign, (long) integer, fractbuffer); result 252 core/gps_math.c return result; result 254 core/gps_math.c sprintf (result, "%*li.%s", integerDigits, (long) integer, fractbuffer); result 259 core/gps_math.c p = result; result 264 core/gps_math.c return result; result 37 core/gps_math.h extern const char* formatDouble (t_format_result result, double value, unsigned length, unsigned fracDigits); result 481 core/ptp.c int result=0; result 517 core/ptp.c result = 1; result 520 core/ptp.c result = send_ptp_data_buffered(data,memcpy,src,size); result 522 core/ptp.c if(!result) result 90 lib/lua/lobject.c LUAI_FUNC int luaO_str2d (const char *s, lua_Number *result) { result 92 lib/lua/lobject.c *result = lua_str2number(s, &endptr); result 95 lib/lua/lobject.c *result = cast_num(strtoul(s, &endptr, 16)); result 373 lib/lua/lobject.h LUAI_FUNC int luaO_str2d (const char *s, lua_Number *result); result 429 lib/lua/loslib.c int result = stat(name,&st); result 430 lib/lua/loslib.c if (result==0) { result 98 lib/lua/lvm.c ptrdiff_t result = savestack(L, res); result 105 lib/lua/lvm.c res = restorestack(L, result); result 275 modules/file_shelter.c int result; result 278 modules/file_shelter.c while ((result = tolower(*p1) - tolower(*p2++)) == 0) result 281 modules/file_shelter.c return result; result 388 modules/gui_bench.c int *result[2]; result 389 modules/gui_bench.c result[0]=&bench.memory_write_bps; result 390 modules/gui_bench.c result[1]=&bench.memory_write_uc_bps; result 409 modules/gui_bench.c *result[m] = (t==0)?0:0x10000*100 / (t/10) * 1024; result 421 modules/gui_bench.c int *result[2]; result 422 modules/gui_bench.c result[0]=&bench.memory_read_bps; result 423 modules/gui_bench.c result[1]=&bench.memory_read_uc_bps; result 442 modules/gui_bench.c *result[m] = (t==0)?0:0x10000*100 / (t/10) * 1024; result 132 modules/luascript.c int result; result 136 modules/luascript.c result = lua_pcall(L,1,1,0); // this will leave an error message as a string on the stack if call fails result 138 modules/luascript.c if( result ) { result 30 modules/raw_merge.c int result; result 32 modules/raw_merge.c result = from - sub + camera_sensor.black_level; result 33 modules/raw_merge.c if (result < camera_sensor.black_level) result = camera_sensor.black_level; result 34 modules/raw_merge.c if (result > camera_sensor.white_level) result = camera_sensor.white_level; result 35 modules/raw_merge.c return result; result 569 tools/chdk_dasm.c static sInstruction result; result 583 tools/chdk_dasm.c result.undefined = result 584 tools/chdk_dasm.c result.badbits = result 585 tools/chdk_dasm.c result.oddbits = result 586 tools/chdk_dasm.c result.instr = result 587 tools/chdk_dasm.c result.is_SWI = 0; result 588 tools/chdk_dasm.c result.target_type = target_None; result 589 tools/chdk_dasm.c result.offset = 0x80000000; result 590 tools/chdk_dasm.c result.addrstart = 0; result 721 tools/chdk_dasm.c if ((instr&(30<<7))!=0 && !(instr&3)) result.oddbits=1; result 743 tools/chdk_dasm.c else result.oddbits=1; result 749 tools/chdk_dasm.c if (instr&RNbits) result.oddbits=1; result 836 tools/chdk_dasm.c result.badbits=1; /* size,rmode reseved */ result 847 tools/chdk_dasm.c if (instr&15) result.oddbits=1; /* Fm and const flag unused */ result 851 tools/chdk_dasm.c result.badbits=1; /* size bits reserved */ result 857 tools/chdk_dasm.c if (instr&(7<<15)) result.oddbits=1; /* Fn unused */ result 858 tools/chdk_dasm.c if (instr&(1<<3)) result.badbits=1; /* no immediate consts */ result 862 tools/chdk_dasm.c if (instr&(3<<5)) result.badbits=1; /* rmode reserved */ result 863 tools/chdk_dasm.c if (instr&(15+(7<<15))) result.oddbits=1; /* iFm, Fn unused */ result 904 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction a"); goto lUndefined ; result 906 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction b"); goto lUndefined ; result 908 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction c"); goto lUndefined ; result 910 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction d"); goto lUndefined ; result 912 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction e"); goto lUndefined ; result 914 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction f"); goto lUndefined ; result 916 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction g"); goto lUndefined ; result 918 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction h"); goto lUndefined ; result 920 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction i"); goto lUndefined ; result 922 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction j"); goto lUndefined ; result 924 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction k"); goto lUndefined ; result 926 tools/chdk_dasm.c strcpy(result.text, "Undefined instruction l"); goto lUndefined ; result 934 tools/chdk_dasm.c result.badbits = 1; // cause 'erroneous instructions' check below to convert this to data result 938 tools/chdk_dasm.c if (result.oddbits || result.badbits) { // treat erroneous instructions as data result 939 tools/chdk_dasm.c result.instr = instr ; result 943 tools/chdk_dasm.c result.oddbits = result.badbits = 0; // no need for error display result 944 tools/chdk_dasm.c result.text[0] = flagchars[0] = 0; result 951 tools/chdk_dasm.c { char * op = result.text; result 979 tools/chdk_dasm.c } while ( strlen( result.text ) < 8 ) ; result 992 tools/chdk_dasm.c if (((unsigned long)result.instr > (unsigned long)addr) && ((unsigned long)result.instr < (unsigned long)addr+0x1000)) { // looks like a jumptable result 993 tools/chdk_dasm.c result.addrstart = op; result 994 tools/chdk_dasm.c op = sub_hex8(fw, op, result.instr); result 997 tools/chdk_dasm.c op = yhex8(fw, op, result.instr); result 1001 tools/chdk_dasm.c result.is_SWI = 1; result 1002 tools/chdk_dasm.c result.swinum = instr&0x00FFFFFF; result 1003 tools/chdk_dasm.c result.addrstart = op; result 1005 tools/chdk_dasm.c swiname(result.swinum, op, 128-(op-result.text)); result 1009 tools/chdk_dasm.c op += sprintf(op, "&%X", result.swinum); result 1036 tools/chdk_dasm.c result.addrstart = op; result 1038 tools/chdk_dasm.c result.target_type = target_Code; result 1039 tools/chdk_dasm.c result.target = target; result 1100 tools/chdk_dasm.c result.addrstart=op; result 1102 tools/chdk_dasm.c result.target=a; result.target_type=target_Unknown; result 1159 tools/chdk_dasm.c result.addrstart = op; result 1220 tools/chdk_dasm.c else result.oddbits=1; result 1221 tools/chdk_dasm.c result.offset = -offset; result 1223 tools/chdk_dasm.c else result.offset = offset; result 1229 tools/chdk_dasm.c result.target_type = poss_tt; result 1230 tools/chdk_dasm.c result.target = (instr&Ubit) ? addr+8 + offset result 1236 tools/chdk_dasm.c op = sub_ahex8(fw, result.addrstart, result.target); result 1238 tools/chdk_dasm.c op = ahex8(fw, result.addrstart, result.target); result 1277 tools/chdk_dasm.c return &result; result 174 tools/firmware_load_ng.c int find_bytes_all(firmware *fw, const void *bytes, size_t len, uint32_t adr, uint32_t *result, int max) result 178 tools/firmware_load_ng.c result[i] = adr; result 1562 tools/firmware_load_ng.c var_ldr_desc_t *result) result 1632 tools/firmware_load_ng.c memcpy(result,&r,sizeof(r)); result 184 tools/firmware_load_ng.h int find_bytes_all(firmware *fw, const void *bytes, size_t len, uint32_t adr, uint32_t *result, int maxmatch); result 523 tools/firmware_load_ng.h var_ldr_desc_t *result);