Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 435) 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.c47 memset(obj->array + idx*obj->el_size, 0, obj->el_size);
58 obj->el_size*(obj->num_el - idx), obj->array,
62 memmove(obj->array + idx*obj->el_size,
63 obj->array + (idx+1)*obj->el_size,
64 obj->el_size*(obj->num_el - idx));
66 bcopy(obj->array + (idx+1)*obj->el_size,
67 obj->array + idx*obj->el_size,
68 obj->el_size*(obj->num_el - idx));
74 obj->el_size, obj->array,
75 obj->el_size*(obj->num_el - 1));
[all …]
H A Ddyn_insert.c43 (obj->num_el-idx)*obj->el_size, obj->array,
44 obj->el_size*idx, obj->el_size*(idx+num));
49 memmove(obj->array + obj->el_size*(idx + num),
50 obj->array + obj->el_size*idx,
51 (obj->num_el-idx)*obj->el_size);
53 bcopy(obj->array + obj->el_size*idx,
54 obj->array + obj->el_size*(idx + num),
55 (obj->num_el-idx)*obj->el_size);
60 obj->el_size*num, els, obj->array, obj->el_size*idx);
63 memmove(obj->array + obj->el_size*idx, els, obj->el_size*num);
[all …]
H A Ddyn_create.c31 DynObjectP obj; local
43 obj->num_el = obj->size = 0;
44 obj->debug = obj->paranoid = 0;
47 return obj;
51 DynObjectP obj; in DynCopy()
78 DynObjectP obj; in DynDestroy()
81 if (obj->debug)
83 obj->el_size * obj->size, obj->array);
84 memset(obj->array, 0, obj->el_size * obj->size);
87 free(obj);
[all …]
H A Ddyn_put.c21 DynObjectP obj; in DynArray()
25 obj->array);
31 DynObjectP obj; in DynGet()
35 if (obj->debug)
41 if (obj->debug)
49 obj->array, obj->el_size*num);
51 return (DynPtr) obj->array + obj->el_size*num;
60 ret = DynPut(obj, el, obj->num_el);
86 obj->el_size, el, obj->array, idx*obj->el_size);
92 memmove(obj->array + idx*obj->el_size, el, obj->el_size);
[all …]
H A Ddyn_realloc.c24 DynObjectP obj; in _DynResize()
32 return _DynRealloc(obj, (req - obj->size) / obj->inc + 1);
34 if (obj->size == 0)
55 DynObjectP obj; in _DynRealloc()
62 new_size_in_bytes = obj->el_size*(obj->size + obj->inc*num_incs);
66 if (obj->debug)
69 new_size_in_bytes - obj->el_size*obj->size,
74 if (obj->debug)
80 if (obj->inc > 0)
81 obj->size += obj->inc*num_incs;
[all …]
H A Ddyn.h43 #define DynHigh(obj) (DynSize(obj) - 1) argument
44 #define DynLow(obj) (0) argument
60 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj));
61 int DynAdd P((DynObject obj, void *el));
64 int DynDelete P((DynObject obj, int idx));
65 DynPtr DynGet P((DynObject obj, int num));
66 DynPtr DynArray P((DynObject obj));
67 int DynDebug P((DynObject obj, int state));
68 int DynParanoid P((DynObject obj, int state));
70 int DynSize P((DynObject obj));
[all …]
H A Ddyn_size.c19 int DynSize(obj) in DynSize() argument
20 DynObjectP obj; in DynSize()
22 if (obj->debug)
23 fprintf(stderr, "dyn: size: returning size %d.\n", obj->num_el);
25 return obj->num_el;
28 int DynCapacity(obj) in DynCapacity() argument
29 DynObjectP obj; in DynCapacity()
31 if (obj->debug)
32 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size);
34 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.c2477 dtl_nfsstat4(obj); in dtlres_access()
2501 dtl_nfsstat4(obj); in dtlres_close()
2523 dtl_nfsstat4(obj); in dtlres_commit()
2536 dtl_nfsstat4(obj); in dtlres_create()
2558 dtl_nfsstat4(obj); in dtlres_getattr()
2577 dtl_nfsstat4(obj); in dtlres_cb_getattr()
2603 dtl_nfsstat4(obj); in dtlres_getfh()
2614 dtl_nfsstat4(obj); in dtlres_link()
2645 dtl_nfsstat4(obj); in dtlres_lock()
2673 dtl_nfsstat4(obj); in dtlres_lockt()
[all …]
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c486 ea_object_t *obj, in xget_object() argument
671 obj->eo_next = NULL; in ea_get_object()
683 ea_object_t *obj; in unpack_group() local
734 ea_object_t *obj; in ea_unpack_object() local
758 obj->eo_next = NULL; in ea_unpack_object()
767 if (obj->eo_type == EO_GROUP && unpack_group(&fake, obj, flag) == -1) { in ea_unpack_object()
773 *objp = obj; in ea_unpack_object()
1350 bzero(obj, sizeof (*obj)); in ea_get_object_tree()
1363 first_obj = obj; in ea_get_object_tree()
1368 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/lib/libtnfctl/
H A Dsym.c123 objlist_t *obj; in _tnfctl_sym_find() local
133 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_find()
134 if (obj->old == B_TRUE) in _tnfctl_sym_find()
179 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_obj_find()
180 if (obj->old == B_TRUE) in _tnfctl_sym_obj_find()
183 if (obj->objname == NULL) in _tnfctl_sym_obj_find()
189 str_ptr = obj->objname; in _tnfctl_sym_obj_find()
196 found_obj = obj; in _tnfctl_sym_obj_find()
222 objlist_t *obj; in _tnfctl_sym_findname() local
232 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_findname()
[all …]
H A Dprobes.c271 while (obj) { in _tnfctl_free_objs_and_probes()
273 tmp = obj; in _tnfctl_free_objs_and_probes()
274 obj = obj->next; in _tnfctl_free_objs_and_probes()
296 if (obj->probes) in free_obj_fields()
315 objlist_t *obj; in _tnfctl_probes_traverse() local
321 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_probes_traverse()
407 objlist_t *obj; in loadobj_find() local
409 for (obj = hndl->objlist; obj; obj = obj->next) { in loadobj_find()
411 return (obj); in loadobj_find()
435 prexstat = _tnfctl_traverse_object(obj->objfd, obj->baseaddr, in get_num_probes()
[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/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/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 …]

12345678910>>...18