/external/icu4c/i18n/ |
ucol.cpp | 288 * its source string. 331 * its source string. 335 inline UBool collIter_bos(collIterate *source) { 338 if(source->flags & UCOL_USE_ITERATOR || source->origFlags & UCOL_USE_ITERATOR) { 339 return !source->iterator->hasPrevious(source->iterator); 341 if (source->pos <= source->string || 342 ((source->flags & UCOL_ITER_INNORMBUF) & 7281 const UChar *source = NULL; local [all...] |
transreg.h | 285 * Return the number of registered source specifiers. 286 * @return the number of registered source specifiers. 291 * Return a registered source specifier. 294 * @param result fill-in paramter to receive the source specifier. 303 * source specifier. 304 * @param source the given source specifier. 306 * source specifier. 308 int32_t countAvailableTargets(const UnicodeString& source) const; 311 * Return a registered target specifier for a given source [all...] |
/external/chromium/third_party/icu/source/common/ |
ucnvbocu.c | 388 const UChar *source, *sourceLimit; local 401 source=pArgs->source; 425 /* use only one loop counter variable, targetCapacity, not also source */ 426 diff=(int32_t)(sourceLimit-source); 430 while(targetCapacity>0 && (c=*source)<0x3000) { 437 ++source; 445 ++source; 457 while(source<sourceLimit) { 459 c=*source++ 642 const UChar *source, *sourceLimit; local 937 const uint8_t *source, *sourceLimit; local 1160 const uint8_t *source, *sourceLimit; local [all...] |
ucnv_u32.c | 47 const unsigned char *mySource = (unsigned char *) args->source; 119 args->source = (const char *) mySource; 126 const unsigned char *mySource = (unsigned char *) args->source; 205 args->source = (const char *) mySource; 213 const UChar *mySource = args->source; 267 /* ran out of source */ 307 args->source = mySource; 314 const UChar *mySource = args->source; 371 /* ran out of source */ 413 args->source = mySource 1047 const char *source=pArgs->source; local [all...] |
/external/icu4c/common/ |
ucnvbocu.c | 388 const UChar *source, *sourceLimit; local 401 source=pArgs->source; 425 /* use only one loop counter variable, targetCapacity, not also source */ 426 diff=(int32_t)(sourceLimit-source); 430 while(targetCapacity>0 && (c=*source)<0x3000) { 437 ++source; 445 ++source; 457 while(source<sourceLimit) { 459 c=*source++ 642 const UChar *source, *sourceLimit; local 937 const uint8_t *source, *sourceLimit; local 1160 const uint8_t *source, *sourceLimit; local [all...] |
/external/chromium/googleurl/src/ |
url_canon_internal.cc | 4 // Redistribution and use in source and binary forms, with or without 8 // * Redistributions of source code must retain the above copyright 42 void DoAppendStringOfType(const CHAR* source, int length, 46 if (static_cast<UCHAR>(source[i]) >= 0x80) { 50 ReadUTFChar(source, &i, length, &code_point); 54 unsigned char uch = static_cast<unsigned char>(source[i]); 86 // what the various combionations of source pointer and component mean. 260 void AppendStringOfType(const char* source, int length, 263 DoAppendStringOfType<char, unsigned char>(source, length, type, output); 266 void AppendStringOfType(const char16* source, int length [all...] |
url_canon_internal_file.h | 4 // Redistribution and use in source and binary forms, with or without 8 // * Redistributions of source code must retain the above copyright 104 static bool DoCanonicalizeFileURL(const URLComponentSource<CHAR>& source, 133 source.host, parsed.host, output, &new_parsed->host); 141 int after_drive = FileDoDriveSpec(source.path, parsed.path.begin, 145 FileDoPath<CHAR, UCHAR>(source.path, after_drive, parsed.path.end(), output); 150 source.query, parsed.query, output, &new_parsed->query); 152 source.ref, parsed.ref, output, &new_parsed->ref);
|
/external/libvpx/vpx_scale/generic/ |
gen_scalers.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 22 * INPUTS : const unsigned char *source : Pointer to source data. 23 * unsigned int source_width : Stride of source. 31 * FUNCTION : Copies horizontal line of pixels from source to 39 const unsigned char *source, 48 const unsigned char *src = source; 177 * INPUTS : const unsigned char *source : Pointer to source data [all...] |
yv12extend.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 59 // Now copy the top and bottom source lines into each line of the respective borders 98 // Now copy the top and bottom source lines into each line of the respective borders 132 // Now copy the top and bottom source lines into each line of the respective borders 184 // Now copy the top and bottom source lines into each line of the respective borders 217 * FUNCTION : Copies the source image into the destination image and 227 unsigned char *source, *dest; local 229 source = src_ybc->y_buffer 266 unsigned char *source, *dest; local [all...] |
/external/bluetooth/glib/tests/ |
mainloop-test.c | 101 adder_callback (GIOChannel *source, 112 if (!read_all (source, buf1, 32) || 113 !read_all (source, buf2, 32)) 227 adder_response (GIOChannel *source, 234 if (!read_all (source, result, 32)) 249 g_io_channel_unref (source); 318 GSource *source = data; local 322 if (!g_ptr_array_remove_fast (crawler_array, source)) 337 GSource *source = g_timeout_source_new (g_random_int_range (0, CRAWLER_TIMEOUT_RANGE)); local 338 g_source_set_callback (source, (GSourceFunc)crawler_callback, source, NULL) 384 GSource *source; local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
mnkytst.cpp | 31 : source("-abcdefghijklmnopqrstuvwxyz#&^$@", ""), 74 if(source.length() == 0) { 75 errln(UNICODE_STRING("CollationMonkeyTest::TestCollationKey(): source is empty - ICU_DATA not set or data missing?", 92)); 80 int32_t s = checkValue(rand() % source.length()); 81 int32_t t = checkValue(rand() % source.length()); 82 int32_t slen = checkValue((rand() - source.length()) % source.length()); 83 int32_t tlen = checkValue((rand() - source.length()) % source.length()); 86 source.extract(MIN(s, slen), MAX(s, slen), subs) [all...] |
tscoll.cpp | 103 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &status) { 114 uiter_setString(&sIter, source, sLen); 137 IntlTestCollator::doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result) 143 Collator::EComparisonResult compareResult = col->compare(source, target); 146 col->getCollationKey(source, srckey, status); 153 reportCResult(source, target, srckey, tgtkey, compareResult, keyResult, result, result); 157 int32_t sLen = source.length(), tLen = target.length(); 158 const UChar* src = source.getBuffer(); 168 errln("Different result for iterative comparison "+source+" "+target); 183 /*log_verbose("Strings converted to UTF-8:%s, %s\n", aescstrdup(source,-1), aescstrdup(target,-1));* [all...] |
/external/icu4c/test/intltest/ |
mnkytst.cpp | 31 : source("-abcdefghijklmnopqrstuvwxyz#&^$@", ""), 74 if(source.length() == 0) { 75 errln(UNICODE_STRING("CollationMonkeyTest::TestCollationKey(): source is empty - ICU_DATA not set or data missing?", 92)); 80 int32_t s = checkValue(rand() % source.length()); 81 int32_t t = checkValue(rand() % source.length()); 82 int32_t slen = checkValue((rand() - source.length()) % source.length()); 83 int32_t tlen = checkValue((rand() - source.length()) % source.length()); 86 source.extract(MIN(s, slen), MAX(s, slen), subs) [all...] |
tscoll.cpp | 106 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &status) { 117 uiter_setString(&sIter, source, sLen); 140 IntlTestCollator::doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result) 146 Collator::EComparisonResult compareResult = col->compare(source, target); 149 col->getCollationKey(source, srckey, status); 156 reportCResult(source, target, srckey, tgtkey, compareResult, keyResult, result, result); 160 int32_t sLen = source.length(), tLen = target.length(); 161 const UChar* src = source.getBuffer(); 171 errln("Different result for iterative comparison "+source+" "+target); 186 /*log_verbose("Strings converted to UTF-8:%s, %s\n", aescstrdup(source,-1), aescstrdup(target,-1));* [all...] |
/external/skia/src/core/ |
SkSpriteBlitter_ARGB32.cpp | 3 ** Copyright 2006, The Android Open Source Project 73 Sprite_D32_XferFilter(const SkBitmap& source, const SkPaint& paint) 74 : SkSpriteBlitter(source) { 88 if (!source.isOpaque()) { 130 Sprite_D32_S32A_XferFilter(const SkBitmap& source, const SkPaint& paint) 131 : Sprite_D32_XferFilter(source, paint) {} 177 Sprite_D32_S4444_XferFilter(const SkBitmap& source, const SkPaint& paint) 178 : Sprite_D32_XferFilter(source, paint) {} 225 Sprite_D32_S4444_Opaque(const SkBitmap& source) : SkSpriteBlitter(source) {} [all...] |
/external/chromium/third_party/icu/source/i18n/ |
ucol_tok.cpp | 43 int32_t len = (key->source & 0xFF000000)>>24; 47 const UChar *p = (key->source & 0x00FFFFFF) + key->rulesToParse; 65 const UChar *s1 = (p1->source & 0x00FFFFFF) + p1->rulesToParse; 66 const UChar *s2 = (p2->source & 0x00FFFFFF) + p2->rulesToParse; 67 uint32_t s1L = ((p1->source & 0xFF000000) >> 24); 68 uint32_t s2L = ((p2->source & 0xFF000000) >> 24); 74 if (p1->source == 0 || p2->source == 0) { 80 if(p1->source == p2->source) { [all...] |
transreg.h | 285 * Return the number of registered source specifiers. 286 * @return the number of registered source specifiers. 291 * Return a registered source specifier. 294 * @param result fill-in paramter to receive the source specifier. 303 * source specifier. 304 * @param source the given source specifier. 306 * source specifier. 308 int32_t countAvailableTargets(const UnicodeString& source) const; 311 * Return a registered target specifier for a given source [all...] |
tztrans.cpp | 27 TimeZoneTransition::TimeZoneTransition(const TimeZoneTransition& source) 28 : UObject(), fTime(source.fTime), fFrom(NULL), fTo(NULL) { 29 if (source.fFrom != NULL) { 30 fFrom = source.fFrom->clone(); 33 if (source.fTo != NULL) { 34 fTo = source.fTo->clone();
|
/external/chromium/third_party/icu/source/test/cintltst/ |
ccurrtst.c | 102 UChar source[2], target[2]; local 124 u_strcpy(source, currency[i]); 140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target)); 144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0); 146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1); 157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
|
/external/icu4c/common/unicode/ |
normlzr.h | 205 * @param source the input string to be normalized. 212 static void U_EXPORT2 normalize(const UnicodeString& source, 225 * @param source the string to be composed. 234 static void U_EXPORT2 compose(const UnicodeString& source, 247 * @param source the string to be decomposed. 256 static void U_EXPORT2 decompose(const UnicodeString& source, 273 * @param source string for determining if it is in a normalized format 282 quickCheck(const UnicodeString &source, UNormalizationMode mode, UErrorCode &status); 288 * @param source string for determining if it is in a normalized format 298 quickCheck(const UnicodeString &source, UNormalizationMode mode, int32_t options, UErrorCode &status) [all...] |
/external/icu4c/test/cintltst/ |
ccurrtst.c | 102 UChar source[2], target[2]; local 124 u_strcpy(source, currency[i]); 140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target)); 144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0); 146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1); 157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
|
/external/webkit/WebCore/platform/graphics/gtk/ |
ImageGtk.cpp | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 151 unsigned char* source = getCairoSurfacePixel(surfaceData, x, y, surfaceRowStride); local 155 guchar alpha = source[3]; 156 dest[0] = alpha ? ((source[2] * 255) / alpha) : 0; 157 dest[1] = alpha ? ((source[1] * 255) / alpha) : 0; 158 dest[2] = alpha ? ((source[0] * 255) / alpha) : 0; 161 guchar alpha = source[0]; 162 dest[0] = alpha ? ((source[1] * 255) / alpha) : 0; 163 dest[1] = alpha ? ((source[2] * 255) / alpha) : 0 [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 2 * Copyright (C) 2009 The Android Open Source Project 175 * @param source original bitmap source 180 Bitmap source, int width, int height) { 181 return extractThumbnail(source, width, height, OPTIONS_NONE); 187 * @param source original bitmap source 193 Bitmap source, int width, int height, int options) { 194 if (source == null) { 199 if (source.getWidth() < source.getHeight()) [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
NativeAllocationInfo.java | 2 * Copyright (C) 2007 The Android Open Source Project 214 NativeStackCallInfo source = sourceIterator.next(); local 218 if (source.getLineNumber() != -1) { 220 source.getLibraryName(), source.getMethodName(), 221 source.getSourceFile(), source.getLineNumber())); 224 source.getLibraryName(), source.getMethodName(), source.getSourceFile())) [all...] |
/libcore/luni/src/main/java/org/apache/xalan/processor/ |
ProcessorInclude.java | 26 import javax.xml.transform.Source; 134 // Get the Source from the user's URIResolver (if any). 135 Source sourceFromURIResolver = getSourceFromUriResolver(handler); 146 // Push the system ID and corresponding Source 198 Source source = null; local 210 // have tried to obtain a Source from it 212 source = handler.peekSourceFromURIResolver(); 214 if (null != source && source instanceof DOMSource [all...] |