| /src/games/hack/ |
| hack.bones.c | 83 struct monst *mtmp; local 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 122 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon [all...] |
| hack.wizard.c | 90 struct monst *mtmp; local 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 [all...] |
| hack.mkmaze.c | 92 struct monst *mtmp; local 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 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 [all...] |
| hack.save.c | 225 struct monst *mtmp; local 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 291 mtmp = newmonst(xl); 293 first = mtmp; [all...] |
| hack.search.c | 78 struct monst *mtmp; local 109 } else if ((mtmp = m_at(zx, zy)) != NULL) 110 if (mtmp->mimic) { 111 seemimic(mtmp); 123 struct monst *mtmp; local 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 281 if (mtmp) 282 mnexto(mtmp); 304 struct monst *mtmp; local 305 if ((mtmp = m_at(u.ux, u.uy)) != NULL) 306 mnexto(mtmp); /* riv05!a3 */
|
| hack.main.c | 341 struct monst *mtmp; local 342 if ((mtmp = m_at(u.ux, u.uy)) != NULL) 343 mnexto(mtmp); /* riv05!a3 */
|
| hack.makemon.c | 85 struct monst *mtmp; local 119 mtmp = newmonst(ptr->pxlth); 120 *mtmp = zeromonst; /* clear all entries in structure */ 122 ((char *) &(mtmp->mextra[0]))[i] = 0; 123 mtmp->nmon = fmon; 124 fmon = mtmp; 125 mtmp->m_id = flags.ident++; 126 mtmp->data = ptr; 127 mtmp->mxlth = ptr->pxlth; 129 mtmp->mhpmax = mtmp->mhp = 80 [all...] |
| hack.apply.c | 141 struct monst *mtmp; local 155 if ((mtmp = bchit(u.dx, u.dy, COLNO, '!')) != NULL) { 156 if (mtmp->msleep) { 157 mtmp->msleep = 0; 158 pline("The flash awakens %s.", monnam(mtmp)); /* a3 */ 159 } else if (mtmp->data->mlet != 'y') 160 if (mtmp->mcansee || mtmp->mblinded) { 161 int tmp = dist(mtmp->mx, mtmp->my) 273 struct monst *mtmp = (struct monst *) 0; local 300 struct monst *mtmp = fmon; local 317 struct monst *mtmp = fmon; local 441 struct monst *mtmp; local [all...] |
| hack.do_name.c | 125 struct monst *mtmp, *mtmp2; local 131 mtmp = m_at(cx, cy); 132 if (!mtmp) { 140 if (mtmp->mimic) { 148 pline("What do you want to call %s? ", lmonnam(mtmp)); 158 mtmp2 = newmonst(mtmp->mxlth + lth); 159 *mtmp2 = *mtmp; 160 for (i = 0; i < mtmp->mxlth; i++) 161 ((char *) mtmp2->mextra)[i] = ((char *) mtmp->mextra)[i]; 164 replmon(mtmp, mtmp2) [all...] |
| hack.lev.c | 160 savemonchn(int fd, struct monst *mtmp) 169 while (mtmp) { 170 mtmp2 = mtmp->nmon; 171 xl = mtmp->mxlth + mtmp->mnamelth; 173 bwrite(fd, mtmp, xl + sizeof(struct monst)); 174 if (mtmp->minvent) 175 saveobjchn(fd, mtmp->minvent); 176 free(mtmp); 177 mtmp = mtmp2 244 struct monst *mtmp, *mtmp2; local [all...] |
| hack.mkshop.c | 205 struct monst *mtmp; local 212 (mtmp = makemon(PM_MIMIC, sx, sy))) { 213 mtmp->mimic = 1; 214 mtmp->mappearance =
|
| hack.read.c | 167 struct monst *mtmp; local 169 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) 170 if (cansee(mtmp->mx, mtmp->my)) { 172 mtmp->mflee = mtmp->mfroz = 173 mtmp->msleep = 0 246 struct monst *mtmp; local 257 struct monst *mtmp, *mtmp2; local 470 struct monst *mtmp; local [all...] |
| hack.c | 150 struct monst *mtmp = NULL; local 199 if (u.uswallow || (mtmp = m_at(u.ux + u.dx, u.uy + u.dy))) { 208 if (attack(u.uswallow ? u.ustuck : mtmp)) 568 struct monst *mtmp; local 583 if ((mtmp = m_at(x, y)) && !mtmp->mimic && 584 (!mtmp->minvis || See_invisible)) { 585 if (!mtmp->mtame || (x == u.ux + u.dx && y == u.uy + u.dy)) 588 mtmp = 0; /* invisible M cannot 616 m0 = mtmp ? 1 : 0 678 struct monst *mtmp; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| ecdh_kdf.c | 37 unsigned char mtmp[EVP_MAX_MD_SIZE]; local 58 if (!EVP_DigestFinal(mctx, mtmp, NULL)) 60 memcpy(out, mtmp, outlen); 61 OPENSSL_cleanse(mtmp, mdlen);
|
| /src/lib/libpam/modules/pam_nologin/ |
| pam_nologin.c | 79 char *mtmp; local 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);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/dh/ |
| dh_kdf.c | 119 unsigned char mtmp[EVP_MAX_MD_SIZE]; local 137 if (!EVP_DigestFinal(mctx, mtmp, NULL)) 139 memcpy(out, mtmp, outlen); 140 OPENSSL_cleanse(mtmp, mdlen);
|
| dh_lib.c | 23 const DH_METHOD *mtmp; local 24 mtmp = dh->meth; 25 if (mtmp->finish) 26 mtmp->finish(dh);
|
| /src/crypto/external/apache2/openssl/dist/crypto/dh/ |
| dh_lib.c | 38 const DH_METHOD *mtmp; local 39 mtmp = dh->meth; 40 if (mtmp->finish) 41 mtmp->finish(dh);
|
| /src/crypto/external/apache2/openssl/dist/crypto/dsa/ |
| dsa_lib.c | 112 const DSA_METHOD *mtmp; local 113 mtmp = dsa->meth; 114 if (mtmp->finish) 115 mtmp->finish(dsa);
|
| /src/crypto/external/bsd/openssl/dist/crypto/dh/ |
| dh_lib.c | 38 const DH_METHOD *mtmp; local 39 mtmp = dh->meth; 40 if (mtmp->finish) 41 mtmp->finish(dh);
|
| /src/crypto/external/bsd/openssl/dist/crypto/dsa/ |
| dsa_lib.c | 112 const DSA_METHOD *mtmp; local 113 mtmp = dsa->meth; 114 if (mtmp->finish) 115 mtmp->finish(dsa);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/dsa/ |
| dsa_lib.c | 30 const DSA_METHOD *mtmp; local 31 mtmp = dsa->meth; 32 if (mtmp->finish) 33 mtmp->finish(dsa);
|