Home
last modified time | relevance | path

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

12345678910>>...18

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtypeof-mods.c9 typeof(obj) var = obj; in test_spec()
14 obj = obj; in test_spec()
23 typeof(obj) var = obj; in test_const()
35 typeof(obj) var = obj; in test_volatile()
40 obj = obj; in test_volatile()
54 obj = obj; in test_restrict()
68 obj = obj; in test_atomic()
83 obj = obj; in test_bitwise()
97 obj = obj; in test_static()
111 obj = obj; in test_tls()
[all …]
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_delete.c45 memset(obj->array + idx*obj->el_size, 0, obj->el_size);
56 obj->el_size*(obj->num_el - idx), obj->array,
60 memmove(obj->array + idx*obj->el_size,
61 obj->array + (idx+1)*obj->el_size,
62 obj->el_size*(obj->num_el - idx));
64 bcopy(obj->array + (idx+1)*obj->el_size,
65 obj->array + idx*obj->el_size,
66 obj->el_size*(obj->num_el - idx));
72 obj->el_size, obj->array,
73 obj->el_size*(obj->num_el - 1));
[all …]
H A Ddyn_insert.c41 (obj->num_el-idx)*obj->el_size, obj->array,
42 obj->el_size*idx, obj->el_size*(idx+num));
47 memmove(obj->array + obj->el_size*(idx + num),
48 obj->array + obj->el_size*idx,
49 (obj->num_el-idx)*obj->el_size);
51 bcopy(obj->array + obj->el_size*idx,
52 obj->array + obj->el_size*(idx + num),
53 (obj->num_el-idx)*obj->el_size);
58 obj->el_size*num, els, obj->array, obj->el_size*idx);
61 memmove(obj->array + obj->el_size*idx, els, obj->el_size*num);
[all …]
H A Ddyn_create.c29 DynObjectP obj; local
41 obj->num_el = obj->size = 0;
42 obj->debug = obj->paranoid = 0;
45 return obj;
49 DynObjectP obj; in DynCopy()
76 DynObjectP obj; in DynDestroy()
79 if (obj->debug)
81 obj->el_size * obj->size, obj->array);
82 memset(obj->array, 0, obj->el_size * obj->size);
85 free(obj);
[all …]
H A Ddyn_put.c19 DynObjectP obj; in DynArray()
23 obj->array);
29 DynObjectP obj; in DynGet()
33 if (obj->debug)
39 if (obj->debug)
47 obj->array, obj->el_size*num);
49 return (DynPtr) obj->array + obj->el_size*num;
58 ret = DynPut(obj, el, obj->num_el);
84 obj->el_size, el, obj->array, idx*obj->el_size);
90 memmove(obj->array + idx*obj->el_size, el, obj->el_size);
[all …]
H A Ddyn_realloc.c22 DynObjectP obj; in _DynResize()
30 return _DynRealloc(obj, (req - obj->size) / obj->inc + 1);
32 if (obj->size == 0)
53 DynObjectP obj; in _DynRealloc()
60 new_size_in_bytes = obj->el_size*(obj->size + obj->inc*num_incs);
64 if (obj->debug)
67 new_size_in_bytes - obj->el_size*obj->size,
72 if (obj->debug)
78 if (obj->inc > 0)
79 obj->size += obj->inc*num_incs;
[all …]
H A Ddyn.h41 #define DynHigh(obj) (DynSize(obj) - 1) argument
42 #define DynLow(obj) (0) argument
58 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj));
59 int DynAdd P((DynObject obj, void *el));
62 int DynDelete P((DynObject obj, int idx));
63 DynPtr DynGet P((DynObject obj, int num));
64 DynPtr DynArray P((DynObject obj));
65 int DynDebug P((DynObject obj, int state));
66 int DynParanoid P((DynObject obj, int state));
68 int DynSize P((DynObject obj));
[all …]
H A Ddyn_size.c17 int DynSize(obj) in DynSize() argument
18 DynObjectP obj; in DynSize()
20 if (obj->debug)
21 fprintf(stderr, "dyn: size: returning size %d.\n", obj->num_el);
23 return obj->num_el;
26 int DynCapacity(obj) in DynCapacity() argument
27 DynObjectP obj; in DynCapacity()
29 if (obj->debug)
30 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size);
32 return obj->size;
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm49 my $obj = shift;
62 $obj = ref($obj) || $obj;
92 my $obj = shift;
283 my $obj = shift;
362 my $obj = shift;
388 my $obj = shift;
403 my $obj = shift;
422 my $obj = shift;
466 my $obj = shift;
468 $obj->readControl() unless ($obj->{'havePath'});
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddseng.c59 isns_obj_t *obj; in load_data() local
77 switch (obj->type) { in load_data()
80 ptype = obj->type; in load_data()
87 eid_attr = &obj->attrs[ in load_data()
104 type = obj->type; in load_data()
138 ec = add_dd_member(obj); in load_data()
143 free_object(obj); in load_data()
159 free_object(obj); in load_data()
172 (obj == NULL || in load_data()
196 const isns_obj_t *obj in write_data() argument
[all …]
H A Dobj.c664 isns_attr_t *attr = &obj->attrs[UID_ATTR_INDEX[obj->type]]; in get_obj_uid()
688 isns_attr_t *attr = &obj->attrs[UID_ATTR_INDEX[obj->type]]; in set_obj_uid()
1718 return (obj); in obj_calloc()
1743 free(obj); in make_default_entity()
1764 return (obj); in make_default_entity()
1982 *p = obj; in reg_get_iscsi()
2075 *p = obj; in reg_get_portal()
2130 *p = obj; in reg_get_pg()
2199 *p = obj; in reg_get_pg1()
2288 *p = obj; in reg_get_pg2()
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c115 bkts[bktno].obj = bind->obj; in store_binding()
146 if (strcmp(bkts[bktno].obj, bind->obj)) in check_store_binding()
158 if (strcmp(bkts[i].obj, bind->obj)) in check_store_binding()
322 if ((c->obj->fd = open(c->obj->ename, mode)) < 0) { in obj_init()
664 c->obj->dynnames = c->obj->ddata->d_buf; in find_dynamic_sect()
951 binding->obj = c->obj->ename; in scan_archive_symbols()
1011 c->obj->elf, c->obj->ehdr)) in scan_symbols()
1038 binding->obj = c->obj->ename; in scan_symbols()
1116 binding->obj = c->obj->ename; in bind_symbols()
1549 dep_obj->obj->ename = dep_obj->obj->filename; in analyze_dependency()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c692 OBJECT ** obj) in object_mgr_create_skel() argument
746 *obj = o; in object_mgr_create_skel()
1051 *ptr = obj; in object_mgr_find_in_map_nocache()
1055 *ptr = obj; in object_mgr_find_in_map_nocache()
1092 *ptr = obj; in object_mgr_find_in_map1()
1098 *ptr = obj; in object_mgr_find_in_map1()
1447 if (! obj) in object_mgr_invalidate_handle2()
1666 obj = oldObj; in object_mgr_restore_obj()
1687 obj); in object_mgr_restore_obj()
1696 obj); in object_mgr_restore_obj()
[all …]
H A Dobject.c306 OBJECT ** obj) in object_create() argument
402 *obj = o; in object_create()
525 if (! obj) { in object_flatten()
567 free(obj); in object_free()
767 if (! obj) { in object_restore()
792 *new_obj = obj; in object_restore()
797 free(obj); in object_restore()
802 if (obj) in object_restore()
819 OBJECT ** obj) { in object_create_skel() argument
826 if (! obj) { in object_create_skel()
[all …]
/illumos-gate/usr/src/lib/libbsm/
H A Dauditxml.pm37 my $obj = shift;
188 my $obj = shift;
250 my $obj = shift;
374 my $obj = shift;
403 my $obj = shift;
556 my $obj = shift;
681 my $obj = shift;
770 my $obj = shift;
802 my $obj = shift;
834 my $obj = shift;
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_elf_access.c162 obj->elf = elf; in dwarf_elf_object_access_internals_init()
185 obj->section_count = obj->ehdr64->e_shnum; in dwarf_elf_object_access_internals_init()
198 obj->section_count = obj->ehdr32->e_shnum; in dwarf_elf_object_access_internals_init()
205 obj->length_size = obj->is_64bit ? 8 : 4; in dwarf_elf_object_access_internals_init()
206 obj->pointer_size = obj->is_64bit ? 8 : 4; in dwarf_elf_object_access_internals_init()
385 ret_scn_doas->name = elf_strptr(obj->elf, obj->ehdr32->e_shstrndx, in dwarf_elf_object_access_get_section_info()
893 obj->endianness, obj->machine, in loop_through_relocations()
953 if (obj->strtab->dss_index != obj->symtab->dss_link) { in dwarf_elf_object_relocate_a_section()
1120 if (!obj) { in dwarf_elf_object_access_finish()
1134 free(obj); in dwarf_elf_object_access_finish()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c2478 dtl_nfsstat4(obj); in dtlres_access()
2502 dtl_nfsstat4(obj); in dtlres_close()
2524 dtl_nfsstat4(obj); in dtlres_commit()
2537 dtl_nfsstat4(obj); in dtlres_create()
2559 dtl_nfsstat4(obj); in dtlres_getattr()
2578 dtl_nfsstat4(obj); in dtlres_cb_getattr()
2604 dtl_nfsstat4(obj); in dtlres_getfh()
2615 dtl_nfsstat4(obj); in dtlres_link()
2646 dtl_nfsstat4(obj); in dtlres_lock()
2674 dtl_nfsstat4(obj); in dtlres_lockt()
[all …]
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c484 ea_object_t *obj, in xget_object() argument
669 obj->eo_next = NULL; in ea_get_object()
681 ea_object_t *obj; in unpack_group() local
732 ea_object_t *obj; in ea_unpack_object() local
756 obj->eo_next = NULL; in ea_unpack_object()
765 if (obj->eo_type == EO_GROUP && unpack_group(&fake, obj, flag) == -1) { in ea_unpack_object()
771 *objp = obj; in ea_unpack_object()
1348 bzero(obj, sizeof (*obj)); in ea_get_object_tree()
1361 first_obj = obj; in ea_get_object_tree()
1366 prev_obj = obj; in ea_get_object_tree()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmultilist.c36 multilist_d2l(multilist_t *ml, void *obj) in multilist_d2l() argument
151 multilist_insert(multilist_t *ml, void *obj) in multilist_insert() argument
180 multilist_sublist_insert_head(mls, obj); in multilist_insert()
196 multilist_remove(multilist_t *ml, void *obj) in multilist_remove() argument
216 multilist_sublist_remove(mls, obj); in multilist_remove()
316 list_insert_head(&mls->mls_list, obj); in multilist_sublist_insert_head()
324 list_insert_tail(&mls->mls_list, obj); in multilist_sublist_insert_tail()
352 list_remove(&mls->mls_list, obj); in multilist_sublist_move_forward()
360 list_remove(&mls->mls_list, obj); in multilist_sublist_remove()
381 return (list_next(&mls->mls_list, obj)); in multilist_sublist_next()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_007_pos.ksh62 typeset obj
67 obj=/dev/zvol/dsk/$dtst
70 echo $obj
87 obj=$(target_obj $fs)
88 log_must cp $SRC_FILE $obj
101 obj=$(target_obj ${fs}-new)
102 log_must diff $SRC_FILE $obj
104 log_must diff $SRC_FILE $obj
114 obj=$(target_obj $fsclone)
115 log_must diff $SRC_FILE $obj
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_mv_001_pos.ksh58 set -A obj $2 $3
71 log_must mv ${obj[i]} $dst_file
75 log_must mv ${obj[i]} $TESTDIR1
76 dst_acl=$(get_acl $TESTDIR1/${obj[i]})
95 orig_acl=$(get_acl ${obj[i]})
96 orig_mode=$(get_mode ${obj[i]})
100 log_must mv ${obj[i]} $dst_dir
106 log_must mv ${obj[i]} $TESTDIR1
110 $TESTDIR1/${obj[i]}/$nestedfile)
112 $TESTDIR1/${obj[i]}/$nestedfile)
[all …]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c77 Hash_obj *obj) in enteralt() argument
83 if (obj->o_alter) { in enteralt()
152 Hash_obj *obj; in enterino() local
199 obj->o_tbl = tbl; in enterino()
238 ent->e_obj = obj; in _enterdir()
273 Hash_obj *obj; in enterdir() local
302 obj = ent->e_obj; in enterdir()
367 Hash_obj * obj; in enternoexistdir() local
453 Hash_obj *obj; in enternoexistfile() local
511 Hash_obj *obj; in enterfile() local
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_014_pos.sh56 for obj in $OBJ_LIST ; do
57 datasetexists $obj && log_must zfs destroy -f $obj
80 for obj in $TESTPOOL/$TESTFS $OBJ_LIST ; do
95 if [[ $obj == $TESTPOOL/$TESTFS ]]; then
96 log_must zfs set quota=$quota_set_size $obj
99 elif [[ $obj == $TESTPOOL/$TESTVOL2 ]] ; then
103 elif [[ $obj == $TESTPOOL/$TESTVOL ]] ; then
108 orig_quota=`get_prop quota $obj`
111 new_quota=`get_prop quota $obj`
118 if [[ $obj == $TESTPOOL/$TESTFS ]]; then
[all …]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_token.c109 if (!obj) { in smb_token_encode()
123 if (!smb_token_xdr(&xdrs, obj)) { in smb_token_encode()
140 smb_logon_t *obj; in smb_logon_decode() local
151 bzero(obj, sizeof (smb_logon_t)); in smb_logon_decode()
152 if (!smb_logon_xdr(&xdrs, obj)) { in smb_logon_decode()
154 free(obj); in smb_logon_decode()
155 obj = NULL; in smb_logon_decode()
159 return (obj); in smb_logon_decode()
163 smb_logon_free(smb_logon_t *obj) in smb_logon_free() argument
165 xdr_free(smb_logon_xdr, (char *)obj); in smb_logon_free()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObjectUtil.c602 kernel_object_t *obj; in search_for_objects() local
627 obj = session_p->object_list; in search_for_objects()
628 while (obj) { in search_for_objects()
647 obj = obj->next; in search_for_objects()
718 kernel_object_t *obj; in kernel_find_objects() local
727 if (obj != NULL) { in kernel_find_objects()
732 (CK_OBJECT_HANDLE)obj; in kernel_find_objects()
950 switch (obj->class) { in kernel_get_object_size()
955 big = OBJ_PUB_RSA_MOD(obj); in kernel_get_object_size()
963 big = OBJ_PUB_DSA_BASE(obj); in kernel_get_object_size()
[all …]

12345678910>>...18