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
eda423d7
Kaydet (Commit)
eda423d7
authored
Ara 17, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin code that became dead after
8ecf956d
Change-Id: I310abed7e86f8b7153817be5ae03cc3c8fec3c50
üst
bd219e3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
107 deletions
+0
-107
lo-bootstrap.c
sal/android/lo-bootstrap.c
+0
-87
android.cxx
touch/source/android/android.cxx
+0
-20
No files found.
sal/android/lo-bootstrap.c
Dosyayı görüntüle @
eda423d7
...
...
@@ -1081,93 +1081,6 @@ Java_org_libreoffice_android_Bootstrap_redirect_1stdio(JNIEnv* env,
return
;
}
__attribute__
((
visibility
(
"default"
)))
void
Java_org_libreoffice_android_Bootstrap_twiddle_1BGR_1to_1RGBA
(
JNIEnv
*
env
,
jobject
clazz
,
jbyteArray
source
,
jint
offset
,
jint
width
,
jint
height
,
jobject
destination
)
{
jbyte
*
dst
=
(
jbyte
*
)
(
*
env
)
->
GetDirectBufferAddress
(
env
,
destination
);
void
*
a
=
(
*
env
)
->
GetPrimitiveArrayCritical
(
env
,
source
,
NULL
);
jbyte
*
src
=
((
jbyte
*
)
a
)
+
offset
;
jbyte
*
srcp
;
jbyte
*
dstp
=
dst
;
int
step
=
((((
width
*
3
)
-
1
)
/
4
)
+
1
)
*
4
;
int
i
,
j
;
(
void
)
clazz
;
if
(
height
>
0
)
{
srcp
=
src
+
step
*
(
height
-
1
);
step
=
-
step
;
}
else
{
srcp
=
src
;
}
LOGI
(
"twiddle: src=%p, srcp=%p, dstp=%p, step=%d"
,
src
,
srcp
,
dstp
,
step
);
for
(
i
=
0
;
i
<
height
;
i
++
)
{
for
(
j
=
0
;
j
<
width
;
j
++
)
{
*
dstp
++
=
srcp
[
j
*
3
+
2
];
*
dstp
++
=
srcp
[
j
*
3
+
1
];
*
dstp
++
=
srcp
[
j
*
3
+
0
];
*
dstp
++
=
0xFF
;
}
srcp
+=
step
;
}
(
*
env
)
->
ReleasePrimitiveArrayCritical
(
env
,
source
,
a
,
0
);
}
__attribute__
((
visibility
(
"default"
)))
void
Java_org_libreoffice_android_Bootstrap_force_1full_1alpha_1array
(
JNIEnv
*
env
,
jobject
clazz
,
jbyteArray
array
,
jint
offset
,
jint
length
)
{
void
*
a
=
(
*
env
)
->
GetPrimitiveArrayCritical
(
env
,
array
,
NULL
);
jbyte
*
p
=
((
jbyte
*
)
a
)
+
offset
;
int
i
;
(
void
)
clazz
;
for
(
i
=
0
;
i
<
length
;
i
+=
4
)
{
p
[
3
]
=
0xFF
;
p
+=
4
;
}
(
*
env
)
->
ReleasePrimitiveArrayCritical
(
env
,
array
,
a
,
0
);
}
__attribute__
((
visibility
(
"default"
)))
void
Java_org_libreoffice_android_Bootstrap_force_1full_1alpha_1bb
(
JNIEnv
*
env
,
jobject
clazz
,
jobject
buffer
,
jint
offset
,
jint
length
)
{
jbyte
*
p
=
(
*
env
)
->
GetDirectBufferAddress
(
env
,
buffer
)
+
offset
;
int
i
;
(
void
)
clazz
;
for
(
i
=
0
;
i
<
length
;
i
+=
4
)
{
p
[
3
]
=
0xFF
;
p
+=
4
;
}
}
__attribute__
((
visibility
(
"default"
)))
jlong
Java_org_libreoffice_android_Bootstrap_address_1of_1direct_1byte_1buffer
(
JNIEnv
*
env
,
...
...
touch/source/android/android.cxx
Dosyayı görüntüle @
eda423d7
...
...
@@ -47,24 +47,4 @@ void ByteBufferWrapper::operator()(sal_uInt8 * /* p */)
get_env
()
->
DeleteGlobalRef
(
object
);
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
jlong
Java_org_libreoffice_android_Bootstrap_new_1byte_1buffer_1wrapper
(
JNIEnv
*
env
,
jobject
/* clazz */
,
jobject
bytebuffer
)
{
return
(
jlong
)
(
intptr_t
)
new
ByteBufferWrapper
(
env
,
bytebuffer
);
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
Java_org_libreoffice_android_Bootstrap_delete_1byte_1buffer_1wrapper
(
JNIEnv
*
/* env */
,
jobject
/* clazz */
,
jlong
bbw
)
{
delete
(
ByteBufferWrapper
*
)
(
intptr_t
)
bbw
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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