HomeSort by relevance Sort by last modified time
    Searched refs:diff (Results 576 - 600 of 3197) sorted by null

<<21222324252627282930>>

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
reindent.py 230 diff = want - have
231 if diff == 0 or have == 0:
235 if diff > 0:
239 after.append(" " * diff + line)
241 remove = min(getlspace(line), -diff)
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
StatUtils.java 615 double diff = 0d; local
626 diff = sample1[i] - sample2[i];
627 sum1 += (diff - meanDifference) *(diff - meanDifference);
628 sum2 += diff - meanDifference;
  /external/autotest/utils/
reindent.py 229 diff = want - have
230 if diff == 0 or have == 0:
234 if diff > 0:
238 after.append(" " * diff + line)
240 remove = min(getlspace(line), -diff)
  /external/dng_sdk/source/
dng_lens_correction.h 156 /// image. r2 must lie in the range [0,1]. diff contains the vertical
165 const dng_point_real64 &diff,
168 /// Evaluate the 2D tangential warp for the specified plane. diff
175 const dng_point_real64 &diff) const;
181 /// image. r2 must lie in the range [0,1]. diff contains the vertical
188 const dng_point_real64 &diff) const;
332 const dng_point_real64 &diff,
438 const dng_point_real64 &diff,
  /external/linux-kselftest/tools/testing/selftests/firmware/
fw_filesystem.sh 87 if diff -q "$FW" /dev/test_firmware >/dev/null ; then
104 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then
121 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then
202 if ! diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
214 if diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
  /external/python/cpython2/Lib/test/
test_difflib.py 73 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"]))
74 self.assertEqual("- \tI am a buggy", diff[0])
75 self.assertEqual("? --\n", diff[1])
76 self.assertEqual("+ \t\tI am a bug", diff[2])
77 self.assertEqual("? +\n", diff[3])
166 '<h2>Context (first diff within numlines=5(default))</h2>',
168 '<h2>Context (first diff after numlines=5(default))</h2>',
232 # Per the diff spec at http://www.unix.org/single_unix_specification/
249 # Per the diff spec at http://www.unix.org/single_unix_specification/
  /external/python/cpython2/Tools/scripts/
reindent.py 241 diff = want - have
242 if diff == 0 or have == 0:
246 if diff > 0:
250 after.append(" " * diff + line)
252 remove = min(getlspace(line), -diff)
  /external/selinux/python/sepolgen/src/sepolgen/
matching.py 115 diff = av_req.perms.difference(av_prov.perms)
117 if len(diff) != 0:
118 total = self.perm_maps.getdefault_distance(av_req.obj_class, diff)
121 diff = av_prov.perms.difference(av_req.perms)
122 return self.perm_maps.getdefault_distance(av_req.obj_class, diff)
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
CameraEnumerationAndroid.java 176 abstract int diff(T supportedParameter); method in class:CameraEnumerationAndroid.ClosestComparator
180 return diff(t1) - diff(t2);
193 @Override int diff(int[] range) {
207 @Override int diff(android.hardware.Camera.Size size) {
  /external/webrtc/webrtc/modules/utility/source/
process_thread_impl_unittest.cc 185 uint32_t diff = called_time - start_time; local
186 EXPECT_GE(diff, milliseconds - 15);
187 EXPECT_LT(diff, milliseconds + 15);
288 uint32_t diff = called_time - start_time; local
290 EXPECT_LE(diff, 100u);
  /frameworks/base/core/java/android/util/
TimeUtils.java 282 final long diff = time - SystemClock.uptimeMillis(); local
283 if (diff > 0) {
284 return time + " (in " + diff + " ms)";
286 if (diff < 0) {
287 return time + " (" + -diff + " ms ago)";
  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
WindowConfigurationTests.java 60 /** Tests {@link android.app.WindowConfiguration#diff(WindowConfiguration, boolean)}. */
75 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config2));
78 winConfig1.diff(winConfig2, false /* compareUndefined */));
82 winConfig1.diff(winConfig2, false /* compareUndefined */));
84 assertEquals(0, config1.diff(config3));
86 assertEquals(0, winConfig1.diff(winConfig3, false /* compareUndefined */));
  /hardware/google/easel/amber/camera/libhdrplusclient/
HdrPlusClientUtils.cpp 169 uint64_t diff = 0; local
181 diff += abs(static_cast<int32_t>(c) - r);
183 diff += abs(static_cast<int32_t>(c) - g);
185 diff += abs(static_cast<int32_t>(c) - b);
190 *diffRatio = diff / (static_cast<float>(width) * height * 3 * 256);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_difflib.py 64 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"]))
65 self.assertEqual("- \tI am a buggy", diff[0])
66 self.assertEqual("? --\n", diff[1])
67 self.assertEqual("+ \t\tI am a bug", diff[2])
68 self.assertEqual("? +\n", diff[3])
157 '<h2>Context (first diff within numlines=5(default))</h2>',
159 '<h2>Context (first diff after numlines=5(default))</h2>',
223 # Per the diff spec at http://www.unix.org/single_unix_specification/
240 # Per the diff spec at http://www.unix.org/single_unix_specification/
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_difflib.py 64 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"]))
65 self.assertEqual("- \tI am a buggy", diff[0])
66 self.assertEqual("? --\n", diff[1])
67 self.assertEqual("+ \t\tI am a bug", diff[2])
68 self.assertEqual("? +\n", diff[3])
157 '<h2>Context (first diff within numlines=5(default))</h2>',
159 '<h2>Context (first diff after numlines=5(default))</h2>',
223 # Per the diff spec at http://www.unix.org/single_unix_specification/
240 # Per the diff spec at http://www.unix.org/single_unix_specification/
  /prebuilts/go/darwin-x86/src/cmd/gofmt/
gofmt_test.go 115 d, err := diff(expected, got, in)
191 if _, err := exec.LookPath("diff"); err != nil {
192 t.Skipf("skip test on %s: diff command is required", runtime.GOOS)
197 b, err := diff(in, out, filename)
210 t.Errorf("diff: first line should start with `%s`\ngot: %s", prefix, line0)
214 t.Errorf("diff: second line should start with `%s`\ngot: %s", prefix, line1)
224 t.Errorf("diff: got:\n%s\nwant:\n%s", got, want)
229 diff := []byte(`--- /tmp/tmpfile1 2017-02-08 00:53:26.175105619 +0900
243 // Check path in diff output is always slash regardless of the
247 got, err := replaceTempFilename(diff, filename
    [all...]
  /prebuilts/go/linux-x86/src/cmd/gofmt/
gofmt_test.go 115 d, err := diff(expected, got, in)
191 if _, err := exec.LookPath("diff"); err != nil {
192 t.Skipf("skip test on %s: diff command is required", runtime.GOOS)
197 b, err := diff(in, out, filename)
210 t.Errorf("diff: first line should start with `%s`\ngot: %s", prefix, line0)
214 t.Errorf("diff: second line should start with `%s`\ngot: %s", prefix, line1)
224 t.Errorf("diff: got:\n%s\nwant:\n%s", got, want)
229 diff := []byte(`--- /tmp/tmpfile1 2017-02-08 00:53:26.175105619 +0900
243 // Check path in diff output is always slash regardless of the
247 got, err := replaceTempFilename(diff, filename
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_difflib.py 64 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"]))
65 self.assertEqual("- \tI am a buggy", diff[0])
66 self.assertEqual("? --\n", diff[1])
67 self.assertEqual("+ \t\tI am a bug", diff[2])
68 self.assertEqual("? +\n", diff[3])
157 '<h2>Context (first diff within numlines=5(default))</h2>',
159 '<h2>Context (first diff after numlines=5(default))</h2>',
223 # Per the diff spec at http://www.unix.org/single_unix_specification/
240 # Per the diff spec at http://www.unix.org/single_unix_specification/
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
matching.py 115 diff = av_req.perms.difference(av_prov.perms)
117 if len(diff) != 0:
118 total = self.perm_maps.getdefault_distance(av_req.obj_class, diff)
121 diff = av_prov.perms.difference(av_req.perms)
122 return self.perm_maps.getdefault_distance(av_req.obj_class, diff)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_difflib.py 64 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"]))
65 self.assertEqual("- \tI am a buggy", diff[0])
66 self.assertEqual("? --\n", diff[1])
67 self.assertEqual("+ \t\tI am a bug", diff[2])
68 self.assertEqual("? +\n", diff[3])
157 '<h2>Context (first diff within numlines=5(default))</h2>',
159 '<h2>Context (first diff after numlines=5(default))</h2>',
223 # Per the diff spec at http://www.unix.org/single_unix_specification/
240 # Per the diff spec at http://www.unix.org/single_unix_specification/
  /external/libvpx/libvpx/vp8/encoder/
pickinter.c 284 int diff; local
338 diff = u_p - expected_udc;
339 pred_error[DC_PRED] += diff * diff;
340 diff = v_p - expected_vdc;
341 pred_error[DC_PRED] += diff * diff;
343 diff = u_p - uabove_row[j];
344 pred_error[V_PRED] += diff * diff;
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
RawContactDeltaListTests.java 42 * Tests for {@link RawContactDeltaList} which focus on "diff" operations that should
173 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local
174 delta.buildAssertWrapper(diff);
175 delta.buildDiffWrapper(diff);
176 assertDiffPattern(diff, pattern);
183 static void assertDiffPattern(ArrayList<CPOWrapper> diff, CPOWrapper... pattern) {
184 assertEquals("Unexpected operations", pattern.length, diff.size());
187 final CPOWrapper found = diff.get(i);
298 static int countExceptionUpdates(ArrayList<CPOWrapper> diff) {
300 for (CPOWrapper cpoWrapper : diff) {
315 final ArrayList<CPOWrapper> diff = set.buildDiffWrapper(); local
326 final ArrayList<CPOWrapper> diff = set.buildDiffWrapper(); local
337 final ArrayList<CPOWrapper> diff = set.buildDiffWrapper(); local
349 final ArrayList<CPOWrapper> diff = set.buildDiffWrapper(); local
361 final ArrayList<CPOWrapper> diff = set.buildDiffWrapper(); local
    [all...]
  /build/blueprint/bpfmt/
bpfmt.go 97 data, err := diff(src, res)
99 return fmt.Errorf("computing diff: %s", err)
101 fmt.Printf("diff %s bpfmt/%s\n", filename, filename)
162 func diff(b1, b2 []byte) (data []byte, err error) { func
180 data, err = exec.Command("diff", "-u", f1.Name(), f2.Name()).CombinedOutput()
182 // diff exits with a non-zero status when the files don't match.
  /build/soong/bpfix/cmd/
bpfix.go 101 data, err := diff(src, res)
103 return fmt.Errorf("computing diff: %s", err)
105 fmt.Printf("diff %s bpfix/%s\n", filename, filename)
163 func diff(b1, b2 []byte) (data []byte, err error) { func
181 data, err = exec.Command("diff", "-u", f1.Name(), f2.Name()).CombinedOutput()
183 // diff exits with a non-zero status when the files don't match.
  /cts/apps/CameraITS/tests/scene1/
test_crop_regions.py 93 diff = numpy.fabs(tile_full - tile_crop).mean()
94 if min_diff is None or diff < min_diff:
95 min_diff = diff

Completed in 1699 milliseconds

<<21222324252627282930>>