Home
last modified time | relevance | path

Searched refs:code_len (Results 1 – 25 of 40) sorted by relevance

12

/external/u-boot/drivers/mtd/spi/
Dfsl_espi_spl.c36 u32 offset, code_len, copy_len = 0; in fsl_spi_boot() local
51 code_len = CONFIG_SYS_SPI_FLASH_U_BOOT_SIZE; in fsl_spi_boot()
69 code_len = *(u32 *)(buf + ESPI_BOOT_IMAGE_SIZE); in fsl_spi_boot()
71 code_len = code_len - CONFIG_SPL_MAX_SIZE; in fsl_spi_boot()
75 while (copy_len <= code_len) { in fsl_spi_boot()
86 flush_cache(CONFIG_SYS_SPI_FLASH_U_BOOT_DST, code_len); in fsl_spi_boot()
/external/u-boot/drivers/mmc/
Dfsl_esdhc_spl.c64 u32 offset, code_len; in mmc_boot() local
75 code_len = CONFIG_SYS_MMC_U_BOOT_SIZE; in mmc_boot()
118 code_len = 0; in mmc_boot()
121 code_len = (code_len << 8) + val; in mmc_boot()
123 code_len -= CONFIG_SYS_MMC_U_BOOT_OFFS; in mmc_boot()
129 blk_cnt = ALIGN(code_len, mmc->read_bl_len) / mmc->read_bl_len; in mmc_boot()
/external/libavc/encoder/
Dih264e_bitstream.c142 WORD32 code_len) in ih264e_put_bits() argument
149 ASSERT(code_len > 0 && code_len <= WORD_SIZE); in ih264e_put_bits()
151 if(code_len < WORD_SIZE) in ih264e_put_bits()
152 ASSERT((u4_code_val >> code_len) == 0); in ih264e_put_bits()
162 if(bits_left_in_cw > code_len) in ih264e_put_bits()
168 bits_left_in_cw -= code_len; in ih264e_put_bits()
193 WORD32 i, rem_bits = (code_len - bits_left_in_cw); in ih264e_put_bits()
Dih264e_encode_header.h52 #define PUT_BITS(ps_bitstrm, code_val, code_len, ret_val, syntax_string) \ argument
54 ret_val |= ih264e_put_bits((ps_bitstrm), (code_val), (code_len))
/external/u-boot/board/freescale/common/
Dsdhc_boot.c23 u32 blklen, code_offset, code_len, n; in mmc_get_env_addr() local
41 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr()
55 tmp += code_len * blklen; in mmc_get_env_addr()
57 tmp = code_offset + code_len; in mmc_get_env_addr()
70 *env_addr = code_offset + code_len; in mmc_get_env_addr()
/external/libhevc/encoder/
Dihevce_bitstream.c132 IHEVCE_ERROR_T ihevce_put_bits(bitstrm_t *ps_bitstrm, UWORD32 u4_code_val, WORD32 code_len) in ihevce_put_bits() argument
138 ASSERT(code_len > 0 && code_len <= WORD_SIZE); in ihevce_put_bits()
140 if(code_len < WORD_SIZE) in ihevce_put_bits()
141 ASSERT((u4_code_val >> code_len) == 0); in ihevce_put_bits()
150 if(bits_left_in_cw > code_len) in ihevce_put_bits()
156 bits_left_in_cw -= code_len; in ihevce_put_bits()
181 WORD32 i, rem_bits = (code_len - bits_left_in_cw); in ihevce_put_bits()
Dihevce_encode_header.h48 #define PUT_BITS(ps_bitstrm, code_val, code_len, ret_val) \ argument
49 ret_val |= ihevce_put_bits((ps_bitstrm), (code_val), (code_len))
Dihevce_bitstream.h187 IHEVCE_ERROR_T ihevce_put_bits(bitstrm_t *ps_bitstrm, UWORD32 u4_code_val, WORD32 code_len);
/external/u-boot/board/gdsys/p1022/
Dsdhc_boot.c38 u32 blklen, code_offset, code_len, n; in mmc_get_env_addr() local
56 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr()
58 *env_addr = code_offset + code_len; in mmc_get_env_addr()
Dcontrolcenterd-id.c396 u32 code_len, code_offset, target_addr, exec_entry; in compute_second_stage_hash() local
410 code_len = *(u32 *)(buf + ESDHC_BOOT_IMAGE_SIZE_OFS); in compute_second_stage_hash()
418 if (ccdm_mmc_read(mmc, code_offset, load_addr, code_len) < 0) in compute_second_stage_hash()
421 sha1_csum(load_addr, code_len, dst->digest); in compute_second_stage_hash()
769 u32 code_len, code_offset; in load_sd_key_program() local
784 code_len = *(u32 *)(buf + ESDHC_BOOT_IMAGE_SIZE_OFS); in load_sd_key_program()
786 code_offset += code_len; in load_sd_key_program()
/external/capstone/arch/Mips/
DMipsDisassembler.h14 bool Mips_getInstruction(csh handle, const uint8_t *code, size_t code_len,
17 bool Mips64_getInstruction(csh handle, const uint8_t *code, size_t code_len,
DMipsDisassembler.c321 const uint8_t *code, size_t code_len, in MipsDisassembler_getInstruction() argument
328 if (code_len < 4) in MipsDisassembler_getInstruction()
393 bool Mips_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *instr, in Mips_getInstruction() argument
399 code, code_len, in Mips_getInstruction()
407 const uint8_t *code, size_t code_len, in Mips64Disassembler_getInstruction() argument
414 if (code_len < 4) in Mips64Disassembler_getInstruction()
447 bool Mips64_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *instr, in Mips64_getInstruction() argument
453 code, code_len, in Mips64_getInstruction()
/external/capstone/arch/ARM/
DARMDisassembler.h12 bool ARM_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *…
14 bool Thumb_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t…
/external/brotli/c/dec/
Ddecode.c513 static BROTLI_INLINE void ProcessSingleCodeLength(uint32_t code_len, in ProcessSingleCodeLength() argument
518 if (code_len != 0) { /* code_len == 1..15 */ in ProcessSingleCodeLength()
519 symbol_lists[next_symbol[code_len]] = (uint16_t)(*symbol); in ProcessSingleCodeLength()
520 next_symbol[code_len] = (int)(*symbol); in ProcessSingleCodeLength()
521 *prev_code_len = code_len; in ProcessSingleCodeLength()
522 *space -= 32768U >> code_len; in ProcessSingleCodeLength()
523 code_length_histo[code_len]++; in ProcessSingleCodeLength()
525 (int)*symbol, (int)code_len)); in ProcessSingleCodeLength()
540 static BROTLI_INLINE void ProcessRepeatedCodeLength(uint32_t code_len, in ProcessRepeatedCodeLength() argument
548 if (code_len == BROTLI_REPEAT_PREVIOUS_CODE_LENGTH) { in ProcessRepeatedCodeLength()
[all …]
/external/u-boot/arch/x86/cpu/
Dmp_init.c223 int code_len; in load_sipi_vector() local
228 code_len = ap_start16_code_end - ap_start16; in load_sipi_vector()
230 code_len); in load_sipi_vector()
231 memcpy((void *)AP_DEFAULT_BASE, ap_start16, code_len); in load_sipi_vector()
/external/capstone/arch/PowerPC/
DPPCDisassembler.c331 const uint8_t *code, size_t code_len, in getInstruction() argument
338 if (code_len < 4) { in getInstruction()
368 bool PPC_getInstruction(csh ud, const uint8_t *code, size_t code_len, in PPC_getInstruction() argument
372 code, code_len, in PPC_getInstruction()
DPPCDisassembler.h17 bool PPC_getInstruction(csh ud, const uint8_t *code, size_t code_len,
/external/capstone/arch/XCore/
DXCoreDisassembler.c35 static bool readInstruction16(const uint8_t *code, size_t code_len, uint16_t *insn) in readInstruction16() argument
37 if (code_len < 2) in readInstruction16()
46 static bool readInstruction32(const uint8_t *code, size_t code_len, uint32_t *insn) in readInstruction32() argument
48 if (code_len < 4) in readInstruction32()
729 bool XCore_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *MI, in XCore_getInstruction() argument
736 if (!readInstruction16(code, code_len, &insn16)) { in XCore_getInstruction()
751 if (!readInstruction32(code, code_len, &insn32)) { in XCore_getInstruction()
DXCoreDisassembler.h17 bool XCore_getInstruction(csh ud, const uint8_t *code, size_t code_len,
/external/capstone/bindings/ocaml/
Docaml.c28 CAMLprim value _cs_disasm(cs_arch arch, csh handle, const uint8_t * code, size_t code_len, uint64_t… in _cs_disasm() argument
38 c = cs_disasm(handle, code, code_len, addr, count, &insn); in _cs_disasm()
632 size_t count, code_len; in ocaml_cs_disasm() local
728 code_len = caml_string_length(_code); in ocaml_cs_disasm()
732 CAMLreturn(_cs_disasm(arch, handle, code, code_len, addr, count)); in ocaml_cs_disasm()
741 uint64_t addr, count, code_len; in ocaml_cs_disasm_internal() local
747 code_len = caml_string_length(_code); in ocaml_cs_disasm_internal()
751 CAMLreturn(_cs_disasm(arch, handle, code, code_len, addr, count)); in ocaml_cs_disasm_internal()
/external/capstone/arch/AArch64/
DAArch64Disassembler.h17 bool AArch64_getInstruction(csh ud, const uint8_t *code, size_t code_len,
/external/capstone/arch/Sparc/
DSparcDisassembler.h17 bool Sparc_getInstruction(csh ud, const uint8_t *code, size_t code_len,
/external/capstone/arch/SystemZ/
DSystemZDisassembler.h17 bool SystemZ_getInstruction(csh ud, const uint8_t *code, size_t code_len,
/external/capstone/arch/X86/
DX86Disassembler.h91 bool X86_getInstruction(csh handle, const uint8_t *code, size_t code_len,
/external/capstone/
Dcs_priv.h18 typedef bool (*Disasm_t)(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t …

12