LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/CustomTarget/i18npool/localedata - localedata_en_IN.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 6 40 15.0 %
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[] = {0x65, 0x6e, 0x0};
       9             : static const sal_Unicode langDefaultName[] = {0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0};
      10             : static const sal_Unicode countryID[] = {0x49, 0x4e, 0x0};
      11             : static const sal_Unicode countryDefaultName[] = {0x49, 0x6e, 0x64, 0x69, 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_en_IN(sal_Int16& count)
      23             : {
      24           0 :         count = 0;
      25           0 :         return (sal_Unicode**)LCInfoArray;
      26             : }
      27             : extern sal_Unicode **  SAL_CALL getLocaleItem_en_GB(sal_Int16& count);
      28           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getLocaleItem_en_IN(sal_Int16& count)
      29             : {
      30           0 :         return getLocaleItem_en_GB(count);
      31             : }
      32             : static const sal_Unicode replaceFrom0[] = {0x0};
      33             : static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x20b9, 0x2d, 0x34, 0x30, 0x30, 0x39, 0x5d, 0x0};
      34             : extern sal_Unicode **  SAL_CALL getAllFormats0_en_GB(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
      35          28 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllFormats0_en_IN(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_en_GB(count, from, tmp);
      40             : }
      41             : extern sal_Unicode **  SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count);
      42           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getDateAcceptancePatterns_en_IN(sal_Int16& count)
      43             : {
      44           0 :         return getDateAcceptancePatterns_en_GB(count);
      45             : }
      46             : extern sal_Unicode **  SAL_CALL getCollatorImplementation_en_US(sal_Int16& count);
      47           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollatorImplementation_en_IN(sal_Int16& count)
      48             : {
      49           0 :         return getCollatorImplementation_en_US(count);
      50             : }
      51             : extern sal_Unicode **  SAL_CALL getCollationOptions_en_US(sal_Int16& count);
      52           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollationOptions_en_IN(sal_Int16& count)
      53             : {
      54           0 :         return getCollationOptions_en_US(count);
      55             : }
      56             : extern sal_Unicode **  SAL_CALL getSearchOptions_en_US(sal_Int16& count);
      57           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getSearchOptions_en_IN(sal_Int16& count)
      58             : {
      59           0 :         return getSearchOptions_en_US(count);
      60             : }
      61             : extern sal_Unicode **  SAL_CALL getIndexAlgorithm_en_US(sal_Int16& count);
      62           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getIndexAlgorithm_en_IN(sal_Int16& count)
      63             : {
      64           0 :         return getIndexAlgorithm_en_US(count);
      65             : }
      66             : extern sal_Unicode **  SAL_CALL getUnicodeScripts_en_US(sal_Int16& count);
      67           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getUnicodeScripts_en_IN(sal_Int16& count)
      68             : {
      69           0 :         return getUnicodeScripts_en_US(count);
      70             : }
      71             : extern sal_Unicode **  SAL_CALL getFollowPageWords_en_US(sal_Int16& count);
      72           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getFollowPageWords_en_IN(sal_Int16& count)
      73             : {
      74           0 :         return getFollowPageWords_en_US(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 dayRef0[] = {0x72, 0x65, 0x66, 0x0};
      79             : static const sal_Unicode dayRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
      80             : static const sal_Unicode monthRef0[] = {0x72, 0x65, 0x66, 0x0};
      81             : static const sal_Unicode monthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
      82             : static const sal_Unicode genitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
      83             : static const sal_Unicode genitiveMonthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
      84             : static const sal_Unicode partitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
      85             : static const sal_Unicode partitiveMonthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
      86             : static const sal_Unicode eraRef0[] = {0x72, 0x65, 0x66, 0x0};
      87             : static const sal_Unicode eraRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
      88             : static const sal_Unicode startDayOfWeek0[] = {0x6d, 0x6f, 0x6e, 0x0};
      89             : static const sal_Unicode minimalDaysInFirstWeek0[] = {1};
      90             : static const sal_Int16 calendarsCount = 1;
      91             : 
      92             : static const sal_Unicode nbOfDays[] = {0};
      93             : static const sal_Unicode nbOfMonths[] = {0};
      94             : static const sal_Unicode nbOfGenitiveMonths[] = {0};
      95             : static const sal_Unicode nbOfPartitiveMonths[] = {0};
      96             : static const sal_Unicode nbOfEras[] = {0};
      97             : static const sal_Unicode* calendars[] = {
      98             :         nbOfDays,
      99             :         nbOfMonths,
     100             :         nbOfGenitiveMonths,
     101             :         nbOfPartitiveMonths,
     102             :         nbOfEras,
     103             :         calendarID0,
     104             :         defaultCalendar0,
     105             :         dayRef0,
     106             :         dayRefName0,
     107             :         monthRef0,
     108             :         monthRefName0,
     109             :         genitiveMonthRef0,
     110             :         genitiveMonthRefName0,
     111             :         partitiveMonthRef0,
     112             :         partitiveMonthRefName0,
     113             :         eraRef0,
     114             :         eraRefName0,
     115             :         startDayOfWeek0,
     116             :         minimalDaysInFirstWeek0,
     117             : };
     118             : 
     119           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCalendars_en_IN(sal_Int16& count)
     120             : {
     121           0 :         count = calendarsCount;
     122           0 :         return (sal_Unicode**)calendars;
     123             : }
     124             : static const sal_Unicode defaultCurrency0[] = {1};
     125             : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
     126             : static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
     127             : static const sal_Unicode currencyID0[] = {0x49, 0x4e, 0x52, 0x0};
     128             : static const sal_Unicode currencySymbol0[] = {0x20b9, 0x0};
     129             : static const sal_Unicode bankSymbol0[] = {0x49, 0x4e, 0x52, 0x0};
     130             : static const sal_Unicode currencyName0[] = {0x52, 0x75, 0x70, 0x65, 0x65, 0x0};
     131             : static const sal_Unicode currencyDecimalPlaces0[] = {2};
     132             : 
     133             : static const sal_Unicode defaultCurrency1[] = {0};
     134             : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes1[] = {0};
     135             : static const sal_Unicode defaultCurrencyLegacyOnly1[] = {1};
     136             : static const sal_Unicode currencyID1[] = {0x49, 0x4e, 0x52, 0x0};
     137             : static const sal_Unicode currencySymbol1[] = {0x52, 0x73, 0x2e, 0x0};
     138             : static const sal_Unicode bankSymbol1[] = {0x49, 0x4e, 0x52, 0x0};
     139             : static const sal_Unicode currencyName1[] = {0x49, 0x6e, 0x64, 0x69, 0x61, 0x6e, 0x20, 0x52, 0x75, 0x70, 0x65, 0x65, 0x0};
     140             : static const sal_Unicode currencyDecimalPlaces1[] = {2};
     141             : 
     142             : static const sal_Int16 currencyCount = 2;
     143             : 
     144             : static const sal_Unicode* currencies[] = {
     145             :         currencyID0,
     146             :         currencySymbol0,
     147             :         bankSymbol0,
     148             :         currencyName0,
     149             :         defaultCurrency0,
     150             :         defaultCurrencyUsedInCompatibleFormatCodes0,
     151             :         currencyDecimalPlaces0,
     152             :         defaultCurrencyLegacyOnly0,
     153             :         currencyID1,
     154             :         currencySymbol1,
     155             :         bankSymbol1,
     156             :         currencyName1,
     157             :         defaultCurrency1,
     158             :         defaultCurrencyUsedInCompatibleFormatCodes1,
     159             :         currencyDecimalPlaces1,
     160             :         defaultCurrencyLegacyOnly1,
     161             : };
     162             : 
     163          56 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCurrencies_en_IN(sal_Int16& count)
     164             : {
     165          56 :         count = currencyCount;
     166          56 :         return (sal_Unicode**)currencies;
     167             : }
     168             : extern sal_Unicode **  SAL_CALL getTransliterations_en_US(sal_Int16& count);
     169           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getTransliterations_en_IN(sal_Int16& count)
     170             : {
     171           0 :         return getTransliterations_en_US(count);
     172             : }
     173             : extern sal_Unicode **  SAL_CALL getForbiddenCharacters_en_US(sal_Int16& count);
     174           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getForbiddenCharacters_en_IN(sal_Int16& count)
     175             : {
     176           0 :         return getForbiddenCharacters_en_US(count);
     177             : }
     178             : extern sal_Unicode **  SAL_CALL getBreakIteratorRules_en_US(sal_Int16& count);
     179           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getBreakIteratorRules_en_IN(sal_Int16& count)
     180             : {
     181           0 :         return getBreakIteratorRules_en_US(count);
     182             : }
     183             : extern sal_Unicode **  SAL_CALL getReservedWords_en_US(sal_Int16& count);
     184           0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getReservedWords_en_IN(sal_Int16& count)
     185             : {
     186           0 :         return getReservedWords_en_US(count);
     187             : }
     188             : // ---> ContinuousNumbering
     189             : extern const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
     190           0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_en_IN(sal_Int16& nStyles, sal_Int16& nAttributes)
     191             : {
     192           0 :         return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
     193             : }
     194             : // ---> OutlineNumbering
     195             : extern const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
     196           0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_en_IN(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
     197             : {
     198           0 :         return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
     199             : }
     200             : } // extern "C"
     201             : 

Generated by: LCOV version 1.10