r 97 core/gps.c geo2rect (t_geo * g, t_rectangular* r, double lat_w) { r 98 core/gps.c r->north= g->lat_w * EARTH; r 99 core/gps.c r->east = g->lon_w * EARTH * cos(lat_w/RHO); r 103 core/gps.c rect2polar (t_rectangular* r, t_polar* p) { r 104 core/gps.c p->delta = sqrt (r->north*r->north + r->east*r->east); r 105 core/gps.c p->alpha = arctan2 (r->east, r->north); r 110 core/gps.c polar2rect (t_rectangular* r, t_polar* p) { r 111 core/gps.c r->east = sin(p->alpha) * p->delta; r 112 core/gps.c r->north= cos(p->alpha) * p->delta; r 526 core/gui_menu.c int r = ((ty - y) / rbf_font_height()) + gui_menu_top_item; r 527 core/gui_menu.c if (!isText(r)) r 529 core/gui_menu.c if (gui_menu_curr_item != r) r 531 core/gui_menu.c gui_menu_curr_item = r; r 1211 core/gui_osd.c int r,i, p, len; r 1215 core/gui_osd.c r = 0; r 1217 core/gui_osd.c get_property_case(p, &r, 4); r 1218 core/gui_osd.c sprintf(osd_buf, "%3d: %d ", p, r); r 1229 core/gui_osd.c r = 0; r 1236 core/gui_osd.c get_parameter_data(p, &r, len); r 1237 core/gui_osd.c sprintf(osd_buf, "%3d: %30d :%2d ", p, r,len); r 1256 core/gui_osd.c r = get_uiprop_value(p); r 1257 core/gui_osd.c sprintf(osd_buf, "%3d: %hi ", p, r); r 139 core/kbd_common.c int r; r 141 core/kbd_common.c r = status | USB_MASK; r 143 core/kbd_common.c r = status &~USB_MASK; r 145 core/kbd_common.c r = status; r 147 core/kbd_common.c usb_status_mod = (r & USB_MASK)?1:0; r 148 core/kbd_common.c return r; r 31 core/ptp.c int r; r 34 core/ptp.c r = 0x17; r 35 core/ptp.c while ( r==0x17 ) r 37 core/ptp.c r = add_ptp_handler(PTP_OC_CHDK,handle_ptp,0); r 302 core/ptp.c unsigned r; // index of current read value r 319 core/ptp.c return (script_msg_q_next(q->w) == q->r); r 323 core/ptp.c return (q->w == q->r); r 328 core/ptp.c if(w == q->r) { r 344 core/ptp.c msg = q->q[q->r]; r 345 core/ptp.c q->r = script_msg_q_next(q->r); r 682 core/ptp.c int tmp,t,total_size,r; r 736 core/ptp.c while ( (r = fread(sb.buf,1,(t<sb.size)?t:sb.size,f)) > 0 ) r 738 core/ptp.c t -= r; r 739 core/ptp.c data->send_data(data->handle,sb.buf,r,tmp,0,0,0); r 59 core/raw.c char *r=hook_raw_image_addr(); r 60 core/raw.c if (!conf.raw_cache) return r; r 61 core/raw.c else return ADR_TO_CACHED(r); r 65 core/raw.c char *r=hook_alt_raw_image_addr(); r 66 core/raw.c if (!conf.raw_cache) return r; r 67 core/raw.c else return ADR_TO_CACHED(r); r 15 include/dryos23.h unsigned int r[13]; r 16 include/dryos31.h unsigned int r[13]; r 16 include/vxworks.h unsigned int r[13]; r 340 lib/lua/lauxlib.c const char *r) { r 347 lib/lua/lauxlib.c luaL_addstring(&b, r); /* push replacement in place of pattern */ r 86 lib/lua/lauxlib.h const char *r); r 582 lib/lua/lbaselib.c int r; r 584 lib/lua/lbaselib.c r = auxresume(L, co, lua_gettop(L) - 1); r 585 lib/lua/lbaselib.c if (r < 0) { r 592 lib/lua/lbaselib.c lua_insert(L, -(r + 1)); r 593 lib/lua/lbaselib.c return r + 1; /* return true + `resume' returns */ r 600 lib/lua/lbaselib.c int r = auxresume(L, co, lua_gettop(L)); r 601 lib/lua/lbaselib.c if (r < 0) { r 609 lib/lua/lbaselib.c return r; r 257 lib/lua/lcode.c LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r) { r 259 lib/lua/lcode.c setnvalue(&o, r); r 628 lib/lua/lcode.c lua_Number v1, v2, r; r 633 lib/lua/lcode.c case OP_ADD: r = luai_numadd(v1, v2); break; r 634 lib/lua/lcode.c case OP_SUB: r = luai_numsub(v1, v2); break; r 635 lib/lua/lcode.c case OP_MUL: r = luai_nummul(v1, v2); break; r 638 lib/lua/lcode.c r = luai_numdiv(v1, v2); break; r 641 lib/lua/lcode.c r = luai_nummod(v1, v2); break; r 642 lib/lua/lcode.c case OP_POW: r = luai_numpow(v1, v2); break; r 643 lib/lua/lcode.c case OP_UNM: r = luai_numunm(v1); break; r 645 lib/lua/lcode.c default: lua_assert(0); r = 0; break; r 647 lib/lua/lcode.c if (luai_numisnan(r)) return 0; /* do not attempt to produce NaN */ r 648 lib/lua/lcode.c e1->u.nval = r; r 52 lib/lua/lcode.h LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r); r 304 lib/lua/ldebug.c static int checkArgMode (const Proto *pt, int r, enum OpArgMask mode) { r 306 lib/lua/ldebug.c case OpArgN: check(r == 0); break; r 308 lib/lua/ldebug.c case OpArgR: checkreg(pt, r); break; r 310 lib/lua/ldebug.c check(ISK(r) ? INDEXK(r) < pt->sizek : r < pt->maxstacksize); r 83 lib/lua/lfmathlib.c double* r = (double*)lua_newuserdata(L, sizeof(double)); r 86 lib/lua/lfmathlib.c *r = v; r 87 lib/lua/lfmathlib.c return r; r 281 lib/lua/lfmathlib.c double r = 0; r 284 lib/lua/lfmathlib.c r = a * b; r 287 lib/lua/lfmathlib.c r = a / b; r 290 lib/lua/lfmathlib.c r = a + b; r 293 lib/lua/lfmathlib.c r = a - b; r 296 lib/lua/lfmathlib.c r = pow(a, b); r 299 lib/lua/lfmathlib.c r = fmod(a, b); r 304 lib/lua/lfmathlib.c newval(L, r); r 310 lib/lua/lfmathlib.c double r = 0; r 313 lib/lua/lfmathlib.c r = log(a); r 316 lib/lua/lfmathlib.c r = log2(a); r 319 lib/lua/lfmathlib.c r = log10(a); r 322 lib/lua/lfmathlib.c r = sqrt(a); r 325 lib/lua/lfmathlib.c r = -a; r 328 lib/lua/lfmathlib.c r = a * 180.0 / M_PI; r 331 lib/lua/lfmathlib.c r = a * M_PI / 180.0; r 336 lib/lua/lfmathlib.c newval(L, r); r 343 lib/lua/lfmathlib.c int r = 0; r 346 lib/lua/lfmathlib.c r = (a == b); r 349 lib/lua/lfmathlib.c r = (a < b); r 352 lib/lua/lfmathlib.c r = (a <= b); r 357 lib/lua/lfmathlib.c lua_pushboolean(L, r); r 364 lib/lua/lfmathlib.c int r = 0; r 367 lib/lua/lfmathlib.c r = (int)a; r 371 lib/lua/lfmathlib.c r = (int)a + 1; r 373 lib/lua/lfmathlib.c r = (int)a; r 377 lib/lua/lfmathlib.c r = (int)a - 1; r 379 lib/lua/lfmathlib.c r = (int)a; r 383 lib/lua/lfmathlib.c r = (int)(a - 0.5); r 385 lib/lua/lfmathlib.c r = (int)(a + 0.5); r 390 lib/lua/lfmathlib.c lua_pushnumber(L, r); r 397 lib/lua/lfmathlib.c double r = 0; r 401 lib/lua/lfmathlib.c r = _sin; r 404 lib/lua/lfmathlib.c r = _cos; r 407 lib/lua/lfmathlib.c r = _sin / _cos; r 412 lib/lua/lfmathlib.c newval(L, r); r 441 lib/lua/lfmathlib.c double r = arg(L, 1); r 445 lib/lua/lfmathlib.c newval(L, r * _cos); r 446 lib/lua/lfmathlib.c newval(L, r * _sin); r 92 lib/lua/limathlib.c fixed r, theta; r 94 lib/lua/limathlib.c INT2FIXED(luaL_checknumber(L, 2)), &r, &theta); r 95 lib/lua/limathlib.c lua_pushnumber(L, FIXED2INTR(r)); r 141 lib/lua/limathlib.c fixed r, theta; r 143 lib/lua/limathlib.c INT2FIXED(luaL_checknumber(L, 2)), &r, &theta); r 144 lib/lua/limathlib.c lua_pushnumber(L, FIXED2INTR(r)); r 282 lib/lua/liolib.c static int scan_num(FILE *f,int *r) { r 309 lib/lua/liolib.c *r = (neg) ? -atoi(s) : atoi(s); r 186 lib/lua/llex.c if (!luaO_str2d(luaZ_buffer(ls->buff), &seminfo->r)) { r 209 lib/lua/llex.c if (!luaO_str2d(luaZ_buffer(ls->buff), &seminfo->r)) /* format error? */ r 44 lib/lua/llex.h lua_Number r; r 194 lib/lua/lmathlib.c lua_Number r = (lua_Number)(rand()%RAND_MAX) / (lua_Number)RAND_MAX; r 199 lib/lua/lmathlib.c lua_pushnumber(L, r); /* Number between 0 and 1 */ r 207 lib/lua/lmathlib.c lua_pushnumber(L, floor(r*u)+1); /* int between 1 and `u' */ r 218 lib/lua/lmathlib.c lua_pushnumber(L, floor(r*(u-l+1))+l); /* int between `l' and `u' */ r 125 lib/lua/lopcodes.h #define INDEXK(r) ((int)(r) & ~BITRK) r 259 lib/lua/loslib.c int r; r 263 lib/lua/loslib.c r=d; r 265 lib/lua/loslib.c r=lua_toboolean(L,-1); r 268 lib/lua/loslib.c return r; r 733 lib/lua/lparser.c v->u.nval = ls->t.seminfo.r; r 50 lib/lua/lundump.c size_t r=luaZ_read(S->Z,b,size); r 51 lib/lua/lundump.c IF (r!=0, "unexpected end"); r 222 lib/lua/lvm.c const char *r = getstr(rs); r 225 lib/lua/lvm.c int temp = strcoll(l, r); r 235 lib/lua/lvm.c l += len; ll -= len; r += len; lr -= len; r 241 lib/lua/lvm.c LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) { r 243 lib/lua/lvm.c if (ttype(l) != ttype(r)) r 244 lib/lua/lvm.c return luaG_ordererror(L, l, r); r 246 lib/lua/lvm.c return luai_numlt(nvalue(l), nvalue(r)); r 248 lib/lua/lvm.c return l_strcmp(rawtsvalue(l), rawtsvalue(r)) < 0; r 249 lib/lua/lvm.c else if ((res = call_orderTM(L, l, r, TM_LT)) != -1) r 251 lib/lua/lvm.c return luaG_ordererror(L, l, r); r 255 lib/lua/lvm.c static int lessequal (lua_State *L, const TValue *l, const TValue *r) { r 257 lib/lua/lvm.c if (ttype(l) != ttype(r)) r 258 lib/lua/lvm.c return luaG_ordererror(L, l, r); r 260 lib/lua/lvm.c return luai_numle(nvalue(l), nvalue(r)); r 262 lib/lua/lvm.c return l_strcmp(rawtsvalue(l), rawtsvalue(r)) <= 0; r 263 lib/lua/lvm.c else if ((res = call_orderTM(L, l, r, TM_LE)) != -1) /* first try `le' */ r 265 lib/lua/lvm.c else if ((res = call_orderTM(L, r, l, TM_LT)) != -1) /* else try `lt' */ r 267 lib/lua/lvm.c return luaG_ordererror(L, l, r); r 25 lib/lua/lvm.h LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); r 233 lib/ubasic/ubasic.c int r; r 235 lib/ubasic/ubasic.c r = ubasic_get_variable(tokenizer_variable_num()); r 237 lib/ubasic/ubasic.c return r; r 266 lib/ubasic/ubasic.c int r = 0; r 272 lib/ubasic/ubasic.c r = tokenizer_num(); r 273 lib/ubasic/ubasic.c DEBUG_PRINTF("factor: number %d\n", r); r 278 lib/ubasic/ubasic.c r = relation(); r 283 lib/ubasic/ubasic.c r = factor(); r 287 lib/ubasic/ubasic.c r = - factor(); r 291 lib/ubasic/ubasic.c r = ! relation(); r 295 lib/ubasic/ubasic.c r = (unsigned short) stat_get_vbatt(); r 302 lib/ubasic/ubasic.c r = ttm->tm_hour * 3600 + ttm->tm_min * 60 + ttm->tm_sec; r 307 lib/ubasic/ubasic.c r = get_tick_count(); r 311 lib/ubasic/ubasic.c if (!camera_info.state.mode_play) r = 0; r 312 lib/ubasic/ubasic.c if (camera_info.state.mode_play) r = 1; r 313 lib/ubasic/ubasic.c if (!camera_info.state.mode_play && camera_info.state.mode_video) r = 2; r 317 lib/ubasic/ubasic.c r = conf.raw_nr; r 321 lib/ubasic/ubasic.c r = script_key_is_clicked(ubasic_get_key_arg()); r 325 lib/ubasic/ubasic.c r = camera_info.state.auto_started; r 330 lib/ubasic/ubasic.c r = 0; r 332 lib/ubasic/ubasic.c r = conf.script_startup; r 342 lib/ubasic/ubasic.c r = get_usb_power(usbpwr); r 346 lib/ubasic/ubasic.c r = get_exposure_counter(); r 350 lib/ubasic/ubasic.c r = script_key_is_pressed(ubasic_get_key_arg()); r 361 lib/ubasic/ubasic.c r = min + rand()%(max-min+1); r 365 lib/ubasic/ubasic.c r = get_movie_status(); r 369 lib/ubasic/ubasic.c r = conf.platformid; r 373 lib/ubasic/ubasic.c r = shooting_get_drive_mode(); r 377 lib/ubasic/ubasic.c r = shooting_get_real_focus_mode(); r 381 lib/ubasic/ubasic.c r = shooting_get_focus_state(); r 385 lib/ubasic/ubasic.c r = shooting_get_focus_ok(); r 389 lib/ubasic/ubasic.c r = shooting_get_display_mode(); r 393 lib/ubasic/ubasic.c r = shooting_get_flash_mode(); r 397 lib/ubasic/ubasic.c r = shooting_in_progress(); r 401 lib/ubasic/ubasic.c r = shooting_is_flash(); r 405 lib/ubasic/ubasic.c r = shooting_get_is_mode(); r 409 lib/ubasic/ubasic.c r = shooting_get_ev_correction1(); r 413 lib/ubasic/ubasic.c r = shooting_get_resolution(); r 417 lib/ubasic/ubasic.c r = shooting_get_prop(camera_info.props.quality); r 421 lib/ubasic/ubasic.c r = shooting_get_prop(camera_info.props.orientation_sensor); r 425 lib/ubasic/ubasic.c r = zoom_points; r 431 lib/ubasic/ubasic.c r = 0; r 437 lib/ubasic/ubasic.c r = 1; r 441 lib/ubasic/ubasic.c r = 2; r 447 lib/ubasic/ubasic.c r = camera_info.props.propset; r 451 lib/ubasic/ubasic.c r = shooting_get_tv96(); r 455 lib/ubasic/ubasic.c r = shooting_get_user_tv96(); r 459 lib/ubasic/ubasic.c r = shooting_get_user_tv_id(); r 463 lib/ubasic/ubasic.c r = shooting_get_av96(); r 467 lib/ubasic/ubasic.c r = shooting_get_user_av96(); r 471 lib/ubasic/ubasic.c r = shooting_get_user_av_id(); r 475 lib/ubasic/ubasic.c r = shooting_get_zoom(); r 479 lib/ubasic/ubasic.c r = shooting_get_subject_distance(); r 483 lib/ubasic/ubasic.c r = shooting_get_near_limit_of_acceptable_sharpness(); r 487 lib/ubasic/ubasic.c r = shooting_get_far_limit_of_acceptable_sharpness(); r 491 lib/ubasic/ubasic.c r = shooting_get_depth_of_field(); r 495 lib/ubasic/ubasic.c r = shooting_get_hyperfocal_distance(); r 499 lib/ubasic/ubasic.c r = sd_over_modes() ; r 503 lib/ubasic/ubasic.c r = (int)shooting_get_iso_market(); r 507 lib/ubasic/ubasic.c r = (int)shooting_get_iso_real(); r 511 lib/ubasic/ubasic.c r = (int)shooting_get_bv96(); r 515 lib/ubasic/ubasic.c r = (int)shooting_get_sv96_real(); r 519 lib/ubasic/ubasic.c r = shooting_get_iso_mode(); r 523 lib/ubasic/ubasic.c r = GetTotalCardSpaceKb(); r 527 lib/ubasic/ubasic.c r = GetFreeCardSpaceKb(); r 531 lib/ubasic/ubasic.c r = GetJpgCount(); r 535 lib/ubasic/ubasic.c r = (camera_info.cam_has_video_button) ? 1 : 0; r 539 lib/ubasic/ubasic.c r = is_video_recording(); r 543 lib/ubasic/ubasic.c r = GetRawCount(); r 548 lib/ubasic/ubasic.c r = shooting_get_prop(var); r 556 lib/ubasic/ubasic.c r = 0; r 558 lib/ubasic/ubasic.c r = (unsigned short)libshothisto->shot_histogram_get_range(from, to); r 567 lib/ubasic/ubasic.c r = get_optical_temp(); r 570 lib/ubasic/ubasic.c r = get_ccd_temp(); r 573 lib/ubasic/ubasic.c r = get_battery_temp(); r 576 lib/ubasic/ubasic.c r = 0; r 584 lib/ubasic/ubasic.c if (tmode==0) r = ttm->tm_sec; r 585 lib/ubasic/ubasic.c else if (tmode==1) r = ttm->tm_min; r 586 lib/ubasic/ubasic.c else if (tmode==2) r = ttm->tm_hour; r 587 lib/ubasic/ubasic.c else if (tmode==3) r = ttm->tm_mday; r 588 lib/ubasic/ubasic.c else if (tmode==4) r = ttm->tm_mon+1; r 589 lib/ubasic/ubasic.c else if (tmode==5) r = 1900+ttm->tm_year; r 594 lib/ubasic/ubasic.c r = 1; r 596 lib/ubasic/ubasic.c r = conf.save_raw; r 602 lib/ubasic/ubasic.c r = shooting_get_canon_image_format(); r 607 lib/ubasic/ubasic.c r = camera_info.cam_canon_raw; r 614 lib/ubasic/ubasic.c r = camera_info.state.mode_shooting; r 616 lib/ubasic/ubasic.c r = 0; r 623 lib/ubasic/ubasic.c r = 0; r 625 lib/ubasic/ubasic.c r = 1; r 629 lib/ubasic/ubasic.c r = get_focal_length(lens_get_zoom_point()); r 633 lib/ubasic/ubasic.c r = shooting_get_min_stack_distance(); r 639 lib/ubasic/ubasic.c if( conf_getValue(var1, &configVal) == CONF_VALUE) r = configVal.numb; else r = var2; r 644 lib/ubasic/ubasic.c r = swap_partitions(partNr); r 650 lib/ubasic/ubasic.c r = shooting_get_sv96_from_iso(expr()); r 654 lib/ubasic/ubasic.c r = shooting_get_iso_from_sv96(expr()); r 658 lib/ubasic/ubasic.c r = shooting_iso_real_to_market(expr()); r 662 lib/ubasic/ubasic.c r = shooting_iso_market_to_real(expr()); r 666 lib/ubasic/ubasic.c r = shooting_sv96_real_to_market(expr()); r 670 lib/ubasic/ubasic.c r = shooting_sv96_market_to_real(expr()); r 674 lib/ubasic/ubasic.c r = shooting_get_av96_from_aperture(expr()); r 678 lib/ubasic/ubasic.c r = shooting_get_aperture_from_av96(expr()); r 682 lib/ubasic/ubasic.c r = shooting_get_tv96_from_shutter_speed((float)expr()/1000000.0); r 686 lib/ubasic/ubasic.c r = (int)(shooting_get_shutter_speed_from_tv96(expr()) * 1000000.0 + 0.5); r 692 lib/ubasic/ubasic.c r = shooting_get_tv96_from_shutter_speed((float)n/(float)d); r 696 lib/ubasic/ubasic.c r = camera_info.state.osd_title_line ; r 700 lib/ubasic/ubasic.c r=force_usb_state(expr()) ; r 704 lib/ubasic/ubasic.c r=kbd_force_analog_av(expr()) ; r 708 lib/ubasic/ubasic.c r = (camera_info.state.gui_mode != 0); r 712 lib/ubasic/ubasic.c r = (is_raw_possible() && !camera_info.state.mode_play); r 716 lib/ubasic/ubasic.c r = shooting_get_current_av96(); r 720 lib/ubasic/ubasic.c r = shooting_get_current_tv96(); r 724 lib/ubasic/ubasic.c r = shooting_get_current_delta_sv96(); r 728 lib/ubasic/ubasic.c r = shooting_get_current_base_sv96(); r 732 lib/ubasic/ubasic.c r = shooting_get_imager_active(); r 736 lib/ubasic/ubasic.c r = shooting_get_max_av96(); // NOTE -1 if not available, i.e. playback r 740 lib/ubasic/ubasic.c r = shooting_get_min_av96(); // NOTE -1 if not available, i.e. playback r 744 lib/ubasic/ubasic.c r = shooting_get_nd_value_ev96(); r 748 lib/ubasic/ubasic.c r = shooting_get_nd_current_ev96(); r 752 lib/ubasic/ubasic.c r = camera_info.cam_digic; r 757 lib/ubasic/ubasic.c r = varfactor(); r 760 lib/ubasic/ubasic.c return r; r 1012 lib/ubasic/ubasic.c int r, else_cntr,endif_cntr,f_nt,f_sl; r 1016 lib/ubasic/ubasic.c r = relation(); r 1017 lib/ubasic/ubasic.c DEBUG_PRINTF("if_statement: relation %d\n", r); r 1026 lib/ubasic/ubasic.c if_stack[if_stack_ptr] = r; r 1036 lib/ubasic/ubasic.c if(r) { r 1098 lib/ubasic/ubasic.c if(r) { r 1119 lib/ubasic/ubasic.c int r=0, endif_cntr, f_nt; r 1123 lib/ubasic/ubasic.c r = if_stack[if_stack_ptr-1]; r 1131 lib/ubasic/ubasic.c DEBUG_PRINTF("else_statement: relation %d\n", r); r 1135 lib/ubasic/ubasic.c if(!r) { r 1538 lib/ubasic/ubasic.c int r; r 1541 lib/ubasic/ubasic.c r = relation(); r 1543 lib/ubasic/ubasic.c if(!r) { r 1559 lib/ubasic/ubasic.c int r, while_cntr; r 1574 lib/ubasic/ubasic.c r = relation(); r 1576 lib/ubasic/ubasic.c if(!r) { r 2717 lib/ubasic/ubasic.c int r=tokenizer_token(); r 2718 lib/ubasic/ubasic.c if ( r == TOKENIZER_LABEL ) { r 2729 lib/ubasic/ubasic.c else if ( r == TOKENIZER_REM ) { r 164 modules/cordic_math.c static void recCordic(tangle t, fixed r, fixed theta, fixed *px, fixed *py) { r 167 modules/cordic_math.c *px = mulScaled(r, _cos); r 168 modules/cordic_math.c *py = mulScaled(r, _sin); r 192 modules/cordic_math.c static void polCordic(tangle t, fixed px, fixed py, fixed *r, fixed *theta) { r 196 modules/cordic_math.c *r = mulScaled(hyp, INV_GAIN_CIRCLE[t]); r 213 modules/cordic_math.c LUALIB_API void recd(fixed r, fixed theta, fixed *px, fixed *py) { r 214 modules/cordic_math.c recCordic(DEG, r, theta, px, py); r 229 modules/cordic_math.c LUALIB_API void pold(fixed px, fixed py, fixed *r, fixed *theta) { r 230 modules/cordic_math.c polCordic(DEG, px, py, r, theta); r 246 modules/cordic_math.c LUALIB_API void recr(fixed r, fixed theta, fixed *px, fixed *py) { r 247 modules/cordic_math.c recCordic(RAD, r, theta, px, py); r 262 modules/cordic_math.c LUALIB_API void polr(fixed px, fixed py, fixed *r, fixed *theta) { r 263 modules/cordic_math.c polCordic(RAD, px, py, r, theta); r 78 modules/cordic_math.h LUALIB_API void recd(fixed r, fixed theta, fixed *px, fixed *py); r 82 modules/cordic_math.h LUALIB_API void pold(fixed px, fixed py, fixed *r, fixed *theta); r 87 modules/cordic_math.h LUALIB_API void recr(fixed r, fixed theta, fixed *px, fixed *py); r 91 modules/cordic_math.h LUALIB_API void polr(fixed px, fixed py, fixed *r, fixed *theta); r 1435 modules/cpuinfo_v7.c unsigned n, *e, r, pr=42, cycl, l1a; r 1447 modules/cpuinfo_v7.c r = interpret_l1_table_entry(*e, linebuf); r 1449 modules/cpuinfo_v7.c if (r==1 && pr!=1) { // supersection begins r 1464 modules/cpuinfo_v7.c else if (r==2) { r 1468 modules/cpuinfo_v7.c if (r>42) { // interpret L2 table r 1471 modules/cpuinfo_v7.c ee = (unsigned*) r; r 1505 modules/cpuinfo_v7.c pr = r; r 86 modules/file_shelter.c unsigned long crc32_for_byte(unsigned long r) { r 89 modules/file_shelter.c r = (r & 1? 0: (unsigned long)0xEDB88320) ^ r >> 1; r 91 modules/file_shelter.c return r ^ (unsigned long)0xFF000000; r 157 modules/file_shelter.c long r = fread(buf, 1, chunk, fd); r 158 modules/file_shelter.c if (r != chunk) { r 159 modules/file_shelter.c if (r != size) { r 164 modules/file_shelter.c crc32(buf, r, crc); r 165 modules/file_shelter.c size -= r; r 185 modules/file_shelter.c long r = read(fd, buf, chunk); r 186 modules/file_shelter.c if (r != chunk) { r 187 modules/file_shelter.c if (r != size) { r 192 modules/file_shelter.c crc32(buf, r, crc); r 193 modules/file_shelter.c size -= r; r 21 modules/firmware_crc.c unsigned long crc32_for_byte(unsigned long r) { r 24 modules/firmware_crc.c r = (r & 1? 0: (unsigned long)0xEDB88320) ^ r >> 1; r 26 modules/firmware_crc.c return r ^ (unsigned long)0xFF000000; r 1675 modules/luascript.c int r = -1; r 1679 modules/luascript.c if (strncmp("s", t, 1)==0) r = ttm->tm_sec; r 1680 modules/luascript.c else if (strncmp("m", t, 1)==0) r = ttm->tm_min; r 1681 modules/luascript.c else if (strncmp("h", t, 1)==0) r = ttm->tm_hour; r 1682 modules/luascript.c else if (strncmp("D", t, 1)==0) r = ttm->tm_mday; r 1683 modules/luascript.c else if (strncmp("M", t, 1)==0) r = ttm->tm_mon+1; r 1684 modules/luascript.c else if (strncmp("Y", t, 1)==0) r = 1900+ttm->tm_year; r 1685 modules/luascript.c lua_pushnumber( L, r ); r 2451 modules/luascript.c int r = ptp_script_write_msg(msg); r 2453 modules/luascript.c if ((get_tick_count() >= action_top(3)) || r) r 2455 modules/luascript.c lua_pushboolean(Lt,r); r 3061 modules/luascript.c const luaL_reg *r; r 3078 modules/luascript.c for(r=chdk_funcs;r->name;r++) { r 3079 modules/luascript.c lua_pushcfunction( L, r->func ); r 3080 modules/luascript.c lua_setglobal( L, r->name ); r 327 modules/rawhookops.c unsigned short r=luaL_checknumber(L,3); r 338 modules/rawhookops.c set_raw_pixel(x+cfa_offsets[CFA_R][0],y+cfa_offsets[CFA_R][1],r); r 468 modules/rawhookops.c int r=round_d2i((double)scale*(log2(v - camera_sensor.black_level) - log2_raw_neutral_count)); r 469 modules/rawhookops.c lua_pushnumber(L,r); r 117 platform/a540/sub/100b/lib.c char r; r 118 platform/a540/sub/100b/lib.c get_parameter_data(53, &r, 1); r 119 platform/a540/sub/100b/lib.c return r==0; r 123 platform/a540/sub/100b/lib.c char r; r 124 platform/a540/sub/100b/lib.c get_parameter_data(54, &r, 1); r 125 platform/a540/sub/100b/lib.c return r==0; r 57 platform/g7/sub/100e/lib.c char r; r 58 platform/g7/sub/100e/lib.c get_parameter_data(53, &r, 1); r 59 platform/g7/sub/100e/lib.c return r==0; r 57 platform/g7/sub/100g/lib.c char r; r 58 platform/g7/sub/100g/lib.c get_parameter_data(53, &r, 1); r 59 platform/g7/sub/100g/lib.c return r==0; r 57 platform/g7/sub/100i/lib.c char r; r 58 platform/g7/sub/100i/lib.c get_parameter_data(53, &r, 1); r 59 platform/g7/sub/100i/lib.c return r==0; r 57 platform/g7/sub/100j/lib.c char r; r 58 platform/g7/sub/100j/lib.c get_parameter_data(53, &r, 1); r 59 platform/g7/sub/100j/lib.c return r==0; r 44 platform/g9/sub/100d/lib.c char r; r 45 platform/g9/sub/100d/lib.c get_parameter_data(53, &r, 1); r 46 platform/g9/sub/100d/lib.c return r==0; r 44 platform/g9/sub/100g/lib.c char r; r 45 platform/g9/sub/100g/lib.c get_parameter_data(53, &r, 1); r 46 platform/g9/sub/100g/lib.c return r==0; r 31 platform/g9/sub/100i/lib.c char r; r 32 platform/g9/sub/100i/lib.c get_parameter_data(53, &r, 1); r 33 platform/g9/sub/100i/lib.c return r==0; r 80 platform/generic/wrappers.c int r=_GetPropertyCase(PROPCASE_SHOOTING_STATE, buf, bufsize); r 90 platform/generic/wrappers.c return r; r 493 platform/generic/wrappers.c int r = _Close(fd); r 497 platform/generic/wrappers.c if (r == -1) r 500 platform/generic/wrappers.c return r; r 518 platform/generic/wrappers.c int r = _Write(fd, buffer, nbytes); r 521 platform/generic/wrappers.c return r; r 1047 platform/generic/wrappers.c void *r=_malloc(size); r 1049 platform/generic/wrappers.c return r; r 1073 platform/generic/wrappers.c void *r=_AllocateUncacheableMemory(size); r 1075 platform/generic/wrappers.c return r; r 179 platform/ixus30_sd200/sub/100k/boot.c int r = 1; r 199 platform/ixus30_sd200/sub/100k/boot.c return r; r 190 platform/ixus40_sd300/sub/100j/boot.c int r = 1; r 210 platform/ixus40_sd300/sub/100j/boot.c return r; r 185 platform/ixus40_sd300/sub/100k/boot.c int r = 1; r 205 platform/ixus40_sd300/sub/100k/boot.c return r; r 62 platform/ixus900_sd900/sub/100c/debug.c int r = 1; r 82 platform/ixus900_sd900/sub/100c/debug.c return r; r 84 platform/sx730hs/kbd.c int r = wrap_kbd_p1_f(); r 85 platform/sx730hs/kbd.c if (r == 1) { r 325 tools/capdis.c int r=COMMENT_LEN - (l + 4 + plevel); // 4 for space, "" and possibly one inserted backslash r 326 tools/capdis.c if(r < 1) { r 338 tools/capdis.c if((int)strlen(s) < r) { r 342 tools/capdis.c if(r <= 3) { r 347 tools/capdis.c e=p+r - 3; r 124 tools/extract_error_table.c int r; r 126 tools/extract_error_table.c r=process_dump_vx(&dump); r 128 tools/extract_error_table.c r=process_dump_dry(&dump); r 130 tools/extract_error_table.c if(!r) { r 4811 tools/finsig_dryos.c uint32_t r = fw->buf[k] & 0x000F0000; // Register r 4812 tools/finsig_dryos.c if (((fw->buf[k+1] & 0xFFF00000) == 0xE3500000) && ((fw->buf[k+1] & 0x000F0000) == r)) // CMP, Rn #val r 4827 tools/finsig_dryos.c uint32_t r = fw->buf[k] & 0x000F0000; // Register r 4828 tools/finsig_dryos.c if (((fw->buf[k+1] & 0xFFF00000) == 0xE3500000) && ((fw->buf[k+1] & 0x000F0000) == r)) // CMP, Rn #val r 6873 tools/finsig_dryos.c uint32_t r, sizeloc = 0, startloc = 0; r 6900 tools/finsig_dryos.c r = LDR2val(fw,j1+n); r 6901 tools/finsig_dryos.c if ( isLDR_PC(fw,j1+n) && (r>fw->memisostart) && (r<fw->maxram) ) r 6903 tools/finsig_dryos.c ramstart = r; r 7244 tools/finsig_dryos.c int r = (kval >> 5) & 7; r 7249 tools/finsig_dryos.c bprintf("//#define %-20s%d\n",rn,r); r 7269 tools/finsig_dryos.c int r = (kval >> 5) & 7; r 7273 tools/finsig_dryos.c fprintf(out_fp, "levent 0x%08x, 0x%08x, index %d%s\n", ev, b, r, i?" (non-inverted logic)":""); r 7293 tools/finsig_dryos.c void add_kinfo(int r, uint32_t b, const char *nm, uint32_t adr, uint32_t ev, int inv) r 7295 tools/finsig_dryos.c key_info[kcount].reg = r; r 7302 tools/finsig_dryos.c kmask[r] |= b; r 7309 tools/finsig_dryos.c int r, k, kval = 0; r 7323 tools/finsig_dryos.c r = (kval >> 5) & 7; r 7327 tools/finsig_dryos.c add_kinfo(r,b|xtra,name,tadr,ev,inv); r 6682 tools/finsig_thumb2.c void add_kinfo(int r, uint32_t b, const char *nm, uint32_t adr, uint32_t ev, int inv) r 6684 tools/finsig_thumb2.c key_info[kcount].reg = r; r 6691 tools/finsig_thumb2.c kmask[r] |= b; r 3830 tools/finsig_vxworks.c uint32_t r = (fw->buf[k] & 0x0000F000)<<4; // Register r 3834 tools/finsig_vxworks.c if (((fw->buf[n] & 0xFFF00000) == 0xE3500000) && ((fw->buf[n] & 0x000F0000) == r)) // CMP, Rn #val r 5471 tools/finsig_vxworks.c int r = (kval >> 5) & 7; r 5475 tools/finsig_vxworks.c bprintf("//#define %-20s%d\n",rn,r); r 5493 tools/finsig_vxworks.c void add_kinfo(int r, uint32_t b, const char *nm, uint32_t adr, uint32_t ev, int inv) r 5495 tools/finsig_vxworks.c key_info[kcount].reg = r; r 5502 tools/finsig_vxworks.c kmask[r] |= b; r 5509 tools/finsig_vxworks.c int r, k, kval = 0; r 5523 tools/finsig_vxworks.c r = (kval >> 5) & 7; r 5527 tools/finsig_vxworks.c add_kinfo(r,b|xtra,name,tadr,ev,inv); r 252 tools/firmware_load_ng.c adr_range_t *r=fw->adr_ranges; r 254 tools/firmware_load_ng.c if(adr >= r->start && adr < r->start + r->bytes) { r 255 tools/firmware_load_ng.c return r; r 257 tools/firmware_load_ng.c r++; r 265 tools/firmware_load_ng.c adr_range_t *r=adr_get_range(fw,adr); r 266 tools/firmware_load_ng.c if(!r) { r 269 tools/firmware_load_ng.c return r->type; r 280 tools/firmware_load_ng.c adr_range_t *r=adr_get_range(fw,adr); r 281 tools/firmware_load_ng.c if(!r) { r 284 tools/firmware_load_ng.c switch(r->type) { r 287 tools/firmware_load_ng.c return (r->buf)+(adr - r->start); r 295 tools/firmware_load_ng.c adr_range_t *r=adr_get_range(fw,adr); r 296 tools/firmware_load_ng.c if(!r) { r 299 tools/firmware_load_ng.c switch(r->type) { r 303 tools/firmware_load_ng.c return (r->buf)+(adr - r->start); r 327 tools/firmware_load_ng.c const char* adr_range_desc_str(adr_range_t *r) r 329 tools/firmware_load_ng.c switch(r->type) { r 335 tools/firmware_load_ng.c if(r->flags & ADR_RANGE_FL_EVEC) { r 337 tools/firmware_load_ng.c } else if(r->flags & ADR_RANGE_FL_TCM) { r 448 tools/firmware_load_ng.c int r=(ah->cur+i)%ADR_HIST_SIZE; r 449 tools/firmware_load_ng.c if(r < 0) { r 450 tools/firmware_load_ng.c return ADR_HIST_SIZE + r; r 452 tools/firmware_load_ng.c return r; r 1132 tools/firmware_load_ng.c uint32_t r=f(fw,is,v1,udata); r 1133 tools/firmware_load_ng.c if(r) { r 1134 tools/firmware_load_ng.c return r; r 1170 tools/firmware_load_ng.c uint32_t r=f(fw,is,v1,udata); r 1171 tools/firmware_load_ng.c if(r) { r 1172 tools/firmware_load_ng.c return r; r 1569 tools/firmware_load_ng.c var_ldr_desc_t r; r 1570 tools/firmware_load_ng.c memset(&r,0,sizeof(r)); r 1571 tools/firmware_load_ng.c r.reg_base=is->insn->detail->arm.operands[0].reg; r 1572 tools/firmware_load_ng.c r.adr_base=LDR_PC2val(fw,is->insn); r 1590 tools/firmware_load_ng.c if((arm_reg)is->insn->detail->arm.operands[0].reg != r.reg_base) { r 1594 tools/firmware_load_ng.c r.adj=is->insn->detail->arm.operands[1].imm; r 1596 tools/firmware_load_ng.c r.adj=-is->insn->detail->arm.operands[1].imm; r 1603 tools/firmware_load_ng.c r.adj=0; r 1609 tools/firmware_load_ng.c if((r.reg_base >= ARM_REG_R0 && r.reg_base <= ARM_REG_R3) r 1616 tools/firmware_load_ng.c if(is->insn->id != ARM_INS_LDR || (arm_reg)is->insn->detail->arm.operands[1].reg != r.reg_base) { r 1619 tools/firmware_load_ng.c if(is->insn->detail->arm.operands[0].type == ARM_OP_REG && (arm_reg)is->insn->detail->arm.operands[0].reg == r.reg_base) { r 1625 tools/firmware_load_ng.c r.reg_val = is->insn->detail->arm.operands[0].reg; r 1626 tools/firmware_load_ng.c if(match_val_reg != ARM_REG_INVALID && (r.reg_val != match_val_reg)) { r 1629 tools/firmware_load_ng.c r.off = is->insn->detail->arm.operands[1].mem.disp; r 1630 tools/firmware_load_ng.c r.adr_adj = r.adr_base + r.adj; r 1631 tools/firmware_load_ng.c r.adr_final = r.adr_adj + r.off; r 1632 tools/firmware_load_ng.c memcpy(result,&r,sizeof(r)); r 1957 tools/firmware_load_ng.c int reg_in_range(arm_reg r, arm_reg min_reg, arm_reg max_reg) r 1962 tools/firmware_load_ng.c if(reg_order[i] == r) { r 2191 tools/firmware_load_ng.c adr_range_t *r=&fw->adr_ranges[fw->adr_range_count]; r 2193 tools/firmware_load_ng.c r->start=start; r 2194 tools/firmware_load_ng.c r->src_start=src_start; r 2195 tools/firmware_load_ng.c r->bytes=len; r 2196 tools/firmware_load_ng.c r->type=type; r 2197 tools/firmware_load_ng.c r->flags=flags; r 2198 tools/firmware_load_ng.c r->buf=fw->buf8 + (r->src_start - fw->base); r 2385 tools/firmware_load_ng.c int r=(insn[0].detail->arm.operands[0].imm == insn[2].detail->arm.operands[0].imm); r 2388 tools/firmware_load_ng.c if(!r) { r 2392 tools/firmware_load_ng.c return r; r 148 tools/firmware_load_ng.h const char* adr_range_desc_str(adr_range_t *r); r 575 tools/firmware_load_ng.h #define MATCH_OP_REG(r) {ARM_OP_REG, ARM_REG_##r, 0, 0, ARM_REG_INVALID} r 585 tools/firmware_load_ng.h #define MATCH_OP_MEM_BASE(r) {ARM_OP_MEM, ARM_REG_##r, 0, 0, ARM_REG_INVALID} r 135 tools/font_8x16_pack.c int i, j, f = 0, cc = 0, r; r 188 tools/font_8x16_pack.c r = f; r 214 tools/font_8x16_pack.c for (j=r; j<f; j++) r 159 tools/pakwif.c int r, rtot, start, towr, i, c1, c2; r 182 tools/pakwif.c r = fwrite(cbuf,1,towr,f); r 183 tools/pakwif.c if (r<0) r 184 tools/pakwif.c return r; r 185 tools/pakwif.c rtot += r; r 186 tools/pakwif.c len -= r; r 195 tools/pakwif.c int r, rtot, start, towr, i, c1, c2; r 207 tools/pakwif.c r = fread(cbuf,1,towr,f); r 209 tools/pakwif.c while (len>0 && r>0){ r 210 tools/pakwif.c for (i=0;i<r;i++){ r 219 tools/pakwif.c rtot += r; r 220 tools/pakwif.c len -= r; r 226 tools/pakwif.c r = fread(cbuf,1,towr,f); r 227 tools/pakwif.c if (r<0) r 228 tools/pakwif.c return r;