Home
last modified time | relevance | path

Searched refs:cost (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c55 if (s1->cost > s2->cost) { \
66 int cost; /* cost of vector */ member
78 if (seq1->cost >= __MOVE_INFINITY || seq2->cost >= __MOVE_INFINITY)
79 seq1->cost = __MOVE_INFINITY;
84 seq1->cost += seq2->cost;
105 seq->cost = __MOVE_INFINITY;
111 seq->cost = cur_term->_move[op]._cost;
338 if (__MOVE_INFINITY <= seq->cost)
449 cost(cap, index, p1, p2) in cost() function
474 cost(cursor_up, __MOVE_UP, 0, 0); in __m_mvcur_cost()
[all …]
H A Ddoupdate.c75 short cost; member
656 cost(fr, lr) in cost() function
674 LC(fr,fr).cost = 0;
681 LC(nr,fr).cost = cc;
690 lcp->cost = LC(or,nr).cost;
703 lcp->cost += 2;
708 if ((cc = LC(or+1,nr).cost + 3) < lcp->cost) {
709 lcp->cost = cc;
714 if ((cc = LC(or,nr+1).cost + 1) < lcp->cost) {
715 lcp->cost = cc;
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c59 if (s1->cost > s2->cost) { \
70 int cost; /* cost of vector */ member
81 if (seq1->cost >= __MOVE_INFINITY || seq2->cost >= __MOVE_INFINITY) in add_seq()
82 seq1->cost = __MOVE_INFINITY; in add_seq()
87 seq1->cost += seq2->cost; in add_seq()
106 seq->cost = __MOVE_INFINITY; in add_op()
112 seq->cost = cur_term->_move[op]._cost; in add_op()
334 if (__MOVE_INFINITY <= seq->cost) in out_seq()
459 cost(cursor_up, __MOVE_UP, 0, 0); in __m_mvcur_cost()
460 cost(cursor_down, __MOVE_DOWN, 0, 0); in __m_mvcur_cost()
[all …]
H A Ddoupdate.c71 short cost; member
94 static int cost(int, int);
790 cost(int fr, int lr) in cost() function
809 LC(fr, fr).cost = MOVE_COST; in cost()
825 lcp->cost = LC(or, nr).cost; in cost()
830 lcp->cost += REPLACE_COST; in cost()
836 lcp->cost) { in cost()
837 lcp->cost = cc; in cost()
843 lcp->cost) { in cost()
844 lcp->cost = cc; in cost()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dexpand.c424 int cost; in expand_binop() local
489 int cost; in expand_comma() local
502 return cost; in expand_comma()
531 int cost; in expand_compare() local
572 return cost; in expand_conditional()
772 int cost; in expand_preop() local
809 return cost; in expand_arguments()
814 int cost; in expand_cast() local
852 int cost; in expand_call() local
876 return cost; in expand_expression_list()
[all …]
H A Dbuiltin.c106 static int expand_expect(struct expression *expr, int cost) in expand_expect() argument
119 static int expand_warning(struct expression *expr, int cost) in expand_warning() argument
161 static int expand_constant_p(struct expression *expr, int cost) in expand_constant_p() argument
164 expr->value = !cost; in expand_constant_p()
170 static int expand_safe_p(struct expression *expr, int cost) in expand_safe_p() argument
173 expr->value = (cost < SIDE_EFFECTS); in expand_safe_p()
203 static int expand_bswap(struct expression *expr, int cost) in expand_bswap() argument
208 if (cost) in expand_bswap()
209 return cost; in expand_bswap()
H A DGPL-2144 cost of physically performing source distribution, a complete
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_tty.c236 costCM = cost(tparm(cursor_address, 10, 8)); in setterm()
237 costSR = cost(scroll_reverse); in setterm()
238 costAL = cost(insert_line); in setterm()
239 costDP = cost(tparm(parm_down_cursor, 10)); in setterm()
240 costLP = cost(tparm(parm_left_cursor, 10)); in setterm()
241 costRP = cost(tparm(parm_right_cursor, 10)); in setterm()
242 costCE = cost(clr_eol); in setterm()
243 costCD = cost(clr_eos); in setterm()
354 cost(unsigned char *str) in cost() function
/illumos-gate/usr/src/cmd/sh/
H A Dhashserv.c42 static unsigned char cost; variable
107 h->cost = 0;
127 hentry.cost = 0;
146 h->cost += cost;
203 prn_buff(h->cost);
261 hentry.cost = 0; in hash_func()
406 cost = 0; in findpath()
419 cost = 1; in findpath()
433 cost++; in findpath()
H A Dhash.h61 unsigned char cost; member
/illumos-gate/usr/src/common/bzip2/
H A Dcompress.c257 UInt16 cost[BZ_N_GROUPS]; in sendMTFValues() local
357 for (t = 0; t < nGroups; t++) cost[t] = 0; in sendMTFValues()
384 cost[0] = cost01 & 0xffff; cost[1] = cost01 >> 16; in sendMTFValues()
385 cost[2] = cost23 & 0xffff; cost[3] = cost23 >> 16; in sendMTFValues()
386 cost[4] = cost45 & 0xffff; cost[5] = cost45 >> 16; in sendMTFValues()
392 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv]; in sendMTFValues()
402 if (cost[t] < bc) { bc = cost[t]; bt = t; }; in sendMTFValues()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwrefresh.c806 int x1, x2, blnk, idch, cost, cost_ich1, match; in _useidch() local
812 cost = _COST(dcfixed) + (parm_dch ? _COST(Parm_dch) : in _useidch()
815 cost = _INFINITY; in _useidch()
817 if (match >= cost) { in _useidch()
875 cost = SP->phys_irm ? 0 : _COST(icfixed); in _useidch()
877 cost += _COST(Parm_ich); in _useidch()
880 cost += cost_ich1; in _useidch()
883 cost = _COST(Parm_ich); in _useidch()
885 cost = cost_ich1; in _useidch()
887 if ((cost - blnk) > match) in _useidch()
H A Dmvcur.c187 int cy, cost; in _homefirst() local
191 cost = _COST(Cursor_home); in _homefirst()
195 cost = _COST(Cursor_to_ll); in _homefirst()
202 return (cost + _mvrel(cy, 0, ny, nx, FALSE)); in _homefirst()
H A Dtermcap.ed165 * actually expect it to be copied, at a slight cost in speed.
/illumos-gate/usr/src/cmd/sendmail/
H A DLICENSE16 (a) Redistributions are made at no charge beyond the reasonable cost of
21 years at the cost of materials and delivery. Such redistributions
/illumos-gate/usr/src/cmd/sendmail/cf/feature/
H A Dbestmx_is_local.m437 # lower cost method is to list all the expected best MX hosts
/illumos-gate/usr/src/cmd/refer/papers/
H A DRv7man354 "The total cost of maintaining a widely used program is typically 40 percent
355 or more of the cost of developing it." p.121.
/illumos-gate/usr/src/test/test-runner/stf/contrib/
H A DLICENSE.Artistic29 basis of media cost, duplication charges, time of people
/illumos-gate/usr/src/cmd/sendmail/db/
H A DLICENSE35 * more than the cost of distribution plus a nominal fee, and must be
/illumos-gate/usr/src/cmd/perl/
H A DTHIRDPARTYLICENSE29 is whatever you can justify on the basis of media cost, duplication
/illumos-gate/usr/src/grub/grub-0.97/
H A DCOPYING144 cost of physically performing source distribution, a complete
/illumos-gate/usr/src/cmd/powertop/common/
H A DCOPYING144 cost of physically performing source distribution, a complete
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A DTHIRDPARTYLICENSE238 cost of physically performing source distribution, a complete
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A DLICENSE.txt286 cost of physically performing source distribution, a complete
771 than the cost of performing this distribution.
/illumos-gate/usr/src/lib/librstp/common/
H A DCOPYING309 than the cost of performing this distribution.

12