HomeSort by relevance Sort by last modified time
    Searched defs:source (Results 576 - 600 of 1682) sorted by null

<<21222324252627282930>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
CompoundTransliteratorTest.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
223 private void expect(Transliterator t, String source, String expectedResult) {
224 String result = t.transliterate(source);
225 expectAux(t.getID() + ":String", source, result, expectedResult); local
227 ReplaceableString rsource = new ReplaceableString(source);
230 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); local
238 for (int i=0; i<source.length(); ++i) {
242 log.append(source.charAt(i)).append(" -> ");
244 String.valueOf(source.charAt(i)));
264 private void expectAux(String tag, String source,
    [all...]
  /external/icu/icu4c/source/common/
ucnv_u16.cpp 55 const UChar *source; local
63 source=pArgs->source;
64 length=(int32_t)(pArgs->sourceLimit-source);
95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
97 ++source;
128 c=*source++;
133 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
134 ++source;
148 c=*source++
259 const uint8_t *source; local
656 const UChar *source; local
860 const uint8_t *source; local
1343 const char *source=pArgs->source; local
    [all...]
ucnv_u32.cpp 50 const unsigned char *mySource = (unsigned char *) args->source;
122 args->source = (const char *) mySource;
129 const unsigned char *mySource = (unsigned char *) args->source;
208 args->source = (const char *) mySource;
216 const UChar *mySource = args->source;
270 /* ran out of source */
310 args->source = mySource;
317 const UChar *mySource = args->source;
374 /* ran out of source */
416 args->source = mySource
1052 const char *source=pArgs->source; local
    [all...]
ucnv_u7.cpp 214 const uint8_t *source, *sourceLimit; local
237 source=(const uint8_t *)pArgs->source;
267 length=(int32_t)(sourceLimit-source);
273 b=*source++;
297 if(source<sourceLimit && target>=targetLimit) {
309 * base64 bytes, while nextSourceIndex is precisely parallel to source,
313 while(source<sourceLimit) {
315 bytes[byteIndex++]=b=*source++;
336 --source;
465 const UChar *source, *sourceLimit; local
898 const uint8_t *source, *sourceLimit; local
1166 const UChar *source, *sourceLimit; local
    [all...]
ucnv_u8.cpp 69 const unsigned char *mySource = (unsigned char *) args->source;
178 args->source = (const char *) mySource;
185 const unsigned char *mySource = (unsigned char *) args->source;
295 args->source = (const char *) mySource;
304 const UChar *mySource = args->source;
411 args->source = mySource;
418 const UChar *mySource = args->source;
549 args->source = mySource;
558 const uint8_t *source; local
566 sourceInitial = source = (const uint8_t *)args->source
655 const uint8_t *source, *sourceLimit; local
    [all...]
  /external/icu/icu4c/source/i18n/
anytrans.cpp 39 // (will grow as necessary, but we don't expect to have source text with more than 7 scripts)
280 Transliterator* AnyTransliterator::getTransliterator(UScriptCode source) const {
282 if (source == targetScript || source == USCRIPT_INVALID_CODE) {
289 t = (Transliterator*) uhash_iget(cache, (int32_t) source);
293 UnicodeString sourceName(uscript_getShortName(source), -1, US_INV);
315 rt = static_cast<Transliterator *> (uhash_iget(cache, (int32_t) source));
318 uhash_iput(cache, (int32_t) source, t, &ec);
365 UnicodeString source; local
366 Transliterator::_getAvailableSource(s, source);
    [all...]
  /external/icu/icu4c/source/test/cintltst/
spreptst.c 472 const char* source = "OWNER@oss.software.ibm.com"; local
478 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status);
501 const char *source = "\\uC138\\uACC4\\uC758\\uBAA8\\uB4E0\\uC0AC\\uB78C\\uB4E4\\uC774\\u0644\\u064A\\u0647\\uD55C\\uAD6D\\uC5B4\\uB97C\\uC774\\uD574\\uD55C\\uB2E4\\uBA74"; local
505 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status);
524 const char *source = "www.\\u00E0\\u00B3\\u00AF.com"; local
528 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status);
547 const char *source = "THISISATEST" local
570 const char *source = "THISISATEST"; local
    [all...]
  /external/icu/icu4c/source/test/intltest/
idnaconf.cpp 62 char * source = NULL; local
95 source = new char[source_len];
97 if (fread(source, 1, source_len, f) != source_len) {
99 delete [] source;
110 source,
118 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status);
124 delete [] source;
129 delete [] source;
154 * character are joined with the next line in the source file forming logical
itercoll.cpp 52 UnicodeString source; local
56 source.remove();
61 source += codepoint;
66 source += codepoint;
71 iter = en_us->createCollationElementIterator(source);
94 UnicodeString source; local
106 source = "abchdcba";
107 iter = c1->createCollationElementIterator(source);
123 source = "abcd";
124 iter = c2->createCollationElementIterator(source);
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
pkg_gencmn.cpp 101 addFile(const char *filename, const char *name, const char *source, UBool sourceTOC, UBool verbose);
112 pathToFullPath(const char *path, const char *source);
120 createCommonDataFile(const char *destDir, const char *name, const char *entrypointName, const char *type, const char *source, const char *copyRight,
149 if (source == NULL) {
150 source = ".";
165 printf("generating %s_%s.c (table of contents source file)\n", name, type);
207 addFile(getLongPathname(line), name, source, sourceTOC, verbose); local
310 /* write a .c source file with the table of contents */
340 /* write the source file */
344 " * Automatically generated by icu/source/tools/gencmn/gencmn .\n
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetASCII.java 40 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets,
42 if (!source.hasRemaining()) {
52 int oldSource = source.position();
55 if (source.hasArray() && target.hasArray()) {
62 byte[] sourceArray = source.array();
63 int sourceOffset = source.arrayOffset();
65 int sourceLength = source.limit() - oldSource;
80 cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit);
83 source.position(oldSource + sourceLength);
87 source.position(oldSource + targetLength)
    [all...]
CharsetDecoderICU.java 61 public CoderResult call(CharsetDecoderICU decoder, Object context, ByteBuffer source,
64 return onUnmappableCharacter.call(decoder, context, source, target, offsets, buffer,
67 return onMalformedInput.call(decoder, context, source, target, offsets, buffer,
70 // return CharsetCallback.TO_U_CALLBACK_STOP.call(decoder, context, source, target, offsets, buffer, length, cr);
274 * @param source The input byte buffer
282 final CoderResult decode(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
285 if (target == null || source == null) {
297 * not be able to maintain the semantics that either the source must be
330 offsets.put(-1); /* no source index available for old output */
338 if (!flush && !source.hasRemaining() && toULength == 0 && preToULength >= 0)
    [all...]
CharsetHZ.java 68 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
74 if (!source.hasRemaining())
79 while (source.hasRemaining()) {
84 mySourceChar = source.get() & 0xff;
95 offsets.put(source.position() - 2);
128 source.position(source.position() - 1);
173 source.position(source.position() - 1);
197 offsets.put(source.position() - 1 - (isStateDBCS ? 1 : 0))
    [all...]
CharsetUTF16.java 98 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
106 if (!source.hasRemaining())
109 toUBytesArray[toULength++] = source.get();
159 CoderResult cr = decodeTrail(source, target, offsets, (char) toUnicodeStatus);
168 if (!source.hasRemaining())
170 toUBytesArray[toULength++] = source.get();
191 CoderResult cr = decodeTrail(source, target, offsets, char16);
198 private final CoderResult decodeTrail(ByteBuffer source, CharBuffer target, IntBuffer offsets, char lead) {
206 if (!source.hasRemaining()) {
211 toUBytesArray[toULength++] = source.get()
    [all...]
CharsetUTF7.java 188 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
202 int sourceArrayIndex=source.position();
228 length=source.remaining();
230 //Commented out because length of source may be larger than target when it comes to bytes
235 b=(char)(source.get());
265 if (source.hasRemaining() && target.position() >= target.limit()) {
277 * base64 bytes, while nextSourceIndex is precisely parallel to source,
280 while(source.hasRemaining()) {
282 b=(char)source.get();
305 source.position(source.position() -1)
    [all...]
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
AnyTransliterator.java 33 * instantiating a transliterator from the source script to the
167 * Returns a transliterator from the given source to our target or
168 * target/variant. Returns NULL if the source is the same as our
169 * target script, or if the source is USCRIPT_INVALID_CODE.
174 private Transliterator getTransliterator(int source) {
175 if (source == targetScript || source == UScript.INVALID_CODE) {
183 Integer key = Integer.valueOf(source);
186 String sourceName = UScript.getName(source);
238 String source = s.nextElement() local
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationFrozenMonkeyTest.java 12 * Source File: $ICU4CRoot/source/test/intltest/mnkytst.cpp
39 private String source = "-abcdefghijklmnopqrstuvwxyz#&^$@"; field in class:CollationFrozenMonkeyTest
43 if(source.length() == 0) {
44 errln("CollationMonkeyTest.TestCollationKey(): source is empty - ICU_DATA not set or data missing?");
71 int s = rand.nextInt(0x7fff) % source.length();
72 int t = rand.nextInt(0x7fff) % source.length();
73 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length()
    [all...]
CollationMonkeyTest.java 12 * Source File: $ICU4CRoot/source/test/intltest/mnkytst.cpp
39 private String source = "-abcdefghijklmnopqrstuvwxyz#&^$@"; field in class:CollationMonkeyTest
43 if(source.length() == 0) {
44 errln("CollationMonkeyTest.TestCollationKey(): source is empty - ICU_DATA not set or data missing?");
56 int s = rand.nextInt(0x7fff) % source.length();
57 int t = rand.nextInt(0x7fff) % source.length();
58 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length()
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
ArabicShapingRegTest.java 74 * public int shape(char[] source, int sourceStart, int sourceLength,
80 // if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length)
83 char[] source = {'d','u','m','m','y'}; local
91 as.shape(source, negNum[i], 0, dest, 0, 0);
98 as.shape(source, 0, negNum[i], dest, 0, 0);
104 // Checks when "sourceStart + sourceLength > source.length"
106 as.shape(source, 3, 3, dest, 0, 0);
108 "suppose to return an exception when 'sourceStart + sourceLength > source.length'.");
111 as.shape(source, 2, 4, dest, 0, 0);
113 "suppose to return an exception when 'sourceStart + sourceLength > source.length'.")
    [all...]
DataDrivenArabicShapingRegTest.java 52 private String source; field in class:DataDrivenArabicShapingRegTest.StandardDataTest
56 public StandardDataTest(String source, int flags, String expected) {
57 this.source = source;
316 actual = shaper.shape(source);
330 err("Error: Shaper " + shaper + "\n throws exception '" + ex + "'\n for input '" + source);
333 buf.append("Error: Shaper: " + shaper + "\n Input: " + source + "\n Actual: " + actual +
382 private String source;
386 public PreflightDataTest(String source, int flags, int length) {
387 this.source = source
    [all...]
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
CompoundTransliteratorTest.java 220 private void expect(Transliterator t, String source, String expectedResult) {
221 String result = t.transliterate(source);
222 expectAux(t.getID() + ":String", source, result, expectedResult); local
224 ReplaceableString rsource = new ReplaceableString(source);
227 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); local
235 for (int i=0; i<source.length(); ++i) {
239 log.append(source.charAt(i)).append(" -> ");
241 String.valueOf(source.charAt(i)));
261 private void expectAux(String tag, String source,
263 expectAux(tag, source + " -> " + result
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
UnicodeSetClosure.java 200 String source = UTF16.valueOf(cp); local
201 String result = source;
205 if (result.equals(source)) return null;
    [all...]
  /external/ipsec-tools/
setup.c 2 * Copyright (C) 2011 The Android Open Source Project
63 static struct sockaddr *source; variable in typeref:struct:sockaddr
131 source = getlocaladdr(targets[0]);
132 if (!source) {
137 set_port(source, 0);
139 myaddrs[0].addr = dupsaddr(source);
271 /* Also use the source address to filter policies. */
467 spdadd(source, targets[0], IPPROTO_UDP, NULL, NULL);
473 spdadd(source, targets[0], IPPROTO_UDP, NULL, NULL);
548 isakmp_ph1begin_i(remoteconf, remoteconf->remote, source);
    [all...]
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
prettify.js 23 * file that came with this source. At a minimum, the lexer should work on a
30 * <li> include this source file in an html page via
33 * <li> mark the {@code <pre>} and {@code <code>} tags in your source with
164 /** token style for embedded source. */
363 } else if (/[a-z]/i.test(regex.source.replace(
478 var parts = regex.source.match(
672 * @return {Object} source code and extracted tags.
734 return { source: sourceBuf.join(''), tags: extractedTags };
750 * @param {number} basePos the index of sourceCode within the chunk of source
756 source: sourceCode
755 var job = { property in class:appendDecorations.job
    [all...]
  /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
MethodCallExprContext.java 221 private void inferTypes(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) {
222 if (source.equals(target)) {
225 if (source.isReferenceType() && target.isReferenceType()) {
226 ResolvedReferenceType sourceRefType = source.asReferenceType();
237 if (source.isReferenceType() && target.isWildcard()) {
239 inferTypes(source, target.asWildcard().getBoundedType(), mappings);
244 if (source.isWildcard() && target.isWildcard()) {
245 if (source.asWildcard().isBounded() && target.asWildcard().isBounded()){
246 inferTypes(source.asWildcard().getBoundedType(), target.asWildcard().getBoundedType(), mappings);
250 if (source.isReferenceType() && target.isTypeVariable())
251 mappings.put(target.asTypeParameter(), source); local
255 mappings.put(target.asTypeParameter(), source); local
266 mappings.put(target.asTypeParameter(), source); local
286 mappings.put(target.asTypeParameter(), source); local
    [all...]

Completed in 1310 milliseconds

<<21222324252627282930>>