| /external/libdrm/intel/tests/ |
| test-batch.sh | 8 # pretty-print a diff showing what happened, and leave the dumped 16 diff -u $REF_FILENAME $NEW_FILENAME
|
| /external/python/cpython2/Lib/test/ |
| double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
| /external/python/cpython3/Lib/test/ |
| double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
| /prebuilts/gdb/linux-x86/lib/python2.7/test/ |
| double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
| /prebuilts/ndk/r16/sources/android/support/ |
| regenerate-NOTICE.sh | 13 git diff --exit-code HEAD ./NOTICE
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
| /external/libvpx/libvpx/vpx_dsp/ |
| subtract.c | 19 void vpx_subtract_block_c(int rows, int cols, int16_t *diff, 26 for (c = 0; c < cols; c++) diff[c] = src[c] - pred[c]; 28 diff += diff_stride; 35 void vpx_highbd_subtract_block_c(int rows, int cols, int16_t *diff, 46 diff[c] = src[c] - pred[c]; 49 diff += diff_stride;
|
| /packages/apps/Contacts/src/com/android/contacts/model/account/ |
| AccountComparator.java | 50 int diff = a.name.compareToIgnoreCase(b.name); local 51 if (diff != 0) { 52 return diff; 54 diff = a.type.compareToIgnoreCase(b.type); 55 if (diff != 0) { 56 return diff;
|
| /external/brotli/research/ |
| draw_diff.cc | 8 /* Tool for drawing diff PPM images between two input PGM images. Normally used 34 void CalculateDiff(int** diff, uint8_t** image1, uint8_t** image2, 38 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; 43 void DrawDiff(int** diff, uint8_t** image1, uint8_t** image2, 49 if (max < diff[i][j]) max = diff[i][j]; 50 if (min > diff[i][j]) min = diff[i][j]; 65 int max_val = std::max(min_val, abs(diff[i][j])); 66 if (diff[i][j] > 0) { /* red * 103 int** diff = new int*[h1]; local [all...] |
| /external/libvpx/libvpx/vpx_dsp/mips/ |
| subtract_msa.c | 60 int16_t *diff, int32_t diff_stride) { 77 ST_SH2(diff0, diff1, diff, 8); 78 diff += diff_stride; 82 ST_SH2(diff0, diff1, diff, 8); 83 diff += diff_stride; 87 ST_SH2(diff0, diff1, diff, 8); 88 diff += diff_stride; 92 ST_SH2(diff0, diff1, diff, 8); 93 diff += diff_stride; 97 ST_SH2(diff0, diff1, diff, 8) [all...] |
| /art/runtime/arch/arm64/ |
| memcmp16_arm64.S | 39 #define diff x6 define 66 eor diff, data1, data2 /* Non-zero if differences found. */ 67 csinv endloop, diff, xzr, ne /* Last Dword or differences. */ 71 /* Not reached the limit, must have found a diff. */ 86 // Swap the byte order of diff. Exact reverse is not important, as we only need to detect 88 rev diff, diff 89 // The most significant bit of DIFF marks the least significant bit of change between DATA1/2 90 clz diff, diff [all...] |
| /external/tensorflow/tensorflow/core/util/ |
| equal_graph_def.cc | 32 string* diff, const EqualGraphDefOptions& options) { 35 return EqualRepeatedNodeDef(actual.node(), expected.node(), diff, options); 44 string* diff, const EqualGraphDefOptions& options) { 53 if (diff != nullptr) { 54 *diff = strings::StrCat("Did not find expected node '", 60 if (!EqualNodeDef(*actual_iter->second, expected_node, diff, options)) { 68 if (diff != nullptr) { 69 *diff = 107 bool EqualNodeDef(const NodeDef& actual, const NodeDef& expected, string* diff, 110 if (diff != nullptr) [all...] |
| /art/compiler/linker/mips/ |
| relative_patcher_mips.cc | 75 uint32_t diff = target_offset - anchor_offset; local 76 diff += (diff & 0x8000) << 1; // Account for sign extension in "instr reg(s), offset_low". 80 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 16); 81 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 24); 84 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 0); 85 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 8);
|
| /art/compiler/linker/mips64/ |
| relative_patcher_mips64.cc | 69 uint32_t diff = target_offset - anchor_offset; local 74 diff += (diff & 0x8000) << 1; // Account for sign extension in "instr reg(s), offset_low". 78 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 16); 79 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 24); 82 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 0); 83 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 8);
|
| relative_patcher_mips64_test.cc | 49 0x34, 0x12, 0x5E, 0xEE, // auipc s2, high(diff); placeholder = 0x1234 50 0x78, 0x56, 0x52, 0x66, // daddiu s2, s2, low(diff); placeholder = 0x5678 51 0x78, 0x56, 0x52, 0x9E, // lwu s2, (low(diff))(s2) ; placeholder = 0x5678 68 uint32_t diff = target_offset - (result.second + kAnchorOffset); local 69 diff += (diff & 0x8000) << 1; // Account for sign extension in daddiu/lwu. 72 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24), 0x5E, 0xEE, 73 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), 0x52, 0x66 [all...] |
| /frameworks/base/tools/aapt2/filter/ |
| ConfigFilter.cpp | 26 uint32_t diff_mask = ConfigDescription::DefaultConfig().diff(config); 79 const uint32_t mask = ConfigDescription::DefaultConfig().diff(config); 89 uint32_t diff = target.diff(config); local 90 if ((diff & diff_mask) == 0) { 93 } else if ((diff & diff_mask) == android::ResTable_config::CONFIG_LOCALE) { 108 } else if ((diff & diff_mask) ==
|
| /external/webrtc/webrtc/common_audio/signal_processing/ |
| splitting_filter.c | 69 int32_t diff; local 76 // "diff" should be safe from wrap around since max values are 2^25 77 // diff = (x[0] - y_1[-1]) 78 diff = WebRtcSpl_SubSatW32(in_data[0], filter_state[1]); 80 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); 85 // diff = (x[n] - y_1[n-1]) 86 diff = WebRtcSpl_SubSatW32(in_data[k], out_data[k - 1]); 88 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); 96 // diff = (y_1[0] - y_2[-1]) 97 diff = WebRtcSpl_SubSatW32(out_data[0], filter_state[3]) [all...] |
| /external/webrtc/webrtc/modules/video_processing/util/ |
| denoiser_filter_c.cc | 51 const int diff = a[j] - b[j]; local 52 sum += diff; 53 *sse += diff * diff; 88 int diff = 0; local 92 diff = mc_running_avg_y[c] - sig[c]; 93 absdiff = abs(diff); 95 // When |diff| <= |3 + shift_inc1|, use pixel value from 99 col_sum[c] += diff; 108 if (diff > 0) 151 int diff = mc_running_avg_y[c] - sig[c]; local [all...] |
| /external/tensorflow/tensorflow/compiler/jit/ |
| graph_to_functiondef_test.cc | 32 string* diff) { 35 if (diff) { 36 *diff = strings::StrCat("Definition mismatch for function ", 80 string diff; local 81 bool fdefs_equal = EqualFunctionDef(fdef_expected, fdef, &diff); 82 EXPECT_TRUE(fdefs_equal) << diff; 113 string diff; local 114 bool fdefs_equal = EqualFunctionDef(fdef_expected, fdef, &diff); 115 EXPECT_TRUE(fdefs_equal) << diff;
|
| /art/dex2oat/linker/ |
| index_bss_mapping_encoder.h | 48 uint32_t diff = index - entry_.GetIndex(index_bits_); local 49 if (diff > 32u - index_bits_) { 53 if ((mask & ~(static_cast<uint32_t>(-1) << diff)) != 0u) { 58 mask = ((mask << index_bits_) >> diff) | (static_cast<uint32_t>(1u) << (32 - diff));
|
| /external/aac/libAACenc/src/ |
| quantize.cpp | 317 FIXP_DBL diff; local 334 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i] >> 1)); 336 scale = CountLeadingBits(diff); 337 diff = scaleValue(diff, scale); 338 diff = fPow2(diff); 341 diff = scaleValue(diff, -scale); 343 xfsf = xfsf + diff; 367 FIXP_DBL diff; local [all...] |
| /external/bsdiff/ |
| diff_encoder.cc | 57 // Generate the diff stream. 58 std::vector<uint8_t> diff(entry.diff_size); 60 diff[i] = new_buf_[written_output_ + i] - old_buf_[old_pos_ + i]; 62 if (!patch_->WriteDiffStream(diff.data(), diff.size())) { 63 LOG(ERROR) << "Writing " << diff.size() << " bytes to the diff stream";
|
| /external/skia/src/core/ |
| SkColorSpaceXformPriv.h | 21 float diff = index - sk_float_floor2int(index); local 22 return table[(int) sk_float_floor2int(index)] * (1.0f - diff) + 23 table[(int) sk_float_ceil2int(index)] * diff; 73 const float diff = input - inTable[inIndex - 1]; local 75 const float normalizedIndex = (inIndex - 1) + diff / distance;
|