msg 44 core/gui_mbox.c void gui_mbox_init(int title, int msg, const unsigned int flags, void (*on_select)(unsigned int btn)) msg 72 core/gui_mbox.c mbox_msg = lang_str(msg); msg 178 core/gui_mbox.c void gui_browser_progress_show(const char* msg, const unsigned int perc) msg 184 core/gui_mbox.c draw_string_justified(x, y+2, msg, MAKE_COLOR(COLOR_GREY, COLOR_WHITE), 0, w, TEXT_CENTER); //title text msg 32 core/gui_mbox.h extern void gui_mbox_init(int title, int msg, const unsigned int flags, void (*on_select)(unsigned int btn)); msg 33 core/gui_mbox.h extern void gui_browser_progress_show(const char* msg, const unsigned int perc); msg 715 core/modules.c static int default_textbox_init(int title, int msg, const char* defaultstr, unsigned int maxsize, void (*on_select)(const char* newstr), char *input_buffer) msg 719 core/modules.c return libtextbox->textbox_init(title,msg,defaultstr,maxsize,on_select,input_buffer); msg 326 core/ptp.c int enqueue_script_msg(ptp_script_msg_q *q,ptp_script_msg *msg) { msg 331 core/ptp.c if(msg == NULL) { msg 334 core/ptp.c q->q[q->w] = msg; msg 340 core/ptp.c ptp_script_msg *msg; msg 344 core/ptp.c msg = q->q[q->r]; msg 346 core/ptp.c return msg; msg 351 core/ptp.c ptp_script_msg *msg; msg 352 core/ptp.c while((msg = dequeue_script_msg(q))) { msg 353 core/ptp.c free(msg); msg 360 core/ptp.c ptp_script_msg *msg; msg 361 core/ptp.c msg = malloc(sizeof(ptp_script_msg) + datasize); msg 362 core/ptp.c msg->size = datasize; msg 363 core/ptp.c msg->type = type; msg 364 core/ptp.c msg->subtype = subtype; msg 368 core/ptp.c memcpy(msg->data,data,msg->size); msg 370 core/ptp.c return msg; msg 374 core/ptp.c int ptp_script_write_msg(ptp_script_msg *msg) { msg 375 core/ptp.c msg->script_id = script_run_id; msg 376 core/ptp.c return enqueue_script_msg(&msg_q_out,msg); msg 381 core/ptp.c ptp_script_msg *msg; msg 383 core/ptp.c msg = dequeue_script_msg(&msg_q_in); msg 385 core/ptp.c if(!msg) { msg 389 core/ptp.c if(!msg->script_id || msg->script_id == script_run_id) { msg 390 core/ptp.c return msg; msg 393 core/ptp.c free(msg); msg 403 core/ptp.c ptp_script_msg *msg = ptp_script_create_msg(PTP_CHDK_S_MSGTYPE_ERR,errtype,strlen(err),err); msg 404 core/ptp.c if(!msg) { msg 407 core/ptp.c return ptp_script_write_msg(msg); msg 822 core/ptp.c ptp_script_msg *msg = dequeue_script_msg(&msg_q_out); msg 824 core/ptp.c if(msg) { msg 825 core/ptp.c ptp.param1 = msg->type; msg 826 core/ptp.c ptp.param2 = msg->subtype; msg 827 core/ptp.c ptp.param3 = msg->script_id; msg 828 core/ptp.c ptp.param4 = msg->size; msg 830 core/ptp.c if(msg->size) { msg 831 core/ptp.c datasize = msg->size; msg 832 core/ptp.c pdata = msg->data; msg 847 core/ptp.c free(msg); msg 853 core/ptp.c ptp_script_msg *msg; msg 871 core/ptp.c msg = ptp_script_create_msg(PTP_CHDK_S_MSGTYPE_USER,PTP_CHDK_TYPE_STRING,msg_size,NULL); msg 872 core/ptp.c if ( !msg ) // malloc error or zero size msg 879 core/ptp.c msg->script_id = param2; msg 880 core/ptp.c if ( !recv_ptp_data(data,msg->data,msg->size) ) msg 883 core/ptp.c free(msg); msg 886 core/ptp.c if( !enqueue_script_msg(&msg_q_in,msg) ) { msg 888 core/ptp.c free(msg); msg 55 core/ptp_chdk.h int ptp_script_write_msg(ptp_script_msg *msg); msg 62 lib/lua/lauxlib.c const char *msg = lua_pushfstring(L, "%s expected, got %s", msg 64 lib/lua/lauxlib.c return luaL_argerror(L, narg, msg); msg 61 lib/lua/lauxlib.h LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg); msg 607 lib/lua/ldebug.c static void addinfo (lua_State *L, const char *msg) { msg 613 lib/lua/ldebug.c luaO_pushfstring(L, "%s:%d: %s", buff, line, msg); msg 409 lib/lua/ldo.c static int resume_error (lua_State *L, const char *msg) { msg 411 lib/lua/ldo.c setsvalue2s(L, L->top, luaS_new(L, msg)); msg 102 lib/lua/llex.c LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token) { msg 105 lib/lua/llex.c msg = luaO_pushfstring(ls->L, "%s:%d: %s", buff, ls->linenumber, msg); msg 107 lib/lua/llex.c luaO_pushfstring(ls->L, "%s near " LUA_QS, msg, txtToken(ls, token)); msg 112 lib/lua/llex.c LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *msg) { msg 113 lib/lua/llex.c luaX_lexerror(ls, msg, ls->t.token); msg 76 lib/lua/llex.h LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token); msg 173 lib/lua/lobject.c const char *msg; msg 176 lib/lua/lobject.c msg = luaO_pushvfstring(L, fmt, argp); msg 178 lib/lua/lobject.c return msg; msg 72 lib/lua/lparser.c const char *msg = (fs->f->linedefined == 0) ? msg 76 lib/lua/lparser.c luaX_lexerror(fs->ls, msg, 0); msg 100 lib/lua/lparser.c #define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); } msg 58 lib/lua/lua.c static void l_message (const char *pname, const char *msg) { msg 60 lib/lua/lua.c fprintf(stderr, "%s\n", msg); msg 67 lib/lua/lua.c const char *msg = lua_tostring(L, -1); msg 68 lib/lua/lua.c if (msg == NULL) msg = "(error object is not a string)"; msg 69 lib/lua/lua.c l_message(progname, msg); msg 166 lib/lua/lua.c const char *msg = lua_tolstring(L, -1, &lmsg); msg 167 lib/lua/lua.c const char *tp = msg + lmsg - (sizeof(LUA_QL("<eof>")) - 1); msg 168 lib/lua/lua.c if (strstr(msg, LUA_QL("<eof>")) == tp) { msg 2755 lib/ubasic/ubasic.c const char *msg; msg 2758 lib/ubasic/ubasic.c msg = ubasic_errstrings[UBASIC_E_UNKNOWN_ERROR]; msg 2762 lib/ubasic/ubasic.c msg = ubasic_errstrings[ubasic_error]; msg 2764 lib/ubasic/ubasic.c sprintf(buf, "uBASIC:%d %s ", ubasic_linenumber(), msg); msg 1095 modules/dng.c char msg[32]; msg 1097 modules/dng.c sprintf(msg, "Bad pixel count: %d", badpix_cnt1); msg 1098 modules/dng.c console_add_line(msg); msg 141 modules/edgeoverlay.c char msg[64]; msg 187 modules/edgeoverlay.c sprintf(msg, "Saved as %s",fn); msg 188 modules/edgeoverlay.c draw_string(0, 0, msg, user_color(conf.osd_color)); msg 91 modules/games/gui_mastermind.c static void info_line(char* msg) msg 93 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right-24*FONT_WIDTH, camera_screen.height-6*FONT_HEIGHT-FONT_HEIGHT/2, msg, TEXT_COLOR); msg 188 modules/games/gui_mastermind.c static void end_game(int msg) msg 191 modules/games/gui_mastermind.c info_line(lang_str(msg)); msg 115 modules/gui_tbox.c int textbox_init(int title, int msg, const char* defaultstr, unsigned int maxsize, void (*on_select)(const char* newstr), char *input_buffer) msg 138 modules/gui_tbox.c tbox_msg = lang_str(msg); msg 28 modules/gui_tbox.h int (*textbox_init)(int title, int msg, const char* defaultstr, unsigned int maxsize, void (*on_select)(const char* newstr), char *input_buffer); msg 254 modules/luascript.c ptp_script_msg *msg = lua_create_usb_msg(L,i,PTP_CHDK_S_MSGTYPE_RET); msg 257 modules/luascript.c if(msg) { msg 258 modules/luascript.c ptp_script_write_msg(msg); msg 260 modules/luascript.c if(msg->type != PTP_CHDK_S_MSGTYPE_RET) { msg 2429 modules/luascript.c ptp_script_msg *msg = ptp_script_read_msg(); msg 2431 modules/luascript.c if ((get_tick_count() >= action_top(2)) || msg) msg 2433 modules/luascript.c if (msg && msg->data) msg 2435 modules/luascript.c lua_pushlstring(Lt,msg->data,msg->size); msg 2449 modules/luascript.c ptp_script_msg *msg = (ptp_script_msg *)action_top(2); msg 2451 modules/luascript.c int r = ptp_script_write_msg(msg); msg 2477 modules/luascript.c ptp_script_msg *msg = ptp_script_read_msg(); msg 2478 modules/luascript.c if(msg) msg 2480 modules/luascript.c lua_pushlstring(L,msg->data,msg->size); msg 2481 modules/luascript.c free(msg); msg 2498 modules/luascript.c ptp_script_msg *msg; msg 2507 modules/luascript.c msg=lua_create_usb_msg(L,1,PTP_CHDK_S_MSGTYPE_USER); msg 2509 modules/luascript.c if (msg->subtype == PTP_CHDK_TYPE_UNSUPPORTED) msg 2511 modules/luascript.c free(msg); msg 2514 modules/luascript.c if (!msg) msg 2521 modules/luascript.c action_push((int)msg); msg 2525 modules/luascript.c lua_pushboolean(L,ptp_script_write_msg(msg)); msg 425 modules/module_load.c static char msg[50]; msg 438 modules/module_load.c sprintf(msg, "require CHDK%05d", mod_info->chdk_required_ver); msg 439 modules/module_load.c return msg; msg 444 modules/module_load.c sprintf(msg, "require platfid %d", mod_info->chdk_required_platfid); msg 445 modules/module_load.c return msg; msg 533 modules/module_load.c char *msg = 0; msg 542 modules/module_load.c msg = load_module_file(module_fd, name, flat.reloc_start, flat.bss_size, &flat_buf); msg 543 modules/module_load.c if (msg == 0) msg 549 modules/module_load.c msg = validate(mod_info, ver); msg 550 modules/module_load.c if (msg == 0) msg 553 modules/module_load.c msg = link_module(module_fd, flat_buf); msg 558 modules/module_load.c msg = "bad magicnum"; msg 564 modules/module_load.c if (msg) msg 568 modules/module_load.c moduleload_error(name, msg); msg 574 modules/sha1.c void SHAPrintContext(SHA1_CTX *context, char *msg) msg 577 modules/sha1.c msg, msg 916 platform/g7x2/sub/101a/boot.c int check_fsio_skip(char* msg) msg 919 platform/g7x2/sub/101a/boot.c char* name = msg + 4; msg 921 platform/g7x2/sub/101a/boot.c char* long_name = *((char**)(msg+0x5c)); msg 925 platform/g7x2/sub/110b/boot.c int check_fsio_skip(char* msg) msg 928 platform/g7x2/sub/110b/boot.c char* name = msg + 4; msg 930 platform/g7x2/sub/110b/boot.c char* long_name = *((char**)(msg+0x5c)); msg 918 platform/generic/wrappers.c static char msg[20]; msg 919 platform/generic/wrappers.c sprintf(msg,"errno 0x%X",en); msg 920 platform/generic/wrappers.c return msg; msg 531 tools/code_gen.c void chk_args(int count, char *msg, op *p) msg 535 tools/code_gen.c fprintf(stderr,"ERROR - %s\n",msg); msg 486 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int mzrm_sendmsg(mzrm_context *ctx, mzrm_msg *msg); msg 502 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int init_task_error(const char *msg); msg 242 tools/packfi2/deflate.c strm->msg = Z_NULL; msg 300 tools/packfi2/deflate.c strm->msg = (char*)ERR_MSG(Z_MEM_ERROR); msg 368 tools/packfi2/deflate.c strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */ msg 91 tools/packfi2/zlib.h char *msg; /* last error message, NULL if no error */ msg 59 tools/packfi2/zutil.h return (strm->msg = (char*)ERR_MSG(err), (err)) msg 245 tools/packfi2/zutil.h # define Assert(cond,msg) {if(!(cond)) z_error(msg);} msg 252 tools/packfi2/zutil.h # define Assert(cond,msg) msg 99 tools/ubasic_test/run-ubasic.c const char *msg; msg 101 tools/ubasic_test/run-ubasic.c msg = ubasic_errstrings[UBASIC_E_UNKNOWN_ERROR]; msg 103 tools/ubasic_test/run-ubasic.c msg = ubasic_errstrings[ubasic_error]; msg 105 tools/ubasic_test/run-ubasic.c fprintf(stderr, "Ubasic error near Line %d: %s\n", ubasic_linenumber(), msg);