/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/ |
H A D | pcsys.c | 381 char *ptr; 385 ptr = name + (strlen(name) - 1); 386 if (*ptr != '\\' && *ptr != '/' && *ptr != ':') { 387 *++ptr = '\\'; 388 *++ptr = '\0';
|
H A D | dgn_lex.c | 1433 static genericptr_t yy_flex_realloc2( ptr, size, old_size ) 1434 genericptr_t ptr; 1440 if (ptr) { 1441 char *p = (char *) outptr, *q = (char *) ptr; 1444 yy_flex_free(ptr); 1449 static void yy_flex_free( ptr ) 1450 genericptr_t ptr; 1452 free( ptr );
|
/seL4-refos-master/libs/libmuslc/src/crypt/ |
H A D | crypt_blowfish.c | 461 BF_word *ptr = start; local 491 *ptr++ = L; 492 *ptr++ = R; 493 } while (ptr < end); 501 const char *ptr = key; local 548 tmp[0] |= (unsigned char)*ptr; /* correct */ 550 tmp[1] |= (signed char)*ptr; /* bug */ 559 if (!*ptr) 560 ptr = key; 562 ptr 640 BF_word *ptr = &data.ctx.PS[0]; local [all...] |
/seL4-refos-master/libs/libmuslc/src/network/ |
H A D | getnameinfo.c | 129 char ptr[PTR_MAX]; local 139 mkptr4(ptr, a); 146 mkptr6(ptr, a); 148 mkptr4(ptr, a+12); 162 int qlen = __res_mkquery(0, ptr, 1, RR_PTR,
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | were.c | 90 were_summon(ptr,yours,visible,genbuf) /* were-creature (even you) summons a horde */ 91 register struct permonst *ptr; 96 register int i, typ, pm = monsndx(ptr);
|
H A D | sounds.c | 431 struct permonst *ptr = mtmp->data; local 436 if (is_silent(ptr)) return(0); 439 if (ptr->msound == MS_GUARDIAN && ptr != &mons[urole.guardnum]) { 440 int mndx = monsndx(ptr); 441 ptr = &mons[genus(mndx,1)]; 450 switch (ptr->msound) { 540 ptr == &mons[PM_HUMAN_WERERAT] ? "shriek" : "howl"); 587 if (ptr == &mons[PM_RAVEN] && !mtmp->mpeaceful) 647 if (ptr [all...] |
H A D | mplayer.c | 112 mk_mplayer(ptr, x, y, special) 113 register struct permonst *ptr; 120 if(!is_mplayer(ptr)) 128 if ((mtmp = makemon(ptr, x, y, NO_MM_FLAGS)) != 0) { 152 switch(monsndx(ptr)) {
|
H A D | eat.c | 548 intrinsic_possible(type, ptr) 550 register struct permonst *ptr; 555 if (ptr->mconveys & MR_FIRE) { 560 return(ptr->mconveys & MR_FIRE); 564 if (ptr->mconveys & MR_SLEEP) { 569 return(ptr->mconveys & MR_SLEEP); 573 if (ptr->mconveys & MR_COLD) { 578 return(ptr->mconveys & MR_COLD); 582 if (ptr->mconveys & MR_DISINT) { 587 return(ptr 918 register struct permonst *ptr = &mons[pm]; local [all...] |
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | were.c | 90 were_summon(ptr,yours,visible,genbuf) /* were-creature (even you) summons a horde */ 91 register struct permonst *ptr; 96 register int i, typ, pm = monsndx(ptr);
|
H A D | sounds.c | 431 struct permonst *ptr = mtmp->data; local 436 if (is_silent(ptr)) return(0); 439 if (ptr->msound == MS_GUARDIAN && ptr != &mons[urole.guardnum]) { 440 int mndx = monsndx(ptr); 441 ptr = &mons[genus(mndx,1)]; 450 switch (ptr->msound) { 540 ptr == &mons[PM_HUMAN_WERERAT] ? "shriek" : "howl"); 587 if (ptr == &mons[PM_RAVEN] && !mtmp->mpeaceful) 647 if (ptr [all...] |
H A D | mplayer.c | 112 mk_mplayer(ptr, x, y, special) 113 register struct permonst *ptr; 120 if(!is_mplayer(ptr)) 128 if ((mtmp = makemon(ptr, x, y, NO_MM_FLAGS)) != 0) { 152 switch(monsndx(ptr)) {
|
H A D | eat.c | 548 intrinsic_possible(type, ptr) 550 register struct permonst *ptr; 555 if (ptr->mconveys & MR_FIRE) { 560 return(ptr->mconveys & MR_FIRE); 564 if (ptr->mconveys & MR_SLEEP) { 569 return(ptr->mconveys & MR_SLEEP); 573 if (ptr->mconveys & MR_COLD) { 578 return(ptr->mconveys & MR_COLD); 582 if (ptr->mconveys & MR_DISINT) { 587 return(ptr 918 register struct permonst *ptr = &mons[pm]; local [all...] |
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | unixmain.c | 538 char *ptr; local 542 ptr = name + (strlen(name) - 1); 543 if (*ptr != '/') { 544 *++ptr = '/'; 545 *++ptr = '\0';
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | unixmain.c | 538 char *ptr; local 542 ptr = name + (strlen(name) - 1); 543 if (*ptr != '/') { 544 *++ptr = '/'; 545 *++ptr = '\0';
|
/seL4-refos-master/libs/libsel4allocman/include/allocman/ |
H A D | allocman.h | 93 void *ptr; member in struct:allocman_freed_mspace_chunk 179 * @param ptr Allocated memory (as returned by {@link #allocman_mspace_alloc} 182 void allocman_mspace_free(allocman_t *alloc, void *ptr, size_t bytes);
|
/seL4-refos-master/libs/libsel4allocman/src/mspace/ |
H A D | virtual_pool.c | 124 void _mspace_virtual_pool_free(struct allocman *alloc, void *_virtual_pool, void *ptr, size_t bytes) argument 128 mspace_k_r_malloc_free(&virtual_pool->k_r_malloc, ptr);
|
/seL4-refos-master/projects/seL4_libs/libsel4allocman/include/allocman/ |
H A D | allocman.h | 93 void *ptr; member in struct:allocman_freed_mspace_chunk 179 * @param ptr Allocated memory (as returned by {@link #allocman_mspace_alloc} 182 void allocman_mspace_free(allocman_t *alloc, void *ptr, size_t bytes);
|
/seL4-refos-master/projects/seL4_libs/libsel4allocman/src/mspace/ |
H A D | virtual_pool.c | 124 void _mspace_virtual_pool_free(struct allocman *alloc, void *_virtual_pool, void *ptr, size_t bytes) argument 128 mspace_k_r_malloc_free(&virtual_pool->k_r_malloc, ptr);
|
/seL4-refos-master/libs/libmuslc/src/env/ |
H A D | __init_tls.c | 55 uintptr_t libc_tp_adj(uintptr_t ptr) { argument 56 return (uintptr_t)TP_ADJ(ptr);
|
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/imx6/uboot/ |
H A D | list.h | 322 * @ptr: the &struct list_head pointer. 326 #define list_entry(ptr, type, member) \ 327 container_of(ptr, type, member) 331 * @ptr: the list head to take the element from. 337 #define list_first_entry(ptr, type, member) \ 338 list_entry((ptr)->next, type, member) 542 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) 614 #define hlist_entry(ptr, type, member) container_of(ptr,typ [all...] |
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/zynq7000/uboot/ |
H A D | list.h | 324 * @ptr: the &struct list_head pointer. 328 #define list_entry(ptr, type, member) \ 329 container_of(ptr, type, member) 333 * @ptr: the list head to take the element from. 339 #define list_first_entry(ptr, type, member) \ 340 list_entry((ptr)->next, type, member) 544 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) 616 #define hlist_entry(ptr, type, member) container_of(ptr,typ [all...] |
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/tx2/uboot/ |
H A D | list.h | 329 * @ptr: the &struct list_head pointer. 333 #define list_entry(ptr, type, member) \ 334 container_of(ptr, type, member) 338 * @ptr: the list head to take the element from. 344 #define list_first_entry(ptr, type, member) \ 345 list_entry((ptr)->next, type, member) 549 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) 624 #define hlist_entry(ptr, type, member) container_of(ptr,typ [all...] |
/seL4-refos-master/kernel/include/arch/riscv/arch/ |
H A D | machine.h | 113 static inline void clearMemory(void *ptr, unsigned int bits) argument 115 memzero(ptr, BIT(bits));
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/ |
H A D | dgn_lex.c | 1433 static genericptr_t yy_flex_realloc2( ptr, size, old_size ) 1434 genericptr_t ptr; 1440 if (ptr) { 1441 char *p = (char *) outptr, *q = (char *) ptr; 1444 yy_flex_free(ptr); 1449 static void yy_flex_free( ptr ) 1450 genericptr_t ptr; 1452 free( ptr );
|
/seL4-refos-master/kernel/include/object/ |
H A D | structures.h | 112 static inline cap_t CONST Zombie_new(word_t number, word_t type, word_t ptr) argument 122 return cap_zombie_cap_new((ptr & ~mask) | (number & mask), type); 149 word_t ptr = cap_zombie_cap_get_capZombieID(cap) & ~MASK(radix + 1); local 150 return cap_zombie_cap_set_capZombieID(cap, ptr | (n & MASK(radix + 1)));
|