/src/games/hack/ |
hack.bones.c | 83 struct monst *mtmp; local in function:savebones 112 if (!(mtmp = makemon(PM_GHOST, u.ux, u.uy))) 114 mtmp->mx = u.ux; 115 mtmp->my = u.uy; 116 mtmp->msleep = 1; 117 (void) strcpy((char *) mtmp->mextra, plname); 119 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) [all...] |
hack.bones.c | 83 struct monst *mtmp; local in function:savebones 112 if (!(mtmp = makemon(PM_GHOST, u.ux, u.uy))) 114 mtmp->mx = u.ux; 115 mtmp->my = u.uy; 116 mtmp->msleep = 1; 117 (void) strcpy((char *) mtmp->mextra, plname); 119 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) [all...] |
hack.bones.c | 83 struct monst *mtmp; local in function:savebones 112 if (!(mtmp = makemon(PM_GHOST, u.ux, u.uy))) 114 mtmp->mx = u.ux; 115 mtmp->my = u.uy; 116 mtmp->msleep = 1; 117 (void) strcpy((char *) mtmp->mextra, plname); 119 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) [all...] |
hack.steal.c | 86 stealgold(struct monst *mtmp) 91 mtmp->mgold += gold->amount; 96 Monnam(mtmp)); 98 rloc(mtmp); 99 mtmp->mflee = 1; 104 mtmp->mgold += tmp; 105 rloc(mtmp); 106 mtmp->mflee = 1; 117 struct monst *mtmp; local in function:stealarm 122 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon [all...] |
hack.wizard.c | 90 struct monst *mtmp; local in function:amulet 95 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 96 if (mtmp->data->mlet == '1' && mtmp->msleep && !rn2(40)) 99 mtmp->msleep = 0; 100 if (dist(mtmp->mx, mtmp->my) > 2 262 struct monst *mtmp; local in function:aggravate [all...] |
hack.steal.c | 86 stealgold(struct monst *mtmp) 91 mtmp->mgold += gold->amount; 96 Monnam(mtmp)); 98 rloc(mtmp); 99 mtmp->mflee = 1; 104 mtmp->mgold += tmp; 105 rloc(mtmp); 106 mtmp->mflee = 1; 117 struct monst *mtmp; local in function:stealarm 122 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon [all...] |
hack.wizard.c | 90 struct monst *mtmp; local in function:amulet 95 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 96 if (mtmp->data->mlet == '1' && mtmp->msleep && !rn2(40)) 99 mtmp->msleep = 0; 100 if (dist(mtmp->mx, mtmp->my) > 2 262 struct monst *mtmp; local in function:aggravate [all...] |
hack.steal.c | 86 stealgold(struct monst *mtmp) 91 mtmp->mgold += gold->amount; 96 Monnam(mtmp)); 98 rloc(mtmp); 99 mtmp->mflee = 1; 104 mtmp->mgold += tmp; 105 rloc(mtmp); 106 mtmp->mflee = 1; 117 struct monst *mtmp; local in function:stealarm 122 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon [all...] |
hack.wizard.c | 90 struct monst *mtmp; local in function:amulet 95 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 96 if (mtmp->data->mlet == '1' && mtmp->msleep && !rn2(40)) 99 mtmp->msleep = 0; 100 if (dist(mtmp->mx, mtmp->my) > 2 262 struct monst *mtmp; local in function:aggravate [all...] |
hack.mkmaze.c | 92 struct monst *mtmp; local in function:makemaz 106 if ((mtmp = makemon(&hell_hound, zx, zy)) != NULL) 107 mtmp->msleep = 1; 108 if ((mtmp = makemon(PM_WIZARD, zx + 1, zy)) != NULL) { 109 mtmp->msleep = 1;
|
hack.potion.c | 78 struct monst *mtmp; local in function:dodrink 150 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 151 if (mtmp->mx > 0) 152 at(mtmp->mx, mtmp->my, mtmp->data->mlet); 453 struct monst *mtmp; local in function:ghost_from_bottle [all...] |
hack.save.c | 225 struct monst *mtmp; local in function:dorecover 227 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 228 if (mtmp->m_id == mid) 232 u.ustuck = mtmp; 273 struct monst *mtmp, *mtmp2 = NULL; local in function:restmonchn 291 mtmp = newmonst(xl); 293 first = mtmp; [all...] |
hack.search.c | 78 struct monst *mtmp; local in function:findit 109 } else if ((mtmp = m_at(zx, zy)) != NULL) 110 if (mtmp->mimic) { 111 seemimic(mtmp); 123 struct monst *mtmp; local in function:dosearch 151 if ((mtmp = m_at(x, y)) != NULL) 152 if (mtmp->mimic) { 153 seemimic(mtmp); 198 wakeup(struct monst *mtmp) 200 mtmp->msleep = 0 [all...] |
hack.mkmaze.c | 92 struct monst *mtmp; local in function:makemaz 106 if ((mtmp = makemon(&hell_hound, zx, zy)) != NULL) 107 mtmp->msleep = 1; 108 if ((mtmp = makemon(PM_WIZARD, zx + 1, zy)) != NULL) { 109 mtmp->msleep = 1;
|
hack.potion.c | 78 struct monst *mtmp; local in function:dodrink 150 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 151 if (mtmp->mx > 0) 152 at(mtmp->mx, mtmp->my, mtmp->data->mlet); 453 struct monst *mtmp; local in function:ghost_from_bottle [all...] |
hack.save.c | 225 struct monst *mtmp; local in function:dorecover 227 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 228 if (mtmp->m_id == mid) 232 u.ustuck = mtmp; 273 struct monst *mtmp, *mtmp2 = NULL; local in function:restmonchn 291 mtmp = newmonst(xl); 293 first = mtmp; [all...] |
hack.search.c | 78 struct monst *mtmp; local in function:findit 109 } else if ((mtmp = m_at(zx, zy)) != NULL) 110 if (mtmp->mimic) { 111 seemimic(mtmp); 123 struct monst *mtmp; local in function:dosearch 151 if ((mtmp = m_at(x, y)) != NULL) 152 if (mtmp->mimic) { 153 seemimic(mtmp); 198 wakeup(struct monst *mtmp) 200 mtmp->msleep = 0 [all...] |
hack.mkmaze.c | 92 struct monst *mtmp; local in function:makemaz 106 if ((mtmp = makemon(&hell_hound, zx, zy)) != NULL) 107 mtmp->msleep = 1; 108 if ((mtmp = makemon(PM_WIZARD, zx + 1, zy)) != NULL) { 109 mtmp->msleep = 1;
|
hack.potion.c | 78 struct monst *mtmp; local in function:dodrink 150 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 151 if (mtmp->mx > 0) 152 at(mtmp->mx, mtmp->my, mtmp->data->mlet); 453 struct monst *mtmp; local in function:ghost_from_bottle [all...] |
hack.save.c | 225 struct monst *mtmp; local in function:dorecover 227 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 228 if (mtmp->m_id == mid) 232 u.ustuck = mtmp; 273 struct monst *mtmp, *mtmp2 = NULL; local in function:restmonchn 291 mtmp = newmonst(xl); 293 first = mtmp; [all...] |
hack.search.c | 78 struct monst *mtmp; local in function:findit 109 } else if ((mtmp = m_at(zx, zy)) != NULL) 110 if (mtmp->mimic) { 111 seemimic(mtmp); 123 struct monst *mtmp; local in function:dosearch 151 if ((mtmp = m_at(x, y)) != NULL) 152 if (mtmp->mimic) { 153 seemimic(mtmp); 198 wakeup(struct monst *mtmp) 200 mtmp->msleep = 0 [all...] |
hack.do.c | 280 struct monst *mtmp = m_at(u.ux, u.uy); local in function:goto_level 281 if (mtmp) 282 mnexto(mtmp); 304 struct monst *mtmp; local in function:goto_level 305 if ((mtmp = m_at(u.ux, u.uy)) != NULL) 306 mnexto(mtmp); /* riv05!a3 */
|
/src/lib/libpam/modules/pam_nologin/ |
pam_nologin.c | 79 char *mtmp; local in function:pam_sm_authenticate 136 mtmp = malloc(len + 1); 137 if (mtmp != NULL) { 138 read(fd, mtmp, len); 139 mtmp[len] = '\0'; 140 pam_error(pamh, "%s", mtmp); 141 free(mtmp);
|
pam_nologin.c | 79 char *mtmp; local in function:pam_sm_authenticate 136 mtmp = malloc(len + 1); 137 if (mtmp != NULL) { 138 read(fd, mtmp, len); 139 mtmp[len] = '\0'; 140 pam_error(pamh, "%s", mtmp); 141 free(mtmp);
|
pam_nologin.c | 79 char *mtmp; local in function:pam_sm_authenticate 136 mtmp = malloc(len + 1); 137 if (mtmp != NULL) { 138 read(fd, mtmp, len); 139 mtmp[len] = '\0'; 140 pam_error(pamh, "%s", mtmp); 141 free(mtmp);
|