/openbmc/u-boot/fs/jffs2/ |
H A D | mini_inflate.c | 13 /* The order that the code lengths in section 3.2.7 are in */ 39 stream->codes.lengths = stream->code_lengths; in init_stream() 45 stream->lengths.bits = 16; in init_stream() 46 stream->lengths.num_symbols = 288; in init_stream() 47 stream->lengths.lengths = stream->length_lengths; in init_stream() 48 stream->lengths.symbols = stream->length_symbols; in init_stream() 49 stream->lengths.count = stream->length_count; in init_stream() 50 stream->lengths.first = stream->length_first; in init_stream() 51 stream->lengths.pos = stream->length_pos; in init_stream() 55 stream->distance.lengths = stream->distance_lengths; in init_stream() [all …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | cpu-features.rst | 57 optional SVE vector lengths (see "SVE CPU Properties"). While with TCG 58 all SVE vector lengths can be supported, when KVM is in use it's more 59 likely that only a few lengths will be supported, if SVE is supported at 88 vector lengths:: 161 lengths for the ``max`` CPU type. Note, the ``sve=on`` isn't actually 164 defaults, it would seem we need to disable many SVE vector lengths, rather 166 disabling many SVE vector lengths would be quite verbose, the ``sve<N>`` CPU 234 is used to enable or disable specific vector lengths, where ``N`` is the 237 Constraints" below. Additionally, as we want all supported vector lengths 249 smaller, host supported vector lengths must also be enabled. If [all …]
|
/openbmc/u-boot/lib/zlib/ |
H A D | inflate.h | 36 TABLE, /* i: waiting for dynamic block table lengths */ 37 LENLENS, /* i: waiting for code length code lengths */ 38 CODELENS, /* i: waiting for length/lit and distance code lengths */ 107 unsigned ncode; /* number of code length code lengths */ 108 unsigned nlen; /* number of length code lengths */ 109 unsigned ndist; /* number of distance code lengths */ 110 unsigned have; /* number of code lengths in lens[] */ 112 unsigned short lens[320]; /* temporary storage for code lengths */
|
H A D | inftrees.c | 22 The code lengths are lens[0..codes-1]. The result starts at *table, 38 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() 72 Process a set of code lengths to create a canonical Huffman code. The in inflate_table() 73 code lengths are lens[0..codes-1]. Each length corresponds to the in inflate_table() 76 for codes with equal lengths. Then the code starts with all zero bits in inflate_table() 97 codes at all, checking for a valid set of lengths, and looking ahead in inflate_table() 102 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ in inflate_table() 108 /* bound code lengths, force root to be within code lengths */ in inflate_table() 126 /* check for an over-subscribed or incomplete set of lengths */ in inflate_table() 160 code lengths to determine what size sub-table is needed. The length in inflate_table()
|
/openbmc/linux/lib/zlib_inflate/ |
H A D | inflate.h | 33 TABLE, /* i: waiting for dynamic block table lengths */ 34 LENLENS, /* i: waiting for code length code lengths */ 35 CODELENS, /* i: waiting for length/lit and distance code lengths */ 104 unsigned ncode; /* number of code length code lengths */ 105 unsigned nlen; /* number of length code lengths */ 106 unsigned ndist; /* number of distance code lengths */ 107 unsigned have; /* number of code lengths in lens[] */ 109 unsigned short lens[320]; /* temporary storage for code lengths */
|
H A D | inftrees.c | 13 The code lengths are lens[0..codes-1]. The result starts at *table, 28 unsigned min, max; /* minimum and maximum code lengths */ in zlib_inflate_table() 62 Process a set of code lengths to create a canonical Huffman code. The in zlib_inflate_table() 63 code lengths are lens[0..codes-1]. Each length corresponds to the in zlib_inflate_table() 66 for codes with equal lengths. Then the code starts with all zero bits in zlib_inflate_table() 87 codes at all, checking for a valid set of lengths, and looking ahead in zlib_inflate_table() 92 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ in zlib_inflate_table() 98 /* bound code lengths, force root to be within code lengths */ in zlib_inflate_table() 116 /* check for an over-subscribed or incomplete set of lengths */ in zlib_inflate_table() 150 code lengths to determine what size sub-table is needed. The length in zlib_inflate_table()
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-ce-gcm-glue.c | 28 const u8 *ghash_table, const u8 *lengths); 32 const u8 *ghash_table, const u8 *lengths); 142 const u8 *ghash_table, const u8 *lengths)) in gcm_crypt() argument 147 be128 __aligned(8) lengths; in gcm_crypt() 151 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_crypt() 152 lengths.b = cpu_to_be64(walk->total * 8); in gcm_crypt() 171 (const u8 *)&lengths); in gcm_crypt() 191 (const u8 *)&lengths); in gcm_crypt()
|
H A D | ghash-ce-glue.c | 343 be128 lengths; in gcm_encrypt() local 347 lengths.a = cpu_to_be64(assoclen * 8); in gcm_encrypt() 348 lengths.b = cpu_to_be64(req->cryptlen * 8); in gcm_encrypt() 362 tag = (u8 *)&lengths; in gcm_encrypt() 408 be128 lengths; in gcm_decrypt() local 413 lengths.a = cpu_to_be64(assoclen * 8); in gcm_decrypt() 414 lengths.b = cpu_to_be64((req->cryptlen - authsize) * 8); in gcm_decrypt() 432 tag = (u8 *)&lengths; in gcm_decrypt()
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-probe-vls.c | 32 * Enumerate up to SVE_VQ_MAX vector lengths in main() 55 ksft_test_result_pass("Enumerated %d vector lengths\n", nvqs); in main() 56 ksft_test_result_pass("All vector lengths valid\n"); in main() 58 /* Print out the vector lengths in ascending order: */ in main()
|
/openbmc/qemu/target/arm/ |
H A D | cpu64.c | 42 * If any vector lengths are explicitly enabled with sve<N> properties, in arm_cpu_sve_finalize() 43 * then all other lengths are implicitly disabled. If sve-max-vq is in arm_cpu_sve_finalize() 44 * specified then it is the same as explicitly enabling all lengths in arm_cpu_sve_finalize() 46 * lengths will be implicitly disabled. If no sve<N> properties in arm_cpu_sve_finalize() 47 * are enabled and sve-max-vq is not specified, then all lengths not in arm_cpu_sve_finalize() 49 * vector lengths less than the maximum enabled length will be in arm_cpu_sve_finalize() 50 * automatically enabled and all vector lengths larger than the largest in arm_cpu_sve_finalize() 63 * CPU models specify a set of supported vector lengths which are in arm_cpu_sve_finalize() 101 * lengths, even when the smaller lengths are not all powers-of-two. in arm_cpu_sve_finalize() 114 * SVE is disabled and so are all vector lengths. Good. in arm_cpu_sve_finalize() [all …]
|
/openbmc/qemu/block/ |
H A D | dmg.c | 127 compressed_size = s->lengths[chunk]; in update_max_chunk_size() 131 uncompressed_sectors = DIV_ROUND_UP(s->lengths[chunk], 512); in update_max_chunk_size() 250 s->lengths = g_realloc(s->lengths, new_size); in dmg_read_mish_block() 305 s->lengths[i] = buff_read_uint64(buffer, offset + 0x20); in dmg_read_mish_block() 307 if (s->lengths[i] > DMG_LENGTHS_MAX) { in dmg_read_mish_block() 310 s->lengths[i], i, DMG_LENGTHS_MAX); in dmg_read_mish_block() 488 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL; in dmg_open() 585 g_free(s->lengths); in dmg_open() 648 ret = bdrv_co_pread(bs->file, s->offsets[chunk], s->lengths[chunk], in dmg_read_chunk() 655 s->zstream.avail_in = s->lengths[chunk]; in dmg_read_chunk() [all …]
|
H A D | dmg.h | 36 * lengths[i] is the length of the compressed chunk, 45 uint64_t *lengths; member
|
/openbmc/qemu/tests/qtest/ |
H A D | arm-cpu-features.c | 269 * the default is to have all vector lengths enabled. This also in sve_tests_default() 274 /* With SVE off, all vector lengths should also be off. */ in sve_tests_default() 325 * We can disable power-of-two vector lengths when all larger lengths in sve_tests_default() 327 * as all non-enabled larger lengths will then be auto-disabled. in sve_tests_default() 361 * We can enable/disable non power-of-two lengths smaller than the in sve_tests_sve_max_vq_8() 363 * lengths, we can't disable them. in sve_tests_sve_max_vq_8() 382 /* The map stays empty even if we turn lengths off. */ in sve_tests_sve_off() 385 /* It's an error to enable lengths when SVE is off. */ in sve_tests_sve_off() 388 /* With SVE re-enabled we should get all vector lengths enabled. */ in sve_tests_sve_off() 391 /* Or enable SVE with just specific vector lengths. */ in sve_tests_sve_off() [all …]
|
/openbmc/linux/fs/ntfs3/lib/ |
H A D | lzx_decompress.c | 17 /* The smallest and largest allowed match lengths */ 21 /* Number of distinct match lengths that can be represented */ 24 /* Number of match lengths for which no length symbol is required */ 65 /* Maximum lengths (in bits) of the codewords in each Huffman code */ 120 * lengths 246 * the codeword lengths for this Huffman code were read, or all 0's 262 /* Read the lengths of the precode codewords. These are given in lzx_read_codeword_lens() 279 /* Decode the codeword lengths. */ in lzx_read_codeword_lens() 306 /* Run of identical lengths */ in lzx_read_codeword_lens() 326 * lengths will still be in range, and data that in lzx_read_codeword_lens() [all …]
|
H A D | decompress_common.c | 28 * reconstructed directly from the codeword lengths. A prefix code is 64 * used symbols are assigned the shortest codeword lengths. 105 * Returns 0 on success, or -1 if the lengths do not form a valid prefix 135 /* We can assume all lengths are <= max_codeword_len, but we in make_huffman_decode_table() 139 * exactly filled by the lengths, by this measure. in make_huffman_decode_table() 146 /* The lengths overflow the codespace; that is, the code in make_huffman_decode_table() 154 /* The lengths do not fill the codespace; that is, they form an in make_huffman_decode_table()
|
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/ |
H A D | triehash | 513 my ($self, $trie, %lengths) = @_; 514 foreach my $local_length (sort { $a <=> $b } (keys %lengths)) { 524 my ($self, $trie, $num_values, %lengths) = @_; 559 $self->print_functions($trie, %lengths); 562 $self->print_functions($trie, %lengths); 565 $self->print_functions($trie, %lengths); 571 foreach my $local_length (sort { $a <=> $b } (keys %lengths)) { 607 my %lengths; 623 $lengths{length($word)} = 1; 637 return ($trie, $counter, %lengths); [all …]
|
/openbmc/linux/fs/orangefs/ |
H A D | xattr.c | 468 if (new_op->downcall.resp.listxattr.lengths[i] < 0 || in orangefs_listxattr() 469 new_op->downcall.resp.listxattr.lengths[i] > in orangefs_listxattr() 471 gossip_err("%s: impossible value for lengths[%d]\n", in orangefs_listxattr() 473 new_op->downcall.resp.listxattr.lengths[i]); in orangefs_listxattr() 477 if (total + new_op->downcall.resp.listxattr.lengths[i] > size) in orangefs_listxattr() 488 listxattr.lengths[i])) { in orangefs_listxattr() 494 new_op->downcall.resp.listxattr.lengths[i]); in orangefs_listxattr() 495 total += new_op->downcall.resp.listxattr.lengths[i]; in orangefs_listxattr() 502 key_size += new_op->downcall.resp.listxattr.lengths[i]; in orangefs_listxattr()
|
/openbmc/u-boot/board/xes/xpedite517x/ |
H A D | ddr.c | 23 * Source: Calculation based on board trace lengths and 27 * Source: Calculation based on board trace lengths. 29 * lengths (>2"), this should be set to the nominal value
|
/openbmc/linux/drivers/crypto/nx/ |
H A D | nx-842.h | 116 * @multiple: All buffer lengths should be a multiple of this 117 * @minimum: Buffer lengths must not be less than this amount 118 * @maximum: Buffer lengths must not be more than this amount 120 * The constraints apply to all buffers and lengths, both input and output,
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | nvidia,tegra210-quad-peripheral-props.yaml | 17 Tap value varies based on platform design trace lengths from Tegra 26 Tap value varies based on platform design trace lengths from Tegra
|
/openbmc/linux/lib/ |
H A D | inflate.c | 25 single bytes (called "literals") and match lengths. A second Huffman 101 13. The literal/length and distance code bit lengths are read as a 102 single stream of lengths. It is possible (and advantageous) for 104 the two sets of lengths. 174 static const unsigned border[] = { /* Order of the bit length code lengths */ 176 static const ush cplens[] = { /* Copy lengths for literal codes 257..285 */ 323 unsigned *b, /* code lengths in bits (all assumed <= BMAX) */ in huft_build() 331 /* Given a list of code lengths and a maximum table size, make a set of in huft_build() 335 oversubscribed set of lengths), and three if not enough memory. */ in huft_build() 433 /* Make a table of values in order of bit lengths */ in huft_build() [all …]
|
/openbmc/libcper/generator/ |
H A D | cper-generate.c | 16 const size_t *lengths, 120 const size_t *lengths, in generate_section_descriptor() argument 139 descriptor->SectionLength = (UINT32)lengths[index]; in generate_section_descriptor() 144 descriptor->SectionOffset += lengths[i]; in generate_section_descriptor()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 308.out | 132 (OK: Lengths of export and original are the same) 138 (OK: Lengths of export and original are the same) 159 (OK: Lengths of export and original are the same) 163 (OK: Lengths of export and original are the same)
|
/openbmc/telemetry/src/utils/ |
H A D | dbus_path_utils.hpp | 35 "Misconfigured prefix/id/name lengths."); 38 "Misconfigured prefix/id/name lengths.");
|
/openbmc/linux/lib/zlib_deflate/ |
H A D | deftree.c | 14 * a Huffman encoding of the lengths of all the code strings (in 16 * reconstructed from the lengths in the inflate process, as described 75 /* The lengths of the bit length codes are sent in order of decreasing 76 * probability, to avoid transmitting the lengths for unused bit length codes. 84 /* The static literal tree. Since the bit lengths are imposed, there is no 344 * Compute the optimal bit lengths for a tree and update the total bit length 373 /* In a first pass, compute the optimal bit lengths (which may in gen_bitlen() 412 /* Now recompute all bit lengths, scanning in increasing frequency. in gen_bitlen() 414 * lengths instead of fixing only the wrong ones. This idea is taken in gen_bitlen() 477 * Construct one Huffman tree and assigns the code bit strings and lengths. [all …]
|