/external/tensorflow/tensorflow/python/kernel_tests/ |
tensor_array_ops_test.py | 79 ta = tensor_array_ops.TensorArray( 85 w0 = ta.write(0, [[4.0, 5.0]]) 100 ta = tensor_array_ops.TensorArray( 105 w0 = ta.write(0, convert([[4.0, 5.0]])) 131 ta = tensor_array_ops.TensorArray( 135 w0 = ta.write(0, empty_element) 146 ta = tensor_array_ops.TensorArray( 151 w0 = ta.write(0, convert([[4.0, 5.0], [104.0, 105.0], [204.0, 205.0]])) 174 ta = tensor_array_ops.TensorArray( 179 self.assertAllEqual([[0.0, 0.0]], self.evaluate(ta.read(0)) [all...] |
/frameworks/layoutlib/bridge/src/android/content/res/ |
Resources_Theme_Delegate.java | 59 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( local 61 ta.setTheme(thisTheme); 63 return ta; 72 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( local 74 ta.setTheme(thisTheme); 76 return ta; 84 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes(set, local 86 ta.setTheme(thisTheme); 88 return ta;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/ |
threads_scenarii.c | 30 pthread_attr_t ta; member in struct:__scenario 227 ret = pthread_attr_init(&scenarii[i].ta); 234 ret = pthread_attr_setdetachstate(&scenarii[i].ta, 240 pthread_attr_getdetachstate(&scenarii[i].ta, &old); 261 [i].ta, 266 [i].ta, 284 pthread_attr_setschedpolicy(&scenarii[i].ta, 288 pthread_attr_setschedpolicy(&scenarii[i].ta, 310 pthread_attr_getschedpolicy(&scenarii[i].ta, &old); 320 ret = pthread_attr_setschedparam(&scenarii[i].ta, &sp) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
threads_scenarii.c | 28 pthread_attr_t ta; member in struct:__scenario 175 ret = pthread_attr_init(&scenarii[i].ta); 184 pthread_attr_setdetachstate(&scenarii[i].ta, 191 pthread_attr_getdetachstate(&scenarii[i].ta, &old); 210 ta, 215 ta, 234 pthread_attr_setschedpolicy(&scenarii[i].ta, 239 pthread_attr_setschedpolicy(&scenarii[i].ta, 263 pthread_attr_getschedpolicy(&scenarii[i].ta, &old); 274 ret = pthread_attr_setschedparam(&scenarii[i].ta, &sp) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
threads_scenarii.c | 28 pthread_attr_t ta; member in struct:__scenario 175 ret = pthread_attr_init(&scenarii[i].ta); 184 pthread_attr_setdetachstate(&scenarii[i].ta, 191 pthread_attr_getdetachstate(&scenarii[i].ta, &old); 210 ta, 215 ta, 234 pthread_attr_setschedpolicy(&scenarii[i].ta, 239 pthread_attr_setschedpolicy(&scenarii[i].ta, 263 pthread_attr_getschedpolicy(&scenarii[i].ta, &old); 274 ret = pthread_attr_setschedparam(&scenarii[i].ta, &sp) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
threads_scenarii.c | 28 pthread_attr_t ta; member in struct:__scenario 242 ret = pthread_attr_init(&scenarii[i].ta); 251 pthread_attr_setdetachstate(&scenarii[i].ta, 258 pthread_attr_getdetachstate(&scenarii[i].ta, &old); 277 ta, 282 ta, 301 pthread_attr_setschedpolicy(&scenarii[i].ta, 306 pthread_attr_setschedpolicy(&scenarii[i].ta, 330 pthread_attr_getschedpolicy(&scenarii[i].ta, &old); 341 ret = pthread_attr_setschedparam(&scenarii[i].ta, &sp) [all...] |
/system/sepolicy/tests/ |
mini_parser.py | 54 ta = m.group(1) 59 if self.typeattributesets.get(ta) is None: 60 self.typeattributesets[ta] = set() 61 self.typeattributesets[ta].update(set(tas)) 65 self.rTypeattributesets[t].update(set(ta)) 68 pub = re.match(r"(\w+)_\d+_\d+", ta)
|
/external/jemalloc/test/unit/ |
atomic.c | 11 #define TEST_BODY(p, t, tc, ta, FMT) do { \ 35 assert_##ta##_eq(atomic_read_##p(&accum), \ 39 assert_##ta##_eq(atomic_add_##p(&accum, tests[i].x), \ 43 assert_##ta##_eq(atomic_read_##p(&accum), accum, \ 47 assert_##ta##_eq(atomic_sub_##p(&accum, tests[i].x), \ 51 assert_##ta##_eq(atomic_read_##p(&accum), accum, \ 58 assert_##ta##_eq(accum, err ? tests[i].accum0 : \ 63 assert_##ta##_eq(accum, tests[i].s, \
|
/system/libvintf/include/vintf/ |
ManifestInstance.h | 40 ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt); 41 ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, HalFormat fmt);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
YuvTest.java | 112 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); local 113 ta.copyFrom(tmp); 116 syuv.setInput(ta); 129 ta.destroy(); 151 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); local 162 ta.copyFrom(tmp); 166 syuv.setInput(ta); 170 script.set_mInput(ta); 180 ta.destroy(); 202 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT) local 254 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); local 301 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); local [all...] |
/bionic/libc/dns/nameser/ |
ns_samedomain.c | 200 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local 202 if (ns_makecanon(a, ta, sizeof ta) < 0 || 205 if (strcasecmp(ta, tb) == 0)
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
CustomDrawableTest.java | 64 final TypedArray ta; local 66 ta = theme.obtainStyledAttributes(attrs, ATTRS, 0, 0); 68 ta = r.obtainAttributes(attrs, ATTRS); 71 mColor = ta.getColor(0, Color.BLACK);
|
/external/testng/src/test/java/test/junit4/ |
JUnit4Sample2.java | 15 public static final String[] SKIPPED = {"t3", "ta"}; 37 public void ta() { method in class:JUnit4Sample2
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue15439.go | 15 ta := reflect.TypeOf(a) 22 if !tb.AssignableTo(ta) {
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue15439.go | 15 ta := reflect.TypeOf(a) 22 if !tb.AssignableTo(ta) {
|
/system/libvintf/ |
ManifestInstance.cpp | 39 ManifestInstance::ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt) 40 : mFqInstance(std::move(fqInstance)), mTransportArch(std::move(ta)), mHalFormat(fmt) {} 41 ManifestInstance::ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, 43 : mFqInstance(fqInstance), mTransportArch(ta), mHalFormat(fmt) {}
|
/cts/tests/framework/base/activitymanager/app/src/android/server/am/ |
FontScaleActivity.java | 47 TypedArray ta = getTheme().obtainStyledAttributes(attrs, local 50 final int fontPixelSize = ta.getDimensionPixelSize(0, -1); 57 ta.recycle();
|
/external/tensorflow/tensorflow/python/ops/ |
tensor_array_ops.py | 222 ta = TensorArray( 226 ta._element_shape = self._element_shape 227 ta._colocate_with = self._colocate_with 228 return ta 279 ta = TensorArray( 282 ta._infer_shape = self._infer_shape 283 ta._element_shape = self._element_shape 284 ta._colocate_with = self._colocate_with 285 return ta 350 ta = TensorArray [all...] |
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
SliceViewUtil.java | 88 TypedArray ta = context.obtainStyledAttributes(new int[] { local 91 float alpha = ta.getFloat(0, 0); 92 ta.recycle(); 109 TypedArray ta = context.obtainStyledAttributes(new int[] { local 112 @ColorInt int colorAccent = ta.getColor(0, 0); 113 ta.recycle(); 120 TypedArray ta = context.obtainStyledAttributes(new int[] { local 123 int theme = ta.getResourceId(0, 0); 124 ta.recycle(); 131 TypedArray ta = context.obtainStyledAttributes(new int[] local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
TrustAnchorTest.java | 114 TrustAnchor ta = new TrustAnchor(validCaNameRfc2253, pk, ncCopy); local 119 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); 225 TrustAnchor ta = new TrustAnchor(new X500Principal(validCaNameRfc2253), local 231 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); 417 TrustAnchor ta = local 419 assertEquals("equals1", pk, ta.getCAPublicKey()); 422 ta = new TrustAnchor(x500p, pk, null); 423 assertEquals("equals2", pk, ta.getCAPublicKey()); 440 TrustAnchor ta = local 442 assertEquals("equals1", validCaNameRfc2253, ta.getCAName()) 463 TrustAnchor ta = local 568 TrustAnchor ta = local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
3-2.c | 176 0 if a thread created with the attribute ta is able to fill the stack up to {minstacksize}. 180 If newsize is not 0, the stack size in ta will be set to this value once the thread is created. 183 int test_stack(pthread_attr_t * ta, size_t newsize) 255 ret = pthread_create(&th, ta, overflow, NULL); /* Create a new thread with the same attributes */ 261 /* If we were asked to perform a change on ta, do it now. */ 263 ret = pthread_attr_setstacksize(ta, newsize); 288 if (ta != NULL) { 289 ret = pthread_attr_getdetachstate(ta, &detach); 444 test_stack(&scenarii[sc].ta, 483 pthread_attr_setstacksize(&scenarii[sc].ta, [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/ |
EventState.java | 214 double ta = t0; local 246 // - there was an event near ta, 247 // - there is another event between ta and tb 248 // - when ta was computed, convergence was reached on the "wrong side" of the interval 250 // shift ta to make sure ga and gb get opposite signs and the solver won't complain 254 ta += epsilon; 256 ga = f.value(ta); 269 root = (ta <= tb) ? 270 solver.solve(maxIterationCount, f, ta, tb) : 271 solver.solve(maxIterationCount, f, tb, ta); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
1-3.c | 119 pthread_attr_t ta; local 129 ret = pthread_attr_init(&ta); 135 ret = pthread_attr_setinheritsched(&ta, PTHREAD_EXPLICIT_SCHED); 141 ret = pthread_attr_setschedpolicy(&ta, SCHED_RR); 153 ret = pthread_attr_setschedparam(&ta, &sp); 159 ret = pthread_create(&child, &ta, threaded, &bar);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
stress.c | 160 pthread_attr_t ta[4]; local 225 ret = pthread_attr_init(&ta[i]); 233 pthread_attr_setinheritsched(&ta[i], 243 ret = pthread_attr_setschedparam(&ta[i], &sp); 250 ret = pthread_attr_setschedpolicy(&ta[i], td[i].policy); 257 ret = pthread_create(&td[i].thread, &ta[i], rt_thread, &bar);
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
XmlParserUtils.java | 97 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.Preference); local 98 final int dataIcon = ta.getResourceId(R.styleable.Preference_android_icon, 0); 99 ta.recycle(); 113 final TypedArray ta = context.obtainStyledAttributes(set, attrs); local 114 String data = ta.getString(resId); 115 ta.recycle();
|