Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 126) sorted by relevance

123456

/system/core/libpixelflinger/codeflinger/
DARMAssembler.h42 uint32_t* base() const;
43 uint32_t* pc() const;
58 virtual void epilog(uint32_t touched);
67 virtual bool isValidImmediate(uint32_t immed);
68 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
70 virtual uint32_t imm(uint32_t immediate);
71 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift);
72 virtual uint32_t reg_rrx(int Rm);
73 virtual uint32_t reg_reg(int Rm, int type, int Rs);
78 virtual uint32_t immed12_pre(int32_t immed12, int W=0);
[all …]
DARMAssemblerProxy.h48 virtual void epilog(uint32_t touched);
55 virtual bool isValidImmediate(uint32_t immed);
56 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
58 virtual uint32_t imm(uint32_t immediate);
59 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift);
60 virtual uint32_t reg_rrx(int Rm);
61 virtual uint32_t reg_reg(int Rm, int type, int Rs);
66 virtual uint32_t immed12_pre(int32_t immed12, int W=0);
67 virtual uint32_t immed12_post(int32_t immed12);
68 virtual uint32_t reg_scale_pre(int Rm, int type=0, uint32_t shift=0, int W=0);
[all …]
DARMAssemblerInterface.h74 static uint32_t __immed12_pre(int32_t immed12, int W=0);
75 static uint32_t __immed8_pre(int32_t immed12, int W=0);
77 virtual bool isValidImmediate(uint32_t immed) = 0;
78 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm) = 0;
80 virtual uint32_t imm(uint32_t immediate) = 0;
81 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift) = 0;
82 virtual uint32_t reg_rrx(int Rm) = 0;
83 virtual uint32_t reg_reg(int Rm, int type, int Rs) = 0;
88 virtual uint32_t immed12_pre(int32_t immed12, int W=0) = 0;
89 virtual uint32_t immed12_post(int32_t immed12) = 0;
[all …]
DARMAssembler.cpp49 mBase = mPC = (uint32_t *)assembly->base(); in ARMAssembler()
60 uint32_t* ARMAssembler::pc() const in pc()
65 uint32_t* ARMAssembler::base() const in base()
72 mBase = mPC = (uint32_t *)mAssembly->base(); in reset()
92 uint32_t* i = base(); in disassemble()
144 void ARMAssembler::epilog(uint32_t touched) in epilog()
149 uint32_t* pc = mPC; in epilog()
158 uint32_t* pc = mPC; in epilog()
173 uint32_t* target_pc = mLabels.valueFor(bt.label); in generate()
204 uint32_t* ARMAssembler::pcForLabel(const char* label) in pcForLabel()
[all …]
DARMAssemblerProxy.cpp65 void ARMAssemblerProxy::epilog(uint32_t touched) { in epilog()
76 bool ARMAssemblerProxy::isValidImmediate(uint32_t immed) in isValidImmediate()
81 int ARMAssemblerProxy::buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm) in buildImmediate()
88 uint32_t ARMAssemblerProxy::imm(uint32_t immediate) in imm()
93 uint32_t ARMAssemblerProxy::reg_imm(int Rm, int type, uint32_t shift) in reg_imm()
98 uint32_t ARMAssemblerProxy::reg_rrx(int Rm) in reg_rrx()
103 uint32_t ARMAssemblerProxy::reg_reg(int Rm, int type, int Rs) in reg_reg()
112 uint32_t ARMAssemblerProxy::immed12_pre(int32_t immed12, int W) in immed12_pre()
117 uint32_t ARMAssemblerProxy::immed12_post(int32_t immed12) in immed12_post()
122 uint32_t ARMAssemblerProxy::reg_scale_pre(int Rm, int type, uint32_t shift, int W) in reg_scale_pre()
[all …]
DMIPSAssembler.h45 uint32_t* base() const;
46 uint32_t* pc() const;
55 virtual void epilog(uint32_t touched);
64 virtual bool isValidImmediate(uint32_t immed);
65 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
67 virtual uint32_t imm(uint32_t immediate);
68 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift);
69 virtual uint32_t reg_rrx(int Rm);
70 virtual uint32_t reg_reg(int Rm, int type, int Rs);
75 virtual uint32_t immed12_pre(int32_t immed12, int W=0);
[all …]
DARMAssemblerInterface.cpp43 uint32_t ARMAssemblerInterface::__immed12_pre(int32_t immed12, int W) in __immed12_pre()
48 return (1<<24) | (((uint32_t(immed12)>>31)^1)<<23) | in __immed12_pre()
52 uint32_t ARMAssemblerInterface::__immed8_pre(int32_t immed8, int W) in __immed8_pre()
54 uint32_t offset = abs(immed8); in __immed8_pre()
60 return (1<<24) | (1<<22) | (((uint32_t(immed8)>>31)^1)<<23) | in __immed8_pre()
/system/core/include/corkscrew/
Dptrace.h48 uint32_t ebx;
49 uint32_t ecx;
50 uint32_t edx;
51 uint32_t esi;
52 uint32_t edi;
53 uint32_t ebp;
54 uint32_t eax;
55 uint32_t xds;
56 uint32_t xes;
57 uint32_t xfs;
[all …]
/system/core/include/private/pixelflinger/
Dggl_context.h35 inline uint32_t GGL_RGBA_TO_HOST(uint32_t v) { in GGL_RGBA_TO_HOST()
38 inline uint32_t GGL_HOST_TO_RGBA(uint32_t v) { in GGL_HOST_TO_RGBA()
44 inline uint32_t GGL_RGBA_TO_HOST(uint32_t v) {
46 uint32_t r;
57 inline uint32_t GGL_HOST_TO_RGBA(uint32_t v) {
59 uint32_t r;
126 #define GGL_BETWEEN(x, L, H) (uint32_t((x)-(L)) <= ((H)-(L)))
139 const uint32_t GGL_NEEDS_##name##_MASK = (((1LU<<(s))-1)<<l); \
140 const uint32_t GGL_NEEDS_##name##_SHIFT = (l);
146 (uint32_t(n & GGL_NEEDS_##name##_MASK) >> GGL_NEEDS_##name##_SHIFT)
[all …]
/system/core/libmincrypt/
Drsa_e_3.c32 static void subM(const RSAPublicKey *key, uint32_t *a) { in subM()
37 a[i] = (uint32_t)A; in subM()
43 static int geM(const RSAPublicKey *key, const uint32_t *a) { in geM()
55 uint32_t* c, in montMulAdd()
56 const uint32_t a, in montMulAdd()
57 const uint32_t* b) { in montMulAdd()
59 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
60 uint64_t B = (uint64_t)d0 * key->n[0] + (uint32_t)A; in montMulAdd()
65 B = (B >> 32) + (uint64_t)d0 * key->n[i] + (uint32_t)A; in montMulAdd()
66 c[i - 1] = (uint32_t)B; in montMulAdd()
[all …]
Drsa_e_f4.c33 uint32_t* a) { in subM()
38 a[i] = (uint32_t)A; in subM()
45 const uint32_t* a) { in geM()
57 uint32_t* c, in montMulAdd()
58 const uint32_t a, in montMulAdd()
59 const uint32_t* b) { in montMulAdd()
61 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
62 uint64_t B = (uint64_t)d0 * key->n[0] + (uint32_t)A; in montMulAdd()
67 B = (B >> 32) + (uint64_t)d0 * key->n[i] + (uint32_t)A; in montMulAdd()
68 c[i - 1] = (uint32_t)B; in montMulAdd()
[all …]
/system/core/libpixelflinger/
Dbuffer.cpp27 uint32_t x, uint32_t y, pixel_t* pixel);
29 uint32_t x, uint32_t y, const pixel_t* pixel);
31 uint32_t x, uint32_t y, pixel_t* pixel);
33 uint32_t x, uint32_t y, pixel_t* pixel);
35 static uint32_t logic_op(int op, uint32_t s, uint32_t d);
36 static uint32_t extract(uint32_t v, int h, int l, int bits);
37 static uint32_t expand(uint32_t v, int sbits, int dbits);
38 static uint32_t downshift_component(uint32_t in, uint32_t v,
112 uint32_t x, uint32_t y, pixel_t* pixel) in read_pixel()
119 uint32_t v = 0; in read_pixel()
[all …]
Dclear.cpp50 static void memset2d(context_t* c, const surface_t& s, uint32_t packed, in memset2d()
51 uint32_t l, uint32_t t, uint32_t w, uint32_t h) in memset2d()
53 const uint32_t size = c->formats[s.format].size; in memset2d()
81 android_memset32((uint32_t*)dst, packed, w); in memset2d()
99 const uint32_t l = c->state.scissor.left; in ggl_clear()
100 const uint32_t t = c->state.scissor.top; in ggl_clear()
101 uint32_t w = c->state.scissor.right - l; in ggl_clear()
102 uint32_t h = c->state.scissor.bottom - t; in ggl_clear()
121 uint32_t colorPacked = ggl_pack_color(c, in ggl_clear()
130 const uint32_t packed = c->state.clear.colorPacked; in ggl_clear()
[all …]
/system/core/debuggerd/arm/
Dmachine.c161 (uint32_t)r.ARM_r0, (uint32_t)r.ARM_r1, (uint32_t)r.ARM_r2, (uint32_t)r.ARM_r3); in dump_registers()
163 (uint32_t)r.ARM_r4, (uint32_t)r.ARM_r5, (uint32_t)r.ARM_r6, (uint32_t)r.ARM_r7); in dump_registers()
165 (uint32_t)r.ARM_r8, (uint32_t)r.ARM_r9, (uint32_t)r.ARM_r10, (uint32_t)r.ARM_fp); in dump_registers()
167 (uint32_t)r.ARM_ip, (uint32_t)r.ARM_sp, (uint32_t)r.ARM_lr, in dump_registers()
168 (uint32_t)r.ARM_pc, (uint32_t)r.ARM_cpsr); in dump_registers()
/system/core/libnetutils/
Ddhcpmsg.h42 uint32_t xid; /* transaction id */
47 uint32_t ciaddr; /* client IP addr */
48 uint32_t yiaddr; /* your (client) IP addr */
49 uint32_t siaddr; /* ip addr of next server */
51 uint32_t giaddr; /* relay agent IP addr */
101 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid);
103 int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid,
104 uint32_t ipaddr, uint32_t serveraddr);
Dpacket.h22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
/system/core/libdiskconfig/
Dconfig_mbr.c32 uint32_t start, uint32_t len) in cfg_pentry()
55 static inline uint32_t
56 kb_to_lba(uint32_t len_kb, uint32_t sect_size) in kb_to_lba()
66 return (uint32_t)(lba & 0xffffffffULL); in kb_to_lba()
72 uint32_t *lba) in mk_pri_pentry()
91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum]))); in mk_pri_pentry()
101 if (pinfo->len_kb != (uint32_t)-1) { in mk_pri_pentry()
114 pinfo->type, *lba, (uint32_t)len_lba); in mk_pri_pentry()
117 *lba += (uint32_t)len_lba; in mk_pri_pentry()
141 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry()
[all …]
/system/core/libcorkscrew/arch-arm/
Dptrace-arm.c31 uint32_t elf_phoff; in load_exidx_header()
32 uint32_t elf_phentsize_ehsize; in load_exidx_header()
33 uint32_t elf_shentsize_phnum; in load_exidx_header()
39 uint32_t elf_phentsize = elf_phentsize_ehsize >> 16; in load_exidx_header()
40 uint32_t elf_phnum = elf_shentsize_phnum & 0xffff; in load_exidx_header()
41 for (uint32_t i = 0; i < elf_phnum; i++) { in load_exidx_header()
43 uint32_t elf_phdr_type; in load_exidx_header()
48 uint32_t elf_phdr_offset; in load_exidx_header()
49 uint32_t elf_phdr_filesz; in load_exidx_header()
Dbacktrace-arm.c71 uint32_t uc_flags;
75 uint32_t uc_sigmask;
81 uint32_t gregs[16];
89 static const uint32_t EXIDX_CANTUNWIND = 1;
117 static uintptr_t prel_to_absolute(uintptr_t place, uint32_t prel_offset) { in prel_to_absolute()
149 uint32_t low = 0; in get_exception_handler()
150 uint32_t high = exidx_size; in get_exception_handler()
152 uint32_t index = (low + high) / 2; in get_exception_handler()
154 uint32_t entry_prel_pc; in get_exception_handler()
167 uint32_t next_entry_prel_pc; in get_exception_handler()
[all …]
/system/core/libpixelflinger/tests/codegen/
Dcodegen.cpp36 static void ggl_test_codegen(uint32_t n, uint32_t p, uint32_t t0, uint32_t t1) in ggl_test_codegen()
72 uint32_t n; in main()
73 uint32_t p; in main()
74 uint32_t t0; in main()
75 uint32_t t1; in main()
/system/core/include/diskconfig/
Ddiskconfig.h69 uint32_t start_lba; /* bytes 8-11 */
70 uint32_t len_lba; /* bytes 12-15 */
75 uint32_t disk_sig; /* bytes 440-443 */
85 uint32_t len_kb; /* in 1K-bytes */
86 uint32_t start_lba; /* the LBA where this partition begins */
93 uint32_t skip_lba; /* in sectors (1 unit of LBA) */
94 uint32_t num_lba; /* the size of the disk in LBA units */
102 uint32_t len;
107 struct write_list *alloc_wl(uint32_t data_len);
/system/core/libsparse/
Dsparse_crc32.c48 static uint32_t crc32_tab[] = {
101 uint32_t sparse_crc32(uint32_t crc_in, const void *buf, int size) in sparse_crc32()
104 uint32_t crc; in sparse_crc32()
/system/core/include/mincrypt/
Drsa.h38 #define RSANUMWORDS (RSANUMBYTES / sizeof(uint32_t))
42 uint32_t n0inv; /* -1 / n[0] mod 2^32 */
43 uint32_t n[RSANUMWORDS]; /* modulus as little endian array */
44 uint32_t rr[RSANUMWORDS]; /* R^2 as little endian array */
/system/media/camera/include/system/
Dcamera_metadata.h82 uint32_t tag;
101 uint32_t tag;
295 uint32_t tag,
329 uint32_t tag,
337 uint32_t tag,
387 const char *get_camera_metadata_section_name(uint32_t tag);
395 const char *get_camera_metadata_tag_name(uint32_t tag);
403 int get_camera_metadata_tag_type(uint32_t tag);
422 uint32_t tag);
430 uint32_t tag);
[all …]
/system/extras/ext4_utils/
Dsha1.h17 typedef unsigned int uint32_t; typedef
31 uint32_t state[5];
32 uint32_t count[2];
37 void SHA1Transform(uint32_t[5], const u_char[64]);

123456