| /external/webkit/Source/WebCore/icu/unicode/ |
| ucnv_err.h | 189 const UChar *source; /**< Pointer to the source source buffer. @stable ICU 2.0 */ member in struct:__anon17776 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ 205 const char *source; /**< Pointer to the source source buffer. @stable ICU 2.0 */ member in struct:__anon17777 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
|
| /external/webkit/Source/WebCore/platform/text/ |
| TextCodecLatin1.cpp | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 124 const uint8_t* source = reinterpret_cast<const uint8_t*>(bytes); local 129 while (source < end) { 130 if (isASCII(*source)) { 132 if (isAlignedToMachineWord(source)) { 133 while (source < alignedEnd) { 134 MachineWord chunk = *reinterpret_cast_ptr<const MachineWord*>(source); 139 copyASCIIMachineWord(destination, source); 140 source += sizeof(MachineWord) [all...] |
| TextCodecUTF8.cpp | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 169 void TextCodecUTF8::handlePartialSequence(UChar*& destination, const uint8_t*& source, const uint8_t* end, bool flush, bool stopOnError, bool& sawError) 186 if (count - m_partialSequenceSize > end - source) { 190 memcpy(m_partialSequence + m_partialSequenceSize, source, end - source); 191 m_partialSequenceSize += end - source; 200 memcpy(m_partialSequence + m_partialSequenceSize, source, count - m_partialSequenceSize); 201 source += count - m_partialSequenceSize; 223 const uint8_t* source = reinterpret_cast<const uint8_t*>(bytes) local [all...] |
| TextEncoding.cpp | 6 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright 87 const UChar* source = characters; local 93 if (unorm_quickCheck(source, sourceLength, UNORM_NFC, &err) != UNORM_YES) { 96 int32_t normalizedLength = unorm_normalize(source, length, UNORM_NFC, 0, normalizedCharacters.data(), length, &err); 100 normalizedLength = unorm_normalize(source, length, UNORM_NFC, 0, normalizedCharacters.data(), normalizedLength, &err); 104 source = normalizedCharacters.data(); 107 return newTextCodec(*this)->encode(source, sourceLength, handling);
|
| /external/webkit/Source/WebKit/win/WebCoreSupport/ |
| WebDragClient.cpp | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 120 COMPtr<IDropSource> source; local 121 if (FAILED(WebDropSource::createInstance(m_webView, &source))) 125 if (source && (image || dataObject)) { 152 hr = uiPrivate->doDragDrop(m_webView, dataObject.get(), source.get(), okEffect, &effect); 155 hr = DoDragDrop(dataObject.get(), source.get(), okEffect, &effect);
|
| /external/zlib/src/contrib/puff/ |
| pufftest.c | 93 unsigned char *source = NULL, *dest; local 117 source = load(name, &len); 118 if (source == NULL) { 125 free(source); 130 free(source); 137 ret = puff(NIL, &destlen, source + skip, &sourcelen); 153 free(source); 156 puff(dest, &destlen, source + skip, &sourcelen); 163 free(source);
|
| /frameworks/av/media/libmediaplayerservice/nuplayer/ |
| HTTPLiveSource.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 41 : Source(notify), 96 sp<AnotherPacketSource> source = local 99 if (source == NULL) { 103 return source->getFormat(); 111 sp<LiveDataSource> source = local 116 ssize_t n = source->readAtNonBlocking(mOffset, buffer, sizeof(buffer)); 172 sp<AnotherPacketSource> source = local 175 if (source == NULL) { 180 if (!source->hasBufferAvailable(&finalResult)) [all...] |
| StreamingSource.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 37 const sp<IStreamSource> &source) 38 : Source(notify), 39 mSource(source), 145 sp<AnotherPacketSource> source = local 148 if (source == NULL) { 152 return source->getFormat(); 160 sp<AnotherPacketSource> source = local 163 if (source == NULL) { 168 if (!source->hasBufferAvailable(&finalResult)) [all...] |
| /frameworks/av/media/libstagefright/ |
| DataSource.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 175 sp<DataSource> source; local 177 source = new FileSource(uri + 7); 204 source = new NuCachedSource2( 210 source = httpSource; 215 source = createDataUriSource(uri); 219 source = new FileSource(uri); 222 if (source == NULL || source->initCheck() != OK) { 226 return source; [all...] |
| /frameworks/av/media/libstagefright/timedtext/ |
| TimedTextDriver.cpp | 2 * Copyright (C) 2012 The Android Open Source Project 64 sp<TimedTextSource> source; local 65 source = mTextSourceVector.valueFor(index); 66 mPlayer->setDataSource(source); 189 sp<TimedTextSource> source = local 191 if (source == NULL) { 195 mTextSourceVector.add(trackIndex, source); 235 sp<TimedTextSource> source; local 237 source = TimedTextSource::CreateTimedTextSource( 241 if (source == NULL) [all...] |
| /frameworks/base/core/java/android/util/ |
| Xml.java | 2 * Copyright (C) 2007 The Android Open Source Project 82 InputSource source = new InputSource(in); local 83 source.setEncoding(encoding.expatName); 84 reader.parse(source);
|
| /frameworks/base/core/java/android/view/textservice/ |
| SentenceSuggestionsInfo.java | 2 * Copyright (C) 2012 The Android Open Source Project 59 public SentenceSuggestionsInfo(Parcel source) { 60 final int infoSize = source.readInt(); 62 source.readTypedArray(mSuggestionsInfos, SuggestionsInfo.CREATOR); 64 source.readIntArray(mOffsets); 66 source.readIntArray(mLengths); 135 public SentenceSuggestionsInfo createFromParcel(Parcel source) { 136 return new SentenceSuggestionsInfo(source);
|
| /frameworks/base/core/java/com/android/internal/http/multipart/ |
| FilePart.java | 78 /** Source of the file part. */ 79 private PartSource source; field in class:FilePart 85 * @param partSource the source for this part 101 throw new IllegalArgumentException("Source may not be null"); 103 this.source = partSource; 110 * @param partSource the source for this part 193 String filename = this.source.getFileName(); 203 * Write the data in "source" to the specified stream. 221 InputStream instream = source.createInputStream(); 234 * Returns the source of the file part [all...] |
| /frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
| FusedLocationProvider.java | 2 * Copyright (C) 2012 The Android Open Source Project 56 public WorkSource source; field in class:FusedLocationProvider.RequestWrapper 57 public RequestWrapper(ProviderRequestUnbundled request, WorkSource source) { 59 this.source = source; 98 mEngine.setRequest(wrapper.request, wrapper.source); 116 public void onSetRequest(ProviderRequestUnbundled request, WorkSource source) { 117 mHandler.obtainMessage(MSG_SET_REQUEST, new RequestWrapper(request, source)).sendToTarget();
|
| /frameworks/compile/libbcc/lib/Renderscript/ |
| RSCompilerDriver.cpp | 2 * Copyright 2012, The Android Open Source Project 27 #include "bcc/Source.h" 200 // Extract RS-specific information from source bitcode. 283 ALOGE("Unable to compile the source to file %s! (%s)", pOutputPath, 323 // Note that write failure only results in a warning since the source is 397 Source *source = Source::CreateFromBuffer(pContext, pResName, local 399 if (source == NULL) { 403 RSScript *script = new (std::nothrow) RSScript(*source); [all...] |
| /frameworks/wilhelm/src/android/ |
| AacBqToPcmCbRenderer.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 151 sp<MediaSource> source = extractor->getTrack(kTrackToDecode); local 152 if (source == 0) { 153 SL_LOGE("AacBqToPcmCbRenderer::onPrepare: error getting source from extractor"); 163 source = OMXCodec::Create( 165 source); 167 if (source == NULL) { 173 meta = source->getFormat(); 177 if (source->start() != OK) { 178 SL_LOGE("AacBqToPcmCbRenderer::onPrepare() Failed to start source/decoder.") [all...] |
| /hardware/samsung_slsi/exynos5/include/ |
| exynos_v4l2.h | 2 * Copyright (C) 2011 The Android Open Source Project 131 struct media_pad *source; member in struct:media_link 187 int exynos_media_setup_link(struct media_device *media, struct media_pad *source, struct media_pad *sink, __u32 flags);
|
| /libcore/luni/src/main/java/java/nio/ |
| PipeImpl.java | 35 private final PipeSourceChannel source; field in class:PipeImpl 46 this.source = new PipeSourceChannel(selectorProvider, fd2); 56 @Override public SourceChannel source() { method in class:PipeImpl 57 return source;
|
| /packages/apps/Camera/jni/feature_stab/db_vlvm/ |
| db_utilities_indexing.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 34 /*This routine breaks number in source into values smaller and larger than 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 44 s_point=source+first; 45 s_top=source+last; 68 const double *source; local 73 source=s; 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
| /packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
| db_utilities_indexing.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 34 /*This routine breaks number in source into values smaller and larger than 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 44 s_point=source+first; 45 s_top=source+last; 68 const double *source; local 73 source=s; 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/data/ |
| DataManager.java | 2 * Copyright (C) 2010 The Android Open Source Project 130 for (MediaSource source : mSourceMap.values()) { 131 source.resume(); 150 void addSource(MediaSource source) { 151 if (source == null) return; 152 mSourceMap.put(source.getPrefix(), source); 171 MediaSource source = mSourceMap.get(path.getPrefix()); 172 if (source == null) { 173 Log.w(TAG, "cannot find media source for path: " + path) 238 MediaSource source = mSourceMap.get(prefix); local 278 MediaSource source = mSourceMap.get(item.getPrefix()); local [all...] |
| /packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
| db_utilities_indexing.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 34 /*This routine breaks number in source into values smaller and larger than 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 44 s_point=source+first; 45 s_top=source+last; 68 const double *source; local 73 source=s; 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
| ContactSuggestionView.java | 2 * Copyright (C) 2009 The Android Open Source Project 21 import com.android.quicksearchbox.Source; 79 Source source = suggestion.getSuggestionSource(); local 80 if (source instanceof SearchableSource) { 81 SearchableSource searchableSource = (SearchableSource) source;
|
| /packages/apps/Settings/tests/src/com/android/settings/bluetooth/ |
| Utf8ByteLengthFilterTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 48 CharSequence source; local 55 // cut off the source CharSequence from beginning to fit the filter length. 56 source = "abc"; 60 dest.insert(1, source); 64 dest.replace(5, 8, source); 68 dest.insert(2, source); 79 source = "\u60a8\u597d"; // 2 Chinese chars == 6 bytes in UTF-8 80 dest.replace(8, 10, source); 83 dest.replace(0, 1, source); [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/ |
| SimpleFile.java | 2 * Copyright (C) 2011 The Android Open Source Project 45 public String source; field in class:SimpleFile.FileOp 66 if (fileArg.getName().equals("source")) //$NON-NLS-1$ 67 op.source = fileArg.getSimpleValue(); 71 if (op.source == null || op.destination == null) 84 // Find bundle to find source files 99 URL sourceURL = FileLocator.find(bundle, new Path(op.source), null); 102 + op.source);
|