Home
last modified time | relevance | path

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

1234567

/external/cldr/tools/java/org/unicode/cldr/tool/
DLikelySubtags.java124 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 …]
DCheckLangTagBNF.java227 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 …]
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()
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/
DTestIdentity.java25 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 …]
DTestInheritance.java77 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 …]
DTestLocale.java59 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 …]
DLikelySubtagsTest.java61 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/
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 …]
/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/configs/disabled_tests.py`: Any test listed here will not be run in…
[all …]
DAndroid.mk19 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/
Dixheaacd_channel.c318 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/
Ddns-stress88 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
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 …]
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),
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/
Dltp-howto.txt157 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 …]
Dltp-howto.lyx256 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 …]
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/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java157 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/
DLanguageGroup.java141 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()
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()
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/
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/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

1234567