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
e669d631
Kaydet (Commit)
e669d631
authored
Eyl 30, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Untabify and add mode lines
Change-Id: I185befe8aebdc13df601b1151b45c62e7291b5c0
üst
6a3493ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
generate-snippets.pl
bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl
+20
-18
No files found.
bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl
Dosyayı görüntüle @
e669d631
#!/usr/bin/perl -w
#!/usr/bin/perl -w
# -*- tab-width: 4; indent-tabs-mode: nil; cperl-indent-level: 4 -*-
#
#
# This file is part of the LibreOffice project.
# This file is part of the LibreOffice project.
#
#
...
@@ -51,11 +51,11 @@ printf ("\n");
...
@@ -51,11 +51,11 @@ printf ("\n");
foreach
my
$funIndex
(
0
..
$nFunIndexes
-
1
)
foreach
my
$funIndex
(
0
..
$nFunIndexes
-
1
)
{
{
foreach
my
$vtableOffset
(
0
..
$nVtableOffsets
-
1
)
foreach
my
$vtableOffset
(
0
..
$nVtableOffsets
-
1
)
{
{
gen_arm
(
$funIndex
,
$vtableOffset
);
gen_arm
(
$funIndex
,
$vtableOffset
);
gen_arm
(
$funIndex
|
0x80000000
,
$vtableOffset
);
gen_arm
(
$funIndex
|
0x80000000
,
$vtableOffset
);
}
}
}
}
printf
(
"#else\n"
);
printf
(
"#else\n"
);
...
@@ -65,13 +65,13 @@ foreach my $funIndex (0 .. $nFunIndexes-1)
...
@@ -65,13 +65,13 @@ foreach my $funIndex (0 .. $nFunIndexes-1)
{
{
foreach
my
$vtableOffset
(
0
..
$nVtableOffsets
-
1
)
foreach
my
$vtableOffset
(
0
..
$nVtableOffsets
-
1
)
{
{
foreach
my
$executor
(
'General'
,
'Void'
,
'Hyper'
,
'Float'
,
'Double'
,
'Class'
)
foreach
my
$executor
(
'General'
,
'Void'
,
'Hyper'
,
'Float'
,
'Double'
,
'Class'
)
{
{
gen_x86
(
$funIndex
,
$vtableOffset
,
$executor
);
gen_x86
(
$funIndex
,
$vtableOffset
,
$executor
);
gen_x86
(
$funIndex
|
0x80000000
,
$vtableOffset
,
$executor
);
gen_x86
(
$funIndex
|
0x80000000
,
$vtableOffset
,
$executor
);
}
}
}
}
}
}
printf
(
"#endif\n"
);
printf
(
"#endif\n"
);
...
@@ -90,15 +90,17 @@ foreach my $funIndex (0 .. $nFunIndexes-1)
...
@@ -90,15 +90,17 @@ foreach my $funIndex (0 .. $nFunIndexes-1)
{
{
foreach
my
$vtableOffset
(
0
..
$nVtableOffsets
-
1
)
foreach
my
$vtableOffset
(
0
..
$nVtableOffsets
-
1
)
{
{
printf
(
"#if defined(__arm) || defined(__arm64)\n"
);
printf
(
"#if defined(__arm) || defined(__arm64)\n"
);
printf
(
" .long codeSnippet_%08x_%d - _codeSnippets\n"
,
$funIndex
,
$vtableOffset
);
printf
(
" .long codeSnippet_%08x_%d - _codeSnippets\n"
,
$funIndex
,
$vtableOffset
);
printf
(
" .long codeSnippet_%08x_%d - _codeSnippets\n"
,
$funIndex
|
0x80000000
,
$vtableOffset
);
printf
(
" .long codeSnippet_%08x_%d - _codeSnippets\n"
,
$funIndex
|
0x80000000
,
$vtableOffset
);
printf
(
"#else\n"
);
printf
(
"#else\n"
);
foreach
my
$executor
(
'General'
,
'Void'
,
'Hyper'
,
'Float'
,
'Double'
,
'Class'
)
foreach
my
$executor
(
'General'
,
'Void'
,
'Hyper'
,
'Float'
,
'Double'
,
'Class'
)
{
{
printf
(
" .long codeSnippet_%08x_%d_%s - _codeSnippets\n"
,
$funIndex
,
$vtableOffset
,
$executor
);
printf
(
" .long codeSnippet_%08x_%d_%s - _codeSnippets\n"
,
$funIndex
,
$vtableOffset
,
$executor
);
printf
(
" .long codeSnippet_%08x_%d_%s - _codeSnippets\n"
,
$funIndex
|
0x80000000
,
$vtableOffset
,
$executor
);
printf
(
" .long codeSnippet_%08x_%d_%s - _codeSnippets\n"
,
$funIndex
|
0x80000000
,
$vtableOffset
,
$executor
);
}
}
printf
(
"#endif\n"
);
printf
(
"#endif\n"
);
}
}
}
}
# 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