LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/CustomTarget/i18npool/localedata - localedata_nn_NO.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 5 39 12.8 %
Date: 2012-12-17 Functions: 2 18 11.1 %
Legend: Lines: hit not hit

          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[] = {0x6e, 0x6e, 0x0};
       9             : static const sal_Unicode langDefaultName[] = {0x4e, 0x6f, 0x72, 0x77, 0x65, 0x67, 0x69, 0x61, 0x6e, 0x20, 0x4e, 0x79, 0x6e, 0x6f, 0x72, 0x73, 0x6b, 0x0};
      10             : static const sal_Unicode countryID[] = {0x4e, 0x4f, 0x0};
      11             : static const sal_Unicode countryDefaultName[] = {0x4e, 0x6f, 0x72, 0x77, 0x61, 0x79, 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_nn_NO(sal_Int16& count)
      23             : {
      24           0 :         count = 0;
      25           0 :         return (sal_Unicode**)LCInfoArray;
      26             : }
      27             : extern sal_Unicode **  SAL_CALL getLocaleItem_no_NO(sal_Int16& count);
      28           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getLocaleItem_nn_NO(sal_Int16& count)
      29             : {
      30           0 :         return getLocaleItem_no_NO(count);
      31             : }
      32             : static const sal_Unicode replaceFrom0[] = {0x0};
      33             : static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x6b, 0x72, 0x2d, 0x38, 0x31, 0x34, 0x5d, 0x0};
      34             : extern sal_Unicode **  SAL_CALL getAllFormats0_no_NO(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
      35          28 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllFormats0_nn_NO(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
      36             : {
      37          28 :         to = replaceTo0;
      38             :         const sal_Unicode* tmp;
      39          28 :         return getAllFormats0_no_NO(count, from, tmp);
      40             : }
      41             : extern sal_Unicode **  SAL_CALL getDateAcceptancePatterns_no_NO(sal_Int16& count);
      42           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getDateAcceptancePatterns_nn_NO(sal_Int16& count)
      43             : {
      44           0 :         return getDateAcceptancePatterns_no_NO(count);
      45             : }
      46             : extern sal_Unicode **  SAL_CALL getCollatorImplementation_no_NO(sal_Int16& count);
      47           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollatorImplementation_nn_NO(sal_Int16& count)
      48             : {
      49           0 :         return getCollatorImplementation_no_NO(count);
      50             : }
      51             : extern sal_Unicode **  SAL_CALL getCollationOptions_no_NO(sal_Int16& count);
      52           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollationOptions_nn_NO(sal_Int16& count)
      53             : {
      54           0 :         return getCollationOptions_no_NO(count);
      55             : }
      56             : extern sal_Unicode **  SAL_CALL getSearchOptions_no_NO(sal_Int16& count);
      57           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getSearchOptions_nn_NO(sal_Int16& count)
      58             : {
      59           0 :         return getSearchOptions_no_NO(count);
      60             : }
      61             : extern sal_Unicode **  SAL_CALL getIndexAlgorithm_no_NO(sal_Int16& count);
      62           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getIndexAlgorithm_nn_NO(sal_Int16& count)
      63             : {
      64           0 :         return getIndexAlgorithm_no_NO(count);
      65             : }
      66             : extern sal_Unicode **  SAL_CALL getUnicodeScripts_no_NO(sal_Int16& count);
      67           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getUnicodeScripts_nn_NO(sal_Int16& count)
      68             : {
      69           0 :         return getUnicodeScripts_no_NO(count);
      70             : }
      71             : extern sal_Unicode **  SAL_CALL getFollowPageWords_no_NO(sal_Int16& count);
      72           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getFollowPageWords_nn_NO(sal_Int16& count)
      73             : {
      74           0 :         return getFollowPageWords_no_NO(count);
      75             : }
      76             : static const sal_Unicode calendarID0[] = {0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
      77             : static const sal_Unicode defaultCalendar0[] = {1};
      78             : static const sal_Unicode dayID00[] = {0x73, 0x75, 0x6e, 0x0};
      79             : static const sal_Unicode dayDefaultAbbrvName00[] = {0x73, 0x75, 0x2e, 0x0};
      80             : static const sal_Unicode dayDefaultFullName00[] = {0x73, 0x75, 0x6e, 0x64, 0x61, 0x67, 0x0};
      81             : static const sal_Unicode dayDefaultNarrowName00[] = {0x73, 0x0};
      82             : static const sal_Unicode dayID01[] = {0x6d, 0x6f, 0x6e, 0x0};
      83             : static const sal_Unicode dayDefaultAbbrvName01[] = {0x6d, 0xe5, 0x2e, 0x0};
      84             : static const sal_Unicode dayDefaultFullName01[] = {0x6d, 0xe5, 0x6e, 0x64, 0x61, 0x67, 0x0};
      85             : static const sal_Unicode dayDefaultNarrowName01[] = {0x6d, 0x0};
      86             : static const sal_Unicode dayID02[] = {0x74, 0x75, 0x65, 0x0};
      87             : static const sal_Unicode dayDefaultAbbrvName02[] = {0x74, 0x79, 0x2e, 0x0};
      88             : static const sal_Unicode dayDefaultFullName02[] = {0x74, 0x79, 0x73, 0x64, 0x61, 0x67, 0x0};
      89             : static const sal_Unicode dayDefaultNarrowName02[] = {0x74, 0x0};
      90             : static const sal_Unicode dayID03[] = {0x77, 0x65, 0x64, 0x0};
      91             : static const sal_Unicode dayDefaultAbbrvName03[] = {0x6f, 0x6e, 0x2e, 0x0};
      92             : static const sal_Unicode dayDefaultFullName03[] = {0x6f, 0x6e, 0x73, 0x64, 0x61, 0x67, 0x0};
      93             : static const sal_Unicode dayDefaultNarrowName03[] = {0x6f, 0x0};
      94             : static const sal_Unicode dayID04[] = {0x74, 0x68, 0x75, 0x0};
      95             : static const sal_Unicode dayDefaultAbbrvName04[] = {0x74, 0x6f, 0x2e, 0x0};
      96             : static const sal_Unicode dayDefaultFullName04[] = {0x74, 0x6f, 0x72, 0x73, 0x64, 0x61, 0x67, 0x0};
      97             : static const sal_Unicode dayDefaultNarrowName04[] = {0x74, 0x0};
      98             : static const sal_Unicode dayID05[] = {0x66, 0x72, 0x69, 0x0};
      99             : static const sal_Unicode dayDefaultAbbrvName05[] = {0x66, 0x72, 0x2e, 0x0};
     100             : static const sal_Unicode dayDefaultFullName05[] = {0x66, 0x72, 0x65, 0x64, 0x61, 0x67, 0x0};
     101             : static const sal_Unicode dayDefaultNarrowName05[] = {0x66, 0x0};
     102             : static const sal_Unicode dayID06[] = {0x73, 0x61, 0x74, 0x0};
     103             : static const sal_Unicode dayDefaultAbbrvName06[] = {0x6c, 0x61, 0x2e, 0x0};
     104             : static const sal_Unicode dayDefaultFullName06[] = {0x6c, 0x61, 0x75, 0x72, 0x64, 0x61, 0x67, 0x0};
     105             : static const sal_Unicode dayDefaultNarrowName06[] = {0x6c, 0x0};
     106             : static const sal_Unicode monthRef0[] = {0x72, 0x65, 0x66, 0x0};
     107             : static const sal_Unicode monthRefName0[] = {0x6e, 0x6f, 0x5f, 0x4e, 0x4f, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
     108             : static const sal_Unicode genitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
     109             : static const sal_Unicode genitiveMonthRefName0[] = {0x6e, 0x6f, 0x5f, 0x4e, 0x4f, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
     110             : static const sal_Unicode partitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
     111             : static const sal_Unicode partitiveMonthRefName0[] = {0x6e, 0x6f, 0x5f, 0x4e, 0x4f, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
     112             : static const sal_Unicode eraRef0[] = {0x72, 0x65, 0x66, 0x0};
     113             : static const sal_Unicode eraRefName0[] = {0x6e, 0x6f, 0x5f, 0x4e, 0x4f, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
     114             : static const sal_Unicode startDayOfWeek0[] = {0x6d, 0x6f, 0x6e, 0x0};
     115             : static const sal_Unicode minimalDaysInFirstWeek0[] = {4};
     116             : static const sal_Int16 calendarsCount = 1;
     117             : 
     118             : static const sal_Unicode nbOfDays[] = {7};
     119             : static const sal_Unicode nbOfMonths[] = {0};
     120             : static const sal_Unicode nbOfGenitiveMonths[] = {0};
     121             : static const sal_Unicode nbOfPartitiveMonths[] = {0};
     122             : static const sal_Unicode nbOfEras[] = {0};
     123             : static const sal_Unicode* calendars[] = {
     124             :         nbOfDays,
     125             :         nbOfMonths,
     126             :         nbOfGenitiveMonths,
     127             :         nbOfPartitiveMonths,
     128             :         nbOfEras,
     129             :         calendarID0,
     130             :         defaultCalendar0,
     131             :         dayID00,
     132             :         dayDefaultAbbrvName00,
     133             :         dayDefaultFullName00,
     134             :         dayDefaultNarrowName00,
     135             :         dayID01,
     136             :         dayDefaultAbbrvName01,
     137             :         dayDefaultFullName01,
     138             :         dayDefaultNarrowName01,
     139             :         dayID02,
     140             :         dayDefaultAbbrvName02,
     141             :         dayDefaultFullName02,
     142             :         dayDefaultNarrowName02,
     143             :         dayID03,
     144             :         dayDefaultAbbrvName03,
     145             :         dayDefaultFullName03,
     146             :         dayDefaultNarrowName03,
     147             :         dayID04,
     148             :         dayDefaultAbbrvName04,
     149             :         dayDefaultFullName04,
     150             :         dayDefaultNarrowName04,
     151             :         dayID05,
     152             :         dayDefaultAbbrvName05,
     153             :         dayDefaultFullName05,
     154             :         dayDefaultNarrowName05,
     155             :         dayID06,
     156             :         dayDefaultAbbrvName06,
     157             :         dayDefaultFullName06,
     158             :         dayDefaultNarrowName06,
     159             :         monthRef0,
     160             :         monthRefName0,
     161             :         genitiveMonthRef0,
     162             :         genitiveMonthRefName0,
     163             :         partitiveMonthRef0,
     164             :         partitiveMonthRefName0,
     165             :         eraRef0,
     166             :         eraRefName0,
     167             :         startDayOfWeek0,
     168             :         minimalDaysInFirstWeek0,
     169             : };
     170             : 
     171           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCalendars_nn_NO(sal_Int16& count)
     172             : {
     173           0 :         count = calendarsCount;
     174           0 :         return (sal_Unicode**)calendars;
     175             : }
     176             : extern sal_Unicode **  SAL_CALL getAllCurrencies_no_NO(sal_Int16& count);
     177          56 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCurrencies_nn_NO(sal_Int16& count)
     178             : {
     179          56 :         return getAllCurrencies_no_NO(count);
     180             : }
     181             : extern sal_Unicode **  SAL_CALL getTransliterations_no_NO(sal_Int16& count);
     182           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getTransliterations_nn_NO(sal_Int16& count)
     183             : {
     184           0 :         return getTransliterations_no_NO(count);
     185             : }
     186             : extern sal_Unicode **  SAL_CALL getForbiddenCharacters_no_NO(sal_Int16& count);
     187           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getForbiddenCharacters_nn_NO(sal_Int16& count)
     188             : {
     189           0 :         return getForbiddenCharacters_no_NO(count);
     190             : }
     191             : extern sal_Unicode **  SAL_CALL getBreakIteratorRules_no_NO(sal_Int16& count);
     192           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getBreakIteratorRules_nn_NO(sal_Int16& count)
     193             : {
     194           0 :         return getBreakIteratorRules_no_NO(count);
     195             : }
     196             : extern sal_Unicode **  SAL_CALL getReservedWords_no_NO(sal_Int16& count);
     197           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getReservedWords_nn_NO(sal_Int16& count)
     198             : {
     199           0 :         return getReservedWords_no_NO(count);
     200             : }
     201             : // ---> ContinuousNumbering
     202             : extern const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_no_NO(sal_Int16& nStyles, sal_Int16& nAttributes);
     203           0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_nn_NO(sal_Int16& nStyles, sal_Int16& nAttributes)
     204             : {
     205           0 :         return getContinuousNumberingLevels_no_NO(nStyles, nAttributes);
     206             : }
     207             : // ---> OutlineNumbering
     208             : extern const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_no_NO(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
     209           0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_nn_NO(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
     210             : {
     211           0 :         return getOutlineNumberingLevels_no_NO(nStyles, nLevels, nAttributes);
     212             : }
     213             : } // extern "C"
     214             : 

Generated by: LCOV version 1.10