| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/native/ |
| H A D | Test.java | 41 System.out.println("\nThese are unit tests for the JNI code."); in main() 42 System.out.println("They assume the existence of a jnitest/admin"); in main() 43 System.out.println("user principal, with the password 'test123',"); in main() 44 System.out.println("and the existance of a 'default' policy.\n"); in main() 50 System.out.println("==> Set up a session for jnitest/admin.\n"); in main() 53 System.out.println("*** First, one with a bogus port number."); in main() 59 System.out.println("Unexpected success!\n"); in main() 62 System.out.println("Expected failure "+e.getMessage()+"\n"); in main() 65 System.out.println("*** Next, one with the correct port number."); in main() 71 System.out.println("sessionInit was successful.\n"); in main() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/ecdh/ |
| H A D | ecdhtest.c | 109 static void *KDF1_SHA1(const void *in, size_t inlen, void *out, size_t *outlen) in KDF1_SHA1() argument 116 return SHA1(in, inlen, out); in KDF1_SHA1() 123 static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out) in test_ecdh_curve() argument 146 BIO_puts(out,"Testing key generation with "); in test_ecdh_curve() 147 BIO_puts(out,text); in test_ecdh_curve() 149 BIO_puts(out,"\n"); in test_ecdh_curve() 151 BIO_flush(out); in test_ecdh_curve() 167 BIO_puts(out," pri 1="); in test_ecdh_curve() 168 BN_print(out,a->priv_key); in test_ecdh_curve() 169 BIO_puts(out,"\n pub 1="); in test_ecdh_curve() [all …]
|
| /onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | terminfo.c | 59 char *out; in ti_unescape_memory() local 61 out = out_buffer; in ti_unescape_memory() 70 *out = (*in) - 'A'; in ti_unescape_memory() 75 *out = '^'; in ti_unescape_memory() 91 *out++ = (char)(n & 0xff); in ti_unescape_memory() 103 *out++ = '\e'; in ti_unescape_memory() 106 *out++ = '\n'; in ti_unescape_memory() 109 *out++ = '\r'; in ti_unescape_memory() 112 *out++ = '\t'; in ti_unescape_memory() 115 *out++ = '\b'; in ti_unescape_memory() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/lhash/ |
| H A D | lh_stats.c | 73 void lh_stats(LHASH *lh, FILE *out) in lh_stats() argument 75 fprintf(out,"num_items = %lu\n",lh->num_items); in lh_stats() 76 fprintf(out,"num_nodes = %u\n",lh->num_nodes); in lh_stats() 77 fprintf(out,"num_alloc_nodes = %u\n",lh->num_alloc_nodes); in lh_stats() 78 fprintf(out,"num_expands = %lu\n",lh->num_expands); in lh_stats() 79 fprintf(out,"num_expand_reallocs = %lu\n",lh->num_expand_reallocs); in lh_stats() 80 fprintf(out,"num_contracts = %lu\n",lh->num_contracts); in lh_stats() 81 fprintf(out,"num_contract_reallocs = %lu\n",lh->num_contract_reallocs); in lh_stats() 82 fprintf(out,"num_hash_calls = %lu\n",lh->num_hash_calls); in lh_stats() 83 fprintf(out,"num_comp_calls = %lu\n",lh->num_comp_calls); in lh_stats() [all …]
|
| /onnv-gate/usr/src/uts/sun4v/sys/ |
| H A D | machclock.h | 55 #define RD_STICK(out, scr1, scr2, label) \ argument 59 rd STICK, out; \ 64 sllx out, 1, out; \ 65 srlx out, 1, out; \ 66 add out, scr1, out 79 #define RD_CLOCK_TICK(out, scr1, scr2, label) \ argument 81 RD_STICK(out,scr1,scr2,label) 83 #define RD_STICK_NO_SUSPEND_CHECK(out, scr1) \ argument 86 rd STICK, out; \ 87 sllx out, 1, out; \ [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/ecdsa/ |
| H A D | ecdsatest.c | 102 int x9_62_test_internal(BIO *out, int nid, const char *r, const char *s); 182 int x9_62_test_internal(BIO *out, int nid, const char *r_in, const char *s_in) in x9_62_test_internal() argument 199 BIO_printf(out, "testing %s: ", OBJ_nid2sn(nid)); in x9_62_test_internal() 205 BIO_printf(out, "."); in x9_62_test_internal() 206 BIO_flush(out); in x9_62_test_internal() 211 BIO_printf(out, "."); in x9_62_test_internal() 212 BIO_flush(out); in x9_62_test_internal() 221 BIO_printf(out, "."); in x9_62_test_internal() 222 BIO_flush(out); in x9_62_test_internal() 226 BIO_printf(out, "."); in x9_62_test_internal() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Class/ |
| H A D | Struct.pm | 116 my $out = ''; 118 $out = "{\n package $class;\n use Carp;\n sub new {\n"; 119 $out .= " my (\$class, \%init) = \@_;\n"; 120 $out .= " \$class = __PACKAGE__ unless \@_;\n"; 127 $out .= " my(\$r) = {};\n"; 131 $out .= " my(\$r) = [];\n"; 151 $out .= " croak 'Initializer for $name must be array reference'\n"; 152 $out .= " if defined(\$init{'$name'}) && ref(\$init{'$name'}) ne 'ARRAY';\n"; 153 $out .= " \$r->$elem = $init [];$cmt\n"; 157 $out .= " croak 'Initializer for $name must be hash reference'\n"; [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| H A D | Dumpvalue.t | 65 my $out = tie *OUT, 'TieOut'; 71 is( $out->read, "0..2 1 2 3\n", 'DumpElem worked on array ref'); 73 is( $out->read, "'one' => 1, 'two' => 2\n", 'DumpElem worked on hash ref' ); 75 is( $out->read, "'hi'\n", 'DumpElem worked on simple scalar' ); 78 like( $out->read, qr/ARRAY/, 'DumpElem okay with reference and no veryCompact'); 83 is( $out->read, "0..2 1 2 3\n", 'dumped array fine' ); 86 is( $out->read, "0..2 1 2 ...\n", 'dumped limited array fine' ); 90 is( $out->read, "'a' => 1, 'b' => 2, 'c' => 3\n", 'dumped hash fine' ); 93 is( $out->read, "'a' => 1, 'b' => 2 ...\n", 'dumped limited hash fine' ); 98 like( $out->read, qr/ARRAY.+empty array/s, 'stringified empty array ref' ); [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| H A D | tasn_prn.c | 70 static int asn1_item_print_nm(BIO *out, void *fld, int indent, const ASN1_ITEM *it, const char *nam… 72 int ASN1_item_print(BIO *out, void *fld, int indent, const ASN1_ITEM *it) in ASN1_item_print() argument 74 return asn1_item_print_nm(out, fld, indent, it, it->sname); in ASN1_item_print() 77 static int asn1_item_print_nm(BIO *out, void *fld, int indent, const ASN1_ITEM *it, const char *nam… in asn1_item_print_nm() argument 84 BIO_printf(out, "%*s%s ABSENT\n", indent, "", name); in asn1_item_print_nm() 91 return ASN1_template_print(out, fld, indent, it->templates); in asn1_item_print_nm() 92 return asn1_primitive_print(out, fld, it->utype, indent, name); in asn1_item_print_nm() 97 return asn1_primitive_print(out, fld, str->type, indent, name); in asn1_item_print_nm() 100 BIO_printf(out, "%*s%s:EXTERNAL TYPE %s %s\n", indent, "", name, it->sname, fld ? "" : "ABSENT"); in asn1_item_print_nm() 103 …BIO_printf(out, "%*s%s:COMPATIBLE TYPE %s %s\n", indent, "", name, it->sname, fld ? "" : "ABSENT"); in asn1_item_print_nm() [all …]
|
| H A D | t_crl.c | 85 int X509_CRL_print(BIO *out, X509_CRL *x) in X509_CRL_print() argument 93 BIO_printf(out, "Certificate Revocation List (CRL):\n"); in X509_CRL_print() 95 BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l+1, l); in X509_CRL_print() 97 BIO_printf(out, "%8sSignature Algorithm: %s\n", "", in X509_CRL_print() 100 BIO_printf(out,"%8sIssuer: %s\n","",p); in X509_CRL_print() 102 BIO_printf(out,"%8sLast Update: ",""); in X509_CRL_print() 103 ASN1_TIME_print(out,X509_CRL_get_lastUpdate(x)); in X509_CRL_print() 104 BIO_printf(out,"\n%8sNext Update: ",""); in X509_CRL_print() 106 ASN1_TIME_print(out,X509_CRL_get_nextUpdate(x)); in X509_CRL_print() 107 else BIO_printf(out,"NONE"); in X509_CRL_print() [all …]
|
| H A D | t_x509a.c | 68 int X509_CERT_AUX_print(BIO *out, X509_CERT_AUX *aux, int indent) in X509_CERT_AUX_print() argument 75 BIO_printf(out, "%*sTrusted Uses:\n%*s", in X509_CERT_AUX_print() 78 if(!first) BIO_puts(out, ", "); in X509_CERT_AUX_print() 82 BIO_puts(out, oidstr); in X509_CERT_AUX_print() 84 BIO_puts(out, "\n"); in X509_CERT_AUX_print() 85 } else BIO_printf(out, "%*sNo Trusted Uses.\n", indent, ""); in X509_CERT_AUX_print() 88 BIO_printf(out, "%*sRejected Uses:\n%*s", in X509_CERT_AUX_print() 91 if(!first) BIO_puts(out, ", "); in X509_CERT_AUX_print() 95 BIO_puts(out, oidstr); in X509_CERT_AUX_print() 97 BIO_puts(out, "\n"); in X509_CERT_AUX_print() [all …]
|
| H A D | t_spki.c | 73 int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_print() argument 79 BIO_printf(out, "Netscape SPKI:\n"); in NETSCAPE_SPKI_print() 81 BIO_printf(out," Public Key Algorithm: %s\n", in NETSCAPE_SPKI_print() 84 if(!pkey) BIO_printf(out, " Unable to load public key\n"); in NETSCAPE_SPKI_print() 89 BIO_printf(out," RSA Public Key: (%d bit)\n", in NETSCAPE_SPKI_print() 91 RSA_print(out,pkey->pkey.rsa,2); in NETSCAPE_SPKI_print() 98 BIO_printf(out," DSA Public Key:\n"); in NETSCAPE_SPKI_print() 99 DSA_print(out,pkey->pkey.dsa,2); in NETSCAPE_SPKI_print() 106 BIO_printf(out, " EC Public Key:\n"); in NETSCAPE_SPKI_print() 107 EC_KEY_print(out, pkey->pkey.ec,2); in NETSCAPE_SPKI_print() [all …]
|
| /onnv-gate/usr/src/cmd/fm/eversholt/common/ |
| H A D | ptree.c | 64 out(O_DIE, "ptree: non-NULL cp"); in cp2num() 105 out(flags|O_NONL, "%s", np->u.name.s); in ptree() 110 out(flags|O_NONL, "%d", num); in ptree() 114 out(flags|O_NONL, "<>"); in ptree() 116 out(flags|O_NONL, "<"); in ptree() 119 out(flags|O_NONL, ">"); in ptree() 124 out(flags|O_NONL, "["); in ptree() 128 out(flags|O_NONL, "]"); in ptree() 134 out(flags|O_NONL, "."); in ptree() 136 out(flags|O_NONL, "/"); in ptree() [all …]
|
| /onnv-gate/usr/src/lib/libshell/common/edit/ |
| H A D | completion.c | 200 register char *out; in ed_expand() local 236 out = outbuff + *cur + (sh_isoption(SH_VI)!=0); in ed_expand() 244 char *last = out; in ed_expand() 245 c = *(unsigned char*)out; in ed_expand() 247 begin = out = find_begin(outbuff,last,0,&var); in ed_expand() 252 stakwrite(out,last-out); in ed_expand() 254 out = last; in ed_expand() 259 while(out < last) in ed_expand() 261 c = *(unsigned char*)out; in ed_expand() 268 dir = out+1; in ed_expand() [all …]
|
| /onnv-gate/usr/src/lib/auditd_plugins/syslog/ |
| H A D | sysplugin.c | 531 initial_ctx.out.sf_eventid = 0; in filter() 532 initial_ctx.out.sf_reclen = 0; in filter() 533 initial_ctx.out.sf_pass = 0; in filter() 534 initial_ctx.out.sf_asid = 0; in filter() 535 initial_ctx.out.sf_auid = (uid_t)-2; in filter() 536 initial_ctx.out.sf_euid = (uid_t)-2; in filter() 537 initial_ctx.out.sf_egid = (gid_t)-2; in filter() 538 initial_ctx.out.sf_tid.at_type = 0; in filter() 539 initial_ctx.out.sf_pauid = (uid_t)-2; in filter() 540 initial_ctx.out.sf_peuid = (uid_t)-2; in filter() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/aes/ |
| H A D | aes_cbc.c | 62 void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, in AES_cbc_encrypt() argument 71 assert(in && out && key && ivec); in AES_cbc_encrypt() 77 out[n] = in[n] ^ iv[n]; in AES_cbc_encrypt() 78 AES_encrypt(out, out, key); in AES_cbc_encrypt() 79 iv = out; in AES_cbc_encrypt() 82 out += AES_BLOCK_SIZE; in AES_cbc_encrypt() 86 out[n] = in[n] ^ iv[n]; in AES_cbc_encrypt() 88 out[n] = iv[n]; in AES_cbc_encrypt() 89 AES_encrypt(out, out, key); in AES_cbc_encrypt() 90 iv = out; in AES_cbc_encrypt() [all …]
|
| /onnv-gate/usr/src/common/openssl/apps/ |
| H A D | ecparam.c | 130 BIO *in = NULL, *out = NULL; in MAIN() local 306 out=BIO_new(BIO_s_file()); in MAIN() 307 if ((in == NULL) || (out == NULL)) in MAIN() 325 BIO_set_fp(out,stdout,BIO_NOCLOSE); in MAIN() 329 out = BIO_push(tmpbio, out); in MAIN() 335 if (BIO_write_filename(out,outfile) <= 0) in MAIN() 377 BIO_printf(out, " %-10s: ", sname); in MAIN() 378 BIO_printf(out, "%s\n", comment); in MAIN() 461 if (!ECPKParameters_print(out, group, 0)) in MAIN() 549 ecparam_print_var(out, ec_p, "ec_p", len, buffer); in MAIN() [all …]
|
| /onnv-gate/usr/src/uts/sun4/sys/ |
| H A D | clock.h | 244 #define NATIVE_TIME_TO_NSEC_SCALE(out, scr1, scr2, shift) \ argument 245 srlx out, 32, scr2; /* check high 32 bits */ \ 248 mulx out, scr1, out; /* delay: 32-bit fast path */ \ 249 sllx out, shift, out; /* clear NPT and pre-scale */ \ 250 srlx out, 32, scr2; /* scr2 = hi32(tick<<4) = H */ \ 252 srl out, 0, out; /* out = lo32(tick<<4) = L */ \ 253 mulx out, scr1, scr1; /* scr1 = (L*F) */ \ 256 add scr1, scr2, out; /* out = (H*F) + ((L*F) >> 32) */\ 258 srlx out, 32 - shift, out; \ 261 #define NATIVE_TIME_TO_NSEC(out, scr1, scr2) \ argument [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/x2p/ |
| H A D | find2perl.PL | 79 my $out = ''; 89 $out .= tab . "(\n"; 94 $out .= tab . ")"; 100 $out .= tab . "!"; 103 $out .= tab . '/' . fileglob_to_re(shift) . "/s"; 108 $out .= tab; 111 $out .= "((\$mode & $onum) == $onum)"; 114 $out .= "((\$mode & 0777) == $onum)"; 118 $out .= tab . "-$filetest _"; 120 $out .= tab . 'print("$name\n")'; [all …]
|
| /onnv-gate/usr/src/lib/libsqlite/src/ |
| H A D | encode.c | 126 int sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out){ in sqlite_encode_binary() argument 131 if( out ){ in sqlite_encode_binary() 132 out[0] = 'x'; in sqlite_encode_binary() 133 out[1] = 0; in sqlite_encode_binary() 150 if( out==0 ){ in sqlite_encode_binary() 153 out[0] = e; in sqlite_encode_binary() 158 out[j++] = 1; in sqlite_encode_binary() 161 out[j++] = x; in sqlite_encode_binary() 163 out[j] = 0; in sqlite_encode_binary() 178 int sqlite_decode_binary(const unsigned char *in, unsigned char *out){ in sqlite_decode_binary() argument [all …]
|
| /onnv-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
| H A D | TestStateMachine.java | 50 System.out.println(msg); in exit() 52 System.out.flush(); in exit() 60 System.out.println("open: " + consumer.isOpen()); in printState() 61 System.out.println("enabled: " + consumer.isEnabled()); in printState() 62 System.out.println("closed: " + consumer.isClosed()); in printState() 68 System.out.println("before open"); in beforeOpen() 76 System.out.println(e); in beforeOpen() 87 System.out.println(e); in beforeOpen() 98 System.out.println(e); in beforeOpen() 107 System.out.println(e); in beforeOpen() [all …]
|
| /onnv-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
| H A D | Test.java | 74 System.out.println("Usage: Test testfile"); in main() 84 System.out.println("Problem opening test file"); in main() 92 System.out.println(e); in main() 185 System.out.println(e); in main() 200 System.out.println(e); in main() 229 System.out.println(e); in main() 233 System.out.println("No printers"); in main() 243 System.out.println(e); in main() 256 System.out.println(e); in main() 264 System.out.println(e); in main() [all …]
|
| /onnv-gate/usr/src/uts/common/io/e1000g/ |
| H A D | e1000_phy.c | 182 goto out; in e1000_get_phy_id() 187 goto out; in e1000_get_phy_id() 193 goto out; in e1000_get_phy_id() 199 goto out; in e1000_get_phy_id() 209 goto out; in e1000_get_phy_id() 212 goto out; in e1000_get_phy_id() 217 out: in e1000_get_phy_id() 244 goto out; in e1000_phy_reset_dsp_generic() 248 goto out; in e1000_phy_reset_dsp_generic() 252 out: in e1000_phy_reset_dsp_generic() [all …]
|
| /onnv-gate/usr/src/lib/libshell/common/tests/ |
| H A D | sun_solaris_compound_nameref.sh | 105 ) | out=$( ${SHELL} ) || err_exit "shell returned exit code $?" 107 (( ${ wc -l <<<"${out}" ; } == 4 )) || err_exit "Expected four lines of output, got ${out}" 108 (set -o errexit ; read -C tmp <<<"${out}" ; [[ "$(typeset +p tmp.nodes)" == *-A* ]]) || err_exit "m… 109 (set -o errexit ; read -C tmp <<<"${out}" ; [[ -v tmp.nodesnum ]]) || err_exit "m… 130 ) | out=$( ${SHELL} ) || err_exit "shell returned exit code $?" 131 [[ "${out}" == "Ok" ]] || err_exit "Expected 'Ok', got ${out}" 158 ) | out=$( ${SHELL} ) || err_exit "shell returned exit code $?" 159 [[ "${out}" == "Ok" ]] || err_exit "Expected 'Ok', got ${out}" 181 ) | out=$( ${SHELL} ) || err_exit "shell returned exit code $?" 182 [[ "${out}" == "Ok" ]] || err_exit "Expected 'Ok', got ${out}" [all …]
|
| /onnv-gate/usr/src/tools/cscope-fast/ |
| H A D | input.c | 170 shellpath(char *out, int limit, char *in) in shellpath() argument 179 lastchar = out + limit - 1; in shellpath() 186 *out++ = *in++; /* copy the ~ because it may not be expanded */ in shellpath() 189 s = out; in shellpath() 197 if (*out == '\0') { in shellpath() 200 v = logdir(out); in shellpath() 204 (void) strcpy(out - 1, v); in shellpath() 205 out += strlen(v) - 1; in shellpath() 208 out += strlen(out); in shellpath() 212 while (out < lastchar && *in != '\0' && !isspace(*in)) { in shellpath() [all …]
|