Searched refs:objects (Results 1 - 25 of 175) sorted by relevance

1234567

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c37 glyph2tile[objects[i].oc_descr_idx + GLYPH_OBJ_OFF];
58 objects[first+j].oc_prob = 0;
60 if (first > LAST_GEM || objects[first].oc_class != GEM_CLASS ||
61 OBJ_NAME(objects[first]) == (char *)0) {
67 objects[j].oc_prob = (171+j-first)/(LAST_GEM+1-first);
68 printf("setgemprobs[j %d] = %d\n", j, objects[j].oc_prob);
72 /* shuffle descriptions on objects o_low to o_high */
83 if (!objects[j].oc_name_known) num_to_shuffle++;
87 if (objects[j].oc_name_known) continue;
90 while (objects[
[all...]
H A Dwrite.c17 return(10 * objects[otmp->otyp].oc_level);
129 if (!OBJ_NAME(objects[i])) continue;
131 if (!strcmpi(OBJ_NAME(objects[i]), nm))
133 if (!strcmpi(OBJ_DESCR(objects[i]), nm)) {
151 !objects[i].oc_name_known) {
199 if(!(objects[new_obj->otyp].oc_name_known) &&
200 !(objects[new_obj->otyp].oc_uname) &&
210 Strcpy(namebuf, OBJ_DESCR(objects[new_obj->otyp]));
228 OBJ_DESCR(objects[new_obj->otyp]));
H A Dspell.c19 #define spellname(spell) OBJ_NAME(objects[spellid(spell)])
112 int lev = objects[bp->otyp].oc_level;
190 if (!objects[spellbook->otyp].oc_name_known &&
191 !objects[spellbook->otyp].oc_uname)
343 Sprintf(splname, objects[booktype].oc_name_known ?
345 OBJ_NAME(objects[booktype]));
366 spl_book[i].sp_lev = objects[booktype].oc_level;
409 switch (objects[booktype].oc_level) {
412 delay = -objects[booktype].oc_delay;
416 delay = -(objects[booktyp
[all...]
H A Dweapon.c12 /* Categories whose names don't come from OBJ_NAME(objects[type])
110 OBJ_NAME(objects[skill_names_indices[type]]) : \
137 tmp += objects[otmp->otyp].oc_hitbon;
207 if (objects[otyp].oc_wldam)
208 tmp = rnd(objects[otyp].oc_wldam);
235 if (objects[otyp].oc_wsdam)
236 tmp = rnd(objects[otyp].oc_wsdam);
267 if (objects[otyp].oc_material <= LEATHER && thick_skinned(ptr))
270 if (ptr == &mons[PM_SHADE] && objects[otyp].oc_material != SILVER)
275 int wt = (int)objects[HEAVY_IRON_BAL
[all...]
H A Dmapglyph.c29 #define obj_color(n) color = iflags.use_color ? objects[n].oc_color : NO_COLOR
136 else ch = oc_syms[(int)objects[offset].oc_class];
139 switch(objects[offset].oc_class) {
160 ch = oc_syms[(int)objects[CORPSE].oc_class];
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c37 glyph2tile[objects[i].oc_descr_idx + GLYPH_OBJ_OFF];
58 objects[first+j].oc_prob = 0;
60 if (first > LAST_GEM || objects[first].oc_class != GEM_CLASS ||
61 OBJ_NAME(objects[first]) == (char *)0) {
67 objects[j].oc_prob = (171+j-first)/(LAST_GEM+1-first);
68 printf("setgemprobs[j %d] = %d\n", j, objects[j].oc_prob);
72 /* shuffle descriptions on objects o_low to o_high */
83 if (!objects[j].oc_name_known) num_to_shuffle++;
87 if (objects[j].oc_name_known) continue;
90 while (objects[
[all...]
H A Dwrite.c17 return(10 * objects[otmp->otyp].oc_level);
129 if (!OBJ_NAME(objects[i])) continue;
131 if (!strcmpi(OBJ_NAME(objects[i]), nm))
133 if (!strcmpi(OBJ_DESCR(objects[i]), nm)) {
151 !objects[i].oc_name_known) {
199 if(!(objects[new_obj->otyp].oc_name_known) &&
200 !(objects[new_obj->otyp].oc_uname) &&
210 Strcpy(namebuf, OBJ_DESCR(objects[new_obj->otyp]));
228 OBJ_DESCR(objects[new_obj->otyp]));
H A Dspell.c19 #define spellname(spell) OBJ_NAME(objects[spellid(spell)])
112 int lev = objects[bp->otyp].oc_level;
190 if (!objects[spellbook->otyp].oc_name_known &&
191 !objects[spellbook->otyp].oc_uname)
343 Sprintf(splname, objects[booktype].oc_name_known ?
345 OBJ_NAME(objects[booktype]));
366 spl_book[i].sp_lev = objects[booktype].oc_level;
409 switch (objects[booktype].oc_level) {
412 delay = -objects[booktype].oc_delay;
416 delay = -(objects[booktyp
[all...]
H A Dweapon.c12 /* Categories whose names don't come from OBJ_NAME(objects[type])
110 OBJ_NAME(objects[skill_names_indices[type]]) : \
137 tmp += objects[otmp->otyp].oc_hitbon;
207 if (objects[otyp].oc_wldam)
208 tmp = rnd(objects[otyp].oc_wldam);
235 if (objects[otyp].oc_wsdam)
236 tmp = rnd(objects[otyp].oc_wsdam);
267 if (objects[otyp].oc_material <= LEATHER && thick_skinned(ptr))
270 if (ptr == &mons[PM_SHADE] && objects[otyp].oc_material != SILVER)
275 int wt = (int)objects[HEAVY_IRON_BAL
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h108 long oextra[1]; /* used for name of ordinary objects - length
109 is flexible; amount for tmp gold objects */
118 * objects[otmp->otyp].oc_wepcat == WEP_SWORD)
120 * (objects[otmp->otyp].oc_wepcat == WEP_BLADE || \
121 * objects[otmp->otyp].oc_wepcat == WEP_SWORD))
123 * objects[(o)->otyp].oc_weptool)
128 objects[otmp->otyp].oc_skill >= P_DAGGER && \
129 objects[otmp->otyp].oc_skill <= P_SABER)
132 objects[otmp->otyp].oc_skill == P_AXE)
135 objects[otm
[all...]
H A Dobjclass.h8 /* definition of a class of objects */
15 Bitfield(oc_merge,1); /* merge otherwise equal objects */
66 #define is_organic(otmp) (objects[otmp->otyp].oc_material <= WOOD)
67 #define is_metallic(otmp) (objects[otmp->otyp].oc_material >= IRON && \
68 objects[otmp->otyp].oc_material <= MITHRIL)
72 #define is_rustprone(otmp) (objects[otmp->otyp].oc_material == IRON)
75 #define is_corrodeable(otmp) (objects[otmp->otyp].oc_material == COPPER || objects[otmp->otyp].oc_material == IRON)
117 extern NEARDATA struct objclass objects[];
121 * All objects hav
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h108 long oextra[1]; /* used for name of ordinary objects - length
109 is flexible; amount for tmp gold objects */
118 * objects[otmp->otyp].oc_wepcat == WEP_SWORD)
120 * (objects[otmp->otyp].oc_wepcat == WEP_BLADE || \
121 * objects[otmp->otyp].oc_wepcat == WEP_SWORD))
123 * objects[(o)->otyp].oc_weptool)
128 objects[otmp->otyp].oc_skill >= P_DAGGER && \
129 objects[otmp->otyp].oc_skill <= P_SABER)
132 objects[otmp->otyp].oc_skill == P_AXE)
135 objects[otm
[all...]
H A Dobjclass.h8 /* definition of a class of objects */
15 Bitfield(oc_merge,1); /* merge otherwise equal objects */
66 #define is_organic(otmp) (objects[otmp->otyp].oc_material <= WOOD)
67 #define is_metallic(otmp) (objects[otmp->otyp].oc_material >= IRON && \
68 objects[otmp->otyp].oc_material <= MITHRIL)
72 #define is_rustprone(otmp) (objects[otmp->otyp].oc_material == IRON)
75 #define is_corrodeable(otmp) (objects[otmp->otyp].oc_material == COPPER || objects[otmp->otyp].oc_material == IRON)
117 extern NEARDATA struct objclass objects[];
121 * All objects hav
[all...]
/seL4-refos-master/libs/libsel4utils/src/
H A Dmapping.c26 int cacheable, vka_object_t *objects, int *num_objects)
50 if (objects) {
51 objects[*num_objects] = object;
80 seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects)
83 cacheable, objects, num_objects);
102 vka_object_t objects[3]; local
105 objects,
107 *pagetable = objects[0];
108 *pagedir = objects[1];
109 *pdpt = objects[
24 map_page(vka_t *vka, vspace_map_page_fn_t map_page_fn, vspace_get_map_obj_fn map_obj_fn, seL4_CPtr root, seL4_CPtr frame, void *vaddr, seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects) argument
79 sel4utils_map_page(vka_t *vka, seL4_CPtr vspace_root, seL4_CPtr frame, void *vaddr, seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects) argument
[all...]
H A Dslab.c19 /* number of objects in the slab */
23 /* list of objects in the slab */
24 vka_object_t *objects; member in struct:__anon640
85 vka_cspace_make_path(sdata->delegate, slab->objects[slab->next].cptr, &src);
159 ZF_LOGI("Preallocating %zu objects of %zu size bits, %lu type\n", n, size_bits, (long) type);
165 slab->objects = calloc(n, sizeof(vka_object_t));
166 if (slab->objects == NULL) {
167 ZF_LOGI("Failed to allocate %zu objects of %zu size bits, %lu type", n, size_bits, (long) type);
173 if (alloc_object(delegate, untyped, size_bits, type, &slab->objects[i]) != seL4_NoError) {
208 ZF_LOGW("No objects t
[all...]
/seL4-refos-master/projects/seL4_libs/libsel4utils/src/
H A Dmapping.c26 int cacheable, vka_object_t *objects, int *num_objects)
50 if (objects) {
51 objects[*num_objects] = object;
80 seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects)
83 cacheable, objects, num_objects);
102 vka_object_t objects[3]; local
105 objects,
107 *pagetable = objects[0];
108 *pagedir = objects[1];
109 *pdpt = objects[
24 map_page(vka_t *vka, vspace_map_page_fn_t map_page_fn, vspace_get_map_obj_fn map_obj_fn, seL4_CPtr root, seL4_CPtr frame, void *vaddr, seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects) argument
79 sel4utils_map_page(vka_t *vka, seL4_CPtr vspace_root, seL4_CPtr frame, void *vaddr, seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects) argument
[all...]
H A Dslab.c19 /* number of objects in the slab */
23 /* list of objects in the slab */
24 vka_object_t *objects; member in struct:__anon806
85 vka_cspace_make_path(sdata->delegate, slab->objects[slab->next].cptr, &src);
159 ZF_LOGI("Preallocating %zu objects of %zu size bits, %lu type\n", n, size_bits, (long) type);
165 slab->objects = calloc(n, sizeof(vka_object_t));
166 if (slab->objects == NULL) {
167 ZF_LOGI("Failed to allocate %zu objects of %zu size bits, %lu type", n, size_bits, (long) type);
173 if (alloc_object(delegate, untyped, size_bits, type, &slab->objects[i]) != seL4_NoError) {
208 ZF_LOGW("No objects t
[all...]
/seL4-refos-master/libs/libsel4utils/include/sel4utils/
H A Dmapping.h32 * @param objects array of vka_object_t structure to be populated with paging structures
34 * @param num_objects Pointer to both the size of the objects array, and the number of
35 * objects that get allocated
40 seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects);
46 vka_object_t objects[3]; local
48 return sel4utils_map_page(vka, pd, frame, vaddr, rights, cacheable, objects, &num);
/seL4-refos-master/projects/seL4_libs/libsel4utils/include/sel4utils/
H A Dmapping.h32 * @param objects array of vka_object_t structure to be populated with paging structures
34 * @param num_objects Pointer to both the size of the objects array, and the number of
35 * objects that get allocated
40 seL4_CapRights_t rights, int cacheable, vka_object_t *objects, int *num_objects);
46 vka_object_t objects[3]; local
48 return sel4utils_map_page(vka, pd, frame, vaddr, rights, cacheable, objects, &num);
/seL4-refos-master/kernel/manual/parts/
H A Dobjects.tex7 \chapter{\label{ch:objects}Kernel Services and Objects}
33 \item[Reply objects] (MCS only) are used to store single-use reply capabilities,
48 objects are accessed by userspace applications, and describes how new
49 objects can be created.
81 slot; we discuss \obj{CNode} objects in detail in \autoref{ch:cspace}.
122 When other capabilities to kernel objects are invoked, the message will be
128 % kernel objects) go to the API reference which is very terse and not nearly as
142 Invoking methods on kernel objects other than endpoints and notifications is
262 object types whose instances (also simply called \emph{objects}) can be invoked by applications. The interface to these
263 objects form
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/
H A DMakefile.dat30 x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
32 ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
35 beostiles: ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
37 ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
40 nhtiles.bmp: ../util/tile2bmp ../win/share/monsters.txt ../win/share/objects.txt \
71 ../win/share/objects.txt ../win/share/other.txt
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/
H A DMakefile.dat30 x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
32 ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
35 beostiles: ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
37 ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
40 nhtiles.bmp: ../util/tile2bmp ../win/share/monsters.txt ../win/share/objects.txt \
71 ../win/share/objects.txt ../win/share/other.txt
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/dat/
H A DMakefile30 x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
32 ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
35 beostiles: ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
37 ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
40 nhtiles.bmp: ../util/tile2bmp ../win/share/monsters.txt ../win/share/objects.txt \
71 ../win/share/objects.txt ../win/share/other.txt
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/dat/
H A DMakefile30 x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
32 ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
35 beostiles: ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
37 ../util/tile2beos ../win/share/monsters.txt ../win/share/objects.txt \
40 nhtiles.bmp: ../util/tile2bmp ../win/share/monsters.txt ../win/share/objects.txt \
71 ../win/share/objects.txt ../win/share/other.txt
/seL4-refos-master/libs/libsel4platsupport/include/sel4platsupport/
H A Dtimer.h45 /* objects allocated for this timer */
63 * @param vka Allocator to allocate objects with
100 * Initialise an seL4_timer with irqs from provided timer objects. As per sel4platsupport_init_timer,
112 * @param objects the timer objects that this timer needs to initialise.
116 seL4_timer_t *timer, timer_objects_t *objects);

Completed in 144 milliseconds

1234567