LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/CustomTarget/i18npool/localedata - localedata_es_NI.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 6 40 15.0 %
Date: 2012-08-25 Functions: 2 18 11.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : #include <sal/types.h>
       2                 :            : 
       3                 :            : 
       4                 :            : #include <stdio.h> // debug printfs
       5                 :            : 
       6                 :            : extern "C" {
       7                 :            : 
       8                 :            : static const sal_Unicode langID[] = {0x65, 0x73, 0x0};
       9                 :            : static const sal_Unicode langDefaultName[] = {0x53, 0x70, 0x61, 0x6e, 0x69, 0x73, 0x68, 0x0};
      10                 :            : static const sal_Unicode countryID[] = {0x4e, 0x49, 0x0};
      11                 :            : static const sal_Unicode countryDefaultName[] = {0x4e, 0x69, 0x63, 0x61, 0x72, 0x61, 0x67, 0x75, 0x61, 0x0};
      12                 :            : static const sal_Unicode Variant[] = {0x0};
      13                 :            : 
      14                 :            : static const sal_Unicode* LCInfoArray[] = {
      15                 :            :         langID,
      16                 :            :         langDefaultName,
      17                 :            :         countryID,
      18                 :            :         countryDefaultName,
      19                 :            :         Variant
      20                 :            : };
      21                 :            : 
      22                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getLCInfo_es_NI(sal_Int16& count)
      23                 :            : {
      24                 :          0 :         count = 0;
      25                 :          0 :         return (sal_Unicode**)LCInfoArray;
      26                 :            : }
      27                 :            : 
      28                 :            : 
      29                 :            : static const sal_Unicode LC_CTYPE_Unoid[] = {0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x0};
      30                 :            : static const sal_Unicode dateSeparator[] = {0x2d, 0x0};
      31                 :            : static const sal_Unicode thousandSeparator[] = {0x2c, 0x0};
      32                 :            : static const sal_Unicode decimalSeparator[] = {0x2e, 0x0};
      33                 :            : static const sal_Unicode timeSeparator[] = {0x3a, 0x0};
      34                 :            : static const sal_Unicode time100SecSeparator[] = {0x2e, 0x0};
      35                 :            : static const sal_Unicode listSeparator[] = {0x3b, 0x0};
      36                 :            : static const sal_Unicode LongDateDayOfWeekSeparator[] = {0x20, 0x0};
      37                 :            : static const sal_Unicode LongDateDaySeparator[] = {0x20, 0x64, 0x65, 0x20, 0x0};
      38                 :            : static const sal_Unicode LongDateMonthSeparator[] = {0x20, 0x64, 0x65, 0x20, 0x0};
      39                 :            : static const sal_Unicode LongDateYearSeparator[] = {0x20, 0x0};
      40                 :            : static const sal_Unicode quotationStart[] = {0x2018, 0x0};
      41                 :            : static const sal_Unicode quotationEnd[] = {0x2019, 0x0};
      42                 :            : static const sal_Unicode doubleQuotationStart[] = {0x201c, 0x0};
      43                 :            : static const sal_Unicode doubleQuotationEnd[] = {0x201d, 0x0};
      44                 :            : static const sal_Unicode timeAM[] = {0x61, 0x2e, 0x6d, 0x2e, 0x0};
      45                 :            : static const sal_Unicode timePM[] = {0x70, 0x2e, 0x6d, 0x2e, 0x0};
      46                 :            : static const sal_Unicode measurementSystem[] = {0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x0};
      47                 :            : 
      48                 :            : static const sal_Unicode* LCType[] = {
      49                 :            :         LC_CTYPE_Unoid,
      50                 :            :         dateSeparator,
      51                 :            :         thousandSeparator,
      52                 :            :         decimalSeparator,
      53                 :            :         timeSeparator,
      54                 :            :         time100SecSeparator,
      55                 :            :         listSeparator,
      56                 :            :         quotationStart,
      57                 :            :         quotationEnd,
      58                 :            :         doubleQuotationStart,
      59                 :            :         doubleQuotationEnd,
      60                 :            :         timeAM,
      61                 :            :         timePM,
      62                 :            :         measurementSystem,
      63                 :            :         LongDateDayOfWeekSeparator,
      64                 :            :         LongDateDaySeparator,
      65                 :            :         LongDateMonthSeparator,
      66                 :            :         LongDateYearSeparator
      67                 :            : };
      68                 :            : 
      69                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getLocaleItem_es_NI(sal_Int16& count)
      70                 :            : {
      71                 :          0 :         count = 0;
      72                 :          0 :         return (sal_Unicode**)LCType;
      73                 :            : }
      74                 :            : static const sal_Unicode replaceFrom0[] = {0x0};
      75                 :            : static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x43, 0x24, 0x2d, 0x34, 0x43, 0x30, 0x41, 0x5d, 0x20, 0x0};
      76                 :            : extern sal_Unicode **  SAL_CALL getAllFormats0_es_GT(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
      77                 :         36 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllFormats0_es_NI(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
      78                 :            : {
      79                 :         36 :         to = replaceTo0;
      80                 :            :         const sal_Unicode* tmp;
      81         [ +  - ]:         36 :         return getAllFormats0_es_GT(count, from, tmp);
      82                 :            : }
      83                 :            : extern sal_Unicode **  SAL_CALL getDateAcceptancePatterns_es_GT(sal_Int16& count);
      84                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getDateAcceptancePatterns_es_NI(sal_Int16& count)
      85                 :            : {
      86                 :          0 :         return getDateAcceptancePatterns_es_GT(count);
      87                 :            : }
      88                 :            : extern sal_Unicode **  SAL_CALL getCollatorImplementation_en_US(sal_Int16& count);
      89                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollatorImplementation_es_NI(sal_Int16& count)
      90                 :            : {
      91                 :          0 :         return getCollatorImplementation_en_US(count);
      92                 :            : }
      93                 :            : extern sal_Unicode **  SAL_CALL getCollationOptions_en_US(sal_Int16& count);
      94                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollationOptions_es_NI(sal_Int16& count)
      95                 :            : {
      96                 :          0 :         return getCollationOptions_en_US(count);
      97                 :            : }
      98                 :            : extern sal_Unicode **  SAL_CALL getSearchOptions_en_US(sal_Int16& count);
      99                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getSearchOptions_es_NI(sal_Int16& count)
     100                 :            : {
     101                 :          0 :         return getSearchOptions_en_US(count);
     102                 :            : }
     103                 :            : extern sal_Unicode **  SAL_CALL getIndexAlgorithm_es_ES(sal_Int16& count);
     104                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getIndexAlgorithm_es_NI(sal_Int16& count)
     105                 :            : {
     106                 :          0 :         return getIndexAlgorithm_es_ES(count);
     107                 :            : }
     108                 :            : extern sal_Unicode **  SAL_CALL getUnicodeScripts_es_ES(sal_Int16& count);
     109                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getUnicodeScripts_es_NI(sal_Int16& count)
     110                 :            : {
     111                 :          0 :         return getUnicodeScripts_es_ES(count);
     112                 :            : }
     113                 :            : extern sal_Unicode **  SAL_CALL getFollowPageWords_es_ES(sal_Int16& count);
     114                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getFollowPageWords_es_NI(sal_Int16& count)
     115                 :            : {
     116                 :          0 :         return getFollowPageWords_es_ES(count);
     117                 :            : }
     118                 :            : extern sal_Unicode **  SAL_CALL getAllCalendars_es_AR(sal_Int16& count);
     119                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCalendars_es_NI(sal_Int16& count)
     120                 :            : {
     121                 :          0 :         return getAllCalendars_es_AR(count);
     122                 :            : }
     123                 :            : static const sal_Unicode defaultCurrency0[] = {1};
     124                 :            : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
     125                 :            : static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
     126                 :            : static const sal_Unicode currencyID0[] = {0x4e, 0x49, 0x4f, 0x0};
     127                 :            : static const sal_Unicode currencySymbol0[] = {0x43, 0x24, 0x0};
     128                 :            : static const sal_Unicode bankSymbol0[] = {0x4e, 0x49, 0x4f, 0x0};
     129                 :            : static const sal_Unicode currencyName0[] = {0x43, 0x6f, 0x72, 0x64, 0x6f, 0x62, 0x61, 0x20, 0x4f, 0x72, 0x6f, 0x0};
     130                 :            : static const sal_Unicode currencyDecimalPlaces0[] = {2};
     131                 :            : 
     132                 :            : static const sal_Int16 currencyCount = 1;
     133                 :            : 
     134                 :            : static const sal_Unicode* currencies[] = {
     135                 :            :         currencyID0,
     136                 :            :         currencySymbol0,
     137                 :            :         bankSymbol0,
     138                 :            :         currencyName0,
     139                 :            :         defaultCurrency0,
     140                 :            :         defaultCurrencyUsedInCompatibleFormatCodes0,
     141                 :            :         currencyDecimalPlaces0,
     142                 :            :         defaultCurrencyLegacyOnly0,
     143                 :            : };
     144                 :            : 
     145                 :         72 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCurrencies_es_NI(sal_Int16& count)
     146                 :            : {
     147                 :         72 :         count = currencyCount;
     148                 :         72 :         return (sal_Unicode**)currencies;
     149                 :            : }
     150                 :            : extern sal_Unicode **  SAL_CALL getTransliterations_en_US(sal_Int16& count);
     151                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getTransliterations_es_NI(sal_Int16& count)
     152                 :            : {
     153                 :          0 :         return getTransliterations_en_US(count);
     154                 :            : }
     155                 :            : extern sal_Unicode **  SAL_CALL getForbiddenCharacters_es_ES(sal_Int16& count);
     156                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getForbiddenCharacters_es_NI(sal_Int16& count)
     157                 :            : {
     158                 :          0 :         return getForbiddenCharacters_es_ES(count);
     159                 :            : }
     160                 :            : extern sal_Unicode **  SAL_CALL getBreakIteratorRules_es_ES(sal_Int16& count);
     161                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getBreakIteratorRules_es_NI(sal_Int16& count)
     162                 :            : {
     163                 :          0 :         return getBreakIteratorRules_es_ES(count);
     164                 :            : }
     165                 :            : extern sal_Unicode **  SAL_CALL getReservedWords_es_ES(sal_Int16& count);
     166                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getReservedWords_es_NI(sal_Int16& count)
     167                 :            : {
     168                 :          0 :         return getReservedWords_es_ES(count);
     169                 :            : }
     170                 :            : // ---> ContinuousNumbering
     171                 :            : extern const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
     172                 :          0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_es_NI(sal_Int16& nStyles, sal_Int16& nAttributes)
     173                 :            : {
     174                 :          0 :         return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
     175                 :            : }
     176                 :            : // ---> OutlineNumbering
     177                 :            : extern const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
     178                 :          0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_es_NI(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
     179                 :            : {
     180                 :          0 :         return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
     181                 :            : }
     182                 :            : } // extern "C"
     183                 :            : 

Generated by: LCOV version 1.10