Searched refs:scale (Results 1 - 25 of 318) sorted by relevance

1234567891011>>

/macosx-10.10.1/groff-38/groff/font/devlj4/generate/
H A Dspecial.awk6 function scale(num) function
16 ascent["integralcrvmid"] = scale(0.84358)
17 descent["integralcrvmid"] = scale(0.25006)
18 ascent["integralbt"] = scale(0.84358)
19 descent["integralbt"] = scale(0.15164)
20 ascent["lt"] = scale(0.84358)
21 descent["lt"] = scale(0.15164)
22 ascent["parenlefttp"] = scale(0.84358)
23 descent["parenlefttp"] = scale(0.15164)
24 ascent["bracelefttp"] = scale(0.8435
[all...]
/macosx-10.10.1/bc-21/bc/Examples/
H A Dpi.b3 fraction part of PI. It will look at the first scale digits.
14 save_scale = scale;
15 scale += 5;
16 print "\n\nCalculating PI to ",scale," digits. Please wait . . .";
18 scale -= 5;
25 scale = 0;
31 scale = ix;
35 scale = 0;
41 /* Restore the scale. */
42 scale
[all...]
/macosx-10.10.1/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dbigfloat.pl25 # Also used for default sqrt scale
131 # args are dividend, divisor, scale (optional)
132 # result has at most max(scale, length(dividend), length(divisor)) digits
133 sub main'fdiv #(fnum_str, fnum_str[,scale]) return fnum_str
135 local($x,$y,$scale) = (&'fnorm($_[0]),&'fnorm($_[1]),$_[2]);
141 $scale = $div_scale if (!$scale);
142 $scale = length($xm)-1 if (length($xm)-1 > $scale);
143 $scale
[all...]
H A Dbigrat.pl142 local($x, $scale) = (&'rnorm($_[0]), $_[1]);
149 $scale = 5 if (!$scale);
150 while ($gscale++ < $scale) {
/macosx-10.10.1/bc-21/bc/bc/
H A Dlibmath.b32 scale = 20
49 /* n - the scale to compute the sum. */
50 /* z - orignal scale. */
59 z = scale;
61 scale = scale(x)+1;
65 scale += 1;
69 scale = n;
78 scale = z
95 if (x <= 0) return ((1 - 10^scale)/
[all...]
/macosx-10.10.1/ncurses-44/ncurses/test/
H A Dlinux-color.dat32 scale:255
H A Dxterm-16color.dat37 scale:255
H A Dxterm-88color.dat37 scale:255
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dutmstest.c100 static void roundTripTest(int64_t value, UDateTimeScale scale) argument
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) argument
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimi
121 epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) argument
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
257 int32_t scale; local
332 int32_t scale; local
[all...]
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/
H A DttkScale.c4 * ttk::scale widget.
27 Tcl_Obj *lengthObj; /* length of the long axis of the scale */
43 ScalePart scale; member in struct:__anon13345
51 Tk_Offset(Scale,scale.commandObj), -1,
54 Tk_Offset(Scale,scale.variableObj), -1,
57 Tk_Offset(Scale,scale.orientObj),
58 Tk_Offset(Scale,scale.orient), 0,
62 Tk_Offset(Scale,scale.fromObj), -1, 0, 0, 0},
64 Tk_Offset(Scale,scale.toObj), -1, 0, 0, 0},
66 Tk_Offset(Scale,scale
85 Scale *scale = recordPtr; local
111 Scale *scale = recordPtr; local
124 Scale *scale = recordPtr; local
152 Scale *scale = recordPtr; local
[all...]
/macosx-10.10.1/bc-21/bc/Test/
H A Dtestfn.b4 computed at two scales, scale s and then scale t, where t>s.
5 the result from scale t is divided by 1 at scale s and the
8 (called index) and the two original values val1 (scale s) and
9 val2 (scale t) */
20 scale = s;
22 scale = t;
24 scale = s;
45 Percent failed: "; scale
[all...]
/macosx-10.10.1/bc-21/bc/h/
H A Dnumber.h104 _PROTOTYPE(bc_num bc_new_num, (int length, int scale));
112 _PROTOTYPE(void bc_str2num, (bc_num *num, char *str, int scale));
124 _PROTOTYPE(char bc_is_near_zero, (bc_num num, int scale));
132 _PROTOTYPE(void bc_multiply, (bc_num n1, bc_num n2, bc_num *prod, int scale));
134 _PROTOTYPE(int bc_divide, (bc_num n1, bc_num n2, bc_num *quot, int scale));
137 int scale));
140 bc_num *rem, int scale));
143 bc_num *result, int scale));
146 int scale));
148 _PROTOTYPE(int bc_sqrt, (bc_num *num, int scale));
[all...]
/macosx-10.10.1/libutil-38/
H A Dhumanize_number.c54 const char *suffix, int scale, int flags)
71 assert(scale >= 0);
92 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1])
95 if (scale >= maxscale &&
96 (scale & (HN_AUTOSCALE | HN_GETSCALE)) == 0)
125 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) {
133 if (scale & HN_GETSCALE)
136 for (i = 0; i < scale && i < maxscale; i++)
53 humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix, int scale, int flags) argument
/macosx-10.10.1/bless-103/test/
H A Dtestgenerateoflabel.c21 int scale; local
43 scale = (argc == 4) ? kBitmapScale_2x : kBitmapScale_1x;
45 err = BLGenerateLabelData(NULL, argv[1], scale, &labelData);
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/
H A Dunix_startup.c164 int scale; local
169 if ((scale = nmbclusters / NMBCLUSTERS) > 1) {
170 tcp_sendspace *= scale;
171 tcp_recvspace *= scale;
313 bsd_scale_setup(int scale) argument
316 if ((scale > 0) && (serverperfmode == 0)) {
317 maxproc *= scale;
321 if ((scale > 0) && (serverperfmode !=0)) {
322 maxproc = 2500 * scale;
326 maxfiles = (150000 * scale);
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/Shared/
H A DVisibleContentRectUpdateInfo.h48 VisibleContentRectUpdateInfo(const WebCore::FloatRect& exposedRect, const WebCore::FloatRect& unobscuredRect, const WebCore::FloatRect& unobscuredRectInScrollViewCoordinates, const WebCore::FloatRect& customFixedPositionRect, double scale, bool inStableState, bool isChangingObscuredInsetsInteractively, double timestamp, double horizontalVelocity, double verticalVelocity, double scaleChangeRate, uint64_t lastLayerTreeTranscationId) argument
53 , m_scale(scale)
68 double scale() const { return m_scale; } function in class:WebKit::VisibleContentRectUpdateInfo
100 return a.scale() == b.scale()
/macosx-10.10.1/bless-103/libbless/Misc/
H A DBLGenerateOFLabel.c69 uint16_t width, uint16_t height, int scale, uint16_t *newwidth);
76 int BLGenerateLabelData(BLContextPtr context, const char *label, int scale, CFDataRef *data) argument
78 uint16_t width = 340 * scale;
79 uint16_t height = 12 * scale;
98 err = makeLabelOfSize(label, bitmapData+5, width, height, scale, &newwidth);
105 // cap at 340*scale pixels wide.
232 uint16_t width, uint16_t height, int scale, uint16_t *newwidth) {
284 fontRef = CTFontCreateWithName(CFSTR("Helvetica"), 10.0 * scale, NULL);
304 CGContextSetTextPosition(context, 2.0 * scale, 2.0 * scale);
231 makeLabelOfSize(const char *label, unsigned char *bitmapData, uint16_t width, uint16_t height, int scale, uint16_t *newwidth) argument
366 makeLabelOfSize(const char *label, unsigned char *bitmapData, uint16_t width, uint16_t height, int scale, uint16_t *newwidth) argument
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/API/Cocoa/
H A D_WKThumbnailView.h41 @property (nonatomic) CGFloat scale; variable
/macosx-10.10.1/IOAudioFamily-200.6/PCMBlitterLib/
H A DIOAudioBlitterLib.cpp132 Float32 scale = (1. / 2147483648.0); local
156 dest[0] = lv1 * scale;
157 dest[1] = lv2 * scale;
158 dest[2] = lv3 * scale;
159 dest[3] = lv4 * scale;
174 *dest++ = lv * scale;
183 Float32 scale = (1. / 2147483648.0); local
222 dest[0] = lv1 * scale;
223 dest[1] = lv2 * scale;
224 dest[2] = lv3 * scale;
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/
H A Dfmtscale.c46 static const char scale[] = "bkMGTPE"; local
48 u = scale;
74 if (u > scale)
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/CoordinatedGraphics/
H A DPageViewportController.cpp52 // Initializing Viewport Raw Attributes to avoid random negative or infinity scale factors
58 // The initial scale might be implicit and set to -1, in this case we have to infer it
60 // To be able to assert for valid scale we initialize it to -1.
101 // Scale by the effective scale factor to compute the screen-relative position.
102 scaledPos.scale(effectiveScale, effectiveScale);
108 alignedPos.scale(1 / effectiveScale, 1 / effectiveScale);
117 FloatPoint PageViewportController::boundContentsPositionAtScale(const WebCore::FloatPoint& framePosition, float scale) argument
122 bounds.setWidth(std::max(0.f, m_contentsSize.width() - floorf(m_viewportSize.width() / scale)));
123 bounds.setHeight(std::max(0.f, m_contentsSize.height() - floorf(m_viewportSize.height() / scale)));
156 // Restrict scale factor
251 didChangeContentsVisibility(const FloatPoint& position, float scale, const FloatPoint& trajectoryVector) argument
302 applyScaleAfterRenderingContents(float scale) argument
[all...]
H A DPageViewportController.h55 WebCore::FloatPoint boundContentsPositionAtScale(const WebCore::FloatPoint&, float scale);
72 void didChangeContentsVisibility(const WebCore::FloatPoint&, float scale, const WebCore::FloatPoint& trajectoryVector = WebCore::FloatPoint::zero());
84 void applyScaleAfterRenderingContents(float scale);
/macosx-10.10.1/bc-21/bc/lib/
H A Dnumber.c57 bc_new_num (length, scale)
58 int length, scale;
71 temp->n_scale = scale;
73 temp->n_ptr = (char *) malloc (length+scale);
76 memset (temp->n_ptr, 0, length+scale);
304 Last digit is defined by scale. */
307 bc_is_near_zero (num, scale)
309 int scale;
315 if (scale > num->n_scale)
316 scale
[all...]
/macosx-10.10.1/groff-38/groff/src/roff/troff/
H A Dhvunits.h31 friend inline vunits scale(vunits n, units x, units y); // scale n by x/y
32 friend inline vunits scale(vunits n, vunits x, vunits y);
60 friend inline hunits scale(hunits n, units x, units y); // scale n by x/y
61 friend inline hunits scale(hunits n, double x);
303 inline hunits scale(hunits n, units x, units y) function
306 r.n = scale(n.n, x, y);
310 inline vunits scale(vunits n, units x, units y) function
313 r.n = scale(
317 inline vunits scale(vunits n, vunits x, vunits y) function
324 inline hunits scale(hunits n, double x) function
331 inline units scale(units n, double x) function
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebPage/mac/
H A DTiledCoreAnimationDrawingArea.mm544 shadowLayerFrame.scale(transientScale / frameView.frame().page()->pageScaleFactor());
550 void TiledCoreAnimationDrawingArea::applyTransientZoomToLayers(double scale, FloatPoint origin)
559 transform.scale(scale);
568 shadowLayer->setBounds(shadowLayerBoundsForFrame(frameView, scale));
572 m_transientZoomScale = scale;
576 void TiledCoreAnimationDrawingArea::adjustTransientZoom(double scale, FloatPoint origin)
578 applyTransientZoomToLayers(scale, origin);
581 if (scale > currentPageScale)
587 tileCoverageRect.scale(currentPageScal
[all...]

Completed in 665 milliseconds

1234567891011>>