Searched refs:code (Results 1 - 25 of 115) sorted by relevance

12345

/u-boot/lib/zlib/
H A Dinffixed.h10 static const code lenfix[512] = {
87 static const code distfix[32] = {
H A Dinftrees.h12 information needed to do the operation requested by the code that
14 table that indexes more bits of the code. op indicates whether
16 distance, an end-of-block, or an invalid code. For a table
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
26 unsigned char bits; /* bits in this part of the code */
27 unsigned short val; /* offset in table or code value */
28 } code; typedef in typeref:struct:__anon1256
35 01000000 - invalid code
[all...]
H A Dinflate.h13 the crc code when it is not needed. For shared libraries, gzip decoding
37 LENLENS, /* i: waiting for code length code lengths */
38 CODELENS, /* i: waiting for length/lit and distance code lengths */
39 LEN, /* i: waiting for length/lit code */
41 DIST, /* i: waiting for distance code */
99 /* for table and code decoding */
101 /* fixed and dynamic code tables */
102 code const FAR *lencode; /* starting table for length/literal codes */
103 code cons
[all...]
/u-boot/dts/upstream/include/dt-bindings/input/
H A Dinput.h5 * Most input bindings include key code, matrix key code format.
6 * In most cases, key code and matrix key code format uses
15 #define MATRIX_KEY(row, col, code) \
16 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/u-boot/lib/
H A Dcharset.c30 * get_code() - read Unicode code point from UTF-8 stream
34 * Return: - Unicode code point, or -1
44 int code = 0; local
50 code = ch << 18;
59 code += ch << 12;
60 if ((code >= 0xD800 && code <= 0xDFFF) ||
61 code >= 0x110000)
69 code += ch << 6;
74 ch += code;
120 console_read_unicode(s32 *code) argument
144 utf8_put(s32 code, char **dst) argument
178 s32 code = utf8_get(&src); local
200 s32 code = utf8_get(&src); local
212 s32 code, code2; local
238 utf16_put(s32 code, u16 **dst) argument
261 s32 code = utf16_get(&src); local
279 s32 code = utf16_get(&src); local
304 s32 code = utf16_get(&src); local
314 utf_to_lower(const s32 code) argument
333 utf_to_upper(const s32 code) argument
466 uint32_t code = *src++; local
[all...]
H A Dslre.c41 {"END", 0, ""}, /* End of code block or program */
63 * Commands and operands are all unsigned char (1 byte long). All code offsets
68 * Try to match the code block that follows the BRANCH instruction
69 * (code block ends with END). If no match, try to match code block that
86 * matched buffer, until code block that follows these instructions
126 op = r->code[pc];
132 (void) fprintf(fp, "%d ", r->code[pc + 1]);
137 pc + r->code[pc + 1] - i);
142 r->code[p
178 emit(struct slre *r, int code) argument
[all...]
/u-boot/lib/zstd/common/
H A Dzstd_common.c5 * This source code is licensed under both the BSD-style license (found in the
35 * tells if a return value is an error code
37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } argument
40 * provides error code string from function result (useful for debugging) */
41 const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); } argument
45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } argument
48 * provides error code strin
49 ZSTD_getErrorString(ZSTD_ErrorCode code) argument
[all...]
H A Derror_private.h5 * This source code is licensed under both the BSD-style license (found in the
47 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } argument
49 ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (ERR_enum) (0-code); } argument
51 /* check and forward error code */
60 const char* ERR_getErrorString(ERR_enum code); /* error_private.c */
62 ERR_STATIC const char* ERR_getErrorName(size_t code) argument
64 return ERR_getErrorString(ERR_getErrorCode(code));
[all...]
H A Derror_private.c5 * This source code is licensed under both the BSD-style license (found in the
15 const char* ERR_getErrorString(ERR_enum code) argument
18 (void)code;
21 static const char* const notErrorCode = "Unspecified error code";
22 switch( code )
/u-boot/include/
H A Dinterrupt.h11 /** @code: exception code */
12 ulong code; member in struct:resume_data
20 * executes setjmp(). If an exception occurs, the code will return to the
21 * setjmp caller(). The exception code will be returned in @data->code.
24 * another part of the code will not accidently invoke the long jump.
26 * .. code-block:: c
36 * printf("An exception %ld occurred\n", resume.code);
/u-boot/scripts/
H A Ddecodecode23 code=
30 code=$i
37 code="$code $xdump"
47 if [ -z "$code" ]; then
52 echo $code
53 code=`echo $code | sed -e 's/.*Code: //'`
55 width=`expr index "$code" ' '`
86 marker=`expr index "$code" "\<"`
[all...]
/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_portal.h26 /* The qbman_sys (ie. arch/OS-specific) support code can put anything it
81 /* Different management commands all use this common base layer of code to issue
127 static inline uint32_t qb_attr_code_decode(const struct qb_attr_code *code, argument
130 return d32_uint32_t(code->lsoffset, code->width, cacheline[code->word]);
135 static inline void qb_attr_code_encode(const struct qb_attr_code *code, argument
138 cacheline[code->word] =
139 r32_uint32_t(code->lsoffset, code
143 qb_attr_code_encode_64(const struct qb_attr_code *code, uint64_t *cacheline, uint64_t val) argument
[all...]
/u-boot/fs/yaffs2/
H A Dyaffs_error.c17 int code; member in struct:error_entry
52 while (e->code && e->text) {
53 if (err == e->code)
57 return "Unknown error code";
/u-boot/arch/microblaze/include/asm/
H A Dcpuinfo.h21 * @ver_code: Cpu version code.
22 * @fpga_code: FPGA family version code.
42 * struct microblaze_version_data - Maps a hex version code to a cpu/fpga name.
46 const u32 code; member in struct:microblaze_version_map
50 * microblaze_lookup_cpu_version_code() - Get hex version code for the
53 * This function searches the cpu_ver_lookup[] array for the hex version code
54 * associated with a specific CPU name. The version code is returned if a match
64 * microblaze_lookup_fpga_family_code() - Get hex version code for the
68 * code associated with a specific fpga family name. The version code i
[all...]
/u-boot/post/lib_powerpc/
H A Dmulti.c26 extern void cpu_post_exec_02(ulong *code, ulong op1, ulong op2);
35 ulong code[] = { local
46 cpu_post_exec_02(code, (ulong) src, (ulong) dst);
H A Dstring.c25 extern void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2);
26 extern void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3,
39 ulong code[] = local
52 cpu_post_exec_02(code, (ulong)src, (ulong)dst);
61 ulong code[] = local
74 cpu_post_exec_04(code, (ulong)src, (ulong)dst, 0, sizeof(src));
H A Db.c29 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1);
30 extern void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
41 unsigned long code[] = local
56 cpu_post_exec_31 (code, &ctr, &lr, &jump, cr);
70 ret = lr == (ulong) code + 24 ? 0 : -1;
86 ulong code[] = local
97 cpu_post_exec_11 (code, &res, 0);
109 ulong code[] = local
120 cpu_post_exec_11 (code, &res, 0);
122 ret = res == (ulong)code
[all...]
H A Dload.c33 extern void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3);
34 extern void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2);
177 ulong code[] = local
183 cpu_post_exec_22w (code, &base, test->offset, &value);
187 ulong code[] = local
193 cpu_post_exec_21w (code, &base, &value);
H A Dstore.c33 extern void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3);
34 extern void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2);
161 ulong code[] = local
167 cpu_post_exec_12w (code, &base, test->offset, test->value);
171 ulong code[] = local
177 cpu_post_exec_11w (code, &base, test->value);
/u-boot/board/gdsys/a38x/
H A Dhre.h14 uint8_t code[]; member in struct:key_program
35 int hre_run_program(struct udevice *tpm, const uint8_t *code, size_t code_size);
/u-boot/arch/microblaze/cpu/
H A Dcpuinfo.c66 /* FIXME There is no key code defined for spartan2 */
80 static const char *lookup_string(u32 code, argument
84 if (entry->code == code)
95 return entry->code;
100 const char *microblaze_lookup_fpga_family_string(const u32 code) argument
102 return lookup_string(code, family_string_lookup);
105 const char *microblaze_lookup_cpu_version_string(const u32 code) argument
107 return lookup_string(code, cpu_ver_lookup);
/u-boot/arch/arm/include/asm/
H A Dassembler.h54 #define PLD(code...) code
56 #define PLD(code...)
86 #define CALGN(code...)
88 #define CALGN(code...) code
/u-boot/lib/efi_selftest/
H A Defi_selftest_util.c13 u16 code; member in struct:efi_st_translate
79 u16 *efi_st_translate_char(u16 code) argument
83 if (code >= ' ') {
84 efi_st_ch[1] = code;
88 if (tr->code == code)
94 u16 *efi_st_translate_code(u16 code) argument
99 if (tr->code == code)
/u-boot/tools/
H A Dzynqmp_pm_cfg_obj_convert.py287 # Read all code
288 code = in_file.read() variable
291 code = re.sub('//.*?\n|/\*.*?\*/', '', code, flags=re.DOTALL) variable
294 code = re.search('const u32 XPm_ConfigObject.*=.*{\n(.*)};', variable
295 code, flags=re.DOTALL).group(1)
298 for item in code.split(','):
/u-boot/lib/zstd/
H A Dzstd_decompress_module.c6 * This source code is licensed under both the BSD-style license (found in the
21 unsigned int zstd_is_error(size_t code) argument
23 return ZSTD_isError(code);
27 zstd_error_code zstd_get_error_code(size_t code) argument
29 return ZSTD_getErrorCode(code);
33 const char *zstd_get_error_name(size_t code) argument
35 return ZSTD_getErrorName(code);

Completed in 235 milliseconds

12345