Home
last modified time | relevance | path

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

12

/lib/zstd/common/
Dzstd_common.c37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() argument
41 const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); } in ZSTD_getErrorName() argument
45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() argument
49 const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString(code); } in ZSTD_getErrorString() argument
Derror_private.h47 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } in ERR_isError() argument
49 …ATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (… in ERR_getErrorCode() argument
60 const char* ERR_getErrorString(ERR_enum code); /* error_private.c */
62 ERR_STATIC const char* ERR_getErrorName(size_t code) in ERR_getErrorName() argument
64 return ERR_getErrorString(ERR_getErrorCode(code)); in ERR_getErrorName()
Derror_private.c15 const char* ERR_getErrorString(ERR_enum code) in ERR_getErrorString() argument
18 (void)code; in ERR_getErrorString()
22 switch( code ) in ERR_getErrorString()
Dentropy_common.c31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() argument
32 const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); } in FSE_getErrorName() argument
34 unsigned HUF_isError(size_t code) { return ERR_isError(code); } in HUF_isError() argument
35 const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); } in HUF_getErrorName() argument
Dhuf.h73 HUF_PUBLIC_API unsigned HUF_isError(size_t code); /*< tells if a return value is an error …
74 HUF_PUBLIC_API const char* HUF_getErrorName(size_t code); /*< provides error code string (useful f…
Dfse.h87 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error …
88 FSE_PUBLIC_API const char* FSE_getErrorName(size_t code); /* provides error code string (useful f…
/lib/zlib_deflate/
Ddeftree.c177 int code; /* code value */ in tr_static_init() local
186 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init()
187 base_length[code] = length; in tr_static_init()
188 for (n = 0; n < (1<<extra_lbits[code]); n++) { in tr_static_init()
189 length_code[length++] = (uch)code; in tr_static_init()
197 length_code[length-1] = (uch)code; in tr_static_init()
201 for (code = 0 ; code < 16; code++) { in tr_static_init()
202 base_dist[code] = dist; in tr_static_init()
203 for (n = 0; n < (1<<extra_dbits[code]); n++) { in tr_static_init()
204 dist_code[dist++] = (uch)code; in tr_static_init()
[all …]
Ddefutil.h45 ush code; /* bit string */ member
54 #define Code fc.code
299 unsigned code, /* the value to invert */ in bi_reverse() argument
305 res |= code & 1; in bi_reverse()
306 code >>= 1, res <<= 1; in bi_reverse()
/lib/zstd/
Dzstd_decompress_module.c21 unsigned int zstd_is_error(size_t code) in zstd_is_error() argument
23 return ZSTD_isError(code); in zstd_is_error()
27 zstd_error_code zstd_get_error_code(size_t code) in zstd_get_error_code() argument
29 return ZSTD_getErrorCode(code); in zstd_get_error_code()
33 const char *zstd_get_error_name(size_t code) in zstd_get_error_name() argument
35 return ZSTD_getErrorName(code); in zstd_get_error_name()
/lib/zlib_inflate/
Dinflate.h99 code const *lencode; /* starting table for length/literal codes */
100 code const *distcode; /* starting table for distance codes */
108 code *next; /* next available space in codes[] */
111 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.c84 code const *lcode; /* local strm->lencode */ in inflate_fast()
85 code const *dcode; /* local strm->distcode */ in inflate_fast()
88 code this; /* retrieved table entry */ in inflate_fast()
Dinflate.c342 code this; /* current decoding table entry */ in zlib_inflate()
343 code last; /* parent table entry */ in zlib_inflate()
493 state->lencode = (code const *)(state->next); in zlib_inflate()
559 state->lencode = (code const *)(state->next); in zlib_inflate()
568 state->distcode = (code const *)(state->next); in zlib_inflate()
/lib/
Ddecompress_unlzma.c75 uint32_t code; member
116 rc->code = 0; in rc_init()
127 rc->code = (rc->code << 8) | *rc->ptr++; in rc_init_code()
138 rc->code = (rc->code << 8) | *rc->ptr++; in rc_do_normalize()
159 return rc->code < t; in rc_is_bit_0()
171 rc->code -= rc->bound; in rc_update_bit_1()
194 if (rc->code >= rc->range) { in rc_direct_bit()
195 rc->code -= rc->range; in rc_direct_bit()
DKconfig.debug34 Since toggling after boot makes the code racy, currently there is
218 bool "Miscellaneous debug code"
222 Say Y here if you need to enable miscellaneous debug code that should
471 bool "Generate readable assembler code"
497 any use of code/data previously in these sections would
499 In the code, functions and variables are annotated with
501 which results in the code/data being placed in specific sections.
579 pieces of code get eliminated with
609 To ensure that generic code follows the above rules, this
723 If you say Y here, additional code will be inserted into the
[all …]
DKconfig.kmsan47 is a more relaxed mode, but it generates more instrumentation code and
Dtest_printf.c722 u32 code; in fourcc_pointer() member
733 test(try[i].str, "%p4cc", &try[i].code); in fourcc_pointer()
DKconfig.ubsan25 into full exceptions that abort the running kernel code
110 bool "Perform checking for unreachable code"
/lib/crypto/
DKconfig39 Blake2s library interface that require the generic code as a
56 ChaCha library interface that require the generic code as a
86 Curve25519 library interface that require the generic code as a
125 Poly1305 library interface that require the generic code as a
/lib/xz/
Dxz_dec_lzma2.c96 uint32_t code; member
472 rc->code = 0; in rc_reset()
486 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()
505 return rc->code == 0; in rc_is_finished()
513 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()
535 if (rc->code < bound) { in rc_bit()
541 rc->code -= bound; in rc_bit()
591 rc->code -= rc->range; in rc_direct()
592 mask = (uint32_t)0 - (rc->code >> 31); in rc_direct()
593 rc->code += rc->range & mask; in rc_direct()
/lib/zstd/compress/
Dhist.c24 unsigned HIST_isError(size_t code) { return ERR_isError(code); } in HIST_isError() argument
Dhist.h33 unsigned HIST_isError(size_t code); /*< tells if a return value is an error code */
/lib/raid6/
Daltivec.uc69 Altivec code around the enable/disable code */

12