| /freebsd/crypto/krb5/src/lib/rpc/ |
| H A D | dyn.c | 34 DynAppend(DynObjectP obj, DynPtr els, int num) in DynAppend() argument 36 return DynInsert(obj, DynSize(obj), els, num); in DynAppend() 56 DynObjectP obj; in DynCreate() local 58 obj = (DynObjectP) malloc(sizeof(DynObjectRecP)); in DynCreate() 59 if (obj == NULL) in DynCreate() 62 obj->array = (DynPtr) malloc(1); in DynCreate() 63 if (obj->array == NULL) { in DynCreate() 64 free(obj); in DynCreate() 67 obj->array[0] = '\0'; in DynCreate() 69 obj->el_size = el_size; in DynCreate() [all …]
|
| H A D | dyntest.c | 38 DynObject obj; local 56 obj = DynCreate(sizeof(char), -8); 57 if (! obj) { 62 if(DynDebug(obj, 1) != DYN_OK) { 66 if(DynParanoid(obj, 1) != DYN_OK) { 72 if ((DynGet(obj, -5) != NULL) || 73 (DynGet(obj, 0) != NULL) || (DynGet(obj, 1000) != NULL)) { 78 if (DynDelete(obj, -1) != DYN_BADINDEX || 79 DynDelete(obj, 0) != DYN_BADINDEX || 80 DynDelete(obj, 100) != DYN_BADINDEX) { [all …]
|
| /freebsd/contrib/dialog/ |
| H A D | progressbox.c | 43 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 D | textbox.c | 34 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 D | guage.c | 39 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 D | tailbox.c | 32 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/usr.sbin/ctld/ |
| H A D | uclparse.cc | 76 uclparse_chap(const char *ag_name, const ucl::Ucl &obj) in uclparse_chap() argument 78 auto user = obj["user"]; in uclparse_chap() 85 auto secret = obj["secret"]; in uclparse_chap() 98 uclparse_chap_mutual(const char *ag_name, const ucl::Ucl &obj) in uclparse_chap_mutual() argument 100 auto user = obj["user"]; in uclparse_chap_mutual() 107 auto secret = obj["secret"]; in uclparse_chap_mutual() 114 auto mutual_user = obj["mutual-user"]; in uclparse_chap_mutual() 121 auto mutual_secret = obj["mutual-secret"]; in uclparse_chap_mutual() 136 uclparse_target_chap(const char *t_name, const ucl::Ucl &obj) in uclparse_target_chap() argument 138 auto user = obj["user"]; in uclparse_target_chap() [all …]
|
| /freebsd/sys/contrib/alpine-hal/ |
| H A D | al_hal_serdes_hssp.c | 84 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 …]
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_obj.c | 14 static int obj_update_cache(QUIC_OBJ *obj); 16 int ossl_quic_obj_init(QUIC_OBJ *obj, in ossl_quic_obj_init() argument 26 if (!ossl_assert(obj != NULL && !obj->init_done && SSL_TYPE_IS_QUIC(type) in ossl_quic_obj_init() 34 if (!ossl_ssl_init(&obj->ssl, ctx, ctx->method, type)) in ossl_quic_obj_init() 37 obj->domain_flags = ctx->domain_flags; in ossl_quic_obj_init() 38 obj->parent_obj = (QUIC_OBJ *)parent_obj; in ossl_quic_obj_init() 39 obj->is_event_leader = is_event_leader; in ossl_quic_obj_init() 40 obj->is_port_leader = is_port_leader; in ossl_quic_obj_init() 41 obj->engine = engine; in ossl_quic_obj_init() 42 obj->port = port; in ossl_quic_obj_init() [all …]
|
| H A D | quic_obj_local.h | 151 int ossl_quic_obj_init(QUIC_OBJ *obj, 165 SSL_CONNECTION *ossl_quic_obj_get0_handshake_layer(QUIC_OBJ *obj); 172 ossl_quic_obj_get0_ssl(QUIC_OBJ *obj) in ossl_quic_obj_get0_ssl() argument 178 if (!ossl_assert(obj != NULL)) in ossl_quic_obj_get0_ssl() 181 return &obj->ssl; in ossl_quic_obj_get0_ssl() 189 ossl_quic_obj_get0_engine(const QUIC_OBJ *obj) in ossl_quic_obj_get0_engine() argument 191 assert(obj->init_done); in ossl_quic_obj_get0_engine() 192 assert(obj->engine != NULL); in ossl_quic_obj_get0_engine() 193 return obj->engine; in ossl_quic_obj_get0_engine() 198 ossl_quic_obj_get0_port(const QUIC_OBJ *obj) in ossl_quic_obj_get0_port() argument [all …]
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | nmake.mak | 63 $(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/ntp/sntp/libevent/test/ |
| H A D | Makefile.nmake | 5 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 D | Makefile.nmake | 5 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/libucl/src/ |
| H A D | ucl_emitter.c | 44 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 first, bool print_key); \ 52 const ucl_object_t *obj, bool first, 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/sys/dev/drm2/ |
| H A D | drm_gem.c | 106 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 D | rtld.c | 107 static int do_search_info(const Obj_Entry *obj, int, struct dl_serinfo *); 124 static void initlist_for_loaded_obj(Obj_Entry *obj, Obj_Entry *tail, 157 static int relocate_object(Obj_Entry *obj, bool bind_now, Obj_Entry *rtldobj, 188 static bool obj_resolve_origin(Obj_Entry *obj); 195 static void rtld_fill_dl_phdr_info(const Obj_Entry *obj, 279 Elf_Addr _rtld_bind(Obj_Entry *obj, Elf_Size reloff); 512 Obj_Entry *last_interposer, *obj, *preload_tail; in _rtld() local 881 TAILQ_FOREACH(obj, &obj_list, next) { in _rtld() 882 if (obj->marker) in _rtld() 884 if (obj->z_interpose && obj != obj_main) { in _rtld() [all …]
|
| H A D | debug.c | 63 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/contrib/libder/libder/ |
| H A D | libder_obj.c | 16 #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 D | reloc.c | 61 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 in reloc_nonplt_object() 330 reloc_non_plt(Obj_Entry * obj,Obj_Entry * obj_rtld,int flags,RtldLockState * lockstate) reloc_non_plt() argument 383 reloc_plt_object(Obj_Entry * obj,const Elf_Rela * rela) reloc_plt_object() argument 441 reloc_plt(Obj_Entry * obj,int flags __unused,RtldLockState * lockstate __unused) reloc_plt() argument 485 reloc_jmpslots(Obj_Entry * obj,int flags,RtldLockState * lockstate) reloc_jmpslots() argument 536 reloc_jmpslot(Elf_Addr * wherep,Elf_Addr target,const Obj_Entry * defobj __unused,const Obj_Entry * obj,const Elf_Rel * rel) reloc_jmpslot() argument 613 reloc_iresolve(Obj_Entry * obj,struct Struct_RtldLockState * lockstate) reloc_iresolve() argument 710 init_pltgot(Obj_Entry * obj) init_pltgot() argument [all...] |
| /freebsd/contrib/byacc/ |
| H A D | descrip.mms | 7 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/aarch64/ |
| H A D | reloc.c | 50 arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp) in arch_digest_dynamic() argument 53 obj->variant_pcs = true; in arch_digest_dynamic() 61 arch_digest_note(struct Struct_Obj_Entry *obj __unused, const Elf_Note *note) in arch_digest_note() 96 guard.addr = (uintptr_t)obj->mapbase; in arch_digest_note() 97 guard.len = obj->mapsize; in arch_digest_note() 106 init_pltgot(Obj_Entry *obj) in init_pltgot() argument 109 if (obj->pltgot != NULL) { in init_pltgot() 110 obj->pltgot[1] = (Elf_Addr) obj; in init_pltgot() 111 obj->pltgot[2] = (Elf_Addr) &_rtld_bind_start; in init_pltgot() 201 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, in reloc_tlsdesc() argument [all …]
|
| /freebsd/crypto/krb5/src/util/ |
| H A D | valgrind-suppressions | 20 obj:/lib/ld-2.3.6.so 21 obj:/lib/ld-2.3.6.so 22 obj:/lib/ld-2.3.6.so 23 obj:/lib/libc-2.3.6.so 24 obj:/lib/ld-2.3.6.so 30 obj:/lib/ld-2.3.6.so 31 obj:/lib/libc-2.3.6.so 32 obj:/lib/ld-2.3.6.so 38 obj:/lib/ld-2.3.6.so 39 obj:/lib/ld-2.3.6.so [all …]
|
| /freebsd/crypto/krb5/src/plugins/audit/ |
| H A D | kdc_j_encode.c | 41 string_to_value(const char *in, k5_json_object obj, const char *key); 43 princ_to_value(krb5_principal princ, k5_json_object obj, const char *key); 45 data_to_value(krb5_data *data, k5_json_object obj, const char *key); 47 int32_to_value(krb5_int32 int32, k5_json_object obj, const char *key); 49 bool_to_value(krb5_boolean b, k5_json_object obj, const char *key); 51 addr_to_obj(krb5_address *a, k5_json_object obj); 53 eventinfo_to_value(k5_json_object obj, const char *name, 56 addr_to_value(const krb5_address *address, k5_json_object obj, 60 k5_json_object obj); 63 k5_json_object obj); [all …]
|
| /freebsd/libexec/rtld-elf/riscv/ |
| H A D | reloc.c | 44 set_gp(Obj_Entry *obj) in set_gp() argument 56 res = symlook_obj(&req, obj); in set_gp() 67 init_pltgot(Obj_Entry *obj) in init_pltgot() argument 70 if (obj->pltgot != NULL) { in init_pltgot() 71 obj->pltgot[0] = (Elf_Addr)&_rtld_bind_start; in init_pltgot() 72 obj->pltgot[1] = (Elf_Addr)obj; in init_pltgot() 138 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() argument 143 relalim = (const Elf_Rela *)((const char *)obj->pltrela + in reloc_plt() 144 obj->pltrelasize); in reloc_plt() 145 for (rela = obj->pltrela; rela < relalim; rela++) { in reloc_plt() [all …]
|
| /freebsd/usr.sbin/iovctl/ |
| H A D | parse.c | 46 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 …]
|