| /device/google/contexthub/util/nanotool/ |
| nanomessage.cpp | 2 * Copyright (C) 2016 The Android Open Source Project 38 const VersionInfo *source = reinterpret_cast<const VersionInfo *>(data); local 39 info = *source; 78 const Response *source = reinterpret_cast<const Response *>(data); local 79 response = *source;
|
| /external/antlr/antlr-3.4/runtime/C/src/ |
| antlr3convertutf.c | 6 * This source code is provided as is by Unicode, Inc. No claims are 25 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 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 = *sourceStart; local 209 const UTF16* source = *sourceStart; local 333 const UTF8* source = *sourceStart; local 406 const UTF32* source = *sourceStart; local 459 const UTF8* source = *sourceStart; local [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
| FirstMoment.java | 146 * Copies source to dest. 147 * <p>Neither source nor dest can be null.</p> 149 * @param source FirstMoment to copy 151 * @throws NullPointerException if either source or dest is null 153 public static void copy(FirstMoment source, FirstMoment dest) { 154 dest.setData(source.getDataRef()); 155 dest.n = source.n; 156 dest.m1 = source.m1; 157 dest.dev = source.dev; 158 dest.nDev = source.nDev [all...] |
| GeometricMean.java | 181 * Copies source to dest. 182 * <p>Neither source nor dest can be null.</p> 184 * @param source GeometricMean to copy 186 * @throws NullPointerException if either source or dest is null 188 public static void copy(GeometricMean source, GeometricMean dest) { 189 dest.setData(source.getDataRef()); 190 dest.sumOfLogs = source.sumOfLogs.copy();
|
| Mean.java | 260 * Copies source to dest. 261 * <p>Neither source nor dest can be null.</p> 263 * @param source Mean to copy 265 * @throws NullPointerException if either source or dest is null 267 public static void copy(Mean source, Mean dest) { 268 dest.setData(source.getDataRef()); 269 dest.incMoment = source.incMoment; 270 dest.moment = source.moment.copy();
|
| StandardDeviation.java | 259 * Copies source to dest. 260 * <p>Neither source nor dest can be null.</p> 262 * @param source StandardDeviation to copy 264 * @throws NullPointerException if either source or dest is null 266 public static void copy(StandardDeviation source, StandardDeviation dest) { 267 dest.setData(source.getDataRef()); 268 dest.variance = source.variance.copy();
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
| Max.java | 151 * Copies source to dest. 152 * <p>Neither source nor dest can be null.</p> 154 * @param source Max to copy 156 * @throws NullPointerException if either source or dest is null 158 public static void copy(Max source, Max dest) { 159 dest.setData(source.getDataRef()); 160 dest.n = source.n; 161 dest.value = source.value;
|
| Min.java | 151 * Copies source to dest. 152 * <p>Neither source nor dest can be null.</p> 154 * @param source Min to copy 156 * @throws NullPointerException if either source or dest is null 158 public static void copy(Min source, Min dest) { 159 dest.setData(source.getDataRef()); 160 dest.n = source.n; 161 dest.value = source.value;
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/ |
| Product.java | 211 * Copies source to dest. 212 * <p>Neither source nor dest can be null.</p> 214 * @param source Product to copy 216 * @throws NullPointerException if either source or dest is null 218 public static void copy(Product source, Product dest) { 219 dest.setData(source.getDataRef()); 220 dest.n = source.n; 221 dest.value = source.value;
|
| Sum.java | 207 * Copies source to dest. 208 * <p>Neither source nor dest can be null.</p> 210 * @param source Sum to copy 212 * @throws NullPointerException if either source or dest is null 214 public static void copy(Sum source, Sum dest) { 215 dest.setData(source.getDataRef()); 216 dest.n = source.n; 217 dest.value = source.value;
|
| SumOfLogs.java | 153 * Copies source to dest. 154 * <p>Neither source nor dest can be null.</p> 156 * @param source SumOfLogs to copy 158 * @throws NullPointerException if either source or dest is null 160 public static void copy(SumOfLogs source, SumOfLogs dest) { 161 dest.setData(source.getDataRef()); 162 dest.n = source.n; 163 dest.value = source.value;
|
| SumOfSquares.java | 141 * Copies source to dest. 142 * <p>Neither source nor dest can be null.</p> 144 * @param source SumOfSquares to copy 146 * @throws NullPointerException if either source or dest is null 148 public static void copy(SumOfSquares source, SumOfSquares dest) { 149 dest.setData(source.getDataRef()); 150 dest.n = source.n; 151 dest.value = source.value;
|
| /external/apache-http/android/src/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...] |
| /external/bison/src/ |
| graphviz.c | 69 output_edge (int source, int destination, char const *label, 72 fprintf (fout, " %d -> %d [style=%s", source, destination, style); 100 conclude_red (struct obstack *out, int source, rule_number ruleno, 113 with n the source state and m the rule number. This is because we 117 source, ruleno, ed); 133 source, ruleno, ed); 160 int source = s->number; local 206 conclude_red (&dout, source, ruleno, false, firstd, fout); 207 conclude_red (&eout, source, ruleno, true, firste && !defaulted, fout);
|
| location.c | 146 FILE *source; member in struct:caret_info 156 if (caret_info.source) 157 fclose (caret_info.source); 165 if (! (caret_info.source 166 || (caret_info.source = fopen (loc.start.file, "r"))) 174 fseek (caret_info.source, caret_info.offset, SEEK_SET); 179 fseek (caret_info.source, caret_info.offset, SEEK_SET); 184 caret_info.line += fgetc (caret_info.source) == '\n'; 185 caret_info.offset = ftell (caret_info.source); 192 ssize_t len = getline (&buf, &size, caret_info.source); [all...] |
| /external/deqp/modules/gles31/functional/ |
| es31fNegativePreciseTests.cpp | 5 * Copyright 2016 The Android Open Source Project 67 std::ostringstream source; local 69 source << glu::getGLSLVersionDeclaration(version) << "\n" 74 case TEST_PRECISE_AS_MACRO_NAME: source << "#define precise 0\n"; break; 78 case TEST_PRECISE_MACRO_AND_ARGUMENT: source << "#define precise aName\n"; break; 86 source << (isES32 ? "" : "#extension GL_EXT_geometry_shader : enable\n") 91 source << (isES32 ? "" : "#extension GL_EXT_tessellation_shader : enable\n") 96 source << (isES32 ? "" : "#extension GL_EXT_tessellation_shader : enable\n") 108 source << "\n" 116 source << "\n 147 const char* const source = shaderSource.c_str(); local [all...] |
| /external/doclava/res/assets/templates/assets/ |
| prettify.js | 13 a.tagName.toLowerCase();b.push(I,c);for(var d=0;d<a.attributes.length;++d){var g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);for(var i=a.firstChild;i;i=i.nextSibling)W(i,b);if(a.firstChild||!/^(?:br|link|img)$/.test(c))b.push(zb,c,J);break;case 2:b.push(a.name.toLowerCase(),Ab,Ld(a.value),wb);break;case 3:case 4:b.push(ga(a.nodeValue));break}}function Na(a){for(var b=0,c=z,d=z,g=0,i=a.length;g<i;++g){var m=a[g];if(m.ignoreCase)d=o;else if(/[a-z]/i.test(m.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, 16 Pa[0]||Pa[1]-Oa[1]});var B=[],E=[NaN,NaN];for(e=0;e<k.length;++e){var A=k[e];if(A[0]<=E[1]+1)E[1]=Math.max(E[1],A[1]);else B.push(E=A)}var D=[L];h&&D.push(M);D.push.apply(D,s);for(e=0;e<B.length;++e){A=B[e];D.push(n(A[0]));if(A[1]>A[0]){A[1]+1>A[0]&&D.push(Sb);D.push(n(A[1]))}}D.push(Tb);return D.join(P)}function v(j){var f=j.source.match(new RegExp(cc,R)),s=f.length,k=[],h,e=0;for(h=0;e<s;++e){var p=f[e];if(p===H)++h;else if(Q===p.charAt(0)){var t=+p.substring(1);if(t&&t<=h)k[t]=-1}}for(e=1;e<k.length;++e)if(-1=== 20 m;++v){var w=b[v].match(Qa);if(w&&w[2]===n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,v+1).join(P));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);d+=j.length}}return{source:c.join(P),tags:g}}function $d(a){return!!a.replace(/\s(\w+)\s*=\s*(?:\"([^\"]*)\"|'([^\']*)'|(\S+))/g,mc).match(/[cC][lL][aA][sS][sS]=\"[^\"]*\bnocode\b/)}function ia(a,b,c,d){if(b){var g={source:b,b:a};c(g);d.push.apply(d,g.c)}}function K(a,b){var c={},d;(function(){for(var m=a.concat(b), property in class:var.g 21 l=[],n={},q=0,v=m.length;q<v;++q){var w=m[q],j=w[3];if(j)for(var f=j.length;--f>=0;)c[j.charAt(f)]=w;var s=w[1],k=P+s;if(!n.hasOwnProperty(k)){l.push(s);n[k]=r}}l.push(/[\0-\uffff]/);d=Na(l)})();var g=b.length,i=function(m){for(var l=m.source,n=m.b,q=[n,S],v=0,w=l.match(d)||[],j={},f=0,s=w.length;f<s;++f){var k=w[f],h=j[k],e,p;if(typeof h===nc)p=z;else{var t=c[k.charAt(0)];if(t){e=k.match(t[1]);h=t[0]}else{for(var u=0;u<g;++u){t=b[u];if(e=k.match(t[1])){h=t[0];break}}e||(h=S)}if((p=h.length>=5&&T=== 24 a.keywords.replace(/^\s+|\s+$/g,P);d.length&&c.push([uc,new RegExp(vc+d.replace(/\s+/g,O)+wc),r]);b.push([S,/^\s+/,r,xc]);c.push([yc,/^@[a-z_$][a-z_$@0-9]*/i,r,Ia],[zc,/^@?[A-Z]+[a-z][A-Za-z_$@0-9]*/,r],[S,/^[a-z_$][a-z_$@0-9]*/i,r],[yc,/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,r,Ac],[Y,/^.[^\s\w\.$@\'\"\`\/\#]*/,r]);return K(b,c)}var ae=C({keywords:Bc,hashComments:o,cStyleComments:o,multiLineStrings:o,regexLiterals:o});function be(a){var b=a.source,c=a.f,d=a.c, 29 [zd]);y(C({keywords:Ad,cStyleComments:o,regexLiterals:o}),[Bd]);y(K([],[[U,/^[\s\S]+/]]),[Cd]);function Sa(a){var b=a.e,c=a.d;a.a=b;try{var d=Zd(b),g=d.source;a.source=g;a.b=0;a.f=d.tags;Ra(c,g)(a);be(a)}catch(i){if(Ic in window){console.log(i);console.h()}}}function ce(a,b){var c={e:a,d:b};Sa(c);return c.a}function de(a){for(var b=window._pr_isIE6(),c=[document.getElementsByTagName(Dd),document.getElementsByTagName(Ed),document.getElementsByTagName(Fd)],d=[],g=0;g<c.length;++g)for(var i=0,m=c[g].length;i<
|
| /external/freetype/src/base/ |
| ftglyph.c | 99 FT_BitmapGlyph source = (FT_BitmapGlyph)bitmap_source; local 103 target->left = source->left; 104 target->top = source->top; 106 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap ); 166 FT_Outline* source = &slot->outline; local 179 (FT_UInt)source->n_points, 180 source->n_contours, 185 FT_Outline_Copy( source, target ); 206 FT_OutlineGlyph source = (FT_OutlineGlyph)outline_source; local 209 FT_Library library = FT_GLYPH( source )->library [all...] |
| /external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
| MultimapPutAllMultimapTester.java | 57 Multimap<K, V> source = getSubjectGenerator().create( local 60 assertTrue(multimap().putAll(source)); 67 Multimap<K, V> source = getSubjectGenerator().create( local 69 assertTrue(multimap().putAll(source)); 75 Multimap<K, V> source = getSubjectGenerator().create( local 77 assertTrue(multimap().putAll(source)); 83 Multimap<K, V> source = getSubjectGenerator().create( local 86 multimap().putAll(source); 94 Multimap<K, V> source = getSubjectGenerator().create( local 97 multimap().putAll(source); 105 Multimap<K, V> source = getSubjectGenerator().create( local [all...] |
| /external/guava/guava-tests/test/com/google/common/io/ |
| ByteSourceTest.java | 63 private TestByteSource source; field in class:ByteSourceTest 67 source = new TestByteSource(bytes); 71 InputStream in = source.openBufferedStream(); 72 assertTrue(source.wasStreamOpened()); 73 assertFalse(source.wasStreamClosed()); 80 assertTrue(source.wasStreamClosed()); 85 assertEquals(bytes.length, source.size()); 86 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); 98 assertEquals(bytes.length, source.copyTo(out)) 232 ByteSource source = new TestByteSource(newPreFilledByteArray(input)); local 303 ByteSource source = ByteSource.wrap(new byte[] {0, 1, 2, 3}); local [all...] |
| CharSourceTest.java | 60 private TestCharSource source; field in class:CharSourceTest 64 source = new TestCharSource(STRING); 68 BufferedReader reader = source.openBufferedStream(); 69 assertTrue(source.wasStreamOpened()); 70 assertFalse(source.wasStreamClosed()); 81 assertTrue(source.wasStreamClosed()); 88 assertEquals(STRING.length(), source.copyTo(builder)); 89 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); 99 assertEquals(STRING.length(), source.copyTo(sink)) 225 CharSource source = CharSource.wrap("abcd"); local [all...] |
| MultiInputStreamTest.java | 49 final ByteSource source = newByteSource(0, 50); local 55 throw new IllegalStateException("More than one source open"); 57 return new FilterInputStream(source.openStream()) { 81 ByteSource source = newByteSource(0, 10); local 82 ByteSource joined = ByteSource.concat(source, source);
|
| MultiReaderTest.java | 35 final CharSource source = newCharSource(testString); local 41 throw new IllegalStateException("More than one source open"); 43 return new FilterReader(source.openStream()) { 57 CharSource source = newCharSource("a"); local 58 Iterable<? extends CharSource> list = ImmutableList.of(source, source); 70 CharSource source = newCharSource(testString); local 71 Reader joinedReader = CharSource.concat(source, source).openStream(); 105 CharSource source = newCharSource("a") [all...] |
| /external/guice/core/src/com/google/inject/internal/ |
| BindingImpl.java | 34 private final Object source; field in class:BindingImpl 38 public BindingImpl(InjectorImpl injector, Key<T> key, Object source, 42 this.source = source; 47 protected BindingImpl(Object source, Key<T> key, Scoping scoping) { 50 this.source = source; 60 return source; 112 .add("source", source) [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/util/ |
| ByteArrayWrapper.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 69 * @param source the ByteBuffer from which to get the data. 71 public ByteArrayWrapper(ByteBuffer source) { 72 size = source.limit(); 74 source.get(bytes,0,size); 80 public ByteArrayWrapper(ByteArrayWrapper source) { 81 size = source.size; 83 copyBytes(source.bytes, 0, bytes, 0, size); 126 * @param src source byte array to copy from 152 * @param src source byte array to copy fro [all...] |