Home
last modified time | relevance | path

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

12345678910>>...45

/freebsd/contrib/dialog/
H A Dprogressbox.c43 DIALOG_CALLBACK obj; member
56 free_obj(MY_OBJ * obj) in free_obj() argument
58 dlg_del_window(obj->obj.win); in free_obj()
59 free(obj->prompt); in free_obj()
61 while (obj->wrote) { in free_obj()
62 WROTE *wrote = obj->wrote; in free_obj()
63 obj->wrote = wrote->link; in free_obj()
68 free(obj); in free_obj()
73 restart_obj(MY_OBJ * obj) in restart_obj() argument
75 free(obj->prompt); in restart_obj()
[all …]
H A Dtextbox.c34 DIALOG_CALLBACK obj; member
53 lseek_obj(MY_OBJ * obj, long offset, int mode) in lseek_obj() argument
56 if ((fpos = (long) lseek(obj->fd, (off_t) offset, mode)) == -1) { in lseek_obj()
74 ftell_obj(MY_OBJ * obj) in ftell_obj() argument
76 return lseek_obj(obj, 0L, SEEK_CUR); in ftell_obj()
80 lseek_set(MY_OBJ * obj, long offset) in lseek_set() argument
82 long actual = lseek_obj(obj, offset, SEEK_SET); in lseek_set()
91 lseek_end(MY_OBJ * obj, long offset) in lseek_end() argument
93 long actual = lseek_obj(obj, offset, SEEK_END); in lseek_end()
96 obj->file_size = actual; in lseek_end()
[all …]
H A Dguage.c39 DIALOG_CALLBACK obj; /* has to be first in struct */ member
54 valid(MY_OBJ * obj) in valid() argument
60 if (list == obj) { in valid()
70 delink(MY_OBJ * obj) in delink() argument
75 if (p == obj) { in delink()
119 repaint_text(MY_OBJ * obj) in repaint_text() argument
121 WINDOW *dialog = obj->obj.win; in repaint_text()
127 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text()
130 dlg_draw_title(dialog, obj->title); in repaint_text()
134 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
[all …]
H A Dtailbox.c32 DIALOG_CALLBACK obj; member
45 get_line(MY_OBJ * obj) in get_line() argument
47 FILE *fp = obj->obj.input; in get_line()
48 int col = -(obj->hscroll); in get_line()
57 - ((col + obj->hscroll) % dialog_state.tab_len); in get_line()
60 obj->line[col] = ' '; in get_line()
65 obj->line[col] = (char) ch; in get_line()
75 obj->line[col] = '\0'; in get_line()
77 return obj->line; in get_line()
84 print_line(MY_OBJ * obj, WINDOW *win, int row, int width) in print_line() argument
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_serdes_hssp.c84 struct al_serdes_grp_obj *obj,
93 struct al_serdes_grp_obj *obj,
103 struct al_serdes_grp_obj *obj,
114 struct al_serdes_grp_obj *obj,
121 struct al_serdes_grp_obj *obj);
127 struct al_serdes_grp_obj *obj,
134 struct al_serdes_grp_obj *obj);
146 struct al_serdes_grp_obj *obj, in al_serdes_reg_read() argument
157 obj, in al_serdes_reg_read()
162 al_assert(obj); in al_serdes_reg_read()
[all …]
H A Dal_hal_serdes_25g.c67 struct al_serdes_grp_obj *obj, in al_serdes_25g_reg_read() argument
73 struct al_serdes_c_regs __iomem *regs_base = obj->regs_base; in al_serdes_25g_reg_read()
76 al_dbg("%s(%p, %d, %d, %u)\n", __func__, obj, page, type, offset); in al_serdes_25g_reg_read()
78 al_assert(obj); in al_serdes_25g_reg_read()
106 struct al_serdes_grp_obj *obj, in al_serdes_25g_reg_write() argument
112 struct al_serdes_c_regs __iomem *regs_base = obj->regs_base; in al_serdes_25g_reg_write()
115 al_dbg("%s(%p, %d, %d, %u)\n", __func__, obj, page, type, offset); in al_serdes_25g_reg_write()
117 al_assert(obj); in al_serdes_25g_reg_write()
146 struct al_serdes_grp_obj *obj, in al_serdes_25g_reg_masked_read() argument
156 status = al_serdes_25g_reg_read(obj, page, 0, offset, &val); in al_serdes_25g_reg_masked_read()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dnmake.mak63 $(OBJDIR)\os_win32.obj \
64 $(OBJDIR)\eloop_win.obj \
65 $(OBJDIR)\sha1.obj \
66 $(OBJDIR)\sha1-tlsprf.obj \
67 $(OBJDIR)\sha1-pbkdf2.obj \
68 $(OBJDIR)\md5.obj \
69 $(OBJDIR)\aes-cbc.obj \
70 $(OBJDIR)\aes-ctr.obj \
71 $(OBJDIR)\aes-eax.obj \
72 $(OBJDIR)\aes-encblock.obj \
[all …]
/freebsd/contrib/libucl/src/
H A Ducl_emitter.c44 const ucl_object_t *obj, bool first, bool print_key, bool compact);
48 const ucl_object_t *obj, bool first, bool print_key); \
50 const ucl_object_t *obj, bool print_key); \
52 const ucl_object_t *obj, bool print_key); \
54 const ucl_object_t *obj); \
56 const ucl_object_t *obj)
86 #define UCL_EMIT_IDENT_TOP_OBJ(ctx, obj) ((ctx)->top != (obj) || \ argument
111 const ucl_object_t *obj, bool compact) in ucl_emitter_print_key() argument
120 if (obj->flags & UCL_OBJECT_NEED_KEY_ESCAPE) { in ucl_emitter_print_key()
121 ucl_elt_string_write_json (obj->key, obj->keylen, ctx); in ucl_emitter_print_key()
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A DMakefile.nmake5 SSL_OBJS=regress_ssl.obj
17 REGRESS_OBJS=regress.obj regress_buffer.obj regress_http.obj regress_dns.obj \
18 regress_testutils.obj \
19 regress_rpc.obj regress.gen.obj \
20 regress_et.obj regress_bufferevent.obj \
21 regress_listener.obj regress_util.obj tinytest.obj \
22 regress_main.obj regress_minheap.obj regress_iocp.obj \
23 regress_thread.obj regress_finalize.obj $(SSL_OBJS)
25 OTHER_OBJS=test-init.obj test-eof.obj test-closed.obj test-weof.obj test-time.obj \
26 bench.obj bench_cascade.obj bench_http.obj bench_httpclient.obj \
[all …]
/freebsd/contrib/libevent/test/
H A DMakefile.nmake5 SSL_OBJS=regress_ssl.obj
17 REGRESS_OBJS=regress.obj regress_buffer.obj regress_http.obj regress_dns.obj \
18 regress_testutils.obj \
19 regress_rpc.obj regress.gen.obj \
20 regress_et.obj regress_bufferevent.obj \
21 regress_listener.obj regress_util.obj tinytest.obj \
22 regress_main.obj regress_minheap.obj regress_iocp.obj \
23 regress_thread.obj regress_finalize.obj $(SSL_OBJS)
25 OTHER_OBJS=test-init.obj test-eof.obj test-closed.obj test-weof.obj test-time.obj \
26 bench.obj bench_cascade.obj bench_http.obj bench_httpclient.obj \
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_gem.c106 struct drm_gem_object *obj, size_t size) in drm_gem_object_init() argument
111 obj->dev = dev; in drm_gem_object_init()
112 obj->vm_obj = vm_pager_allocate(OBJT_SWAP, NULL, size, in drm_gem_object_init()
115 obj->refcount = 1; in drm_gem_object_init()
116 obj->handle_count = 0; in drm_gem_object_init()
117 obj->size = size; in drm_gem_object_init()
129 struct drm_gem_object *obj, size_t size) in drm_gem_private_object_init() argument
133 obj->dev = dev; in drm_gem_private_object_init()
134 obj->vm_obj = NULL; in drm_gem_private_object_init()
136 obj->refcount = 1; in drm_gem_private_object_init()
[all …]
/freebsd/libexec/rtld-elf/
H A Drtld.c101 static int do_search_info(const Obj_Entry *obj, int, struct dl_serinfo *);
148 static int relocate_object(Obj_Entry *obj, bool bind_now, Obj_Entry *rtldobj,
179 static bool obj_resolve_origin(Obj_Entry *obj);
186 static void rtld_fill_dl_phdr_info(const Obj_Entry *obj,
270 Elf_Addr _rtld_bind(Obj_Entry *obj, Elf_Size reloff);
498 Obj_Entry *last_interposer, *obj, *preload_tail; in _rtld() local
875 TAILQ_FOREACH(obj, &obj_list, next) { in _rtld()
876 if (obj->marker) in _rtld()
878 if (obj->z_interpose && obj != obj_main) { in _rtld()
879 objlist_put_after(&list_main, last_interposer, obj); in _rtld()
[all …]
H A Ddebug.c63 Obj_Entry *obj; in dump_relocations() local
65 for (obj = globallist_curr(obj0); obj != NULL; in dump_relocations()
66 obj = globallist_next(obj)) { in dump_relocations()
67 dump_obj_relocations(obj); in dump_relocations()
72 dump_obj_relocations (Obj_Entry *obj) in dump_obj_relocations() argument
75 rtld_printf("Object \"%s\", relocbase %p\n", obj->path, obj->relocbase); in dump_obj_relocations()
77 if (obj->relsize) { in dump_obj_relocations()
79 (obj->relsize / sizeof(Elf_Rel))); in dump_obj_relocations()
80 dump_Elf_Rel(obj, obj->rel, obj->relsize); in dump_obj_relocations()
83 if (obj->relasize) { in dump_obj_relocations()
[all …]
/freebsd/usr.sbin/ctld/
H A Duclparse.c59 uclparse_chap(struct auth_group *auth_group, const ucl_object_t *obj) in uclparse_chap() argument
65 user = ucl_object_find_key(obj, "user"); in uclparse_chap()
72 secret = ucl_object_find_key(obj, "secret"); in uclparse_chap()
90 uclparse_chap_mutual(struct auth_group *auth_group, const ucl_object_t *obj) in uclparse_chap_mutual() argument
97 user = ucl_object_find_key(obj, "user"); in uclparse_chap_mutual()
104 secret = ucl_object_find_key(obj, "secret"); in uclparse_chap_mutual()
111 mutual_user = ucl_object_find_key(obj, "mutual-user"); in uclparse_chap_mutual()
118 mutual_secret = ucl_object_find_key(obj, "mutual-secret"); in uclparse_chap_mutual()
138 uclparse_target_portal_group(struct target *target, const ucl_object_t *obj) in uclparse_target_portal_group() argument
145 portal_group = ucl_object_find_key(obj, "name"); in uclparse_target_portal_group()
[all …]
/freebsd/contrib/libder/libder/
H A Dlibder_obj.c16 #define DER_CHILDREN(obj) ((obj)->children) argument
17 #define DER_NEXT(obj) ((obj)->next) argument
67 struct libder_object *obj; in libder_obj_alloc() local
75 obj = libder_obj_alloc_internal(ctx, type, payload, length, 0); in libder_obj_alloc()
76 if (obj == NULL) { in libder_obj_alloc()
85 return (obj); in libder_obj_alloc()
92 struct libder_object *obj; in libder_obj_alloc_simple() local
107 obj = libder_obj_alloc_internal(ctx, type, payload, length, LDO_OWNTAG); in libder_obj_alloc_simple()
108 if (obj == NULL) { in libder_obj_alloc_simple()
118 return (obj); in libder_obj_alloc_simple()
[all …]
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c61 arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp) in arch_digest_dynamic() argument
64 obj->gotptr = (Elf_Addr *)(obj->relocbase + dynp->d_un.d_ptr); in arch_digest_dynamic()
175 reloc_nonplt_object(Obj_Entry *obj_rtld __unused, Obj_Entry *obj, in reloc_nonplt_object() argument
194 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
217 obj->non_plt_gnu_ifunc = true; in reloc_nonplt_object()
225 obj->path); in reloc_nonplt_object()
239 where = (Elf_Addr *)(obj->relocbase + rela->r_offset); in reloc_nonplt_object()
268 "Thread Local Storage", obj->path); in reloc_nonplt_object()
282 symval = (Elf_Addr)(obj->relocbase + rela->r_addend); in reloc_nonplt_object()
297 if (!obj->mainprog) { in reloc_nonplt_object()
[all …]
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c57 arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp) in arch_digest_dynamic() argument
60 obj->variant_pcs = true; in arch_digest_dynamic()
68 arch_digest_note(struct Struct_Obj_Entry *obj __unused, const Elf_Note *note) in arch_digest_note()
103 guard.addr = (uintptr_t)obj->mapbase; in arch_digest_note()
104 guard.len = obj->mapsize; in arch_digest_note()
113 init_pltgot(Obj_Entry *obj) in init_pltgot() argument
116 if (obj->pltgot != NULL) { in init_pltgot()
117 obj->pltgot[1] = (Elf_Addr) obj; in init_pltgot()
118 obj->pltgot[2] = (Elf_Addr) &_rtld_bind_start; in init_pltgot()
208 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, in reloc_tlsdesc() argument
[all …]
/freebsd/contrib/byacc/
H A Ddescrip.mms7 OBJS = closure.obj, \
8 error.obj,graph.obj, \
9 lalr.obj, \
10 lr0.obj, \
11 main.obj, \
12 mkpar.obj,mstring.obj, \
13 output.obj, \
14 reader.obj, \
15 yaccpar.obj, \
16 symtab.obj, \
[all …]
/freebsd/libexec/rtld-elf/riscv/
H A Dreloc.c51 set_gp(Obj_Entry *obj) in set_gp() argument
63 res = symlook_obj(&req, obj); in set_gp()
74 init_pltgot(Obj_Entry *obj) in init_pltgot() argument
77 if (obj->pltgot != NULL) { in init_pltgot()
78 obj->pltgot[0] = (Elf_Addr)&_rtld_bind_start; in init_pltgot()
79 obj->pltgot[1] = (Elf_Addr)obj; in init_pltgot()
145 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() argument
150 relalim = (const Elf_Rela *)((const char *)obj->pltrela + in reloc_plt()
151 obj->pltrelasize); in reloc_plt()
152 for (rela = obj->pltrela; rela < relalim; rela++) { in reloc_plt()
[all …]
/freebsd/usr.sbin/iovctl/
H A Dparse.c46 report_config_error(const char *key, const ucl_object_t *obj, const char *type) in report_config_error() argument
50 ucl_object_tostring(obj), key, type); in report_config_error()
58 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_bool_config() argument
62 if (!ucl_object_toboolean_safe(obj, &val)) in add_bool_config()
63 report_config_error(key, obj, "bool"); in add_bool_config()
73 add_string_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_string_config() argument
77 if (!ucl_object_tostring_safe(obj, &val)) in add_string_config()
78 report_config_error(key, obj, "string"); in add_string_config()
88 add_uint_config(const char *key, const ucl_object_t *obj, nvlist_t *config, in add_uint_config() argument
95 if (!ucl_object_toint_safe(obj, &val)) in add_uint_config()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dhashtable.h136 #define __hash_next(obj, type, member) ({ \ argument
138 CK_LIST_NEXT((struct lkpi_hash_entry *)&(obj)->member, entry); \
139 __hash_node_type_assert(&(obj)->member); \
146 #define hash_for_each_rcu(name, bkt, obj, member) \ argument
147 for ((bkt) = 0, (obj) = NULL; (obj) == NULL && \
149 for ((obj) = __hash_first(&(name)[bkt], \
150 __typeof(*(obj)), member); \
151 (obj) != NULL; \
152 (obj) = __hash_next(obj, \
153 __typeof(*(obj)), member))
[all …]
/freebsd/libexec/rtld-elf/amd64/
H A Dreloc.c122 init_pltgot(Obj_Entry *obj) in init_pltgot() argument
124 if (obj->pltgot != NULL) { in init_pltgot()
125 obj->pltgot[1] = (Elf_Addr)obj; in init_pltgot()
126 obj->pltgot[2] = (Elf_Addr)&_rtld_bind_start; in init_pltgot()
132 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() argument
152 if (obj != obj_rtld) { in reloc_non_plt()
153 cache = calloc(obj->dynsymcount, sizeof(SymCache)); in reloc_non_plt()
158 relalim = (const Elf_Rela *)((const char *)obj->rela + obj->relasize); in reloc_non_plt()
159 for (rela = obj->rela; rela < relalim; rela++) { in reloc_non_plt()
173 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_non_plt()
[all …]
/freebsd/libexec/rtld-elf/arm/
H A Dreloc.c20 init_pltgot(Obj_Entry *obj) in init_pltgot() argument
22 if (obj->pltgot != NULL) { in init_pltgot()
23 obj->pltgot[1] = (Elf_Addr) obj; in init_pltgot()
24 obj->pltgot[2] = (Elf_Addr) &_rtld_bind_start; in init_pltgot()
135 reloc_nonplt_object(Obj_Entry *obj, const Elf_Rel *rel, SymCache *cache, in reloc_nonplt_object() argument
144 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_nonplt_object()
162 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
166 tmp = (Elf_Addr)obj->relocbase + def->st_value in reloc_nonplt_object()
173 obj->path, where, in reloc_nonplt_object()
174 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
[all …]
/freebsd/libexec/rtld-elf/i386/
H A Dreloc.c120 init_pltgot(Obj_Entry *obj) in init_pltgot() argument
122 if (obj->pltgot != NULL) { in init_pltgot()
123 obj->pltgot[1] = (Elf_Addr)obj; in init_pltgot()
124 obj->pltgot[2] = (Elf_Addr)&_rtld_bind_start; in init_pltgot()
130 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() argument
146 if (obj != obj_rtld) { in reloc_non_plt()
147 cache = calloc(obj->dynsymcount, sizeof(SymCache)); in reloc_non_plt()
157 rellim = (const Elf_Rel *)((const char *)obj->rel + obj->relsize); in reloc_non_plt()
158 for (rel = obj->rel; rel < rellim; rel++) { in reloc_non_plt()
167 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, in reloc_non_plt()
[all …]
/freebsd/contrib/libucl/utils/
H A Dobjdump.c34 ucl_obj_dump (const ucl_object_t *obj, unsigned int shift) in ucl_obj_dump() argument
45 tmp = obj; in ucl_obj_dump()
47 while ((obj = ucl_object_iterate (tmp, &it, false))) { in ucl_obj_dump()
48 printf ("%sucl object address: %p\n", pre + 4, obj); in ucl_obj_dump()
49 if (obj->key != NULL) { in ucl_obj_dump()
50 printf ("%skey: \"%s\"\n", pre, ucl_object_key (obj)); in ucl_obj_dump()
52 printf ("%sref: %u\n", pre, obj->ref); in ucl_obj_dump()
53 printf ("%slen: %u\n", pre, obj->len); in ucl_obj_dump()
54 printf ("%sprev: %p\n", pre, obj->prev); in ucl_obj_dump()
55 printf ("%snext: %p\n", pre, obj->next); in ucl_obj_dump()
[all …]

12345678910>>...45