/frameworks/compile/libbcc/tools/bcc_compat/ |
Main.cpp | 2 * Copyright 2012, The Android Open Source Project 35 #include <bcc/Source.h> 103 os << "libbcc (The Android Open Source Project, http://www.android.com/):\n" 118 Source *source = Source::CreateFromFile(pContext, input_bitcode); local 119 if (source == nullptr) { 126 if (!result->mergeSource(*source)) { 129 delete source; 133 result = new (std::nothrow) Script(source); [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetShaderSource.cpp | 1 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 13 char *source = (char *) 0; local 31 _exceptionMessage = "source == null"; 43 source = source_base + sourceOffset; 49 (char *)source 66 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 69 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) { 84 reinterpret_cast<char *>(source) 91 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */
|
/hardware/interfaces/gnss/1.1/default/ |
GnssConfiguration.cpp | 53 for (auto source : sourceList) { 54 if (source.svid == 0) { 56 mBlacklistedConstellationSet.insert(source.constellation); 58 mBlacklistedSourceSet.insert(source); 70 BlacklistedSource source = {.constellation = gnssSvInfo.constellation, .svid = gnssSvInfo.svid}; local 71 return (mBlacklistedSourceSet.find(source) != mBlacklistedSourceSet.end());
|
/libcore/luni/src/test/java/libcore/java/util/ |
EventObjectTest.java | 35 Object source = new Object(); local 36 assertSame(source, new EventObject(source).getSource()); 40 assertEquals("java.util.EventObject[source=x]", new EventObject("x").toString()); 46 Object source = new Object(); local 47 EventObject eventObject = new EventObject(source);
|
/libcore/ojluni/src/main/java/java/util/logging/ |
SimpleFormatter.java | 74 * {@link String#format String.format}(format, date, source, logger, level, message, thrown); 84 * <li>{@code source} - a string representing the caller, if available; 112 * the timestamp ({@code 1$}) and the source ({@code 2$}); 142 String source; local 144 source = record.getSourceClassName(); 146 source += " " + record.getSourceMethodName(); 149 source = record.getLoggerName(); 163 source,
|
/prebuilts/ndk/r16/sources/android/ndk_helper/ |
shader.cpp | 2 * Copyright 2013 The Android Open Source Project 81 const GLchar *source, 84 if( source == NULL || iSize <= 0 ) 88 glShaderSource( *shader, 1, &source, &iSize ); //Not specifying 3rd parameter (size) could be troublesome.. 122 const GLchar *source = (GLchar *) &data[0]; local 124 return shader::CompileShader( shader, type, source, iSize );
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
mlsrulequery.py | 37 source The name of the source type/attribute to match. 39 be used on the source type/attribute. 49 source = CriteriaDescriptor("source_regex", "lookup_type_or_attr") variable in class:MLSRuleQuery 71 self.log.debug("Source: {0.source!r}, indirect: {0.source_indirect}, " 89 # Matching on source type 91 if self.source and not match_indirect_regex( 92 rule.source, 93 self.source, [all...] |
terulequery.py | 39 source The name of the source type/attribute to match. 44 be used on the source type/attribute. 86 source = CriteriaDescriptor("source_regex", "lookup_type_or_attr") variable in class:TERuleQuery 133 self.log.debug("Source: {0.source!r}, indirect: {0.source_indirect}, " 153 # Matching on source type 155 if self.source and not match_indirect_regex( 156 rule.source, 157 self.source, [all...] |
/system/update_engine/update_manager/ |
generic_variables_unittest.cc | 2 // Copyright (C) 2014 The Android Open Source Project 40 int source = 5; local 41 PollCopyVariable<int> var("var", source); 49 // Assign a different value to the source variable. 50 source = 42; 61 int source = 5; local 63 PollCopyVariable<int> var("var", source, &is_set); 90 const CopyConstructorTestClass source; local 91 ASSERT_FALSE(source.copied_); 93 PollCopyVariable<CopyConstructorTestClass> var("var", source); 104 int source = 5; local [all...] |
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
DeviceInfo.java | 2 * Copyright (C) 2016 The Android Open Source Project 55 FileInputStreamSource source = null; local 68 source = new FileInputStreamSource(jsonFile); 69 mLogger.addTestLog(deviceInfoName, LogDataType.TEXT, source); 76 StreamUtil.close(source);
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/ |
DeflateExecutionCompressor.java | 2 * Copyright (C) 2016 The Android Open Source Project 65 protected CompressionResult immediateCompress(@Nonnull CloseableByteSource source) 71 dos.write(source.read()); 75 if (result.size() >= source.size()) { 76 return new CompressionResult(source, CompressionMethod.STORE, source.size());
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
FilePullerLogCollector.java | 2 * Copyright (C) 2018 The Android Open Source Project 53 try (InputStreamSource source = new FileInputStreamSource(metricFile, true)) { 60 testLog(metricFile.getName(), type, source); local
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
FileMetadataCollector.java | 2 * Copyright (C) 2016 The Android Open Source Project 56 public void testLogSaved(String dataName, LogDataType dataType, InputStreamSource source, 73 InputStreamSource source = local 77 stream = source.createInputStream(); 83 StreamUtil.cancel(source);
|
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 45 // chars in source. 100 CharSequence source = SOURCE_STR; local 102 source = source + "a"; 103 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 104 assertEquals(source.length(), mAlteredCharSequence.length()); 112 CharSequence source = SOURCE_STR; local 113 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 115 assertEquals(source.toString(), mAlteredCharSequence.toString()) 130 CharSequence source = SOURCE_STR; local 145 CharSequence source = SOURCE_STR; local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTester.java | 41 * Generates tests of a all methods on a {@code ByteSource} given various inputs the source is 96 private ByteSource source; field in class:ByteSourceTester 105 source = factory.createSource(data); 109 InputStream in = source.openStream(); 119 InputStream in = source.openBufferedStream(); 129 byte[] readBytes = source.read(); 135 source.copyTo(out); 142 source.copyTo(new ByteSink() { 152 assertEquals(expected.length == 0, source.isEmpty()); 156 assertEquals(expected.length, source.size()) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SourceChannelTest.java | 40 private Pipe.SourceChannel source; field in class:SourceChannelTest 50 source = pipe.source(); 60 assertEquals(SelectionKey.OP_READ, source.validOps()); 69 int count = source.read(ByteBuffer.allocate(10)); 79 source.read(nullBuf); 93 long count = source.read(readBuf); 96 count = source.read(readBuf); 100 count = source.read(readBuf); 109 source.close() [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixCopyFile.java | 126 // copy directory from source to target 127 private static void copyDirectory(UnixPath source, 179 sfd = open(source, O_RDONLY, 0); 182 x.rethrowAsIOException(source); 185 source.getFileSystem().copyNonPosixAttributes(sfd, dfd); 218 // copy regular file from source to target 219 private static void copyFile(UnixPath source, 228 fi = open(source, O_RDONLY, 0); 230 x.rethrowAsIOException(source); 253 x.rethrowAsIOException(source, target) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 2 * Copyright (C) 2009 The Android Open Source Project 87 // Create fallback contacts source for on-phone contacts 113 for (ContactsSource source : sources) { 114 addSource(source); 118 protected void addSource(ContactsSource source) { 119 mSources.put(source.accountType, source); 120 mKnownPackages.add(source.resPackageName); 146 // Invalidate cache of existing source 149 // Unknown source, so reload from scratc 207 ContactsSource source; local 256 final ContactsSource source = getInflatedSource(account.type, local 279 final ContactsSource source = mSources.get(accountType); local 303 ContactsSource source = mSources.get(accountType); local [all...] |
/prebuilts/tools/common/m2/repository/org/apache/maven/maven-model/3.3.9/ |
maven-model-3.3.9.jar | |
/prebuilts/tools/common/m2/repository/org/apache/maven/maven-model/3.2.1/ |
maven-model-3.2.1.jar | |
/art/openjdkjvmti/ |
ti_class_definition.cc | 1 /* Copyright (C) 2016 The Android Open Source Project 66 art::MemMap* source = temp_mmap_.release(); local 68 CHECK(dex_data_mmap_->ReplaceWith(&source, &error)) << "Failed to replace mmap for " 98 // from some other source so we need to initialize everything to see if it is the same.
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_addrtype.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 43 __u16 source; member in struct:xt_addrtype_info_v1 48 __u16 source; member in struct:xt_addrtype_info
|
/build/make/tools/droiddoc/templates-pdk/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<
|
/cts/tests/jank/src/android/jank/cts/ |
CtsJankTestBase.java | 2 * Copyright (C) 2015 The Android Open Source Project 36 String source = String.format("%s#%s", getClass().getCanonicalName(), getName()); local 37 mLog.addValue(source, "frame_fps", 40 mLog.addValue(source, "frame_max_frame_duration", 43 mLog.addValue(source, "frame_max_jank",
|
/cts/tests/tests/os/src/android/os/cts/ |
EnvironmentTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 58 final String source = fields[0]; local 61 if (source.startsWith("/dev/block/") && !options.startsWith("ro,") 63 fail("Found device mounted at " + source + " without 'noatime' option, "
|