Searched defs:source (Results 251 - 275 of 1062) sorted by relevance

<<11121314151617181920>>

/external/skia/src/effects/
H A DSkColorFilterImageFilter.cpp4 * Use of this source code is governed by a BSD-style license that can be
58 bool SkColorFilterImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& source, argument
62 SkBitmap src = source;
64 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) {
H A DSkOffsetImageFilter.cpp4 * Use of this source code is governed by a BSD-style license that can be
17 bool SkOffsetImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& source, argument
22 SkBitmap src = source;
29 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) {
40 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) {
H A DSkTileImageFilter.cpp4 * Use of this source code is governed by a BSD-style license that can be
30 SkBitmap source = src; local
33 if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) {
53 source.getBounds(&bounds);
58 } else if (!source.extractSubset(&subset, srcIRect)) {
/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp4 * Use of this source code is governed by a BSD-style license that can be
37 // Open the kernel source file
40 SkDebugf("Failed to open kernel source file");
48 // Read the kernel source into memory
53 SkDebugf("Failed to read kernel source file");
60 bool SkCLImageDiffer::loadKernelSource(const char source[], const char name[], cl_kernel* kernel) { argument
61 // Build the kernel source
62 size_t sourceLen = strlen(source);
63 cl_program program = clCreateProgramWithSource(fContext, 1, &source, &sourceLen, NULL);
/external/srtp/crypto/math/
H A Dstat.c189 * tests to the random source defined by rs
354 stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials) { argument
359 err = stat_test_rand_source(source);
/external/v8/src/arm/
H A Dlithium-gap-resolver-arm.cc2 // Use of this source code is governed by a BSD-style license that can be
41 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) {
53 DCHECK(moves_[i].source()->IsConstantOperand());
70 // moves to perform, ignoring any move that is redundant (the source is
89 // be encountering the starting move again. So by spilling the source of
92 // its destination. All other moves from the spilled source have been
103 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated.
108 // dependencies. Any unperformed, unpending move with a source the same
116 // and all other moves with the same source as moves_[root_index_] are
126 // In this case, we have a cycle, and we save the source o
160 LOperand* source = moves_[index].source(); local
202 LOperand* source = moves_[index].source(); local
[all...]
/external/v8/src/base/utils/
H A Drandom-number-generator.cc2 // Use of this source code is governed by a BSD-style license that can be
24 void RandomNumberGenerator::SetEntropySource(EntropySource source) { argument
26 entropy_source = source;
31 // Check if embedder supplied an entropy source.
70 // an entropy source using v8::V8::SetEntropySource(),
/external/v8/src/mips64/
H A Dlithium-gap-resolver-mips64.cc2 // Use of this source code is governed by a BSD-style license that can be
31 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) {
43 DCHECK(moves_[i].source()->IsConstantOperand());
54 // moves to perform, ignoring any move that is redundant (the source is
73 // be encountering the starting move again. So by spilling the source of
76 // its destination. All other moves from the spilled source have been
87 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated.
92 // dependencies. Any unperformed, unpending move with a source the same
100 // and all other moves with the same source as moves_[root_index_] are
110 // In this case, we have a cycle, and we save the source o
145 LOperand* source = moves_[index].source(); local
188 LOperand* source = moves_[index].source(); local
[all...]
/external/webrtc/src/common_audio/signal_processing/
H A Dcopy_set_operations.c4 * 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.
53 void WebRtcSpl_MemCpyReversedOrder(WebRtc_Word16* dest, WebRtc_Word16* source, int length) argument
57 WebRtc_Word16* sourcePtr = source;
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPMetaParser.java63 * Parses the input source into an XMP metadata object, including
186 InputSource source = new InputSource(buffer.getByteStream());
189 return parseInputSource(source);
218 source = new InputSource(buffer.getByteStream());
219 return parseInputSource(source);
241 InputSource source = new InputSource(new StringReader(input));
244 return parseInputSource(source);
250 source = new InputSource(new FixASCIIControlsReader(new StringReader(input)));
251 return parseInputSource(source);
263 * @param source a
267 parseInputSource(InputSource source) argument
[all...]
/external/zlib/src/contrib/puff/
H A Dpufftest.c93 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);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar ... public final void addTo (java.lang.Object) Object source protected abstract void doAddTo (java.lang.Object) public
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DSimpleXYSeries.java39 public void onBeforeDraw(Plot source, Canvas canvas) { argument
44 public void onAfterDraw(Plot source, Canvas canvas) { argument
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
H A DPlotTest.java61 public void onBeforeDraw(Plot source, Canvas canvas) {} argument
64 public void onAfterDraw(Plot source, Canvas canvas) {} argument
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3convertutf.c6 * This source code is provided as is by Unicode, Inc. No claims are
31 source sequences, enhanced error detection, added casts
56 const UTF32* source = *sourceStart; local
58 while (source < sourceEnd) {
63 ch = *source++;
68 --source; /* return to the illegal value itself */
86 --source; /* Back up source pointer! */
94 *sourceStart = source;
105 const UTF16* source local
209 const UTF16* source = *sourceStart; local
287 isLegalUTF8(const UTF8 *source, int length) argument
319 isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) argument
333 const UTF8* source = *sourceStart; local
406 const UTF32* source = *sourceStart; local
459 const UTF8* source = *sourceStart; local
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DCheck.cs39 public static void Source (object source) argument
41 if (source == null)
42 throw new ArgumentNullException ("source");
53 public static void SourceAndFuncAndSelector ( object source, object func, object selector) argument
55 if (source == null)
56 throw new ArgumentNullException ("source");
64 public static void SourceAndFunc (object source, object func) argument
66 if (source == null)
67 throw new ArgumentNullException ("source");
72 public static void SourceAndSelector (object source, objec argument
80 SourceAndPredicate(object source, object predicate) argument
96 SourceAndKeySelector(object source, object keySelector) argument
104 SourceAndKeyElementSelectors(object source, object keySelector, object elementSelector) argument
113 SourceAndKeyResultSelectors(object source, object keySelector, object resultSelector) argument
123 SourceAndCollectionSelectorAndResultSelector(object source, object collectionSelector, object resultSelector) argument
133 SourceAndCollectionSelectors(object source, object collectionSelector, object selector) argument
157 GroupBySelectors(object source, object keySelector, object elementSelector, object resultSelector) argument
[all...]
H A DEnumerableExtensions.cs52 public static double Average(IEnumerable<int> source) { argument
53 return Average<int, long, double>(source, delegate(long a, int b) { return a + b; }, delegate(long a, long b) { return (double)a / (double)b; });
56 static TResult Average<TElement, TAggregate, TResult>(IEnumerable<TElement> source,
61 Check.Source(source);
65 foreach (var element in source) {
76 public static double Average(IEnumerable<double> source) { argument
77 return Average<double, double, double>(source, delegate(double a, double b) { return a + b; }, delegate(double a, long b) { return a / b; });
84 public static bool Contains<TSource>(IEnumerable<TSource> source, TSource value) { argument
85 var collection = source as ICollection<TSource>;
89 return Contains<TSource>(source, valu
92 Contains(IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer) argument
108 DefaultIfEmpty(IEnumerable<TSource> source) argument
112 DefaultIfEmpty(IEnumerable<TSource> source, TSource defaultValue) argument
118 CreateDefaultIfEmptyIterator(IEnumerable<TSource> source, TSource defaultValue) argument
133 Max(IEnumerable<int> source) argument
139 Iterate(IEnumerable<T> source, U initValue, Func<T, U, U> selector) argument
156 Min(IEnumerable<int> source) argument
166 Select(IEnumerable<TSource> source, Func<TSource, TResult> selector) argument
172 CreateSelectIterator(IEnumerable<TSource> source, Func<TSource, TResult> selector) argument
177 Select(IEnumerable<TSource> source, Func<TSource, int, TResult> selector) argument
183 CreateSelectIterator(IEnumerable<TSource> source, Func<TSource, int, TResult> selector) argument
195 SelectMany(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> selector) argument
202 SelectMany(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TResult>> selector) argument
208 CreateSelectManyIterator(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> selector) argument
216 CreateSelectManyIterator(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TResult>> selector) argument
229 Sum(IEnumerable<int> source) argument
235 Sum(IEnumerable<TA> source, Func<TR, TA, TR> selector) argument
248 Take(IEnumerable<TSource> source, int count) argument
254 CreateTakeIterator(IEnumerable<TSource> source, int count) argument
271 ToArray(IEnumerable<TSource> source) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
H A DComplexFormat.java249 * @param source the string to parse
254 public Complex parse(String source) throws ParseException { argument
256 Complex result = parse(source, parsePosition);
260 LocalizedFormats.UNPARSEABLE_COMPLEX_NUMBER, source);
268 * @param source the string to parse
272 public Complex parse(String source, ParsePosition pos) { argument
276 parseAndIgnoreWhitespace(source, pos);
279 Number re = parseNumber(source, getRealFormat(), pos);
289 char c = parseNextCharacter(source, pos);
312 parseAndIgnoreWhitespace(source, po
341 parseObject(String source, ParsePosition pos) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DVector3DFormat.java252 * @param source the string to parse
257 public Vector3D parse(String source) throws ParseException { argument
259 Vector3D result = parse(source, parsePosition);
263 LocalizedFormats.UNPARSEABLE_3D_VECTOR, source);
270 * @param source the string to parse
274 public Vector3D parse(String source, ParsePosition pos) { argument
278 parseAndIgnoreWhitespace(source, pos);
279 if (!parseFixedstring(source, trimmedPrefix, pos)) {
284 parseAndIgnoreWhitespace(source, pos);
285 Number x = parseNumber(source, forma
339 parseObject(String source, ParsePosition pos) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DRealVectorFormat.java257 * @param source the string to parse
262 public ArrayRealVector parse(String source) throws ParseException { argument
264 ArrayRealVector result = parse(source, parsePosition);
268 LocalizedFormats.UNPARSEABLE_REAL_VECTOR, source);
275 * @param source the string to parse
279 public ArrayRealVector parse(String source, ParsePosition pos) { argument
283 parseAndIgnoreWhitespace(source, pos);
284 if (!parseFixedstring(source, trimmedPrefix, pos)) {
293 parseAndIgnoreWhitespace(source, pos);
294 if (!parseFixedstring(source, trimmedSeparato
337 parseObject(String source, ParsePosition pos) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
H A DPowellOptimizer.java288 * @param source the array to be copied
292 private double[] copyOf(double[] source, int newLen) { argument
294 System.arraycopy(source, 0, output, 0, Math.min(source.length, newLen));
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DSemiVariance.java154 * Copies source to dest.
155 * <p>Neither source nor dest can be null.</p>
157 * @param source SemiVariance to copy
159 * @throws NullPointerException if either source or dest is null
161 public static void copy(final SemiVariance source, SemiVariance dest) { argument
162 dest.setData(source.getDataRef());
163 dest.biasCorrected = source.biasCorrected;
164 dest.varianceDirection = source.varianceDirection;
H A DVariance.java593 * Copies source to dest.
594 * <p>Neither source nor dest can be null.</p>
596 * @param source Variance to copy
598 * @throws NullPointerException if either source or dest is null
600 public static void copy(Variance source, Variance dest) { argument
601 if (source == null ||
605 dest.setData(source.getDataRef());
606 dest.moment = source.moment.copy();
607 dest.isBiasCorrected = source.isBiasCorrected;
608 dest.incMoment = source
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
H A DPercentile.java482 * Copies source to dest.
483 * <p>Neither source nor dest can be null.</p>
485 * @param source Percentile to copy
487 * @throws NullPointerException if either source or dest is null
489 public static void copy(Percentile source, Percentile dest) { argument
490 dest.setData(source.getDataRef());
491 if (source.cachedPivots != null) {
492 System.arraycopy(source.cachedPivots, 0, dest.cachedPivots, 0, source.cachedPivots.length);
494 dest.quantile = source
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMultidimensionalCounter.java306 * @param source the array to be copied
310 private int[] copyOf(int[] source, int newLen) { argument
312 System.arraycopy(source, 0, output, 0, Math.min(source.length, newLen));

Completed in 836 milliseconds

<<11121314151617181920>>