/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
D | 15.8.2.6.js | 54 …array[item++] = new TestCase( SECTION, "Math.ceil.length", 1, Math.ceil.length ); 56 …array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.… 57 …array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(null) ); 58 array[item++] = new TestCase( SECTION, "Math.ceil()", Number.NaN, Math.ceil() ); 59 …array[item++] = new TestCase( SECTION, "Math.ceil(void 0)", Number.NaN, Math.ceil(void 0)… 61 …array[item++] = new TestCase( SECTION, "Math.ceil('0')", 0, Math.ceil('0') … 62 …array[item++] = new TestCase( SECTION, "Math.ceil('-0')", -0, Math.ceil('-0') … 63 …item++] = new TestCase( SECTION, "Infinity/Math.ceil('0')", Infinity, Infinity/Math.ceil('0')); 64 …tem++] = new TestCase( SECTION, "Infinity/Math.ceil('-0')", -Infinity, Infinity/Math.ceil('-0')); 66 …array[item++] = new TestCase( SECTION, "Math.ceil(0)", 0, Math.ceil(0) … [all …]
|
D | 15.8.2.9.js | 69 …or(NaN)==-Math.ceil(-NaN)", false, Math.floor(Number.NaN) == -Math.ceil(-Number.NaN) ); 72 …ECTION, "Math.floor(0)==-Math.ceil(-0)", true, Math.floor(0) == -Math.ceil(-0) ); 76 …SECTION, "Math.floor(-0)==-Math.ceil(0)", true, Math.floor(-0)== -Math.ceil(0) ); 79 ….ceil(-Infinity)", true, Math.floor(Number.POSITIVE_INFINITY) == -Math.ceil(Number.NEGATIVE_INF… 82 …h.ceil(Infinity)", true, Math.floor(Number.NEGATIVE_INFINITY) == -Math.ceil(Number.POSITIVE_INF… 85 ….floor(0.0000001)==-Math.ceil(0.0000001)", true, Math.floor(0.0000001)==-Math.ceil(-0.0000001) ); 88 ….floor(0.0000001)==-Math.ceil(0.0000001)", true, Math.floor(-0.0000001)==-Math.ceil(0.0000001) );
|
/external/tesseract/ccstruct/ |
D | rect.h | 146 top_right.set_x ((inT16) ceil (top_right.x () + vec.x ())); in move() 148 top_right.set_y ((inT16) ceil (top_right.y () + vec.y ())); in move() 156 top_right.set_x ((inT16) ceil (top_right.x () * f)); // round right in scale() 157 top_right.set_y ((inT16) ceil (top_right.y () * f)); // round up in scale() 163 top_right.set_x ((inT16) ceil (top_right.x () * vec.x ())); in scale() 164 top_right.set_y ((inT16) ceil (top_right.y () * vec.y ())); in scale() 257 top_right = ICOORD ((inT16) ceil (pt.x ()), (inT16) ceil (pt.y ())); in TBOX()
|
D | blobbox.cpp | 102 tr = ICOORD ((inT16) ceil (rightx), (inT16) ceil (ymax)); in chop()
|
/external/webkit/JavaScriptCore/wtf/ |
D | MathExtras.h | 72 inline double wtf_ceil(double x) { return copysign(ceil(x), x); } in wtf_ceil() 74 #define ceil(x) wtf_ceil(x) macro 105 inline long lround(double num) { return static_cast<long>(num > 0 ? num + 0.5 : ceil(num - 0.5)); } in lround() 107 inline double round(double num) { return num > 0 ? floor(num + 0.5) : ceil(num - 0.5); } in round() 109 inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); } in trunc()
|
/external/webkit/V8Binding/v8/src/ |
D | conversions-inl.h | 65 return (x >= 0) ? floor(x) : ceil(x); in DoubleToInteger() 88 x = (x >= 0) ? floor(x) : ceil(x) + two32; in DoubleToInt32()
|
/external/webkit/V8Binding/v8/test/mjsunit/ |
D | parse-int-float.js | 62 assertEquals(Math.ceil(x), parseInt(x)); 64 assertEquals(Math.ceil(x), parseInt(x));
|
/external/skia/src/animator/ |
D | SkDisplayMath.cpp | 59 SK_FUNCTION(ceil), 131 SK_MEMBER_FUNCTION(ceil, Float), 176 case SK_FUNCTION(ceil): in executeFunction()
|
/external/qemu/android/skin/ |
D | scaler.c | 111 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; in skin_scaler_scale() 112 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y; in skin_scaler_scale()
|
D | window.c | 1139 window_w = (int) ceil(layout_w*scale); in skin_window_resize() 1140 window_h = (int) ceil(layout_h*scale); in skin_window_resize() 1175 window_w = (int) ceil(window_w / scale ); in skin_window_resize() 1176 window_h = (int) ceil(window_h / scale ); in skin_window_resize()
|
/external/tesseract/textord/ |
D | wordseg.cpp | 146 maxwidth = (inT32) ceil (block->xheight * textord_words_maxspace); in set_row_spaces() 156 (inT32) ceil (row->pr_space - in set_row_spaces() 254 while (cluster_count < 2 && ceil (lower) < floor (upper)) { in row_words() 331 (inT32) ceil (upper - (upper - lower) * textord_words_definite_spread); in row_words() 487 (inT32) ceil (upper - (upper - lower) * textord_words_definite_spread); in row_words2()
|
D | tospace.cpp | 568 MIN (inT32 (ceil (tosp_fuzzy_space_factor * row->xheight)), in row_spacing_stats() 607 (inT32) ceil (row->space_threshold + in row_spacing_stats() 622 (inT32) ceil (tosp_table_fuzzy_kn_sp_ratio * in row_spacing_stats() 745 ceil (crude_threshold_estimate)); in isolated_row_stats() 875 (inT16) ceil (kn + (sp - kn) / 3 + 0.5)) < in improve_row_threshold() 889 for (index = inT16 (ceil (kn)); index < inT16 (floor (sp)); index++) { in improve_row_threshold() 2034 ICOORD ((inT16) ceil (right_limit), blob_box.top ())); in reduced_box_for_blob()
|
D | tordmain.cpp | 444 max_y = ceil (size_stats.ile (textord_blob_size_bigile / 100.0)); in filter_noise_blobs() 445 max_x = ceil (size_stats.ile (0.5) * textord_width_limit); in filter_noise_blobs() 498 ceil (initial_x * in filter_noise_blobs2() 502 max_x = ceil (initial_x * textord_width_limit); in filter_noise_blobs2()
|
D | makerow.h | 123 *max_height = static_cast<inT32>(ceil(block_linesize * 3)); in get_min_max_xheight()
|
D | topitch.cpp | 163 maxwidth = (inT32) ceil (bad_row->xheight * textord_words_maxspace); in fix_row_pitch() 325 block->max_nonspace = (inT32) ceil (block->xheight in compute_block_pitch() 370 maxwidth = (inT32) ceil (row->xheight * textord_words_maxspace); in compute_rows_pitch() 574 maxwidth = (inT32) ceil (row->xheight * textord_words_maxspace); in try_rows_fixed()
|
/external/tesseract/ccutil/ |
D | qrsequence.h | 36 num_bits_ = ceil(log(static_cast<double>(N)) / log(2.0)); in QRSequenceGenerator()
|
/external/skia/include/core/ |
D | SkSize.h | 77 SkISize ceil() const { in ceil() function
|
D | SkFloatingPoint.h | 47 #define sk_float_ceil(x) (float)::ceil(x)
|
/external/tesseract/dict/ |
D | dawg.cpp | 145 flag_start_bit_ = ceil(log(static_cast<double>(unicharset_size_))/log(2.0)); in init() 147 flag_start_bit_ = ceil(log(unicharset_size_)/log(2.0)); in init()
|
/external/webkit/WebKitTools/Scripts/ |
D | parallelcl | 98 my $jobSize = POSIX::ceil($numSources / (2 * $numJobs));
|
/external/icu4c/common/ |
D | putil.c | 361 return ceil(x); in uprv_ceil() 464 return ceil(d); in uprv_trunc() 469 return d >= 0 ? floor(d) : ceil(d); in uprv_trunc()
|
/external/tesseract/ccmain/ |
D | output.cpp | 568 width = (inT16) ceil (denorm->x (inset_box->right ())) - xpos; in make_reject() 570 height = (inT16) ceil (denorm->y (inset_box->top (), x_centre)) - ypos; in make_reject() 574 min_chars = (inT16) ceil (0.27 * width / denorm->row ()->x_height ()); in make_reject()
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 254 … (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE)); in encodeBase64()
|
/external/webkit/JavaScriptCore/runtime/ |
D | MathObject.cpp | 145 return jsNumber(exec, ceil(args.at(0).toNumber(exec))); in mathProtoFuncCeil()
|
/external/skia/tests/ |
D | MathTest.cpp | 94 int ix = (int)ceil(x); in test_float_ceil()
|