buf               451 core/action_stack.c             char buf[100];
buf               452 core/action_stack.c             sprintf(buf,"AS Error - Not a Function. Aborting. %d %08x %08x.",active_stack->stack_ptr,id,f);
buf               453 core/action_stack.c             script_console_add_error((long)buf);
buf                12 core/autoiso.h extern int live_histogram_read_y(unsigned short *buf);
buf              1113 core/conf.c        char *buf = umalloc(size);
buf              1114 core/conf.c        char *p = buf;
buf              1147 core/conf.c            write(fd, buf, p-buf);
buf              1150 core/conf.c        ufree(buf);
buf              1198 core/conf.c        char* buf = load_file(filename, &rcnt, 0);
buf              1200 core/conf.c        if (buf)
buf              1202 core/conf.c            if (*(int*)buf == CONF_MAGICK_VALUE)
buf              1209 core/conf.c                    id = *((short*)(buf + offs));
buf              1214 core/conf.c                    size = *((short*)(buf + offs));
buf              1226 core/conf.c                                    size = cfg->load(buf+offs);
buf              1230 core/conf.c                                    memcpy(ci[i].var, buf+offs, size);
buf              1241 core/conf.c            free(buf);
buf              1252 core/conf.c        char* buf = load_file(filename, &rcnt, 0);
buf              1254 core/conf.c        if (buf)
buf              1256 core/conf.c            if (*(int*)buf == CONF_MAGICK_VALUE)
buf              1264 core/conf.c                    id = conf_map_1_2[*((short*)(buf + offs))];
buf              1269 core/conf.c                    size = *((short*)(buf + offs));
buf              1296 core/conf.c                                        size = cfg->load(buf+offs);
buf              1300 core/conf.c                                        memcpy(ci[i].var, buf+offs, size);
buf              1312 core/conf.c            free(buf);
buf                77 core/console.c     char buf[MAX_CONSOLE_LINE_LENGTH+1];
buf                95 core/console.c                 strncpy(buf,console_buf[i],console_line_length);
buf                96 core/console.c                 buf[console_line_length] = 0;
buf                97 core/console.c                 draw_string_justified(x, y - c * FONT_HEIGHT, buf, col, 0, console_line_length * FONT_WIDTH, TEXT_LEFT|TEXT_FILL);
buf               207 core/gps.c     void draw_txt_centered(int line, char *buf, int color)
buf               209 core/gps.c         draw_txt_string( (camera_screen.width/FONT_WIDTH-strlen(buf))>>1 , line, buf, color) ;
buf                58 core/gui.c     static char buf[256];
buf               305 core/gui.c     	char buf[64];
buf               319 core/gui.c     				sprintf(buf,"%4d is %8d was %8d",i,p,props[i]);
buf               320 core/gui.c     				draw_string(16,FONT_HEIGHT*c,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf               326 core/gui.c     				sprintf(buf,"%s","Waiting 15 Seconds");
buf               327 core/gui.c     				draw_string(16,FONT_HEIGHT*c,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf               333 core/gui.c     		sprintf(buf,"%s","Press <ALT> to leave");
buf               334 core/gui.c     		draw_string(16,FONT_HEIGHT*c,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf               925 core/gui.c         sprintf(buf, lang_str(LANG_MSG_BUILD_INFO_TEXT), camera_info.chdk_ver, camera_info.build_number, camera_info.build_svnrev, camera_info.build_date, camera_info.build_time, camera_info.platform, camera_info.platformsub, comp);
buf               926 core/gui.c         gui_mbox_init(LANG_MSG_BUILD_INFO_TITLE, (int)buf, MBOX_FUNC_RESTORE|MBOX_TEXT_LEFT, NULL);
buf               931 core/gui.c         sprintf(buf, lang_str(LANG_MSG_MEMORY_INFO_TEXT), core_get_free_memory(), camera_info.memisosize, &_start, &_end);
buf               932 core/gui.c         gui_mbox_init(LANG_MSG_MEMORY_INFO_TITLE, (int)buf, MBOX_FUNC_RESTORE|MBOX_TEXT_CENTER, NULL);
buf              1180 core/gui.c         sprintf(buf, "%d%%", (conf.video_quality+1)*10);
buf              1181 core/gui.c         return buf;
buf              1314 core/gui.c         sprintf(buf, "%d.%02d", (int)prop_id/100, (int)prop_id%100 );
buf              1315 core/gui.c         return buf;
buf              1321 core/gui.c         static char buf[9];
buf              1324 core/gui.c             strcpy(buf,"   Inf.");
buf              1336 core/gui.c             sprintf(buf, "%7d", shooting_get_subject_distance_override_value());
buf              1339 core/gui.c         return buf; 
buf              1397 core/gui.c         sprintf(buf, "%01d.%05d", (int)(*v / 100000), (int)(*v % 100000));
buf              1399 core/gui.c         return buf;
buf              1435 core/gui.c         sprintf(buf, "%1d:%02d:%02d", h, m, s);
buf              1437 core/gui.c         return buf;
buf              2522 core/gui.c         buf[0] = 0;
buf              2525 core/gui.c             sprintf(buf,"%-5s %20s",gui_shortcut_text(button),lang_str(func_str));
buf              2526 core/gui.c             buf[26] = 0;
buf              2527 core/gui.c             sprintf(buf+strlen(buf)," [%6s",state);
buf              2528 core/gui.c             buf[34] = 0;
buf              2529 core/gui.c             strcat(buf,"]");
buf              2533 core/gui.c             sprintf(buf,"%-5s %29s",gui_shortcut_text(button),lang_str(func_str));
buf              2537 core/gui.c             sprintf(buf,"%-35s",lang_str(func_str));
buf              2539 core/gui.c         buf[35] = 0;
buf              2540 core/gui.c         draw_string(x, y, buf, col);
buf              2574 core/gui.c         sprintf(buf,lang_str(LANG_HELP_HEADER),
buf              2577 core/gui.c         buf[35] = 0;
buf              2578 core/gui.c         draw_string(x, y, buf, hdr_col);
buf              2583 core/gui.c             sprintf(buf,lang_str(LANG_HELP_HEADER),
buf              2586 core/gui.c             buf[35] = 0;
buf              2587 core/gui.c             draw_string(x, y, buf, col);
buf              2600 core/gui.c             sprintf(buf,lang_str(LANG_HELP_FOCUS),gui_shortcut_text(SHORTCUT_SET_INFINITY),gui_shortcut_text(SHORTCUT_SET_HYPERFOCAL));
buf              2601 core/gui.c             draw_string(x, y, buf, col);
buf              2670 core/gui.c             script_get_alt_text(buf);
buf              2672 core/gui.c                                       buf, MAKE_COLOR(COLOR_RED, COLOR_WHITE), 0, w, TEXT_CENTER) - camera_screen.disp_left;
buf                86 core/gui_menu.c     static char buf[8];
buf                87 core/gui_menu.c     buf[0] = 0;
buf                89 core/gui_menu.c         sprintf(buf, "\xb1%dM",int_incr/1000000);
buf                91 core/gui_menu.c         sprintf(buf, "\xb1%dK",int_incr/1000);
buf                93 core/gui_menu.c         sprintf(buf, "\xb1%d",int_incr);
buf                94 core/gui_menu.c     return buf;
buf                46 core/gui_osd.c static void print_dist(char *buf, int dist, short is_hyp) {
buf                49 core/gui_osd.c         sprintf(buf, " inf");
buf                54 core/gui_osd.c             sprintf(buf, ".%03d", f);
buf                56 core/gui_osd.c             sprintf(buf, "%d.%02d", i, (f+5)/10);
buf                58 core/gui_osd.c             sprintf(buf, "%02d.%d", i, (f+50)/100);
buf                60 core/gui_osd.c             sprintf(buf, "%4d", i);
buf                65 core/gui_osd.c static void sprintf_dist(char *buf, int dist)
buf                67 core/gui_osd.c     print_dist(buf, dist, 0);
buf                71 core/gui_osd.c static void sprintf_dist_hyp(char *buf, int dist)
buf                73 core/gui_osd.c     print_dist(buf, dist, 1);
buf                76 core/gui_osd.c static void sprintf_canon_values(char *buf, short dist) 
buf                79 core/gui_osd.c     sprintf(buf, "%s%d.%02d", ((dist<0)?"-":""), v/96, v%96);
buf                99 core/gui_script.c const char* get_token(const char *p, char *buf, int maxlen)
buf               104 core/gui_script.c     strncpy(buf, p, n);
buf               105 core/gui_script.c     buf[n] = 0;
buf               424 core/gui_script.c     const char *buf=0;
buf               426 core/gui_script.c         buf = load_file_to_length(conf.script_file, 0, 1, 4096);    // Assumes parameters are in first 4K of script file
buf               429 core/gui_script.c     if (buf == 0)
buf               441 core/gui_script.c     const char *ptr = buf;
buf               485 core/gui_script.c     free((void*)buf);
buf               570 core/gui_script.c     char* buf = load_file(nm, 0, 1);
buf               571 core/gui_script.c     if (buf == 0)
buf               574 core/gui_script.c         buf = load_file(nm, 0, 1);
buf               575 core/gui_script.c         if (buf == 0)
buf               579 core/gui_script.c     const char* ptr = buf;
buf               608 core/gui_script.c         ptr = buf;
buf               630 core/gui_script.c     free(buf);
buf               642 core/gui_script.c     char buf[100];
buf               656 core/gui_script.c                 sprintf(buf,"#%s=%d\n",p->name,p->val);
buf               657 core/gui_script.c                 write(fd, buf, strlen(buf));
buf               152 core/modules.c void module_restore_edge(void **buf, int *state) { *buf = saved_edgebuf; *state = saved_edgestate; }
buf               153 core/modules.c void module_save_edge(void* buf, int state)      { saved_edgebuf = buf; saved_edgestate = state; }
buf                50 core/ptp.c         char *buf; // buffer for transfer
buf                71 core/ptp.c         rs->buf = get_ptp_file_buf();
buf               102 core/ptp.c             rs->buf = malloc(rs->buf_size);
buf               103 core/ptp.c             if(!rs->buf) {
buf               107 core/ptp.c             rs->buf = NULL;
buf               125 core/ptp.c         if(!rs->buf) {
buf               154 core/ptp.c         if(data->recv_data(data->handle,rs->buf,rsize,0,0) != 0) {
buf               158 core/ptp.c             memcpy(rs->dst_buf + rs->total_read,rs->buf,rsize);
buf               170 core/ptp.c         free(rs->buf);
buf               180 core/ptp.c     static int recv_ptp_data(ptp_data *data, char *buf, int size)
buf               183 core/ptp.c         if(!recv_ptp_data_init(&rs,size,buf)) {
buf               198 core/ptp.c         char *buf;
buf               216 core/ptp.c         sb->buf=malloc(buf_size);
buf               217 core/ptp.c         if(!sb->buf) {
buf               230 core/ptp.c         free(sb->buf);
buf               231 core/ptp.c         sb->buf=NULL;
buf               270 core/ptp.c             if(src >= sb.buf && src < sb.buf + send_size) {
buf               272 core/ptp.c                 if(src + size < sb.buf + sb.size) {
buf               277 core/ptp.c                     send_size = sb.size - (src - sb.buf);
buf               281 core/ptp.c                 if(src < sb.buf && src + send_size > sb.buf) {
buf               283 core/ptp.c                     send_size = sb.buf - src;
buf               285 core/ptp.c                 copy_fn(sb.buf,src,send_size);
buf               287 core/ptp.c             if ( data->send_data(data->handle,sb.buf,send_size,tmpsize,0,0,0) )
buf               550 core/ptp.c             unsigned *buf = malloc(s);
buf               552 core/ptp.c             if ( buf == NULL )
buf               558 core/ptp.c             if ( recv_ptp_data(data,(char *) buf,s) )
buf               561 core/ptp.c               ptp.param1 = call_func_ptr((void *)buf[0],(unsigned *)buf+1,(s-4)/4);
buf               566 core/ptp.c             free(buf);
buf               648 core/ptp.c                     fn_len = *(unsigned *)rs.buf;
buf               654 core/ptp.c                     memcpy(fn,rs.buf+4,fn_len);
buf               662 core/ptp.c                     fwrite(rs.buf+4+fn_len,1,rs.last_read - 4 - fn_len,f);
buf               664 core/ptp.c                     fwrite(rs.buf,1,rs.last_read,f);
buf               736 core/ptp.c             while ( (r = fread(sb.buf,1,(t<sb.size)?t:sb.size,f)) > 0 )
buf               739 core/ptp.c               data->send_data(data->handle,sb.buf,r,tmp,0,0,0);
buf               757 core/ptp.c             char *buf;
buf               771 core/ptp.c             buf = (char *) malloc(s);
buf               772 core/ptp.c             if ( buf == NULL )
buf               778 core/ptp.c             recv_ptp_data(data,buf,s);
buf               787 core/ptp.c                     free(buf);
buf               807 core/ptp.c             if (script_start_ptp(buf) < 0) {
buf               813 core/ptp.c             free(buf);
buf                31 core/ptp_chdk.h     int (*send_data)(int handle, const char *buf, int part_size, int total_size, int, int, int); // (0xFF9F525C), total_size should be 0 except for the first call
buf                32 core/ptp_chdk.h     int (*recv_data)(int handle, char *buf, int size, int, int); // (0xFF9F5500)
buf               149 core/script.c  void script_get_alt_text(char *buf)
buf               153 core/script.c          sprintf(buf,"<EXIT=%s>",script_terminate_key_name);
buf               157 core/script.c          strcpy(buf,"<ALT>");
buf                74 core/suba.c    	char buf[200];
buf                75 core/suba.c    	sprintf(buf, "%s bad cell - %x %x", fn, c, suba);
buf                76 core/suba.c    	DebugAssert(buf, ln);
buf               148 core/suba.c        char buf[200];
buf               151 core/suba.c        sprintf(buf, "%x %d %x %d =>\n", c, suba->mincell, suba->largest_block, suba->largest_block->h.size);
buf               152 core/suba.c        fwrite(buf, strlen(buf), 1, fp);
buf               155 core/suba.c            sprintf(buf, "%x %d %x\n", c, c->h.size, c->next);
buf               156 core/suba.c            fwrite(buf, strlen(buf), 1, fp);
buf               159 core/suba.c        sprintf(buf, "%x %d %x\n", c, c->h.size, c->next);
buf               160 core/suba.c        fwrite(buf, strlen(buf), 1, fp);
buf               178 core/suba.c        char buf[200];
buf               183 core/suba.c            sprintf(buf, "largest %x %d %x %d\n", suba->largest_block, suba->largest_block->h.size, largest, largest->h.size);
buf               184 core/suba.c            DebugAssert(buf, __LINE__);
buf               189 core/suba.c            sprintf(buf, "free_size %d %d\n", suba->free_size, free_size);
buf               190 core/suba.c            DebugAssert(buf, __LINE__);
buf               195 core/suba.c            sprintf(buf, "free_count %d %d\n", suba->free_block_count, count);
buf               196 core/suba.c            DebugAssert(buf, __LINE__);
buf               200 core/usb_remote.c     char buf[64];
buf               201 core/usb_remote.c     sprintf(buf, "%d %d ", synch_delay_tick, t);
buf               204 core/usb_remote.c       write(fd, buf, strlen(buf));
buf               440 core/usb_remote.c             char buf[64] ;
buf               455 core/usb_remote.c                             sprintf(buf,"RESET      ") ;
buf               458 core/usb_remote.c                             sprintf(buf,"RELEASED  ") ;
buf               461 core/usb_remote.c                             sprintf(buf,"HALF PRESS    ") ;
buf               464 core/usb_remote.c                             sprintf(buf,"FULL PRESS    ") ;
buf               467 core/usb_remote.c                             sprintf(buf,"ERROR    ") ;
buf               470 core/usb_remote.c                     draw_string(2,FONT_HEIGHT,buf,MAKE_COLOR(COLOR_YELLOW,COLOR_RED));
buf               474 core/usb_remote.c                     sprintf(buf,"RMT=%d drv=%d lgc=%d  sync=%d  tmo=%d  ", usb_remote_active, driver_state, logic_module_state, usb_sync_wait_flag, (bracketing_timeout?bracketing_timeout-get_tick_count():0));
buf               475 core/usb_remote.c                     draw_string(2,FONT_HEIGHT*3,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf               480 core/usb_remote.c                     sprintf(buf,"switch=%d logic=%d sync=%s mode=%d  ", switch_type, control_module, conf.synch_enable?"yes":"no", camera_mode) ;
buf               481 core/usb_remote.c                     draw_string(2,FONT_HEIGHT*2,buf,MAKE_COLOR(COLOR_YELLOW,COLOR_BLACK));
buf               482 core/usb_remote.c                     sprintf(buf,"sync count=%d, pulse count=%d width=%d  b=%d  ", sync_counter, usb_count, usb_power,   bracketing.shoot_counter);
buf               483 core/usb_remote.c                     draw_string(2,FONT_HEIGHT*4,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf               484 core/usb_remote.c                     sprintf(buf,"physw=%d err=%d %d %d  ", physw_status[0]&0x03, debug_errors[0],  debug_errors[1],  debug_errors[2] );
buf               485 core/usb_remote.c                     draw_string(2,FONT_HEIGHT*5,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf               495 core/usb_remote.c                         sprintf(&buf[buff_pos],"%d ", *buff_ptr) ;
buf               496 core/usb_remote.c                         buff_pos = strlen(buf) ;
buf               499 core/usb_remote.c                             buf[45] = 0 ;
buf               504 core/usb_remote.c                     draw_string(2,FONT_HEIGHT*6,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW));
buf                 8 include/fileutil.h typedef int (*callback_process_file)(char* buf, int size);
buf                36 include/lolevel.h extern long _GetPropertyCase(long opt_id, void *buf, long bufsize);
buf                37 include/lolevel.h extern long _SetPropertyCase(long opt_id, void *buf, long bufsize);
buf                72 include/lolevel.h extern long _GetParameterData(long id, void *buf, long size);
buf                73 include/lolevel.h extern long _SetParameterData(long id, void *buf, long size);
buf                98 include/lolevel.h extern long _Fread_Fut(void *buf, long elsize, long count, long f);
buf                99 include/lolevel.h extern long _Fwrite_Fut(const void *buf, long elsize, long count, long f);
buf               104 include/lolevel.h extern char *_Fgets_Fut(char *buf, int n, long f);
buf               137 include/lolevel.h extern int _vsprintf(char *buf, const char *fmt, __builtin_va_list va_list);
buf               144 include/lolevel.h extern int _printf(char *buf, ...);
buf               273 include/lolevel.h extern int _WriteSDCard(unsigned int drive, unsigned int start_sect, unsigned int num_sect, void *buf);
buf                43 include/properties.h extern long get_property_case(long id, void *buf, long bufsize);
buf                44 include/properties.h extern long set_property_case(long id, void *buf, long bufsize);
buf                50 include/properties.h extern long get_parameter_data(long id, void *buf, long bufsize);
buf                51 include/properties.h extern long set_parameter_data(long id, void *buf, long bufsize);
buf                57 include/script.h extern void script_get_alt_text(char *buf);
buf               146 include/stdlib.h extern long fread(void *buf, long elsize, long count, FILE *f);
buf               147 include/stdlib.h extern long fwrite(const void *buf, long elsize, long count, FILE *f);
buf               152 include/stdlib.h extern char *fgets(char *buf, int n, FILE *f);
buf                39 lib/armutil/reboot.c 	char *buf;
buf                53 lib/armutil/reboot.c 	buf = umalloc(size);
buf                54 lib/armutil/reboot.c 	if(!buf) {
buf                59 lib/armutil/reboot.c 	rcnt = read(fd, buf, size);
buf                62 lib/armutil/reboot.c 		ufree(buf);
buf                72 lib/armutil/reboot.c 		ufree(buf);
buf                77 lib/armutil/reboot.c 	canon_copy_and_restart((void *)0x1900,buf,size,(void *)0x1900);
buf                19 lib/lang/fileutil.c 	char* buf = 0;      // memory buffer to return
buf                43 lib/lang/fileutil.c     	            buf = malloc(ssize+add0);
buf                44 lib/lang/fileutil.c                     if (buf != 0)
buf                54 lib/lang/fileutil.c                             memcpy(buf+lsize,ubuf,len);
buf                57 lib/lang/fileutil.c                         if (add0) buf[ssize] = 0;
buf                70 lib/lang/fileutil.c 	return buf;
buf                83 lib/lang/fileutil.c 	char* buf = _load_file(name, &rsize, &ssize, add0);
buf                89 lib/lang/fileutil.c         if (buf) free(buf);
buf                90 lib/lang/fileutil.c         buf = 0;
buf                94 lib/lang/fileutil.c 	return buf;
buf               119 lib/lang/fileutil.c     char *buf = load_file(filename, &size, add0);
buf               121 lib/lang/fileutil.c 	size = callback(buf, size);
buf               123 lib/lang/fileutil.c 	if (buf)
buf               124 lib/lang/fileutil.c 		free(buf);
buf               136 lib/lang/fileutil.c 	char *buf;
buf               138 lib/lang/fileutil.c 	buf = load_file(filename, 0, 1);
buf               139 lib/lang/fileutil.c 	if (!buf)
buf               143 lib/lang/fileutil.c 		*value_p = strtol(buf, NULL, 10 /*dec*/);
buf               144 lib/lang/fileutil.c 	free(buf);
buf               153 lib/lang/fileutil.c 	char* buf = umalloc(20);
buf               154 lib/lang/fileutil.c 	if ( !buf )
buf               157 lib/lang/fileutil.c 	sprintf(buf,"%d", value);
buf               162 lib/lang/fileutil.c 		write(fd, buf, strlen(buf)+1);
buf               165 lib/lang/fileutil.c 	ufree(buf);
buf                89 lib/lang/lang.c int lang_parse_from_mem(char *buf, int size) {
buf               111 lib/lang/lang.c     e = buf-1;
buf                38 lib/lua/lbaselib.c   char buf[128];
buf                39 lib/lua/lbaselib.c   const int max_buf_chars=sizeof(buf)-1;
buf                41 lib/lua/lbaselib.c   buf[0] = 0;
buf                62 lib/lua/lbaselib.c       strcpy(buf+buf_chars," ");
buf                66 lib/lua/lbaselib.c       strncpy(buf+buf_chars,s,max_buf_chars-buf_chars);
buf                67 lib/lua/lbaselib.c       buf[max_buf_chars]=0;
buf                70 lib/lua/lbaselib.c     strcpy(buf+buf_chars,s);
buf                71 lib/lua/lbaselib.c     buf_chars = strlen(buf);
buf                77 lib/lua/lbaselib.c   fprintf(stdout,"%s\n",buf);
buf                79 lib/lua/lbaselib.c   script_console_add_line((long)buf);
buf               917 lib/ubasic/ubasic.c   static char buf[128];
buf               919 lib/ubasic/ubasic.c   buf[0]=0;
buf               925 lib/ubasic/ubasic.c       sprintf(buf+strlen(buf), "%s", string);
buf               928 lib/ubasic/ubasic.c       strcat(buf, " ");
buf               933 lib/ubasic/ubasic.c       sprintf(buf+strlen(buf), "%d", expr());
buf               936 lib/ubasic/ubasic.c   script_console_add_line((long)buf);
buf              2670 lib/ubasic/ubasic.c                 char buf[100];
buf              2680 lib/ubasic/ubasic.c                 sprintf(buf, "uBASIC:%d %s ", ubasic_linenumber(), msg);
buf              2682 lib/ubasic/ubasic.c                 script_console_add_error((long)buf);
buf                64 modules/cpuinfo.c     char buf[100];
buf                70 modules/cpuinfo.c         sprintf(buf,"%-10s 0x%08X\n",cpuinfo_desc[i].name,wordval);
buf                71 modules/cpuinfo.c         fwrite(buf,1,strlen(buf),finfo);
buf                73 modules/cpuinfo.c             p=buf;
buf                82 modules/cpuinfo.c             fwrite(buf,1,strlen(buf),finfo);
buf                87 modules/cpuinfo.c     sprintf(buf, lang_str(LANG_CPUINFO_WROTE), "A/CPUINFO.TXT");
buf                88 modules/cpuinfo.c     gui_mbox_init(LANG_MENU_DEBUG_CPU_INFO,(int)buf,MBOX_FUNC_RESTORE|MBOX_TEXT_CENTER, cpuinfo_finish);
buf                68 modules/dbg_dump.c     static dumpinfo buf;
buf                70 modules/dbg_dump.c     dumpinfo *pb = ADR_TO_UNCACHED(&buf);
buf               162 modules/dbg_dump.c     static char buf[128]; // could overflow if expr is long
buf               163 modules/dbg_dump.c     sprintf(buf,"ASSERT %s:%d %s",file,line,expr);
buf               164 modules/dbg_dump.c     script_console_add_error( (long)buf );
buf               165 modules/dbg_dump.c     dbg_dump_write(dumpfile,0,sizeof(buf),buf);
buf               792 modules/dng.c      int *buf;
buf               802 modules/dng.c      buf=malloc(BUF_SIZE);
buf               803 modules/dng.c      if (buf)
buf               809 modules/dng.c              fread(buf, 1, 8, dng);
buf               810 modules/dng.c              if (buf[0]==0x2A4949 && buf[1]==8)
buf               819 modules/dng.c                          fread(buf, 1, BUF_SIZE, dng);
buf               820 modules/dng.c                          reverse_bytes_order2((char*)buf, (char*)buf, BUF_SIZE);
buf               821 modules/dng.c                          fwrite(buf, 1, BUF_SIZE, raw);
buf               823 modules/dng.c                      fread(buf, 1, camera_sensor.raw_size%BUF_SIZE, dng);
buf               824 modules/dng.c                      reverse_bytes_order2((char*)buf, (char*)buf, camera_sensor.raw_size%BUF_SIZE);
buf               825 modules/dng.c                      fwrite(buf, 1, camera_sensor.raw_size%BUF_SIZE, raw);
buf               833 modules/dng.c          free(buf);
buf               900 modules/dng.c      char *buf = thumbnail_buf;
buf               927 modules/dng.c              *buf++ = gamma[get_raw_pixel(x,y)>>shift];           // red pixel
buf               930 modules/dng.c              *buf++ = gamma[g+(g>>2)];  // green pixel was (6*g/10), now (g/2 + g/8)
buf               931 modules/dng.c              *buf++ = gamma[get_raw_pixel(x+1,y+1)>>shift];       // blue pixel
buf                22 modules/edgeoverlay.h extern void module_restore_edge(void **buf, int *state);
buf                23 modules/edgeoverlay.h extern void module_save_edge(void* buf, int state);
buf               143 modules/eyefi.c         unsigned char   buf[EYEFI_BUF_SIZE];    // raw buffer data
buf               152 modules/eyefi.c     memset(eyefi_buf.buf, 0, EYEFI_BUF_SIZE);
buf               254 modules/eyefi.c     int bytesWritten = write(fd, eyefi_buf.buf, EYEFI_BUF_SIZE);
buf               271 modules/eyefi.c     int bytesRead = read(fd, eyefi_buf.buf, EYEFI_BUF_SIZE);
buf                34 modules/eyefi.h void pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len, int iterations, u8 *buf, size_t buflen);
buf                34 modules/games/gui_mastermind.c static char buf[128];
buf               272 modules/games/gui_mastermind.c     sprintf(buf, "Time: %2u:%02u  Batt:%3d%%", ttm->tm_hour, ttm->tm_min, get_batt_perc());
buf               274 modules/games/gui_mastermind.c                           buf, TEXT_COLOR, 0, camera_screen.disp_width-FONT_WIDTH, TEXT_RIGHT);
buf                47 modules/games/gui_reversi.c static char buf[128];
buf               331 modules/games/gui_reversi.c     sprintf(buf, " %d ", NumPl1);
buf               332 modules/games/gui_reversi.c     draw_string(x+FONT_WIDTH*(7-strlen(buf))/2, y+FONT_HEIGHT*2, buf, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE));
buf               336 modules/games/gui_reversi.c     sprintf(buf, " %d ", NumPl2);
buf               337 modules/games/gui_reversi.c     draw_string(x+FONT_WIDTH*(7-strlen(buf))/2, y+FONT_HEIGHT*6, buf, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE));
buf               424 modules/games/gui_reversi.c     sprintf(buf, "Batt:%3d%%", get_batt_perc());
buf               426 modules/games/gui_reversi.c                           buf, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE), 0, camera_screen.disp_width, TEXT_RIGHT);
buf               161 modules/games/gui_sokoban.c     char *buf;
buf               173 modules/games/gui_sokoban.c     buf=malloc(len+1);
buf               174 modules/games/gui_sokoban.c     if(!buf) {
buf               181 modules/games/gui_sokoban.c         free(buf);
buf               184 modules/games/gui_sokoban.c     fread(buf,1,len,fd);
buf               185 modules/games/gui_sokoban.c     buf[len]=0;
buf               188 modules/games/gui_sokoban.c     p=buf;
buf               210 modules/games/gui_sokoban.c     p=buf;
buf               221 modules/games/gui_sokoban.c     free(buf);
buf               289 modules/games/gui_sokoban.c         char *buf,*p;
buf               300 modules/games/gui_sokoban.c         buf=malloc(st.st_size+1);
buf               301 modules/games/gui_sokoban.c         if(!buf) {
buf               306 modules/games/gui_sokoban.c         fread(buf,1,st.st_size,fd);
buf               307 modules/games/gui_sokoban.c         buf[st.st_size]=0;
buf               309 modules/games/gui_sokoban.c         p = buf;
buf               315 modules/games/gui_sokoban.c                 unsigned pos = p - buf;
buf               323 modules/games/gui_sokoban.c                     unsigned len = p - (buf + level_start_list[num_levels]);
buf               333 modules/games/gui_sokoban.c         free(buf);
buf              1016 modules/games/gui_sudoku.c     char *buf = load_file("A/CHDK/GAMES/SUDOKU.SAV", 0, 0);
buf              1017 modules/games/gui_sudoku.c 	if (buf) { //load last sudoku
buf              1018 modules/games/gui_sudoku.c         memcpy(user, buf, sizeof(user));
buf              1019 modules/games/gui_sudoku.c         memcpy(field, buf+sizeof(user), sizeof(field));
buf              1020 modules/games/gui_sudoku.c         free(buf);
buf               684 modules/games/gui_tetris.c             long buf;
buf               685 modules/games/gui_tetris.c             buf = game->stats.score;
buf               689 modules/games/gui_tetris.c             fwrite(&buf, 1, sizeof(buf), f);
buf               774 modules/games/gui_tetris.c     long buf;
buf               784 modules/games/gui_tetris.c         fread(&buf, 1, sizeof(buf), f);
buf               785 modules/games/gui_tetris.c         game->stats.high = buf;
buf                44 modules/gui_bench.c static char buf[48];
buf                95 modules/gui_bench.c             sprintf(buf, "%7d Kb/s   %3d FPS", value/1024, (ss==0)?0:value/ss);
buf                97 modules/gui_bench.c             strcpy(buf, clearline);
buf                98 modules/gui_bench.c         draw_txt_string(17, pos, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               106 modules/gui_bench.c             sprintf(buf, "%7d C,  %6d UC Kb/s ", value/1024, value_uc/1024);
buf               108 modules/gui_bench.c             strcpy(buf, clearline);
buf               109 modules/gui_bench.c         draw_txt_string(17, pos, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               117 modules/gui_bench.c             sprintf(buf, "%7d Kb/s      ", value);
buf               119 modules/gui_bench.c             strcpy(buf, clearline);
buf               120 modules/gui_bench.c         draw_txt_string(17, pos, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               129 modules/gui_bench.c             sprintf(buf, "%7d MIPS    ", value);
buf               131 modules/gui_bench.c             strcpy(buf, clearline);
buf               132 modules/gui_bench.c         draw_txt_string(17, pos, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               143 modules/gui_bench.c                 sprintf(buf, " %d, %d c/s %d, %d FPS", value, valuen, s, sn);
buf               146 modules/gui_bench.c             strcpy(buf, clearline);
buf               147 modules/gui_bench.c         draw_txt_string(17, pos, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               273 modules/gui_bench.c             add_to_log(log_run,"CPU             :",buf);
buf               276 modules/gui_bench.c             add_to_log(log_run,"Screen write    :",buf);
buf               278 modules/gui_bench.c             add_to_log(log_run,"Viewport read   :",buf);
buf               281 modules/gui_bench.c             add_to_log(log_run,"Memory write    :",buf);
buf               283 modules/gui_bench.c             add_to_log(log_run,"Memory read     :",buf);
buf               286 modules/gui_bench.c             add_to_log(log_run,"Text drawing    :",buf);
buf               287 modules/gui_bench.c             buf[0] = 0; // empty buffer before optional tests to avoid confusing output when those are not enabled
buf               290 modules/gui_bench.c             add_to_log(log_run,"Card write (RAW):",buf);
buf               292 modules/gui_bench.c             add_to_log(log_run,"Card write (MEM):",buf);
buf               294 modules/gui_bench.c             add_to_log(log_run,"Card write (64k):",buf);
buf               296 modules/gui_bench.c             add_to_log(log_run,"Card read  (64k):",buf);
buf               388 modules/gui_bench.c     register char *buf = (char *)buff;
buf               394 modules/gui_bench.c             buf=ADR_TO_UNCACHED(buf);
buf               406 modules/gui_bench.c                 :: "r" (buf), "r" (buf+0x10000), "r" (n) : "r0", "r1"
buf               421 modules/gui_bench.c     register char *buf = (char *)buff;
buf               427 modules/gui_bench.c             buf=ADR_TO_UNCACHED(buf);
buf               439 modules/gui_bench.c                 :: "r" (buf), "r" (buf+0x10000), "r" (n) : "r0", "r1"
buf                28 modules/gui_debug.c static char buf[32];
buf                49 modules/gui_debug.c         sprintf(buf, "0x%08X (%10u)", *((unsigned int*)addr), *((unsigned int*)addr));
buf                50 modules/gui_debug.c         draw_string(10*FONT_WIDTH, y, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf                52 modules/gui_debug.c         sprintf(buf, "0x%04X     (     %5hu)", *((unsigned short*)addr), *((unsigned short*)addr));
buf                53 modules/gui_debug.c         draw_string(10*FONT_WIDTH, y+FONT_HEIGHT, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf                55 modules/gui_debug.c         sprintf(buf, "0x%02X       (       %3hu)", *((unsigned char*)addr), *((unsigned char*)addr));
buf                56 modules/gui_debug.c         draw_string(10*FONT_WIDTH, y+2*FONT_HEIGHT, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf                59 modules/gui_debug.c             if (*((char*)(addr+i))) buf[i]=*((char*)(addr+i));
buf                63 modules/gui_debug.c             buf[i++]=' ';
buf                65 modules/gui_debug.c         buf[i]=0;
buf                66 modules/gui_debug.c         draw_string(10*FONT_WIDTH, y+3*FONT_HEIGHT, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf                99 modules/gui_debug.c             sprintf(buf, "0x%08X", addr);
buf               100 modules/gui_debug.c             draw_string(10*FONT_WIDTH, 0, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               101 modules/gui_debug.c             sprintf(buf, "0x%08X", step);
buf               102 modules/gui_debug.c             draw_string(28*FONT_WIDTH, 0, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               103 modules/gui_debug.c             sprintf(buf,"%0d",debug_cont_update);
buf               104 modules/gui_debug.c             draw_string(44*FONT_WIDTH, 0, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf                66 modules/gui_fselect.c static char buf[MAX_PATH_LEN];
buf              1272 modules/gui_fselect.c     char *p = buf + sprintf(buf,"%s %s\n",selected->name,lang_str(LANG_FSELECT_SUB_FROM));
buf              1294 modules/gui_fselect.c     gui_mbox_init(LANG_FSELECT_SUBTRACT, (int)buf,
buf              1336 modules/gui_fselect.c             sprintf(buf, "%s/%s", items.dir, selected->name);
buf              1337 modules/gui_fselect.c             raw_prepare_develop(buf, 1);
buf              1364 modules/gui_fselect.c         sprintf(buf, "%s/%s", items.dir, name);
buf              1365 modules/gui_fselect.c         rename(selected_file, buf);
buf              1399 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);
buf              1401 modules/gui_fselect.c                           (int)buf, MBOX_TEXT_CENTER|MBOX_BTN_YES_NO|MBOX_DEF_BTN2, fselect_marked_paste_cb);
buf              1404 modules/gui_fselect.c             sprintf(buf, lang_str(LANG_FSELECT_DELETE_TEXT), fselect_marked_count());
buf              1405 modules/gui_fselect.c             gui_mbox_init(LANG_FSELECT_DELETE_TITLE, (int)buf,
buf               107 modules/gui_hexbox.c     char buf[12];
buf               109 modules/gui_hexbox.c     sprintf(buf, "0x%08X", hexnum);
buf               110 modules/gui_hexbox.c     draw_string(posx, posy, buf,  MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               113 modules/gui_hexbox.c         draw_char(posx+digit*FONT_WIDTH, posy, buf[digit], MAKE_COLOR(COLOR_RED, COLOR_WHITE));
buf               121 modules/gui_hexbox.c     char buf[12];
buf               123 modules/gui_hexbox.c         sprintf(buf, "%4dM%s", hexnum>>20, ((hexnum&0xfffff)>0)?"+":" " );
buf               126 modules/gui_hexbox.c         sprintf(buf, "%4dk%s", hexnum>>10, ((hexnum&0x3ff)>0)?"+":" " );
buf               129 modules/gui_hexbox.c         sprintf(buf, "%4d  ", hexnum);
buf               131 modules/gui_hexbox.c     draw_string(posx, posy, buf, MAKE_COLOR(COLOR_WHITE, COLOR_BLACK));
buf               260 modules/gui_palette.c     static char buf[64];
buf               282 modules/gui_palette.c             sprintf(buf, " %s: 0x%02hX 0x%08X", lang_str(LANG_PALETTE_TEXT_COLOR), cl.col, pal[chdkColorToCanonColor(cl)]);
buf               284 modules/gui_palette.c             sprintf(buf, " %s: 0x%02hX", lang_str(LANG_PALETTE_TEXT_COLOR), cl.col );
buf               285 modules/gui_palette.c         draw_string(xl, 0, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
buf               648 modules/luascript.c     void *buf;
buf               652 modules/luascript.c     buf = malloc(size);
buf               653 modules/luascript.c     if(!buf) {
buf               656 modules/luascript.c     if(get_property_case(prop_id,buf,size) == 0) {
buf               657 modules/luascript.c         lua_pushlstring( L, buf, size );
buf               661 modules/luascript.c     free(buf);
buf               836 modules/luascript.c     char *buf = malloc(size);
buf               837 modules/luascript.c     if(!buf) {
buf               840 modules/luascript.c     get_parameter_data( id, buf, size );
buf               841 modules/luascript.c     lua_pushlstring( L, buf, size );
buf               842 modules/luascript.c     free(buf);
buf               113 modules/md5.c  	u32 buf[4];
buf               120 modules/md5.c  static void MD5Update(struct MD5Context *context, unsigned char const *buf,
buf               124 modules/md5.c  static void MD5Transform(u32 buf[4], u32 const in[16]);
buf               168 modules/md5.c  #define byteReverse(buf, len)	/* Nothing */
buf               173 modules/md5.c  static void byteReverse(unsigned char *buf, unsigned longs)
buf               177 modules/md5.c  	t = (u32) ((unsigned) buf[3] << 8 | buf[2]) << 16 |
buf               178 modules/md5.c  	    ((unsigned) buf[1] << 8 | buf[0]);
buf               179 modules/md5.c  	*(u32 *) buf = t;
buf               180 modules/md5.c  	buf += 4;
buf               191 modules/md5.c      ctx->buf[0] = 0x67452301;
buf               192 modules/md5.c      ctx->buf[1] = 0xefcdab89;
buf               193 modules/md5.c      ctx->buf[2] = 0x98badcfe;
buf               194 modules/md5.c      ctx->buf[3] = 0x10325476;
buf               204 modules/md5.c  void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len)
buf               224 modules/md5.c  	    os_memcpy(p, buf, len);
buf               227 modules/md5.c  	os_memcpy(p, buf, t);
buf               229 modules/md5.c  	MD5Transform(ctx->buf, (u32 *) ctx->in);
buf               230 modules/md5.c  	buf += t;
buf               236 modules/md5.c  	os_memcpy(ctx->in, buf, 64);
buf               238 modules/md5.c  	MD5Transform(ctx->buf, (u32 *) ctx->in);
buf               239 modules/md5.c  	buf += 64;
buf               245 modules/md5.c      os_memcpy(ctx->in, buf, len);
buf               273 modules/md5.c  	MD5Transform(ctx->buf, (u32 *) ctx->in);
buf               287 modules/md5.c      MD5Transform(ctx->buf, (u32 *) ctx->in);
buf               288 modules/md5.c      byteReverse((unsigned char *) ctx->buf, 4);
buf               289 modules/md5.c      os_memcpy(digest, ctx->buf, 16);
buf               310 modules/md5.c  static void MD5Transform(u32 buf[4], u32 const in[16])
buf               314 modules/md5.c      a = buf[0];
buf               315 modules/md5.c      b = buf[1];
buf               316 modules/md5.c      c = buf[2];
buf               317 modules/md5.c      d = buf[3];
buf               387 modules/md5.c      buf[0] += a;
buf               388 modules/md5.c      buf[1] += b;
buf               389 modules/md5.c      buf[2] += c;
buf               390 modules/md5.c      buf[3] += d;
buf               118 modules/module_load.c int b_read(int fd, char* buf, int len)
buf               129 modules/module_load.c         memcpy(buf+loaded, buf_load, now);
buf               187 modules/module_load.c         char buf[100];
buf               188 modules/module_load.c         sprintf(buf, "Fail to load %s: %s", name, text);
buf               191 modules/module_load.c         console_add_line(buf);
buf               207 modules/module_load.c     unsigned char* buf = (unsigned char*)flat;      // base address of module in memory
buf               213 modules/module_load.c         *(uint32_t*)(buf+rbuf[i]) += (uint32_t)buf;
buf               250 modules/module_load.c     unsigned char* buf = (unsigned char*)flat;  // base address of module in memory
buf               267 modules/module_load.c             *(uint32_t*)(buf+offs) += importaddress;
buf               301 modules/module_load.c static void module_writeline(char *buf)
buf               309 modules/module_load.c             write(fd, buf, strlen(buf));
buf               329 modules/module_load.c             char buf[100];
buf               334 modules/module_load.c             sprintf(buf, "Tick    ,Op,Address ,Name (%04d:%02d:%02d %02d:%02d:%02d)\n", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday, ttm->tm_hour, ttm->tm_min, ttm->tm_sec);
buf               336 modules/module_load.c             module_writeline(buf);
buf               352 modules/module_load.c         char buf[100];
buf               353 modules/module_load.c         sprintf(buf,"%8d,LD,%08x,%s\n",get_tick_count(),adr,name);
buf               356 modules/module_load.c         module_writeline(buf);
buf               365 modules/module_load.c         char buf[100];
buf               366 modules/module_load.c         sprintf(buf,"%8d,UN,        ,%s\n",get_tick_count(),name);
buf               369 modules/module_load.c         module_writeline(buf);
buf               717 modules/module_load.c     char buf[100];
buf               718 modules/module_load.c     sprintf(buf, lang_str(err), name);
buf               719 modules/module_load.c     gui_mbox_init(LANG_ERROR, (int)buf, MBOX_BTN_OK|MBOX_TEXT_CENTER, NULL);
buf               346 modules/motion_detector.c     char buf[200], fn[30];
buf               382 modules/motion_detector.c             ln=sprintf(buf,"[%d] - %d\r\n",i,motion_detector.comp_calls[i]);
buf               387 modules/motion_detector.c             memcpy(big+big_ln,buf,ln+1);
buf               127 modules/sha1.c 	      const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
buf               150 modules/sha1.c 					 &buf[pos]);
buf               155 modules/sha1.c 			memcpy(&buf[pos], hash, plen);
buf               178 modules/sha1.c 		const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
buf               207 modules/sha1.c 			memcpy(&buf[pos], hash, SHA1_MAC_LEN);
buf               210 modules/sha1.c 			memcpy(&buf[pos], hash, plen);
buf               353 modules/sha1.c 		 int iterations, u8 *buf, size_t buflen)
buf               356 modules/sha1.c 	unsigned char *pos = buf;
buf               623 modules/user_menu_edit.c             char* buf;
buf               625 modules/user_menu_edit.c             buf = load_file(fn, 0, 1);
buf               627 modules/user_menu_edit.c             if (buf)
buf               630 modules/user_menu_edit.c                 register const char *ptr = buf;
buf               662 modules/user_menu_edit.c                 free(buf);
buf               108 modules/zebra.c static unsigned char *buf = NULL;
buf               119 modules/zebra.c     if (buf != scr_buf) free(buf);
buf               120 modules/zebra.c     buf = NULL;
buf               137 modules/zebra.c         if (!buf)
buf               145 modules/zebra.c                 buf = malloc(buffer_size);
buf               148 modules/zebra.c             if (!buf)
buf               150 modules/zebra.c                 buf = scr_buf;  //without new buffer: directly into screen buffer: we got some flickering in OSD and histogram but it's usable
buf               168 modules/zebra.c                 memset(buf,0,buffer_size);
buf               172 modules/zebra.c         if (buf) // if zebra was previously on, restore
buf               177 modules/zebra.c     return (buf != NULL);
buf               185 modules/zebra.c     buf[offset] = cl;
buf               228 modules/zebra.c     if (buf != scr_buf)
buf               229 modules/zebra.c         memcpy(scr_buf, buf, buffer_size);
buf               230 modules/zebra.c     memcpy(scr_buf+camera_screen.buffer_size, buf, buffer_size);
buf               260 modules/zebra.c             memset(buf, COLOR_TRANSPARENT, viewport_yoffset*camera_screen.buffer_width);
buf               261 modules/zebra.c             memset(buf+(viewport_yoffset+viewport_height)*camera_screen.buffer_width, COLOR_TRANSPARENT, viewport_yoffset*camera_screen.buffer_width);
buf               270 modules/zebra.c                 memset(buf+sy, COLOR_TRANSPARENT, sx*2);
buf               271 modules/zebra.c                 memset(buf+sy+(sx+viewport_width)*2, COLOR_TRANSPARENT, sx*2);
buf               289 modules/zebra.c                     buf[s] = buf[s+1] = cls[sel];
buf               290 modules/zebra.c                     buf[s+2] = buf[s+3] = cls[sel];
buf               293 modules/zebra.c                     buf[s] = buf[s+1] = COLOR_TRANSPARENT;
buf               295 modules/zebra.c                     buf[s] = buf[s+1] = (yy>over)?cl_over:(yy<conf.zebra_under)?cl_under:COLOR_TRANSPARENT;
buf               297 modules/zebra.c                 if (buf[s] != COLOR_TRANSPARENT && !zebra_drawn) 
buf               314 modules/zebra.c                     memset(buf, COLOR_TRANSPARENT, buffer_size);
buf               391 modules/zebra.c                     buf[s]=buf[s+1]=cls[sel];
buf               393 modules/zebra.c                 else if (((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f)) buf[s]=COLOR_TRANSPARENT;
buf               394 modules/zebra.c                 else buf[s]=(yy>over)?cl_over:(yy<conf.zebra_under)?cl_under:COLOR_TRANSPARENT;
buf               395 modules/zebra.c                 if (buf[s] != COLOR_TRANSPARENT && !zebra_drawn) zebra_drawn = 1;
buf               398 modules/zebra.c                     if(get_cur_buf(s)!=COLOR_TRANSPARENT) buf[s]=get_cur_buf(s); 
buf               399 modules/zebra.c                     if(conf.zebra_multichannel && get_cur_buf(s+1)!=COLOR_TRANSPARENT) buf[s+1]=get_cur_buf(s+1); 
buf               404 modules/zebra.c                 memcpy(buf+s, buf+s-camera_screen.buffer_width, camera_screen.buffer_width);
buf               419 modules/zebra.c                     memcpy(buf, cur_buf_top, camera_screen.buffer_width * ZFIX_TOP);
buf               420 modules/zebra.c                     memcpy(buf + buffer_size - camera_screen.buffer_width * ZFIX_BOTTOM, cur_buf_bot, camera_screen.buffer_width * ZFIX_BOTTOM);
buf               422 modules/zebra.c                         buf[s]=COLOR_TRANSPARENT;
buf               426 modules/zebra.c                     memset(buf, COLOR_TRANSPARENT, buffer_size);
buf               527 modules/zebra.c     buf = NULL;
buf               551 modules/zebra.c         if (!buf)
buf               555 modules/zebra.c             buf = scr_buf;
buf               568 modules/zebra.c         if (buf) // if zebra was previously on, restore
buf               574 modules/zebra.c     return (buf != NULL);
buf               113 platform/a1400/shooting.c     static char buf[32];
buf               128 platform/g11/lib.c     int buf = active_viewport_buffer-1;
buf               129 platform/g11/lib.c     if(buf < 0) {
buf               130 platform/g11/lib.c         buf = 2;
buf               133 platform/g11/lib.c     return viewport_buffers[buf];
buf               161 platform/g5x/shooting.c     static char buf[32];
buf               163 platform/g5x/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               164 platform/g5x/shooting.c     strncpy(out,buf,15);
buf               161 platform/g7x2/shooting.c     static char buf[32];
buf               163 platform/g7x2/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               164 platform/g7x2/shooting.c     strncpy(out,buf,15);
buf               202 platform/generic/main.c int (*_tyWriteOrig)(DEV_HDR *hdr, char *buf, int len);
buf               205 platform/generic/main.c int hook_tyWriteOrig(DEV_HDR *hdr, char *buf, int len)
buf               210 platform/generic/main.c         fwrite(buf, 1, len, fd);
buf               214 platform/generic/main.c     return _tyWriteOrig(hdr, buf, len);
buf               231 platform/generic/main.c         char buf[256];
buf               232 platform/generic/main.c         int buflen = sprintf(buf, "DRV_struct: %x, _tyWriteOrig: %x\n", DRV_struct, _tyWriteOrig);
buf               233 platform/generic/main.c         fwrite(buf, 1, buflen, fd);
buf                74 platform/generic/wrappers.c long get_property_case(long id, void *buf, long bufsize)
buf                79 platform/generic/wrappers.c         int r=_GetPropertyCase(PROPCASE_SHOOTING_STATE, buf, bufsize);
buf                84 platform/generic/wrappers.c         if(*(char *)buf > 1) {
buf                85 platform/generic/wrappers.c             *(char *)buf = 1;
buf                87 platform/generic/wrappers.c             *(char *)buf = 0;
buf                92 platform/generic/wrappers.c     return _GetPropertyCase(id, buf, bufsize);
buf                95 platform/generic/wrappers.c long set_property_case(long id, void *buf, long bufsize)
buf               104 platform/generic/wrappers.c     return _SetPropertyCase(id, buf, bufsize);
buf               146 platform/generic/wrappers.c long get_parameter_data(long id, void *buf, long bufsize)
buf               148 platform/generic/wrappers.c     return _GetParameterData(id|PARAMETER_DATA_FLAG, buf, bufsize);
buf               151 platform/generic/wrappers.c long set_parameter_data(long id, void *buf, long bufsize)
buf               153 platform/generic/wrappers.c     return _SetParameterData(id|PARAMETER_DATA_FLAG, buf, bufsize);
buf               799 platform/generic/wrappers.c long fread(void *buf, long elsize, long count, FILE *f) {
buf               800 platform/generic/wrappers.c     return _Fread_Fut(buf,elsize,count,(long)f);
buf               803 platform/generic/wrappers.c long fwrite(const void *buf, long elsize, long count, FILE *f) {
buf               804 platform/generic/wrappers.c     return _Fwrite_Fut(buf,elsize,count,(long)f);
buf               819 platform/generic/wrappers.c char *fgets(char *buf, int n, FILE *f) {
buf               820 platform/generic/wrappers.c     return _Fgets_Fut(buf,n,(int)f);
buf               131 platform/ixus100_sd780/main.c int (*_tyWriteOrig)(DEV_HDR *hdr, char *buf, int len);
buf               134 platform/ixus100_sd780/main.c int hook_tyWriteOrig(DEV_HDR *hdr, char *buf, int len)
buf               139 platform/ixus100_sd780/main.c 	    fwrite(buf, 1, len, fd);
buf               143 platform/ixus100_sd780/main.c     return _tyWriteOrig(hdr, buf, len);
buf               159 platform/ixus100_sd780/main.c 	    char buf[256];
buf               160 platform/ixus100_sd780/main.c 	    int buflen = sprintf(buf, "DRV_struct: %x, _tyWriteOrig: %x\n", DRV_struct, _tyWriteOrig);
buf               161 platform/ixus100_sd780/main.c 	    fwrite(buf, 1, buflen, fd);
buf               149 platform/ixus132_elph115/shooting.c     static char buf[32];
buf               151 platform/ixus132_elph115/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               152 platform/ixus132_elph115/shooting.c     strncpy(out,buf,15);
buf               149 platform/ixus135_elph120/shooting.c     static char buf[32];
buf               151 platform/ixus135_elph120/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               152 platform/ixus135_elph120/shooting.c     strncpy(out,buf,15);
buf               112 platform/ixus145_elph135/shooting.c     static char buf[32];
buf               114 platform/ixus145_elph135/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               115 platform/ixus145_elph135/shooting.c     strncpy(out,buf,15);
buf               425 platform/ixus240_elph320hs/kbd.c     char buf[30];
buf               482 platform/ixus240_elph320hs/kbd.c                         strcpy(buf,(char*)keymap[i].chg_val(0,(int)keymap[i].conf_val));
buf               483 platform/ixus240_elph320hs/kbd.c                         buf[6] = 0;
buf               484 platform/ixus240_elph320hs/kbd.c                         draw_string(x1+4, y1+25, buf, cl);
buf               148 platform/ixus255_elph330hs/shooting.c     static char buf[32];
buf               150 platform/ixus255_elph330hs/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               151 platform/ixus255_elph330hs/shooting.c     strncpy(out,buf,15);
buf                 7 platform/ixus30_sd200/lib.c extern long _GetPropertyCase_orig(long opt_id, void *buf, long bufsize);
buf                 8 platform/ixus30_sd200/lib.c extern long _SetPropertyCase_orig(long opt_id, void *buf, long bufsize);
buf               232 platform/ixus30_sd200/main.c int (*_tyWriteOrig)(DEV_HDR *hdr, char *buf, int len);
buf               235 platform/ixus30_sd200/main.c int hook_tyWriteOrig(DEV_HDR *hdr, char *buf, int len)
buf               240 platform/ixus30_sd200/main.c 	    fwrite(buf, 1, len, fd);
buf               244 platform/ixus30_sd200/main.c     return _tyWriteOrig(hdr, buf, len);
buf               260 platform/ixus30_sd200/main.c 	    char buf[256];
buf               261 platform/ixus30_sd200/main.c 	    int buflen = sprintf(buf, "DRV_struct: %x, _tyWriteOrig: %x\n", DRV_struct, _tyWriteOrig);
buf               262 platform/ixus30_sd200/main.c 	    fwrite(buf, 1, buflen, fd);
buf               216 platform/ixus310_elph500hs/kbd.c     char buf[30];
buf               254 platform/ixus310_elph500hs/kbd.c                     strcpy(buf,(char*)keymap[i].chg_val(0,(int)keymap[i].conf_val));
buf               255 platform/ixus310_elph500hs/kbd.c                     buf[6] = 0;
buf               256 platform/ixus310_elph500hs/kbd.c                     xo = (58 - strlen(buf)*FONT_WIDTH*sc) / 2;
buf               257 platform/ixus310_elph500hs/kbd.c                     draw_string(x1+xo, y1+yo+18, buf, cl);
buf                 6 platform/ixus40_sd300/lib.c extern long _GetPropertyCase_orig(long opt_id, void *buf, long bufsize);
buf                 7 platform/ixus40_sd300/lib.c extern long _SetPropertyCase_orig(long opt_id, void *buf, long bufsize);
buf               232 platform/ixus40_sd300/main.c int (*_tyWriteOrig)(DEV_HDR *hdr, char *buf, int len);
buf               235 platform/ixus40_sd300/main.c int hook_tyWriteOrig(DEV_HDR *hdr, char *buf, int len)
buf               240 platform/ixus40_sd300/main.c 	    fwrite(buf, 1, len, fd);
buf               244 platform/ixus40_sd300/main.c     return _tyWriteOrig(hdr, buf, len);
buf               260 platform/ixus40_sd300/main.c 	    char buf[256];
buf               261 platform/ixus40_sd300/main.c 	    int buflen = sprintf(buf, "DRV_struct: %x, _tyWriteOrig: %x\n", DRV_struct, _tyWriteOrig);
buf               262 platform/ixus40_sd300/main.c 	    fwrite(buf, 1, buflen, fd);
buf                35 platform/ixus80_sd1100/sub/100c/debug.c void write_crash(char* buf, int len) {
buf                36 platform/ixus80_sd1100/sub/100c/debug.c 	write(crash_fd, buf, len);
buf                35 platform/ixus80_sd1100/sub/101a/debug.c void write_crash(char* buf, int len) {
buf                36 platform/ixus80_sd1100/sub/101a/debug.c 	write(crash_fd, buf, len);
buf               128 platform/ixus95_sd1200/main.c int (*_tyWriteOrig)(DEV_HDR *hdr, char *buf, int len);
buf               131 platform/ixus95_sd1200/main.c int hook_tyWriteOrig(DEV_HDR *hdr, char *buf, int len)
buf               136 platform/ixus95_sd1200/main.c 	    fwrite(buf, 1, len, fd);
buf               140 platform/ixus95_sd1200/main.c     return _tyWriteOrig(hdr, buf, len);
buf               156 platform/ixus95_sd1200/main.c 	    char buf[256];
buf               157 platform/ixus95_sd1200/main.c 	    int buflen = sprintf(buf, "DRV_struct: %x, _tyWriteOrig: %x\n", DRV_struct, _tyWriteOrig);
buf               158 platform/ixus95_sd1200/main.c 	    fwrite(buf, 1, buflen, fd);
buf               251 platform/n/kbd.c     char buf[30];
buf               314 platform/n/kbd.c                         strcpy(buf,(char*)keymap[i].chg_val(0,(int)keymap[i].conf_val));
buf               315 platform/n/kbd.c                         buf[3] = 0;
buf               316 platform/n/kbd.c                         draw_string(x1+4, y1+25, buf, c3);
buf               251 platform/n_facebook/kbd.c     char buf[30];
buf               314 platform/n_facebook/kbd.c                         strcpy(buf,(char*)keymap[i].chg_val(0,(int)keymap[i].conf_val));
buf               315 platform/n_facebook/kbd.c                         buf[3] = 0;
buf               316 platform/n_facebook/kbd.c                         draw_string(x1+4, y1+25, buf, c3);
buf               119 platform/sx170is/shooting.c     static char buf[32];
buf               121 platform/sx170is/shooting.c     _GetImageFolder(buf,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
buf               122 platform/sx170is/shooting.c     strncpy(out,buf,15);
buf               128 platform/sx400is/shooting.c     static char buf[32];
buf               136 platform/sx510hs/shooting.c     static char buf[32];
buf               119 platform/sx520hs/shooting.c     static char buf[32];
buf               119 platform/sx530hs/shooting.c     static char buf[32];
buf               816 tools/code_gen.c         char buf[1024];
buf               819 tools/code_gen.c             x = fread(buf,1,1024,fp);
buf               820 tools/code_gen.c             if (x > 0) fwrite(buf,1,x,outfile);
buf                98 tools/dumpchk.c 		char *buf;
buf               105 tools/dumpchk.c 		buf=malloc(size);
buf               106 tools/dumpchk.c 		if(!buf) {
buf               111 tools/dumpchk.c 		fread(buf, 1, size, dumpfile);
buf               114 tools/dumpchk.c 				if(memcmp(buf+i,vxworks_start_sig,sizeof(vxworks_start_sig)) == 0) {
buf               119 tools/dumpchk.c 				if(memcmp(buf+i,dryos_start_sig,sizeof(dryos_start_sig)) == 0) {
buf               146 tools/dumpchk.c 				fwrite(buf+i,1,size-i,dumpfile);
buf               150 tools/dumpchk.c 		free(buf);
buf               154 tools/dumpchk.c 		char *buf;
buf               162 tools/dumpchk.c 		buf = malloc(sigsize);
buf               163 tools/dumpchk.c 		if(!buf) {
buf               168 tools/dumpchk.c 		if( fread(buf,1,sigsize,dumpfile) != sigsize) {
buf               172 tools/dumpchk.c 			retval = (memcmp(buf,sig,sigsize) == 0);
buf               174 tools/dumpchk.c 		free(buf);
buf               283 tools/elf2flt/elfflt.c    static char buf[200];
buf               287 tools/elf2flt/elfflt.c 		sprintf(buf," LANGID %d",-offs);
buf               288 tools/elf2flt/elfflt.c 		return buf;
buf               294 tools/elf2flt/elfflt.c 	strncpy( buf, flat_buf+offs, sizeof(buf)-1);
buf               295 tools/elf2flt/elfflt.c 	buf[sizeof(buf)-1]=0;
buf               296 tools/elf2flt/elfflt.c 	return buf;
buf                57 tools/elf2flt/fltdump.c    static char buf[200];
buf                61 tools/elf2flt/fltdump.c 		sprintf(buf," LANGID %d",-offs);
buf                62 tools/elf2flt/fltdump.c 		return buf;
buf                68 tools/elf2flt/fltdump.c 	strncpy( buf, (char*)flat_buf+offs, sizeof(buf)-1);
buf                69 tools/elf2flt/fltdump.c 	buf[sizeof(buf)-1]=0;
buf                70 tools/elf2flt/fltdump.c 	return buf;
buf                49 tools/elf2flt/myio.c int b_read (int fd, void* buf, unsigned int count)
buf                53 tools/elf2flt/myio.c     memcpy(buf, filebuf+filecuridx, count);
buf                70 tools/elf2flt/myio.c int b_seek_read(unsigned int offset, char *buf, int len)
buf                73 tools/elf2flt/myio.c   return b_read(1, buf, len);
buf                93 tools/elf2flt/myio.c 	static char buf[10];
buf                96 tools/elf2flt/myio.c 	import_buf=buf;
buf                18 tools/elf2flt/myio.h int b_read (int fd, void* buf, unsigned int count);
buf                22 tools/elf2flt/myio.h int b_seek_read(unsigned int offset, char *buf, int len);
buf              3116 tools/finsig_dryos.c                     if ((sig->offset <= 1) || ((bfadr != fadr) && ((fw->buf[adr2idx(fw,fadr)] & 0xFFFF0000) == 0xE92D0000)))
buf              3630 tools/finsig_dryos.c                         if ((fw->buf[n->off+i+s->value] & 0x0F000000) == 0x0A000000)   // B
buf              3636 tools/finsig_dryos.c                                 p1 = &fw->buf[idx];
buf              3678 tools/finsig_dryos.c                                 if ((m >= 0) && (m < fw->size) && (strcmp((char*)(&fw->buf[m]),"Mounter.c") == 0))
buf              3686 tools/finsig_dryos.c                                 if ((m >= 0) && (m < fw->size) && (strcmp((char*)(&fw->buf[m]),"Mounter.c") == 0))
buf              3842 tools/finsig_dryos.c         uint16_t *p = (uint16_t*)(&fw->buf[k]);
buf              3885 tools/finsig_dryos.c     if (isBX_LR(fw,k) && (fw->buf[k+4] == fadr))
buf              3907 tools/finsig_dryos.c     if (fw->buf[k] == v1)
buf              3917 tools/finsig_dryos.c     if ((fw->buf[k] > fw->base) && (fw->buf[k+1] == 0x00010000) && (fw->buf[k+2] == 0xFFFF0002))
buf              3944 tools/finsig_dryos.c     if ((fw->buf[k] & 0x0FFFF000) == 0x03C00000)    // BIC
buf              3993 tools/finsig_dryos.c             if ((fw->buf[k1] & 0x0FFF0FFF) == 0x058D0034)           // STRxx Rn, [SP,#0x34]
buf              3995 tools/finsig_dryos.c                 if ((fw->buf[k1-1] & 0x0FFF0000) == 0x03A00000)     // MOVxx Rn, #YYY
buf              4000 tools/finsig_dryos.c                 else if ((fw->buf[k1-2] & 0x0FFF0000) == 0x03A00000)// MOVxx Rn, #YYY
buf              4020 tools/finsig_dryos.c             if ((fw->buf[k1] & 0x0FFF0FFF) == 0x058D0030)           // STRxx Rn, [SP,#0x30]
buf              4022 tools/finsig_dryos.c                 if ((fw->buf[k1-1] & 0x0FFF0000) == 0x03A00000)     // MOVxx Rn, #YYY
buf              4027 tools/finsig_dryos.c                 else if ((fw->buf[k1-2] & 0x0FFF0000) == 0x03A00000)// MOVxx Rn, #YYY
buf              4042 tools/finsig_dryos.c                 if ((fw->buf[k1-1] & 0x0FFF0000) == 0x02400000)     // SUBxx Rn, #YYY
buf              4059 tools/finsig_dryos.c                 if ((fw->buf[k1] & 0xFFFFF000) == 0xE3A02000)       // MOV R2, #nnn
buf              4065 tools/finsig_dryos.c                 if (isLDR_PC(fw,k1) && ((fw->buf[k1]& 0x0000F000) == 0x00002000))   // LDR R2, =nnn
buf              4074 tools/finsig_dryos.c                 if ((fw->buf[k1] & 0xFFFFF000) == 0xE3A03000)       // MOV R3, #nnn
buf              4080 tools/finsig_dryos.c                 if (isLDR_PC(fw,k1) && ((fw->buf[k1]& 0x0000F000) == 0x00003000))   // LDR R3, =nnn
buf              4086 tools/finsig_dryos.c                 if ((fw->buf[k1] & 0xFFFFF000) == 0xE2423000)       // SUB R3, R2, #nnn
buf              4237 tools/finsig_dryos.c     if ((fw->buf[k] & 0xFFF00FFF) == 0xE3C00901)    // BIC Rn, Rn, #0x4000
buf              4239 tools/finsig_dryos.c         uint32_t r = fw->buf[k] & 0x000F0000;       // Register
buf              4240 tools/finsig_dryos.c         if (((fw->buf[k+1] & 0xFFF00000) == 0xE3500000) && ((fw->buf[k+1] & 0x000F0000) == r))  // CMP, Rn #val
buf              4242 tools/finsig_dryos.c             bprintf("//int get_flash_params_count(void) { return 0x%02x; }                          // Found @0x%08x\n",fw->buf[k+1]&0xFFF,idx2adr(fw,k+1));
buf              4253 tools/finsig_dryos.c     if ((fw->buf[k] & 0xFFF00FFF) == 0xe3c00902)    // BIC Rn, Rn, #0x8000
buf              4255 tools/finsig_dryos.c         uint32_t r = fw->buf[k] & 0x000F0000;       // Register
buf              4256 tools/finsig_dryos.c         if (((fw->buf[k+1] & 0xFFF00000) == 0xE3500000) && ((fw->buf[k+1] & 0x000F0000) == r))  // CMP, Rn #val
buf              4259 tools/finsig_dryos.c             uint32_t fadr = fw->buf[k+1]&0xFFF;
buf              4390 tools/finsig_dryos.c                 int reg = fw->buf[k+fbd[f][2]] & 0x000F0000;    // Index register used
buf              4392 tools/finsig_dryos.c                 if (((fw->buf[k+fbd[f][0]] & 0x0000F000) << 4) == reg)      { ka = k+fbd[f][0]; }
buf              4393 tools/finsig_dryos.c                 else if (((fw->buf[k+fbd[f][1]] & 0x0000F000) << 4) == reg) { ka = k+fbd[f][1]; }
buf              4399 tools/finsig_dryos.c                         if (isSTR(fw,k1) && ((fw->buf[k1] & 0x000F0000) == reg))
buf              4401 tools/finsig_dryos.c                             uint32_t ofst = fw->buf[k1] & 0x00000FFF;
buf              4571 tools/finsig_dryos.c     if ((fw->buf[k] > fw->base) && (fw->buf[k+1] == 0x00000800) && (fw->buf[k+2] == 0x00000002))
buf              4586 tools/finsig_dryos.c         ((fw->buf[k+1] & 0xFE0F0000) == 0xE20F0000) &&  // ADR R1, =sub
buf              4588 tools/finsig_dryos.c         (fw->buf[k+3] == 0xE3A01003) &&                 // MOV R1, 3
buf              4593 tools/finsig_dryos.c         uint32_t ofst = fw->buf[k+4] & 0x00000FFF;
buf              4601 tools/finsig_dryos.c         (fw->buf[k+3] == 0xE3A01003) &&                 // MOV R1, 3
buf              4606 tools/finsig_dryos.c         uint32_t ofst = fw->buf[k+4] & 0x00000FFF;
buf              4628 tools/finsig_dryos.c     if (((fw->buf[k] & 0xFF1FF000) == 0xE51F0000) &&    // LDR R0, =base
buf              4629 tools/finsig_dryos.c         (fw->buf[k+1] == 0xE5D01000) &&                 // LDRB R1, [R0]
buf              4630 tools/finsig_dryos.c         (fw->buf[k+2] == 0xE3811002) &&                 // ORR R1, R1, #2
buf              4631 tools/finsig_dryos.c         (fw->buf[k+3] == 0xE5C01000) &&                 // STRB R1, [R0]
buf              4642 tools/finsig_dryos.c     if (((fw->buf[k]   & 0xFF1FF000) == 0xE51F1000) &&  // LDR R1, =base
buf              4643 tools/finsig_dryos.c         ((fw->buf[k+1] & 0xFFFFF000) == 0xE5D10000) &&  // LDRB R0, [R1, #n]
buf              4644 tools/finsig_dryos.c         (fw->buf[k+2] == 0xE2800001) &&                 // ADD R0, R0, #1
buf              4645 tools/finsig_dryos.c         ((fw->buf[k+3] & 0xFFFFF000) == 0xE5C10000) &&  // STRB R0, [R1, #n]
buf              4649 tools/finsig_dryos.c         uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              4653 tools/finsig_dryos.c     if (((fw->buf[k]   & 0xFF1FF000) == 0xE51F0000) &&  // LDR R0, =base
buf              4654 tools/finsig_dryos.c         ((fw->buf[k+1] & 0xFFFFF000) == 0xE5D01000) &&  // LDRB R1, [R0, #n]
buf              4655 tools/finsig_dryos.c         (fw->buf[k+2] == 0xE2811001) &&                 // ADD R1, R1, #1
buf              4656 tools/finsig_dryos.c         ((fw->buf[k+3] & 0xFFFFF000) == 0xE5C01000) &&  // STRB R1, [R0, #n]
buf              4660 tools/finsig_dryos.c         uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              4668 tools/finsig_dryos.c     if (((fw->buf[k]    & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4669 tools/finsig_dryos.c         ((fw->buf[k+1]  & 0xFFFFF000) == 0xE5810000) && // STR R0, [R1, #n]
buf              4670 tools/finsig_dryos.c         ((fw->buf[k+3]  & 0xFF1FF000) == 0xE51F0000) && // LDR R0, =base
buf              4671 tools/finsig_dryos.c         ((fw->buf[k+4]  & 0xFFFFF000) == 0xE5900000) && // LDR R0, [R0, #n]
buf              4672 tools/finsig_dryos.c         ((fw->buf[k+6]  & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4673 tools/finsig_dryos.c         ((fw->buf[k+9]  & 0xFF1FF000) == 0xE51F0000) && // LDR R0, =base
buf              4674 tools/finsig_dryos.c         ((fw->buf[k+12] & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4675 tools/finsig_dryos.c         ((fw->buf[k+15] & 0xFF1FF000) == 0xE51F0000) && // LDR R0, =base
buf              4676 tools/finsig_dryos.c         ((fw->buf[k+18] & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4685 tools/finsig_dryos.c         uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              4719 tools/finsig_dryos.c     if ((fw->buf[k] == 0) && (fw->buf[k+1] == 0x00FF0000) &&
buf              4720 tools/finsig_dryos.c         (fw->buf[k+577] == 1) && (fw->buf[k+578] == 0x00FF0000) &&
buf              4721 tools/finsig_dryos.c         (fw->buf[k+1154] == 2) && (fw->buf[k+1155] == 0x00FF0000))
buf              4725 tools/finsig_dryos.c     else if ((fw->buf[k] == 0) && (fw->buf[k+1] == 0x00FF0000) &&
buf              4726 tools/finsig_dryos.c              (fw->buf[k+513] == 1) && (fw->buf[k+514] == 0x00FF0000) &&
buf              4727 tools/finsig_dryos.c              (fw->buf[k+1026] == 2) && (fw->buf[k+1027] == 0x00FF0000))
buf              4955 tools/finsig_dryos.c     if (fw->buf[k] == v1)
buf              4965 tools/finsig_dryos.c     if (fw->buf[k] == v1)
buf              4990 tools/finsig_dryos.c         uint32_t ofst = fw->buf[adr2idx(fw,fadr)] & 0x00000FFF;
buf              4993 tools/finsig_dryos.c         ofst = fw->buf[k+2] & 0x00000FFF;
buf              5010 tools/finsig_dryos.c                 uint32_t ofst = fw->buf[k1] & 0x00000FFF;
buf              5027 tools/finsig_dryos.c             if ((fw->buf[k1] & 0xFFFF0000) == 0xE8BD0000)   // LDMFD
buf              5056 tools/finsig_dryos.c                         int ofst = fw->buf[idx2+2] & 0xFFF;
buf              5070 tools/finsig_dryos.c     if ((fw->buf[k] & 0xFFFF0000) == 0xE8BD0000)   // LDMFD
buf              5086 tools/finsig_dryos.c                 int ofst = fw->buf[k1+3] & 0xFFF;
buf              5261 tools/finsig_dryos.c             uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              5279 tools/finsig_dryos.c             uint32_t ofst = fw->buf[k-1] & 0x00000FFF;
buf              5280 tools/finsig_dryos.c             uint32_t reg = (fw->buf[k-1] & 0x000F0000) >> 16;
buf              5284 tools/finsig_dryos.c                 if ((fw->buf[k1] & 0xFF1FF000) == ldr_inst)
buf              5299 tools/finsig_dryos.c             if (((fw->buf[k] & 0xFF1FF000) == 0xE51F0000) &&    // LDR R0, =base
buf              5300 tools/finsig_dryos.c                 (fw->buf[k+1] == 0xE5D00000) &&                 // LDRB R0, [R0]
buf              5301 tools/finsig_dryos.c                 (fw->buf[k+2] == 0xE1B00000) &&                 // MOVS R0, R0
buf              5302 tools/finsig_dryos.c                 (fw->buf[k+3] == 0x13A00001) &&                 // MOVNE R0, #1
buf              5340 tools/finsig_dryos.c             if (fw->buf[k] == fw->sv->min_focus_len)
buf              5343 tools/finsig_dryos.c                 if ((fw->buf[k+1] == 100) && (fw->buf[k+2] == 0)) mul = 3;
buf              5344 tools/finsig_dryos.c                 if ((fw->buf[k+1] == 100) && (fw->buf[k+2] != 0)) mul = 2;
buf              5345 tools/finsig_dryos.c                 if ((fw->buf[k+1] ==   0) && (fw->buf[k+2] != 0)) mul = 2;
buf              5346 tools/finsig_dryos.c                 for (k1 = k + mul; (k1 < fw->size) && (fw->buf[k1] > fw->buf[k1-mul]) && (fw->buf[k1] > fw->sv->min_focus_len) && (fw->buf[k1] < fw->sv->max_focus_len); k1 += mul) ;
buf              5347 tools/finsig_dryos.c                 if (fw->buf[k1] == fw->sv->max_focus_len)
buf              5383 tools/finsig_dryos.c             if (isLDR_PC(fw,k1) && ((fw->buf[k1+1] & 0xFFFF0FFF) == 0xE3A00001) && isSTR(fw,k1+2) &&
buf              5384 tools/finsig_dryos.c                 ((fw->buf[k1+1] & 0x0000F000) == (fw->buf[k1+2] & 0x0000F000)) &&
buf              5385 tools/finsig_dryos.c                 ((fw->buf[k1] & 0x0000F000) == ((fw->buf[k1+2] & 0x000F0000) >> 4)))
buf              5388 tools/finsig_dryos.c                 int ofst = fw->buf[k1+2] & 0x00000FFF;
buf              5567 tools/finsig_dryos.c         if (memcmp(((char*)fw->buf)+k,ctypes,sizeof(ctypes)) == 0)
buf              5652 tools/finsig_dryos.c             int ofst1 = fw->buf[k2] & 0x00000FFF;
buf              6620 tools/finsig_dryos.c         if (fw->buf[tidx+k+1] == ev)
buf              6622 tools/finsig_dryos.c             kval = fw->buf[tidx+k];
buf              6652 tools/finsig_dryos.c         ev = fw->buf[tidx+k+1];
buf              6653 tools/finsig_dryos.c         kval = fw->buf[tidx+k];
buf              6703 tools/finsig_dryos.c         if (fw->buf[tidx+k+1] == ev)
buf              6705 tools/finsig_dryos.c             kval = fw->buf[tidx+k];
buf              6838 tools/finsig_dryos.c         if (fw->buf[adr2idx(fw,tadr)+2] == 0) tsiz = 3;
buf              6858 tools/finsig_dryos.c                 if ((fw->buf[k1+k+1] == 0xFFFFFFFF) && (fw->buf[k1+k+4] == 0xFFFFFFFF))
buf              7381 tools/finsig_dryos.c         fw->fw_build_date = (char*)&fw->buf[idx];
buf              7392 tools/finsig_dryos.c         fw->fw_build_time = (char*)&fw->buf[idx];
buf              7400 tools/finsig_dryos.c         char *buf=malloc(64);
buf              7403 tools/finsig_dryos.c             sprintf(buf,"handle_%s",nm);
buf              7405 tools/finsig_dryos.c             sprintf(buf,"handle_PTP_OC_0x%04x",op);
buf              7408 tools/finsig_dryos.c         add_func_name(buf,handler,NULL);
buf               741 tools/finsig_thumb2.c         char *buf=malloc(strlen(name)+6);
buf               742 tools/finsig_thumb2.c         sprintf(buf,"j_%s",name);
buf               743 tools/finsig_thumb2.c         add_func_name(buf,adr,NULL); // this is the orignal named address
buf              4025 tools/finsig_thumb2.c                     char *buf=malloc(strlen(rule->name)+3);
buf              4027 tools/finsig_thumb2.c                     sprintf(buf,"j_%s",rule->name);
buf              4028 tools/finsig_thumb2.c                     add_func_name(buf,adr,NULL); // add the previous address as j_...
buf              4376 tools/finsig_thumb2.c         char *buf=malloc(strlen(name)+6);
buf              4377 tools/finsig_thumb2.c         sprintf(buf,"j_%s_FW",name);
buf              4378 tools/finsig_thumb2.c         add_func_name(buf,adr,NULL); // this is the orignal named address
buf              4533 tools/finsig_thumb2.c             char *buf=malloc(64);
buf              4535 tools/finsig_thumb2.c             sprintf(buf,"task_%s",nm);
buf              4537 tools/finsig_thumb2.c             add_func_name(buf,regs[3],NULL);
buf              4549 tools/finsig_thumb2.c         char *buf=malloc(64);
buf              4552 tools/finsig_thumb2.c             sprintf(buf,"handle_%s",nm);
buf              4554 tools/finsig_thumb2.c             sprintf(buf,"handle_PTP_OC_0x%04x",op);
buf              4557 tools/finsig_thumb2.c         add_func_name(buf,handler,NULL);
buf              2888 tools/finsig_vxworks.c                         if ((fw->buf[n->off+i+s->value] & 0x0F000000) == 0x0A000000)   // B
buf              2894 tools/finsig_vxworks.c                                 p1 = &fw->buf[idx];
buf              2936 tools/finsig_vxworks.c                                 if ((m >= 0) && (m < fw->size) && (strcmp((char*)(&fw->buf[m]),"Mounter.c") == 0))
buf              2944 tools/finsig_vxworks.c                                 if ((m >= 0) && (m < fw->size) && (strcmp((char*)(&fw->buf[m]),"Mounter.c") == 0))
buf              3098 tools/finsig_vxworks.c     if (fw->buf[k] & 0xffff0000)
buf              3101 tools/finsig_vxworks.c         uint16_t *p = (uint16_t*)(&fw->buf[k]);
buf              3126 tools/finsig_vxworks.c         uint32_t *p = (uint32_t*)(&fw->buf[k]);
buf              3235 tools/finsig_vxworks.c     if (fw->buf[k] == v1)
buf              3245 tools/finsig_vxworks.c     if ((fw->buf[k] > fw->base) && (fw->buf[k+1] == 0x00010000) && ((fw->buf[k+2] == 0xFFFF0000)||(fw->buf[k+2] == 0xFFFF0002)))
buf              3251 tools/finsig_vxworks.c     if ((fw->buf[k+1] > fw->base) && (fw->buf[k] == 0x00000000) && (fw->buf[k+2] == 0x00000001) &&
buf              3252 tools/finsig_vxworks.c         (fw->buf[k+3] == 0x00000000) && (fw->buf[k+4] == 0xffffffff))
buf              3557 tools/finsig_vxworks.c     if ((fw->buf[k] & 0xFFF00FFF) == 0xE3C00901)    // BIC Rn, Rn, #0x4000
buf              3559 tools/finsig_vxworks.c         uint32_t r = (fw->buf[k] & 0x0000F000)<<4;       // Register
buf              3563 tools/finsig_vxworks.c             if (((fw->buf[n] & 0xFFF00000) == 0xE3500000) && ((fw->buf[n] & 0x000F0000) == r))  // CMP, Rn #val
buf              3566 tools/finsig_vxworks.c                 bprintf("//int get_flash_params_count(void) { return 0x%02x; }                          // Found @0x%08x\n",(fw->buf[n]&0xFFF)+1,idx2adr(fw,n));
buf              3901 tools/finsig_vxworks.c     if ((fw->buf[k] > fw->base) && (fw->buf[k+1] == 0x00000800) && (fw->buf[k+2] == 0x00000002))
buf              3916 tools/finsig_vxworks.c         ((fw->buf[k+1] & 0xFE0F0000) == 0xE20F0000) &&  // ADR R1, =sub
buf              3918 tools/finsig_vxworks.c         (fw->buf[k+3] == 0xE3A01003) &&                 // MOV R1, 3
buf              3923 tools/finsig_vxworks.c         uint32_t ofst = fw->buf[k+4] & 0x00000FFF;
buf              3931 tools/finsig_vxworks.c         (fw->buf[k+3] == 0xE3A01003) &&                 // MOV R1, 3
buf              3936 tools/finsig_vxworks.c         uint32_t ofst = fw->buf[k+4] & 0x00000FFF;
buf              3958 tools/finsig_vxworks.c     if (((fw->buf[k] & 0xFF1FF000) == 0xE51F0000) &&    // LDR R0, =base
buf              3959 tools/finsig_vxworks.c         (fw->buf[k+1] == 0xE5D01000) &&                 // LDRB R1, [R0]
buf              3960 tools/finsig_vxworks.c         (fw->buf[k+2] == 0xE3811002) &&                 // ORR R1, R1, #2
buf              3961 tools/finsig_vxworks.c         (fw->buf[k+3] == 0xE5C01000) &&                 // STRB R1, [R0]
buf              3972 tools/finsig_vxworks.c     if (((fw->buf[k]   & 0xFF1FF000) == 0xE51F1000) &&  // LDR R1, =base
buf              3973 tools/finsig_vxworks.c         ((fw->buf[k+1] & 0xFFFFF000) == 0xE5D10000) &&  // LDRB R0, [R1, #n]
buf              3974 tools/finsig_vxworks.c         (fw->buf[k+2] == 0xE2800001) &&                 // ADD R0, R0, #1
buf              3975 tools/finsig_vxworks.c         ((fw->buf[k+3] & 0xFFFFF000) == 0xE5C10000) &&  // STRB R0, [R1, #n]
buf              3979 tools/finsig_vxworks.c         uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              3983 tools/finsig_vxworks.c     if (((fw->buf[k]   & 0xFF1FF000) == 0xE51F0000) &&  // LDR R0, =base
buf              3984 tools/finsig_vxworks.c         ((fw->buf[k+1] & 0xFFFFF000) == 0xE5D01000) &&  // LDRB R1, [R0, #n]
buf              3985 tools/finsig_vxworks.c         (fw->buf[k+2] == 0xE2811001) &&                 // ADD R1, R1, #1
buf              3986 tools/finsig_vxworks.c         ((fw->buf[k+3] & 0xFFFFF000) == 0xE5C01000) &&  // STRB R1, [R0, #n]
buf              3990 tools/finsig_vxworks.c         uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              3998 tools/finsig_vxworks.c     if (((fw->buf[k]    & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              3999 tools/finsig_vxworks.c         ((fw->buf[k+1]  & 0xFFFFF000) == 0xE5810000) && // STR R0, [R1, #n]
buf              4000 tools/finsig_vxworks.c         ((fw->buf[k+3]  & 0xFF1FF000) == 0xE51F0000) && // LDR R0, =base
buf              4001 tools/finsig_vxworks.c         ((fw->buf[k+4]  & 0xFFFFF000) == 0xE5900000) && // LDR R0, [R0, #n]
buf              4002 tools/finsig_vxworks.c         ((fw->buf[k+6]  & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4003 tools/finsig_vxworks.c         ((fw->buf[k+9]  & 0xFF1FF000) == 0xE51F0000) && // LDR R0, =base
buf              4004 tools/finsig_vxworks.c         ((fw->buf[k+12] & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4005 tools/finsig_vxworks.c         ((fw->buf[k+15] & 0xFF1FF000) == 0xE51F0000) && // LDR R0, =base
buf              4006 tools/finsig_vxworks.c         ((fw->buf[k+18] & 0xFF1FF000) == 0xE51F1000) && // LDR R1, =base
buf              4015 tools/finsig_vxworks.c         uint32_t ofst = fw->buf[k+1] & 0x00000FFF;
buf              4049 tools/finsig_vxworks.c     if ((fw->buf[k] == 0) && (fw->buf[k+1] == 0x00FF0000) &&
buf              4050 tools/finsig_vxworks.c         (fw->buf[k+577] == 1) && (fw->buf[k+578] == 0x00FF0000) &&
buf              4051 tools/finsig_vxworks.c         (fw->buf[k+1154] == 2) && (fw->buf[k+1155] == 0x00FF0000))
buf              4055 tools/finsig_vxworks.c     else if ((fw->buf[k] == 0) && (fw->buf[k+1] == 0x00FF0000) &&
buf              4056 tools/finsig_vxworks.c              (fw->buf[k+513] == 1) && (fw->buf[k+514] == 0x00FF0000) &&
buf              4057 tools/finsig_vxworks.c              (fw->buf[k+1026] == 2) && (fw->buf[k+1027] == 0x00FF0000))
buf              4285 tools/finsig_vxworks.c     if (fw->buf[k] == v1)
buf              4295 tools/finsig_vxworks.c     if (fw->buf[k] == v1)
buf              4320 tools/finsig_vxworks.c         uint32_t ofst = fw->buf[adr2idx(fw,fadr)] & 0x00000FFF;
buf              4323 tools/finsig_vxworks.c         ofst = fw->buf[k+2] & 0x00000FFF;
buf              4340 tools/finsig_vxworks.c                 uint32_t ofst = fw->buf[k1] & 0x00000FFF;
buf              4357 tools/finsig_vxworks.c             if ((fw->buf[k1] & 0xFFFF0000) == 0xE8BD0000)   // LDMFD
buf              4386 tools/finsig_vxworks.c                         int ofst = fw->buf[idx2+2] & 0xFFF;
buf              4400 tools/finsig_vxworks.c     if ((fw->buf[k] & 0xFFFF0000) == 0xE8BD0000)   // LDMFD
buf              4416 tools/finsig_vxworks.c                 int ofst = fw->buf[k1+3] & 0xFFF;
buf              4929 tools/finsig_vxworks.c         if (memcmp(((char*)fw->buf)+k,ctypes,sizeof(ctypes)) == 0)
buf              5016 tools/finsig_vxworks.c             int ofst1 = fw->buf[k2] & 0x00000FFF;
buf              5152 tools/finsig_vxworks.c         if (fw->buf[tidx+k+1] == ev)
buf              5154 tools/finsig_vxworks.c             kval = fw->buf[tidx+k];
buf              5208 tools/finsig_vxworks.c         if (fw->buf[tidx+k+1] == ev)
buf              5210 tools/finsig_vxworks.c             kval = fw->buf[tidx+k];
buf              5343 tools/finsig_vxworks.c         if (fw->buf[adr2idx(fw,tadr)+2] == 0) tsiz = 3;
buf              5363 tools/finsig_vxworks.c                 if ((fw->buf[k1+k+1] == 0xFFFFFFFF) && (fw->buf[k1+k+4] == 0xFFFFFFFF))
buf              5717 tools/finsig_vxworks.c         fw->fw_build_date = (char*)&fw->buf[idx];
buf              5729 tools/finsig_vxworks.c         fw->fw_build_time = (char*)&fw->buf[idx];
buf              5737 tools/finsig_vxworks.c         char *buf=malloc(64);
buf              5740 tools/finsig_vxworks.c             sprintf(buf,"handle_%s",nm);
buf              5742 tools/finsig_vxworks.c             sprintf(buf,"handle_PTP_OC_0x%04x",op);
buf              5745 tools/finsig_vxworks.c         add_func_name(buf,handler,NULL);
buf                56 tools/firmware_load.c     n->p = fw->buf + o;
buf                81 tools/firmware_load.c         if (fw->buf[i] == 0xFFFFFFFF)   // Possible start of block to skip
buf               178 tools/firmware_load.c         return ((char*)fw->buf) + (adr - fw->alt_base);
buf               184 tools/firmware_load.c     return ((char*)fw->buf) + (adr - fw->base);
buf               226 tools/firmware_load.c         return &fw->buf[i];
buf               231 tools/firmware_load.c             return &fw->buf[i];
buf               241 tools/firmware_load.c         return &fw->buf[0];
buf               681 tools/firmware_load.c             if (strcmp(((char*)fw->buf)+k,str) == 0)
buf               938 tools/firmware_load.c     fw->buf = malloc((fw->size+32)*4);
buf               939 tools/firmware_load.c     k = fread(fw->buf, 4, fw->size, f);
buf               943 tools/firmware_load.c     memset(&fw->buf[fw->size],0xff,32*4);
buf               966 tools/firmware_load.c             fw->real_dryos_ver = fw->dryos_ver = atoi(((char*)&fw->buf[k])+28);
buf               967 tools/firmware_load.c             fw->dryos_ver_str = (char*)&fw->buf[k];
buf               987 tools/firmware_load.c         fw->firmware_ver_str = (char*)&fw->buf[k];
buf              1088 tools/firmware_load.c         if (((fw->buf[0x10 + fw->main_offs] & 0xFFFFFF00) == 0xE3A00000) && (fw->buf[0x11 + fw->main_offs] == 0xEE060F12))
buf              1090 tools/firmware_load.c             fw->maxram = (1 << (((fw->buf[0x10 + fw->main_offs] & 0x3E) >> 1) + 1)) - 1;
buf              1092 tools/firmware_load.c         else if (((fw->buf[0x14 + fw->main_offs] & 0xFFFFFF00) == 0xE3A00000) && (fw->buf[0x15 + fw->main_offs] == 0xEE060F12))
buf              1094 tools/firmware_load.c             fw->maxram = (1 << (((fw->buf[0x14 + fw->main_offs] & 0x3E) >> 1) + 1)) - 1;
buf              1101 tools/firmware_load.c             if ((fw->buf[k] & 0xFFFF0FFF) == 0xEE060F12) // mcr 15, 0, rx, cr6, cr2, {0}
buf              1103 tools/firmware_load.c                 fw->maxram = (1 << (((fw->buf[k-1] & 0x3E) >> 1) + 1)) - 1;
buf              1315 tools/firmware_load.c                     fw->buf2 = &fw->buf[adr2idx(fw,fadr)];
buf                35 tools/firmware_load.h     uint32_t        *buf;               // Firmware data
buf               183 tools/firmware_load_ng.c             return (r->buf)+(adr - r->start);
buf               199 tools/firmware_load_ng.c             return (r->buf)+(adr - r->start);
buf              1653 tools/firmware_load_ng.c     r->buf=fw->buf8 + (r->src_start - fw->base);
buf                65 tools/firmware_load_ng.h     uint8_t *buf;
buf                13 tools/gen_conf_lua.c static int read_line(FILE *f, char *buf)
buf                19 tools/gen_conf_lua.c         if (fread(buf,1,1,f) != 1) { eof = 1; break; }
buf                20 tools/gen_conf_lua.c         if ((*buf == 0x0A) || (*buf == 0x0D)) break;
buf                22 tools/gen_conf_lua.c         buf++;
buf                24 tools/gen_conf_lua.c     *buf = 0;
buf               278 tools/gensig_dryos.c uint32_t buf[1024];
buf               295 tools/gensig_dryos.c     i = fread(buf, 4, size, f);
buf               300 tools/gensig_dryos.c             if ((buf[i] & instrs[j].mask) == instrs[j].inst){
buf               305 tools/gensig_dryos.c                         sprintf(tbuf, "\t{ %3d, 0x%08x, 0x%08x }, //", i, buf[i] & ignore, ignore);
buf               306 tools/gensig_dryos.c                     sprintf(tbuf+strlen(tbuf), " %s:%d:0x%08X", instrs[j].cmd, bits(instrs[j].mask), buf[i]);
buf               308 tools/gensig_dryos.c                     if ((buf[i] == 0xe1a0f00e) /* "mov pc,lr" aka "ret" */
buf               275 tools/gensig_vxworks.c     uint32_t buf[1024];
buf               300 tools/gensig_vxworks.c     i = fread(buf, 4, size, f);
buf               308 tools/gensig_vxworks.c 	    if ((buf[i] & instrs[j].mask) == instrs[j].inst){
buf               310 tools/gensig_vxworks.c        	 	    sprintf(tbuf, "\t{ %3d, 0x%08x, 0x%08x }, //", i, buf[i] & ~instrs[j].ignore, ~instrs[j].ignore);
buf               311 tools/gensig_vxworks.c        		sprintf(tbuf+strlen(tbuf), " %s:%d:0x%08X", instrs[j].cmd, bits(instrs[j].mask), buf[i]);
buf               313 tools/gensig_vxworks.c        	        if ((buf[i] == 0xe1a0f00e) /* "mov pc,lr" aka "ret" */
buf               233 tools/makeexport.c     char *buf = 0;
buf               239 tools/makeexport.c             buf = (char*)malloc(size+1);
buf               240 tools/makeexport.c             if (buf) {
buf               241 tools/makeexport.c                 size = read(f, buf, size);
buf               242 tools/makeexport.c                 buf[size]=0;
buf               247 tools/makeexport.c     return buf;
buf                16 tools/makelang.c void lang_load_from_mem(char *buf);
buf                71 tools/makelang.c 	char buf[500];
buf                78 tools/makelang.c     strcpy(buf,s);
buf                79 tools/makelang.c     s = strrchr(buf,'.');
buf                96 tools/makelang.c 			char* to = buf;
buf               111 tools/makelang.c 		          printf("#ifndef %s\n/*%3d*/ \"%s\"\n#endif\n        \"\\0\"\n", iscond+1, i, buf);
buf               113 tools/makelang.c 		          printf("#ifdef %s\n/*%3d*/ \"%s\"\n#endif\n        \"\\0\"\n", iscond, i, buf);
buf               117 tools/makelang.c 		      printf("/*%3d*/ \"%s\\0\"\n",i,buf);
buf               138 tools/makelang.c void lang_load_from_mem(char *buf) 
buf               143 tools/makelang.c     if ( !buf )
buf               146 tools/makelang.c     e = buf-1;
buf               188 tools/makelang.c     char *buf = 0;
buf               194 tools/makelang.c             buf = malloc(size+1);
buf               195 tools/makelang.c             if (buf) {
buf               196 tools/makelang.c                 size = read(f, buf, size);
buf               197 tools/makelang.c                 buf[size]=0;
buf               202 tools/makelang.c     return buf;
buf               213 tools/makelang.c char* next_token(char *p, char* buf)
buf               215 tools/makelang.c     *buf = 0;
buf               218 tools/makelang.c     while (*p && (*p != ' ') && (*p != '\t') && (*p != '\r') && (*p != '\n')) *buf++ = *p++;
buf               219 tools/makelang.c     *buf = 0;
buf               227 tools/makelang.c     char *buf = load_from_file(file);
buf               229 tools/makelang.c     if (!buf)
buf               241 tools/makelang.c     e = buf;
buf               271 tools/makelang.c     free(buf);
buf                15 tools/packfi2/adler32.c #define DO1(buf,i)  {adler += (buf)[i]; sum2 += adler;}
buf                16 tools/packfi2/adler32.c #define DO2(buf,i)  DO1(buf,i); DO1(buf,i+1);
buf                17 tools/packfi2/adler32.c #define DO4(buf,i)  DO2(buf,i); DO2(buf,i+2);
buf                18 tools/packfi2/adler32.c #define DO8(buf,i)  DO4(buf,i); DO4(buf,i+4);
buf                19 tools/packfi2/adler32.c #define DO16(buf)   DO8(buf,0); DO8(buf,8);
buf                57 tools/packfi2/adler32.c uLong ZEXPORT adler32(adler, buf, len)
buf                59 tools/packfi2/adler32.c     const Bytef *buf;
buf                71 tools/packfi2/adler32.c         adler += buf[0];
buf                81 tools/packfi2/adler32.c     if (buf == Z_NULL)
buf                87 tools/packfi2/adler32.c             adler += *buf++;
buf               101 tools/packfi2/adler32.c             DO16(buf);          /* 16 sums unrolled */
buf               102 tools/packfi2/adler32.c             buf += 16;
buf               112 tools/packfi2/adler32.c             DO16(buf);
buf               113 tools/packfi2/adler32.c             buf += 16;
buf               116 tools/packfi2/adler32.c             adler += *buf++;
buf               215 tools/packfi2/crc32.c #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
buf               219 tools/packfi2/crc32.c unsigned long ZEXPORT crc32(crc, buf, len)
buf               221 tools/packfi2/crc32.c     const unsigned char FAR *buf;
buf               224 tools/packfi2/crc32.c     if (buf == Z_NULL) return 0UL;
buf               237 tools/packfi2/crc32.c             return crc32_little(crc, buf, len);
buf               239 tools/packfi2/crc32.c             return crc32_big(crc, buf, len);
buf               262 tools/packfi2/crc32.c local unsigned long crc32_little(crc, buf, len)
buf               264 tools/packfi2/crc32.c     const unsigned char FAR *buf;
buf               272 tools/packfi2/crc32.c     while (len && ((ptrdiff_t)buf & 3)) {
buf               273 tools/packfi2/crc32.c         c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
buf               277 tools/packfi2/crc32.c     buf4 = (const u4 FAR *)(const void FAR *)buf;
buf               286 tools/packfi2/crc32.c     buf = (const unsigned char FAR *)buf4;
buf               289 tools/packfi2/crc32.c         c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
buf               302 tools/packfi2/crc32.c local unsigned long crc32_big(crc, buf, len)
buf               304 tools/packfi2/crc32.c     const unsigned char FAR *buf;
buf               312 tools/packfi2/crc32.c     while (len && ((ptrdiff_t)buf & 3)) {
buf               313 tools/packfi2/crc32.c         c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
buf               317 tools/packfi2/crc32.c     buf4 = (const u4 FAR *)(const void FAR *)buf;
buf               328 tools/packfi2/crc32.c     buf = (const unsigned char FAR *)buf4;
buf               331 tools/packfi2/crc32.c         c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
buf                85 tools/packfi2/deflate.c local int read_buf        OF((z_streamp strm, Bytef *buf, unsigned size));
buf               956 tools/packfi2/deflate.c local int read_buf(strm, buf, size)
buf               958 tools/packfi2/deflate.c     Bytef *buf;
buf               976 tools/packfi2/deflate.c     zmemcpy(buf, strm->next_in, len);
buf               284 tools/packfi2/deflate.h void _tr_flush_block  OF((deflate_state *s, charf *buf, ulg stored_len,
buf               287 tools/packfi2/deflate.h void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
buf               126 tools/packfi2/fi2enc.c 	unsigned char *buf = NULL;
buf               173 tools/packfi2/fi2enc.c 	buf = (unsigned char*)malloc( i );					// allocate buffer for compressed block + blocksize
buf               174 tools/packfi2/fi2enc.c 	if( !buf ){
buf               178 tools/packfi2/fi2enc.c 	memset( buf, 0xFF, i );
buf               180 tools/packfi2/fi2enc.c 	if( Z_OK !=    compress( buf + 4, (uLongf*)&i, upkbuf, flen ) ){ 
buf               184 tools/packfi2/fi2enc.c 	store32_be( buf, i );								// store real compressed block size
buf               189 tools/packfi2/fi2enc.c 	aes128_cbc_encrypt( buf, exkey, iv, fi2rec.len );
buf               190 tools/packfi2/fi2enc.c 	pblk = buf;									
buf               192 tools/packfi2/fi2enc.c         uint32_t *wbuf = (uint32_t*)buf;
buf               196 tools/packfi2/fi2enc.c         for( i = 0; i < (int)fi2rec.len; i++) cs += buf[i];	// update block checksum
buf               207 tools/packfi2/fi2enc.c 	buf = (unsigned char*)malloc( i );							// allocate buffer for encrypted header
buf               208 tools/packfi2/fi2enc.c 	if( !buf ){
buf               212 tools/packfi2/fi2enc.c     memset( buf, 0, i );
buf               213 tools/packfi2/fi2enc.c 	memcpy( buf, &hdr, 32 );
buf               214 tools/packfi2/fi2enc.c 	memcpy( buf+32, &fi2rec, fi2rec_size(dryos_ver));
buf               215 tools/packfi2/fi2enc.c 	aes128_cbc_encrypt( buf, exkey, iv, i );
buf               226 tools/packfi2/fi2enc.c 	if ( i != fwrite(buf, 1, i, fo ) ){
buf               230 tools/packfi2/fi2enc.c 	free( buf );
buf               159 tools/packfi2/trees.c local void copy_block     OF((deflate_state *s, charf *buf, unsigned len,
buf               867 tools/packfi2/trees.c void _tr_stored_block(s, buf, stored_len, eof)
buf               869 tools/packfi2/trees.c     charf *buf;       /* input block */
buf               878 tools/packfi2/trees.c     copy_block(s, buf, (unsigned)stored_len, 1); /* with header */
buf               921 tools/packfi2/trees.c void _tr_flush_block(s, buf, stored_len, eof)
buf               923 tools/packfi2/trees.c     charf *buf;       /* input block, or NULL if too old */
buf               965 tools/packfi2/trees.c         Assert(buf != (char*)0, "lost buf");
buf               970 tools/packfi2/trees.c     if (buf != (char*)0) { /* force stored block */
buf               972 tools/packfi2/trees.c     if (stored_len+4 <= opt_lenb && buf != (char*)0) {
buf               981 tools/packfi2/trees.c         _tr_stored_block(s, buf, stored_len, eof);
buf              1197 tools/packfi2/trees.c local void copy_block(s, buf, len, header)
buf              1199 tools/packfi2/trees.c     charf    *buf;    /* the input data */
buf              1217 tools/packfi2/trees.c         put_byte(s, *buf++);
buf              1106 tools/packfi2/zlib.h ZEXTERN int ZEXPORT    gzread  OF((gzFile file, voidp buf, unsigned len));
buf              1115 tools/packfi2/zlib.h                                    voidpc buf, unsigned len));
buf              1142 tools/packfi2/zlib.h ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len));
buf              1260 tools/packfi2/zlib.h ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
buf              1285 tools/packfi2/zlib.h ZEXTERN uLong ZEXPORT crc32   OF((uLong crc, const Bytef *buf, uInt len));
buf               218 tools/packfi2/zutil.c     voidpf buf = opaque; /* just to make some compilers happy */
buf               225 tools/packfi2/zutil.c         buf = farmalloc(bsize);
buf               226 tools/packfi2/zutil.c         if (*(ush*)&buf != 0) return buf;
buf               228 tools/packfi2/zutil.c         buf = farmalloc(bsize + 16L);
buf               230 tools/packfi2/zutil.c     if (buf == NULL || next_ptr >= MAX_PTR) return NULL;
buf               231 tools/packfi2/zutil.c     table[next_ptr].org_ptr = buf;
buf               234 tools/packfi2/zutil.c     *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4;
buf               235 tools/packfi2/zutil.c     *(ush*)&buf = 0;
buf               236 tools/packfi2/zutil.c     table[next_ptr++].new_ptr = buf;
buf               237 tools/packfi2/zutil.c     return buf;
buf               156 tools/pakwif.c int crypt_fwrite(void *buf, int len, FILE *f)
buf               174 tools/pakwif.c 	    cbuf[i] = ((unsigned char*)buf)[i+rtot] ^ crypt1[c1++] ^ crypt2[c2++];
buf               192 tools/pakwif.c int crypt_fread(void *buf, int len, FILE *f)
buf               211 tools/pakwif.c 	    ((unsigned char*)buf)[i+rtot] = ((unsigned char*)cbuf)[i] ^ crypt1[c1++] ^ crypt2[c2++];
buf               284 tools/pakwif.c uint32_t checksumm_update(uint32_t cs, char *buf, int len)
buf               289 tools/pakwif.c 		cs+=((unsigned short*)buf)[i];	
buf               291 tools/pakwif.c 		cs+=buf[len-1];	
buf               144 tools/rawconvert.c unsigned get_8_pixel(uint8_t *buf, unsigned row_bytes, unsigned x, unsigned y)
buf               146 tools/rawconvert.c 	return buf[row_bytes*y+x];
buf               149 tools/rawconvert.c void set_8_pixel(uint8_t *buf, unsigned row_bytes, unsigned x, unsigned y, unsigned value)
buf               151 tools/rawconvert.c 	buf[row_bytes*y+x] = (uint8_t)value;
buf               154 tools/rawconvert.c unsigned get_16_pixel(uint8_t *buf, unsigned row_bytes, unsigned x, unsigned y)
buf               156 tools/rawconvert.c 	return ((uint16_t *)buf)[(row_bytes/2)*y + x];
buf               159 tools/rawconvert.c void set_16_pixel(uint8_t *buf, unsigned row_bytes, unsigned x, unsigned y, unsigned value)
buf               161 tools/rawconvert.c 	((uint16_t *)buf)[(row_bytes/2)*y + x] = (uint16_t)value;
buf                35 tools/stubs_load.c static int read_line(FILE *f, char *buf)
buf                41 tools/stubs_load.c         if (fread(buf,1,1,f) != 1) { eof = 1; break; }
buf                42 tools/stubs_load.c         if ((*buf == 0x0A) || (*buf == 0x0D)) break;
buf                44 tools/stubs_load.c         buf++;
buf                46 tools/stubs_load.c     *buf = 0;