/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | LikelySubtags.java | 124 LanguageTagParser ltp = new LanguageTagParser(); in maximize() local 129 ltp.set(languageTag); in maximize() 130 String language = ltp.getLanguage(); in maximize() 131 String region = ltp.getRegion(); in maximize() 132 String script = ltp.getScript(); in maximize() 133 List<String> variants = ltp.getVariants(); in maximize() 134 Map<String, String> extensions = ltp.getExtensions(); in maximize() 135 Map<String, String> localeExtensions = ltp.getLocaleExtensions(); in maximize() 138 ltp.setLanguage(language = "und"); in maximize() 141 ltp.setScript(script = ""); in maximize() [all …]
|
D | CheckLangTagBNF.java | 227 LanguageTagParser ltp = new LanguageTagParser(); in main() local 253 checkParse(ltp, simpleLocaleParser, test); in main() 273 private static void checkParse(LanguageTagParser ltp, SimpleLocaleParser slp, String test) { in checkParse() argument 275 ltp.set(test); in checkParse() 281 String lang = ltp.getLanguage(); in checkParse() 286 checkStrings("script", ltp.getScript(), slp.getScript()); in checkParse() 287 checkStrings("country", ltp.getRegion(), slp.getCountry()); in checkParse() 288 checkStrings("variants", ltp.getVariants(), slp.getVariants()); in checkParse() 290 foo.putAll(ltp.getExtensions()); in checkParse() 291 foo.putAll(ltp.getLocaleExtensions()); in checkParse() [all …]
|
D | GenerateAliases.java | 43 LanguageTagParser ltp = new LanguageTagParser(); field in GenerateAliases.Builder 65 ltp.set(max); in Builder() 66 ltp.setScript(""); in Builder() 68 ltp.set(max); in Builder() 69 ltp.setRegion(""); in Builder() 71 ltp.setScript(""); in Builder() 81 String base = ltp.set(localeID).getLanguage(); in Builder() 108 String partial = ltp.toString(); in addToLikely() 121 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in hasMultipleScripts() local 122 return HAS_MULTIPLE_SCRIPTS.contains(ltp.getLanguage()); in hasMultipleScripts() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestIdentity.java | 25 LanguageTagParser ltp = new LanguageTagParser(); in TestIdentityVsFilename() local 39 ltp.set(locale); in TestIdentityVsFilename() 40 String fLanguage = ltp.getLanguage(); in TestIdentityVsFilename() 41 String fScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename() 43 String fTerritory = ltp.getRegion().length() > 0 ? ltp in TestIdentityVsFilename() 45 Set<String> fVariants = new HashSet<String>(ltp.getVariants()); in TestIdentityVsFilename() 53 ltp.set(identity); in TestIdentityVsFilename() 54 String iLanguage = ltp.getLanguage(); in TestIdentityVsFilename() 66 String iScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename() 79 String iTerritory = ltp.getRegion().length() > 0 ? ltp in TestIdentityVsFilename() [all …]
|
D | TestInheritance.java | 77 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalesHaveOfficial() local 104 String lang = removeScript(ltp.set(locale).getLanguage()); in TestLocalesHaveOfficial() 118 String lang = ltp.set(locale).getLanguage(); in TestLocalesHaveOfficial() 119 if (SKIP_TERRITORIES.contains(ltp.getRegion())) { in TestLocalesHaveOfficial() 201 LanguageTagParser ltp = new LanguageTagParser().set(s); in show() local 202 String script = ltp.getScript(); in show() 207 String region = ltp.getRegion(); in show() 219 ltp.getLanguage(), region); in show() 222 ltp.getLanguageScript(), region); in show() 237 LanguageTagParser ltp = new LanguageTagParser().set(lang); in removeScript() local [all …]
|
D | TestLocale.java | 59 LanguageTagParser ltp = new LanguageTagParser(); in TestLanguageRegions() local 63 String base = ltp.set(locale).getLanguage(); in TestLanguageRegions() 64 String script = ltp.getScript(); in TestLanguageRegions() 65 String region = ltp.getRegion(); in TestLanguageRegions() 69 ltp.setRegion(""); in TestLanguageRegions() 70 String baseScript = ltp.toString(); in TestLanguageRegions() 78 ltp.setScript(""); in TestLanguageRegions() 79 ltp.setRegion(region); in TestLanguageRegions() 80 String baseRegion = ltp.toString(); in TestLanguageRegions() 161 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalePartsValidity() local [all …]
|
D | LikelySubtagsTest.java | 61 final LanguageTagParser ltp = new LanguageTagParser(); in Tags() local 63 add(ltp.set(entry.getKey()), true); in Tags() 64 add(ltp.set(entry.getValue()), false); in Tags() 108 void add(LanguageTagParser ltp, boolean source) { in add() argument 109 String sourceLanguage = ltp.getLanguage(); in add() 110 String sourceScript = ltp.getScript(); in add() 111 String sourceRegion = ltp.getRegion(); in add() 129 all.add(ltp.toString()); in add() 131 scriptRegion.add(ltp.toString()); in add() 135 languageScript.add(ltp.toString()); in add() [all …]
|
/external/ltp/testscripts/ |
D | ltp-aiodio.sh | 232 sort -R ${LTPROOT}/runtest/ltp-aio-stress.part1 -o ${TMPBASE}/ltp-aio-stress.part1 234 …{LTPROOT}/bin/ltp-pan -e -S -a ltpaiostresspart1 -n ltp-aiostresspart1 -l ltpaiostress.logfile -o … 244 sort -R ${LTPROOT}/runtest/ltp-aio-stress.part2 -o ${TMPBASE}/ltp-aio-stress.part2 246 …{LTPROOT}/bin/ltp-pan -e -S -a ltpaiostresspart2 -n ltp-aiostresspart2 -l ltpaiostress.logfile -o … 259 sort -R ${LTPROOT}/runtest/ltp-aiodio.part1 -o ${TMPBASE}/ltp-aiodio.part1 261 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart1 -n ltp-aiodiopart1 -l ltpaiodio1.logfile -o ltpaiodi… 269 sort -R ${LTPROOT}/runtest/ltp-aiodio.part2 -o ${TMPBASE}/ltp-aiodio.part2 271 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart2 -n ltp-aiodiopart2 -l ltpaiodio2.logfile -o ltpaiodi… 281 sort -R ${LTPROOT}/runtest/ltp-aiodio.part3 -o ${TMPBASE}/ltp-aiodio.part3 283 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart3 -n ltp-aiodiopart3 -l ltpaiodio3.logfile -o ltpaiodi… [all …]
|
D | ltpdmmapper.sh | 67 echo "0 10240 linear " $part1 "0" > ltp-dev-mapper-table1 68 echo "0 100000 linear " $part1 "0" > ltp-dev-mapper-table2 69 echo "0 100000 linear " $part2 "0" > ltp-dev-mapper-table3 70 echo "0 200000 striped 2 16 " $part1 "0" $part2 "0" > ltp-dev-mapper-table4 74 dmsetup create dm-test-1 ltp-dev-mapper-table1 75 dmsetup create dm-test-2 ltp-dev-mapper-table2 76 dmsetup create dm-test-3 ltp-dev-mapper-table3 77 dmsetup create dm-test-4 ltp-dev-mapper-table4 127 dmsetup create dm-test-1 ltp-dev-mapper-table1 128 dmsetup create dm-test-2 ltp-dev-mapper-table2 [all …]
|
/external/ltp/pan/ |
D | Makefile | 40 MAKE_TARGETS := ltp-bump ltp-pan 43 $(warning ltp-scanner will not be built because a working copy of lex was not found) 45 MAKE_TARGETS += ltp-scanner 48 ltp-bump: ltp-bump.o zoolib.o 50 ltp-pan: ltp-pan.o zoolib.o splitstr.o 52 ltp-scanner: scan.o ltp-scanner.o reporter.o tag_report.o symbol.o splitstr.o debug.o
|
/external/ltp/android/ |
D | README.md | 9 [Github](https://github.com/linux-test-project/ltp) (upstream) 24 The LTP source is located at external/ltp in the Android tree. This is not an 28 test/vts-testcase/kernel/ltp. Some noteworthy directories/files: 30 * `external/ltp/android/`: Contains Android-specific files, aside from Android.[bp, mk] at top leve… 31 * `external/ltp/android/Android.ltp.mk`: Lists build rules for the LTP modules built under make. Th… 32 * `external/ltp/gen.bp`: Lists build rules for the LTP modules built under Soong. This file gets au… 33 * `external/ltp/android/ltp_package_list.mk`: Lists all tests that will get pulled into VTS - VTS d… 34 * `external/ltp/android/tools/disabled_tests.txt`: Lists tests which cannot or should not be compil… 35 * `external/ltp/testcases`: Source for LTP tests. Among the most important for the purposes of Treb… 36 * `test/vts-testcase/kernel/ltp/configs/disabled_tests.py`: Any test listed here will not be run in… [all …]
|
D | Android.mk | 19 include $(LOCAL_PATH)/Android.ltp.mk 25 LOCAL_MODULE := ltp 28 LOCAL_MODULE_RELATIVE_PATH := ltp 31 LOCAL_TEST_DATA := $(call find-test-data-in-subdirs,external/ltp,"*",runtest)
|
/external/libxaac/decoder/ |
D | ixheaacd_channel.c | 318 ixheaacd_init_ltp_object(&(ptr_ics_info->ltp)); in ixheaacd_ltp_decode() 319 ptr_ics_info->ltp.data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_ltp_decode() 320 if (ptr_ics_info->ltp.data_present) { in ixheaacd_ltp_decode() 322 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ltp_decode() 387 ixheaacd_init_ltp_object(&(ptr_ics_info->ltp)); in ixheaacd_ics_read() 389 if ((ptr_ics_info->ltp.data_present = in ixheaacd_ics_read() 393 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read() 413 if ((ptr_ics_info->ltp.data_present = in ixheaacd_ics_read() 417 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read() 494 ptr_ics_info->ltp.lag; in ixheaacd_individual_ch_stream() [all …]
|
/external/ltp/testcases/network/stress/dns/ |
D | dns-stress | 88 cat << EOD > ltp-ns.zone 103 printf "dns\tIN\tA\t$net.1\n" >> ltp-ns.zone 106 printf "node$id\tIN\tA\t$net.$id\n" >> ltp-ns.zone 111 cat << EOD > ltp-ns.rev 125 printf "$id\tIN\tPTR\tnode$id.$DOMAIN.\n" >> ltp-ns.rev 132 printf "dns\tIN\tAAAA\t$net::1\n" >> ltp-ns.zone 135 printf "node$id\tIN\tAAAA\t$net::%x\n" $id >> ltp-ns.zone 140 cat << EOD > ltp-ns.rev 156 $(($id % 16)) $(($id / 16)) >> ltp-ns.rev
|
/external/ltp/ |
D | .gitignore | 35 /ltp-devel.spec 36 /README.ltp-devel 42 /m4/ltp-version.m4 43 /lib/ltp.pc 44 /pan/ltp-bump 45 /pan/ltp-pan 46 /pan/ltp-scanner
|
D | README.md | 17 https://github.com/linux-test-project/ltp/releases 19 The discussion about the project happens at ltp mailing list: 20 http://lists.linux.it/listinfo/ltp 23 https://github.com/linux-test-project/ltp 26 https://patchwork.ozlabs.org/project/ltp/list/ 44 $ git clone https://github.com/linux-test-project/ltp.git 45 $ cd ltp 95 This will install LTP to `/opt/ltp`. 96 * If you have a problem see `doc/mini-howto-building-ltp-from-git.txt`. 111 $ cd /opt/ltp [all …]
|
D | INSTALL | 6 1. In order to compile ltp you must have make 3.80+ (make 3.81 preferred). 7 2. In order to compile and use ltp-scanner (a utility in the pan directory), 105 If you get a build error, please report it to ltp@lists.linux.it with 147 1> tar xzf ltp-XXXXXXXX.tar.gz 148 2> cd ltp 152 6> /opt/ltp/runltp 159 - The installation directory is /opt/ltp by default. Please see 174 2. Untar the ltp tarball into a spare directory. There is not a 195 in the same exact location, i.e. if the client has /root/ltp, then the 196 server must have /root/ltp. This is required because certain tests [all …]
|
/external/ltp/doc/ |
D | ltp-howto.txt | 157 harness. We have provided a simple solution with ltp-pan to 169 them. By default ltp-pan will select a command randomly from 179 ltp-pan it becomes a test tag in itself, thus it requires a 182 ltp-pan will overwrite the first character with a '#'. The active 183 file can be shared between multiple instances of ltp-pan so 187 A ltp-pan file contains a list of test tags for ltp-pan to run. The 188 format of a ltp-pan file is as follows: 194 # tags in your ltp-pan file. Tests programs can have different 225 fs-suite01 ltp-pan -e -a fs-suite01.zoo -n fs-suite01 -f runtest/fs 232 ignored by ltp-pan. It is a good practice to include descriptions [all …]
|
D | ltp-howto.lyx | 256 ltp-pan 271 ltp-pan 276 By default ltp-pan will select a command randomly from the list of test tags, 293 When you start ltp-pan it becomes a test tag in itself, thus it requires a 296 When a test tag exits, ltp-pan will overwrite the first character with a '#'. 297 The active file can be shared between multiple instances of ltp-pan so you 305 ltp-pan file 307 contains a list of test tags for ltp-pan to run. 308 The format of a ltp-pan file is as follows: 324 # tags in your ltp-pan file. [all …]
|
D | mini-howto-building-ltp-from-git.txt | 22 WORKING_DIR="$HOME/src/ltp" 24 PREFIX="/opt/ltp" 26 GIT_URL="https://github.com/linux-test-project/ltp.git" 48 git clone $GIT_URL ltp-git 52 cd ltp-git/
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | XLikelySubtags.java | 157 LanguageTagParser ltp = new LanguageTagParser(); in init() local 163 ltp.set(sourceTarget.getKey()); in init() 164 final String language = ltp.getLanguage(); in init() 165 final String script = ltp.getScript(); in init() 166 final String region = ltp.getRegion(); in init() 168 ltp.set(sourceTarget.getValue()); in init() 169 String languageTarget = ltp.getLanguage(); in init() 170 final String scriptTarget = ltp.getScript(); in init() 171 final String regionTarget = ltp.getRegion(); in init() 428 LanguageTagParser ltp = new LanguageTagParser(); in main() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | LanguageGroup.java | 141 LanguageTagParser ltp = new LanguageTagParser().set(iso); in getName() local 142 switch (ltp.getRegion()) { in getName() 144 if (ltp.getLanguage().equals("und")) { in getName() 152 return cldrFile.getName(CLDRFile.TERRITORY_NAME, ltp.getRegion()); in getName() 154 switch (ltp.getScript()) { in getName() 160 throw new IllegalArgumentException("Need to fix code: " + ltp.getScript()); in getName() 162 …return prefix + cldrFile.getName(ltp.getLanguage()).replace(" [Other]", "").replace(" languages", … in getName()
|
D | CoreCoverageInfo.java | 77 LanguageTagParser ltp = new LanguageTagParser(); in getCoreCoverageInfo() local 78 locale = ltp.set(locale).getLanguageScript(); in getCoreCoverageInfo() 79 String baseLanguage = ltp.getLanguage(); in getCoreCoverageInfo() 80 String script = ltp.getScript(); in getCoreCoverageInfo() 144 ltp.set(max); in getCoreCoverageInfo() 145 maxLangScript = ltp.getLanguageScript(); in getCoreCoverageInfo() 146 script = ltp.getScript(); in getCoreCoverageInfo() 147 if (!script.isEmpty() && !ltp.getRegion().isEmpty()) { in getCoreCoverageInfo()
|
/external/ltp/include/mk/ |
D | automake.mk | 44 aclocal.m4: $(wildcard m4/*.m4) m4/ltp-version.m4 54 autoheader: configure.ac $(wildcard m4/*.m4) m4/ltp-version.m4 aclocal.m4 60 m4/ltp-version.m4: VERSION 75 $(RM) -f m4/Makefile m4/ltp-version.m4 96 lib/ltp.pc \
|
/external/ltp/runtest/ |
D | ltp-aiodio.part4 | 64 #Running ltp-diorh 65 DOR000 ltp-diorh $TMPDIR/aiodio.$$/file2 66 DOR001 ltp-diorh $TMPDIR/aiodio.$$/file3 67 DOR002 ltp-diorh $TMPDIR/aiodio.$$/file4 68 DOR003 ltp-diorh $TMPDIR/aiodio.$$/file5
|