count 270 core/gps.c static double draw_gps_course_info(int count){ // calculate & display course information count 278 core/gps.c now = (double) (count); count 1318 core/gps.c int count=0; count 1352 core/gps.c angle= draw_gps_course_info(count); count 1356 core/gps.c count++; count 34 core/gui_menu.c static int count; count 523 core/gui_menu.c int h = ((count > num_lines) ? num_lines : count) * rbf_font_height(); count 730 core/gui_menu.c count = gui_menu_rows(); count 739 core/gui_menu.c if ((count - gui_menu_top_item) < num_lines) { count 741 core/gui_menu.c gui_menu_top_item = count - num_lines; count 749 core/gui_menu.c if (count > num_lines) count 760 core/gui_menu.c y = (camera_screen.height - ((count - 1) * rbf_font_height())) >> 1; count 1094 core/gui_menu.c if (count > num_lines) count 1097 core/gui_menu.c j = i*num_lines/count; // bar height count 1099 core/gui_menu.c i = (i-j)*((gui_menu_curr_item<0)?0:gui_menu_curr_item)/(count-1); // top pos count 1226 core/gui_osd.c int count; count 1240 core/gui_osd.c if (len>=(int)sizeof(s)) count=sizeof(s)-1; else count=len; count 1241 core/gui_osd.c get_parameter_data(p, &s, count); count 1242 core/gui_osd.c s[count]=0; count 362 core/main.c (camera_info.perf.af_led.count>0)?camera_info.perf.af_led.sum/camera_info.perf.af_led.count:0); count 103 core/suba.c int count = -1; count 109 core/suba.c count += 1; count 129 core/suba.c if (suba->free_block_count != count) count 168 core/suba.c int count = -1; count 174 core/suba.c count += 1; count 194 core/suba.c if (suba->free_block_count != count) count 197 core/suba.c sprintf(buf, "free_count %d %d\n", suba->free_block_count, count); count 114 include/camera_info.h unsigned int last, min, max, sum, count; count 100 include/lolevel.h extern long _Fread_Fut(void *buf, long elsize, long count, long f); count 101 include/lolevel.h extern long _Fwrite_Fut(const void *buf, long elsize, long count, long f); count 32 include/std/stdio.h extern long fread(void *buf, long elsize, long count, FILE *f); count 33 include/std/stdio.h extern long fwrite(const void *buf, long elsize, long count, FILE *f); count 26 lib/lang/lang.c static int count = 0; // current maximal string id (init at lang_init with GUI_LANG_ITEMS) count 36 lib/lang/lang.c count = 0; count 43 lib/lang/lang.c count = num; count 65 lib/lang/lang.c if (strings && num<count) { count 102 lib/lang/lang.c pstrtmp = malloc(count*sizeof(char*)); count 107 lib/lang/lang.c memset(pstrtmp, 0, count*sizeof(char*)); count 111 lib/lang/lang.c load_builtin_lang_strings(count-1, strings); count 130 lib/lang/lang.c if ((i > 0) && (i<count)) { count 163 lib/lang/lang.c for (i=1; i<count; i++) { count 209 lib/lang/lang.c if (strings && str<count && strings[str]) { count 225 lib/lua/ldblib.c static int makemask (const char *smask, int count) { count 230 lib/lua/ldblib.c if (count > 0) mask |= LUA_MASKCOUNT; count 259 lib/lua/ldblib.c int arg, mask, count; count 264 lib/lua/ldblib.c func = NULL; mask = 0; count = 0; /* turn off hooks */ count 269 lib/lua/ldblib.c count = luaL_optint(L, arg+3, 0); count 270 lib/lua/ldblib.c func = hookf; mask = makemask(smask, count); count 277 lib/lua/ldblib.c lua_sethook(L1, func, mask, count); /* set hooks */ count 56 lib/lua/ldebug.c LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count) { count 62 lib/lua/ldebug.c L->basehookcount = count; count 407 lib/lua/lgc.c static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count) { count 411 lib/lua/lgc.c while ((curr = *p) != NULL && count-- > 0) { count 284 lib/lua/liolib.c int count=0; count 294 lib/lua/liolib.c while( count < SCAN_NUM_MAX_CHARS ) { count 296 lib/lua/liolib.c s[count++] = c; count 300 lib/lua/liolib.c if(count < 1 ) count 307 lib/lua/liolib.c s[count] = 0; count 308 lib/lua/liolib.c if(count) { count 215 lib/lua/llex.c int count = 0; count 221 lib/lua/llex.c count++; count 223 lib/lua/llex.c return (ls->current == s) ? count : (-count) - 1; count 340 lib/lua/lua.h LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count); count 2715 lib/ubasic/ubasic.c int count = 100; count 2720 lib/ubasic/ubasic.c if( count == 1 ) count 2735 lib/ubasic/ubasic.c } while(--count); count 35 modules/dng.c void reverse_bytes_order2(char* from, char* to, int count); count 42 modules/dng.c unsigned int count; count 298 modules/dng.c short count; // Number of entries to be saved count 391 modules/dng.c ifd->count++; count 396 modules/dng.c ifd->count = 0; count 407 modules/dng.c int size_ext = get_type_size(e->type) * e->count; count 423 modules/dng.c extra_offset += 6 + ifd->count * 12; // IFD header+footer count 432 modules/dng.c add_val_to_buf(e->count, sizeof(int)); count 433 modules/dng.c int size_ext = get_type_size(e->type) * e->count; count 454 modules/dng.c add_val_to_buf(ifd->count, sizeof(short)); // Add count of entries for this IFD count 463 modules/dng.c int size_ext = get_type_size(e->type) * e->count; count 568 modules/dng.c get_tag(IFD_0, CAMERA_NAME_TAG)->count = get_tag(IFD_0, UNIQUE_CAMERA_MODEL_TAG)->count = strlen(cam_name) + 1; count 570 modules/dng.c get_tag(IFD_0, CHDK_VER_TAG)->count = strlen(camera_info.chdk_dng_ver) + 1; count 571 modules/dng.c get_tag(IFD_0, ARTIST_NAME_TAG)->count = strlen(artist_name) + 1; count 572 modules/dng.c get_tag(IFD_0, COPYRIGHT_TAG)->count = strlen(copyright) + 1; count 578 modules/dng.c get_tag(IFD_EXIF, SSTIME_TAG)->count = get_tag(IFD_EXIF, SSTIME_ORIG_TAG)->count = strlen(cam_subsectime)+1; count 621 modules/dng.c get_tag(IFD_0, SUBIFDS_TAG)->offset = TIFF_HDR_SIZE + ifd_list[0].count * 12 + 6; // SubIFDs offset count 622 modules/dng.c get_tag(IFD_0, EXIF_IFD_TAG)->offset = TIFF_HDR_SIZE + (ifd_list[0].count + ifd_list[1].count) * 12 + 6 + 6; // EXIF IFD offset count 624 modules/dng.c get_tag(IFD_0, GPS_IFD_TAG)->offset = TIFF_HDR_SIZE + (ifd_list[0].count + ifd_list[1].count + ifd_list[2].count) * 12 + 6 + 6 + 6; // GPS IFD offset count 950 modules/dng.c int count; count 967 modules/dng.c count = 0; count 988 modules/dng.c count = count + ylen; count 999 modules/dng.c init_badpixel_bin_flag = count; count 97 modules/eyefi.c u8 count; count 104 modules/eyefi.c u8 count; count 442 modules/eyefi.c n = eyefi_buf.c.count; count 476 modules/eyefi.c n = eyefi_buf.c.count; count 557 modules/eyefi.c n = eyefi_buf.a.count; count 588 modules/eyefi.c n = eyefi_buf.a.count; count 482 modules/games/gui_sudoku.c int x, y, xs, ys, num, count; count 490 modules/games/gui_sudoku.c count=0; count 497 modules/games/gui_sudoku.c if (count == 1) count 501 modules/games/gui_sudoku.c count++; count 507 modules/games/gui_sudoku.c if (count==1) count 518 modules/games/gui_sudoku.c count=0; count 525 modules/games/gui_sudoku.c if (count == 1) count 529 modules/games/gui_sudoku.c count++; count 535 modules/games/gui_sudoku.c if (count==1) count 546 modules/games/gui_sudoku.c count=0; count 553 modules/games/gui_sudoku.c if (count == 1) count 557 modules/games/gui_sudoku.c count++; count 563 modules/games/gui_sudoku.c if (count==1) count 658 modules/games/gui_sudoku.c int remove_nums(int count) count 674 modules/games/gui_sudoku.c if (count>START_NUMBERS) count 676 modules/games/gui_sudoku.c if (remove_nums(count-1)==1)return 1; count 680 modules/games/gui_sudoku.c if (count<=MAX_START_NUMBERS)return sudoku_solve(*field); count 684 modules/games/gui_sudoku.c else if (count<=START_NUMBERS) count 91 modules/gui_fselect.c unsigned short count; count 180 modules/gui_fselect.c list->count = 0; count 190 modules/gui_fselect.c p->n = list->count; count 207 modules/gui_fselect.c list->count++; count 253 modules/gui_fselect.c if (list->count) count 256 modules/gui_fselect.c fitem **sbuf = malloc(list->count*sizeof(fitem*)); count 268 modules/gui_fselect.c qsort(sbuf, list->count, sizeof(fitem*), fselect_sort_nothumb); count 271 modules/gui_fselect.c list->tail = sbuf[list->count-1]; count 272 modules/gui_fselect.c for (i=0; i<list->count-1; i++) count 280 modules/gui_fselect.c list->tail->n = list->count - 1; count 880 modules/gui_fselect.c if (items.count > BODY_LINES) count 883 modules/gui_fselect.c j = (i * BODY_LINES) / items.count; count 885 modules/gui_fselect.c i = ((i - j) * selected->n) / (items.count-1); count 1108 modules/gui_fselect.c if (!marked_items.count) count 1132 modules/gui_fselect.c if (marked_items.count) count 1133 modules/gui_fselect.c gui_browser_progress_show(lang_str(LANG_FSELECT_PROGRESS_TITLE),i*100/marked_items.count); count 1401 modules/gui_fselect.c sprintf(buf, lang_str((marked_operation == MARKED_OP_CUT)?LANG_FSELECT_CUT_TEXT:LANG_FSELECT_COPY_TEXT), marked_items.count, marked_items.dir); count 254 modules/md5.c unsigned count; count 258 modules/md5.c count = (ctx->bits[0] >> 3) & 0x3F; count 262 modules/md5.c p = ctx->in + count; count 266 modules/md5.c count = 64 - 1 - count; count 269 modules/md5.c if (count < 8) { count 271 modules/md5.c os_memset(p, 0, count); count 279 modules/md5.c os_memset(p, 0, count - 8); count 131 modules/motion_detector.c t->count++; count 24 modules/raw_merge.c extern void reverse_bytes_order2(char* from, char* to, int count); count 630 modules/rawhookops.c unsigned count=0; count 633 modules/rawhookops.c count+=h->data[i]; count 638 modules/rawhookops.c lua_pushnumber(L,round_d2i((scale*(double)count)/(double)h->total_pixels)); count 640 modules/rawhookops.c lua_pushnumber(L,count); count 8 modules/script_shoot_hook.c int count; // how many times the hook was called (since script start) count 38 modules/script_shoot_hook.c hooks[hook].count++; count 74 modules/script_shoot_hook.c return hooks[hook].count; count 301 modules/sha1.c size_t ssid_len, int iterations, unsigned int count, count 322 modules/sha1.c count_buf[0] = (count >> 24) & 0xff; count 323 modules/sha1.c count_buf[1] = (count >> 16) & 0xff; count 324 modules/sha1.c count_buf[2] = (count >> 8) & 0xff; count 325 modules/sha1.c count_buf[3] = count & 0xff; count 355 modules/sha1.c unsigned int count = 0; count 361 modules/sha1.c count++; count 362 modules/sha1.c pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations, count, count 374 modules/sha1.c u32 count[2]; count 578 modules/sha1.c context->count[0], context->count[1], count 655 modules/sha1.c context->count[0] = context->count[1] = 0; count 669 modules/sha1.c j = (context->count[0] >> 3) & 63; count 670 modules/sha1.c if ((context->count[0] += len << 3) < (len << 3)) count 671 modules/sha1.c context->count[1]++; count 672 modules/sha1.c context->count[1] += (len >> 29); count 698 modules/sha1.c ((context->count[(i >= 4 ? 0 : 1)] >> count 702 modules/sha1.c while ((context->count[0] & 504) != 448) { count 716 modules/sha1.c memset(context->count, 0, 8); count 39 modules/user_menu_edit.c static int count; count 368 modules/user_menu_edit.c if (count == 0) return; count 416 modules/user_menu_edit.c count = gui_menu_disp_rows(); count 418 modules/user_menu_edit.c if (count > num_lines) count 430 modules/user_menu_edit.c y = (camera_screen.height-(count-1)*rbf_font_height())>>1; count 556 modules/user_menu_edit.c if (count > num_lines) count 559 modules/user_menu_edit.c j = i*num_lines/count; // bar height count 561 modules/user_menu_edit.c i = (i-j)*((gui_menu_curr_item<0)?0:gui_menu_curr_item)/(count-1); // top pos count 794 platform/generic/wrappers.c long fread(void *buf, long elsize, long count, FILE *f) { count 795 platform/generic/wrappers.c return _Fread_Fut(buf,elsize,count,(long)f); count 798 platform/generic/wrappers.c long fwrite(const void *buf, long elsize, long count, FILE *f) { count 799 platform/generic/wrappers.c return _Fwrite_Fut(buf,elsize,count,(long)f); count 1340 platform/generic/wrappers.c int count=0; count 1349 platform/generic/wrappers.c if ( part_start_sector && part_length && part_type && ((part_status==0) || (part_status==0x80)) ) count++; count 1352 platform/generic/wrappers.c return count; count 658 tools/capdis.c ti->count); count 701 tools/capdis.c while(i < ti->count) { count 763 tools/capdis.c while(i < ti->count) { count 800 tools/capdis.c while(i < ti->count) { count 852 tools/capdis.c size_t count=0; count 859 tools/capdis.c while(count < dis_count && is->adr < dis_end) { count 876 tools/capdis.c count++; count 879 tools/capdis.c count=0; count 881 tools/capdis.c while(count < dis_count && is->adr < dis_end) { count 957 tools/capdis.c count++; count 984 tools/capdis.c count++; count 531 tools/code_gen.c void chk_args(int count, char *msg, op *p) count 533 tools/code_gen.c if (largc != count+1) count 49 tools/elf2flt/myio.c int b_read (void* buf, int count) count 51 tools/elf2flt/myio.c if ( (filecuridx+count)> filesize) count 52 tools/elf2flt/myio.c count = filesize - filecuridx; count 53 tools/elf2flt/myio.c memcpy(buf, filebuf+filecuridx, count); count 54 tools/elf2flt/myio.c filecuridx+=count; count 55 tools/elf2flt/myio.c return count; count 18 tools/elf2flt/myio.h int b_read (void* buf, int count); count 152 tools/finsig_dryos.c int count; count 157 tools/finsig_dryos.c matches[count].ptr = fadr; count 158 tools/finsig_dryos.c matches[count].success = s; count 159 tools/finsig_dryos.c matches[count].fail = f; count 160 tools/finsig_dryos.c matches[count].sig = sig; count 161 tools/finsig_dryos.c count++; count 617 tools/finsig_dryos.c count = 0; count 624 tools/finsig_dryos.c count = 0; count 4071 tools/finsig_dryos.c count = 0; count 4085 tools/finsig_dryos.c if (count > 1) count 4087 tools/finsig_dryos.c qsort(matches, count, sizeof(Match), (void*)match_compare); count 4090 tools/finsig_dryos.c if (count > 0) count 4108 tools/finsig_dryos.c count = 0; count 4245 tools/finsig_dryos.c if (count >= MAX_MATCHES) count 4263 tools/finsig_dryos.c if (count > 1) count 4265 tools/finsig_dryos.c qsort(matches, count, sizeof(Match), (void*)match_compare); count 4268 tools/finsig_dryos.c if (count > 0) count 4286 tools/finsig_dryos.c if ((count == 0) count 4307 tools/finsig_dryos.c if (count == 0) count 4331 tools/finsig_dryos.c else if ((count > 0) && (matches->ptr == ostub2->val)) count 4342 tools/finsig_dryos.c for (i=1;i<count && matches[i].fail==matches[0].fail;i++) count 8404 tools/finsig_dryos.c count = 0; count 8412 tools/finsig_dryos.c if (count == 0) count 153 tools/finsig_vxworks.c int count; count 158 tools/finsig_vxworks.c matches[count].ptr = fadr; count 159 tools/finsig_vxworks.c matches[count].success = s; count 160 tools/finsig_vxworks.c matches[count].fail = f; count 161 tools/finsig_vxworks.c matches[count].sig = sig; count 162 tools/finsig_vxworks.c count++; count 579 tools/finsig_vxworks.c count = 0; count 586 tools/finsig_vxworks.c count = 0; count 3053 tools/finsig_vxworks.c count = 0; count 3067 tools/finsig_vxworks.c if (count > 1) count 3069 tools/finsig_vxworks.c qsort(matches, count, sizeof(Match), (void*)match_compare); count 3072 tools/finsig_vxworks.c if (count > 0) count 3090 tools/finsig_vxworks.c count = 0; count 3227 tools/finsig_vxworks.c if (count >= MAX_MATCHES) count 3245 tools/finsig_vxworks.c if (count > 1) count 3247 tools/finsig_vxworks.c qsort(matches, count, sizeof(Match), (void*)match_compare); count 3250 tools/finsig_vxworks.c if (count > 0) count 3268 tools/finsig_vxworks.c if ((count == 0) count 3289 tools/finsig_vxworks.c if (count == 0) count 3313 tools/finsig_vxworks.c else if ((count > 0) && (matches->ptr == ostub2->val)) count 3324 tools/finsig_vxworks.c for (i=1;i<count && matches[i].fail==matches[0].fail;i++) count 6402 tools/finsig_vxworks.c count = 0; count 6410 tools/finsig_vxworks.c if (count == 0) count 440 tools/firmware_load_ng.c ah->count=0; count 460 tools/firmware_load_ng.c if(ah->count < ADR_HIST_SIZE) { count 461 tools/firmware_load_ng.c ah->count++; count 469 tools/firmware_load_ng.c if(!ah->count || i > ah->count) { count 877 tools/firmware_load_ng.c if(is->ah.count - 1 < max_backtrack) { count 878 tools/firmware_load_ng.c max_backtrack = is->ah.count-1; count 940 tools/firmware_load_ng.c ti->count=max_count; count 943 tools/firmware_load_ng.c ti->count=(adr-ti->start)/ti->bytes; count 1033 tools/firmware_load_ng.c if(!is->code || !is->ah.count) { count 1075 tools/firmware_load_ng.c size_t fw_disasm_adr(firmware *fw, uint32_t adr, unsigned count, cs_insn **insn) count 1082 tools/firmware_load_ng.c return cs_disasm(fw->cs_handle, p, fw->size8 - (p-fw->buf8), adr, count, insn); count 1333 tools/firmware_load_ng.c if(is_init->ah.count <= 1) { count 1336 tools/firmware_load_ng.c if(is_init->ah.count - 1 < max_backtrack) { count 1342 tools/firmware_load_ng.c max_backtrack = is_init->ah.count-1; count 1791 tools/firmware_load_ng.c int count; count 1792 tools/firmware_load_ng.c for(count=0; count < max_insns; count++) { count 1813 tools/firmware_load_ng.c if(insn_match_any(is->insn,match_bl_blximm) && count >= min_insns) { count 1830 tools/firmware_load_ng.c if(count < min_insns) { count 1852 tools/firmware_load_ng.c while(insn_match_any(is->insn,match_tail) && count < max_insns) { count 1857 tools/firmware_load_ng.c count++; count 2122 tools/firmware_load_ng.c int count=0; count 2123 tools/firmware_load_ng.c while(count < max_insns) { count 2128 tools/firmware_load_ng.c count++; count 2134 tools/firmware_load_ng.c count++; count 2377 tools/firmware_load_ng.c size_t count; count 2378 tools/firmware_load_ng.c count = cs_disasm(fw->cs_handle_thumb, code, sizeof(code), 0xFF000000, 3, &insn); count 2380 tools/firmware_load_ng.c if(!(count == 3 && insn[0].id == ARM_INS_BLX && insn[2].id == ARM_INS_BLX)) { count 2391 tools/firmware_load_ng.c cs_free(insn,count); count 2428 tools/firmware_load_ng.c int count=0; count 2436 tools/firmware_load_ng.c while(disasm_iter(fw,is) && count < max_search) { count 2467 tools/firmware_load_ng.c count++; count 2639 tools/firmware_load_ng.c int count=0; count 2643 tools/firmware_load_ng.c while(disasm_iter(fw,is) && count < 20) { count 2668 tools/firmware_load_ng.c count++; count 51 tools/firmware_load_ng.h int count; // total number of valid entries count 347 tools/firmware_load_ng.h uint32_t count; // number of entries, from preceding cmp, first_target or first invalid value count 121 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int Fread_Fut(void *buf, int elsize, int count, FILE *f); count 122 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int Fwrite_Fut(const void *buf, int elsize, int count, FILE *f); count 442 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int fread_low(void *buf, int elsize, int count, FILE *f); count 443 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int fwrite_low(const void *buf, int elsize, int count, FILE *f); count 20 tools/makeexport.c int count; count 33 tools/makeexport.c hash_vals[i].count++; count 40 tools/makeexport.c hash_vals[hash_idx].count = 1; count 716 tools/packfi2/trees.c int count = 0; /* repeat count of the current code */ count 725 tools/packfi2/trees.c if (++count < max_count && curlen == nextlen) { count 727 tools/packfi2/trees.c } else if (count < min_count) { count 728 tools/packfi2/trees.c s->bl_tree[curlen].Freq += count; count 732 tools/packfi2/trees.c } else if (count <= 10) { count 737 tools/packfi2/trees.c count = 0; prevlen = curlen; count 761 tools/packfi2/trees.c int count = 0; /* repeat count of the current code */ count 770 tools/packfi2/trees.c if (++count < max_count && curlen == nextlen) { count 772 tools/packfi2/trees.c } else if (count < min_count) { count 773 tools/packfi2/trees.c do { send_code(s, curlen, s->bl_tree); } while (--count != 0); count 777 tools/packfi2/trees.c send_code(s, curlen, s->bl_tree); count--; count 779 tools/packfi2/trees.c Assert(count >= 3 && count <= 6, " 3_6?"); count 780 tools/packfi2/trees.c send_code(s, REP_3_6, s->bl_tree); send_bits(s, count-3, 2); count 782 tools/packfi2/trees.c } else if (count <= 10) { count 783 tools/packfi2/trees.c send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count-3, 3); count 786 tools/packfi2/trees.c send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count-11, 7); count 788 tools/packfi2/trees.c count = 0; prevlen = curlen;