Lines Matching refs:s_findrep_struct
318 static FINDREPLACEW s_findrep_struct; variable
1111 if (s_findrep_struct.Flags & FR_DIALOGTERM) in _OnFindRepl()
1115 if (s_findrep_struct.Flags & FR_FINDNEXT) in _OnFindRepl()
1123 else if (s_findrep_struct.Flags & FR_REPLACE) in _OnFindRepl()
1131 else if (s_findrep_struct.Flags & FR_REPLACEALL) in _OnFindRepl()
1141 if (s_findrep_struct.Flags & FR_WHOLEWORD) in _OnFindRepl()
1143 if (s_findrep_struct.Flags & FR_MATCHCASE) in _OnFindRepl()
1145 down = (s_findrep_struct.Flags & FR_DOWN) != 0; in _OnFindRepl()
1146 p = utf16_to_enc(s_findrep_struct.lpstrFindWhat, NULL); in _OnFindRepl()
1147 q = utf16_to_enc(s_findrep_struct.lpstrReplaceWith, NULL); in _OnFindRepl()
1310 s_findrep_struct.lpstrReplaceWith[0] = NUL; in gui_mch_open()
2669 s_findrep_struct.hwndOwner = s_hwnd; in initialise_findrep()
2670 s_findrep_struct.Flags = FR_DOWN; in initialise_findrep()
2672 s_findrep_struct.Flags |= FR_MATCHCASE; in initialise_findrep()
2674 s_findrep_struct.Flags |= FR_WHOLEWORD; in initialise_findrep()
2680 int len = s_findrep_struct.wFindWhatLen - 1; in initialise_findrep()
2682 wcsncpy(s_findrep_struct.lpstrFindWhat, p, len); in initialise_findrep()
2683 s_findrep_struct.lpstrFindWhat[len] = NUL; in initialise_findrep()
2722 s_findrep_hwnd = FindTextW((LPFINDREPLACEW) &s_findrep_struct); in gui_mch_find_dialog()
2746 s_findrep_hwnd = ReplaceTextW((LPFINDREPLACEW) &s_findrep_struct); in gui_mch_replace_dialog()
5449 s_findrep_struct.lStructSize = sizeof(s_findrep_struct); in gui_mch_init()
5450 s_findrep_struct.lpstrFindWhat = ALLOC_MULT(WCHAR, MSWIN_FR_BUFSIZE); in gui_mch_init()
5451 s_findrep_struct.lpstrFindWhat[0] = NUL; in gui_mch_init()
5452 s_findrep_struct.lpstrReplaceWith = ALLOC_MULT(WCHAR, MSWIN_FR_BUFSIZE); in gui_mch_init()
5453 s_findrep_struct.lpstrReplaceWith[0] = NUL; in gui_mch_init()
5454 s_findrep_struct.wFindWhatLen = MSWIN_FR_BUFSIZE; in gui_mch_init()
5455 s_findrep_struct.wReplaceWithLen = MSWIN_FR_BUFSIZE; in gui_mch_init()