Searched refs:obj (Results 1 - 25 of 415) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_size.c19 int DynSize(obj)
20 DynObjectP obj;
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)
29 DynObjectP obj;
31 if (obj->debug)
32 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size);
34 return obj
[all...]
H A Ddyn_delete.c26 int DynDelete(obj, idx)
27 DynObjectP obj;
31 if (obj->debug)
36 if (idx >= obj->num_el) {
37 if (obj->debug)
39 obj->num_el);
43 if (idx == obj->num_el-1) {
44 if (obj->paranoid) {
45 if (obj->debug)
47 memset(obj
[all...]
H A Ddyn_create.c31 DynObjectP obj; local
33 obj = (DynObjectP) malloc(sizeof(DynObjectRecP));
34 if (obj == NULL)
38 obj->array = (DynPtr) malloc(1);
40 obj->array = (DynPtr) malloc(0);
42 obj->el_size = el_size;
43 obj->num_el = obj->size = 0;
44 obj->debug = obj
[all...]
H A Ddyn_insert.c19 int DynInsert(obj, idx, els_in, num)
20 DynObjectP obj;
27 if (idx < 0 || idx > obj->num_el) {
28 if (obj->debug)
30 idx, obj->num_el);
35 if (obj->debug)
41 if (obj->debug)
43 (obj->num_el-idx)*obj->el_size, obj
[all...]
H A Ddyn_realloc.c23 int _DynResize(obj, req)
24 DynObjectP obj;
29 if (obj->size > req)
31 else if (obj->inc > 0)
32 return _DynRealloc(obj, (req - obj->size) / obj->inc + 1);
34 if (obj->size == 0)
35 size = -obj->inc;
37 size = obj
[all...]
H A Ddyn_put.c20 DynPtr DynArray(obj)
21 DynObjectP obj;
23 if (obj->debug)
25 obj->array);
27 return obj->array;
30 DynPtr DynGet(obj, num)
31 DynObjectP obj;
35 if (obj->debug)
40 if (num >= obj->num_el) {
41 if (obj
[all...]
H A Ddyn_append.c22 int DynAppend(obj, els, num)
23 DynObjectP obj;
27 return DynInsert(obj, DynSize(obj), els, num);
H A Ddyn_initzero.c19 int DynInitzero(obj, state)
20 DynObjectP obj;
23 obj->initzero = state;
25 if (obj->debug)
H A Ddyn_paranoid.c19 int DynParanoid(obj, state)
20 DynObjectP obj;
23 obj->paranoid = state;
25 if (obj->debug)
H A Ddyn_debug.c19 int DynDebug(obj, state)
20 DynObjectP obj;
23 obj->debug = state;
H A Ddyn.h43 #define DynHigh(obj) (DynSize(obj) - 1)
44 #define DynLow(obj) (0)
59 DynObject DynCreate P((int el_size, int inc)), DynCopy P((DynObject obj));
60 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj));
61 int DynAdd P((DynObject obj, void *el));
62 int DynPut P((DynObject obj, void *el, int idx));
63 int DynInsert P((DynObject obj, int idx, void *els, int num));
64 int DynDelete P((DynObject obj, in
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtypeof-addresspace.c5 int __as obj, *ptr; local
6 typeof(obj) var = obj;
8 typeof(*ptr) var2 = obj;
10 typeof(obj) *ptr4 = ptr; /* check-should-pass */
11 obj = obj;
13 ptr = &obj;
14 obj = *ptr;
H A Dtypeof-safe.c5 int __safe obj, *ptr; local
6 typeof(obj) var = obj;
8 typeof(*ptr) var2 = obj;
10 typeof(obj) *ptr4 = ptr;
11 obj = obj;
13 ptr = &obj;
14 obj = *ptr;
H A Dtypeof-mods.c8 unsigned int obj, *ptr; local
9 typeof(obj) var = obj;
11 typeof(*ptr) var2 = obj;
13 typeof(obj) *ptr4 = ptr;
14 obj = obj;
16 ptr = &obj;
17 obj = *ptr;
22 const int obj, *pt local
34 volatile int obj, *ptr; local
49 type_t obj, *ptr; local
63 static int obj, *ptr; local
77 __thread int obj, *ptr; local
91 int __nocast obj, *ptr; local
[all...]
H A Dtypeof-noderef.c5 int __noderef obj, *ptr; local
8 typeof(obj) *ptr4 = ptr;
10 ptr = &obj;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_ls_001_pos.ksh76 for obj in $file $dir
79 if [[ -f $obj ]]; then
87 $ls_str $obj | grep $ace_type > /dev/null 2>&1
98 for obj in $file $dir
100 chmod A0+$spec_ace $obj
102 log_must eval "ls -ld -vd $obj | grep "+" > /dev/null"
103 log_must plus_sign_check_v $obj
105 log_must eval "ls -ld -vd $obj | grep $spec_ace > /dev/null"
106 log_must plus_sign_check_l $obj
H A Dzfs_acl_mv_001_pos.ksh58 set -A obj $2 $3
66 while (( i < ${#obj[*]} ))
68 orig_acl="$(get_acl ${obj[i]})"
69 orig_mode="$(get_mode ${obj[i]})"
71 log_must mv ${obj[i]} $dst_file
75 log_must mv ${obj[i]} $TESTDIR1
76 dst_acl=$(get_acl $TESTDIR1/${obj[i]})
77 dst_mode=$(get_mode $TESTDIR1/${obj[i]})
88 while (( i < ${#obj[*]} ))
95 orig_acl=$(get_acl ${obj[
[all...]
H A Dzfs_acl_cp_001_pos.ksh75 for obj in $testfile $testdir; do
82 A0+user:$ZFS_ACL_OTHER1:read_acl:deny $obj
85 [[ -d $obj ]] && cmd_str="cp -rp"
86 log_must usr_exec $cmd_str $obj $dstdir
87 log_must usr_exec $cmd_str $obj $TESTDIR1
90 log_must compare_modes $obj $dir/${obj##*/}
91 log_must compare_acls $obj $dir/${obj##*/}
H A Dzfs_acl_find_001_pos.ksh55 function find_ls_acl #<opt> <obj>
58 typeset obj=$2
67 if [[ $rst_str == "./$obj" ]]; then
98 for obj in ${f_base}.3 ${d_base}.3
103 log_must chmod ${ops[i]} $obj
110 log_must find_ls_acl $opt $obj
114 if [[ ! -r $obj || ! -w $obj ]]; then
115 log_fail "The added ACEs for $obj cannot be represented in " \
123 log_must chmod A0- $obj
[all...]
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtwalk.c39 reg Void_t *obj, *next; local
43 for(obj = dtfirst(dt); obj; )
46 next = dtnext(dt,obj);
47 if((rv = (*userf)(walk, obj, data )) < 0)
49 obj = next;
/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`
110 log_mustnot zfs set reservation=$resv_set_size $obj
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddseng.c59 isns_obj_t *obj; local
74 ec = target_load_obj(&prev, &obj, &phase);
75 while (ec == 0 && obj != NULL) {
77 switch (obj->type) {
80 ptype = obj->type;
81 ec = register_object(obj, &puid, NULL);
85 ec = register_object(obj, &puid, NULL);
87 eid_attr = &obj->attrs[
95 scn_bitmap = &obj->attrs[ATTR_INDEX_ISCSI(
97 scn_name = &obj
[all...]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm49 my $obj = shift;
62 $obj = ref($obj) || $obj;
83 'userFile' => $userf}, $obj);
92 my $obj = shift;
94 my $file = $obj->{'attrFile'};
117 my $classFilter = $obj->{'classFilter'};
165 $obj->{'kernelDefault'} = $1;
170 $obj
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dreservation_001_neg.ksh63 typeset obj=$1
67 orig_resv_val=$(get_prop reservation $obj)
74 reservation=${values[$i]}${suffix[$j]} $obj \
79 reservation=${values[$i]}${suffix[$j]} $obj"
83 new_resv_val=$(get_prop reservation $obj)
86 log_fail "$obj : reservation values changed " \
H A Dversion_001_neg.ksh62 typeset obj=$1
66 orig_val=$(get_prop version $obj)
69 zfs set version=${values[$i]} $obj > /dev/null 2>&1
71 log_note "zfs set version=${values[$i]} $obj"
75 new_val=$(get_prop version $obj)
78 log_fail "$obj : version values changed " \

Completed in 109 milliseconds

1234567891011>>