Searched refs:copy (Results 1 - 25 of 202) sorted by relevance

123456789

/osnet-11/usr/src/lib/libadm/common/
H A Dgetinput.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44 char *copy, *pt; local
49 copy = s;
56 *copy++ = *pt++;
57 *copy = '\0';
59 if (copy != s) {
60 copy--;
61 while (isspace((unsigned char)*copy))
62 *copy-- = '\0';
H A Dpkgparam.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
118 char *mempt, *copy; local
132 copy = buffer;
141 *copy++ = ch;
153 /* At this point copy points to the end of a valid parameter. */
154 *copy = '\0'; /* Terminate the string. */
156 copy = NULL; /* Comments don't get buffered. */
161 copy = buffer;
165 copy = NULL;
169 copy
316 char *pt, *copy, *value, line[PATH_MAX]; local
[all...]
H A Dputtext.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
51 wchar_t *copy, *lastword, *lastend, temp[MWIDTH+1]; local
91 copy = temp;
137 lastend = copy;
138 *copy++ = L' ';
146 lastend = copy;
150 *copy++ = L' ';
155 lastend = copy;
157 *copy++ = L' ';
172 *copy
[all...]
H A Dckdate.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
115 char *ptr, *copy; local
126 copy = string;
127 while (isdigit((unsigned char)*copy) && (iday < idaymax)) {
128 daynum[iday] = *copy++;
167 char *copy; local
184 copy = string;
186 while (((islower((unsigned char)*copy)) ||
187 (isupper((unsigned char)*copy))) && (imnth < mlen)) {
188 mletter[imnth] = toupper((unsigned char)*copy
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/
H A Drestrict.t67 my $copy = &$cloner($hash);
70 my @out_keys = sort keys %$copy;
77 # $copy = $hash; # used in initial debug of the tests
79 ok ++$test, Internals::SvREADONLY(%$copy), "cloned hash restricted?";
81 ok ++$test, Internals::SvREADONLY($copy->{question}),
82 "key 'question' not locked in copy?";
84 ok ++$test, !Internals::SvREADONLY($copy->{answer}),
85 "key 'answer' not locked in copy?";
87 eval { $copy->{extra} = 15 } ;
94 eval { $copy
[all...]
H A Dmalice.t160 my $copy;
162 $copy = $contents;
163 substr ($copy, 0, 4) = 'iron';
164 test_corrupt ($copy, $sub, "/^File is not a perl storable/",
168 $copy = $contents;
180 substr ($copy, $file_magic + 1, 1) = chr $minor4;
183 $clone = &$sub($copy);
188 test_corrupt ($copy, $sub,
193 $copy = $contents;
195 substr ($copy,
[all...]
H A Dinteger.t80 my $copy = eval {dclone $data};
83 return $copy;
90 my $copy = eval {thaw $frozen};
92 return $copy;
99 my $copy = eval {thaw $frozen};
101 return $copy;
108 my $copy = eval {retrieve $file};
110 return $copy;
117 my $copy = eval {retrieve $file};
119 return $copy;
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dmappath.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
65 char *npt, *pt, *pt2, *copy; local
69 copy = buffer;
97 /* copy in parameter value */
99 *copy++ = *token++;
103 *copy++ = *pt++;
115 *copy++ = *pt++;
124 *copy++ = *pt++;
126 *copy++ = *pt++;
129 * If it's a separator, copy i
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCopy.t28 copy "file-$$", "copy-$$";
30 open(F, "copy-$$") or die;
34 print "not " if -s "file-$$" != -s "copy-$$";
40 binmode STDOUT unless $^O eq 'VMS'; # Copy::copy works in binary mode
41 copy "copy-$$", \*STDOUT;
42 unlink "copy-$$" or die "unlink: $!";
45 copy(*F, "copy
[all...]
H A DCopy.pm17 sub copy;
31 @EXPORT = qw(copy move);
58 sub copy { subroutine
59 croak("Usage: copy(FROM, TO [, BUFFERSIZE]) ")
136 croak("Bad buffer size for copy: $size\n") unless ($size > 0);
204 return 1 if copy($from,$to) && unlink($from);
213 *cp = \&copy;
257 *syscopy = \&copy;
273 copy("file1","file2") or die "Copy failed: $!";
274 copy("Cop
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/XS/APItest/t/
H A Dhash.t142 my $copy = {};
145 tie %$copy, ref $class;
147 $copy = {%$hash};
148 ok (brute_force_exists ($copy, $key),
150 is (delete $copy->{$key}, $key, "hv_delete_ent present$message $printable");
151 ok (!brute_force_exists ($copy, $key),
153 $copy = {%$hash};
154 ok (brute_force_exists ($copy, $key),
156 is (XS::APItest::Hash::delete ($copy, $key), $key,
158 ok (!brute_force_exists ($copy,
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/t/
H A Dhostname.t37 my @copy = @domain;
41 ($domain[0] && $domain[0] eq $copy[0])
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/XS/APItest/
H A DAPItest.xs42 SV *copy;
49 copy = newSV(0);
50 result = hv_store_ent(hash, key, copy, 0);
51 SvSetMagicSV(copy, value);
53 SvREFCNT_dec(copy);
68 SV *copy;
76 copy = newSV(0);
77 result = hv_store(hash, key, UTF8KLEN(key_sv, len), copy, 0);
78 SvSetMagicSV(copy, value);
80 SvREFCNT_dec(copy);
[all...]
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
53 char *copy; local
56 if ((copy = strdup(argp->key.name)) == 0) {
59 for (mung = copy + (s - argp->key.name);
66 copy, 0);
67 free(copy);
H A Dgethostent6.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
54 char *copy; local
57 if ((copy = strdup(argp->key.ipnode.name)) == 0) {
60 for (mung = copy + (s - argp->key.ipnode.name);
67 copy, 0);
70 free(copy);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dbig_ap.t59 $z = $x->copy->bdiv($y);
66 $z = $x->copy->bmul($y);
81 $z = $x->copy->bdiv($y);
88 $z = $x->copy->bmul($y);
92 $z = $x->copy->bmul($y);
98 $x = $proper->copy()->binc(); ok ($x,$proper_inc);
99 $x = $proper->copy()->bdec(); ok ($x,$proper_dec);
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Dunit.c15 You should have received a copy of the GNU General Public License
374 char* copy = ped_strdup (str); local
375 if (!copy)
377 strip_string (copy);
378 remove_punct (copy);
380 if (sscanf (copy, "%d %d %d",
385 copy);
418 free (copy);
422 free (copy);
503 char* copy; local
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dterminfo.h16 * You should have received a copy of the GNU General Public License
45 void ti_get_term (struct terminfo *copy);
/osnet-11/usr/src/lib/libc/i386/gen/
H A Dstrncpy.s8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
31 / Copies s2 to s1, truncating or null-padding to always copy n bytes
86 movl %edx, (%edi) / copy this word to (%edi)
101 movb %dl, (%edi) / copy %dl to (%edi)
114 movb %dl, (%edi) / copy %dl to (%edi)
124 movl %esi, %ecx / %ecx = length to copy null bytes
126 shrl $2, %ecx / %ecx = words to copy null bytes
H A Dmemcpy.s8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74 jbe .OneByteCopy / goto fast short copy loop
81 rep; smovb / do the byte part of copy
87 andl %eax,%ecx / complete copy of remaining bytes
90 rep; smovb / do the byte part of copy
104 rep; smovb / do the byte copy
112 movl %ecx,%esi / align source w/byte copy
117 subl %ecx,%edx / copy is done on aligned boundary
122 shrl $2,%ecx / do 4 byte copy RtoL
125 andl %eax,%edx / do 1 byte copy what
[all...]
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dmemmove.s8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35 * Copy s2 to s1, always copy n bytes.
41 cmp %i1, %i0 ! if from address is >= to use forward copy
43 cmp %i2, 17 ! delay slot, for small counts copy bytes
47 bgu ovbc ! if size is bigger, have do overlapped copy
48 cmp %i2, 17 ! delay slot, for small counts copy bytes
50 ! normal, copy forwards
160 ! differenced byte copy, works with any alignment
175 ! an overlapped copy that must be done "backwards"
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dmemmove.s8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35 * Copy s2 to s1, always copy n bytes.
41 cmp %i1, %i0 ! if from address is >= to use forward copy
43 cmp %i2, 17 ! delay slot, for small counts copy bytes
47 bgu %xcc, ovbc ! if size is bigger, have to do overlapped copy
48 cmp %i2, 17 ! delay slot, for small counts copy bytes
50 ! normal, copy forwards
160 ! differenced byte copy, works with any alignment
175 ! an overlapped copy that must be done "backwards"
/osnet-11/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_8.s8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
36 * o2 number of bytes to copy (must be a multiple of 8)
80 bpos,a,pt %xcc, .wrdbl1 ! Have at least 16 bytes to copy.
83 retl ! No bytes to copy.
97 bz,a,pt %xcc, .wrdbl3 ! Have 8 bytes remaining to copy.
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigInt/
H A DBareCalc.pm25 base_len new zero one two ten copy str num add sub mul div mod inc dec
/osnet-11/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemset.s8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
63 mov %o0, %o5 ! copy sp1 before using it
208 ! Terminate the copy with a partial store. (bug 1200071 does not apply)

Completed in 68 milliseconds

123456789