Lines Matching full:if

49     if (gpOpenProject)  in project_lib_version()
60 // If the BFFM_INITIALIZED message is received in BrowseCallbackProc()
66 if (NULL != lpData) in BrowseCallbackProc()
88 if (caption == NULL) in BrowseForFolder()
101 if (NULL != pidl) in BrowseForFolder()
111 if (!retval) in BrowseForFolder()
129 if (filepath.IsEmpty() || filepath[1] != ':') in MakeRelativePath()
135 if (toupper(projpath[0]) != toupper(filepath[0])) in MakeRelativePath()
143 if (!projpath[index] || !filepath[index]) in MakeRelativePath()
149 if (toupper(projpath[index]) != toupper(filepath[index])) in MakeRelativePath()
154 // if we are not at the end, keep track of the start in MakeRelativePath()
156 if (filepath[index]) in MakeRelativePath()
158 if (filepath[index] == ':' || filepath[index] == '\\') in MakeRelativePath()
167 if (filepath[index] || projpath[index]) in MakeRelativePath()
170 if (!dirfound) in MakeRelativePath()
175 // here if we found matching directories. If the project in MakeRelativePath()
178 if (projpath[index]) in MakeRelativePath()
181 if (lastdir == index - 1) in MakeRelativePath()
188 if (filepath[index] == '\\') in MakeRelativePath()
199 if (projpath[index] == '\\' && projpath[index + 1] != 0) in MakeRelativePath()
207 if (filepath[lastdir] == '\\') in MakeRelativePath()
216 // if we get to here, then the project path and the requested in MakeRelativePath()
226 if (MakeRelativePath(gOpenProjectDir, path)) in ConvertToProjectRelativePath()
241 if (!ConvertToProjectRelativePath(info.pathname)) in SaveToPathInfo()
248 if (!MakeRelativePath(GetSamplesDir(), info.pathname)) in SaveToPathInfo()
266 // trim leading ./ if it exists in ConcatPathNames()
268 if (addition[0] == '.' && in ConcatPathNames()
282 if (!addition.IsEmpty()) in ConcatPathNames()
284 if (addition[0] != '\\') in ConcatPathNames()
324 if (!PathIsRelative(path)) in SetProjectDirectory()
333 if ((path.GetAt(0) == '.') && (path.GetAt(1) != '.')) in SetProjectDirectory()
351 if (pathname.Find(_T("Start Menu\\Programs")) >= 0) in CheckOutputFileSecurity()
361 if(index >= 0) in CheckOutputFileSecurity()
370 if (binary_mode) in CheckOutputFileSecurity()
372 if (extension != L"bin") in CheckOutputFileSecurity()
380 if (extension != L"c" && extension != L"h") in CheckOutputFileSecurity()
401 if (newline < 0) in WriteToDosFile()
406 if (newline > start) in WriteToDosFile()
422 #else if in CStringToWideChar()
426 if (len) in CStringToWideChar()
444 if (box->GetItemData(box_index) == val) in SelectDropListItem()
455 if (pos > 0) in RemoveFileExtension()
469 if (!parent) in ErrorMsg()
474 if(!pCmdInfo->IsNoGui()) in ErrorMsg()
481 if(pCmdInfo ->GetLogFile()) in ErrorMsg()
495 if (!parent) in ErrorMsg()
500 if(!pCmdInfo->IsNoGui()) in ErrorMsg()
507 if(pCmdInfo ->GetLogFile()) in ErrorMsg()
521 if (!parent) in Notify()
526 if(!pCmdInfo->IsNoGui()) in Notify()
531 else if(pCmdInfo ->GetLogFile()) in Notify()
544 if (pCmdInfo->IsNoGui()) in StartWorkThread()
553 if ((hthread != INVALID_HANDLE_VALUE) && hthread) in StartWorkThread()
576 if (pWaitDialog) in IsWaitDialogRunning()
597 if(!pCmdInfo->IsNoGui()) in BusyMsg()
601 if (wait_nesting == 1) in BusyMsg()
615 else if(pCmdInfo ->GetLogFile()) in BusyMsg()
630 if(!pCmdInfo->IsNoGui()) in EndBusyMsg()
632 if (wait_nesting > 0) in EndBusyMsg()
637 if (!wait_nesting) in EndBusyMsg()
650 if(!pCmdInfo->IsNoGui()) in AskUser()
652 if (parent == NULL) in AskUser()
659 if (dlg.DoModal() == IDOK) in AskUser()
695 if (pMain->IsTestMode()) in BrowseForSingleFile()
709 if (GetOpenFileName(&OpenInfo)) in BrowseForSingleFile()
743 if (pMain->IsTestMode()) in BrowseForMultipleFiles()
758 if (GetOpenFileName(&OpenInfo)) in BrowseForMultipleFiles()
768 if (NumFiles > 0) in BrowseForMultipleFiles()
790 if (!parent) in GetOutputFileName()
810 if (GetOpenFileName(&OpenInfo)) in GetOutputFileName()
822 if (_tchdir(path) != 0) in MakePath()
828 if (Token.Find(_T(":")) != -1) in MakePath()
832 if (_tchdir(Token) == 0) in MakePath()
835 if (!Token.IsEmpty()) in MakePath()
891 if (reader.ReadFile(inipath)) in ReadIniInfo()
895 if (reader.EnterSection("information")) in ReadIniInfo()
904 // INI version, if and when we need to. Then, reset version information in ReadIniInfo()
907 if (StudioXIni.ini_version == STUDIO_INI_VERSION && in ReadIniInfo()
916 if (reader.EnterSection("dimensions")) in ReadIniInfo()
927 if (StudioXIni.width < 0) in ReadIniInfo()
931 if (StudioXIni.height < 0) in ReadIniInfo()
935 if (StudioXIni.proj_view_width < 0) in ReadIniInfo()
939 if (StudioXIni.resource_view_width < 0) in ReadIniInfo()
943 if (StudioXIni.proj_view_height < 0) in ReadIniInfo()
948 if (reader.EnterSection("recent_projects")) in ReadIniInfo()
960 if (StudioXIni.xpos < 0 || StudioXIni.xpos >= size - 10) in ReadIniInfo()
966 if (StudioXIni.ypos < 0 || StudioXIni.ypos >= size - 10) in ReadIniInfo()
986 if (writer.OpenFile(inipath)) in WriteIniInfo()
1008 if (StudioXIni.recent_project_paths[loop].IsEmpty()) in WriteIniInfo()
1030 if (StudioXIni.samples_dir.IsEmpty()) in GetSamplesDir()
1032 // test to see if we are running a local test instance: in GetSamplesDir()
1033 if (GetModuleFileName(NULL, module_path, MAX_PATH)) in GetSamplesDir()
1036 if (pathname.Find(_T("WindowsApps"), 0) == -1) in GetSamplesDir()
1053 if (GetModuleFileName(NULL, module_path, MAX_PATH)) in GetStudioInstallFolder()
1056 #if defined(_DEBUG) in GetStudioInstallFolder()
1059 if (root_path.Find(_T("\\WindowsApps") > 0)) in GetStudioInstallFolder()
1061 // here if installed from App Store in GetStudioInstallFolder()
1066 // here if running local release mode build in GetStudioInstallFolder()
1088 if (index) in GetTestingParam()
1099 if (file) in GetTestingParam()
1103 if (size) in GetTestingParam()
1117 if (gpOpenProject) in GetMallocName()
1148 // if this is already in my list, just move it to the front: in AddRecentProject()
1152 if (StudioXIni.recent_project_paths[loop] == pathname) in AddRecentProject()
1154 if (loop == 0) in AddRecentProject()
1165 if (!path_exist) in AddRecentProject()
1233 if (gpOpenProject) in GetActiveStringTable()
1237 if (display >= 0 && display < gpOpenProject->mHeader.max_displays) in GetActiveStringTable()
1249 if (table) in GetActiveCharacterMap()
1251 if (reset) in GetActiveCharacterMap()
1290 if (color_format == GX_COLOR_FORMAT_4444ARGB || in IsAlphaFormat()
1302 if (cpu_type == CPU_SYNERGY || in IsCpuWithDave2D()
1320 if (project) in IsRenesasDave2D()
1322 if (IsCpuWithDave2D(project)) in IsRenesasDave2D()
1324 if (project->mHeader.dave2d_graph_accelerator) in IsRenesasDave2D()
1336 if (project && IsRenesasDave2D(project)) in IsDave2dFontFormat()
1341 if (project_lib_version() >= GX_VERSION_SYNERGY_GLYPH_GEN_CHANGE) in IsDave2dFontFormat()
1359 if (project && (project->mHeader.target_cpu == CPU_ST_CHROMEART)) in IsSTChromeArt()
1371 if (project->mHeader.target_cpu == CPU_SYNERGY || in IsRenesasHwJpeg()
1374 if (project->mHeader.renesas_jpeg_decoder == DECODER_TYPE_HW) in IsRenesasHwJpeg()
1385 if (map->gx_pixelmap_data) in pixelmap_destroy()
1390 if (map->gx_pixelmap_aux_data) in pixelmap_destroy()
1410 if (map) in pixelmap_list_destroy()
1426 if (map.LoadBitmap(icon_id)) in PaintBmp()
1462 if (index < map_size) in Test()
1464 if (map[index] & mask) in Test()
1477 if (Test(start)) in Test()
1490 if (index < map_size) in Set()
1510 if (Test(val)) in TestAndSet()
1521 if (map_size != size) in SetMapSize()
1523 if (map) in SetMapSize()
1544 if (val.IsEmpty()) in AddToMap()
1555 if (wide_text) in AddToMap()
1562 if (((*get) >= 0xd800) && ((*get) <= 0xdbff)) in AddToMap()
1573 if (map_size != CHARMAP_SIZE_EXTENDED) in AddToMap()
1588 if ((unicode >= 0x20) && TestAndSet(unicode)) in AddToMap()
1607 if (!other) in Overlay()
1614 if (other->Test(val)) in Overlay()
1629 if (Test(val)) in IsEmpty()
1688 if (GetFileAttributes(file) == INVALID_FILE_ATTRIBUTES) in FileExists()
1743 if (child->type == resource_type) in FileExists()
1749 if (_tcscmp(str, pathname) == 0) in FileExists()
1799 if (group_info == NULL) in NameExists()
1819 if (child->type == resource_type) in NameExists()
1821 if ((resource_type == RES_TYPE_PIXELMAP) && (child->map_list.GetCount() > 1)) in NameExists()
1828 if (name.GetLength() > child_name.GetLength()) in NameExists()
1832if ((name.Left(size) == child_name) && (name_suffix.SpanIncluding(L"0123456789") == name_suffix)) in NameExists()
1842 if (_tcscmp(child_name, name) == 0) in NameExists()
1866 if (!get_string.Compare(string)) in GetSubMenuIndex()
1880 if (pMenu->GetMenuItemID(index) == id) in GetSubMenuIndex()
1942 if (input_string.IsEmpty()) in TestInputName()
1944 if (show_error_message) in TestInputName()
1958 if (!(isalpha(temp_char)) && (temp_char != '_')) in TestInputName()
1970if ((temp_char >= 0) && (temp_char <= 255) && (isalnum(temp_char) || (temp_char == '_'))) in TestInputName()
1982 if (!meet_naming_rule) in TestInputName()
1984 if (show_error_message) in TestInputName()
2002 if(TestInputName(input_string, field_name, parent)) in TestInputName()
2021 if (output_name.IsEmpty()) in SetImportIdName()
2028 if (!isalpha(temp_char) && (temp_char != '_')) in SetImportIdName()
2030 … /*If filename isn't started with alpha or underline. Force the first character to be underline.*/ in SetImportIdName()
2039 if (!isalnum(temp_char) && (temp_char != '_')) in SetImportIdName()
2057 if (input_name != output_name) in SetImportIdName()
2080 if (filename.IsEmpty()) in IsFileNameFormat()
2090 if (isalnum(temp_char) || (temp_char == '_') || (temp_char == ' ') || (temp_char == '.')) in IsFileNameFormat()
2109 if (info->map_list.GetCount() > 1) in MakePixelmapName()
2130 if (key) in GetTextScaler()
2153 if (value > 255) in ToUByte()
2157 else if (value < 0) in ToUByte()
2170 if (entry->name == name) in FindPairVal()
2186 if (entry->val == val) in FindPairString()