Lines Matching refs:Replace
693 CHAR16 *Replace;
704 // Below is the scenario of Search/Replace command:
706 // IF user press ESC, Search/Replace command ends.
707 // IF user just press Enter, Search/Replace command ends.
710 // 2. An Input Bar is prompted: "Replace With:".
711 // IF user press ESC, Search/Replace command ends.
716 // and Search/Replace command ends
719 // 4. An Input Bar will be prompted: "Replace ( Yes/No/All/Cancel )?"
723 // will be replaced with R and Search/Replace command ends.
724 // IF user press 'c' or 'C' or ESC, Search/Replace command ends.
727 // IF user press ESC, Search/Replace command ends.
729 // IF user press 'n' or 'N', Search/Replace command ends.
730 // IF user press 'c' or 'C', Search/Replace command ends.
769 Status = InputBarSetPrompt (L"Replace With: ");
789 Replace = CatSPrint (NULL, L"%s", InputBarGetString());
790 if (Replace == NULL) {
795 ReplaceLen = StrLen (Replace);
826 Status = InputBarSetPrompt (L"Replace (Yes/No/All/Cancel) ?");
830 FreePool (Replace);
837 FreePool (Replace);
851 FreePool (Replace);
878 FreePool (Replace);
888 // Decide to Replace
902 Status = FileBufferReplaceAll (Search, Replace, 0);
904 FreePool (Replace);
910 Status = FileBufferReplace (Replace, SearchLen);
913 FreePool (Replace);
923 FreePool (Replace);
930 FreePool (Replace);
944 FreePool (Replace);
957 FreePool (Replace);
975 FreePool (Replace);