Searched refs:output (Results 1 - 25 of 234) sorted by relevance

12345678910

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/
H A Ddiag.t17 my $output;
18 tie *FAKEOUT, 'FakeOut', \$output;
20 # force diagnostic output to a filehandle, glad I added this to
30 push @lines, $output;
31 $output = '';
34 push @lines, split(/\n/, $output);
40 is( $output, "# multiple\n# lines\n", ' should append multi messages');
45 $output = '';
49 is( $output, "# # foo\n", "diag() adds a # even if there's one already" );
H A Doutput.t36 my $out = $Test->output('foo');
51 $out = $Test->output(\*FOO);
68 $Test->output(\*FAKEOUT);
79 my $output = $out->read;
80 ok( $output eq <<OUTPUT ) || print STDERR $output;
/osnet-11/usr/src/tools/onbld/Checks/
H A DCddl.py49 def cddlchk(fh, filename=None, lenient=False, verbose=False, output=sys.stderr):
51 lenient=lenient, verbose=verbose, output=output)
H A DCopyright.py62 def copyright(fh, filename=None, output=sys.stderr):
75 err(output, "old '%s' message found" % licterms,
81 err(output, "ancient Sun copyright", filename,
88 err(output, "pre-2002 Sun copyright", filename, lineno)
94 err(output, "old Sun copyright", filename, lineno)
115 err(output, "wrong copyright year %s, should "
121 err(output, "need comma after current year",
126 err(output, "need one space between copyright "
132 err(output, "no copyright message found", filename)
H A DCStyle.py36 def cstyle(fh, filename=None, output=sys.stderr, **opts):
55 ret, tmpfile = processcheck('cstyle', options, fh, output)
60 output.write(line)
H A DJStyle.py37 def jstyle(fh, filename=None, output=sys.stderr, **opts):
54 ret, tmpfile = processcheck('jstyle', options, fh, output)
59 output.write(line)
H A DKeywords.py47 output=sys.stderr):
70 output.write('%s: %d: contains SCCS keywords "%s"\n' %
73 output.write(" %s\n" % line)
H A DProcessCheck.py36 def processcheck(command, args, inpt, output):
38 Input is provided by inpt (an iterable), error output is
39 written to output (a stream-like entity).
42 (you must close it), containing output from the command.'''
45 # We use a tempfile for output, rather than a pipe, so we
51 output.write("Could not create temporary file: %s\n" % e)
59 output.write("Could not execute %s: %s\n" % (command, e))
H A DMapfile.py45 def mapfilechk(fh, filename=None, verbose=False, output=sys.stderr):
65 output.write("Warning: mapfile version 2 syntax"
90 output=output)
H A DComments.py54 def comchk(comments, check_db=True, output=sys.stderr, arcPath=None):
63 Error messages intended for the user are written to output,
180 output.write("WARNING: Blank line(s) in comments\n")
185 output.write("These IDs appear more than once in your "
188 output.write(" %s\n" % err)
192 output.write("These bugs are missing a single space following "
195 output.write(" %s\n" % com)
199 output.write("These comments are neither bug nor ARC case:\n")
201 output.write(" %s\n" % com)
205 output
[all...]
H A DCmtBlk.py54 lenient=False, verbose=False, output=sys.stderr):
91 output.write('%s: %s: Error: Incomplete %s block\n''' %
98 output.write("%s: Warning: No %s block\n" %
104 output.write('%s: Error: Multiple %s blocks\n'
115 output.write(
125 output.write("%s: Valid %s block\n" %
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dvsnprintf.c1 /* Formatted output to strings.
34 /* Print formatted output to string STR. Similar to vsprintf, but
42 char *output; local
46 output = vasnprintf (str, &lenbuf, format, args);
49 if (!output)
52 if (output != str)
57 memcpy (str, output, pruned_len);
61 free (output);
/osnet-11/usr/src/lib/libnsl/dial/
H A Dstrecpy.c38 * strecpy(output, input, except)
39 * strccpy copys the input string to the output string expanding
50 char *output; local
52 output = pout;
88 return (output);
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dbase64.c91 The encoding process represents 24-bit groups of input bits as output
99 output string.
135 output will be an integral multiple of 4 characters
138 here, the final unit of encoded output will be two
141 here, the final unit of encoded output will be three
149 u_char output[4]; local
158 output[0] = input[0] >> 2;
159 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
160 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
161 output[
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dtr.c45 char *output = 0; local
80 /* Translate input into output buffer. */
82 output = grub_malloc (grub_strlen (input) + 1);
83 if (! output)
88 output[i] = grub_toupper (input[i]);
91 output[i] = grub_tolower (input[i]);
94 output[i] = s2[p - s1];
97 output[i] = input[i];
99 output[i] = '\0';
102 grub_env_set (var, output);
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_md5.c43 krb5_data *output)
52 return(k5_ef_hash(context, &mechanism, icount, input, output));
41 k5_md5_hash(krb5_context context, unsigned int icount, krb5_const krb5_data *input, krb5_data *output) argument
H A Dhash_sha1.c40 krb5_data *output)
48 return(k5_ef_hash(context, &mechanism, icount, input, output));
38 k5_sha1_hash(krb5_context context, unsigned int icount, krb5_const krb5_data *input, krb5_data *output) argument
H A Dhash_ef_generic.c13 krb5_data *output)
17 CK_ULONG outlen = output->length;
33 (CK_BYTE_PTR)output->data, &outlen)) != CKR_OK) {
38 output->length = outlen;
48 * and truncating the output.
55 krb5_data *output)
93 (void) memcpy(output->data, &outbuf[outlen-8], 8);
94 output->length = 8;
9 k5_ef_hash(krb5_context context, CK_MECHANISM *mechanism, unsigned int icount, krb5_const krb5_data *input, krb5_data *output) argument
51 k5_ef_mac(krb5_context context, krb5_keyblock *key, krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dprf.c31 *function yields krb5_c_prf_length bytes of output.
55 krb5_data *input, krb5_data *output)
60 assert(input && output);
61 assert(output->data);
69 output->magic = KV5M_DATA;
70 if (ktp->prf_length != output->length)
72 ret = ktp->prf(ktp, key, input, output);
78 krb5_data *input, krb5_data *output)
86 ret = krb5_k_prf(context, key, input, output);
54 krb5_k_prf(krb5_context context, krb5_key key, krb5_data *input, krb5_data *output) argument
77 krb5_c_prf(krb5_context context, const krb5_keyblock *keyblock, krb5_data *input, krb5_data *output) argument
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dcmd.c51 * Description: Executes the given command and returns the output written to
55 * case that the command output is expected to be lengthy.
59 * - int *output_filedes - The file descriptor to which the stdout output
61 * - int *err_filedes - The file descriptor to which the stderr output
67 * execution of a command with a large amount of output (ex: ls of a large
82 int output[2]; local
86 if (pipe(output) == -1) {
106 close(output[0]);
110 * Close stdout and dup to output[1]
116 if (dup(output[
181 int output[2]; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A Dtext.t44 my $output;
47 $output = <TMP>;
56 if ($output eq $expected) {
60 print "Expected\n========\n$expected\nOutput\n======\n$output\n";
65 # Below the marker are bits of POD and corresponding expected text output.
67 # input and output are separated by lines containing only ###.
H A Dman.t45 my $output;
48 $output = <TMP>;
57 if ($output eq $expected) {
61 print "Expected\n========\n$expected\nOutput\n======\n$output\n";
66 # Below the marker are bits of POD and corresponding expected nroff output.
68 # and output are separated by lines containing only ###.
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dname.c92 gss_buffer_t output, /* Were the printable name goes */
95 if (minor == 0 || output == 0)
103 output->length = 0;
104 output->value = (void *)strdup((char *)name);
105 if (output->value == NULL) {
109 output->length = strlen((char *)name) + 1;
122 * free(output->value);
123 * output->value = NULL;
137 * to a an gss_name_t pointed to by output.
140 do_netname_nametype(OM_uint32 *minor, char *input, gss_name_t *output) argument
89 __dh_gss_display_name( OM_uint32* minor, gss_name_t name, gss_buffer_t output, gss_OID *name_type ) argument
160 do_uid_nametype(OM_uint32 *minor, uid_t uid, gss_name_t *output) argument
188 do_username_nametype(OM_uint32 *minor, char *uname, gss_name_t *output) argument
294 do_hostbase_nametype(OM_uint32 *minor, char *input, gss_name_t *output) argument
[all...]
/osnet-11/usr/src/lib/krb5/ss/
H A Dlist_rqs.c47 FILE *output; local
82 output = fdopen(fd, "w");
90 fprintf (output, dgettext(TEXT_DOMAIN, "Available %s requests:\n\n"),
117 fputs(buffer, output);
137 fputs(buffer, output);
145 fclose(output);
/osnet-11/usr/src/grub/grub2/tests/util/
H A Dgrub-shell-tester.in4 # Compares GRUB script output with BASH output.
41 Compares GRUB script output with BASH shell output.
48 $0 compares GRUB script output with BASH shell output and prints their

Completed in 139 milliseconds

12345678910