| /onnv-gate/usr/src/cmd/geniconvtbl/ |
| H A D | assemble.c | 110 itmc_ref_t *ref; in assemble() local 171 for (ref = ref_first[i], j = 0; ref; ref = ref->next, j++) { in assemble() 174 j, ref, in assemble() 175 ref->name, ref->referencee, in assemble() 176 ref->reloc.itm_ptr, ref->size, in assemble() 177 ref->referencer, ref->next)); in assemble() 201 itmc_ref_t *ref; in relocation_I() local 212 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_STRING]; in relocation_I() 213 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I() 221 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_DIREC]; in relocation_I() [all …]
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | tnf_writer.h | 128 #define tnf_char(ops, item, ref) (item) argument 131 #define tnf_int8(ops, item, ref) (item) argument 134 #define tnf_uint8(ops, item, ref) (item) argument 137 #define tnf_int16(ops, item, ref) (item) argument 140 #define tnf_uint16(ops, item, ref) (item) argument 143 #define tnf_int32(ops, item, ref) (item) argument 146 #define tnf_uint32(ops, item, ref) (item) argument 149 #define tnf_int64(ops, item, ref) (item) argument 152 #define tnf_uint64(ops, item, ref) (item) argument 155 #define tnf_float32(ops, item, ref) (item) argument [all …]
|
| /onnv-gate/usr/src/cmd/sgs/libelf/common/ |
| H A D | begin.c | 51 _elf_member(int fd, Elf * ref, unsigned flags) in _elf_member() argument 57 if (ref->ed_nextoff >= ref->ed_fsz) in _elf_member() 59 if (ref->ed_fd == -1) /* disabled */ in _elf_member() 65 if (ref->ed_fd != fd) { in _elf_member() 69 if ((_elf_vm(ref, ref->ed_nextoff, sizeof (struct ar_hdr)) != in _elf_member() 70 OK_YES) || ((mh = _elf_armem(ref, in _elf_member() 71 ref->ed_ident + ref->ed_nextoff, ref->ed_fsz)) == 0)) in _elf_member() 74 base = ref->ed_nextoff + sizeof (struct ar_hdr); in _elf_member() 75 if (ref->ed_fsz - base < mh->m_hdr.ar_size) { in _elf_member() 83 ++ref->ed_activ; in _elf_member() [all …]
|
| /onnv-gate/usr/src/uts/common/xen/os/ |
| H A D | gnttab.c | 218 int ref, rc; in get_free_entries() local 227 ref = head = gnttab_free_head; in get_free_entries() 234 return (ref); in get_free_entries() 238 put_free_entry(grant_ref_t ref) in put_free_entry() argument 240 ASSERT(VALID_GRANT_REF(ref)); in put_free_entry() 243 GNTTAB_ENTRY(ref) = gnttab_free_head; in put_free_entry() 244 gnttab_free_head = ref; in put_free_entry() 257 int ref; in gnttab_grant_foreign_access() local 259 if ((ref = get_free_entries(1)) == -1) in gnttab_grant_foreign_access() 262 ASSERT(VALID_GRANT_REF(ref)); in gnttab_grant_foreign_access() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| H A D | ref.t | 56 $ref[0] = \@a; 57 $ref[1] = \@b; 58 $ref[2] = \@c; 59 $ref[3] = \@d; 61 push(@{$ref[$i]}, "ok $ary[$i]\n"); 64 print ${$ref[1]}[0]; 65 print @{$ref[2]}[0]; 76 $ref = [[],2,[3,4,5,]]; 77 print scalar @$ref == 3 ? "ok 14\n" : "not ok 14\n"; 78 print $$ref[1] == 2 ? "ok 15\n" : "not ok 15\n"; [all …]
|
| /onnv-gate/usr/src/uts/common/fs/zfs/ |
| H A D | refcount.c | 72 reference_t *ref; in refcount_destroy_many() local 75 while (ref = list_head(&rc->rc_list)) { in refcount_destroy_many() 76 list_remove(&rc->rc_list, ref); in refcount_destroy_many() 77 kmem_cache_free(reference_cache, ref); in refcount_destroy_many() 81 while (ref = list_head(&rc->rc_removed)) { in refcount_destroy_many() 82 list_remove(&rc->rc_removed, ref); in refcount_destroy_many() 83 kmem_cache_free(reference_history_cache, ref->ref_removed); in refcount_destroy_many() 84 kmem_cache_free(reference_cache, ref); in refcount_destroy_many() 113 reference_t *ref; in refcount_add_many() local 117 ref = kmem_cache_alloc(reference_cache, KM_SLEEP); in refcount_add_many() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Attribute/ |
| H A D | Handlers.pm | 10 my ($pkg, $ref, $type) = @_; 11 return $symcache{$pkg,$ref} if $symcache{$pkg,$ref}; 12 $type ||= ref($ref); 15 return $symcache{$pkg,$ref} = \$sym 16 if *{$sym}{$type} && *{$sym}{$type} == $ref; 116 my ($pkg, $ref, @attrs) = @_; 121 $raw{$ref} = $data =~ s/\s*,?\s*RAWDATA\s*,?\s*//; 122 $phase{$ref}{BEGIN} = 1 124 $phase{$ref}{INIT} = 1 126 $phase{$ref}{END} = 1 [all …]
|
| /onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
| H A D | Project.pm | 157 my ($ret, $ref); 179 ($ret, $ref) = projent_parse($line, {}); 181 $ref = projf_combine_errors( 183 $ref); 184 push(@errs, @$ref); 188 $projent = $ref; 202 ($ret, $ref) = projf_validate(\@projents, $flags); 204 push(@errs, @$ref); 276 my ($ret, $ref); 300 ($ret, $ref) = projent_parse_name($projname); [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/server/ |
| H A D | DhcpMgrImpl.java | 173 public void closeExportFile(Object ref, boolean delete) throws IOException { in closeExportFile() argument 174 if (!isFileOpen((File)ref)) { in closeExportFile() 175 throw new FileNotFoundException(((File)ref).getName()); in closeExportFile() 182 ((File)ref).delete(); in closeExportFile() 192 clearFile((File)ref); in closeExportFile() 227 public void closeImportFile(Object ref, boolean delete) throws IOException { in closeImportFile() argument 228 if (!isFileOpen((File)ref)) { in closeImportFile() 229 throw new FileNotFoundException(((File)ref).getName()); in closeImportFile() 234 ((File)ref).delete(); in closeImportFile() 240 clearFile((File)ref); in closeImportFile() [all …]
|
| H A D | DhcpMgr.java | 46 public ExportHeader getExportHeader(Object ref) in getExportHeader() argument 48 public void exportMacros(Object ref, boolean allMacros, String [] names) in exportMacros() argument 50 public void exportOptions(Object ref, boolean allOptions, String [] names) in exportOptions() argument 52 public void exportNetwork(Object ref, Network net) in exportNetwork() argument 54 public ActionError [] importOptions(Object ref, boolean overwrite) in importOptions() argument 56 public ActionError [] importMacros(Object ref, boolean overwrite) in importMacros() argument 58 public ActionError [] importNetwork(Network net, Object ref, in importNetwork() argument 62 public void closeExportFile(Object ref, boolean deleteFile) in closeExportFile() argument 64 public void closeImportFile(Object ref, boolean deleteFile) in closeImportFile() argument
|
| /onnv-gate/usr/src/lib/libldap5/sources/ldap/common/ |
| H A D | referral.c | 54 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) in ldap_next_reference() argument 56 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || ref == NULLMSG ) { in ldap_next_reference() 60 for ( ref = ref->lm_chain; ref != NULLMSG; ref = ref->lm_chain ) { in ldap_next_reference() 61 if ( ref->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) { in ldap_next_reference() 62 return( ref ); in ldap_next_reference() 95 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp, in ldap_parse_reference() argument 101 !NSLDAPI_VALID_LDAPMESSAGE_REFERENCE_POINTER( ref )) { in ldap_parse_reference() 105 err = nsldapi_parse_reference( ld, ref->lm_ber, referralsp, in ldap_parse_reference() 111 ldap_msgfree( ref ); in ldap_parse_reference()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/ |
| H A D | RefHash.t | 25 my $ref = []; my $ref1 = []; 81 $h{$ref} = 'cholet'; 82 test($h{$ref} eq 'cholet'); 83 test(exists $h{$ref}); 86 test((keys %h)[0] eq $ref); 93 test($k eq $ref); 97 delete $h{$ref}; 98 test(not defined $h{$ref}); 99 test(not exists($h{$ref})); 115 $h{$ref}->{$ref1} = 'bungo'; [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/bignum/t/ |
| H A D | infnan.inc | 9 $x = 1+inf; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'inf'); 10 $x = 1*inf; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'inf'); 13 $x = inf; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'inf'); 14 $x = inf+inf; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'inf'); 15 $x = inf*inf; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'inf'); 20 $x = 1+NaN; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'NaN'); 21 $x = 1*NaN; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'NaN'); 24 $x = NaN; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'NaN'); 25 $x = NaN+NaN; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'NaN'); 26 $x = NaN*NaN; ok (ref($x) =~ /^Math::BigInt/); ok ($x->bstr(),'NaN'); [all …]
|
| /onnv-gate/usr/src/cmd/audio/utilities/ |
| H A D | AudioExtent.cc | 41 Audio("[extent]"), ref(obj) in AudioExtent() 43 ref->Reference(); // reference audio object in AudioExtent() 52 ref->Dereference(); // clear audio object reference in ~AudioExtent() 59 return (ref); in GetRef() 67 if (ref == r) // object is not changing in SetRef() 69 ref->Dereference(); // dereference previous object in SetRef() 71 ref = r; in SetRef() 72 ref->Reference(); // reference new object in SetRef() 105 return (ref->GetLength()); in GetEnd() 117 len = ref->GetLength(); in SetEnd() [all …]
|
| /onnv-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
| H A D | ndr_ops.c | 239 ndo_malloc(ndr_stream_t *nds, unsigned len, ndr_ref_t *ref) in ndo_malloc() argument 251 ndo_free(ndr_stream_t *nds, char *p, ndr_ref_t *ref) in ndo_free() argument 268 ndo_grow_pdu(ndr_stream_t *nds, unsigned long want_end_offset, ndr_ref_t *ref) in ndo_grow_pdu() argument 273 ndo_printf(nds, ref, "grow %d", want_end_offset); in ndo_grow_pdu() 298 unsigned long n_bytes, ndr_ref_t *ref) in ndo_pad_pdu() argument 305 ndo_printf(nds, ref, "pad %d@%-3d", n_bytes, pdu_offset); in ndo_pad_pdu() 321 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) in ndo_get_pdu() argument 331 ndo_printf(nds, ref, "get %d@%-3d = %s", in ndo_get_pdu() 351 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) in ndo_put_pdu() argument 361 ndo_printf(nds, ref, "put %d@%-3d = %s", in ndo_put_pdu() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/ |
| H A D | overload.t | 40 ok 1, ref $b eq 'OVERLOADED'; 44 ok 3, ref $c eq 'REF'; 45 ok 4, ref $$c eq 'OVERLOADED'; 66 '""' => sub { ref $_[0] }; 74 my $ref = REF_TO_OVER->make($self); 75 $self->{ref} = $ref; 84 ok 8, ref $b eq 'OVER'; 86 ok 10, ref $b->{ref} eq 'REF_TO_OVER';
|
| H A D | blessed.t | 93 ok 4, ref $y eq 'ARRAY'; 96 ok 6, ref $y->[0] eq 'SHORT_NAME'; 97 ok 7, ref $y->[1] eq 'SHORT_NAME_WITH_HOOK'; 98 ok 8, ref $y->[2] eq $name; 99 ok 9, ref $y->[3] eq "${name}_WITH_HOOK"; 103 do { $good = 0; last } unless ref $y->[4*$i] eq 'SHORT_NAME'; 104 do { $good = 0; last } unless ref $y->[4*$i+1] eq 'SHORT_NAME_WITH_HOOK'; 105 do { $good = 0; last } unless ref $y->[4*$i+2] eq $name; 106 do { $good = 0; last } unless ref $y->[4*$i+3] eq "${name}_WITH_HOOK"; 114 ok 11, ref $y eq 'Foobar'; [all …]
|
| H A D | recurse.t | 52 die "STORABLE_thaw #2" unless ref $a eq 'ARRAY'; 75 die "STORABLE_thaw #2" unless ref $a eq 'ARRAY' || @$a != 2; 103 die "STORABLE_thaw #2" unless ref $a eq 'ARRAY'; 104 die "STORABLE_thaw #3" unless ref $r eq 'HASH'; 143 ok 2, ref $y eq 'OBJ_REAL'; 164 ok 11, ref $y->{sync} eq 'OBJ_SYNC'; 179 ok 19, ref $x eq 'OBJ_REAL2'; 227 ok 24, ref($bar2) eq 'Bar'; 228 ok 25, ref($bar->{b}[0]) eq 'Foo'; 229 ok 26, ref($bar->{b}[1]) eq 'Foo'; [all …]
|
| /onnv-gate/usr/src/uts/common/tnf/ |
| H A D | tnf_types.h | 251 #define tnf_derived_base(ops, item, ref)\ argument 252 tnf_tag_element_1(ops, item, ref, tnf_derived_base_tag_data) 256 #define tnf_element_type(ops, item, ref)\ argument 257 tnf_tag_element_1(ops, item, ref, tnf_element_type_tag_data) 261 #define tnf_type_array(ops, item, ref) \ argument 262 tnf_tag_array_1(ops, item, ref, tnf_type_array_tag_data) 266 #define tnf_slot_types(ops, item, ref) \ argument 267 tnf_tag_array_1(ops, item, ref, tnf_slot_types_tag_data) 271 #define tnf_properties(ops, item, ref) \ argument 272 tnf_tag_properties_1(ops, item, ref, tnf_properties_tag_data) [all …]
|
| /onnv-gate/usr/src/lib/libast/common/hash/ |
| H A D | hashalloc.c | 41 hashalloc(Hash_table_t* ref, ...) in hashalloc() argument 53 va_start(ap, ref); in hashalloc() 60 if (!ref && n == HASH_region) in hashalloc() 72 if (ref) in hashalloc() 74 tab->flags = ref->flags & ~HASH_RESET; in hashalloc() 75 tab->root = ref->root; in hashalloc() 101 if (ref) goto out; in hashalloc() 113 if (ref) goto out; in hashalloc() 117 if (ref) goto out; in hashalloc() 121 if (ref) goto out; in hashalloc() [all …]
|
| /onnv-gate/usr/src/uts/common/fs/sockfs/ |
| H A D | nl7curi.h | 80 (container)->ref.cnt = (count); \ 81 (container)->ref.last = (void (*)(void *))((inactive)); \ 82 (container)->ref.kmc = (kmem); \ 86 atomic_add_32(&(container)->ref.cnt, 1); \ 87 ASSERT((container)->ref.cnt != 0); \ 91 if (atomic_add_32_nv(&(container)->ref.cnt, -1) == 0) { \ 92 (container)->ref.last((container)); \ 93 kmem_cache_free((container)->ref.kmc, (container)); \ 97 #define REF_COUNT(container) (container)->ref.cnt 100 ASSERT((container)->ref.cnt == (count)); [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| H A D | overload.t | 81 test (ref $a eq "Oscalar"); # 4 87 test (ref $c eq "Oscalar"); # 7 93 test (ref $a eq "Oscalar"); # 10 97 test (ref $b eq "Oscalar"); # 11 100 test (ref $a eq "Oscalar"); # 14 105 test (ref $c eq "Oscalar"); # 15 108 test (ref $a eq "Oscalar"); # 18 113 test (ref $b eq "Oscalar"); # 19 116 test (ref $a eq "Oscalar"); # 22 122 test (ref $a eq "Oscalar"); # 23 [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/common/ |
| H A D | ImportController.java | 52 Object ref = null; field in ImportController 97 if (ref != null) { in closeFile() 100 server.closeImportFile(ref, false); in closeFile() 106 ref = null; in closeFile() 118 if (ref == null) { in getHeader() 119 ref = server.openImportFile(file); in getHeader() 120 if (ref == null) { in getHeader() 131 header = server.getExportHeader(ref); in getHeader() 164 ActionError [] result = server.importOptions(ref, overwrite); in importData() 175 result = server.importMacros(ref, overwrite); in importData() [all …]
|
| /onnv-gate/usr/src/uts/common/xen/sys/ |
| H A D | gnttab.h | 96 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly); 104 void gnttab_end_foreign_access(grant_ref_t ref, int readonly, 109 gnttab_frame_t gnttab_end_foreign_transfer_ref(grant_ref_t ref); 110 gnttab_frame_t gnttab_end_foreign_transfer(grant_ref_t ref); 112 int gnttab_query_foreign_access(grant_ref_t ref); 119 void gnttab_free_grant_reference(grant_ref_t ref); 135 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
|
| /onnv-gate/usr/src/common/openssl/crypto/x509v3/ |
| H A D | pcy_map.c | 97 X509_POLICY_REF *ref = NULL; in policy_cache_set_mapping() local 157 ref = OPENSSL_malloc(sizeof(X509_POLICY_REF)); in policy_cache_set_mapping() 158 if (!ref) in policy_cache_set_mapping() 161 ref->subjectDomainPolicy = map->subjectDomainPolicy; in policy_cache_set_mapping() 163 ref->data = data; in policy_cache_set_mapping() 165 if (!sk_X509_POLICY_REF_push(cache->maps, ref)) in policy_cache_set_mapping() 168 ref = NULL; in policy_cache_set_mapping() 176 if (ref) in policy_cache_set_mapping() 177 policy_map_free(ref); in policy_cache_set_mapping()
|