| /external/webkit/Source/WebCore/platform/audio/ |
| ReverbConvolver.cpp | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 185 float* source = sourceChannel->data(); local 187 bool isDataSafe = source && destination; 193 m_inputBuffer.write(source, framesToProcess); 197 m_stages[i]->process(source, framesToProcess);
|
| /external/webkit/Source/WebCore/platform/graphics/filters/ |
| FEComposite.cpp | 119 inline void computeArithmeticPixels(unsigned char* source, unsigned char* destination, int pixelArrayLength, 130 unsigned char i1 = *source; 148 ++source; 158 unsigned char* source = srcPixelArrayA->data(); local 163 computeArithmeticPixels<0, 1, 1, 0>(source, destination, pixelArrayLength, k1, k2, k3, k4); 167 computeArithmeticPixels<1, 1, 1, 0>(source, destination, pixelArrayLength, k1, k2, k3, k4); 172 computeArithmeticPixels<0, 1, 1, 1>(source, destination, pixelArrayLength, k1, k2, k3, k4); 175 computeArithmeticPixels<1, 1, 1, 1>(source, destination, pixelArrayLength, k1, k2, k3, k4);
|
| /external/webkit/Source/WebCore/storage/ |
| IDBRequest.cpp | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 47 PassRefPtr<IDBRequest> IDBRequest::create(ScriptExecutionContext* context, PassRefPtr<IDBAny> source, IDBTransaction* transaction) 49 return adoptRef(new IDBRequest(context, source, transaction)); 52 IDBRequest::IDBRequest(ScriptExecutionContext* context, PassRefPtr<IDBAny> source, IDBTransaction* transaction) 55 , m_source(source) 101 PassRefPtr<IDBAny> IDBRequest::source() const function in class:WebCore::IDBRequest 141 IDBAny* IDBRequest::source() function in class:WebCore::IDBRequest
|
| /external/webkit/Source/WebCore/svg/ |
| SVGPathParserFactory.cpp | 92 static SVGPathParser* globalSVGPathParser(SVGPathSource* source, SVGPathConsumer* consumer) 98 s_parser->setCurrentSource(source); 136 OwnPtr<SVGPathStringSource> source = SVGPathStringSource::create(d); local 137 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); 151 OwnPtr<SVGPathSegListSource> source = SVGPathSegListSource::create(list); local 152 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); 166 OwnPtr<SVGPathByteStreamSource> source = SVGPathByteStreamSource::create(stream); local 167 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); 181 OwnPtr<SVGPathByteStreamSource> source = SVGPathByteStreamSource::create(stream); local 182 SVGPathParser* parser = globalSVGPathParser(source.get(), builder) 196 OwnPtr<SVGPathByteStreamSource> source = SVGPathByteStreamSource::create(stream); local 212 OwnPtr<SVGPathSegListSource> source = SVGPathSegListSource::create(list); local 228 OwnPtr<SVGPathStringSource> source = SVGPathStringSource::create(d); local 262 OwnPtr<SVGPathByteStreamSource> source = SVGPathByteStreamSource::create(stream); local [all...] |
| /external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/ |
| main.c | 2 * Copyright (C) 2010 The Android Open Source Project 261 struct android_poll_source* source; local 267 (void**)&source)) >= 0) { 270 if (source != NULL) { 271 source->process(state, source);
|
| /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
| XMPMetaParser.java | 63 * Parses the input source into an XMP metadata object, including 186 InputSource source = new InputSource(buffer.getByteStream()); local 189 return parseInputSource(source); 218 source = new InputSource(buffer.getByteStream()); 219 return parseInputSource(source); 241 InputSource source = new InputSource(new StringReader(input)); local 244 return parseInputSource(source); 250 source = new InputSource(new FixASCIIControlsReader(new StringReader(input))); 251 return parseInputSource(source); 263 * @param source an <code>InputSource</code [all...] |
| /external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
| DecodeHandler.java | 72 PlanarYUVLuminanceSource source = activity.getCameraManager().buildLuminanceSource(data, width, height); local 73 if (source != null) { 74 BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); 92 bundle.putParcelable(DecodeThread.BARCODE_BITMAP, source.renderCroppedGreyscaleBitmap());
|
| /frameworks/av/media/libmedia/ |
| MediaScannerClient.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 173 const char* source = mValues->getEntry(i); local 182 &source, (const char *)dest, NULL, NULL, NULL, NULL, TRUE, TRUE, &status);
|
| /frameworks/av/media/libmediaplayerservice/nuplayer/ |
| GenericSource.cpp | 2 * Copyright (C) 2012 The Android Open Source Project 40 : Source(notify), 55 : Source(notify), 156 sp<MediaSource> source = audio ? mAudioTrack.mSource : mVideoTrack.mSource; local 158 if (source == NULL) { 162 return source->getFormat();
|
| /frameworks/av/media/libstagefright/ |
| CameraSourceTimeLapse.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 46 CameraSourceTimeLapse *source = new local 52 if (source != NULL) { 53 if (source->initCheck() != OK) { 54 delete source; 58 return source;
|
| /frameworks/av/media/libstagefright/rtsp/ |
| ARTPSession.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 71 sp<APacketSource> source = new APacketSource(mDesc, i); local 72 if (source->initCheck() != OK) { 91 info->mPacketSource = source;
|
| /frameworks/av/media/libstagefright/wifi-display/ |
| wfd.cpp | 2 * Copyright 2012, The Android Open Source Project 21 #include "source/WifiDisplaySource.h" 41 " %s -l iface[:port]\tcreate a wifi display source\n" 192 sp<WifiDisplaySource> source = new WifiDisplaySource(session, client, path); local 193 looper->registerHandler(source); 196 CHECK_EQ((status_t)OK, source->start(iface.c_str())); 200 source->stop();
|
| /frameworks/base/core/jni/ |
| android_view_KeyEvent.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 77 jint source = env->GetIntField(eventObj, gKeyEventClassInfo.mSource); local 87 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
|
| /frameworks/base/libs/androidfw/tests/ |
| InputPublisherAndConsumer_test.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 74 const int32_t source = AINPUT_SOURCE_KEYBOARD; local 84 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, 103 EXPECT_EQ(source, keyEvent->getSource()); 133 const int32_t source = AINPUT_SOURCE_TOUCHSCREEN; local 165 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, flags, edgeFlags, 186 EXPECT_EQ(source, motionEvent->getSource());
|
| /frameworks/base/media/tests/omxjpegdecoder/ |
| omx_jpeg_decoder.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 101 sp<MediaSource> source = prepareMediaSource(stream); local 102 sp<MetaData> meta = source->getFormat(); 120 sp<MediaSource> decoder = getDecoder(&mClient, source); 121 return decodeSource(decoder, source, bm); 131 OMXClient *client, const sp<MediaSource>& source) { 132 sp<MetaData> meta = source->getFormat(); 134 client->interface(), meta, false /* createEncoder */, source); 141 const sp<MediaSource>& source, SkBitmap* bm) { 150 // decode source [all...] |
| /frameworks/compile/libbcc/tools/bcc/ |
| Main.cpp | 2 * Copyright 2012, The Android Open Source Project 40 #include <bcc/Source.h> 135 os << "libbcc (The Android Open Source Project, http://www.android.com/):\n" 138 << " Build source blob: " << BuildInfo::GetBuildSourceBlob() << "\n" 157 Source *source = Source::CreateFromFile(pContext, input_bitcode); local 158 if (source == NULL) { 165 if (!result->mergeSource(*source, /* pPreserveSource */false)) { 168 delete source; [all...] |
| /hardware/qcom/audio/legacy/alsa_sound/ |
| ALSAStreamOps.cpp | 196 int source; local 198 if (param.getInt(key_input, source) == NO_ERROR) { 199 ALOGD("setParameters(), input_source = %d", source); 200 mParent->mALSADevice->setInput(source);
|
| /libcore/luni/src/main/java/java/math/ |
| BitLevel.java | 114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { 117 int val = source[i]; 126 static BigInteger shiftLeftOneBit(BigInteger source) { 127 source.prepareJavaRepresentation(); 128 int srcLen = source.numberLength; 131 shiftLeftOneBit(resDigits, source.digits, srcLen); 132 return new BigInteger(source.sign, resLen, resDigits); 136 static BigInteger shiftRight(BigInteger source, int count) { 137 source.prepareJavaRepresentation(); 140 if (intCount >= source.numberLength) [all...] |
| /packages/apps/Gallery2/jni/filters/ |
| geometry.c | 2 * Copyright (C) 2012 The Android Open Source Project 20 __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 30 memcpy(destination + temp - i, source + i, bytes_to_copy); 34 __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 46 memcpy(destination + temp - j, source + i + j, cpy_bytes); 51 __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 57 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); 63 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 67 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 73 __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) 132 char* source = 0; local 145 char* source = 0; local 156 char* source = 0; local 167 char* source = 0; local [all...] |
| tinyplanet.cc | 2 * Copyright (C) 2012 The Android Open Source Project 60 // Get pointers and scale factors for the source pixels. 134 char* source = 0; local 136 AndroidBitmap_lockPixels(env, bitmap_in, (void**) &source); 138 unsigned char * rgb_in = (unsigned char * )source;
|
| /packages/apps/Gallery2/src/com/android/gallery3d/util/ |
| MotionEventHelper.java | 2 * Copyright (C) 2012 The Android Open Source Project 59 int source = e.getSource(); local 78 yPrecision, deviceId, edgeFlags, source, flags);
|
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
| SourceShortcutRefresher.java | 2 * Copyright (C) 2010 The Android Open Source Project 29 * Refreshes shortcuts from their source. 50 Source source = shortcut.getSuggestionSource(); local 51 if (source == null) { 52 throw new NullPointerException("source"); 55 if (shouldRefresh(source, shortcutId) && !isRefreshing(source, shortcutId)) { 60 markShortcutRefreshing(source, shortcutId); 63 source, shortcutId, extraData, listener) [all...] |
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
| GoogleSearch.java | 2 * Copyright (C) 2008 The Android Open Source Project 51 // "source" parameter for Google search requests from unknown sources (e.g. apps). This will get 119 // If the caller specified a 'source' url parameter, use that and if not use default. 121 String source = GOOGLE_SEARCH_SOURCE_UNKNOWN; local 123 source = appSearchData.getString(Search.SOURCE); 137 + "&source=android-" + source
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| HanziToPinyin.java | 2 * Copyright (C) 2011 The Android Open Source Project 42 * Separator between target string for each source char 53 public Token(int type, String source, String target) { 55 this.source = source; 66 public String source; field in class:HanziToPinyin.Token 68 * Translated string of source. For Han, target is corresponding Pinyin. Otherwise target is 69 * original string in source. 98 token.source = Character.toString(character); 103 token.target = token.source; [all...] |
| /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
| losertree.h | 65 /** @brief index of the source sequence. */ 66 int source; member in struct:__gnu_parallel::LoserTreeBase::Loser 123 * @brief Initializes the sequence "source" with the element "key". 126 * @param source index of the source sequence 131 insert_start(const T& key, int source, bool sup) 133 unsigned int pos = k + source; 146 losers[pos].source = source; 153 { return losers[0].source; } 222 int source = losers[0].source; local 319 int source = losers[0].source; local 350 int source; member in struct:__gnu_parallel::LoserTreePointerBase::Loser 444 int source = losers[0].source; local 524 int source = losers[0].source; local 559 int source; member in struct:__gnu_parallel::LoserTreeUnguardedBase::Loser 675 int source = losers[0].source; local 765 int source = losers[0].source; local 794 int source; member in struct:__gnu_parallel::LoserTreePointerUnguardedBase::Loser 912 int source = losers[0].source; local 1002 int source = losers[0].source; local [all...] |