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
2a6aeea9
Kaydet (Commit)
2a6aeea9
authored
Eki 31, 2011
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed some obsolete register annotations.
üst
76af7256
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
30 deletions
+30
-30
alloc_impl.h
sal/rtl/source/alloc_impl.h
+2
-2
cipher.cxx
sal/rtl/source/cipher.cxx
+2
-2
crc.cxx
sal/rtl/source/crc.cxx
+2
-2
digest.cxx
sal/rtl/source/digest.cxx
+23
-23
random.cxx
sal/rtl/source/random.cxx
+1
-1
No files found.
sal/rtl/source/alloc_impl.h
Dosyayı görüntüle @
2a6aeea9
...
...
@@ -98,7 +98,7 @@ extern "C" {
static
RTL_MEMORY_INLINE
int
highbit
(
sal_Size
n
)
{
register
int
k
=
1
;
int
k
=
1
;
if
(
n
==
0
)
return
(
0
);
...
...
@@ -131,7 +131,7 @@ highbit(sal_Size n)
static
RTL_MEMORY_INLINE
int
lowbit
(
sal_Size
n
)
{
register
int
k
=
1
;
int
k
=
1
;
if
(
n
==
0
)
return
(
0
);
...
...
sal/rtl/source/cipher.cxx
Dosyayı görüntüle @
2a6aeea9
...
...
@@ -1207,8 +1207,8 @@ static rtlCipherError rtl_cipherARCFOUR_update_Impl (
const
sal_uInt8
*
pData
,
sal_Size
nDatLen
,
sal_uInt8
*
pBuffer
,
sal_Size
nBufLen
)
{
register
unsigned
int
*
S
;
register
unsigned
int
x
,
y
,
t
;
unsigned
int
*
S
;
unsigned
int
x
,
y
,
t
;
sal_Size
k
;
/* Check arguments. */
...
...
sal/rtl/source/crc.cxx
Dosyayı görüntüle @
2a6aeea9
...
...
@@ -152,8 +152,8 @@ sal_uInt32 SAL_CALL rtl_crc32 (
{
if
(
Data
)
{
register
const
sal_uInt8
*
p
=
(
const
sal_uInt8
*
)
Data
;
register
const
sal_uInt8
*
q
=
p
+
DatLen
;
const
sal_uInt8
*
p
=
(
const
sal_uInt8
*
)
Data
;
const
sal_uInt8
*
q
=
p
+
DatLen
;
Crc
=
~
Crc
;
while
(
p
<
q
)
...
...
sal/rtl/source/digest.cxx
Dosyayı görüntüle @
2a6aeea9
...
...
@@ -83,8 +83,8 @@ struct Digest_Impl
*/
static
void
__rtl_digest_swapLong
(
sal_uInt32
*
pData
,
sal_uInt32
nDatLen
)
{
register
sal_uInt32
*
X
;
register
int
i
,
n
;
sal_uInt32
*
X
;
int
i
,
n
;
X
=
pData
;
n
=
nDatLen
;
...
...
@@ -308,9 +308,9 @@ static void __rtl_digest_initMD2 (DigestContextMD2 *ctx)
*/
static
void
__rtl_digest_updateMD2
(
DigestContextMD2
*
ctx
)
{
register
sal_uInt8
*
X
;
register
sal_uInt32
*
sp1
,
*
sp2
;
register
sal_uInt32
i
,
k
,
t
;
sal_uInt8
*
X
;
sal_uInt32
*
sp1
,
*
sp2
;
sal_uInt32
i
,
k
,
t
;
sal_uInt32
state
[
48
];
...
...
@@ -353,8 +353,8 @@ static void __rtl_digest_updateMD2 (DigestContextMD2 *ctx)
*/
static
void
__rtl_digest_endMD2
(
DigestContextMD2
*
ctx
)
{
register
sal_uInt8
*
X
;
register
sal_uInt32
*
C
;
sal_uInt8
*
X
;
sal_uInt32
*
C
;
sal_uInt32
i
,
n
;
X
=
ctx
->
m_pData
;
...
...
@@ -599,8 +599,8 @@ static void __rtl_digest_initMD5 (DigestContextMD5 *ctx)
*/
static
void
__rtl_digest_updateMD5
(
DigestContextMD5
*
ctx
)
{
register
sal_uInt32
A
,
B
,
C
,
D
;
register
sal_uInt32
*
X
;
sal_uInt32
A
,
B
,
C
,
D
;
sal_uInt32
*
X
;
A
=
ctx
->
m_nA
;
B
=
ctx
->
m_nB
;
...
...
@@ -691,10 +691,10 @@ static void __rtl_digest_endMD5 (DigestContextMD5 *ctx)
{
0x80
,
0x00
,
0x00
,
0x00
};
register
const
sal_uInt8
*
p
=
end
;
const
sal_uInt8
*
p
=
end
;
register
sal_uInt32
*
X
;
register
int
i
;
sal_uInt32
*
X
;
int
i
;
X
=
ctx
->
m_pData
;
i
=
(
ctx
->
m_nDatLen
>>
2
);
...
...
@@ -1029,10 +1029,10 @@ static void __rtl_digest_initSHA (
*/
static
void
__rtl_digest_updateSHA
(
DigestContextSHA
*
ctx
)
{
register
sal_uInt32
A
,
B
,
C
,
D
,
E
,
T
;
register
sal_uInt32
*
X
;
sal_uInt32
A
,
B
,
C
,
D
,
E
,
T
;
sal_uInt32
*
X
;
register
DigestSHA_update_t
*
U
;
DigestSHA_update_t
*
U
;
U
=
ctx
->
m_update
;
A
=
ctx
->
m_nA
;
...
...
@@ -1142,10 +1142,10 @@ static void __rtl_digest_endSHA (DigestContextSHA *ctx)
{
0x80
,
0x00
,
0x00
,
0x00
};
register
const
sal_uInt8
*
p
=
end
;
const
sal_uInt8
*
p
=
end
;
register
sal_uInt32
*
X
;
register
int
i
;
sal_uInt32
*
X
;
int
i
;
X
=
ctx
->
m_pData
;
i
=
(
ctx
->
m_nDatLen
>>
2
);
...
...
@@ -1625,7 +1625,7 @@ static void __rtl_digest_initHMAC_MD5 (ContextHMAC_MD5 * ctx)
*/
static
void
__rtl_digest_ipadHMAC_MD5
(
ContextHMAC_MD5
*
ctx
)
{
register
sal_uInt32
i
;
sal_uInt32
i
;
for
(
i
=
0
;
i
<
DIGEST_CBLOCK_HMAC_MD5
;
i
++
)
ctx
->
m_opad
[
i
]
^=
0x36
;
...
...
@@ -1640,7 +1640,7 @@ static void __rtl_digest_ipadHMAC_MD5 (ContextHMAC_MD5 * ctx)
*/
static
void
__rtl_digest_opadHMAC_MD5
(
ContextHMAC_MD5
*
ctx
)
{
register
sal_uInt32
i
;
sal_uInt32
i
;
for
(
i
=
0
;
i
<
DIGEST_CBLOCK_HMAC_MD5
;
i
++
)
ctx
->
m_opad
[
i
]
^=
0x5c
;
...
...
@@ -1857,7 +1857,7 @@ static void __rtl_digest_initHMAC_SHA1 (ContextHMAC_SHA1 * ctx)
*/
static
void
__rtl_digest_ipadHMAC_SHA1
(
ContextHMAC_SHA1
*
ctx
)
{
register
sal_uInt32
i
;
sal_uInt32
i
;
for
(
i
=
0
;
i
<
DIGEST_CBLOCK_HMAC_SHA1
;
i
++
)
ctx
->
m_opad
[
i
]
^=
0x36
;
...
...
@@ -1872,7 +1872,7 @@ static void __rtl_digest_ipadHMAC_SHA1 (ContextHMAC_SHA1 * ctx)
*/
static
void
__rtl_digest_opadHMAC_SHA1
(
ContextHMAC_SHA1
*
ctx
)
{
register
sal_uInt32
i
;
sal_uInt32
i
;
for
(
i
=
0
;
i
<
DIGEST_CBLOCK_HMAC_SHA1
;
i
++
)
ctx
->
m_opad
[
i
]
^=
0x5c
;
...
...
@@ -2053,7 +2053,7 @@ static void __rtl_digest_updatePBKDF2 (
{
/* T_i = F (P, S, c, i) */
sal_uInt8
U
[
DIGEST_CBLOCK_PBKDF2
];
register
sal_uInt32
i
,
k
;
sal_uInt32
i
,
k
;
/* U_(1) = PRF (P, S || INDEX) */
rtl_digest_updateHMAC_SHA1
(
hDigest
,
pSaltData
,
nSaltLen
);
...
...
sal/rtl/source/random.cxx
Dosyayı görüntüle @
2a6aeea9
...
...
@@ -105,7 +105,7 @@ static void __rtl_random_readPool (
*/
static
double
__rtl_random_data
(
RandomData_Impl
*
pImpl
)
{
register
double
random
;
double
random
;
RTL_RANDOM_RNG
(
pImpl
->
m_nX
,
pImpl
->
m_nY
,
pImpl
->
m_nZ
);
random
=
(((
double
)(
pImpl
->
m_nX
)
/
30328.0
)
+
...
...
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