| /frameworks/base/core/java/android/content/res/ |
| Configuration.java | 404 public static String configurationDiffToString(int diff) { 406 if ((diff & ActivityInfo.CONFIG_MCC) != 0) { 409 if ((diff & ActivityInfo.CONFIG_MNC) != 0) { 412 if ((diff & ActivityInfo.CONFIG_LOCALE) != 0) { 415 if ((diff & ActivityInfo.CONFIG_TOUCHSCREEN) != 0) { 418 if ((diff & ActivityInfo.CONFIG_KEYBOARD) != 0) { 421 if ((diff & ActivityInfo.CONFIG_KEYBOARD_HIDDEN) != 0) { 424 if ((diff & ActivityInfo.CONFIG_NAVIGATION) != 0) { 427 if ((diff & ActivityInfo.CONFIG_ORIENTATION) != 0) { 430 if ((diff & ActivityInfo.CONFIG_SCREEN_LAYOUT) != 0) 1428 public int diff(Configuration delta) { method in class:Configuration 1449 public int diff(Configuration delta, boolean compareUndefined, boolean publicOnly) { method in class:Configuration 1594 int diff = other.seq - seq; local [all...] |
| /frameworks/base/core/java/android/os/ |
| WorkSource.java | 184 if (diff(other)) { 224 public boolean diff(WorkSource other) { method in class:WorkSource 424 int diff = mNames[i].compareTo(name); local 425 if (diff > 0) { 428 if (diff == 0) { 694 final int diff = mUids[i1] - other.mUids[i2]; local 695 if (diff != 0) { 696 return diff; 720 int diff = -1; local 721 if (i1 >= mNum || (i2 < N2 && (diff=compare(other, i1, i2)) > 0)) [all...] |
| /external/python/cpython2/Modules/ |
| audioop.c | 648 int diff, prevdiff, nextreme = 0; local 665 diff = val < prevval; 666 if (prevdiff == !diff) { 678 prevdiff = diff; 699 int diff, prevdiff; local 716 diff = val < prevval; 717 if (prevdiff == !diff) { 735 prevdiff = diff; 1412 index, sign, vpdiff, diff; local [all...] |
| /build/soong/jar/ |
| jar.go | 41 diff := index(filepathA) - index(filepathB) 42 if diff == 0 { 45 return diff < 0
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
| WNafUtil.java | 31 BigInteger diff = _3k.xor(k); local 36 if (!diff.testBit(i)) 197 BigInteger diff = _3k.xor(k); local 201 if (diff.testBit(i)) 295 BigInteger diff = _3k.xor(k); local 297 return diff.bitCount();
|
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| MultisetsTest.java | 163 Multiset<String> diff = Multisets.difference(ms1, ms2); local 164 assertThat(diff).has().item("a"); 165 assertEquals(0, diff.count("b")); 166 assertEquals(1, diff.count("a")); 167 assertFalse(diff.contains("b")); 168 assertTrue(diff.contains("a"));
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| MultisetsTest.java | 165 Multiset<String> diff = Multisets.difference(ms1, ms2); local 166 assertThat(diff).has().item("a"); 167 assertEquals(0, diff.count("b")); 168 assertEquals(1, diff.count("a")); 169 assertFalse(diff.contains("b")); 170 assertTrue(diff.contains("a"));
|
| /external/libevent/test/ |
| test-ratelim.c | 436 double diff = expected_total_persec - local 438 printf(" [Off by %lf]\n", diff); 440 fabs(diff) > cfg_grouplimit_tolerance) { 449 double diff = expected_avg_persec - (((double)total_received)/cfg_duration)/cfg_n_connections; local 450 printf(" [Off by %lf]\n", diff); 452 fabs(diff) > cfg_connlimit_tolerance) {
|
| /external/libnl/python/netlink/route/ |
| address.py | 76 diff = self.ifindex - other.ifindex 78 if diff == 0: 79 diff = self.family - other.family 80 if diff == 0: 81 diff = capi.nl_addr_cmp(self.local, other.local) 83 return diff
|
| /external/libvpx/libvpx/vp9/encoder/ |
| vp9_encodemv.c | 213 const MV diff = { mv->row - ref->row, mv->col - ref->col }; local 214 const MV_JOINT_TYPE j = vp9_get_mv_joint(&diff); 219 encode_mv_component(w, diff.row, &mvctx->comps[0], usehp); 222 encode_mv_component(w, diff.col, &mvctx->comps[1], usehp); 245 const MV diff = { mvs[i].as_mv.row - ref->row, local 247 vp9_inc_mv(&diff, counts);
|
| /external/opencv/cv/src/ |
| _cvkdtree.hpp | 97 accum_type diff = accum_type(deref(ctor(*k), j)) - mean; local 98 var += diff * diff; 357 accum_type diff = accum_type(d[j]) - accum_type(deref(p, j)); local 358 dist += diff * diff;
|
| cvemd.cpp | 341 float s_sum = 0, d_sum = 0, diff; local 431 diff = s_sum - d_sum; 432 if( fabs( diff ) >= CV_EMD_EPS * s_sum ) 435 if( diff < 0 ) 437 state->s[ssize] = -diff; 442 state->d[dsize] = diff; 911 float min_delta, diff; local 1024 diff = max_val - cur_v->val; 1026 if( fabs( diff ) < eps ) 1029 delta[cur_u - u][j] += diff; [all...] |
| /external/valgrind/drd/scripts/ |
| download-and-build-splash2.in | 37 diff -ru orig/splash2/codes/apps/radiosity/display.C splash2/codes/apps/radiosity/display.C 67 diff -ru orig/splash2/codes/apps/raytrace/rltotiff/Makefile splash2/codes/apps/raytrace/rltotiff/Makefile 81 diff -ru orig/splash2/codes/Makefile.config splash2/codes/Makefile.config
|
| /external/vboot_reference/tests/futility/ |
| test_sign_kernel.sh | 65 diff ${TMP}.verify1 ${TMP}.verify2 102 diff ${TMP}.verify3 ${TMP}.verify4 123 diff ${TMP}.verify3 ${TMP}.verify5 229 diff ${TMP}.verify1 ${TMP}.verify6 266 diff ${TMP}.verify6.old ${TMP}.verify6.new1 293 diff ${TMP}.verify6.old ${TMP}.verify6.new2
|
| /prebuilts/go/darwin-x86/src/go/format/ |
| format_test.go | 20 func diff(t *testing.T, dst, src []byte) { func 59 diff(t, buf.Bytes(), src) 73 diff(t, res, src)
|
| /prebuilts/go/linux-x86/src/go/format/ |
| format_test.go | 20 func diff(t *testing.T, dst, src []byte) { func 59 diff(t, buf.Bytes(), src) 73 diff(t, res, src)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
| terules.py | 40 This is a template for the access vector diff functions. 46 def diff(self): function in function:av_diff_template 80 return diff 86 This is a template for the extended permission access vector diff functions. 92 def diff(self): function in function:avx_diff_template 126 return diff 132 This is a template for the type_* diff functions. 138 def diff(self): function in function:te_diff_template 165 return diff 252 """Reset diff results on policy changes."" [all...] |
| /system/extras/simpleperf/ |
| cpu_hotplug_test.cpp | 252 auto diff = std::chrono::duration_cast<std::chrono::seconds>( local 255 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; 308 auto diff = std::chrono::duration_cast<std::chrono::seconds>( local 311 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; 391 auto diff = std::chrono::duration_cast<std::chrono::seconds>( local 394 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes.";
|
| /frameworks/av/media/libstagefright/foundation/ |
| AMessage.cpp | 818 sp<AMessage> diff = new AMessage; 820 diff->setWhat(mWhat); 823 diff->setTarget(mHandler.promote()); 832 diff->setInt32(item.mName, item.u.int32Value); 838 diff->setInt64(item.mName, item.u.int64Value); 844 diff->setSize(item.mName, item.u.sizeValue); 850 diff->setFloat(item.mName, item.u.sizeValue); 856 diff->setDouble(item.mName, item.u.sizeValue); 862 diff->setString(item.mName, *item.u.stringValue); 868 diff->setRect [all...] |
| /external/libnl/lib/route/ |
| addr.c | 437 int diff = 0; local 441 diff |= ADDR_DIFF(IFINDEX, a->a_ifindex != b->a_ifindex); 442 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); 443 diff |= ADDR_DIFF(SCOPE, a->a_scope != b->a_scope); 444 diff |= ADDR_DIFF(LABEL, strcmp(a->a_label, b->a_label)); 445 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); 446 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); 447 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, 449 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); 450 diff |= ADDR_DIFF(ANYCAST, nl_addr_cmp(a->a_anycast, b->a_anycast)) [all...] |
| /packages/apps/Contacts/src/com/android/contacts/list/ |
| CustomContactListFilterActivity.java | 374 throw new IllegalStateException("Unexpected diff"); 442 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); 444 account.buildDiff(diff); 446 return diff; 537 public void buildDiff(ArrayList<ContentProviderOperation> diff) { 540 if (oper != null) diff.add(oper); 544 if (oper != null) diff.add(oper); [all...] |
| /cts/apps/CameraITS/tests/scene1/ |
| test_dng_noise_model.py | 126 for j, diff in enumerate(diffs): 128 assert diff <= thresh
|
| /cts/tests/tests/content/src/android/content/res/cts/ |
| FractionTest.java | 80 float diff = Math.abs(expected - res); local 87 + Integer.toHexString(resid) + " " + mValue, diff > prec);
|
| /development/cmds/monkey/src/com/android/commands/monkey/ |
| MonkeyGetAppFrameRateEvent.java | 145 long diff = sEndTime - sStartTime; local 146 sDuration = (float) (diff / 1000.0);
|
| MonkeyGetFrameRateEvent.java | 132 long diff = mEndTime - mStartTime; local 133 mDuration = (float)(diff/1000.0);
|