Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
dc1e0758
Kaydet (Commit)
dc1e0758
authored
Tem 10, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unused methods
üst
14c8553c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
76 deletions
+0
-76
rtl_String_Utils.cxx
sal/qa/OStringBuffer/rtl_String_Utils.cxx
+0
-36
rtl_String_Utils.hxx
sal/qa/OStringBuffer/rtl_String_Utils.hxx
+0
-3
rtl_String_Utils.cxx
sal/qa/rtl_strings/rtl_String_Utils.cxx
+0
-34
rtl_String_Utils.hxx
sal/qa/rtl_strings/rtl_String_Utils.hxx
+0
-3
No files found.
sal/qa/OStringBuffer/rtl_String_Utils.cxx
Dosyayı görüntüle @
dc1e0758
...
@@ -193,42 +193,6 @@ sal_Char* createName( sal_Char* dst, const sal_Char* meth, sal_uInt32 cnt )
...
@@ -193,42 +193,6 @@ sal_Char* createName( sal_Char* dst, const sal_Char* meth, sal_uInt32 cnt )
return
(
pdst
);
return
(
pdst
);
}
}
//------------------------------------------------------------------------
// testing the method compareTo( const OString & aStr )
//------------------------------------------------------------------------
void
makeComment
(
char
*
com
,
const
char
*
str1
,
const
char
*
str2
,
sal_Int32
sgn
)
{
cpystr
(
com
,
str1
);
int
str1Length
=
AStringLen
(
str1
);
const
char
*
sign
=
(
sgn
==
0
)
?
" == "
:
(
sgn
>
0
)
?
" > "
:
" < "
;
cpystr
(
com
+
str1Length
,
sign
);
int
signLength
=
AStringLen
(
sign
);
cpystr
(
com
+
str1Length
+
signLength
,
str2
);
com
[
str1Length
+
signLength
+
AStringLen
(
str2
)]
=
0
;
}
//------------------------------------------------------------------------
sal_uInt32
UStringLen
(
const
sal_Unicode
*
pUStr
)
{
sal_uInt32
nUStrLen
=
0
;
if
(
pUStr
!=
NULL
)
{
const
sal_Unicode
*
pTempUStr
=
pUStr
;
while
(
*
pTempUStr
)
{
pTempUStr
++
;
}
// while
nUStrLen
=
(
sal_uInt32
)(
pTempUStr
-
pUStr
);
}
// if
return
nUStrLen
;
}
// UStringLen
//------------------------------------------------------------------------
//------------------------------------------------------------------------
static
inline
sal_Int32
ACharToUCharCompare
(
const
sal_Unicode
*
pUStr
,
static
inline
sal_Int32
ACharToUCharCompare
(
const
sal_Unicode
*
pUStr
,
...
...
sal/qa/OStringBuffer/rtl_String_Utils.hxx
Dosyayı görüntüle @
dc1e0758
...
@@ -55,13 +55,10 @@ sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 l
...
@@ -55,13 +55,10 @@ sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 l
sal_Bool
cmpustr
(
const
sal_Unicode
*
str1
,
const
sal_Unicode
*
str2
);
sal_Bool
cmpustr
(
const
sal_Unicode
*
str1
,
const
sal_Unicode
*
str2
);
sal_Char
*
createName
(
sal_Char
*
dst
,
const
sal_Char
*
src
,
sal_uInt32
cnt
);
sal_Char
*
createName
(
sal_Char
*
dst
,
const
sal_Char
*
src
,
sal_uInt32
cnt
);
void
makeComment
(
char
*
com
,
const
char
*
str1
,
const
char
*
str2
,
sal_Int32
sgn
);
sal_uInt32
AStringLen
(
const
sal_Char
*
pAStr
);
sal_uInt32
AStringLen
(
const
sal_Char
*
pAStr
);
sal_uInt32
UStringLen
(
const
sal_Unicode
*
pUStr
);
//------------------------------------------------------------------------
//------------------------------------------------------------------------
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
...
...
sal/qa/rtl_strings/rtl_String_Utils.cxx
Dosyayı görüntüle @
dc1e0758
...
@@ -170,40 +170,6 @@ sal_Char* createName( sal_Char* dst, const sal_Char* meth, sal_uInt32 cnt )
...
@@ -170,40 +170,6 @@ sal_Char* createName( sal_Char* dst, const sal_Char* meth, sal_uInt32 cnt )
return
(
pdst
);
return
(
pdst
);
}
}
//------------------------------------------------------------------------
// testing the method compareTo( const OString & aStr )
//------------------------------------------------------------------------
void
makeComment
(
char
*
com
,
const
char
*
str1
,
const
char
*
str2
,
sal_Int32
sgn
)
{
cpystr
(
com
,
str1
);
int
str1Length
=
AStringLen
(
str1
);
const
char
*
sign
=
(
sgn
==
0
)
?
" == "
:
(
sgn
>
0
)
?
" > "
:
" < "
;
cpystr
(
com
+
str1Length
,
sign
);
int
signLength
=
AStringLen
(
sign
);
cpystr
(
com
+
str1Length
+
signLength
,
str2
);
com
[
str1Length
+
signLength
+
AStringLen
(
str2
)]
=
0
;
}
sal_uInt32
UStringLen
(
const
sal_Unicode
*
pUStr
)
{
sal_uInt32
nUStrLen
=
0
;
if
(
pUStr
!=
NULL
)
{
const
sal_Unicode
*
pTempUStr
=
pUStr
;
while
(
*
pTempUStr
)
{
pTempUStr
++
;
}
// while
nUStrLen
=
(
sal_uInt32
)(
pTempUStr
-
pUStr
);
}
// if
return
nUStrLen
;
}
// UStringLen
//------------------------------------------------------------------------
//------------------------------------------------------------------------
static
inline
sal_Int32
ACharToUCharCompare
(
const
sal_Unicode
*
pUStr
,
static
inline
sal_Int32
ACharToUCharCompare
(
const
sal_Unicode
*
pUStr
,
...
...
sal/qa/rtl_strings/rtl_String_Utils.hxx
Dosyayı görüntüle @
dc1e0758
...
@@ -54,13 +54,10 @@ sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 l
...
@@ -54,13 +54,10 @@ sal_Bool cmpustr( const sal_Unicode* str1, const sal_Unicode* str2, sal_uInt32 l
sal_Bool
cmpustr
(
const
sal_Unicode
*
str1
,
const
sal_Unicode
*
str2
);
sal_Bool
cmpustr
(
const
sal_Unicode
*
str1
,
const
sal_Unicode
*
str2
);
sal_Char
*
createName
(
sal_Char
*
dst
,
const
sal_Char
*
src
,
sal_uInt32
cnt
);
sal_Char
*
createName
(
sal_Char
*
dst
,
const
sal_Char
*
src
,
sal_uInt32
cnt
);
void
makeComment
(
char
*
com
,
const
char
*
str1
,
const
char
*
str2
,
sal_Int32
sgn
);
sal_uInt32
AStringLen
(
const
sal_Char
*
pAStr
);
sal_uInt32
AStringLen
(
const
sal_Char
*
pAStr
);
sal_uInt32
UStringLen
(
const
sal_Unicode
*
pUStr
);
//------------------------------------------------------------------------
//------------------------------------------------------------------------
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
sal_Bool
AStringNIsValid
(
const
sal_Char
*
pAStr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment