/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
register_liveness.cpp | 21 #include "source/opt/register_pressure.h" 1158 const std::string source = R"( local [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_resource.cc | 161 Status XlaResource::GetOrCreateTensorArrayGradient(const string& source, 165 << " gradient: " << source; local 167 std::unique_ptr<XlaResource>& gradient = tensor_array_gradients_[source]; 217 for (const auto& source : gradient_sources) { 220 GetOrCreateTensorArrayGradient(source, builder, &gradient));
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
generic_transfer_manager.cc | 88 /*source=*/device_buffer.buffer(index), 130 const void* source; local 133 source = subliteral.untyped_data(); 136 /*size=*/GetByteSizeRequirement(device_subshape), source, 142 source = relayed_out_literal.untyped_data(); 145 /*size=*/GetByteSizeRequirement(device_subshape), source,
|
/external/tensorflow/tensorflow/core/lib/strings/ |
str_util_test.cc | 31 string ExpectCUnescapeSuccess(StringPiece source) { 34 EXPECT_TRUE(str_util::CUnescape(source, &dest, &error)) << error; 52 StringPiece source = "llohe"; local 55 EXPECT_TRUE(str_util::CUnescape(source, &dest, &error));
|
/external/turbine/java/com/google/turbine/binder/bound/ |
SourceHeaderBoundClass.java | 29 /** A {@link HeaderBoundClass} that corresponds to a source file being compiled. */ 97 /** The source file. */ 98 public SourceFile source() { method in class:SourceHeaderBoundClass 99 return base.source();
|
/external/turbine/java/com/google/turbine/diag/ |
LineMap.java | 24 /** Converts source positions to line and column information, for diagnostic formatting. */ 27 private final String source; field in class:LineMap 30 private LineMap(String source, ImmutableRangeMap<Integer, Integer> lines) { 31 this.source = source; 35 public static LineMap create(String source) { 39 for (int idx = 0; idx < source.length(); idx++) { 40 char ch = source.charAt(idx); 45 if (idx + 1 < source.length() && source.charAt(idx + 1) == '\n') [all...] |
/external/turbine/java/com/google/turbine/parse/ |
UnicodeEscapePreprocessor.java | 21 /** Preprocesses Unicode escape characters in Java source code, as described in JLS §3.3. */ 26 private final SourceFile source; field in class:UnicodeEscapePreprocessor 33 public UnicodeEscapePreprocessor(SourceFile source) { 34 this.source = source; 35 this.input = source.source(); 134 public SourceFile source() { method in class:UnicodeEscapePreprocessor 135 return source;
|
/external/turbine/javatests/com/google/turbine/binder/ |
BinderErrorTest.java | 576 final String[] source; field in class:BinderErrorTest 579 public BinderErrorTest(String[] source, String[] expected) { 580 this.source = source; 588 ImmutableList.of(parseLines(source)), 593 fail(Joiner.on('\n').join(source));
|
/external/u-boot/drivers/qe/ |
uccf.c | 6 * based on source code of Shlomi Gridish 93 int source = -1; local 109 case QE_BRG1: source = 1; break; 110 case QE_BRG2: source = 2; break; 111 case QE_BRG7: source = 3; break; 112 case QE_BRG8: source = 4; break; 113 case QE_CLK9: source = 5; break; 114 case QE_CLK10: source = 6; break; 115 case QE_CLK11: source = 7; break; 116 case QE_CLK12: source = 8; break [all...] |
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/ |
SwingHelper.java | 25 * @param source The source component 28 public static void addWindowListener(final Component source, final WindowListener listener) { 29 if (source instanceof Window) { 30 ((Window)source).addWindowListener(listener); 32 source.addHierarchyListener(new HierarchyListener() { 35 SwingUtilities.getWindowAncestor(source).addWindowListener(listener);
|
/external/wayland/tests/ |
array-test.c | 105 struct wl_array source; local 109 wl_array_init(&source); 113 int *p = wl_array_add(&source, sizeof(int)); 120 wl_array_copy(©, &source); 125 int *s = (int *)(source.data + index); 133 wl_array_release(&source);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
rtc_event_log_source.cc | 4 * 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. 65 RtcEventLogSource* source = new RtcEventLogSource(); local 66 RTC_CHECK(source->OpenFile(file_name)); 67 return source;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
AesCtrDecryptorUnittest.cpp | 2 * Copyright (C) 2014 The Android Open Source Project 33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, 70 uint8_t source[kTotalSize] = { 0 }; local 82 &source[0], &destination[0], 104 uint8_t source[kTotalSize] = { 0 }; local 116 &source[0], &destination[0],
|
/frameworks/av/media/libstagefright/rtsp/ |
rtp_test.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 176 sp<MediaSource> source = session->trackAt(0); local 179 source, 0 /* flags: ACodec::kPreferSoftwareCodecs */);
|
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 46 // chars in source. 101 CharSequence source = SOURCE_STR; local 103 source = source + "a"; 104 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 105 assertEquals(source.length(), mAlteredCharSequence.length()); 113 CharSequence source = SOURCE_STR; local 114 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 116 assertEquals(source.toString(), mAlteredCharSequence.toString()) 131 CharSequence source = SOURCE_STR; local 146 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...] |
/art/openjdkjvmti/ |
ti_class_definition.cc | 1 /* Copyright (C) 2016 The Android Open Source Project 68 art::MemMap source; local 69 source.swap(temp_mmap_); 71 CHECK(dex_data_mmap_.ReplaceWith(&source, &error)) << "Failed to replace mmap for " 101 // 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/tests/os/src/android/os/cts/ |
EnvironmentTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 63 final String source = fields[0]; local 66 if (source.startsWith("/dev/block/") && !options.startsWith("ro,") 68 fail("Found device mounted at " + source + " without 'noatime' option, " 83 final String source = fields[0]; local 86 if (source.equals("proc") && !options.contains("hidepid=2")) {
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
DexJarMaker.java | 2 * Copyright (C) 2010 The Android Open Source Project 74 * @param source {@code non-null;} dex file to add 78 private void add(File source, JarOutputStream target) throws IOException { 80 if (!source.isFile()) { 81 throw new IllegalArgumentException("Wrong source dex file provided"); 84 BufferedInputStream in = new BufferedInputStream(new FileInputStream(source)); 86 entry.setTime(source.lastModified());
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/androidTest/java/com/example/android/autofill/service/data/source/local/ |
AutofillDaoTest.java | 2 * Copyright 2017, The Android Open Source Project 17 package com.example.android.autofill.service.data.source.local; 24 import com.example.android.autofill.service.data.source.local.db.AutofillDatabase;
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/ |
SharedPrefsPackageVerificationRepository.java | 2 * Copyright (C) 2017 The Android Open Source Project 16 package com.example.android.autofill.service.data.source.local; 23 import com.example.android.autofill.service.data.source.PackageVerificationDataSource;
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/dao/ |
AutofillDao.java | 2 * Copyright (C) 2017 The Android Open Source Project 17 package com.example.android.autofill.service.data.source.local.dao;
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/ |
AutofillDatabase.java | 2 * Copyright (C) 2017 The Android Open Source Project 17 package com.example.android.autofill.service.data.source.local.db; 27 import com.example.android.autofill.service.data.source.DefaultFieldTypesSource; 28 import com.example.android.autofill.service.data.source.local.dao.AutofillDao; 41 import static com.example.android.autofill.service.data.source.local.db.Converters.IntList;
|