| /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
| BOCSU.java | 254 * @param diff 259 private static final int writeDiff(int diff, byte buffer[], int offset) 261 if (diff >= SLOPE_REACH_NEG_1_) { 262 if (diff <= SLOPE_REACH_POS_1_) { 263 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); 265 else if (diff <= SLOPE_REACH_POS_2_) { 267 + (diff / SLOPE_TAIL_COUNT_)); 269 (diff % SLOPE_TAIL_COUNT_)); 271 else if (diff <= SLOPE_REACH_POS_3_) { 273 + (diff % SLOPE_TAIL_COUNT_)) [all...] |
| /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
| BOCSU.java | 253 * @param diff 258 private static final int writeDiff(int diff, byte buffer[], int offset) 260 if (diff >= SLOPE_REACH_NEG_1_) { 261 if (diff <= SLOPE_REACH_POS_1_) { 262 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); 264 else if (diff <= SLOPE_REACH_POS_2_) { 266 + (diff / SLOPE_TAIL_COUNT_)); 268 (diff % SLOPE_TAIL_COUNT_)); 270 else if (diff <= SLOPE_REACH_POS_3_) { 272 + (diff % SLOPE_TAIL_COUNT_)) [all...] |
| /external/libvpx/libvpx/vpx_dsp/mips/ |
| subtract_mmi.c | 16 void vpx_subtract_block_mmi(int rows, int cols, int16_t *diff, 84 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t" 85 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t" 86 MMI_ADDU(%[diff], %[diff], %[diff_stride]) 90 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t" 91 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t" 92 MMI_ADDU(%[diff], %[diff], %[diff_stride]) 96 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t [all...] |
| /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
| DifferenceTest.java | 39 Difference diff = Difference.calculate(a, b); local 40 assertEquals(0, diff.getElements().size()); 54 Difference diff = Difference.calculate(a, b); local 55 assertEquals(4, diff.getElements().size()); 56 assertEquals(added(new CsmToken(GeneratedJavaParserConstants.LPAREN)), diff.getElements().get(0)); 57 assertEquals(added(new CsmChild(n1)), diff.getElements().get(1)); 58 assertEquals(added(new CsmToken(GeneratedJavaParserConstants.RPAREN)), diff.getElements().get(2)); 59 assertEquals(added(new CsmChild(n2)), diff.getElements().get(3)); 73 Difference diff = Difference.calculate(a, b); local 74 assertEquals(4, diff.getElements().size()) 88 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 102 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 139 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 174 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 209 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 244 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 277 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 298 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 319 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 338 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 356 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 373 Difference diff = Difference.calculate(csmOriginal, csmChanged); local 394 Difference diff = Difference.calculate(csmOriginal, csmChanged); local [all...] |
| /external/v8/tools/foozzie/ |
| v8_foozzie_test.py | 24 diff = None, None 25 self.assertEquals(diff, suppress.diff(one, two)) 29 diff = None, None 30 self.assertEquals(diff, suppress.diff(one, two)) 52 diff = None, None 53 self.assertEquals(diff, suppress.diff(one, two)) 62 diff = '- Extra line', Non [all...] |
| /art/test/660-checker-sad-long/src/ |
| Main.java | 46 long diff = x - y; local 47 if (diff < 0) diff = -diff; 48 return diff; 59 long diff = x - y; local 60 return diff >= 0 ? diff : -diff; 71 long diff = x - y local [all...] |
| /external/icu/icu4c/source/common/ |
| ucnvbocu.cpp | 214 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 216 /** Is a diff value encodable in a single byte? */ 217 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) 219 /** Encode a diff value in a single byte. */ 220 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) 222 /** Is a diff value encodable in two bytes? */ 223 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2 400 int32_t prev, c, diff; local 660 int32_t prev, c, diff; local 884 int32_t diff, count; local 964 int32_t prev, count, diff, c; local 1186 int32_t prev, count, diff, c; local [all...] |
| /external/google-breakpad/src/tools/solaris/dump_syms/ |
| run_regtest.sh | 40 diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.sym > \ 41 testdata/dump_syms_regtest.diff 45 rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new 48 echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
|
| /external/google-breakpad/src/tools/windows/dump_syms/ |
| run_regtest.sh | 42 diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.sym > \ 43 testdata/dump_syms_regtest.diff 47 rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new 50 echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
|
| /external/tensorflow/tensorflow/core/util/ |
| equal_graph_def.h | 36 // diff != nullptr, *diff is set to an explanation of the difference. Note that 40 string* diff, const EqualGraphDefOptions& options = {}); 56 // diff != nullptr, *diff is set to an explanation of the difference. 57 bool EqualNodeDef(const NodeDef& actual, const NodeDef& expected, string* diff, 71 // different and diff != nullptr, *diff is set to an explanation of the 75 string* diff, 91 string diff; \ [all...] |
| /external/vulkan-validation-layers/scripts/ |
| check_code_format.sh | 25 FILES_TO_CHECK=$(git diff --name-only master | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$") 32 FORMAT_DIFF=$(git diff -U0 master -- ${FILES_TO_CHECK} | python ./scripts/clang-format-diff.py -p1 -style=file)
|
| /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
| CharsetBOCU1.java | 207 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 209 /** Is a diff value encodable in a single byte? */ 210 private static boolean DIFF_IS_SINGLE(int diff){ 211 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1); 214 /** Encode a diff value in a single byte. */ 215 private static int PACK_SINGLE_DIFF(int diff){ 216 return (BOCU1_MIDDLE+(diff)); 219 /** Is a diff value encodable in two bytes? */ 220 private static boolean DIFF_IS_DOUBLE(int diff){ 237 int prev, c , diff; field in class:CharsetBOCU1.CharsetEncoderBOCU [all...] |
| /external/annotation-tools/annotation-file-utilities/tests/system-test/ |
| Makefile | 40 out2.diff: out2.jaif 41 diff -u expected-annos.jaif out2.jaif > out2.diff 44 # Fail if out2.diff is non-empty 45 check-out2: out2.diff 46 [ ! -s out2.diff ] || (cat out2.diff && false) 66 out5.diff: out5.jaif 67 diff -u expected-annos.jaif out5.jaif > out5.diff [all...] |
| /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
| lsf_to_lsp.c | 32 int16_t diff; /* difference, which is used for the local 47 diff = (freq&0x00ff); 56 tmpW32 = WebRtcIlbcfix_kCosDerivative[k] * diff;
|
| nearest_neighbor.c | 28 const size_t diff = local 30 if (diff < min_diff) { 32 min_diff = diff;
|
| /external/ltp/tools/pounder21/test_scripts/ |
| copy_large_tree | 32 diff -Naur /usr "$TREE_DEST/usr/" | tee "$POUNDER_TMPDIR/copytree.diff" 37 # Anything in the diff? 38 DIFF_ERRORS=`wc -l < $POUNDER_TMPDIR/copytree.diff`
|
| /external/slf4j/slf4j-api/src/test/java/org/slf4j/ |
| NoBindingTest.java | 36 int diff = new Random().nextInt(10000); field in class:NoBindingTest 40 logger.debug("hello" + diff); 45 MDC.put("k" + diff, "v"); 50 Marker m = MarkerFactory.getMarker("a" + diff);
|
| /external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
| Makefile | 1 ##===- tools/llvm-diff/Makefile ----------------------------*- Makefile -*-===## 11 TOOLNAME = llvm-diff
|
| /external/tensorflow/tensorflow/core/kernels/ |
| fractional_pool_common.cc | 23 std::vector<int64> diff(output_length, 0); 75 diff[i] = cum_seq[i + 1] - cum_seq[i]; 78 return diff; 85 std::vector<int64> diff(output_length, k); 88 diff[i] += 1; 92 auto local_gen = generator->ReserveSamples32(diff.size()); 95 RandomShuffle(diff.begin(), diff.end(), uniform); 97 return diff; 103 std::vector<int64> diff; local [all...] |
| /external/v8/src/compiler/ |
| pipeline-statistics.cc | 31 CompilationStatistics::BasicStats* diff) { 33 diff->function_name_ = pipeline_stats->function_name_; 34 diff->delta_ = timer_.Elapsed(); 37 diff->max_allocated_bytes_ = outer_zone_diff + scope_->GetMaxAllocatedBytes(); 38 diff->absolute_max_allocated_bytes_ = 39 diff->max_allocated_bytes_ + allocated_bytes_at_start_; 40 diff->total_allocated_bytes_ = 67 CompilationStatistics::BasicStats diff; local 68 total_stats_.End(this, &diff); 69 compilation_stats_->RecordTotalStats(source_size_, diff); 83 CompilationStatistics::BasicStats diff; local 98 CompilationStatistics::BasicStats diff; local [all...] |
| /external/valgrind/none/tests/s390x/ |
| stck.c | 25 unsigned long start, end, diff; local 34 diff = clockticks_in_msec(end, start); 35 if (diff >= 1000 && diff < 1500)
|
| stckf.c | 25 unsigned long start, end, diff; local 35 diff = clockticks_in_msec(end, start); 36 if (diff >= 1000 && diff < 1500)
|
| /prebuilts/go/darwin-x86/misc/git/ |
| pre-commit | 13 gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '\.go$')
|
| /prebuilts/go/linux-x86/misc/git/ |
| pre-commit | 13 gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '\.go$')
|
| /external/autotest/client/tools/ |
| diffprofile | 29 diff = {} variable 37 if diff.has_key(key): 38 diff[key] -= count 40 diff[key] = -count 47 if diff.has_key(key): 48 diff[key] += count 50 diff[key] = count 58 pct = (100 * diff[key]) / orig[key] 61 print "%10d %6.1f%% %s" % (diff[key], pct, key) 63 keys = sorted(diff.keys(), key=lambda x : diff[x], reverse = True [all...] |