/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...] |
/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, \
|
/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) {
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
FontScaleActivity.java | 48 TypedArray ta = getTheme().obtainStyledAttributes(attrs, local 51 final int fontPixelSize = ta.getDimensionPixelSize(0, -1); 58 ta.recycle();
|
/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...] |
/packages/apps/Car/Stream/src/com/android/car/stream/media/ |
MediaAppInfo.java | 138 TypedArray ta = null; local 143 ta = theme.obtainStyledAttributes(new int[]{ 150 mPrimaryColor = ta.getColor(0, defaultColor); 151 mAccentColor = ta.getColor(1, defaultColor); 152 mPrimaryColorDark = ta.getColor(2, defaultColor); 156 if (ta != null) { 157 ta.recycle();
|
/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/Settings/src/com/android/settings/search2/ |
XmlParserUtils.java | 75 final TypedArray ta = context.obtainStyledAttributes(attrs, local 77 final int dataIcon = ta.getResourceId(com.android.internal.R.styleable.Icon_icon, 0); 78 ta.recycle(); 91 final TypedArray ta = context.obtainStyledAttributes(set, attrs); local 92 String data = ta.getString(resId); 93 ta.recycle();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidedActionsRelativeLayout.java | 40 TypedArray ta = getContext().getTheme().obtainStyledAttributes( local 42 mKeyLinePercent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 44 ta.recycle();
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
RadioBandButton.java | 69 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.RadioBandButton); local 72 setIsBandSelected(ta.getBoolean(R.styleable.RadioBandButton_isBandSelected, false)); 74 ta.recycle();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
GuidanceRelativeLayout.java | 50 TypedArray ta = context.getTheme().obtainStyledAttributes( local 52 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); 53 ta.recycle();
|
MessagePageFrameLayout.java | 51 TypedArray ta = context.getTheme().obtainStyledAttributes( local 53 float percent = ta.getFloat( 56 ta.recycle();
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
MaxWidthLayout.java | 59 private void initialize(TypedArray ta) { 60 mMaxChildrenWidth = (int) (ta.getDimension(R.styleable.MaxWidthLayout_carMaxWidth, 0)); 61 ta.recycle();
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSYuvTest.java | 98 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); local 99 ta.copyFrom(tmp); 102 syuv.setInput(ta); 125 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); local 138 ta.copyFrom(tmp); 140 syuv.setInput(ta); 164 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); local 175 ta.copyFrom(tmp); 177 syuv.setInput(ta);
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceUtils.java | 562 final TypedArray ta = local 564 info.protocol = ta.getString(R.styleable.EmailServiceInfo_protocol); 565 info.accountType = ta.getString(R.styleable.EmailServiceInfo_accountType); 566 info.name = ta.getString(R.styleable.EmailServiceInfo_name); 567 info.hide = ta.getBoolean(R.styleable.EmailServiceInfo_hide, false); 569 ta.getString(R.styleable.EmailServiceInfo_serviceClass); 570 info.intentAction = ta.getString(R.styleable.EmailServiceInfo_intent); 572 ta.getString(R.styleable.EmailServiceInfo_intentPackage); 574 ta.getBoolean(R.styleable.EmailServiceInfo_defaultSsl, false); 575 info.port = ta.getInteger(R.styleable.EmailServiceInfo_port, 0) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ButteryProgressBar.java | 88 final TypedArray ta = c.obtainStyledAttributes(attrs, R.styleable.ButteryProgressBar); local 90 mBarColor = ta.getColor(R.styleable.ButteryProgressBar_barColor, 92 mSolidBarHeight = ta.getDimensionPixelSize( 95 mSolidBarDetentWidth = ta.getDimensionPixelSize( 99 ta.recycle();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
Utils.java | 186 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); local 187 float alpha = ta.getFloat(0, 0); 188 ta.recycle(); 201 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); local 202 @ColorInt int colorAccent = ta.getColor(0, 0); 203 ta.recycle(); 208 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); local 209 int theme = ta.getResourceId(0, 0); 210 ta.recycle(); 215 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}) local [all...] |