comment 298 tools/capdis.c static void describe_str(firmware *fw, char *comment, uint32_t adr) comment 322 tools/capdis.c int l=strlen(comment); comment 329 tools/capdis.c char *p=comment+l; comment 396 tools/capdis.c void describe_const_op(firmware *fw, unsigned dis_opts, char *comment, uint32_t adr) comment 410 tools/capdis.c strcat(comment," "); comment 411 tools/capdis.c strcat(comment,ostub->nm); comment 417 tools/capdis.c describe_str(fw,comment,adr); comment 421 tools/capdis.c void describe_prop_call(firmware *fw,iter_state_t *is, unsigned dis_opts, char *comment, uint32_t target) comment 434 tools/capdis.c sprintf(comment+strlen(comment)," %s (%d)",ostub->nm,ostub->val); comment 436 tools/capdis.c sprintf(comment+strlen(comment)," (%d)",regs[0]); // print number on propcase call line for easier searching comment 440 tools/capdis.c void describe_simple_func(firmware *fw, unsigned dis_opts, char *comment, uint32_t target) comment 450 tools/capdis.c strcat(comment," return"); comment 452 tools/capdis.c sprintf(comment+strlen(comment)," return %#x",info.retval); comment 458 tools/capdis.c int do_dis_branch(firmware *fw, iter_state_t *is, unsigned dis_opts, char *ops, char *comment) comment 477 tools/capdis.c strcat(comment,ostub->nm); comment 488 tools/capdis.c strcat(comment,"-> "); comment 489 tools/capdis.c strcat(comment,ostub->nm); comment 506 tools/capdis.c strcat(comment,subname); comment 509 tools/capdis.c describe_prop_call(fw,is,dis_opts,comment,desc_adr | is->thumb); comment 510 tools/capdis.c describe_simple_func(fw,dis_opts,comment,desc_adr | is->thumb); comment 515 tools/capdis.c int do_dis_call(firmware *fw, iter_state_t *is, unsigned dis_opts, char *ops, char *comment) comment 530 tools/capdis.c strcat(comment,ostub->nm); comment 542 tools/capdis.c strcat(comment,"-> "); comment 543 tools/capdis.c strcat(comment,ostub->nm); comment 560 tools/capdis.c strcat(comment,subname); comment 563 tools/capdis.c describe_prop_call(fw,is,dis_opts,comment,desc_adr); comment 564 tools/capdis.c describe_simple_func(fw,dis_opts,comment,desc_adr); comment 574 tools/capdis.c char *comment, comment 582 tools/capdis.c comment[0]=0; comment 584 tools/capdis.c if(do_dis_branch(fw,is,dis_opts,ops,comment)) { comment 587 tools/capdis.c if(do_dis_call(fw,is,dis_opts,ops,comment)) { comment 602 tools/capdis.c sprintf(comment,"[pc, #%d] (0x%08x)",insn->detail->arm.operands[1].mem.disp,ad); comment 606 tools/capdis.c sprintf(comment,"0x%08x: (%08x)",ad,*pv); comment 608 tools/capdis.c describe_const_op(fw,dis_opts,comment,ad); comment 610 tools/capdis.c sprintf(comment,"WARNING didn't convert PC rel to constant!"); comment 624 tools/capdis.c sprintf(comment,"adr %s, #%x (0x%08x)", comment 629 tools/capdis.c sprintf(comment,"%s %s, pc, #%x (0x%08x)", comment 647 tools/capdis.c sprintf(comment,"0x%08x: (%08x)",ad,*pv); comment 650 tools/capdis.c describe_const_op(fw,dis_opts,comment,ad); comment 652 tools/capdis.c sprintf(comment,"WARNING didn't convert ADR/ADD/SUB Rd, PC, #x to constant!"); comment 655 tools/capdis.c sprintf(comment+strlen(comment), comment 905 tools/capdis.c char insn_mnemonic[32], insn_ops[160], comment[COMMENT_LEN+1]; comment 907 tools/capdis.c do_dis_insn(fw,is,dis_opts,insn_mnemonic,insn_ops,comment,&ti); comment 934 tools/capdis.c if(strlen(comment)) { comment 935 tools/capdis.c printf("\t%s %s",comment_start,comment); comment 945 tools/capdis.c if(strlen(comment)) { comment 946 tools/capdis.c printf(" %s %s",comment_start,comment); comment 442 tools/code_gen.c char *comment; comment 479 tools/code_gen.c p->comment = malloc(strlen(s)+1); comment 480 tools/code_gen.c strcpy(p->comment,s); comment 484 tools/code_gen.c p->comment = 0; comment 499 tools/code_gen.c p->comment = 0; comment 927 tools/code_gen.c patch_comment = p->comment; comment 953 tools/code_gen.c patch_comment = p->comment; comment 968 tools/code_gen.c patch_comment = p->comment; comment 983 tools/code_gen.c patch_comment = p->comment; comment 1018 tools/code_gen.c fprintf(outfile, "%s\n", p->comment); comment 601 tools/packfi2/deflate.c (s->gzhead->comment == Z_NULL ? 0 : 16) comment 712 tools/packfi2/deflate.c if (s->gzhead->comment != NULL) { comment 728 tools/packfi2/deflate.c val = s->gzhead->comment[s->gzindex++]; comment 119 tools/packfi2/zlib.h Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */