Home
last modified time | relevance | path

Searched refs:code (Results 1 – 20 of 20) sorted by relevance

/lib/zstd/
Derror_private.h44 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } in ERR_isError() argument
46 ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) in ERR_getErrorCode() argument
48 if (!ERR_isError(code)) in ERR_getErrorCode()
50 return (ERR_enum)(0 - code); in ERR_getErrorCode()
Dentropy_common.c52 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() argument
54 unsigned HUF_isError(size_t code) { return ERR_isError(code); } in HUF_isError() argument
Dhuf.h51 unsigned HUF_isError(size_t code); /**< tells if a return value is an error code */
Dfse.h72 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
Dcompress.c3097 size_t const code = ZSTD_initCStream_advanced(zcs, NULL, 0, params, pledgedSrcSize); in ZSTD_initCStream() local
3098 if (ZSTD_isError(code)) { in ZSTD_initCStream()
/lib/zlib_deflate/
Ddeftree.c231 int code; /* code value */ in tr_static_init() local
240 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init()
241 base_length[code] = length; in tr_static_init()
242 for (n = 0; n < (1<<extra_lbits[code]); n++) { in tr_static_init()
243 length_code[length++] = (uch)code; in tr_static_init()
251 length_code[length-1] = (uch)code; in tr_static_init()
255 for (code = 0 ; code < 16; code++) { in tr_static_init()
256 base_dist[code] = dist; in tr_static_init()
257 for (n = 0; n < (1<<extra_dbits[code]); n++) { in tr_static_init()
258 dist_code[dist++] = (uch)code; in tr_static_init()
[all …]
Ddefutil.h43 ush code; /* bit string */ member
52 #define Code fc.code
/lib/zlib_inflate/
Dinflate.h97 code const *lencode; /* starting table for length/literal codes */
98 code const *distcode; /* starting table for distance codes */
106 code *next; /* next available space in codes[] */
109 code codes[ENOUGH]; /* space for code tables */
Dinffixed.h10 static const code lenfix[512] = {
87 static const code distfix[32] = {
Dinftrees.h31 } code; typedef
57 unsigned codes, code **table,
Dinftrees.c24 code **table, unsigned *bits, unsigned short *work) in zlib_inflate_table()
39 code this; /* table entry for duplication */ in zlib_inflate_table()
40 code *next; /* next available space in table */ in zlib_inflate_table()
Dinffast.c105 code const *lcode; /* local strm->lencode */ in inflate_fast()
106 code const *dcode; /* local strm->distcode */ in inflate_fast()
109 code this; /* retrieved table entry */ in inflate_fast()
Dinflate.c328 code this; /* current decoding table entry */ in zlib_inflate()
329 code last; /* parent table entry */ in zlib_inflate()
478 state->lencode = (code const *)(state->next); in zlib_inflate()
544 state->lencode = (code const *)(state->next); in zlib_inflate()
553 state->distcode = (code const *)(state->next); in zlib_inflate()
/lib/
Ddecompress_unlzma.c73 uint32_t code; member
114 rc->code = 0; in rc_init()
125 rc->code = (rc->code << 8) | *rc->ptr++; in rc_init_code()
136 rc->code = (rc->code << 8) | *rc->ptr++; in rc_do_normalize()
157 return rc->code < t; in rc_is_bit_0()
169 rc->code -= rc->bound; in rc_update_bit_1()
192 if (rc->code >= rc->range) { in rc_direct_bit()
193 rc->code -= rc->range; in rc_direct_bit()
DKconfig.debug34 Since toggling after boot makes the code racy, currently there is
221 variables in gdb on optimized code.
272 bool "Generate readable assembler code"
331 any use of code/data previously in these sections would
333 In the code, functions and variables are annotated with
335 which results in the code/data being placed in specific sections.
399 To ensure that generic code follows the above rules, this
444 bool "Miscellaneous debug code"
448 Say Y here if you need to enable miscellaneous debug code that should
460 If you say Y here, additional code will be inserted into the
[all …]
DKconfig486 # is ridiculous for the amount of code involved. Until an out-of-tree
493 simple text pattern matching. It originated in the ATA code
508 working on the code to ensure they haven't introduced any
511 It only adds a little bit of code and slows kernel boot (or
DKconfig.kasan99 Compiler directly inserts code checking shadow memory before
Dtest_bpf.c6564 if (fp[len].code != 0 || fp[len].k != 0) in filter_length()
/lib/xz/
Dxz_dec_lzma2.c97 uint32_t code; member
441 rc->code = 0; in rc_reset()
455 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()
474 return rc->code == 0; in rc_is_finished()
482 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()
504 if (rc->code < bound) { in rc_bit()
510 rc->code -= bound; in rc_bit()
560 rc->code -= rc->range; in rc_direct()
561 mask = (uint32_t)0 - (rc->code >> 31); in rc_direct()
562 rc->code += rc->range & mask; in rc_direct()
/lib/raid6/
Daltivec.uc69 Altivec code around the enable/disable code */