Home
last modified time | relevance | path

Searched refs:ltp (Results 1 – 25 of 142) sorted by relevance

123456

/external/cldr/tools/java/org/unicode/cldr/tool/
DLikelySubtags.java119 LanguageTagParser ltp = new LanguageTagParser(); in maximize() local
124 ltp.set(languageTag); in maximize()
125 return maximize(ltp); in maximize()
128 private String maximize(LanguageTagParser ltp) { in maximize() argument
129 String language = ltp.getLanguage(); in maximize()
130 String region = ltp.getRegion(); in maximize()
131 String script = ltp.getScript(); in maximize()
132 List<String> variants = ltp.getVariants(); in maximize()
133 Map<String, String> extensions = ltp.getExtensions(); in maximize()
134 Map<String, String> localeExtensions = ltp.getLocaleExtensions(); in maximize()
[all …]
DCheckLangTagBNF.java218 LanguageTagParser ltp = new LanguageTagParser(); in main() local
244 checkParse(ltp, simpleLocaleParser, test); in main()
264 private static void checkParse(LanguageTagParser ltp, SimpleLocaleParser slp, String test) { in checkParse() argument
266 ltp.set(test); in checkParse()
272 String lang = ltp.getLanguage(); in checkParse()
277 checkStrings("script", ltp.getScript(), slp.getScript()); in checkParse()
278 checkStrings("country", ltp.getRegion(), slp.getCountry()); in checkParse()
279 checkStrings("variants", ltp.getVariants(), slp.getVariants()); in checkParse()
281 foo.putAll(ltp.getExtensions()); in checkParse()
282 foo.putAll(ltp.getLocaleExtensions()); in checkParse()
[all …]
DGenerateAliases.java43 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()
106 String partial = ltp.toString(); in addToLikely()
119 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in hasMultipleScripts() local
120 return HAS_MULTIPLE_SCRIPTS.contains(ltp.getLanguage()); in hasMultipleScripts()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestIdentity.java25 LanguageTagParser ltp = new LanguageTagParser(); in TestIdentityVsFilename() local
37 ltp.set(locale); in TestIdentityVsFilename()
38 String fLanguage = ltp.getLanguage(); in TestIdentityVsFilename()
39 String fScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename()
41 String fTerritory = ltp.getRegion().length() > 0 ? ltp in TestIdentityVsFilename()
43 Set<String> fVariants = new HashSet<String>(ltp.getVariants()); in TestIdentityVsFilename()
51 ltp.set(identity); in TestIdentityVsFilename()
52 String iLanguage = ltp.getLanguage(); in TestIdentityVsFilename()
64 String iScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename()
77 String iTerritory = ltp.getRegion().length() > 0 ? ltp in TestIdentityVsFilename()
[all …]
DTestInheritance.java76 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalesHaveOfficial() local
103 String lang = removeScript(ltp.set(locale).getLanguage()); in TestLocalesHaveOfficial()
117 String lang = ltp.set(locale).getLanguage(); in TestLocalesHaveOfficial()
118 if (SKIP_TERRITORIES.contains(ltp.getRegion())) { in TestLocalesHaveOfficial()
200 LanguageTagParser ltp = new LanguageTagParser().set(s); in show() local
201 String script = ltp.getScript(); in show()
206 String region = ltp.getRegion(); in show()
218 ltp.getLanguage(), region); in show()
221 ltp.getLanguageScript(), region); in show()
236 LanguageTagParser ltp = new LanguageTagParser().set(lang); in removeScript() local
[all …]
DLikelySubtagsTest.java60 final LanguageTagParser ltp = new LanguageTagParser(); in Tags() local
62 add(ltp.set(entry.getKey()), true); in Tags()
63 add(ltp.set(entry.getValue()), false); in Tags()
107 void add(LanguageTagParser ltp, boolean source) { in add() argument
108 String sourceLanguage = ltp.getLanguage(); in add()
109 String sourceScript = ltp.getScript(); in add()
110 String sourceRegion = ltp.getRegion(); in add()
128 all.add(ltp.toString()); in add()
130 scriptRegion.add(ltp.toString()); in add()
134 languageScript.add(ltp.toString()); in add()
[all …]
DTestLocale.java81 LanguageTagParser ltp = new LanguageTagParser(); in TestLanguageRegions() local
85 String base = ltp.set(locale).getLanguage(); in TestLanguageRegions()
86 String script = ltp.getScript(); in TestLanguageRegions()
87 String region = ltp.getRegion(); in TestLanguageRegions()
91 ltp.setRegion(""); in TestLanguageRegions()
92 String baseScript = ltp.toString(); in TestLanguageRegions()
100 ltp.setScript(""); in TestLanguageRegions()
101 ltp.setRegion(region); in TestLanguageRegions()
102 String baseRegion = ltp.toString(); in TestLanguageRegions()
183 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalePartsValidity() local
[all …]
/external/ltp/testscripts/
Dltp-aiodio.sh232 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 …]
Dltpdmmapper.sh67 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 …]
Ddiskio.sh30 ${LTPROOT}/bin/ltp-pan -e -l /tmp/diskiopan.log -S -a ltpdiskio -n ltpdiskio -f ${LTPROOT}/runtest/…
33 echo ltp-pan reported PASS
35 echo ltp-pan reported FAIL
/external/ltp/pan/
DMakefile40 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/
DREADME.md9 [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/testcase/tools/configs/disabled_tests.py`: Any test listed here wil…
[all …]
DAndroid.mk19 include $(LOCAL_PATH)/Android.ltp.mk
25 LOCAL_MODULE := ltp
31 LOCAL_MODULE_RELATIVE_PATH := ltp
34 LOCAL_TEST_DATA := $(call find-test-data-in-subdirs,external/ltp,"*",runtest)
/external/libxaac/decoder/
Dixheaacd_channel.c319 ixheaacd_init_ltp_object(&(ptr_ics_info->ltp)); in ixheaacd_ltp_decode()
320 ptr_ics_info->ltp.data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_ltp_decode()
321 if (ptr_ics_info->ltp.data_present) { in ixheaacd_ltp_decode()
323 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ltp_decode()
388 ixheaacd_init_ltp_object(&(ptr_ics_info->ltp)); in ixheaacd_ics_read()
390 if ((ptr_ics_info->ltp.data_present = in ixheaacd_ics_read()
394 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read()
414 if ((ptr_ics_info->ltp.data_present = in ixheaacd_ics_read()
418 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read()
495 ptr_ics_info->ltp.lag; in ixheaacd_individual_ch_stream()
[all …]
/external/ltp/testcases/network/stress/dns/
Ddns-stress.sh88 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.gitignore35 /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
DREADME.md17 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
94 This will install LTP to `/opt/ltp`.
95 * If you have a problem see `doc/mini-howto-building-ltp-from-git.txt`.
110 $ cd /opt/ltp
[all …]
DINSTALL6 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),
91 If you get a build error, please report it to ltp@lists.linux.it with
133 1> tar xzf ltp-XXXXXXXX.tar.gz
134 2> cd ltp
138 6> /opt/ltp/runltp
145 - The installation directory is /opt/ltp by default. Please see
160 2. Untar the ltp tarball into a spare directory. There is not a
181 in the same exact location, i.e. if the client has /root/ltp, then the
182 server must have /root/ltp. This is required because certain tests
[all …]
Dgen.bp421 srcs: ["testcases/kernel/io/ltp-aiodio/aio-stress.c"],
451 srcs: ["testcases/kernel/io/ltp-aiodio/aiocp.c"],
461 srcs: ["testcases/kernel/io/ltp-aiodio/aiodio_append.c"],
471 srcs: ["testcases/kernel/io/ltp-aiodio/aiodio_sparse.c"],
1883 srcs: ["testcases/kernel/io/ltp-aiodio/dio_append.c"],
1893 srcs: ["testcases/kernel/io/ltp-aiodio/dio_sparse.c"],
1903 srcs: ["testcases/kernel/io/ltp-aiodio/dio_truncate.c"],
1993 srcs: ["testcases/kernel/io/ltp-aiodio/dirty.c"],
2277 name: "ltp_epoll-ltp",
2278 stem: "epoll-ltp",
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java159 LanguageTagParser ltp = new LanguageTagParser(); in init() local
165 ltp.set(sourceTarget.getKey()); in init()
166 final String language = ltp.getLanguage(); in init()
167 final String script = ltp.getScript(); in init()
168 final String region = ltp.getRegion(); in init()
170 ltp.set(sourceTarget.getValue()); in init()
171 String languageTarget = ltp.getLanguage(); in init()
172 final String scriptTarget = ltp.getScript(); in init()
173 final String regionTarget = ltp.getRegion(); in init()
430 LanguageTagParser ltp = new LanguageTagParser(); in main()
[all …]
/external/ltp/doc/
Dmini-howto-building-ltp-from-git.txt22 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/ltp/runtest/
Dltp-aiodio.part464 #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
/external/ltp/include/mk/
Dautomake.mk44 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/cldr/tools/java/org/unicode/cldr/util/
DLanguageGroup.java146 LanguageTagParser ltp = new LanguageTagParser().set(iso); in getName() local
147 switch (ltp.getRegion()) { in getName()
149 if (ltp.getLanguage().equals("und")) { in getName()
157 return cldrFile.getName(CLDRFile.TERRITORY_NAME, ltp.getRegion()); in getName()
159 switch (ltp.getScript()) { in getName()
165 throw new IllegalArgumentException("Need to fix code: " + ltp.getScript()); in getName()
167 …return prefix + cldrFile.getName(ltp.getLanguage()).replace(" [Other]", "").replace(" languages", … in getName()
DCoreCoverageInfo.java77 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()
146 ltp.set(max); in getCoreCoverageInfo()
147 maxLangScript = ltp.getLanguageScript(); in getCoreCoverageInfo()
148 script = ltp.getScript(); in getCoreCoverageInfo()
149 if (!script.isEmpty() && !ltp.getRegion().isEmpty()) { in getCoreCoverageInfo()

123456