Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/dragonfly/contrib/binutils-2.27/libiberty/
H A Dpex-common.c89 obj->remove = XRESIZEVEC (char *, obj->remove, obj->remove_count); in pex_add_remove()
191 in = obj->funcs->open_read (obj, obj->next_input_name, in pex_run_in_environment()
350 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count); in pex_run_in_environment()
357 obj->funcs->close (obj, in); in pex_run_in_environment()
494 obj->read_output = obj->funcs->fdopenr (obj, o, binary); in pex_read_output()
509 obj->read_err = obj->funcs->fdopenr (obj, o, binary); in pex_read_err()
527 obj->status = XRESIZEVEC (int, obj->status, obj->count); in pex_get_status_and_time()
534 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i], in pex_get_status_and_time()
607 obj->funcs->close (obj, obj->next_input); in pex_free()
609 obj->funcs->close (obj, obj->stderr_pipe); in pex_free()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dpex-common.c89 obj->remove = XRESIZEVEC (char *, obj->remove, obj->remove_count); in pex_add_remove()
191 in = obj->funcs->open_read (obj, obj->next_input_name, in pex_run_in_environment()
350 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count); in pex_run_in_environment()
357 obj->funcs->close (obj, in); in pex_run_in_environment()
494 obj->read_output = obj->funcs->fdopenr (obj, o, binary); in pex_read_output()
509 obj->read_err = obj->funcs->fdopenr (obj, o, binary); in pex_read_err()
527 obj->status = XRESIZEVEC (int, obj->status, obj->count); in pex_get_status_and_time()
534 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i], in pex_get_status_and_time()
607 obj->funcs->close (obj, obj->next_input); in pex_free()
609 obj->funcs->close (obj, obj->stderr_pipe); in pex_free()
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dpex-common.c89 obj->remove = XRESIZEVEC (char *, obj->remove, obj->remove_count); in pex_add_remove()
191 in = obj->funcs->open_read (obj, obj->next_input_name, in pex_run_in_environment()
348 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count); in pex_run_in_environment()
355 obj->funcs->close (obj, in); in pex_run_in_environment()
492 obj->read_output = obj->funcs->fdopenr (obj, o, binary); in pex_read_output()
507 obj->read_err = obj->funcs->fdopenr (obj, o, binary); in pex_read_err()
525 obj->status = XRESIZEVEC (int, obj->status, obj->count); in pex_get_status_and_time()
532 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i], in pex_get_status_and_time()
605 obj->funcs->close (obj, obj->next_input); in pex_free()
607 obj->funcs->close (obj, obj->stderr_pipe); in pex_free()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dpex-common.c89 obj->remove = XRESIZEVEC (char *, obj->remove, obj->remove_count); in pex_add_remove()
191 in = obj->funcs->open_read (obj, obj->next_input_name, in pex_run_in_environment()
348 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count); in pex_run_in_environment()
355 obj->funcs->close (obj, in); in pex_run_in_environment()
492 obj->read_output = obj->funcs->fdopenr (obj, o, binary); in pex_read_output()
507 obj->read_err = obj->funcs->fdopenr (obj, o, binary); in pex_read_err()
525 obj->status = XRESIZEVEC (int, obj->status, obj->count); in pex_get_status_and_time()
532 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i], in pex_get_status_and_time()
605 obj->funcs->close (obj, obj->next_input); in pex_free()
607 obj->funcs->close (obj, obj->stderr_pipe); in pex_free()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dpex-common.c89 obj->remove = XRESIZEVEC (char *, obj->remove, obj->remove_count); in pex_add_remove()
191 in = obj->funcs->open_read (obj, obj->next_input_name, in pex_run_in_environment()
350 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count); in pex_run_in_environment()
357 obj->funcs->close (obj, in); in pex_run_in_environment()
494 obj->read_output = obj->funcs->fdopenr (obj, o, binary); in pex_read_output()
509 obj->read_err = obj->funcs->fdopenr (obj, o, binary); in pex_read_err()
527 obj->status = XRESIZEVEC (int, obj->status, obj->count); in pex_get_status_and_time()
534 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i], in pex_get_status_and_time()
607 obj->funcs->close (obj, obj->next_input); in pex_free()
609 obj->funcs->close (obj, obj->stderr_pipe); in pex_free()
[all …]
/dragonfly/contrib/dialog/
H A Dprogressbox.c54 dlg_del_window(obj->obj.win); in free_obj()
72 obj->high = obj->old_high; in restart_obj()
73 obj->wide = obj->old_wide; in restart_obj()
95 obj->obj.win = dlg_new_window(obj->high, obj->wide, y, x); in start_obj()
97 dlg_draw_box2(obj->obj.win, in start_obj()
99 obj->high, obj->wide, in start_obj()
111 dlg_print_autowrap(obj->obj.win, obj->prompt, obj->high, obj->wide); in start_obj()
112 getyx(obj->obj.win, y2, x2); in start_obj()
123 obj->text = dlg_sub_window(obj->obj.win, in start_obj()
401 obj->obj.input = fp; in dlg_progressbox()
[all …]
H A Dtextbox.c163 obj->buffer_len = obj->bytes_read; in read_high()
177 obj->bytes_read = obj->fd_bytes_read; in read_high()
286 while (obj->buf[obj->in_buf] != '\n') { in get_line()
302 obj->line[i++] = obj->buf[obj->in_buf++]; in get_line()
374 || obj->in_buf >= obj->bytes_read in back_lines()
375 || obj->buf[obj->in_buf] != '\n') in back_lines()
481 first = find_first(obj, obj->buf, size = obj->in_buf); in print_position()
621 back_lines(obj, obj->page_length); in perform_search()
738 memset(&obj, 0, sizeof(obj)); in dialog_textbox()
914 obj.in_buf = obj.bytes_read; in dialog_textbox()
[all …]
H A Dguage.c119 WINDOW *dialog = obj->obj.win; in repaint_text()
132 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
183 FILE *my_input = ((obj != NULL && obj->obj.input != NULL) in handle_input()
184 ? obj->obj.input in handle_input()
221 obj->prompt = obj->prompt_buf; in handle_input()
276 dlg_del_window(obj->obj.win); in my_cleanup()
328 if (obj->obj.win == 0) { in dlg_reallocate_gauge()
333 obj->obj.win = dialog; in dlg_reallocate_gauge()
337 obj->obj.keep_win = TRUE; in dlg_reallocate_gauge()
338 obj->obj.bg_task = TRUE; in dlg_reallocate_gauge()
[all …]
H A Dtailbox.c46 FILE *fp = obj->obj.input; in get_line()
105 FILE *fp = obj->obj.input; in last_lines()
172 print_line(obj, obj->text, i, width); in print_page()
180 int high = getmaxy(obj->obj.win) - (2 * MARGIN + (obj->obj.bg_task ? 1 : 3)); in print_last_page()
190 FILE *fp = obj->obj.input; in repaint_text()
194 obj->old_hscroll = obj->hscroll; in repaint_text()
200 wrefresh(obj->obj.win); in repaint_text()
207 FILE *fp = obj->obj.input; in handle_input()
391 obj->obj.input = fd; in dialog_tailbox()
392 obj->obj.win = dialog; in dialog_tailbox()
[all …]
/dragonfly/games/rogue/
H A Dobject.c222 obj->row = row; obj->col = col; in plant_gold()
226 obj->quantity += obj->quantity / 2; in plant_gold()
249 while (obj && ((obj->row != row) || (obj->col != col))) { in object_at()
250 obj = obj->next_object; in object_at()
266 while (obj && (obj->ichar != ch)) { in get_letter_object()
267 obj = obj->next_object; in get_letter_object()
502 obj->hit_enchant = obj->d_enchant = 0; in gr_weapon()
556 obj->class = obj->which_kind + 2; in gr_armor()
607 return(obj->class + obj->d_enchant); in get_armor_class()
627 obj->picked_up = obj->is_cursed = 0; in alloc_object()
[all …]
H A Dpack.c82 return(obj); in add_to_pack()
101 object *obj; in pick_up() local
110 if (!obj) { in pick_up()
139 obj = add_to_pack(obj, &rogue.pack, 1); in pick_up()
190 if ((obj->quantity > 1) && (obj->what_is != WEAPON)) { in drop()
195 obj = new; in drop()
252 if (obj->ichar >= 'a' && obj->ichar <= 'z') { in next_avail_ichar()
255 obj = obj->next_object; in next_avail_ichar()
370 if (obj) { in unwear()
432 if (obj) { in unwield()
[all …]
/dragonfly/games/hack/
H A Dhack.do.c83 drop(struct obj *obj) in drop() argument
120 dropx(struct obj *obj) in dropx() argument
127 dropy(struct obj *obj) in dropy() argument
328 struct obj *obj; in dothrow() local
374 obfree(obj, Null(obj)); in dothrow()
377 obfree(obj, Null(obj)); in dothrow()
381 obfree(obj, Null(obj)); in dothrow()
401 (int (*)(struct obj *, struct obj *)) 0, obj); in dothrow()
430 obfree(obj, (struct obj *) 0); in dothrow()
525 splitobj(struct obj *obj, int num) in splitobj() argument
[all …]
H A Dhack.invent.c86 struct obj *obj; in assigninvlet() local
90 for (obj = invent; obj; obj = obj->nobj) in assigninvlet()
117 addinv(struct obj *obj) in addinv() argument
163 useup(struct obj *obj) in useup() argument
167 obj->owt = weight(obj); in useup()
176 freeinv(struct obj *obj) in freeinv() argument
192 delobj(struct obj *obj) in delobj() argument
201 freeobj(struct obj *obj) in freeobj() argument
302 carried(struct obj *obj) in carried() argument
532 struct obj *obj; in getobj() local
[all …]
H A Dhack.apply.c83 struct obj *obj; in doapply() local
134 use_camera(struct obj *obj __unused) in use_camera()
184 in_ice_box(struct obj *obj) in in_ice_box() argument
211 obj->age = moves - obj->age; /* actual age */ in in_ice_box()
216 ck_ice_box(struct obj *obj) in ck_ice_box() argument
222 out_ice_box(struct obj *obj) in out_ice_box() argument
240 use_ice_box(struct obj *obj) in use_ice_box() argument
293 use_whistle(struct obj *obj __unused) in use_whistle()
310 use_magic_whistle(struct obj *obj __unused) in use_magic_whistle()
364 struct obj *obj; in dig() local
[all …]
H A Dextern.h81 void dropx(struct obj *);
89 struct obj *splitobj(struct obj *, int);
164 struct obj *addinv(struct obj *);
176 struct obj *o_on(unsigned int, struct obj *);
181 int askchain(struct obj *, char *, int, int (*)(struct obj *),
237 struct obj *mkobj(int);
238 struct obj *mksobj(int);
370 void obfree(struct obj *, struct obj *);
379 void splitbill(struct obj *, struct obj *);
529 int (*)(struct obj *, struct obj *),
[all …]
H A Dhack.shk.c85 obfree(struct obj *obj, struct obj *merge) in obfree() argument
219 struct obj *obj; in setpaid() local
221 for (obj = invent; obj; obj = obj->nobj) in setpaid()
223 for (obj = fobj; obj; obj = obj->nobj) in setpaid()
225 for (obj = fcobj; obj; obj = obj->nobj) in setpaid()
228 for (obj = mtmp->minvent; obj; obj = obj->nobj) in setpaid()
231 for (obj = mtmp->minvent; obj; obj = obj->nobj) in setpaid()
393 obfree(struct obj *obj, struct obj *merge) in obfree() argument
561 struct obj *obj; in dopayobj() local
675 splitbill(struct obj *obj, struct obj *otmp) in splitbill() argument
[all …]
/dragonfly/sys/dev/drm/
H A Ddrm_gem.c220 obj->dev = dev; in drm_gem_private_object_init()
388 if (!obj) in drm_gem_dumb_map_offset()
602 return drm_gem_create_mmap_offset_size(obj, obj->size); in drm_gem_create_mmap_offset()
625 if (obj) in drm_gem_object_lookup()
630 return obj; in drm_gem_object_lookup()
732 if (obj) { in drm_gem_open_ioctl()
844 if (!obj) in drm_gem_object_put_unlocked()
872 if (obj) { in drm_gem_object_put()
1008 obj = NULL;
1012 if (!obj)
[all …]
H A Ddrm_mode_object.c81 idr_replace(&dev->mode_config.crtc_idr, obj, obj->id); in drm_mode_object_register()
135 obj = NULL; in __drm_mode_object_find()
136 if (obj && obj->id != id) in __drm_mode_object_find()
137 obj = NULL; in __drm_mode_object_find()
140 if (obj && drm_mode_object_lease_required(obj->type) && in __drm_mode_object_find()
142 obj = NULL; in __drm_mode_object_find()
145 if (obj && obj->free_cb) { in __drm_mode_object_find()
151 return obj; in __drm_mode_object_find()
172 return obj; in drm_mode_object_find()
188 kref_put(&obj->refcount, obj->free_cb); in drm_mode_object_put()
[all …]
/dragonfly/libexec/rtld-elf/
H A Drtld.c582 for (obj = obj_list; obj != NULL; obj = obj->next) { in _rtld()
757 for (obj = obj_list->next; obj != NULL; obj = obj->next) { in _rtld_call_init()
1451 for (obj = obj_list; obj != NULL; obj = obj->next) in dlcheck()
2079 for (obj = first; obj != NULL; obj = obj->next) { in load_needed_objects()
2290 for (obj = obj_list; obj != NULL; obj = obj->next) { in obj_from_addr()
2424 for (obj = obj_list; obj != NULL; obj = obj->next) in objlist_call_init()
2754 for (obj = first; obj != NULL; obj = obj->next) { in resolve_objects_ifunc()
3502 for (obj = obj_list; obj != NULL; obj = obj->next) { in dl_iterate_phdr()
4261 for (; obj; obj = obj->next) { in trace_loaded_objects()
4493 for (obj = objs; obj; obj = obj->next) { in allocate_tls()
[all …]
H A Ddebug.c63 Obj_Entry *obj; in dump_relocations() local
65 for (obj = obj0; obj != NULL; obj = obj->next) { in dump_relocations()
74 rtld_printf("Object \"%s\", relocbase %p\n", obj->path, obj->relocbase); in dump_obj_relocations()
76 if (obj->relsize) { in dump_obj_relocations()
79 dump_Elf_Rel(obj, obj->rel, obj->relsize); in dump_obj_relocations()
82 if (obj->relasize) { in dump_obj_relocations()
85 dump_Elf_Rela(obj, obj->rela, obj->relasize); in dump_obj_relocations()
88 if (obj->pltrelsize) { in dump_obj_relocations()
91 dump_Elf_Rel(obj, obj->pltrel, obj->pltrelsize); in dump_obj_relocations()
94 if (obj->pltrelasize) { in dump_obj_relocations()
[all …]
/dragonfly/sys/dev/drm/i915/
H A Di915_gem.c324 drm_pci_free(obj->base.dev, obj->phys_handle); in i915_gem_object_put_pages_phys()
1178 if (!obj) in i915_gem_pread_ioctl()
1528 if (!obj) in i915_gem_pwrite_ioctl()
1541 ret = obj->ops->pwrite(obj, args); in i915_gem_pwrite_ioctl()
1641 if (!obj) in i915_gem_set_domain_ioctl()
1709 if (!obj) in i915_gem_sw_finish_ioctl()
2604 obj->ops->put_pages(obj, pages); in __i915_gem_object_put_pages()
2871 err = obj->ops->get_pages(obj); in ____i915_gem_object_get_pages()
3667 GEM_BUG_ON(vma->obj != obj); in i915_gem_close_object()
4687 obj->resv = &obj->__builtin_resv; in i915_gem_object_init()
[all …]
H A Di915_gem_object.h303 struct drm_i915_gem_object *obj; in i915_gem_object_lookup() local
307 if (obj && !kref_get_unless_zero(&obj->base.refcount)) in i915_gem_object_lookup()
308 obj = NULL; in i915_gem_object_lookup()
311 return obj; in i915_gem_object_lookup()
318 drm_gem_object_reference(&obj->base); in i915_gem_object_get()
319 return obj; in i915_gem_object_get()
326 __drm_gem_object_unreference(&obj->base); in i915_gem_object_put()
331 reservation_object_lock(obj->resv, NULL); in i915_gem_object_lock()
336 reservation_object_unlock(obj->resv); in i915_gem_object_unlock()
354 return obj->active_count; in i915_gem_object_is_active()
[all …]
H A Di915_gem_dmabuf.c62 src = obj->mm.pages->sgl; in i915_gem_map_dma_buf()
111 i915_gem_object_unpin_map(obj); in i915_gem_dmabuf_vunmap()
167 if (!obj->base.filp) in i915_gem_dmabuf_mmap()
171 ret = obj->base.filp->f_op->mmap(obj->base.filp, vma); in i915_gem_dmabuf_mmap()
252 exp_info.resv = obj->resv; in i915_gem_prime_export()
255 int ret = obj->ops->dmabuf_export(obj); in i915_gem_prime_export()
303 if (obj->base.dev == dev) { in i915_gem_prime_import()
322 if (obj == NULL) { in i915_gem_prime_import()
330 obj->resv = dma_buf->resv; in i915_gem_prime_import()
340 obj->base.write_domain = 0; in i915_gem_prime_import()
[all …]
H A Di915_gem_userptr.c68 struct drm_i915_gem_object *obj = mo->obj; in cancel_userptr() local
87 obj->bind_count, in cancel_userptr()
89 obj->pin_global); in cancel_userptr()
94 i915_gem_object_put(obj); in cancel_userptr()
266 mo->obj = obj; in i915_gem_userptr_init__mmu_notifier()
268 mo->it.last = obj->userptr.ptr + obj->base.size - 1; in i915_gem_userptr_init__mmu_notifier()
368 obj->userptr.mm = mm; in i915_gem_userptr_init__mm_struct()
502 struct drm_i915_gem_object *obj = work->obj;
595 work->obj = i915_gem_object_get(obj);
696 if (obj->mm.dirty) in i915_gem_userptr_put_pages()
[all …]
/dragonfly/sys/dev/drm/include/linux/
H A Dreservation.h82 #define reservation_object_held(obj) lockdep_is_held(&(obj)->lock.base) argument
84 lockdep_assert_held(&(obj)->lock.base)
96 RCU_INIT_POINTER(obj->fence, NULL); in reservation_object_init()
98 obj->staged = NULL; in reservation_object_init()
127 kfree(obj->staged); in reservation_object_fini()
129 ww_mutex_destroy(&obj->lock); in reservation_object_fini()
144 reservation_object_held(obj)); in reservation_object_get_list()
166 return ww_mutex_lock(&obj->lock, ctx); in reservation_object_lock()
186 return ww_mutex_trylock(&obj->lock); in reservation_object_trylock()
198 ww_mutex_unlock(&obj->lock); in reservation_object_unlock()
[all …]

12345678910>>...27