Searched defs:target (Results 451 - 475 of 2230) sorted by relevance

<<11121314151617181920>>

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DCollationGermanTest.java134 private void doTest(char[] source, char[] target, int result){ argument
136 String t = new String(target);
146 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
171 logln(msg1 + source + msg2 + target + msg3 + sResult);
173 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
181 logln(msg1 + source + msg2 + target + msg3 + sResult);
183 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
196 logln(msg1 + source + msg2 + target + msg3 + sResult);
198 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationMonkeyTest.java239 void doTest(RuleBasedCollator myCollation, String mysource, String target, int result) { argument
240 int compareResult = myCollation.compare(source, target);
245 sortKey2 = myCollation.getCollationKey(target);
251 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
254 public void reportCResult(String src, String target, CollationKey sourceKey, CollationKey targetKey, argument
275 logln(msg1 + src + msg2 + target + msg3 + sResult);
277 errln(msg1 + src + msg2 + target + msg3 + sResult + msg4 + sExpect);
284 logln(msg1 + src + msg2 + target + msg3 + sResult);
286 errln(msg1 + src + msg2 + target + msg3 + sResult + msg4 + sExpect);
296 logln(msg1 + src + msg2 + target
[all...]
H A DCollationSpanishTest.java101 private void doTest(char[] source, char[] target, int result) { argument
103 String t = new String(target);
112 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
136 logln(msg1 + source + msg2 + target + msg3 + sResult);
138 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
146 logln(msg1 + source + msg2 + target + msg3 + sResult);
148 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
161 logln(msg1 + source + msg2 + target + msg3 + sResult);
163 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationTurkishTest.java107 private void doTest(char[] source, char[] target, int result) { argument
109 String t = new String(target);
119 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
143 logln(msg1 + source + msg2 + target + msg3 + sResult);
145 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
153 logln(msg1 + source + msg2 + target + msg3 + sResult);
155 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
168 logln(msg1 + source + msg2 + target + msg3 + sResult);
170 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DG7CollationTest.java211 private void doTest(Collator myCollation, String source, String target, argument
214 int compareResult = myCollation.compare(source, target);
217 sortKey2 = myCollation.getCollationKey(target);
219 reportCResult(source, target, sortKey1, sortKey2, compareResult,
223 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
247 logln(msg1 + source + msg2 + target + msg3 + sResult);
250 logln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
259 logln(msg1 + source + msg2 + target + msg3 + sResult);
262 logln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
278 logln(msg1 + source + msg2 + target
[all...]
H A DLotusCollationKoreanTest.java67 private void doTest( char[] source, char[] target, int result) { argument
69 String t = new String(target);
78 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
102 logln(msg1 + source + msg2 + target + msg3 + sResult);
104 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
112 logln(msg1 + source + msg2 + target + msg3 + sResult);
114 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
127 logln(msg1 + source + msg2 + target + msg3 + sResult);
129 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
H A DUnicodeNormalizer.java55 * replacing contents of the target buffer.
57 * @param target the resulting normalized text
59 public StringBuffer normalize(String source, StringBuffer target) { argument
61 // First decompose the source into target,
65 internalDecompose(source, target);
67 internalCompose(target);
70 return target;
76 * @return target the resulting normalized text
93 * replacing contents of the target buffer.
99 * @param target th
101 internalDecompose(String source, StringBuffer target) argument
141 internalCompose(StringBuffer target) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
H A DNFS4StringPrep.java105 private static final int findStringIndex(String[] sortedArr,String target){ argument
114 rc= sortedArr[middle].compareTo(target);
/external/icu/icu4c/source/common/unicode/
H A Ducnv_err.h200 char *target; /**< Pointer to the target buffer. @stable ICU 2.0 */ member in struct:__anon7989
201 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */
216 UChar *target; /**< Pointer to the target buffer. @stable ICU 2.0 */ member in struct:__anon7990
217 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */
/external/icu/icu4c/source/common/
H A Dustr_cnv.cpp135 UChar *target = ucs1; local
141 &target,
153 if(target < (ucs1+n)) { /* U_BUFFER_OVERFLOW_ERROR isn't an err, just means no termination will happen. */
154 *target = 0; /* terminate */
207 char *target = s1; local
213 &target,
225 if(target < (s1+n)) { /* U_BUFFER_OVERFLOW_ERROR isn't an err, just means no termination will happen. */
226 *target = 0; /* terminate */
/external/icu/icu4c/source/samples/numfmt/
H A Dutil.cpp35 // Append a hex string to the target
38 UnicodeString& target) {
42 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit);
44 return target;
50 UnicodeString target; local
51 target += (UChar)U_DQUOTE;
55 (target += (UChar)U_BACKSLASH) += (UChar)U_SMALL_U;
56 appendHex(ch, 4, target);
58 target += ch;
61 target
36 appendHex(uint32_t number, int8_t digits, UnicodeString& target) argument
[all...]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharset88591.java31 protected CoderResult decodeLoopCoreOptimized(ByteBuffer source, CharBuffer target, argument
35 * perform 88591 conversion from the source array to the target array. no range check is
45 protected CoderResult decodeLoopCoreUnoptimized(ByteBuffer source, CharBuffer target) { argument
48 * perform 88591 conversion from the source buffer to the target buffer. no range check
53 if (target.hasRemaining()) {
54 target.put((char) (ch & 0xff));
70 protected final CoderResult encodeLoopCoreOptimized(CharBuffer source, ByteBuffer target, argument
76 * perform 88591 conversion from the source array to the target array, making sure each
90 * encodeMalformedOrUnmappable and move the source and target positions to reflect the
95 target
102 encodeLoopCoreUnoptimized(CharBuffer source, ByteBuffer target, boolean flush) argument
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCollatorICU.java55 public int compare(String source, String target) { argument
56 return fIcuCollator.compare(source, target);
68 public boolean equals(String source, String target) { argument
69 return fIcuCollator.equals(source, target);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationEnglishTest.java329 private void doTest(char[] source, char[] target, int result){ argument
332 String t = new String(target);
342 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
367 logln(msg1 + source + msg2 + target + msg3 + sResult);
369 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
377 logln(msg1 + source + msg2 + target + msg3 + sResult);
379 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
392 logln(msg1 + source + msg2 + target + msg3 + sResult);
394 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationFinnishTest.java86 private void doTest(char[] source, char[] target, int result) { argument
88 String t = new String(target);
97 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
121 logln(msg1 + source + msg2 + target + msg3 + sResult);
123 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
131 logln(msg1 + source + msg2 + target + msg3 + sResult);
133 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
146 logln(msg1 + source + msg2 + target + msg3 + sResult);
148 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationFrenchTest.java197 private void doTest(char[] source, char[] target, int result) { argument
199 String t = new String(target);
208 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
232 logln(msg1 + source + msg2 + target + msg3 + sResult);
234 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
242 logln(msg1 + source + msg2 + target + msg3 + sResult);
244 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
257 logln(msg1 + source + msg2 + target + msg3 + sResult);
259 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationFrozenMonkeyTest.java261 void doTest(RuleBasedCollator myCollation, String mysource, String target, int result) { argument
262 int compareResult = myCollation.compare(source, target);
267 sortKey2 = myCollation.getCollationKey(target);
273 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
276 public void reportCResult(String src, String target, CollationKey sourceKey, CollationKey targetKey, argument
297 logln(msg1 + src + msg2 + target + msg3 + sResult);
299 errln(msg1 + src + msg2 + target + msg3 + sResult + msg4 + sExpect);
306 logln(msg1 + src + msg2 + target + msg3 + sResult);
308 errln(msg1 + src + msg2 + target + msg3 + sResult + msg4 + sExpect);
318 logln(msg1 + src + msg2 + target
[all...]
H A DCollationGermanTest.java131 private void doTest(char[] source, char[] target, int result){ argument
133 String t = new String(target);
143 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
168 logln(msg1 + source + msg2 + target + msg3 + sResult);
170 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
178 logln(msg1 + source + msg2 + target + msg3 + sResult);
180 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
193 logln(msg1 + source + msg2 + target + msg3 + sResult);
195 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationMonkeyTest.java236 void doTest(RuleBasedCollator myCollation, String mysource, String target, int result) { argument
237 int compareResult = myCollation.compare(source, target);
242 sortKey2 = myCollation.getCollationKey(target);
248 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
251 public void reportCResult(String src, String target, CollationKey sourceKey, CollationKey targetKey, argument
272 logln(msg1 + src + msg2 + target + msg3 + sResult);
274 errln(msg1 + src + msg2 + target + msg3 + sResult + msg4 + sExpect);
281 logln(msg1 + src + msg2 + target + msg3 + sResult);
283 errln(msg1 + src + msg2 + target + msg3 + sResult + msg4 + sExpect);
293 logln(msg1 + src + msg2 + target
[all...]
H A DCollationSpanishTest.java98 private void doTest(char[] source, char[] target, int result) { argument
100 String t = new String(target);
109 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
133 logln(msg1 + source + msg2 + target + msg3 + sResult);
135 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
143 logln(msg1 + source + msg2 + target + msg3 + sResult);
145 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
158 logln(msg1 + source + msg2 + target + msg3 + sResult);
160 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DCollationTurkishTest.java104 private void doTest(char[] source, char[] target, int result) { argument
106 String t = new String(target);
116 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
140 logln(msg1 + source + msg2 + target + msg3 + sResult);
142 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
150 logln(msg1 + source + msg2 + target + msg3 + sResult);
152 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
165 logln(msg1 + source + msg2 + target + msg3 + sResult);
167 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
H A DG7CollationTest.java208 private void doTest(Collator myCollation, String source, String target, argument
211 int compareResult = myCollation.compare(source, target);
214 sortKey2 = myCollation.getCollationKey(target);
216 reportCResult(source, target, sortKey1, sortKey2, compareResult,
220 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
244 logln(msg1 + source + msg2 + target + msg3 + sResult);
247 logln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
256 logln(msg1 + source + msg2 + target + msg3 + sResult);
259 logln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
275 logln(msg1 + source + msg2 + target
[all...]
H A DLotusCollationKoreanTest.java64 private void doTest( char[] source, char[] target, int result) { argument
66 String t = new String(target);
75 private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, argument
99 logln(msg1 + source + msg2 + target + msg3 + sResult);
101 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
109 logln(msg1 + source + msg2 + target + msg3 + sResult);
111 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
124 logln(msg1 + source + msg2 + target + msg3 + sResult);
126 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DUnicodeNormalizer.java52 * replacing contents of the target buffer.
54 * @param target the resulting normalized text
56 public StringBuffer normalize(String source, StringBuffer target) { argument
58 // First decompose the source into target,
62 internalDecompose(source, target);
64 internalCompose(target);
67 return target;
73 * @return target the resulting normalized text
90 * replacing contents of the target buffer.
96 * @param target th
98 internalDecompose(String source, StringBuffer target) argument
138 internalCompose(StringBuffer target) argument
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DNFS4StringPrep.java102 private static final int findStringIndex(String[] sortedArr,String target){ argument
111 rc= sortedArr[middle].compareTo(target);

Completed in 501 milliseconds

<<11121314151617181920>>