Searched refs:cost (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.10/WebCore-7600.1.25/dom/
H A DCollectionIndexCache.cpp33 void reportExtraMemoryCostForCollectionIndexCache(size_t cost) argument
37 vm.heap.reportExtraMemoryCost(cost);
/macosx-10.10/cups-408/cups/scheduler/
H A Dfilter.c57 int *cost, _mime_typelist_t *visited);
68 int cost, /* I - Relative time/resource cost */
74 DEBUG_printf(("mimeAddFilter(mime=%p, src=%p(%s/%s), dst=%p(%s/%s), cost=%d, "
78 cost, filter));
98 * Yup, does the existing filter have a higher cost? If so, copy the
99 * filter and cost to the existing filter entry and return it...
102 if (temp->cost > cost)
104 DEBUG_printf(("1mimeAddFilter: Replacing filter \"%s\", cost
65 mimeAddFilter(mime_t *mime, mime_type_t *src, mime_type_t *dst, int cost, const char *filter) argument
154 mimeFilter(mime_t *mime, mime_type_t *src, mime_type_t *dst, int *cost) argument
175 mimeFilter2(mime_t *mime, mime_type_t *src, size_t srcsize, mime_type_t *dst, int *cost) argument
312 mime_find_filters( mime_t *mime, mime_type_t *src, size_t srcsize, mime_type_t *dst, int *cost, _mime_typelist_t *list) argument
[all...]
H A Dmime.h101 int cost; /* Relative cost */ member in struct:_mime_filter_s
142 mime_type_t *dst, int cost,
146 mime_type_t *dst, int *cost);
149 int *cost);
H A Dtestmime.c51 int cost; /* Cost of filters */ local
130 filters = mimeFilter2(mime, src, (size_t)srcinfo.st_size, dst, &cost);
141 printf("Filter cost = %d\n", cost);
189 filter->filter, filter->cost);
214 int cost; /* Cost of filter */ local
227 * source/type cost program
228 * source/type cost maxsize(nnnn) program
229 * source/type dest/type cost program
230 * source/type dest/type cost maxsiz
463 int cost; /* Filter cost */ local
[all...]
H A Dcupsfilter.c110 int cost; /* Cost of filters */ local
448 else if ((filters = mimeFilter(mime, src, dst, &cost)) == NULL)
546 int cost; /* Cost of filter */ local
556 * source/type cost program
557 * source/type cost maxsize(nnnn) program
558 * source/type dest/type cost program
559 * source/type dest/type cost maxsize(nnnn) program
563 super, type, dsuper, dtype, &cost, program) == 6)
572 if (sscanf(filter, "%15[^/]/%255s%d%*[ \t]%1023[^\n]", super, type, &cost,
636 filterptr = mimeAddFilter(mime, temptype, desttype, cost, progra
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dscroll.c34 So no cost can exceed the area of a frame, measured in characters.
51 for the cost in insertcost. */
54 for the cost in deletecost. */
57 or delete for the cost in writecost. */
70 /* Determine, in matrix[i,j], the cost of updating the first j old
74 the smallest cost that ends with an insert, the smallest
75 cost that ends with a delete, and the smallest cost that
77 on some terminals the cost of doing an insert varies
80 /* draw_cost[VPOS] is the cost o
102 register int cost, cost1; local
444 register int cost, cost1, delta; local
[all...]
H A Dcm.c45 int cost; /* sums up costs */ variable
52 cost++;
145 * (Re)Initialize the cost factors, given the output speed of the terminal
155 #define COST(x,e) (x ? (cost = 0, tputs (x, 1, e), cost) : BIG)
169 * candidates for the least-cost motion, the real cost is computed.
170 * (Note that "0" is the assumed to generate the minimum cost.
172 * for which is not; all the terminals that have variable-cost
185 * Calculate the cost t
[all...]
/macosx-10.10/cups-408/cups/ppdc/
H A Dppdc-filter.cxx34 int c) // I - Relative cost
41 cost = c;
H A Dppdc-import.cxx40 int cost; // Cost for filter local
150 cost = strtol(ptr, &ptr, 10);
155 filter = new ppdcFilter(line, ptr, cost);
/macosx-10.10/CPANInternal-159.1/Text-LevenshteinXS-0.03/
H A DLevenshteinXS.xs23 int k,i,j,n,m,cost,*d,distance;
44 cost=0;
46 cost=1;
48 d[j*n+i]=minimum(d[(j-1)*n+i]+1,d[j*n+i-1]+1,d[(j-1)*n+i-1]+cost);
/macosx-10.10/apache-793/httpd/modules/lua/
H A Dlua_passwd.h75 int cost; member in struct:passwd_ctx
H A Dlua_passwd.c155 if (ctx->cost == 0)
156 ctx->cost = BCRYPT_DEFAULT_COST;
157 rv = apr_bcrypt_encode(pw, ctx->cost, (unsigned char*)salt, 16,
/macosx-10.10/ruby-106/ruby/lib/
H A Dprofiler.rb92 cost = now - tick[0]
93 data[1] += cost
94 data[2] += cost - tick[1]
95 stack[-1][1] += cost if stack[-1]
/macosx-10.10/ruby-106/ruby/lib/rubygems/
H A Dtext.rb30 # Returns a value representing the "cost" of transforming str1 into str2
49 cost = (s[i] == t[j]) ? 0 : 1
53 d[j] + cost # substitution
/macosx-10.10/WebCore-7600.1.25/Modules/webaudio/
H A DAudioBuffer.cpp127 size_t cost = 0; local
129 cost += m_channels[i]->byteLength();
130 return cost;
/macosx-10.10/apache-793/httpd/support/
H A Dpasswd_common.h82 int cost; member in struct:passwd_ctx
H A Dpasswd_common.c189 if (ctx->cost != 0 && ctx->alg != ALG_BCRYPT) {
259 if (ctx->cost == 0)
260 ctx->cost = BCRYPT_DEFAULT_COST;
261 rv = apr_bcrypt_encode(pw, ctx->cost, (unsigned char*)salt, 16,
334 ctx->cost = num;
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/simulation/
H A Dannealing.tcl516 proc cost {params} { procedure
517 set cost 0
520 incr cost
525 incr cost
528 return $cost
538 -code {set result [cost $params]}]
547 set cost 0
550 incr cost
553 return $cost
/macosx-10.10/emacs-93/emacs/lisp/calc/
H A Dcalc-fin.el361 (defun calcFunc-sln (cost salvage life &optional period)
362 (or (math-realp cost) math-expand-formulas
363 (math-reject-arg cost 'realp))
374 (math-div (math-sub cost salvage) life)))
377 (defun calcFunc-syd (cost salvage life period)
378 (or (math-realp cost) math-expand-formulas
379 (math-reject-arg cost 'realp))
389 (math-div (math-mul (math-sub cost salvage)
394 (defun calcFunc-ddb (cost salvage life period)
397 (or (math-realp cost) (mat
[all...]
/macosx-10.10/bzip2-36/bzip2/
H A Dcompress.c256 UInt16 cost[BZ_N_GROUPS]; local
353 Calculate the cost of this group as coded
356 for (t = 0; t < nGroups; t++) cost[t] = 0;
383 cost[0] = cost01 & 0xffff; cost[1] = cost01 >> 16;
384 cost[2] = cost23 & 0xffff; cost[3] = cost23 >> 16;
385 cost[4] = cost45 & 0xffff; cost[5] = cost45 >> 16;
391 for (t = 0; t < nGroups; t++) cost[
[all...]
/macosx-10.10/ncurses-44/ncurses/ncurses/tty/
H A Dhashmap.c127 /* approximate update cost */
131 int cost = 0; local
136 cost++;
138 return cost;
144 int cost = 0; local
153 cost++;
155 return cost;
159 * Returns true when moving line 'from' to line 'to' seems to be cost
175 * On the left side of >= is the cost before moving;
176 * on the right side -- cost afte
[all...]
/macosx-10.10/WebCore-7600.1.25/html/
H A DHTMLCollection.h59 if (size_t cost = memoryCost())
60 reportExtraMemoryCostForCollectionIndexCache(cost);
/macosx-10.10/JavaScriptCore-7600.1.17/heap/
H A DHeapInlines.h155 inline void Heap::reportExtraMemoryCost(size_t cost) argument
157 if (cost > minExtraCost)
158 reportExtraMemoryCostSlowCase(cost);
/macosx-10.10/ntp-92/util/
H A Dntptime.c97 int cost = 0; local
122 cost++;
224 if (cost) {
/macosx-10.10/rsync-45/rsync/
H A Dutil.c1324 int32 cost; local
1332 for (i1 = 0, cost = 0; i1 < len1; i1++)
1333 cost += s1[i1];
1334 return (int32)len1 * UNIT + cost;
1345 if ((cost = *((uchar*)s1+i1) - *((uchar*)s2+i2)) != 0) {
1346 if (cost < 0)
1347 cost = UNIT - cost;
1349 cost = UNIT + cost;
[all...]

Completed in 339 milliseconds

123