summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-4.4/test/perf/ubrkperf')
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/Makefile.in79
-rwxr-xr-xBuild/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf.pl94
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf_r.pl86
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.cpp251
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.dsp172
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.h137
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.vcproj457
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf20.dsp172
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.cpp771
-rw-r--r--Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.dsp168
10 files changed, 0 insertions, 2387 deletions
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/Makefile.in b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/Makefile.in
deleted file mode 100644
index e255c38940e..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/Makefile.in
+++ /dev/null
@@ -1,79 +0,0 @@
-## Makefile.in for ICU - test/perf/ubrkperf
-## Copyright (c) 2001-2006, International Business Machines Corporation and
-## others. All Rights Reserved.
-
-## Source directory information
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-
-top_builddir = ../../..
-
-include $(top_builddir)/icudefs.mk
-
-## Build directory information
-subdir = test/perf/ubrkperf
-
-## Extra files to remove for 'make clean'
-CLEANFILES = *~ $(DEPS)
-
-## Target information
-TARGET = ubrkperf
-
-CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
-LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
-
-OBJECTS = ubrkperf.o
-
-DEPS = $(OBJECTS:.o=.d)
-
-## List of phony targets
-.PHONY : all all-local install install-local clean clean-local \
-distclean distclean-local dist dist-local check check-local
-
-## Clear suffix list
-.SUFFIXES :
-
-## List of standard targets
-all: all-local
-install: install-local
-clean: clean-local
-distclean : distclean-local
-dist: dist-local
-check: all check-local
-
-all-local: $(TARGET)
-
-install-local:
-
-dist-local:
-
-clean-local:
- test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
- $(RMV) $(OBJECTS) $(TARGET)
-
-distclean-local: clean-local
- $(RMV) Makefile
-
-check-local: all-local
-
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) \
- && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-$(TARGET) : $(OBJECTS)
- $(LINK.cc) -o $@ $^ $(LIBS)
- $(POST_BUILD_STEP)
-
-invoke:
- ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
-
-ifeq (,$(MAKECMDGOALS))
--include $(DEPS)
-else
-ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
-ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
--include $(DEPS)
-endif
-endif
-endif
-
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf.pl b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf.pl
deleted file mode 100755
index 0fdf71b2882..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf.pl
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/perl
-# ********************************************************************
-# * COPYRIGHT:
-# * Copyright (c) 2002-2008, International Business Machines Corporation and
-# * others. All Rights Reserved.
-# ********************************************************************
-
-#use strict;
-
-require "../perldriver/Common.pl";
-
-use lib '../perldriver';
-
-use PerfFramework;
-
-my $options = {
- "title"=>"BreakIterator performance regression (ICU ".$ICUPrevious2Version.", ".$ICUPreviousVersion." and ".$ICULatestVersion.")",
- "headers"=>"ICU".$ICUPrevious2Version." ICU".$ICUPreviousVersion." ICU".$ICULatestVersion,
- "operationIs"=>"code point",
- "eventIs"=>"break",
- "passes"=>"10",
- "time"=>"5",
- #"outputType"=>"HTML",
- "dataDir"=>$CollationDataPath,
- "outputDir"=>"../results"
- };
-
-# programs
-# tests will be done for all the programs. Results will be stored and connected
-my $m1 = "-- -m char";
-my $m2 = "-- -m word";
-my $m3 = "-- -m line";
-my $m4 = "-- -m sentence";
-
-my $m;
-
-if(@_ >= 0) {
- $m = "-- -m ".shift;
-} else {
- $m = $m1;
-}
-
-my $p1; # Before Previous
-my $p2; # Previous
-my $p3; # Latest
-
-if ($OnWindows) {
- $p1 = $ICUPathPrevious2."/ubrkperf/$WindowsPlatform/Release/ubrkperf.exe";
- $p2 = $ICUPathPrevious."/ubrkperf/$WindowsPlatform/Release/ubrkperf.exe";
- $p3 = $ICUPathLatest."/ubrkperf/$WindowsPlatform/Release/ubrkperf.exe";
-} else {
- $p1 = $ICUPathPrevious2."/ubrkperf/ubrkperf";
- $p2 = $ICUPathPrevious."/ubrkperf/ubrkperf";
- $p3 = $ICUPathLatest."/ubrkperf/ubrkperf";
-}
-
-my $dataFiles = {
-"en", ["thesis.txt",
- "2drvb10.txt",
- "ulyss10.txt",
- "nvsbl10.txt",
- "vfear11a.txt",
- "TestNames_Asian.txt",
- "TestNames_Chinese.txt",
- "TestNames_Japanese.txt",
- "TestNames_Japanese_h.txt",
- "TestNames_Japanese_k.txt",
- "TestNames_Korean.txt",
- "TestNames_Latin.txt",
- "TestNames_SerbianSH.txt",
- "TestNames_SerbianSR.txt",
- "TestNames_Thai.txt",
- "Testnames_Russian.txt",
-],
-"th", ["TestNames_Thai.txt", "th18057.txt"]
-};
-
-
-my $tests = {
-"TestForwardChar", ["$p1 $m1 TestICUForward", "$p2 $m1 TestICUForward", "$p3 $m1 TestICUForward"],
-"TestForwardWord", ["$p1 $m2 TestICUForward", "$p2 $m2 TestICUForward", "$p3 $m2 TestICUForward"],
-"TestForwardLine", ["$p1 $m3 TestICUForward", "$p2 $m3 TestICUForward", "$p3 $m3 TestICUForward"],
-"TestForwardSentence", ["$p1 $m4 TestICUForward", "$p2 $m4 TestICUForward", "$p3 $m4 TestICUForward"],
-
-"TestIsBoundChar", ["$p1 $m1 TestICUIsBound", "$p2 $m1 TestICUIsBound", "$p3 $m1 TestICUIsBound"],
-"TestIsBoundWord", ["$p1 $m2 TestICUIsBound", "$p2 $m2 TestICUIsBound", "$p3 $m2 TestICUIsBound"],
-"TestIsBoundLine", ["$p1 $m3 TestICUIsBound", "$p2 $m3 TestICUIsBound", "$p3 $m3 TestICUIsBound"],
-"TestIsBoundSentence", ["$p1 $m4 TestICUIsBound", "$p2 $m4 TestICUIsBound", "$p3 $m4 TestICUIsBound"],
-
-};
-
-runTests($options, $tests, $dataFiles);
-
-
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf_r.pl b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf_r.pl
deleted file mode 100644
index 6edffb3097d..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/UBrkPerf_r.pl
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/usr/bin/perl
-# ********************************************************************
-# * Copyright (c) 2002-2008, International Business Machines
-# * Corporation and others. All Rights Reserved.
-# ********************************************************************
-
-#use strict;
-
-require "../perldriver/Common.pl";
-
-use lib '../perldriver';
-
-use PerfFramework;
-
-my $options = {
- "title"=>"BreakIterator performance regression: ICU (".$ICUPreviousVersion." and ".$ICULatestVersion.")",
- "headers"=>"ICU".$ICUPreviousVersion." ICU".$ICULatestVersion,
- "operationIs"=>"code point",
- "eventIs"=>"break",
- "passes"=>"10",
- "time"=>"5",
- #"outputType"=>"HTML",
- "dataDir"=>$CollationDataPath,
- "outputDir"=>"../results"
- };
-
-# programs
-# tests will be done for all the programs. Results will be stored and connected
-my $m1 = "-- -m char";
-my $m2 = "-- -m word";
-my $m3 = "-- -m line";
-my $m4 = "-- -m sentence";
-
-my $m;
-
-if(@_ >= 0) {
- $m = "-- -m ".shift;
-} else {
- $m = $m1;
-}
-
-my $p1; # Previous
-my $p2; # Latest
-
-if ($OnWindows) {
- $p1 = $ICUPathPrevious."/ubrkperf/$WindowsPlatform/Release/ubrkperf.exe";
- $p2 = $ICUPathLatest."/ubrkperf/$WindowsPlatform/Release/ubrkperf.exe";
-} else {
- $p1 = $ICUPathPrevious."/ubrkperf/ubrkperf";
- $p2 = $ICUPathLatest."/ubrkperf/ubrkperf";
-}
-
-my $dataFiles = {
-"en", [
- "TestNames_Asian.txt",
- "TestNames_Chinese.txt",
- "TestNames_Japanese.txt",
- "TestNames_Japanese_h.txt",
- "TestNames_Japanese_k.txt",
- "TestNames_Korean.txt",
- "TestNames_Latin.txt",
- "TestNames_SerbianSH.txt",
- "TestNames_SerbianSR.txt",
- "TestNames_Thai.txt",
- "Testnames_Russian.txt",
-],
-"th", ["TestNames_Thai.txt", "th18057.txt"]
-};
-
-
-my $tests = {
-"TestForwardChar", ["$p1 $m1 TestICUForward", "$p2 $m1 TestICUForward"],
-"TestForwardWord", ["$p1 $m2 TestICUForward", "$p2 $m2 TestICUForward"],
-"TestForwardLine", ["$p1 $m3 TestICUForward", "$p2 $m3 TestICUForward"],
-"TestForwardSentence", ["$p1 $m4 TestICUForward", "$p2 $m4 TestICUForward"],
-
-"TestIsBoundChar", ["$p1 $m1 TestICUIsBound", "$p2 $m1 TestICUIsBound"],
-"TestIsBoundWord", ["$p1 $m2 TestICUIsBound", "$p2 $m2 TestICUIsBound"],
-"TestIsBoundLine", ["$p1 $m3 TestICUIsBound", "$p2 $m3 TestICUIsBound"],
-"TestIsBoundSentence", ["$p1 $m4 TestICUIsBound", "$p2 $m4 TestICUIsBound"],
-
-};
-
-runTests($options, $tests, $dataFiles);
-
-
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.cpp b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.cpp
deleted file mode 100644
index 9a090ee5fac..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.cpp
+++ /dev/null
@@ -1,251 +0,0 @@
-/********************************************************************
- * COPYRIGHT:
- * Copyright (C) 2001-2008 International Business Machines Corporation
- * and others. All Rights Reserved.
- *
- ********************************************************************/
-/********************************************************************************
-*
-* File ubrkperf.cpp
-*
-* Modification History:
-* Name Description
-* Vladimir Weinstein First Version, based on collperf
-*
-*********************************************************************************
-*/
-
-#include "ubrkperf.h"
-#include "uoptions.h"
-#include <stdio.h>
-
-
-#if 0
-#ifdef U_DARWIN
-#include <ApplicationServices/ApplicationServices.h>
-enum{
- kUCTextBreakAllMask = (kUCTextBreakClusterMask | kUCTextBreakWordMask | kUCTextBreakLineMask)
- };
-UCTextBreakType breakTypes[4] = {kUCTextBreakCharMask, kUCTextBreakClusterMask, kUCTextBreakWordMask, kUCTextBreakLineMask};
-TextBreakLocatorRef breakRef;
-UCTextBreakType macBreakType;
-
-void createMACBrkIt() {
- OSStatus status = noErr;
- LocaleRef lref;
- status = LocaleRefFromLocaleString(opt_locale, &lref);
- status = UCCreateTextBreakLocator(lref, 0, kUCTextBreakAllMask, (TextBreakLocatorRef*)&breakRef);
- if(opt_char == TRUE) {
- macBreakType = kUCTextBreakClusterMask;
- } else if(opt_word == TRUE) {
- macBreakType = kUCTextBreakWordMask;
- } else if(opt_line == TRUE) {
- macBreakType = kUCTextBreakLineMask;
- } else if(opt_sentence == TRUE) {
- // error
- // brkit = BreakIterator::createSentenceInstance(opt_locale, status);
- } else {
- // default is character iterator
- macBreakType = kUCTextBreakClusterMask;
- }
-}
-#endif
-
-
-void doForwardTest() {
- if (opt_terse == FALSE) {
- printf("Doing the forward test\n");
- }
- int32_t noBreaks = 0;
- int32_t i = 0;
- unsigned long startTime = timeGetTime();
- unsigned long elapsedTime = 0;
- if(opt_icu) {
- createICUBrkIt();
- brkit->setText(text);
- brkit->first();
- if (opt_terse == FALSE) {
- printf("Warmup\n");
- }
- while(brkit->next() != BreakIterator::DONE) {
- noBreaks++;
- }
-
- if (opt_terse == FALSE) {
- printf("Measure\n");
- }
- startTime = timeGetTime();
- for(i = 0; i < opt_loopCount; i++) {
- brkit->first();
- while(brkit->next() != BreakIterator::DONE) {
- }
- }
-
- elapsedTime = timeGetTime()-startTime;
- } else if(opt_mac) {
-#ifdef U_DARWIN
- createMACBrkIt();
- UniChar* filePtr = text;
- OSStatus status = noErr;
- UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
- startOffset = 0;
- //printf("\t---Search forward--\n");
-
- while (startOffset < numUniChars)
- {
- status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
- startOffset, &breakOffset);
- //require_action(status == noErr, EXIT, printf( "**UCFindTextBreak failed: startOffset %d, status %d\n", (int)startOffset, (int)status));
- //require_action((breakOffset <= numUniChars),EXIT, printf("**UCFindTextBreak breakOffset too big: startOffset %d, breakOffset %d\n", (int)startOffset, (int)breakOffset));
-
- // Output break
- //printf("\t%d\n", (int)breakOffset);
-
- // Increment counters
- noBreaks++;
- startOffset = breakOffset;
- }
- startTime = timeGetTime();
- for(i = 0; i < opt_loopCount; i++) {
- startOffset = 0;
-
- while (startOffset < numUniChars)
- {
- status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
- startOffset, &breakOffset);
- // Increment counters
- startOffset = breakOffset;
- }
- }
- elapsedTime = timeGetTime()-startTime;
- UCDisposeTextBreakLocator(&breakRef);
-#endif
-
-
- }
-
-
- if (opt_terse == FALSE) {
- int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount));
- int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
- int32_t timePerBreak = (int)(float(1000) * ((float)loopTime/(float)noBreaks));
- printf("forward break iteration average loop time %d\n", loopTime);
- printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
- printf("number of breaks %d average time per break %d\n", noBreaks, timePerBreak);
- } else {
- printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
- }
-
-
-}
-
-
-
-
-#endif
-
-UPerfFunction* BreakIteratorPerformanceTest::TestICUForward()
-{
- return new ICUForward(locale, m_mode_, m_file_, m_fileLen_);
-}
-
-UPerfFunction* BreakIteratorPerformanceTest::TestICUIsBound()
-{
- return new ICUIsBound(locale, m_mode_, m_file_, m_fileLen_);
-}
-
-UPerfFunction* BreakIteratorPerformanceTest::TestDarwinForward()
-{
- return NULL;
-}
-
-UPerfFunction* BreakIteratorPerformanceTest::TestDarwinIsBound()
-{
- return NULL;
-}
-
-UPerfFunction* BreakIteratorPerformanceTest::runIndexedTest(int32_t index, UBool exec,
- const char *&name,
- char* par)
-{
- switch (index) {
- TESTCASE(0, TestICUForward);
- TESTCASE(1, TestICUIsBound);
- TESTCASE(2, TestDarwinForward);
- TESTCASE(3, TestDarwinIsBound);
- default:
- name = "";
- return NULL;
- }
- return NULL;
-}
-
-UOption options[]={
- UOPTION_DEF( "mode", 'm', UOPT_REQUIRES_ARG)
- };
-
-
-BreakIteratorPerformanceTest::BreakIteratorPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status)
-: UPerfTest(argc,argv,status),
-m_mode_(NULL),
-m_file_(NULL),
-m_fileLen_(0)
-{
-
- _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, (int32_t)(sizeof(options)/sizeof(options[0])), options);
-
-
- if(options[0].doesOccur) {
- m_mode_ = options[0].value;
- switch(options[0].value[0]) {
- case 'w' :
- case 'c' :
- case 's' :
- case 'l' :
- break;
- default:
- status = U_ILLEGAL_ARGUMENT_ERROR;
- break;
- }
- } else {
- status = U_ILLEGAL_ARGUMENT_ERROR;
- }
-
- m_file_ = getBuffer(m_fileLen_, status);
-
- if(status== U_ILLEGAL_ARGUMENT_ERROR){
- fprintf(stderr, gUsageString, "ubrkperf");
- fprintf(stderr, "\t-m or --mode Required mode for breakiterator: char, word, line or sentence\n");
-
- return;
- }
-
- if(U_FAILURE(status)){
- fprintf(stderr, "FAILED to create UPerfTest object. Error: %s\n", u_errorName(status));
- return;
- }
-}
-
-BreakIteratorPerformanceTest::~BreakIteratorPerformanceTest()
-{
-}
-
-
-//----------------------------------------------------------------------------------------
-//
-// Main -- process command line, read in and pre-process the test file,
-// call other functions to do the actual tests.
-//
-//----------------------------------------------------------------------------------------
-int main(int argc, const char** argv) {
- UErrorCode status = U_ZERO_ERROR;
- BreakIteratorPerformanceTest test(argc, argv, status);
- if(U_FAILURE(status)){
- return status;
- }
- if(test.run()==FALSE){
- fprintf(stderr,"FAILED: Tests could not be run please check the arguments.\n");
- return -1;
- }
- return 0;
-}
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.dsp b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.dsp
deleted file mode 100644
index d3417e55961..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.dsp
+++ /dev/null
@@ -1,172 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ubrkperf" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=UBRKPERF - WIN32 RELEASE
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ubrkperf.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ubrkperf.mak" CFG="UBRKPERF - WIN32 RELEASE"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ubrkperf - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperf - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperf - Win64 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperf - Win64 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ubrkperf - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# ADD CPP /nologo /G6 /MD /W3 /GX /O2 /Ob2 /I "..\..\..\..\include" /I "..\..\..\tools\toolutil" /I "..\..\..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 icuuc.lib icuin.lib ctestfw.lib icutu.lib kernel32.lib user32.lib advapi32.lib shell32.lib winmm.lib /nologo /subsystem:console /machine:I386 /out:"..\..\..\..\bin\ubrkperf24.exe" /libpath:"..\..\..\..\lib\\"
-# Begin Custom Build
-InputPath=\dev\0_icu\bin\ubrkperf24.exe
-SOURCE="$(InputPath)"
-
-"c:\dev\0_icu\bin\ubrkperf22.exe" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- copy $(InputPath) c:\dev\0_icu\bin\ubrkperf22.exe
-
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "ubrkperf - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# ADD CPP /nologo /G6 /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\..\tools\toolutil" /I "..\..\..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 icuucd.lib icuind.lib icutud.lib winmm.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\lib\\"
-
-!ELSEIF "$(CFG)" == "ubrkperf - Win64 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /Op /I "..\..\..\..\include" /I "..\..\..\tools\toolutil" /I "..\..\..\common" /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "_IA64_" /D "WIN32" /D "_AFX_NO_DAO_SUPPORT" /FD /Wp64 /Zm600 /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:IX86 /machine:IA64
-# ADD LINK32 icuuc.lib icuin.lib ctestfw.lib icutu.lib kernel32.lib user32.lib advapi32.lib shell32.lib winmm.lib /nologo /subsystem:console /machine:IX86 /libpath:"..\..\..\..\lib\\" /machine:IA64
-
-!ELSEIF "$(CFG)" == "ubrkperf - Win64 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /Op /I "..\..\..\..\include" /I "..\..\..\tools\toolutil" /I "..\..\..\common" /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_IA64_" /D "WIN32" /D "_AFX_NO_DAO_SUPPORT" /FR /FD /GZ /Wp64 /Zm600 /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:IX86 /pdbtype:sept /machine:IA64
-# ADD LINK32 icuucd.lib icuind.lib icutud.lib winmm.lib /nologo /subsystem:console /incremental:no /debug /machine:IX86 /pdbtype:sept /libpath:"..\..\..\..\lib\\" /machine:IA64
-
-!ENDIF
-
-# Begin Target
-
-# Name "ubrkperf - Win32 Release"
-# Name "ubrkperf - Win32 Debug"
-# Name "ubrkperf - Win64 Release"
-# Name "ubrkperf - Win64 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\ubrkperf.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\ubrkperf.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.h b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.h
deleted file mode 100644
index 4c55a73976c..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.h
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
-**********************************************************************
-* Copyright (c) 2002-2005, International Business Machines
-* Corporation and others. All Rights Reserved.
-**********************************************************************
-**********************************************************************
-*/
-#ifndef _UBRKPERF_H
-#define _UBRKPERF_H
-
-#include "unicode/uperf.h"
-
-#include <unicode/brkiter.h>
-
-class ICUBreakFunction : public UPerfFunction {
-protected:
- BreakIterator *m_brkIt_;
- const UChar *m_file_;
- int32_t m_fileLen_;
- int32_t m_noBreaks_;
- UErrorCode m_status_;
-public:
- ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) :
- m_brkIt_(NULL),
- m_file_(file),
- m_fileLen_(file_len),
- m_noBreaks_(-1),
- m_status_(U_ZERO_ERROR)
- {
- switch(mode[0]) {
- case 'c' :
- m_brkIt_ = BreakIterator::createCharacterInstance(locale, m_status_);
- break;
- case 'w' :
- m_brkIt_ = BreakIterator::createWordInstance(locale, m_status_);
- break;
- case 'l' :
- m_brkIt_ = BreakIterator::createLineInstance(locale, m_status_);
- break;
- case 's' :
- m_brkIt_ = BreakIterator::createSentenceInstance(locale, m_status_);
- break;
- default:
- // should not happen as we already check for this in the caller
- m_status_ = U_ILLEGAL_ARGUMENT_ERROR;
- break;
- }
- }
-
- ~ICUBreakFunction() { delete m_brkIt_; }
- virtual void call(UErrorCode *status) = 0;
- virtual long getOperationsPerIteration() { return m_fileLen_; }
- virtual long getEventsPerIteration() { return m_noBreaks_; }
- virtual UErrorCode getStatus() { return m_status_; }
-};
-
-class ICUIsBound : public ICUBreakFunction {
-public:
- ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) :
- ICUBreakFunction(locale, mode, file, file_len)
- {
- m_noBreaks_ = 0;
- m_brkIt_->setText(UnicodeString(m_file_, m_fileLen_));
- m_brkIt_->first();
- int32_t j = 0;
- for(j = 0; j < m_fileLen_; j++) {
- if(m_brkIt_->isBoundary(j)) {
- m_noBreaks_++;
- }
- }
- }
- virtual void call(UErrorCode *status)
- {
- m_noBreaks_ = 0;
- int32_t j = 0;
- for(j = 0; j < m_fileLen_; j++) {
- if(m_brkIt_->isBoundary(j)) {
- m_noBreaks_++;
- }
- }
- }
-};
-
-class ICUForward : public ICUBreakFunction {
-public:
- ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) :
- ICUBreakFunction(locale, mode, file, file_len)
- {
- m_noBreaks_ = 0;
- m_brkIt_->setText(UnicodeString(m_file_, m_fileLen_));
- m_brkIt_->first();
- while(m_brkIt_->next() != BreakIterator::DONE) {
- m_noBreaks_++;
- }
- }
- virtual void call(UErrorCode *status)
- {
- m_noBreaks_ = 0;
- m_brkIt_->first();
- while(m_brkIt_->next() != BreakIterator::DONE) {
- m_noBreaks_++;
- }
- }
-};
-
-class DarwinBreakFunction : public UPerfFunction {
-#ifdef U_DARWIN
-public:
- virtual void call(UErrorCode *status) {};
-#else
-public:
- virtual void call(UErrorCode *status) {};
-#endif
-};
-
-class BreakIteratorPerformanceTest : public UPerfTest {
-private:
- const char* m_mode_;
- const UChar* m_file_;
- int32_t m_fileLen_;
-
-public:
- BreakIteratorPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status);
- ~BreakIteratorPerformanceTest();
-
- virtual UPerfFunction* runIndexedTest(int32_t index, UBool exec,
- const char* &name, char* par = NULL);
-
- UPerfFunction* TestICUForward();
- UPerfFunction* TestICUIsBound();
-
- UPerfFunction* TestDarwinForward();
- UPerfFunction* TestDarwinIsBound();
-
-};
-
-#endif // UBRKPERF_H
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.vcproj b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.vcproj
deleted file mode 100644
index 44f72d43cf2..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf.vcproj
+++ /dev/null
@@ -1,457 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="ubrkperf"
- ProjectGUID="{7E280294-49BD-43D1-9903-CF29648D88CA}"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\x86\Debug"
- IntermediateDirectory=".\x86\Debug"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\x86\Debug/ubrkperf.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- PrecompiledHeaderFile=".\x86\Debug/ubrkperf.pch"
- AssemblerListingLocation=".\x86\Debug/"
- ObjectFile=".\x86\Debug/"
- ProgramDataBaseFileName=".\x86\Debug/"
- BrowseInformation="1"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="icuucd.lib icutud.lib icutestd.lib winmm.lib"
- OutputFile=".\x86\Debug/ubrkperf.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\lib\"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\x86\Debug/ubrkperf.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory=".\x64\Debug"
- IntermediateDirectory=".\x64\Debug"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\x64\Debug/ubrkperf.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw"
- PreprocessorDefinitions="WIN64;WIN32;_DEBUG;_CONSOLE"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- PrecompiledHeaderFile=".\x64\Debug/ubrkperf.pch"
- AssemblerListingLocation=".\x64\Debug/"
- ObjectFile=".\x64\Debug/"
- ProgramDataBaseFileName=".\x64\Debug/"
- BrowseInformation="1"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="icuucd.lib icutud.lib icutestd.lib winmm.lib"
- OutputFile=".\x64\Debug/ubrkperf.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\lib64\"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\x64\Debug/ubrkperf.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\x86\Release"
- IntermediateDirectory=".\x86\Release"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\x86\Release/ubrkperf.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="2"
- AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\x86\Release/ubrkperf.pch"
- AssemblerListingLocation=".\x86\Release/"
- ObjectFile=".\x86\Release/"
- ProgramDataBaseFileName=".\x86\Release/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="icuuc.lib icutu.lib icutest.lib winmm.lib"
- OutputFile="..\..\..\..\bin\ubrkperf24.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\lib\"
- ProgramDatabaseFile=".\x86\Release/ubrkperf24.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory=".\x64\Release"
- IntermediateDirectory=".\x64\Release"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\x64\Release/ubrkperf.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="2"
- AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw"
- PreprocessorDefinitions="WIN64;WIN32;NDEBUG;_CONSOLE"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\x64\Release/ubrkperf.pch"
- AssemblerListingLocation=".\x64\Release/"
- ObjectFile=".\x64\Release/"
- ProgramDataBaseFileName=".\x64\Release/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="icuuc.lib icutu.lib icutest.lib winmm.lib"
- OutputFile="..\..\..\..\bin64\ubrkperf24.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\lib64\"
- ProgramDatabaseFile=".\x64\Release/ubrkperf24.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
- >
- <File
- RelativePath="ubrkperf.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- BasicRuntimeChecks="3"
- BrowseInformation="1"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- BasicRuntimeChecks="3"
- BrowseInformation="1"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl"
- >
- <File
- RelativePath="ubrkperf.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf20.dsp b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf20.dsp
deleted file mode 100644
index 197aed77abe..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperf20.dsp
+++ /dev/null
@@ -1,172 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ubrkperf20" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=ubrkperf20 - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ubrkperf20.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ubrkperf20.mak" CFG="ubrkperf20 - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ubrkperf20 - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperf20 - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperf20 - Win64 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperf20 - Win64 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ubrkperf20 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# ADD CPP /nologo /G6 /MD /W3 /GX /O2 /Ob2 /I "c:\src\oldICU\icu-2-0\include" /I "..\..\..\tools\toolutil" /I "c:\src\oldICU\icu-2-0\source\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 c:\src\oldICU\icu-2-0\lib\icuuc.lib c:\src\oldICU\icu-2-0\lib\icuin.lib ..\..\..\..\lib\icutu.lib /nologo /subsystem:console /machine:I386 /out:"..\..\..\..\bin\ubrkperf20.exe" /libpath:"..\..\..\..\lib\\"
-# Begin Custom Build
-InputPath=\dev\0_icu\bin\ubrkperf20.exe
-SOURCE="$(InputPath)"
-
-"c:\dev\0_icu\bin\ubrkperf20.exe" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- copy $(InputPath) c:\dev\0_icu\bin\ubrkperf20.exe
-
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "ubrkperf20 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# ADD CPP /nologo /G6 /MDd /W3 /Gm /GX /ZI /Od /I "c:\src\oldICU\icu-2-0\include" /I "..\..\..\tools\toolutil" /I "c:\src\oldICU\icu-2-0\source\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 c:\src\oldICU\icu-2-0\lib\icuucd.lib c:\src\oldICU\icu-2-0\lib\icuind.lib ..\..\..\..\lib\icutud.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-
-!ELSEIF "$(CFG)" == "ubrkperf20 - Win64 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /Op /I "c:\src\oldICU\icu-2-0\include" /I "..\..\..\tools\toolutil" /I "c:\src\oldICU\icu-2-0\source\common" /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "_IA64_" /D "WIN32" /D "_AFX_NO_DAO_SUPPORT" /FD /Wp64 /Zm600 /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:IX86 /machine:IA64
-# ADD LINK32 c:\src\oldICU\icu-2-0\lib\icuuc.lib c:\src\oldICU\icu-2-0\lib\icuin.lib ..\..\..\..\lib\icutu.lib /nologo /subsystem:console /machine:IX86 /machine:IA64
-
-!ELSEIF "$(CFG)" == "ubrkperf20 - Win64 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /Op /I "c:\src\oldICU\icu-2-0\include" /I "..\..\..\tools\toolutil" /I "c:\src\oldICU\icu-2-0\source\common" /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_IA64_" /D "WIN32" /D "_AFX_NO_DAO_SUPPORT" /FR /FD /GZ /Wp64 /Zm600 /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:IX86 /pdbtype:sept /machine:IA64
-# ADD LINK32 c:\src\oldICU\icu-2-0\lib\icuucd.lib c:\src\oldICU\icu-2-0\lib\icuind.lib ..\..\..\..\lib\icutud.lib /nologo /subsystem:console /incremental:no /debug /machine:IX86 /pdbtype:sept /machine:IA64
-
-!ENDIF
-
-# Begin Target
-
-# Name "ubrkperf20 - Win32 Release"
-# Name "ubrkperf20 - Win32 Debug"
-# Name "ubrkperf20 - Win64 Release"
-# Name "ubrkperf20 - Win64 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=..\..\..\..\..\..\dev\0_icu\source\test\perf\ubrkperf\ubrkperf.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\ubrkperf.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.cpp b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.cpp
deleted file mode 100644
index 4ab8190f5ba..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.cpp
+++ /dev/null
@@ -1,771 +0,0 @@
-/********************************************************************
- * COPYRIGHT:
- * Copyright (C) 2001-2005 IBM, Inc. All Rights Reserved.
- *
- ********************************************************************/
-/********************************************************************************
-*
-* File ubrkperf.cpp
-*
-* Modification History:
-* Name Description
-* Vladimir Weinstein First Version, based on collperf
-*
-*********************************************************************************
-*/
-
-//
-// This program tests break iterator performance
-// Currently we test only ICU APIs with the future possibility of testing *nix & win32 APIs
-// (if any)
-// A text file is required as input. It must be in utf-8 or utf-16 format,
-// and include a byte order mark. Either LE or BE format is OK.
-//
-
-const char gUsageString[] =
- "usage: ubrkperf options...\n"
- "-help Display this message.\n"
- "-file file_name utf-16/utf-8 format file.\n"
- "-locale name ICU locale to use. Default is en_US\n"
- "-langid 0x1234 Windows Language ID number. Default to value for -locale option\n"
- " see http://msdn.microsoft.com/library/psdk/winbase/nls_8xo3.htm\n"
- "-win Run test using Windows native services. (currently not working) (ICU is default)\n"
- "-unix Run test using Unix word breaking services. (currently not working) \n"
- "-mac Run test using MacOSX word breaking services.\n"
- "-uselen Use API with string lengths. Default is null-terminated strings\n"
- "-char Use character break iterator\n"
- "-word Use word break iterator\n"
- "-line Use line break iterator\n"
- "-sentence Use sentence break iterator\n"
- "-loop nnnn Loopcount for test. Adjust for reasonable total running time.\n"
- "-iloop n Inner Loop Count. Default = 1. Number of calls to function\n"
- " under test at each call point. For measuring test overhead.\n"
- "-terse Terse numbers-only output. Intended for use by scripts.\n"
- "-dump Display stuff.\n"
- "-capi Use C APIs instead of C++ APIs (currently not working)\n"
- "-next Do the next test\n"
- "-isBound Do the isBound test\n"
- ;
-
-
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <math.h>
-#include <locale.h>
-#include <errno.h>
-#include <sys/stat.h>
-
-#include <unicode/utypes.h>
-#include <unicode/ucol.h>
-#include <unicode/ucoleitr.h>
-#include <unicode/uloc.h>
-#include <unicode/ustring.h>
-#include <unicode/ures.h>
-#include <unicode/uchar.h>
-#include <unicode/ucnv.h>
-#include <unicode/utf8.h>
-
-#include <unicode/brkiter.h>
-
-
-#ifdef U_WINDOWS
-#include <windows.h>
-#else
-//
-// Stubs for Windows API functions when building on UNIXes.
-//
-#include <sys/time.h>
-unsigned long timeGetTime() {
- struct timeval t;
- gettimeofday(&t, 0);
- unsigned long val = t.tv_sec * 1000; // Let it overflow. Who cares.
- val += t.tv_usec / 1000;
- return val;
-};
-#define MAKELCID(a,b) 0
-#endif
-
-
-//
-// Command line option variables
-// These global variables are set according to the options specified
-// on the command line by the user.
-char * opt_fName = 0;
-char * opt_locale = "en_US";
-int opt_langid = 0; // Defaults to value corresponding to opt_locale.
-char * opt_rules = 0;
-UBool opt_help = FALSE;
-int opt_time = 0;
-int opt_loopCount = 0;
-int opt_passesCount= 1;
-UBool opt_terse = FALSE;
-UBool opt_icu = TRUE;
-UBool opt_win = FALSE; // Run with Windows native functions.
-UBool opt_unix = FALSE; // Run with UNIX strcoll, strxfrm functions.
-UBool opt_mac = FALSE; // Run with MacOSX word break services.
-UBool opt_uselen = FALSE;
-UBool opt_dump = FALSE;
-UBool opt_char = FALSE;
-UBool opt_word = FALSE;
-UBool opt_line = FALSE;
-UBool opt_sentence = FALSE;
-UBool opt_capi = FALSE;
-
-UBool opt_next = FALSE;
-UBool opt_isBound = FALSE;
-
-
-
-//
-// Definitions for the command line options
-//
-struct OptSpec {
- const char *name;
- enum {FLAG, NUM, STRING} type;
- void *pVar;
-};
-
-OptSpec opts[] = {
- {"-file", OptSpec::STRING, &opt_fName},
- {"-locale", OptSpec::STRING, &opt_locale},
- {"-langid", OptSpec::NUM, &opt_langid},
- {"-win", OptSpec::FLAG, &opt_win},
- {"-unix", OptSpec::FLAG, &opt_unix},
- {"-mac", OptSpec::FLAG, &opt_mac},
- {"-uselen", OptSpec::FLAG, &opt_uselen},
- {"-loop", OptSpec::NUM, &opt_loopCount},
- {"-time", OptSpec::NUM, &opt_time},
- {"-passes", OptSpec::NUM, &opt_passesCount},
- {"-char", OptSpec::FLAG, &opt_char},
- {"-word", OptSpec::FLAG, &opt_word},
- {"-line", OptSpec::FLAG, &opt_line},
- {"-sentence", OptSpec::FLAG, &opt_sentence},
- {"-terse", OptSpec::FLAG, &opt_terse},
- {"-dump", OptSpec::FLAG, &opt_dump},
- {"-capi", OptSpec::FLAG, &opt_capi},
- {"-next", OptSpec::FLAG, &opt_next},
- {"-isBound", OptSpec::FLAG, &opt_isBound},
- {"-help", OptSpec::FLAG, &opt_help},
- {"-?", OptSpec::FLAG, &opt_help},
- {0, OptSpec::FLAG, 0}
-};
-
-
-//---------------------------------------------------------------------------
-//
-// Global variables pointing to and describing the test file
-//
-//---------------------------------------------------------------------------
-
-//DWORD gWinLCID;
-BreakIterator *brkit = NULL;
-UChar *text = NULL;
-int32_t textSize = 0;
-
-
-
-#ifdef U_DARWIN
-#include <ApplicationServices/ApplicationServices.h>
-enum{
- kUCTextBreakAllMask = (kUCTextBreakClusterMask | kUCTextBreakWordMask | kUCTextBreakLineMask)
- };
-UCTextBreakType breakTypes[4] = {kUCTextBreakCharMask, kUCTextBreakClusterMask, kUCTextBreakWordMask, kUCTextBreakLineMask};
-TextBreakLocatorRef breakRef;
-UCTextBreakType macBreakType;
-
-void createMACBrkIt() {
- OSStatus status = noErr;
- LocaleRef lref;
- status = LocaleRefFromLocaleString(opt_locale, &lref);
- status = UCCreateTextBreakLocator(lref, 0, kUCTextBreakAllMask, (TextBreakLocatorRef*)&breakRef);
- if(opt_char == TRUE) {
- macBreakType = kUCTextBreakClusterMask;
- } else if(opt_word == TRUE) {
- macBreakType = kUCTextBreakWordMask;
- } else if(opt_line == TRUE) {
- macBreakType = kUCTextBreakLineMask;
- } else if(opt_sentence == TRUE) {
- // error
- // brkit = BreakIterator::createSentenceInstance(opt_locale, status);
- } else {
- // default is character iterator
- macBreakType = kUCTextBreakClusterMask;
- }
-}
-#endif
-
-void createICUBrkIt() {
- //
- // Set up an ICU break iterator
- //
- UErrorCode status = U_ZERO_ERROR;
- if(opt_char == TRUE) {
- brkit = BreakIterator::createCharacterInstance(opt_locale, status);
- } else if(opt_word == TRUE) {
- brkit = BreakIterator::createWordInstance(opt_locale, status);
- } else if(opt_line == TRUE) {
- brkit = BreakIterator::createLineInstance(opt_locale, status);
- } else if(opt_sentence == TRUE) {
- brkit = BreakIterator::createSentenceInstance(opt_locale, status);
- } else {
- // default is character iterator
- brkit = BreakIterator::createCharacterInstance(opt_locale, status);
- }
- if (status==U_USING_DEFAULT_WARNING && opt_terse==FALSE) {
- fprintf(stderr, "Warning, U_USING_DEFAULT_WARNING for %s\n", opt_locale);
- }
- if (status==U_USING_FALLBACK_WARNING && opt_terse==FALSE) {
- fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale);
- }
-
-}
-
-//---------------------------------------------------------------------------
-//
-// ProcessOptions() Function to read the command line options.
-//
-//---------------------------------------------------------------------------
-UBool ProcessOptions(int argc, const char **argv, OptSpec opts[])
-{
- int i;
- int argNum;
- const char *pArgName;
- OptSpec *pOpt;
-
- for (argNum=1; argNum<argc; argNum++) {
- pArgName = argv[argNum];
- for (pOpt = opts; pOpt->name != 0; pOpt++) {
- if (strcmp(pOpt->name, pArgName) == 0) {
- switch (pOpt->type) {
- case OptSpec::FLAG:
- *(UBool *)(pOpt->pVar) = TRUE;
- break;
- case OptSpec::STRING:
- argNum ++;
- if (argNum >= argc) {
- fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name);
- return FALSE;
- }
- *(const char **)(pOpt->pVar) = argv[argNum];
- break;
- case OptSpec::NUM:
- argNum ++;
- if (argNum >= argc) {
- fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name);
- return FALSE;
- }
- char *endp;
- i = strtol(argv[argNum], &endp, 0);
- if (endp == argv[argNum]) {
- fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name);
- return FALSE;
- }
- *(int *)(pOpt->pVar) = i;
- }
- break;
- }
- }
- if (pOpt->name == 0)
- {
- fprintf(stderr, "Unrecognized option \"%s\"\n", pArgName);
- return FALSE;
- }
- }
-return TRUE;
-}
-
-
-void doForwardTest() {
- if (opt_terse == FALSE) {
- printf("Doing the forward test\n");
- }
- int32_t noBreaks = 0;
- int32_t i = 0;
- unsigned long startTime = timeGetTime();
- unsigned long elapsedTime = 0;
- if(opt_icu) {
- createICUBrkIt();
- brkit->setText(UnicodeString(text, textSize));
- brkit->first();
- if (opt_terse == FALSE) {
- printf("Warmup\n");
- }
- int j;
- while((j = brkit->next()) != BreakIterator::DONE) {
- noBreaks++;
- //fprintf(stderr, "%d ", j);
- }
-
- if (opt_terse == FALSE) {
- printf("Measure\n");
- }
- startTime = timeGetTime();
- for(i = 0; i < opt_loopCount; i++) {
- brkit->first();
- while(brkit->next() != BreakIterator::DONE) {
- }
- }
-
- elapsedTime = timeGetTime()-startTime;
- } else if(opt_mac) {
-#ifdef U_DARWIN
- createMACBrkIt();
- UniChar* filePtr = text;
- OSStatus status = noErr;
- UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
- startOffset = 0;
- //printf("\t---Search forward--\n");
-
- while (startOffset < numUniChars)
- {
- status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
- startOffset, &breakOffset);
- //require_action(status == noErr, EXIT, printf( "**UCFindTextBreak failed: startOffset %d, status %d\n", (int)startOffset, (int)status));
- //require_action((breakOffset <= numUniChars),EXIT, printf("**UCFindTextBreak breakOffset too big: startOffset %d, breakOffset %d\n", (int)startOffset, (int)breakOffset));
-
- // Output break
- //printf("\t%d\n", (int)breakOffset);
-
- // Increment counters
- noBreaks++;
- startOffset = breakOffset;
- }
- startTime = timeGetTime();
- for(i = 0; i < opt_loopCount; i++) {
- startOffset = 0;
-
- while (startOffset < numUniChars)
- {
- status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
- startOffset, &breakOffset);
- // Increment counters
- startOffset = breakOffset;
- }
- }
- elapsedTime = timeGetTime()-startTime;
- UCDisposeTextBreakLocator(&breakRef);
-#endif
-
-
- }
-
-
- if (opt_terse == FALSE) {
- int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount));
- int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
- int32_t timePerBreak = (int)(float(1000) * ((float)loopTime/(float)noBreaks));
- printf("forward break iteration average loop time %d\n", loopTime);
- printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
- printf("number of breaks %d average time per break %d\n", noBreaks, timePerBreak);
- } else {
- printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
- }
-
-
-}
-
-void doIsBoundTest() {
- int32_t noBreaks = 0, hit = 0;
- int32_t i = 0, j = 0;
- unsigned long startTime = timeGetTime();
- unsigned long elapsedTime = 0;
- createICUBrkIt();
- brkit->setText(UnicodeString(text, textSize));
- brkit->first();
- for(j = 0; j < textSize; j++) {
- if(brkit->isBoundary(j)) {
- noBreaks++;
- //fprintf(stderr, "%d ", j);
- }
- }
- /*
- while(brkit->next() != BreakIterator::DONE) {
- noBreaks++;
- }
- */
-
- startTime = timeGetTime();
- for(i = 0; i < opt_loopCount; i++) {
- for(j = 0; j < textSize; j++) {
- if(brkit->isBoundary(j)) {
- hit++;
- }
- }
- }
-
- elapsedTime = timeGetTime()-startTime;
- int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount));
- if (opt_terse == FALSE) {
- int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
- int32_t timePerBreak = (int)(float(1000) * ((float)loopTime/(float)noBreaks));
- printf("forward break iteration average loop time %d\n", loopTime);
- printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
- printf("number of breaks %d average time per break %d\n", noBreaks, timePerBreak);
- } else {
- printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
- }
-}
-
-//----------------------------------------------------------------------------------------
-//
-// UnixConvert -- Convert the lines of the file to the encoding for UNIX
-// Since it appears that Unicode support is going in the general
-// direction of the use of UTF-8 locales, that is the approach
-// that is used here.
-//
-//----------------------------------------------------------------------------------------
-void UnixConvert() {
-#if 0
- int line;
-
- UConverter *cvrtr; // An ICU code page converter.
- UErrorCode status = U_ZERO_ERROR;
-
-
- cvrtr = ucnv_open("utf-8", &status); // we are just doing UTF-8 locales for now.
- if (U_FAILURE(status)) {
- fprintf(stderr, "ICU Converter open failed.: %d\n", &status);
- exit(-1);
- }
- // redo for unix
- for (line=0; line < gNumFileLines; line++) {
- int sizeNeeded = ucnv_fromUChars(cvrtr,
- 0, // ptr to target buffer.
- 0, // length of target buffer.
- gFileLines[line].name,
- -1, // source is null terminated
- &status);
- if (status != U_BUFFER_OVERFLOW_ERROR && status != U_ZERO_ERROR) {
- fprintf(stderr, "Conversion from Unicode, something is wrong.\n");
- exit(-1);
- }
- status = U_ZERO_ERROR;
- gFileLines[line].unixName = new char[sizeNeeded+1];
- sizeNeeded = ucnv_fromUChars(cvrtr,
- gFileLines[line].unixName, // ptr to target buffer.
- sizeNeeded+1, // length of target buffer.
- gFileLines[line].name,
- -1, // source is null terminated
- &status);
- if (U_FAILURE(status)) {
- fprintf(stderr, "ICU Conversion Failed.: %d\n", status);
- exit(-1);
- }
- gFileLines[line].unixName[sizeNeeded] = 0;
- };
- ucnv_close(cvrtr);
-#endif
-}
-
-
-//----------------------------------------------------------------------------------------
-//
-// class UCharFile Class to hide all the gorp to read a file in
-// and produce a stream of UChars.
-//
-//----------------------------------------------------------------------------------------
-class UCharFile {
-public:
- UCharFile(const char *fileName);
- ~UCharFile();
- UChar get();
- UBool eof() {return fEof;};
- UBool error() {return fError;};
- int32_t size() { return fFileSize; };
-
-private:
- UCharFile (const UCharFile &other) {}; // No copy constructor.
- UCharFile & operator = (const UCharFile &other) {return *this;}; // No assignment op
-
- FILE *fFile;
- const char *fName;
- UBool fEof;
- UBool fError;
- UChar fPending2ndSurrogate;
- int32_t fFileSize;
-
- enum {UTF16LE, UTF16BE, UTF8} fEncoding;
-};
-
-UCharFile::UCharFile(const char * fileName) {
- fEof = FALSE;
- fError = FALSE;
- fName = fileName;
- struct stat buf;
- int32_t result = stat(fileName, &buf);
- if(result != 0) {
- fprintf(stderr, "Error getting info\n");
- fFileSize = -1;
- } else {
- fFileSize = buf.st_size;
- }
- fFile = fopen(fName, "rb");
- fPending2ndSurrogate = 0;
- if (fFile == NULL) {
- fprintf(stderr, "Can not open file \"%s\"\n", opt_fName);
- fError = TRUE;
- return;
- }
- //
- // Look for the byte order mark at the start of the file.
- //
- int BOMC1, BOMC2, BOMC3;
- BOMC1 = fgetc(fFile);
- BOMC2 = fgetc(fFile);
-
- if (BOMC1 == 0xff && BOMC2 == 0xfe) {
- fEncoding = UTF16LE; }
- else if (BOMC1 == 0xfe && BOMC2 == 0xff) {
- fEncoding = UTF16BE; }
- else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) {
- fEncoding = UTF8; }
- else
- {
- fprintf(stderr, "collperf: file \"%s\" encoding must be UTF-8 or UTF-16, and "
- "must include a BOM.\n", fileName);
- fError = true;
- return;
- }
-}
-
-
-UCharFile::~UCharFile() {
- fclose(fFile);
-}
-
-
-
-UChar UCharFile::get() {
- UChar c;
- switch (fEncoding) {
- case UTF16LE:
- {
- int cL, cH;
- cL = fgetc(fFile);
- cH = fgetc(fFile);
- c = cL | (cH << 8);
- if (cH == EOF) {
- c = 0;
- fEof = TRUE;
- }
- break;
- }
- case UTF16BE:
- {
- int cL, cH;
- cH = fgetc(fFile);
- cL = fgetc(fFile);
- c = cL | (cH << 8);
- if (cL == EOF) {
- c = 0;
- fEof = TRUE;
- }
- break;
- }
- case UTF8:
- {
- if (fPending2ndSurrogate != 0) {
- c = fPending2ndSurrogate;
- fPending2ndSurrogate = 0;
- break;
- }
-
- int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type.
- if (ch == EOF) {
- c = 0;
- fEof = TRUE;
- break;
- }
-
- if (ch <= 0x7f) {
- // It's ascii. No further utf-8 conversion.
- c = ch;
- break;
- }
-
- // Figure out the lenght of the char and read the rest of the bytes
- // into a temp array.
- int nBytes;
- if (ch >= 0xF0) {nBytes=4;}
- else if (ch >= 0xE0) {nBytes=3;}
- else if (ch >= 0xC0) {nBytes=2;}
- else {
- fprintf(stderr, "not likely utf-8 encoded file %s contains corrupt data at offset %d.\n", fName, ftell(fFile));
- fError = TRUE;
- return 0;
- }
-
- unsigned char bytes[10];
- bytes[0] = (unsigned char)ch;
- int i;
- for (i=1; i<nBytes; i++) {
- bytes[i] = fgetc(fFile);
- if (bytes[i] < 0x80 || bytes[i] >= 0xc0) {
- fprintf(stderr, "utf-8 encoded file %s contains corrupt data at offset %d. Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch);
- fError = TRUE;
- return 0;
- }
- }
-
- // Convert the bytes from the temp array to a Unicode char.
- i = 0;
- uint32_t cp;
- UTF8_NEXT_CHAR_UNSAFE(bytes, i, cp);
- c = (UChar)cp;
-
- if (cp >= 0x10000) {
- // The code point needs to be broken up into a utf-16 surrogate pair.
- // Process first half this time through the main loop, and
- // remember the other half for the next time through.
- UChar utf16Buf[3];
- i = 0;
- UTF16_APPEND_CHAR_UNSAFE(utf16Buf, i, cp);
- fPending2ndSurrogate = utf16Buf[1];
- c = utf16Buf[0];
- }
- break;
- };
- }
- return c;
-}
-
-
-//----------------------------------------------------------------------------------------
-//
-// Main -- process command line, read in and pre-process the test file,
-// call other functions to do the actual tests.
-//
-//----------------------------------------------------------------------------------------
-int main(int argc, const char** argv) {
- if (ProcessOptions(argc, argv, opts) != TRUE || opt_help || opt_fName == 0) {
- printf(gUsageString);
- exit (1);
- }
- // Make sure that we've only got one API selected.
- if (opt_mac || opt_unix || opt_win) opt_icu = FALSE;
- if (opt_mac || opt_unix) opt_win = FALSE;
- if (opt_mac) opt_unix = FALSE;
-
- UErrorCode status = U_ZERO_ERROR;
-
-
-
- //
- // Set up a Windows LCID
- //
- /*
- if (opt_langid != 0) {
- gWinLCID = MAKELCID(opt_langid, SORT_DEFAULT);
- }
- else {
- gWinLCID = uloc_getLCID(opt_locale);
- }
- */
-
- //
- // Set the UNIX locale
- //
- if (opt_unix) {
- if (setlocale(LC_ALL, opt_locale) == 0) {
- fprintf(stderr, "setlocale(LC_ALL, %s) failed.\n", opt_locale);
- exit(-1);
- }
- }
-
- // Read in the input file.
- // File assumed to be utf-16.
- // Lines go onto heap buffers. Global index array to line starts is created.
- // Lines themselves are null terminated.
- //
-
- UCharFile f(opt_fName);
- if (f.error()) {
- exit(-1);
- }
- int32_t fileSize = f.size();
- const int STARTSIZE = 70000;
- int32_t bufSize = 0;
- int32_t charCount = 0;
- if(fileSize != -1) {
- text = (UChar *)malloc(fileSize*sizeof(UChar));
- bufSize = fileSize;
- } else {
- text = (UChar *)malloc(STARTSIZE*sizeof(UChar));
- bufSize = STARTSIZE;
- }
- if(text == NULL) {
- fprintf(stderr, "Allocating buffer failed\n");
- exit(-1);
- }
-
-
- // Read the file, split into lines, and save in memory.
- // Loop runs once per utf-16 value from the input file,
- // (The number of bytes read from file per loop iteration depends on external encoding.)
- for (;;) {
-
- UChar c = f.get();
- if(f.eof()) {
- break;
- }
- if (f.error()){
- exit(-1);
- }
- // We now have a good UTF-16 value in c.
- text[charCount++] = c;
- if(charCount == bufSize) {
- text = (UChar *)realloc(text, 2*bufSize*sizeof(UChar));
- if(text == NULL) {
- fprintf(stderr, "Reallocating buffer failed\n");
- exit(-1);
- }
- bufSize *= 2;
- }
- }
-
-
- if (opt_terse == FALSE) {
- printf("file \"%s\", %d charCount code units.\n", opt_fName, charCount);
- }
-
- textSize = charCount;
-
-
-
-
- //
- // Dump file contents if requested.
- //
- if (opt_dump) {
- // dump file, etc... possibly
- }
-
-
- //
- // We've got the file read into memory. Go do something with it.
- //
- int32_t i = 0;
- for(i = 0; i < opt_passesCount; i++) {
- if(opt_loopCount != 0) {
- if(opt_next) {
- doForwardTest();
- } else if(opt_isBound) {
- doIsBoundTest();
- } else {
- doForwardTest();
- }
- } else if(opt_time != 0) {
-
- }
- }
-
- if(text != NULL) {
- free(text);
- }
- if(brkit != NULL) {
- delete brkit;
- }
-
- return 0;
-}
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.dsp b/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.dsp
deleted file mode 100644
index 2befc0aba27..00000000000
--- a/Build/source/libs/icu/icu-4.4/test/perf/ubrkperf/ubrkperfold.dsp
+++ /dev/null
@@ -1,168 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ubrkperfold" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=ubrkperfold - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ubrkperfold.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ubrkperfold.mak" CFG="ubrkperfold - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ubrkperfold - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperfold - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperfold - Win64 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ubrkperfold - Win64 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ubrkperfold - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# ADD CPP /nologo /G6 /MD /W3 /GX /O2 /Ob2 /I "..\..\..\include" /I "..\..\tools\ctestfw" /I "..\..\common" /I "..\..\i18n" /I "..\..\tools\toolutil" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 icuuc.lib icuin.lib ctestfw.lib icutu.lib kernel32.lib user32.lib advapi32.lib shell32.lib winmm.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\lib\\"
-# Begin Custom Build
-InputPath=.\Release\ubrkperfold.exe
-SOURCE="$(InputPath)"
-
-"c:\dev\0_icu\bin\ubrkperf20.exe" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- copy $(InputPath) c:\dev\0_icu\bin\ubrkperf20.exe
-
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "ubrkperfold - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# ADD CPP /nologo /G6 /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\..\tools\ctestfw" /I "..\..\..\common" /I "..\..\..\i18n" /I "..\..\..\tools\toolutil" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 icuucd.lib icuind.lib icutud.lib winmm.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\lib\\"
-
-!ELSEIF "$(CFG)" == "ubrkperfold - Win64 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /Op /I "..\..\..\include" /I "..\..\tools\ctestfw" /I "..\..\common" /I "..\..\i18n" /I "..\..\tools\toolutil" /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "_IA64_" /D "WIN32" /D "_AFX_NO_DAO_SUPPORT" /FD /Wp64 /Zm600 /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:IX86 /machine:IA64
-# ADD LINK32 icuuc.lib icuin.lib ctestfw.lib icutu.lib kernel32.lib user32.lib advapi32.lib shell32.lib winmm.lib /nologo /subsystem:console /machine:IX86 /libpath:"..\..\..\lib\\" /machine:IA64
-
-!ELSEIF "$(CFG)" == "ubrkperfold - Win64 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /Op /I "..\..\..\include" /I "..\..\tools\ctestfw" /I "..\..\common" /I "..\..\i18n" /I "..\..\tools\toolutil" /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_IA64_" /D "WIN32" /D "_AFX_NO_DAO_SUPPORT" /FR /FD /GZ /Wp64 /Zm600 /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:IX86 /pdbtype:sept /machine:IA64
-# ADD LINK32 icuucd.lib icuind.lib icutud.lib winmm.lib /nologo /subsystem:console /incremental:no /debug /machine:IX86 /pdbtype:sept /libpath:"..\..\..\lib\\" /machine:IA64
-
-!ENDIF
-
-# Begin Target
-
-# Name "ubrkperfold - Win32 Release"
-# Name "ubrkperfold - Win32 Debug"
-# Name "ubrkperfold - Win64 Release"
-# Name "ubrkperfold - Win64 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\ubrkperfold.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project