Lines Matching refs:rText
235 sal_Bool SbModule::Disassemble( String& rText ) in Disassemble() argument
237 rText.Erase(); in Disassemble()
241 aDisas.Disas( rText ); in Disassemble()
243 return sal_Bool( rText.Len() != 0 ); in Disassemble()
350 sal_Bool SbiDisas::DisasLine( String& rText ) in DisasLine() argument
358 rText.Erase(); in DisasLine()
395 rText.AppendAscii( "; " ); in DisasLine()
396 rText += s; in DisasLine()
397 rText.AppendAscii( _crlf() ); in DisasLine()
427 rText.AppendAscii( cBuf ); in DisasLine()
430 rText.AppendAscii( p ); in DisasLine()
436 rText.AppendAscii( cBuf ); in DisasLine()
438 rText += ':'; in DisasLine()
439 rText.AppendAscii( _crlf() ); in DisasLine()
459 rText += aPCodeStr; in DisasLine()
469 void SbiDisas::StrOp( String& rText ) in StrOp() argument
476 rText += '"'; in StrOp()
477 rText.AppendAscii( p ); in StrOp()
478 rText += '"'; in StrOp()
482 rText.AppendAscii( "?String? " ); in StrOp()
483 rText += (sal_uInt16)nOp1; in StrOp()
487 void SbiDisas::Str2Op( String& rText ) in Str2Op() argument
489 StrOp( rText ); in Str2Op()
490 rText += ','; in Str2Op()
494 rText += s; in Str2Op()
498 void SbiDisas::ImmOp( String& rText ) in ImmOp() argument
500 rText += String::CreateFromInt32(nOp1); in ImmOp()
504 void SbiDisas::OnOp( String& rText ) in OnOp() argument
506 rText += String::CreateFromInt32(nOp1 & 0x7FFF); in OnOp()
508 rText.AppendAscii( "\t; Gosub" ); in OnOp()
512 void SbiDisas::LblOp( String& rText ) in LblOp() argument
516 rText.AppendAscii( cBuf ); in LblOp()
520 void SbiDisas::ReturnOp( String& rText ) in ReturnOp() argument
523 LblOp( rText ); in ReturnOp()
527 void SbiDisas::ResumeOp( String& rText ) in ResumeOp() argument
531 case 1: rText.AppendAscii( "NEXT" ); break; in ResumeOp()
532 case 2: LblOp( rText ); in ResumeOp()
538 void SbiDisas::PromptOp( String& rText ) in PromptOp() argument
541 rText.AppendAscii( "\"? \"" ); in PromptOp()
545 void SbiDisas::CloseOp( String& rText ) in CloseOp() argument
547 rText.AppendAscii( nOp1 ? "Channel" : "All" ); in CloseOp()
551 void SbiDisas::CharOp( String& rText ) in CharOp() argument
562 if( p ) rText.AppendAscii( p ); in CharOp()
564 rText += '\'', in CharOp()
565 rText += (char) nOp1, in CharOp()
566 rText += '\''; in CharOp()
568 rText.AppendAscii( "char " ), in CharOp()
569 rText += (sal_uInt16)nOp1; in CharOp()
573 void SbiDisas::VarOp( String& rText ) in VarOp() argument
575 rText += rImg.GetString( (sal_uInt16)(nOp1 & 0x7FFF) ); in VarOp()
576 rText.AppendAscii( "\t; " ); in VarOp()
580 TypeOp( rText ); in VarOp()
582 rText.AppendAscii( ", Args" ); in VarOp()
586 void SbiDisas::VarDefOp( String& rText ) in VarDefOp() argument
588 rText += rImg.GetString( (sal_uInt16)(nOp1 & 0x7FFF) ); in VarDefOp()
589 rText.AppendAscii( "\t; " ); in VarDefOp()
592 TypeOp( rText ); in VarDefOp()
596 void SbiDisas::OffOp( String& rText ) in OffOp() argument
598 rText += String::CreateFromInt32( nOp1 & 0x7FFF ); in OffOp()
599 rText.AppendAscii( "\t; " ); in OffOp()
603 TypeOp( rText ); in OffOp()
605 rText.AppendAscii( ", Args" ); in OffOp()
616 void SbiDisas::TypeOp( String& rText ) in TypeOp() argument
622 rText.AppendAscii( "BYVAL " ); in TypeOp()
632 rText.AppendAscii( pTypes[ nOp1 ] ); in TypeOp()
636 rText.AppendAscii( "type " ); in TypeOp()
637 rText += (sal_uInt16)nOp1; in TypeOp()
645 void SbiDisas::CaseOp( String& rText ) in CaseOp() argument
647 LblOp( rText ); in CaseOp()
648 rText += ','; in CaseOp()
649 rText.AppendAscii( pOp1[ nOp2 - SbxEQ + _EQ ] ); in CaseOp()
653 void SbiDisas::StmntOp( String& rText ) in StmntOp() argument
655 rText += String::CreateFromInt32( nOp1 ); in StmntOp()
656 rText += ','; in StmntOp()
659 rText += String::CreateFromInt32( nCol ); in StmntOp()
660 rText.AppendAscii( " (For-Level: " ); in StmntOp()
661 rText += String::CreateFromInt32( nFor ); in StmntOp()
662 rText += ')'; in StmntOp()
666 void SbiDisas::StrmOp( String& rText ) in StrmOp() argument
670 rText.AppendAscii( cBuf ); in StrmOp()
672 rText.AppendAscii( ", Input" ); in StrmOp()
674 rText.AppendAscii( ", Output" ); in StrmOp()
676 rText.AppendAscii( ", Append" ); in StrmOp()
678 rText.AppendAscii( ", Random" ); in StrmOp()
680 rText.AppendAscii( ", Binary" ); in StrmOp()