Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 39) sorted by relevance

12

/mirbsd/src/sbin/newfs_msdos/
Dnewfs_msdos.c741 int slice = -1; in getdiskinfo() local
761 slice = strtol(s2 + 1, &s, 10); in getdiskinfo()
762 if (slice < 1 || slice > MAX_SLICES - BASE_SLICE) in getdiskinfo()
765 slice = BASE_SLICE + slice - 1; in getdiskinfo()
772 if (slice == -1) in getdiskinfo()
773 slice = COMPATIBILITY_SLICE; in getdiskinfo()
780 if (slice != -1 && (!oflag || (!bpb->bsec && part == -1))) { in getdiskinfo()
785 if (slice >= ds.dss_nslices || !ds.dss_slices[slice].ds_size) in getdiskinfo()
788 bpb->hid = ds.dss_slices[slice].ds_offset; in getdiskinfo()
790 bpb->bsec = ds.dss_slices[slice].ds_size; in getdiskinfo()
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/threads/shared/t/
Dav_simple.t111 ok(38, $t1 == 3, "Check slice");
112 ok(39, $t2 == 4, "Check slice again");
114 ok(40, $t1[0] == 2, "Check slice list");
115 ok(41, $t1[2] == 4, "Check slice list 2");
117 ok(42,$foo[0] eq "hej", "Check slice assign");
/mirbsd/src/gnu/usr.bin/perl/t/op/
Davhv.t87 my $slice = join('', 'x',@$a{'abc','def'},'x');
88 is ($slice, 'xABCx');
/mirbsd/src/gnu/usr.bin/binutils/cpu/
Dsh64-media.cpu848 (define-pmacro (slice-byte expr)
862 (define-pmacro (slice-word expr)
870 (define-pmacro (slice-word-unop expr)
878 (define-pmacro (slice-long expr)
884 (define-pmacro (slice-long-unop expr)
896 (slice-long-unop abs))
902 (slice-word-unop abs))
908 (slice-long add))
914 (slice-word add))
921 (slice-long -maddsl))
[all …]
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dvalops.c2676 struct value *slice; in value_slice() local
2699 slice = value_zero (slice_type, not_lval); in value_slice()
2712 value_contents_raw (slice)[i / TARGET_CHAR_BIT] |= (1 << j); in value_slice() local
2727 slice = allocate_value (slice_type); in value_slice()
2729 set_value_lazy (slice, 1); in value_slice()
2731 memcpy (value_contents_writeable (slice), in value_slice()
2735 VALUE_LVAL (slice) = lval_internalvar_component; in value_slice()
2737 VALUE_LVAL (slice) = VALUE_LVAL (array); in value_slice()
2738 VALUE_ADDRESS (slice) = VALUE_ADDRESS (array); in value_slice()
2739 VALUE_FRAME_ID (slice) = VALUE_FRAME_ID (array); in value_slice()
[all …]
/mirbsd/src/gnu/usr.bin/perl/pod/
Dperllol.pod236 If you want to get at a slice (part of a row) in a multidimensional
240 (Remember, of course, that you can always write a loop to do a slice
252 That same loop could be replaced with a slice operation:
258 Ah, but what if you wanted a I<two-dimensional slice>, such as having
Dperldata.pod142 context. Assignment to a list (or slice, which is just a list
689 X<slice> X<array, slice> X<hash, slice>
698 A slice accesses several elements of a list, an array, or a hash
703 ($him, $her) = @folks[0,-1]; # array slice
704 @them = @folks[0 .. 3]; # array slice
705 ($who, $home) = @ENV{"USER", "HOME"}; # hash slice
706 ($uid, $dir) = (getpwnam("daemon"))[2,7]; # list slice
709 an array or hash slice.
723 Since changing a slice changes the original array or hash that it's
735 A slice of an empty list is still an empty list. Thus:
[all …]
Dperlcheat.pod15 scalar @array slice: @array[0, 2] @hash{'a', 'b'}
Dperl56delta.pod527 or slice it deletes the values corresponding to the keys (but not the keys
1756 When taking a slice of a literal list (as opposed to a slice of
1943 =item %s argument is not a HASH or ARRAY element or slice
1950 or a hash or array slice, such as:
2682 On the other hand, using C<not> with a literal list slice may not
Dperl5004delta.pod1193 =item %s argument is not a HASH element or slice
1200 or a hash slice, such as
1428 (W) You've used a hash slice (indicated by @) to select a single element of
Dperlintro.pod178 This is called an "array slice".
Dperl561delta.pod1125 or slice it deletes the values corresponding to the keys (but not the keys
2361 When taking a slice of a literal list (as opposed to a slice of
2548 =item %s argument is not a HASH or ARRAY element or slice
2555 or a hash or array slice, such as:
3287 On the other hand, using C<not> with a literal list slice may not
Dperlvar.pod448 This is like C<$,> except that it applies to array and slice values
469 @foo{$a,$b,$c} # a slice--note the @
Dperlop.pod516 C<foreach (1..10)> loops and for doing slice operations on arrays. In
615 @foo = @foo[$#foo-4 .. $#foo]; # slice last 5 items
959 Interpolating an array or slice interpolates the elements in order,
Dperlfaq4.pod1161 The former is a scalar value; the latter an array slice, making
1191 # or a hash slice: @hash{ @array } = ();
Dperlfaq7.pod85 You can also use a list slice to select only the elements that
Dperltie.pod1164 tie methods for slice operations.
Dperlopentut.pod810 a file in the slice of time between your existence check and your attempt
Dperlfaq5.pod210 We've used a hash slice in order to easily handle the fields of each row.
Dperldiag.pod141 =item %s argument is not a HASH or ARRAY element or slice
149 or a hash or array slice, such as:
3300 (W syntax) You've used an array slice (indicated by @) to select a
3315 (W syntax) You've used a hash slice (indicated by @) to select a single
Dperltoc.pod1850 X<slice> X<array, slice> X<hash, slice>
4545 shell, side effects, signal, signal handler, single inheritance, slice,
7432 argument is not a HASH or ARRAY element or slice, %s argument is not a
7814 argument is not a HASH or ARRAY element or slice, %s argument is not a
8272 not a HASH element or slice, Allocation too large: %lx, Allocation too
/mirbsd/src/gnu/usr.bin/perl/t/lib/warnings/
Dop233 Useless use of array slice in void context at - line 26.
235 Useless use of hash slice in void context at - line 30.
239 Useless use of list slice in void context at - line 34.
/mirbsd/src/gnu/usr.bin/perl/ext/B/B/
DDeparse.pm2914 sub slice {
2948 sub pp_aslice { maybe_local(@_, slice(@_, "[", "]", "rv2av", "padav")) }
2949 sub pp_hslice { maybe_local(@_, slice(@_, "{", "}", "rv2hv", "padhv")) }
/mirbsd/src/gnu/usr.bin/perl/
DChanges5.001308 NETaa13180: localized slice now pre-extends array
311 A localized slice now pre-extends its array to avoid reallocation during
1201 NETaa13671: array slice misbehaved in a scalar context
/mirbsd/src/gnu/usr.bin/perl/jpl/docs/
DTutorial.pod653 JPL will slice Perl strings up into Java arrays for you. If you declare

12