Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c57 if (s1->cost > s2->cost) { \
63 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0)
68 int cost; /* cost of vector */ member
80 if (seq1->cost >= __MOVE_INFINITY || seq2->cost >= __MOVE_INFINITY)
81 seq1->cost = __MOVE_INFINITY;
86 seq1->cost += seq2->cost;
107 seq->cost = __MOVE_INFINITY;
110 seq->cost += cur_term->_move[op]._cost * p1;
113 seq->cost = cur_term->_move[op]._cost;
340 if (__MOVE_INFINITY <= seq->cost)
[all …]
H A Ddoupdate.c75 short cost; member
95 STATIC int cost(int, int);
656 cost(fr, lr) in cost() function
674 LC(fr,fr).cost = 0;
677 LC(fr,nr).cost = cc * 3;
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;
[all …]
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c61 if (s1->cost > s2->cost) { \
67 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0)
72 int cost; /* cost of vector */ member
83 if (seq1->cost >= __MOVE_INFINITY || seq2->cost >= __MOVE_INFINITY) in add_seq()
84 seq1->cost = __MOVE_INFINITY; in add_seq()
89 seq1->cost += seq2->cost; in add_seq()
108 seq->cost = __MOVE_INFINITY; in add_op()
111 seq->cost += cur_term->_move[op]._cost * p1; in add_op()
114 seq->cost = cur_term->_move[op]._cost; in add_op()
336 if (__MOVE_INFINITY <= seq->cost) in out_seq()
[all …]
H A Ddoupdate.c73 short cost; member
96 static int cost(int, int);
792 cost(int fr, int lr) in cost() function
811 LC(fr, fr).cost = MOVE_COST; in cost()
814 LC(fr, nr).cost = cc * INSERT_COST; in cost()
818 LC(nr, fr).cost = cc * DELETE_COST; in cost()
827 lcp->cost = LC(or, nr).cost; in cost()
832 lcp->cost += REPLACE_COST; in cost()
837 if ((cc = LC(or + 1, nr).cost + INSERT_COST) < in cost()
838 lcp->cost) { in cost()
[all …]
/titanic_41/usr/src/cmd/vi/port/
H A Dex_tty.c238 costCM = cost(tparm(cursor_address, 10, 8)); in setterm()
239 costSR = cost(scroll_reverse); in setterm()
240 costAL = cost(insert_line); in setterm()
241 costDP = cost(tparm(parm_down_cursor, 10)); in setterm()
242 costLP = cost(tparm(parm_left_cursor, 10)); in setterm()
243 costRP = cost(tparm(parm_right_cursor, 10)); in setterm()
244 costCE = cost(clr_eol); in setterm()
245 costCD = cost(clr_eos); in setterm()
356 cost(unsigned char *str) in cost() function
H A Dex.news355 A bug which caused vi to estimate the cost of cursor motion
/titanic_41/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.h62 unsigned char cost; member
/titanic_41/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()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dwrefresh.c803 int x1, x2, blnk, idch, cost, cost_ich1, match; in _useidch() local
809 cost = _COST(dcfixed) + (parm_dch ? _COST(Parm_dch) : in _useidch()
812 cost = _INFINITY; in _useidch()
814 if (match >= cost) { in _useidch()
872 cost = SP->phys_irm ? 0 : _COST(icfixed); in _useidch()
874 cost += _COST(Parm_ich); in _useidch()
877 cost += cost_ich1; in _useidch()
880 cost = _COST(Parm_ich); in _useidch()
882 cost = cost_ich1; in _useidch()
884 if ((cost - blnk) > match) in _useidch()
H A Dmvcur.c189 int cy, cost; in _homefirst() local
193 cost = _COST(Cursor_home); in _homefirst()
197 cost = _COST(Cursor_to_ll); in _homefirst()
204 return (cost + _mvrel(cy, 0, ny, nx, FALSE)); in _homefirst()
H A Dtermcap.ed166 * actually expect it to be copied, at a slight cost in speed.
/titanic_41/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
/titanic_41/usr/src/cmd/sendmail/cf/feature/
H A Dbestmx_is_local.m437 # lower cost method is to list all the expected best MX hosts
/titanic_41/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.
/titanic_41/usr/src/cmd/sendmail/db/
H A DLICENSE35 * more than the cost of distribution plus a nominal fee, and must be
/titanic_41/usr/src/cmd/perl/
H A DTHIRDPARTYLICENSE29 is whatever you can justify on the basis of media cost, duplication
/titanic_41/usr/src/tools/onbld/
H A DTHIRDPARTYLICENSE144 cost of physically performing source distribution, a complete
/titanic_41/usr/src/grub/grub-0.97/
H A DCOPYING144 cost of physically performing source distribution, a complete
/titanic_41/usr/src/cmd/powertop/common/
H A DCOPYING144 cost of physically performing source distribution, a complete
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A DTHIRDPARTYLICENSE238 cost of physically performing source distribution, a complete
/titanic_41/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.
/titanic_41/usr/src/lib/librstp/common/
H A DCOPYING309 than the cost of performing this distribution.
/titanic_41/usr/src/cmd/ssh/doc/
H A DREADME.Ylonen172 the years. Because most of the work can be automated, the cost of
/titanic_41/usr/src/lib/libshell/common/
H A Dsh.memo1064 removed because the high performance cost was no longer

12