Home
last modified time | relevance | path

Searched refs:diff (Results 1 - 25 of 903) sorted by relevance

12345678910>>...37

/third_party/icu/icu4c/source/common/
H A Ducnvbocu.cpp214 /* 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_
287 packDiff(int32_t diff) packDiff() argument
400 int32_t prev, c, diff; _Bocu1FromUnicodeWithOffsets() local
660 int32_t prev, c, diff; _Bocu1FromUnicode() local
884 int32_t diff, count; decodeBocu1LeadByte() local
964 int32_t prev, count, diff, c; _Bocu1ToUnicodeWithOffsets() local
1186 int32_t prev, count, diff, c; _Bocu1ToUnicode() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnvbocu.cpp214 /* 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_
287 packDiff(int32_t diff) packDiff() argument
400 int32_t prev, c, diff; _Bocu1FromUnicodeWithOffsets() local
660 int32_t prev, c, diff; _Bocu1FromUnicode() local
884 int32_t diff, count; decodeBocu1LeadByte() local
964 int32_t prev, count, diff, c; _Bocu1ToUnicodeWithOffsets() local
1186 int32_t prev, count, diff, c; _Bocu1ToUnicode() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnvbocu.cpp214 /* 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_
287 packDiff(int32_t diff) packDiff() argument
400 int32_t prev, c, diff; _Bocu1FromUnicodeWithOffsets() local
660 int32_t prev, c, diff; _Bocu1FromUnicode() local
884 int32_t diff, count; decodeBocu1LeadByte() local
964 int32_t prev, count, diff, c; _Bocu1ToUnicodeWithOffsets() local
1186 int32_t prev, count, diff, c; _Bocu1ToUnicode() local
[all...]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetBOCU1.java207 /* 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){ in DIFF_IS_SINGLE() argument
211 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1); in DIFF_IS_SINGLE()
214 /** Encode a diff value in a single byte. */
215 private static int PACK_SINGLE_DIFF(int diff){ in PACK_SINGLE_DIFF() argument
216 return (BOCU1_MIDDLE+(diff)); in PACK_SINGLE_DIFF()
219 /** Is a diff value encodable in two bytes? */
220 private static boolean DIFF_IS_DOUBLE(int diff){ in DIFF_IS_DOUBLE() argument
237 int prev, c , diff; global() field in CharsetBOCU1.CharsetEncoderBOCU
690 int prev, c , diff, count; global() field in CharsetBOCU1.CharsetDecoderBOCU
[all...]
/third_party/libabigail/src/
H A Dabg-comp-filter.cc10 /// This file contains definitions of diff objects filtering
33 /// Walk the diff sub-trees of a a @ref corpus_diff and apply a filter
37 /// @param filter the filter to apply to the diff nodes
39 /// @param d the corpus diff to apply the filter to.
49 /// Walk a diff sub-tree and apply a filter to the nodes visted. The
55 /// infinite loops for diff trees that involve type changes that
60 /// @param d the diff sub-tree to walk and apply the filter to.
71 /// Walk a diff sub-tree and apply a filter to the nodes visted. The
77 /// infinite loops for diff trees that involve type changes that
82 /// @param d the diff su
131 diff_involves_decl_only_class(const class_diff* diff) diff_involves_decl_only_class() argument
180 has_type_size_change(const diff* diff) has_type_size_change() argument
247 crc_changed(const diff* diff) crc_changed() argument
283 namespace_changed(const diff* diff) namespace_changed() argument
340 function_name_changed_but_not_symbol(const diff* diff) function_name_changed_but_not_symbol() argument
583 non_static_data_member_added_or_removed(const class_diff* diff) non_static_data_member_added_or_removed() argument
611 non_static_data_member_added_or_removed(const diff* diff) non_static_data_member_added_or_removed() argument
627 has_data_member_replaced_by_anon_dm(const diff* diff) has_data_member_replaced_by_anon_dm() argument
643 static_data_member_added_or_removed(const class_diff* diff) static_data_member_added_or_removed() argument
719 static_data_member_added_or_removed(const diff* diff) static_data_member_added_or_removed() argument
736 has_virtual_mem_fn_change(const class_diff* diff) has_virtual_mem_fn_change() argument
811 has_virtual_mem_fn_change(const function_decl_diff* diff) has_virtual_mem_fn_change() argument
849 has_virtual_mem_fn_change(const diff* diff) has_virtual_mem_fn_change() argument
863 has_non_virtual_mem_fn_change(const class_diff* diff) has_non_virtual_mem_fn_change() argument
901 has_non_virtual_mem_fn_change(const diff* diff) has_non_virtual_mem_fn_change() argument
910 base_classes_added_or_removed(const class_diff* diff) base_classes_added_or_removed() argument
923 base_classes_added_or_removed(const diff* diff) base_classes_added_or_removed() argument
997 is_decl_only_class_with_size_change(const diff *diff) is_decl_only_class_with_size_change() argument
1124 has_class_decl_only_def_change(const diff *diff) has_class_decl_only_def_change() argument
1148 has_enum_decl_only_def_change(const diff *diff) has_enum_decl_only_def_change() argument
1287 has_enumerator_insertion(const diff* diff) has_enumerator_insertion() argument
1300 has_enumerator_removal_or_change(const diff* diff) has_enumerator_removal_or_change() argument
1314 has_harmful_enum_change(const diff* diff) has_harmful_enum_change() argument
1332 has_harmless_enum_to_int_change(const diff* diff) has_harmless_enum_to_int_change() argument
1377 has_fn_parm_type_top_cv_qual_change(const diff* diff) has_fn_parm_type_top_cv_qual_change() argument
[all...]
H A Dabg-comparison.cc34 ///@par diff nodes
37 /// a graph of @ref instances of @ref diff node. We refer to these
38 /// just as <em>diff nodes</em>. A diff node represents a change
41 /// compared are called the <em>subjects of the diff</em>.
45 ///@par comparing diff nodes
47 /// Comparing two instances of @ref diff nodes amounts to comparing
48 /// the subject of the diff. In other words, two @ref diff nodes are
50 /// diff node
616 is_type_diff(const diff* diff) is_type_diff() argument
626 is_decl_diff(const diff* diff) is_decl_diff() argument
636 is_class_diff(const diff* diff) is_class_diff() argument
646 is_enum_diff(const diff *diff) is_enum_diff() argument
656 is_union_diff(const diff* diff) is_union_diff() argument
693 is_typedef_diff(const diff *diff) is_typedef_diff() argument
703 is_array_diff(const diff* diff) is_array_diff() argument
713 is_function_type_diff(const diff* diff) is_function_type_diff() argument
724 is_function_type_diff_with_local_changes(const diff* diff) is_function_type_diff_with_local_changes() argument
740 is_var_diff(const diff* diff) is_var_diff() argument
755 is_function_decl_diff(const diff* diff) is_function_decl_diff() argument
771 is_pointer_diff(const diff* diff) is_pointer_diff() argument
782 is_reference_diff(const diff* diff) is_reference_diff() argument
794 is_qualified_type_diff(const diff* diff) is_qualified_type_diff() argument
808 is_reference_or_ptr_diff_to_non_basic_nor_distinct_types(const diff* diff) is_reference_or_ptr_diff_to_non_basic_nor_distinct_types() argument
838 is_fn_parm_diff(const diff* diff) is_fn_parm_diff() argument
850 is_base_diff(const diff* diff) is_base_diff() argument
862 is_distinct_diff(const diff *diff) is_distinct_diff() argument
872 is_corpus_diff(const diff* diff) is_corpus_diff() argument
882 is_child_node_of_function_parm_diff(const diff* diff) is_child_node_of_function_parm_diff() argument
891 is_child_node_of_base_diff(const diff* diff) is_child_node_of_base_diff() argument
1205 initialize_canonical_diff(const diff_sptr diff) initialize_canonical_diff() argument
1353 maybe_apply_filters(diff_sptr diff) maybe_apply_filters() argument
1383 maybe_apply_filters(corpus_diff_sptr diff) maybe_apply_filters() argument
1831 diff::diff(type_or_decl_base_sptr first_subject, diff() function in abigail::comparison::diff
1852 diff::diff(type_or_decl_base_sptr first_subject, diff() function in abigail::comparison::diff
4271 diff_sptr diff = i->second; count_filtered_changed_dm() local
4337 diff_sptr diff = *i; count_filtered_changed_mem_fns() local
4369 diff_sptr diff = compute_diff_for_decls(f, s, ctxt); count_filtered_inserted_mem_fns() local
4402 diff_sptr diff = compute_diff_for_decls(f, s, ctxt); count_filtered_deleted_mem_fns() local
5470 diff_sptr diff = *i; count_filtered_bases() local
7414 get_typedef_diff_underlying_type_diff(const diff* diff) get_typedef_diff_underlying_type_diff() argument
9748 diff_sptr diff; apply_filters_and_compute_diff_stats() local
9754 diff_sptr diff = *i; apply_filters_and_compute_diff_stats() local
9764 diff_sptr diff = *i; apply_filters_and_compute_diff_stats() local
9775 diff_sptr diff = *i; apply_filters_and_compute_diff_stats() local
10154 diff_sptr diff; categorize_redundant_changed_sub_nodes() local
10172 diff_sptr diff = *i; categorize_redundant_changed_sub_nodes() local
10181 diff_sptr diff = *i; categorize_redundant_changed_sub_nodes() local
10191 diff_sptr diff; clear_redundancy_categorization() local
11377 diff* diff = already_visited visit_end() local
12333 fn_parm_diff* diff = is_diff_of_variadic_parameter() local
12369 is_diff_of_basic_type(const diff* diff, bool allow_indirect_type) is_diff_of_basic_type() argument
12482 peel_pointer_or_qualified_type_diff(const diff*dif) peel_pointer_or_qualified_type_diff() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dbocsu.cpp33 u_writeDiff(int32_t diff, uint8_t *p) { in u_writeDiff() argument
34 if(diff>=SLOPE_REACH_NEG_1) { in u_writeDiff()
35 if(diff<=SLOPE_REACH_POS_1) { in u_writeDiff()
36 *p++=(uint8_t)(SLOPE_MIDDLE+diff); in u_writeDiff()
37 } else if(diff<=SLOPE_REACH_POS_2) { in u_writeDiff()
38 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); in u_writeDiff()
39 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
40 } else if(diff<=SLOPE_REACH_POS_3) { in u_writeDiff()
41 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
42 diff/ in u_writeDiff()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dbocsu.cpp33 u_writeDiff(int32_t diff, uint8_t *p) { in u_writeDiff() argument
34 if(diff>=SLOPE_REACH_NEG_1) { in u_writeDiff()
35 if(diff<=SLOPE_REACH_POS_1) { in u_writeDiff()
36 *p++=(uint8_t)(SLOPE_MIDDLE+diff); in u_writeDiff()
37 } else if(diff<=SLOPE_REACH_POS_2) { in u_writeDiff()
38 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); in u_writeDiff()
39 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
40 } else if(diff<=SLOPE_REACH_POS_3) { in u_writeDiff()
41 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
42 diff/ in u_writeDiff()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dbocsu.cpp33 u_writeDiff(int32_t diff, uint8_t *p) { in u_writeDiff() argument
34 if(diff>=SLOPE_REACH_NEG_1) { in u_writeDiff()
35 if(diff<=SLOPE_REACH_POS_1) { in u_writeDiff()
36 *p++=(uint8_t)(SLOPE_MIDDLE+diff); in u_writeDiff()
37 } else if(diff<=SLOPE_REACH_POS_2) { in u_writeDiff()
38 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); in u_writeDiff()
39 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
40 } else if(diff<=SLOPE_REACH_POS_3) { in u_writeDiff()
41 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
42 diff/ in u_writeDiff()
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DBOCSU.java253 * @param diff
258 private static final int writeDiff(int diff, byte buffer[], int offset) in writeDiff() argument
260 if (diff >= SLOPE_REACH_NEG_1_) { in writeDiff()
261 if (diff <= SLOPE_REACH_POS_1_) { in writeDiff()
262 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); in writeDiff()
264 else if (diff <= SLOPE_REACH_POS_2_) { in writeDiff()
266 + (diff / SLOPE_TAIL_COUNT_)); in writeDiff()
268 (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
270 else if (diff <= SLOPE_REACH_POS_3_) { in writeDiff()
272 + (diff in writeDiff()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
H A DBOCSU.java254 * @param diff
259 private static final int writeDiff(int diff, byte buffer[], int offset) in writeDiff() argument
261 if (diff >= SLOPE_REACH_NEG_1_) { in writeDiff()
262 if (diff <= SLOPE_REACH_POS_1_) { in writeDiff()
263 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); in writeDiff()
265 else if (diff <= SLOPE_REACH_POS_2_) { in writeDiff()
267 + (diff / SLOPE_TAIL_COUNT_)); in writeDiff()
269 (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
271 else if (diff <= SLOPE_REACH_POS_3_) { in writeDiff()
273 + (diff in writeDiff()
[all...]
/third_party/libabigail/include/
H A Dabg-comp-filter.h10 /// This header declares filters for the diff trees resulting from
23 /// diff tree.
30 bool union_diff_has_harmless_changes(const diff *d);
36 has_harmful_name_change(const diff* dif);
39 has_virtual_mem_fn_change(const function_decl_diff* diff);
50 is_decl_only_class_with_size_change(const diff *diff);
57 has_decl_only_def_change(const diff *d);
68 has_class_decl_only_def_change(const diff *diff);
[all...]
H A Dabg-comparison.h18 #include "abg-diff-utils.h"
49 class diff;
51 /// Convenience typedef for a shared_ptr for the @ref diff class
52 typedef shared_ptr<diff> diff_sptr;
54 /// Convenience typedef for a weak_ptr for the @ref diff class
55 typedef weak_ptr<diff> diff_wptr;
69 /// Convenience typedef for a vector of @ref diff*.
70 typedef vector<diff*> diff_ptrs_type;
178 /// Convenience typedef for a map which value is a diff*. The key of
180 typedef unordered_map<string, diff*> string_diff_ptr_ma
935 class diff : public diff_traversable_base global() class
[all...]
/third_party/skia/tools/skdiff/
H A Dskdiff_html.cpp79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) { in print_pixel_count() argument
81 stream->writeDecAsText(static_cast<int>(diff.fFractionDifference * in print_pixel_count()
82 diff.fBase.fBitmap.width() * in print_pixel_count()
83 diff.fBase.fBitmap.height())); in print_pixel_count()
86 stream->writeDecAsText(diff.fWeightedFraction * in print_pixel_count()
87 diff.fBaseWidth * in print_pixel_count()
88 diff.fBaseHeight); in print_pixel_count()
93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_checkbox_cell() argument
95 stream->writeText(diff.fBase.fFilename.c_str()); in print_checkbox_cell()
99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_label_cell() argument
213 print_diff_row(SkFILEWStream* stream, const DiffRecord& diff, const SkString& relativePath) print_diff_row() argument
288 const DiffRecord& diff = differences[i]; print_diff_page() local
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dpipeline-statistics.cc35 CompilationStatistics::BasicStats* diff) { in End()
37 diff->function_name_ = pipeline_stats->function_name_; in End()
38 diff->delta_ = timer_.Elapsed(); in End()
41 diff->max_allocated_bytes_ = outer_zone_diff + scope_->GetMaxAllocatedBytes(); in End()
42 diff->absolute_max_allocated_bytes_ = in End()
43 diff->max_allocated_bytes_ + allocated_bytes_at_start_; in End()
44 diff->total_allocated_bytes_ = in End()
67 CompilationStatistics::BasicStats diff; in ~PipelineStatistics() local
68 total_stats_.End(this, &diff); in ~PipelineStatistics()
69 compilation_stats_->RecordTotalStats(diff); in ~PipelineStatistics()
33 End( PipelineStatistics* pipeline_stats, CompilationStatistics::BasicStats* diff) End() argument
84 CompilationStatistics::BasicStats diff; EndPhaseKind() local
102 CompilationStatistics::BasicStats diff; EndPhase() local
[all...]
/third_party/node/deps/npm/node_modules/diff/lib/patch/
H A Dcreate.js15 _line = require("../diff/line")
41 var diff =
55 if (!diff) {
59 diff.push({
81 var current = diff[i],
92 var prev = diff[i - 1];
133 if (lines.length <= options.context * 2 && i < diff.length - 2) {
189 if (i >= diff.length - 2 && lines.length <= options.context) {
218 for (var i = 0; i < diff.length; i++) {
234 function formatPatch(diff) {
[all...]
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/tests/
H A Dbindgen-up-to-date.rs31 for diff in diff::lines(&expected, &actual) { in test_ittnotify_bindings_up_to_date()
32 match diff { in test_ittnotify_bindings_up_to_date()
33 diff::Result::Both(_, s) => println!(" {}", s), in test_ittnotify_bindings_up_to_date()
34 diff::Result::Left(s) => println!("-{}", s), in test_ittnotify_bindings_up_to_date()
35 diff::Result::Right(s) => println!("+{}", s), in test_ittnotify_bindings_up_to_date()
59 for diff in diff::lines(&expected, &actual) { in test_jitprofiling_bindings_up_to_date()
60 match diff { in test_jitprofiling_bindings_up_to_date()
61 diff in test_jitprofiling_bindings_up_to_date()
[all...]
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Drandom_utils.h41 int diff; in VP8RandomBits2() local
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; in VP8RandomBits2()
44 if (diff < 0) diff += (1u << 31); in VP8RandomBits2()
45 rg->tab_[rg->index1_] = diff; in VP8RandomBits2()
49 diff = (int)((uint32_t)diff << 1) >> (32 - num_bits); in VP8RandomBits2()
50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range in VP8RandomBits2()
51 diff in VP8RandomBits2()
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dalphacpuid.pl168 my ($diff,$lastdiff)=("\$21","\$22");
180 mov 0,$diff
184 addl $diff,$tick,$tick
185 mov $tick,$diff
187 stl $diff,0($out)
190 subq $tick,$lasttick,$diff
195 addl $diff,$tick,$tick
196 mov $tick,$diff
198 stl $diff,0($out)
215 mov 0,$diff
[all...]
/third_party/openssl/crypto/
H A Dalphacpuid.pl168 my ($diff,$lastdiff)=("\$21","\$22");
180 mov 0,$diff
184 addl $diff,$tick,$tick
185 mov $tick,$diff
187 stl $diff,0($out)
190 subq $tick,$lasttick,$diff
195 addl $diff,$tick,$tick
196 mov $tick,$diff
198 stl $diff,0($out)
215 mov 0,$diff
[all...]
/third_party/glslang/Test/
H A Druntests39 diff -b $BASEDIR/$b.out $TARGETDIR/$b.out || HASERROR=1
50 diff -b $BASEDIR/badMacroArgs.frag.out $TARGETDIR/badMacroArgs.frag.out || HASERROR=1
57 diff -b $BASEDIR/reflection.vert.out $TARGETDIR/reflection.vert.out || HASERROR=1
59 diff -b $BASEDIR/reflection.options.vert.out $TARGETDIR/reflection.options.vert.out || HASERROR=1
61 diff -b $BASEDIR/reflection.frag.out $TARGETDIR/reflection.frag.out || HASERROR=1
63 diff -b $BASEDIR/reflection.options.frag.out $TARGETDIR/reflection.options.frag.out || HASERROR=1
65 diff -b $BASEDIR/reflection.options.geom.out $TARGETDIR/reflection.options.geom.out || HASERROR=1
67 diff -b $BASEDIR/reflection.linked.out $TARGETDIR/reflection.linked.out || HASERROR=1
69 diff -b $BASEDIR/reflection.linked.options.out $TARGETDIR/reflection.linked.options.out || HASERROR=1
71 diff
[all...]
/third_party/toybox/toys/net/
H A Dsntp.c45 // diff is how far off we think our clock is from reality (in nanoseconds)
46 static unsigned long long lunchtime(struct timespec *television, long long diff) in lunchtime() argument
51 if (diff) nanomove(&tv, diff); in lunchtime()
74 long long diff = 0; in sntp_main() local
122 pktime[5] = SWAP_BE64(before = lunchtime(&tv, diff)); in sntp_main()
173 int unset = !diff; in sntp_main()
181 lunchtime(&tv2, diff); in sntp_main()
182 diff = nanodiff(&tv, &tv2); in sntp_main()
183 if (unset && diff) brea in sntp_main()
[all...]
/third_party/skia/third_party/externals/brotli/research/
H A Ddraw_diff.cc8 /* Tool for drawing diff PPM images between two input PGM images. Normally used
39 void CalculateDiff(int** diff, Image image1, Image image2, in CalculateDiff() argument
43 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; in CalculateDiff()
48 void DrawDiff(int** diff, Image image1, Image image2, in DrawDiff() argument
54 if (max < diff[i][j]) max = diff[i][j]; in DrawDiff()
55 if (min > diff[i][j]) min = diff[i][j]; in DrawDiff()
70 int max_val = std::max(min_val, abs(diff[i][j])); in DrawDiff()
71 if (diff[ in DrawDiff()
108 int** diff = new int*[h1]; main() local
[all...]
/third_party/alsa-lib/test/
H A Dmixtest.c228 unsigned long long begin, end, diff, diffS, diff0, diff1, diff1_mmx, diff2; in main() local
264 diff = end - begin; in main()
265 if (diff < diffS) in main()
266 diffS = diff; in main()
267 printf("mix_areas_srv : %llu \r", diff); fflush(stdout); in main()
277 diff = end - begin; in main()
278 if (diff < diff0) in main()
279 diff0 = diff; in main()
280 printf("mix_areas0 : %llu \r", diff); fflush(stdout); in main()
290 diff in main()
[all...]
/third_party/ltp/lib/newlib_tests/
H A Dtest_timer.c19 long long diff; in test_diff() local
24 diff = tst_ts_diff_ns(ts1, ts2); in test_diff()
26 if (diff == 0) in test_diff()
29 tst_res(TFAIL, "ns_diff = %lli", diff); in test_diff()
31 diff = tst_ts_diff_ns(ts1, ts2); in test_diff()
33 if (diff == 0) in test_diff()
36 tst_res(TFAIL, "us_diff = %lli", diff); in test_diff()
38 diff = tst_ts_diff_ms(ts1, ts2); in test_diff()
40 if (diff == 0) in test_diff()
43 tst_res(TFAIL, "ms_diff = %lli", diff); in test_diff()
[all...]

Completed in 31 milliseconds

12345678910>>...37