| /src/games/backgammon/common_source/ |
| allow.c | 44 movallow(struct move *mm) 48 if (mm->d0) 49 mswap(mm); 50 m = (mm->D0 == mm->D1 ? 4 : 2); 52 mm->p[i] = bar; 57 mm->h[i] = 0; 60 mm->g[i] = bar + cturn * mm->D1; 62 mm->g[i] = bar + cturn * mm->D0 [all...] |
| one.c | 47 makmove(struct move *mm, int i) 52 d = mm->d0; 53 n = abs(mm->g[i] - mm->p[i]); 55 if (board[mm->p[i]] * cturn <= 0) 56 return (checkd(mm, d) + 2); 57 if (mm->g[i] != home && board[mm->g[i]] * cturn < -1) 58 return (checkd(mm, d) + 3); 59 if (i || mm->D0 == mm->D1) [all...] |
| init.c | 97 move_init(struct move *mm) 99 mm->D0 = 0; 100 mm->D1 = 0; 101 mm->mvlim = 0; 102 mm->p[0] = mm->p[1] = mm->p[2] = mm->p[3] = mm->p[4] = 0; 103 mm->g[0] = mm->g[1] = mm->g[2] = mm->g[3] = mm->g[4] = 0 [all...] |
| check.c | 44 getmove(struct move *mm) 50 i = checkmove(mm, c); 54 if (movokay(mm, mm->mvlim)) { 59 for (i = 0; i < mm->mvlim; i++) 60 if (mm->h[i]) 61 wrhit(mm->g[i]); 85 writec(mm->mvlim + '0'); 87 if (mm->mvlim > 1) 94 if (quit(mm)) [all...] |
| table.c | 86 checkmove(struct move *mm, int ist) 101 mm->p[j] = mm->g[j] = -1; 108 save(mm, 1); 114 proll(mm); 129 n = rsetbrd(mm); 154 proll(mm); 159 n = dotable(mm, c, ist); 171 if (n == -1 && mvl >= mm->mvlim) 173 if (n == -1 && mvl < mm->mvlim - 1 [all...] |
| /src/external/gpl2/gettext/dist/gettext-tools/tests/ |
| msgmerge-compendium-6 | 6 # mm-ko.ascii.pot mm-ko.euc-kr.po mm-ko-comp.euc-kr.po 7 # mm-ko.utf-8.pot mm-ko.utf-8.po mm-ko-comp.utf-8.po 12 tmpfiles="$tmpfiles mm-ko.utf-8.pot" 14 ${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot ${top_srcdir}/tests/mm-ko.ascii.pot 16 tmpfiles="$tmpfiles mm-ko.utf-8.po [all...] |
| msgmerge-compendium-1 | 8 tmpfiles="$tmpfiles mm-c-1.in1 mm-c-1.com mm-c-1.pot" 9 cat <<EOF > mm-c-1.in1 15 cat <<EOF > mm-c-1.com 21 cat <<EOF > mm-c-1.pot 31 tmpfiles="$tmpfiles mm-c-1.out" 33 ${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.out mm-c-1.in1 mm-c-1.po [all...] |
| msgmerge-compendium-2 | 8 tmpfiles="$tmpfiles mm-c-2.in1 mm-c-2.com mm-c-2.pot" 9 cat <<EOF > mm-c-2.in1 15 cat <<EOF > mm-c-2.com 21 cat <<EOF > mm-c-2.pot 31 tmpfiles="$tmpfiles mm-c-2.out" 33 ${MSGMERGE} -q -C mm-c-2.com -o mm-c-2.out mm-c-2.in1 mm-c-2.po [all...] |
| msgmerge-compendium-3 | 5 # Translation is available within the compendium (mm-c-3.com) 6 # the old translation file (mm-c-3.in1) contains the same msgid 12 tmpfiles="$tmpfiles mm-c-3.in1 mm-c-3.com mm-c-3.pot" 13 cat <<EOF > mm-c-3.in1 23 cat <<EOF > mm-c-3.com 29 cat <<EOF > mm-c-3.pot 39 tmpfiles="$tmpfiles mm-c-3.out" 41 ${MSGMERGE} -q -C mm-c-3.com -o mm-c-3.out mm-c-3.in1 mm-c-3.po [all...] |
| msgmerge-properties-2 | 9 tmpfiles="$tmpfiles mm-p-2.po" 10 cat <<\EOF > mm-p-2.po 15 tmpfiles="$tmpfiles mm-p-2.pot" 16 cat <<EOF > mm-p-2.pot 22 tmpfiles="$tmpfiles mm-p-2.po~" 24 ${MSGMERGE} -q --properties-input --update mm-p-2.po mm-p-2.pot 27 tmpfiles="$tmpfiles mm-p-2.ok" 28 cat <<\EOF > mm-p-2.ok 35 ${DIFF} mm-p-2.ok mm-p-2.p [all...] |
| msgmerge-1 | 8 tmpfiles="$tmpfiles mm-test1.in1 mm-test1.in2" 9 cat <<EOF > mm-test1.in1 26 cat <<EOF > mm-test1.in2 41 tmpfiles="$tmpfiles mm-test1.out" 43 ${MSGMERGE} -q -o mm-test1.out mm-test1.in1 mm-test1.in2 46 tmpfiles="$tmpfiles mm-test1.ok" 47 cat << EOF > mm-test1.o [all...] |
| msgmerge-10 | 9 tmpfiles="$tmpfiles mm-test10.po" 10 cat <<EOF > mm-test10.po 32 tmpfiles="$tmpfiles mm-test10.pot" 33 cat <<EOF > mm-test10.pot 57 tmpfiles="$tmpfiles mm-test10.out" 59 ${MSGMERGE} -q -o mm-test10.out mm-test10.po mm-test10.pot 62 tmpfiles="$tmpfiles mm-test10.ok" 63 cat <<EOF > mm-test10.o [all...] |
| msgmerge-11 | 9 tmpfiles="$tmpfiles mm-test11.po" 10 cat <<EOF > mm-test11.po 34 tmpfiles="$tmpfiles mm-test11.pot" 35 cat <<EOF > mm-test11.pot 59 tmpfiles="$tmpfiles mm-test11.out" 61 ${MSGMERGE} -q -o mm-test11.out mm-test11.po mm-test11.pot 64 tmpfiles="$tmpfiles mm-test11.ok" 65 cat <<EOF > mm-test11.o [all...] |
| msgmerge-12 | 9 tmpfiles="$tmpfiles mm-test12.po" 10 cat <<EOF > mm-test12.po 34 tmpfiles="$tmpfiles mm-test12.pot" 35 cat <<EOF > mm-test12.pot 57 tmpfiles="$tmpfiles mm-test12.out" 59 ${MSGMERGE} -q -o mm-test12.out mm-test12.po mm-test12.pot 62 tmpfiles="$tmpfiles mm-test12.ok" 63 cat <<EOF > mm-test12.o [all...] |
| msgmerge-14 | 10 tmpfiles="$tmpfiles mm-test14-ru.po" 11 cat <<\EOF > mm-test14-ru.po 33 tmpfiles="$tmpfiles mm-test14.pot" 34 cat <<\EOF > mm-test14.pot 61 tmpfiles="$tmpfiles mm-test14.out" 63 ${MSGMERGE} -q -o mm-test14.out mm-test14-ru.po mm-test14.pot 66 tmpfiles="$tmpfiles mm-test14.ok" 67 cat <<\EOF > mm-test14.o [all...] |
| msgmerge-15 | 8 tmpfiles="$tmpfiles mm-test15.pot mm-test15.po" 9 cat <<\EOF > mm-test15.pot 25 cat <<\EOF > mm-test15.po 32 tmpfiles="$tmpfiles mm-test15.out" 34 ${MSGMERGE} -q -o mm-test15.out mm-test15.pot mm-test15.po 37 tmpfiles="$tmpfiles mm-test15.ok" 38 cat <<\EOF > mm-test15.o [all...] |
| msgmerge-16 | 9 tmpfiles="$tmpfiles mm-test16.po" 10 cat <<\EOF > mm-test16.po 34 tmpfiles="$tmpfiles mm-test16.pot" 35 cat <<EOF > mm-test16.pot 63 tmpfiles="$tmpfiles mm-test16.new.po" 65 ${MSGMERGE} -q -o mm-test16.new.po mm-test16.po mm-test16.pot 68 tmpfiles="$tmpfiles mm-test16.ok" 69 cat <<\EOF > mm-test16.o [all...] |
| msgmerge-3 | 8 tmpfiles="$tmpfiles mm-test3.in1 mm-test3.in2" 9 cat <<EOF > mm-test3.in1 38 cat <<EOF > mm-test3.in2 55 tmpfiles="$tmpfiles mm-test3.out" 57 ${MSGMERGE} -q -o mm-test3.out mm-test3.in1 mm-test3.in2 60 tmpfiles="$tmpfiles mm-test3.ok" 61 cat << EOF > mm-test3.o [all...] |
| msgmerge-4 | 8 tmpfiles="$tmpfiles mm-test4.in1.po mm-test4.in2.po" 9 cat <<EOF > mm-test4.in1.po 22 cat <<EOF > mm-test4.in2.po 30 tmpfiles="$tmpfiles mm-test4.out" 32 ${MSGMERGE} -q -o mm-test4.out mm-test4.in1.po mm-test4.in2.po 35 tmpfiles="$tmpfiles mm-test4.ok" 36 cat <<EOF > mm-test4.o [all...] |
| msgmerge-6 | 8 tmpfiles="$tmpfiles mm-test6.in1.po mm-test6.in2.po" 9 cat <<\EOF > mm-test6.in1.po 30 cat <<EOF > mm-test6.in2.po 59 tmpfiles="$tmpfiles mm-test6.out" 62 ${MSGMERGE} -q -o mm-test6.out mm-test6.in1.po mm-test6.in2.po 65 tmpfiles="$tmpfiles mm-test6.ok" 66 cat <<\EOF > mm-test6.o [all...] |
| msgmerge-compendium-4 | 9 tmpfiles="$tmpfiles mm-c-4.com mm-c-4.pot" 11 cat <<\EOF > mm-c-4.com 22 cat <<EOF > mm-c-4.pot 32 tmpfiles="$tmpfiles mm-c-4.out" 34 ${MSGMERGE} -q --compendium mm-c-4.com -o mm-c-4.out /dev/null mm-c-4.pot 37 tmpfiles="$tmpfiles mm-c-4.ok" 38 cat << \EOF > mm-c-4.o [all...] |
| msgmerge-update-1 | 8 tmpfiles="$tmpfiles mm-u-1.po" 9 cat <<\EOF > mm-u-1.po 36 tmpfiles="$tmpfiles mm-u-1.pot" 37 cat <<EOF > mm-u-1.pot 62 tmpfiles="$tmpfiles mm-u-1.bak" 63 cp mm-u-1.po mm-u-1.bak 65 tmpfiles="$tmpfiles mm-u-1.po~" 67 ${MSGMERGE} -q --update mm-u-1.po mm-u-1.po [all...] |
| /src/games/backgammon/teachgammon/ |
| tutor.c | 51 tutor(struct move *mm) 75 movback(mm, mm->mvlim); 81 proll(mm); 85 getmove(mm); 97 mm->D0 = test[i].roll1; 98 mm->D1 = test[i].roll2; 99 mm->d0 = 0; 100 mm->mvlim = 0; 104 mm->p[j] = test[i].mp[j] [all...] |
| /src/sys/external/bsd/drm/dist/bsd-core/ |
| drm_mm.c | 52 unsigned long drm_mm_tail_space(struct drm_mm *mm) 57 tail_node = mm->ml_entry.prev; 65 int drm_mm_remove_space_from_tail(struct drm_mm *mm, unsigned long size) 70 tail_node = mm->ml_entry.prev; 82 static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) 92 mutex_enter(&mm->unused_lock); 93 if (list_empty(&mm->unused_nodes)) 97 list_entry(mm->unused_nodes.next, 100 --mm->num_unused; 102 mutex_exit(&mm->unused_lock) 231 struct drm_mm *mm = cur->mm; local [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| exceptprint.cc | 56 maude mm (77); 57 maude &mmm (mm); 61 rethrowit (mm);
|