| /external/dbus/dbus/ | 
| dbus-string.c | 643  * may corrupt the source string. [all...]
 | 
| /frameworks/base/core/java/android/text/ | 
| StaticLayout.java | 2  * Copyright (C) 2006 The Android Open Source Project 41     public StaticLayout(CharSequence source, TextPaint paint,
 45         this(source, 0, source.length(), paint, width, align,
 49     public StaticLayout(CharSequence source, int bufstart, int bufend,
 54         this(source, bufstart, bufend, paint, outerwidth, align,
 58     public StaticLayout(CharSequence source, int bufstart, int bufend,
 65                 ? source
 66                 : (source instanceof Spanned)
 67                     ? new SpannedEllipsizer(source)
 [all...]
 | 
| TextUtils.java | 2  * Copyright (C) 2006 The Android Open Source Project 241      * from the source string.  This is different than simply calling
 243      * in that it does not preserve any style runs in the source sequence,
 246     public static String substring(CharSequence source, int start, int end) {
 247         if (source instanceof String)
 248             return ((String) source).substring(start, end);
 249         if (source instanceof StringBuilder)
 250             return ((StringBuilder) source).substring(start, end);
 251         if (source instanceof StringBuffer)
 252             return ((StringBuffer) source).substring(start, end)
 [all...]
 | 
| /external/bluetooth/glib/gio/ | 
| goutputstream.c | 59 						    GInputStream              *source, 74 						    GInputStream              *source,
 346  * @source: a #GInputStream.
 358 			GInputStream              *source,
 367   g_return_val_if_fail (G_IS_INPUT_STREAM (source), -1);
 369   if (g_input_stream_is_closed (source))
 372                            _("Source stream is already closed"));
 385   res = class->splice (stream, source, flags, cancellable, error);
 397                              GInputStream              *source,
 420       n_read = g_input_stream_read (source, buffer, sizeof (buffer), cancellable, error)
 717  GInputStream *source;  member in struct:__anon2075
 1184  GInputStream *source;  member in struct:__anon2077
 [all...]
 | 
| /external/chromium/third_party/icu/source/i18n/ | 
| ucol_res.cpp | 406             fprintf(stderr, "bad option starting at offset %i\n", src.current-src.source); 408             fprintf(stderr, "invalid rule just before offset %i\n", src.current-src.source);
 549 ucol_equals(const UCollator *source, const UCollator *target) {
 552     if(source == target) {
 558         if(ucol_getAttribute(source, (UColAttribute)i, &status) != ucol_getAttribute(target, (UColAttribute)i, &status) || U_FAILURE(status)) {
 564     const UChar *sourceRules = ucol_getRules(source, &sourceRulesLen);
 576     ucol_tok_initTokenList(&sourceParser, sourceRules, sourceRulesLen, source->UCA, &status);
 590             sourceResetString = sourceParser.source+(sourceReset->source & 0xFFFFFF);
 591             sourceStringLen = sourceReset->source >> 24
 [all...]
 | 
| digitlst.cpp | 400 DigitList::set(int32_t source, int32_t maximumDigits) 402     set((int64_t)source, maximumDigits);
 411 DigitList::set(int64_t source, int32_t maximumDigits)
 413     fCount = fDecimalAt = formatBase10(source, fDecimalDigits, MAX_DIGITS);
 428  * @param source Value to be converted; must not be Inf, -Inf, Nan,
 437 DigitList::set(double source, int32_t maximumDigits, UBool fixedPoint)
 445     fIsPositive = !uprv_isNegative(source);    // Allow +0 and -0
 448     sprintf(rep, "%+1.*e", MAX_DBL_DIGITS - 1, source);
 614 DigitList::set(long source)
 618     if (source == 0
 [all...]
 | 
| /external/icu4c/i18n/ | 
| ucol_res.cpp | 400             fprintf(stderr, "bad option starting at offset %i\n", src.current-src.source); 402             fprintf(stderr, "invalid rule just before offset %i\n", src.current-src.source);
 543 ucol_equals(const UCollator *source, const UCollator *target) {
 546     if(source == target) {
 552         if(ucol_getAttribute(source, (UColAttribute)i, &status) != ucol_getAttribute(target, (UColAttribute)i, &status) || U_FAILURE(status)) {
 558     const UChar *sourceRules = ucol_getRules(source, &sourceRulesLen);
 570     ucol_tok_initTokenList(&sourceParser, sourceRules, sourceRulesLen, source->UCA, &status);
 584             sourceResetString = sourceParser.source+(sourceReset->source & 0xFFFFFF);
 585             sourceStringLen = sourceReset->source >> 24
 [all...]
 | 
| /external/chromium/third_party/icu/source/test/perf/convperf/ | 
| convperf.h | 33     ICUToUnicodePerfFunction(const char* name,  const char* source, int32_t sourceLen, UErrorCode& status){ 35         src = source;
 44                                         source, srcLen, &status);
 79     ICUFromUnicodePerfFunction(const char* name,  const UChar* source, int32_t sourceLen, UErrorCode& status){
 81         src = source;
 90                                           source, srcLen, &status);
 280     WinIMultiLanguageToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){
 309         src = source;
 336     WinIMultiLanguageFromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status){
 365         src = source;
 [all...]
 | 
| /external/icu4c/test/perf/convperf/ | 
| convperf.h | 33     ICUToUnicodePerfFunction(const char* name,  const char* source, int32_t sourceLen, UErrorCode& status){ 35         src = source;
 44                                         source, srcLen, &status);
 79     ICUFromUnicodePerfFunction(const char* name,  const UChar* source, int32_t sourceLen, UErrorCode& status){
 81         src = source;
 90                                           source, srcLen, &status);
 280     WinIMultiLanguageToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){
 309         src = source;
 336     WinIMultiLanguageFromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status){
 365         src = source;
 [all...]
 | 
| /external/libvpx/vpx_scale/arm/armv4/ | 
| gen_scalers_armv4.asm | 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.
 35 ; *  INPUTS        : const unsigned char *source : Pointer to source data.
 36 ; *                  unsigned int source_width    : Stride of source.
 44 ; *  FUNCTION      : Copies horizontal line of pixels from source to
 52 ;   r0 = UINT8 *source
 211 ; *  INPUTS        : const unsigned char *source : Pointer to source data
 [all...]
 | 
| /external/libvpx/vpx_scale/symbian/ | 
| gen_scalers_armv4.asm | 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.
 35 ; *  INPUTS        : const unsigned char *source : Pointer to source data.
 36 ; *                  unsigned int source_width    : Stride of source.
 44 ; *  FUNCTION      : Copies horizontal line of pixels from source to
 52 ;   r0 = UINT8 *source
 211 ; *  INPUTS        : const unsigned char *source : Pointer to source data
 [all...]
 | 
| /external/libvpx/vpx_scale/wce/ | 
| gen_scalers_armv4.asm | 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.
 35 ; *  INPUTS        : const unsigned char *source : Pointer to source data.
 36 ; *                  unsigned int source_width    : Stride of source.
 44 ; *  FUNCTION      : Copies horizontal line of pixels from source to
 52 ;   r0 = UINT8 *source
 211 ; *  INPUTS        : const unsigned char *source : Pointer to source data
 [all...]
 | 
| /external/v8/test/mjsunit/ | 
| mirror-script.js | 2 // Redistribution and use in source and binary forms, with or without 6 //     * Redistributions of source code must retain the above copyright
 32                           source, eval_from_line) {
 59   if (source) {
 60     assertEquals(source, mirror.source());
 93 // Test taking slices of source.
 
 | 
| /external/webkit/WebKit/mac/WebView/ | 
| WebScriptDebugger.mm | 4  * Redistribution and use in source and binary forms, with or without 8  * 1.  Redistributions of source code must retain the above copyright
 107 void WebScriptDebugger::sourceParsed(ExecState* exec, const SourceCode& source, int errorLine, const UString& errorMsg)
 114     NSString *nsSource = toNSString(source);
 115     NSURL *nsURL = toNSURL(source.provider()->url());
 124                 CallScriptDebugDelegate(implementations->didParseSourceFunc, webView, @selector(webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:), nsSource, source.firstLine(), nsURL, source.provider()->asID(), webFrame);
 126                 CallScriptDebugDelegate(implementations->didParseSourceFunc, webView, @selector(webView:didParseSource:fromURL:sourceId:forWebFrame:), nsSource, [nsURL absoluteString], source.provider()->asID(), webFrame);
 134             CallScriptDebugDelegate(implementations->failedToParseSourceFunc, webView, @selector(webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:), nsSource, source.firstLine(), nsURL, error, webFrame);
 
 | 
| /frameworks/base/core/java/android/app/ | 
| IActivityManager.java | 2  * Copyright (C) 2006 The Android Open Source Project 355             public ContentProviderHolder createFromParcel(Parcel source) {
 356                 return new ContentProviderHolder(source);
 364         private ContentProviderHolder(Parcel source) {
 365             info = ProviderInfo.CREATOR.createFromParcel(source);
 367                 source.readStrongBinder());
 368             noReleaseNeeded = source.readInt() != 0;
 397             public WaitResult createFromParcel(Parcel source) {
 398                 return new WaitResult(source);
 406         private WaitResult(Parcel source) {
 [all...]
 | 
| /frameworks/base/core/java/android/os/ | 
| Debug.java | 2  * Copyright (C) 2007 The Android Open Source Project 171         public void readFromParcel(Parcel source) {
 172             dalvikPss = source.readInt();
 173             dalvikPrivateDirty = source.readInt();
 174             dalvikSharedDirty = source.readInt();
 175             nativePss = source.readInt();
 176             nativePrivateDirty = source.readInt();
 177             nativeSharedDirty = source.readInt();
 178             otherPss = source.readInt();
 179             otherPrivateDirty = source.readInt()
 [all...]
 | 
| /packages/apps/Contacts/src/com/android/contacts/model/ | 
| EntityModifier.java | 2  * Copyright (C) 2009 The Android Open Source Project 84     public static void ensureKindExists(EntityDelta state, ContactsSource source, String mimeType) {
 85         final DataKind kind = source.getKindForMimetype(mimeType);
 358             final ContactsSource source = sources.getInflatedSource(accountType,  local
 360             trimEmpty(state, source);
 370     public static void trimEmpty(EntityDelta state, ContactsSource source) {
 374         for (DataKind kind : source.getSortedDataKinds()) {
 432     public static void parseExtras(Context context, ContactsSource source, EntityDelta state,
 441             EntityModifier.ensureKindExists(state, source, StructuredName.CONTENT_ITEM_TYPE);
 457             final DataKind kind = source.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)
 [all...]
 | 
| /external/freetype/src/base/ | 
| ftgloadr.c | 361                              FT_GlyphLoader  source ) 364     FT_UInt   num_points   = source->base.outline.n_points;
 365     FT_UInt   num_contours = source->base.outline.n_contours;
 372       FT_Outline*  in  = &source->base.outline;
 383       if ( target->use_extra && source->use_extra )
 385         FT_ARRAY_COPY( target->base.extra_points, source->base.extra_points,
 387         FT_ARRAY_COPY( target->base.extra_points2, source->base.extra_points2,
 
 | 
| /external/qemu/android/utils/ | 
| path.c | 1 /* Copyright (C) 2007-2009 The Android Open Source Project 451 path_copy_file( const char*  dest, const char*  source )
 456     if ( access(source, F_OK)  < 0 ||
 461     if ( access(source, R_OK) < 0 ) {
 462         D("%s: source file is un-readable: %s\n",
 463           __FUNCTION__, source);
 469     fs = _open(source, _O_RDONLY |  _O_BINARY);
 472     fs = open(source, S_IREAD);
 484                        source, dest, strerror(errno), errno);
 
 | 
| /external/webkit/WebCore/platform/graphics/cairo/ | 
| ImageBufferCairo.cpp | 6  * Redistribution and use in source and binary forms, with or without 9  * 1. Redistributions of source code must retain the above copyright
 212 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size)
 244     unsigned srcBytesPerRow = 4 * source->width();
 247     unsigned char* srcRows = source->data()->data()->data() + originy * srcBytesPerRow + originx * 4;
 269 void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
 271     putImageData<Unmultiplied>(source, sourceRect, destPoint, m_data, m_size);
 274 void ImageBuffer::putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
 276     putImageData<Premultiplied>(source, sourceRect, destPoint, m_data, m_size);
 
 | 
| /external/webkit/WebCore/platform/graphics/cg/ | 
| ImageBufferCG.cpp | 5  * Redistribution and use in source and binary forms, with or without 8  * 1. Redistributions of source code must retain the above copyright
 191 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& imageData, const IntSize& size)
 219     unsigned srcBytesPerRow = 4 * source->width();
 222     unsigned char* srcRows = source->data()->data()->data() + originy * srcBytesPerRow + originx * 4;
 241 void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
 243     putImageData<Unmultiplied>(source, sourceRect, destPoint, m_data, m_size);
 246 void ImageBuffer::putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
 248     putImageData<Premultiplied>(source, sourceRect, destPoint, m_data, m_size);
 
 | 
| /external/webkit/WebCore/platform/graphics/qt/ | 
| ImageBufferQt.cpp | 6  * Redistribution and use in source and binary forms, with or without 9  * 1. Redistributions of source code must retain the above copyright
 196 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size)
 224     unsigned srcBytesPerRow = 4 * source->width();
 236     unsigned char* srcRows = source->data()->data()->data() + originy * srcBytesPerRow + originx * 4;
 255 void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
 257     putImageData<Unmultiplied>(source, sourceRect, destPoint, m_data, m_size);
 260 void ImageBuffer::putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
 262     putImageData<Premultiplied>(source, sourceRect, destPoint, m_data, m_size);
 
 | 
| /frameworks/base/media/libstagefright/ | 
| StagefrightMetadataRetriever.cpp | 2  * Copyright (C) 2009 The Android Open Source Project 111         const sp<MediaSource> &source, uint32_t flags) {
 114                 client->interface(), source->getFormat(), false, source,
 264     sp<MediaSource> source = mExtractor->getTrack(i);  local
 266     if (source.get() == NULL) {
 273                 &mClient, trackMeta, source, OMXCodec::kPreferSoftwareCodecs);
 279         frame = extractVideoFrameWithCodecFlags(&mClient, trackMeta, source, 0);
 
 | 
| /packages/apps/Gallery3D/src/com/cooliris/media/ | 
| ImageManager.java | 2  * Copyright (C) 2007 The Android Open Source Project 140             String filename, Bitmap source, byte[] jpegData, int[] degree) {
 150             if (source != null) {
 151                 source.compress(CompressFormat.JPEG, 75, outputStream);
 227         public AddImageCancelable(Uri uri, ContentResolver cr, int orientation, Bitmap source, byte[] jpegData) {
 228             if (source == null && jpegData == null || uri == null) {
 229                 throw new IllegalArgumentException("source cannot be null");
 276     public static Cancelable<Void> storeImage(Uri uri, ContentResolver cr, int orientation, Bitmap source, byte[] jpegData) {
 277         return new AddImageCancelable(uri, cr, orientation, source, jpegData);
 
 | 
| /external/chromium/third_party/icu/source/test/cintltst/ | 
| nucnvtst.c | 27 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message); 28 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message);
 154 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message)
 157      const char* s=(char*)source;
 184 TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message)
 186      const char* s=(char*)source;
 331 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen,  const uint8_t *expect, int expectLen,
 373     src = source;
 379     realSourceEnd = source + sourceLen;
 395       log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx  TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FA (…)
 1635  const char* source = NULL;  local
 1748  const char* source = NULL;  local
 1799  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 1843  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 1906  const char *source=(const char *)in,*limit=(const char *)in+sizeof(in);  local
 1978  const char *source=(const char *)in,*limit=(const char *)in+sizeof(in);  local
 2030  const char *source, *limit;  local
 2080  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2134  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2200  const char *source, *limit;  local
 2277  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2348  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2479  const char *source=(const char *)in;  local
 2512  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2554  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2605  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2659  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2918  const UChar*source = in;  local
 3686  char source[] = { 0x1b,0x24,0x42,0x3d,0x45,0x1b,0x28,0x4a,0x0d,0x0a,  local
 4067  static const char* source = "\\x1b\\x24\\x29\\x43\\x6b\\x6b\\x6e\\x6e\\x6a\\x68\\x70\\x6f\\x69\\x75\\x79\\x71\\x77\\x65\\x68\\x67\\x0A"  local
 4568  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 4859  const char *source=(const char *)pszLMBCS;  local
 5376  const char* source = data;  local
 5429  const char* source = data;  local
 [all...]
 |