/netbsd-current/games/backgammon/common_source/ |
H A D | allow.c | 44 movallow(struct move *mm) argument 49 if (mm->d0) 50 mswap(mm); 51 m = (mm->D0 == mm->D1 ? 4 : 2); 53 mm->p[i] = bar; 58 mm->h[i] = 0; 61 mm->g[i] = bar + cturn * mm->D1; 63 mm [all...] |
H A D | one.c | 47 makmove(struct move *mm, int i) argument 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 100 moverr(struct move *mm, int i) argument 122 checkd(struct move *mm, int d) argument 141 movback(struct move *mm, int i) argument 150 backone(struct move *mm, int i) argument [all...] |
H A D | init.c | 98 move_init(struct move *mm) argument 100 mm->D0 = 0; 101 mm->D1 = 0; 102 mm->mvlim = 0; 103 mm->p[0] = mm->p[1] = mm->p[2] = mm->p[3] = mm->p[4] = 0; 104 mm [all...] |
H A D | check.c | 44 getmove(struct move *mm) argument 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)) 109 movokay(struct move *mm, int mv) argument [all...] |
H A D | table.c | 86 checkmove(struct move *mm, int ist) argument 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 203 dotable(struct move *mm, int c, int i) argument 297 rsetbrd(struct move *mm) argument [all...] |
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/tests/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
/netbsd-current/games/backgammon/teachgammon/ |
H A D | tutor.c | 51 tutor(struct move *mm) argument 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 [all...] |
/netbsd-current/sys/external/bsd/drm/dist/bsd-core/ |
H A D | drm_mm.c | 52 unsigned long drm_mm_tail_space(struct drm_mm *mm) argument 57 tail_node = mm->ml_entry.prev; 65 int drm_mm_remove_space_from_tail(struct drm_mm *mm, unsigned long size) argument 70 tail_node = mm->ml_entry.prev; 82 static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) argument 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 107 drm_mm_pre_get(struct drm_mm *mm) argument 129 drm_mm_create_tail_node(struct drm_mm *mm, unsigned long start, unsigned long size, int atomic) argument 150 drm_mm_add_space_to_tail(struct drm_mm *mm, unsigned long size, int atomic) argument 231 struct drm_mm *mm = cur->mm; local 281 drm_mm_search_free(const struct drm_mm *mm, unsigned long size, unsigned alignment, int best_match) argument 321 drm_mm_clean(struct drm_mm * mm) argument 328 drm_mm_init(struct drm_mm * mm, unsigned long start, unsigned long size) argument 340 drm_mm_takedown(struct drm_mm * mm) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
H A D | exceptprint.cc | 56 maude mm (77); 57 maude &mmm (mm); 61 rethrowit (mm);
|