start 21 core/memmgmt.c void *start; start 29 core/memmgmt.c h->start = 0; start 44 core/memmgmt.c h->start = mem + ((camera_info.memisosize+3)&0xFFFFFFFC); start 50 core/memmgmt.c h->start = mem; start 54 core/memmgmt.c h->end = h->start + h->size; start 65 core/memmgmt.c for (p=(unsigned long*)h->start; p<(unsigned long*)h->end; p++) *p = 0xDEADBEEF; start 70 core/memmgmt.c h->heap = suba_init(h->start,h->size,8,name); start 85 core/memmgmt.c if (h && h->heap && (p >= h->start) && (p < h->end)) start 100 core/memmgmt.c camera_meminfo->start_address = (int)h->start; start 124 core/memmgmt.c unsigned long* p = (unsigned long*)h->start; start 140 core/memmgmt.c sprintf(osd_buf, "s:%8x e:%8x", h->start, h->end); start 146 core/memmgmt.c sprintf(osd_buf, "OK 0x%x", h->start); start 6 include/firmware_crc_types.h const char *start; start 44 lib/armutil/reboot.c void __attribute__((noreturn)) (*canon_copy_and_restart)(char *dst, char *src, unsigned length,char *start); start 46 lib/lua/lstrlib.c ptrdiff_t start = posrelat(luaL_checkinteger(L, 2), l); start 48 lib/lua/lstrlib.c if (start < 1) start = 1; start 50 lib/lua/lstrlib.c if (start <= end) start 51 lib/lua/lstrlib.c lua_pushlstring(L, s+start-1, end-start+1); start 124 modules/firmware_crc.c crc32(blocks[b].start,blocks[b].size,&fw_crc); start 126 modules/firmware_crc.c s += sprintf(s,"%8x ",blocks[b].start); start 162 modules/games/gui_sokoban.c int start,len; start 165 modules/games/gui_sokoban.c start=level_start_list[lvl]; start 178 modules/games/gui_sokoban.c if(fseek(fd,start,SEEK_SET) != 0) { start 2176 modules/luascript.c static int pack_native_args( lua_State* L, unsigned start, unsigned *argbuf) start 2181 modules/luascript.c for(i = start; i <= end; i++,argbuf++) { start 1443 platform/generic/wrappers.c unsigned long start, length; start 1448 platform/generic/wrappers.c start=1; length=2*1024*1024/SECTOR_SIZE; //2 Mb start 1451 platform/generic/wrappers.c mbr_buf[0x1BE + 8]=start; mbr_buf[0x1BE + 9]=start>>8; mbr_buf[0x1BE + 10]=start>>16; mbr_buf[0x1BE + 11]=start>>24; start 1454 platform/generic/wrappers.c start=start+length; length=drive_sectors-start-1; start 1457 platform/generic/wrappers.c mbr_buf[0x1CE + 8]=start; mbr_buf[0x1CE + 9]=start>>8; mbr_buf[0x1CE + 10]=start>>16; mbr_buf[0x1CE + 11]=start>>24; start 694 tools/capdis.c uint32_t adr=ti->start; start 707 tools/capdis.c uint32_t target = ti->start+2**p; start 720 tools/capdis.c printf("\" .byte((loc_%08x - branchtable_%08x) / 2)\\n\" %s (case %d)\n",target,ti->start,comment_start,i); start 756 tools/capdis.c uint32_t adr=ti->start; start 769 tools/capdis.c uint32_t target = ti->start+2**p; start 782 tools/capdis.c printf("\" .short((loc_%08x - branchtable_%08x) / 2)\\n\" %s (case %d)\n",target,ti->start,comment_start,i); start 798 tools/capdis.c uint32_t adr=ti->start; start 812 tools/capdis.c uint32_t target = ti->start+2*off; start 906 tools/capdis.c ti.start=0; // flag so we can do jump table dump below start 950 tools/capdis.c if(ti.start) { start 1283 tools/chdk_dasm.c void disassemble1(firmware *fw, t_address start, t_value length) start 1309 tools/chdk_dasm.c addr = start ; start 1328 tools/chdk_dasm.c void disassemble(firmware *fw, FILE *outfile, t_address start, t_value length) start 1335 tools/chdk_dasm.c addr = start ; start 1430 tools/chdk_dasm.c t_address find_end(firmware *fw, t_address start) start 1433 tools/chdk_dasm.c start = adr2idx(fw,start); start 1434 tools/chdk_dasm.c for (i=0; i<500; i++, start++) start 1435 tools/chdk_dasm.c if ((fwval(fw,start+1) & 0xFFFF4000) == 0xE92D4000) // STMFD SP!, {...,LR} start 1438 tools/chdk_dasm.c for (j=0; j<50; j++, start--) start 1440 tools/chdk_dasm.c if ((fwval(fw,start) & 0xFF000000) == 0xEA000000) // B start 1442 tools/chdk_dasm.c return idx2adr(fw,start); start 1444 tools/chdk_dasm.c if ((fwval(fw,start) & 0xFFFF8000) == 0xE8BD8000) // LDMFD SP!, {...,PC} start 1446 tools/chdk_dasm.c return idx2adr(fw,start); start 1448 tools/chdk_dasm.c if ((fwval(fw,start) & 0xFFFFFFF0) == 0xE12FFF10) // BX start 1450 tools/chdk_dasm.c return idx2adr(fw,start); start 1452 tools/chdk_dasm.c if ((fwval(fw,start) & 0xFFFFF000) == 0xE49DF000) // LDR PC,[SP,... start 1454 tools/chdk_dasm.c return idx2adr(fw,start); start 88 tools/chdk_dasm.h t_address find_end(firmware *fw, t_address start); start 89 tools/chdk_dasm.h void disassemble1(firmware *fw, t_address start, t_value length); start 90 tools/chdk_dasm.h void disassemble(firmware *fw, FILE *outfile, t_address start, t_value length); start 30 tools/extract_event_procedures.c char * start = str; start 35 tools/extract_event_procedures.c if (str - start > 50) return 0; start 36 tools/extract_event_procedures.c if (*str == 0) return (str-start); start 45 tools/extract_event_procedures.c char * start = str; start 50 tools/extract_event_procedures.c if (str - start > 500) return 0; start 51 tools/extract_event_procedures.c if (*str == 0) return (str-start); start 6223 tools/finsig_thumb2.c disasm_iter_init(fw,is,fw->adr_ranges[i].start | fw->thumb_default); // reset to start of range start 6360 tools/finsig_thumb2.c fw->adr_ranges[i].start, start 6361 tools/finsig_thumb2.c fw->adr_ranges[i].start+fw->adr_ranges[i].bytes, start 6366 tools/finsig_thumb2.c fw->adr_ranges[i].start, start 6367 tools/finsig_thumb2.c fw->adr_ranges[i].start+fw->adr_ranges[i].bytes, start 254 tools/firmware_load_ng.c if(adr >= r->start && adr < r->start + r->bytes) { start 287 tools/firmware_load_ng.c return (r->buf)+(adr - r->start); start 303 tools/firmware_load_ng.c return (r->buf)+(adr - r->start); start 373 tools/firmware_load_ng.c uint32_t find_u32_adr_range(firmware *fw, uint32_t val, uint32_t start,uint32_t maxadr) start 376 tools/firmware_load_ng.c if(start == 0) { start 377 tools/firmware_load_ng.c start=fw->base; start 379 tools/firmware_load_ng.c if(start & 3) { start 380 tools/firmware_load_ng.c fprintf(stderr,"find_u32_adr unaligned start 0x%08x\n",start); start 383 tools/firmware_load_ng.c uint32_t *p=(uint32_t *)adr2ptr(fw,start); start 385 tools/firmware_load_ng.c fprintf(stderr,"find_u32_adr bad start 0x%08x\n",start); start 405 tools/firmware_load_ng.c uint32_t find_u32_adr(firmware *fw, uint32_t val, uint32_t start) start 407 tools/firmware_load_ng.c return find_u32_adr_range(fw,val,start, fw->base + (fw->size8 -4)); start 860 tools/firmware_load_ng.c ti->start=(uint32_t)is->adr; // after current instruction start 867 tools/firmware_load_ng.c max_adr=ti->start+(2*255); start 869 tools/firmware_load_ng.c max_adr=ti->start+(2*65535); start 902 tools/firmware_load_ng.c max_adr = ti->start+max_count*ti->bytes; start 905 tools/firmware_load_ng.c uint32_t adr=ti->start; start 924 tools/firmware_load_ng.c uint32_t target = ti->start+2*off; start 943 tools/firmware_load_ng.c ti->count=(adr-ti->start)/ti->bytes; start 1110 tools/firmware_load_ng.c adr_end=r_start->start + r_start->bytes - is->insn_min_size; start 2164 tools/firmware_load_ng.c void fw_add_adr_range(firmware *fw, uint32_t start, uint32_t end, uint32_t src_start, int type, int flags) start 2178 tools/firmware_load_ng.c if(end <= start) { start 2179 tools/firmware_load_ng.c fprintf(stderr,"fw_add_adr_range: end 0x%08x <= start 0x%08x\n",end,start); start 2182 tools/firmware_load_ng.c uint32_t len=end-start; start 2187 tools/firmware_load_ng.c if(len > fw->size8 - (start - fw->base)) { start 2193 tools/firmware_load_ng.c r->start=start; start 72 tools/firmware_load_ng.h uint32_t start; // copied / relocated firmware address start 210 tools/firmware_load_ng.h uint32_t find_u32_adr_range(firmware *fw, uint32_t val, uint32_t start, uint32_t maxadr); start 215 tools/firmware_load_ng.h uint32_t find_u32_adr(firmware *fw, uint32_t val, uint32_t start); start 346 tools/firmware_load_ng.h uint32_t start; // address of first jumptable entry start 695 tools/firmware_load_ng.h void fw_add_adr_range(firmware *fw, uint32_t start, uint32_t end, uint32_t src_start, int type, int flags); start 65 tools/gen_conf_lua.c int start = strtoul(argv[3], NULL, 0); start 82 tools/gen_conf_lua.c printf("--[[\nGENERATED %s TABLE\n--]]\nreturn {\n _config_id=%d,\n", argv[2], start); start 104 tools/gen_conf_lua.c lastid = atoi(val) + start; start 97 tools/packfi2/deflate.c local void check_match OF((deflate_state *s, IPos start, IPos match, start 1232 tools/packfi2/deflate.c local void check_match(s, start, match, length) start 1234 tools/packfi2/deflate.c IPos start, match; start 1239 tools/packfi2/deflate.c s->window + start, length) != EQUAL) { start 1241 tools/packfi2/deflate.c start, match, length); start 1243 tools/packfi2/deflate.c fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); start 1248 tools/packfi2/deflate.c fprintf(stderr,"\\[%d,%d]", start-match, length); start 1249 tools/packfi2/deflate.c do { putc(s->window[start++], stderr); } while (--length != 0); start 1253 tools/packfi2/deflate.c # define check_match(s, start, match, length) start 159 tools/pakwif.c int r, rtot, start, towr, i, c1, c2; start 161 tools/pakwif.c start = ftell(f); start 164 tools/pakwif.c c1 = start % CRYPT1_SIZE; start 165 tools/pakwif.c c2 = start % CRYPT2_SIZE; start 195 tools/pakwif.c int r, rtot, start, towr, i, c1, c2; start 197 tools/pakwif.c start = ftell(f); start 200 tools/pakwif.c c1 = start % CRYPT1_SIZE; start 201 tools/pakwif.c c2 = start % CRYPT2_SIZE;