/system/core/libpixelflinger/codeflinger/ |
D | Arm64Assembler.h | 54 uint32_t* base() const; 55 uint32_t* pc() const; 70 virtual void epilog(uint32_t touched); 79 virtual bool isValidImmediate(uint32_t immed); 80 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 82 virtual uint32_t imm(uint32_t immediate); 83 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift); 84 virtual uint32_t reg_rrx(int Rm); 85 virtual uint32_t reg_reg(int Rm, int type, int Rs); 88 virtual uint32_t immed12_pre(int32_t immed12, int W=0); [all …]
|
D | Arm64Assembler.cpp | 170 mBase = mPC = (uint32_t *)assembly->base(); in ArmToArm64Assembler() 181 mBase = mPC = (uint32_t *)base; in ArmToArm64Assembler() 194 uint32_t* ArmToArm64Assembler::pc() const in pc() 199 uint32_t* ArmToArm64Assembler::base() const in base() 209 mBase = mPC = (uint32_t *)mAssembly->base(); in reset() 233 uint32_t* i = base(); in disassemble() 246 printf("%p: %08x ", i, uint32_t(i[0])); in disassemble() 292 void ArmToArm64Assembler::epilog(uint32_t /*touched*/) in epilog() argument 306 uint32_t* target_pc = mLabels.valueFor(bt.label); in generate() 332 uint32_t* ArmToArm64Assembler::pcForLabel(const char* label) in pcForLabel() [all …]
|
D | ARMAssembler.h | 41 uint32_t* base() const; 42 uint32_t* pc() const; 57 virtual void epilog(uint32_t touched); 66 virtual bool isValidImmediate(uint32_t immed); 67 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 69 virtual uint32_t imm(uint32_t immediate); 70 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift); 71 virtual uint32_t reg_rrx(int Rm); 72 virtual uint32_t reg_reg(int Rm, int type, int Rs); 77 virtual uint32_t immed12_pre(int32_t immed12, int W=0); [all …]
|
D | ARMAssemblerProxy.h | 48 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 …]
|
D | ARMAssemblerInterface.h | 74 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 …]
|
D | ARMAssembler.cpp | 49 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 …]
|
D | MIPS64Assembler.h | 47 uint32_t* base() const; 48 uint32_t* pc() const; 57 virtual void epilog(uint32_t touched); 69 virtual bool isValidImmediate(uint32_t immed); 70 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 72 virtual uint32_t imm(uint32_t immediate); 73 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift); 74 virtual uint32_t reg_rrx(int Rm); 75 virtual uint32_t reg_reg(int Rm, int type, int Rs); 80 virtual uint32_t immed12_pre(int32_t immed12, int W=0); [all …]
|
/system/core/include/utils/ |
D | BitSet.h | 31 uint32_t value; 34 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() 37 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000UL >> n; } in valueForBit() 42 static inline void clear(uint32_t& value) { value = 0UL; } in clear() 45 inline uint32_t count() const { return count(value); } in count() 47 static inline uint32_t count(uint32_t value) { return __builtin_popcountl(value); } in count() 52 static inline bool isEmpty(uint32_t value) { return ! value; } in isEmpty() 57 static inline bool isFull(uint32_t value) { return value == 0xffffffffUL; } in isFull() 60 inline bool hasBit(uint32_t n) const { return hasBit(value, n); } in hasBit() 62 static inline bool hasBit(uint32_t value, uint32_t n) { return value & valueForBit(n); } in hasBit() [all …]
|
/system/extras/ksmutils/ |
D | lookup3.c | 67 #define hashsize(n) ((uint32_t)1<<(n)) 174 uint32_t hashword( in hashword() 175 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() 177 uint32_t initval) /* the previous hash, or an arbitrary value */ in hashword() 179 uint32_t a,b,c; in hashword() 182 a = b = c = 0xdeadbeef + (((uint32_t)length)<<2) + initval; in hashword() 219 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() 221 uint32_t *pc, /* IN: seed OUT: primary hash value */ in hashword2() 222 uint32_t *pb) /* IN: more seed OUT: secondary hash value */ in hashword2() 224 uint32_t a,b,c; in hashword2() [all …]
|
/system/core/libziparchive/ |
D | zip_archive_common.h | 30 static const uint32_t kSignature = 0x06054b50; 34 uint32_t eocd_signature; 54 uint32_t cd_size; 57 uint32_t cd_start_offset; 72 static const uint32_t kSignature = 0x02014b50; 75 uint32_t record_signature; 91 uint32_t crc32; 93 uint32_t compressed_size; 95 uint32_t uncompressed_size; 110 uint32_t external_file_attributes; [all …]
|
/system/connectivity/dhcp_client/ |
D | dhcp_message.h | 71 void SetClientIPAddress(uint32_t client_ip_address); 73 void SetLeaseTime(uint32_t lease_time); 77 void SetRequestedIpAddress(uint32_t requested_ip_address); 78 void SetServerIdentifier(uint32_t server_identifier); 79 void SetTransactionID(uint32_t transaction_id); 89 uint32_t client_ip_address() const { return client_ip_address_; } in client_ip_address() 90 const std::vector<uint32_t>& dns_server() const { return dns_server_; } in dns_server() 93 uint32_t lease_time() const { return lease_time_; } in lease_time() 95 uint32_t rebinding_time() const { return rebinding_time_; } in rebinding_time() 96 uint32_t renewal_time() const { return renewal_time_; } in renewal_time() [all …]
|
D | dhcp_options_parser.cc | 60 if (length != sizeof(uint32_t)) { in GetOption() 64 uint32_t* value_uint32 = static_cast<uint32_t*>(value); in GetOption() 65 *value_uint32 = ntohl(*reinterpret_cast<const uint32_t*>(buffer)); in GetOption() 108 if (length == 0 || length % sizeof(uint32_t)) { in GetOption() 112 int num_int32s = length / sizeof(uint32_t); in GetOption() 113 std::vector<uint32_t>* value_vector = in GetOption() 114 static_cast<std::vector<uint32_t>*>(value); in GetOption() 116 uint32_t content = *reinterpret_cast<const uint32_t*>(buffer); in GetOption() 119 buffer += sizeof(uint32_t); in GetOption() 127 if (length == 0 || length % (2 * sizeof(uint32_t))) { in GetOption() [all …]
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.h | 43 int Enroll(uint32_t uid, const uint8_t *current_password_handle, 44 uint32_t current_password_handle_length, const uint8_t *current_password, 45 uint32_t current_password_length, const uint8_t *desired_password, 46 uint32_t desired_password_length, uint8_t **enrolled_password_handle, 47 uint32_t *enrolled_password_handle_length); 61 int Verify(uint32_t uid, uint64_t challenge, const uint8_t *enrolled_password_handle, 62 uint32_t enrolled_password_handle_length, const uint8_t *provided_password, 63 uint32_t provided_password_length, uint8_t **auth_token, uint32_t *auth_token_length, 68 gatekeeper_error_t Send(uint32_t command, const GateKeeperMessage& request, 93 static int enroll(const struct gatekeeper_device *dev, uint32_t uid, [all …]
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | ggl_context.h | 35 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/tpm/tpm_manager/server/ |
D | mock_tpm_nvram.h | 39 MOCK_METHOD2(DefineNvram, bool(uint32_t, size_t)); 40 MOCK_METHOD1(DestroyNvram, bool(uint32_t)); 41 MOCK_METHOD2(WriteNvram, bool(uint32_t, const std::string&)); 42 MOCK_METHOD2(ReadNvram, bool(uint32_t, std::string*)); 43 MOCK_METHOD2(IsNvramDefined, bool(uint32_t, bool*)); 44 MOCK_METHOD2(IsNvramLocked, bool(uint32_t, bool*)); 45 MOCK_METHOD2(GetNvramSize, bool(uint32_t, size_t*)); 48 bool FakeDefineNvram(uint32_t index, size_t length); 49 bool FakeDestroyNvram(uint32_t index); 50 bool FakeWriteNvram(uint32_t index, const std::string& data); [all …]
|
/system/bt/stack/smp/ |
D | p_256_multprecision.h | 39 int multiprecision_compare(DWORD *a, DWORD *b, uint32_t keyLength); 40 int multiprecision_iszero(DWORD *a, uint32_t keyLength); 41 void multiprecision_init(DWORD *c, uint32_t keyLength); 42 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength); 44 UINT32 multiprecision_most_signdwords(DWORD *a, uint32_t keyLength); 45 UINT32 multiprecision_most_signbits(DWORD *a, uint32_t keyLength); 46 void multiprecision_inv_mod(DWORD *aminus, DWORD *a, uint32_t keyLength); 47 DWORD multiprecision_add(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a+b 48 void multiprecision_add_mod(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); 49 DWORD multiprecision_sub(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a-b [all …]
|
/system/core/gatekeeperd/ |
D | IGateKeeperService.h | 58 virtual int enroll(uint32_t uid, 59 const uint8_t *current_password_handle, uint32_t current_password_handle_length, 60 const uint8_t *current_password, uint32_t current_password_length, 61 const uint8_t *desired_password, uint32_t desired_password_length, 62 uint8_t **enrolled_password_handle, uint32_t *enrolled_password_handle_length) = 0; 72 virtual int verify(uint32_t uid, const uint8_t *enrolled_password_handle, 73 uint32_t enrolled_password_handle_length, 74 const uint8_t *provided_password, uint32_t provided_password_length, 85 virtual int verifyChallenge(uint32_t uid, uint64_t challenge, 86 const uint8_t *enrolled_password_handle, uint32_t enrolled_password_handle_length, [all …]
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper.h | 32 uint32_t failure_counter; 64 virtual bool GetAuthTokenKey(const uint8_t **auth_token_key, uint32_t *length) 78 virtual void GetPasswordKey(const uint8_t **password_key, uint32_t *length) = 0; 89 virtual void ComputePasswordSignature(uint8_t *signature, uint32_t signature_length, 90 const uint8_t *key, uint32_t key_length, const uint8_t *password, 91 uint32_t password_length, salt_t salt) const = 0; 99 virtual void GetRandom(void *random, uint32_t requested_size) const = 0; 106 virtual void ComputeSignature(uint8_t *signature, uint32_t signature_length, 107 const uint8_t *key, uint32_t key_length, const uint8_t *message, 108 const uint32_t length) const = 0; [all …]
|
D | gatekeeper_messages.h | 29 const uint32_t ENROLL = 0; 30 const uint32_t VERIFY = 1; 48 SizedBuffer(uint32_t length) { in SizedBuffer() 62 SizedBuffer(uint8_t buf[], uint32_t len) { in SizedBuffer() 68 uint32_t length; 85 uint32_t GetSerializedSize() const; 93 uint32_t Serialize(uint8_t *payload, const uint8_t *end) const; 105 void SetRetryTimeout(uint32_t retry_timeout); 117 virtual uint32_t nonErrorSerializedSize() const { return 0; } ; in nonErrorSerializedSize() 133 uint32_t user_id; [all …]
|
/system/core/adb/ |
D | file_sync_service.h | 37 uint32_t id; // ID_STAT, et cetera. 38 uint32_t path_length; // <= 1024 44 uint32_t id; 45 uint32_t mode; 46 uint32_t size; 47 uint32_t time; 50 uint32_t id; 51 uint32_t mode; 52 uint32_t size; 53 uint32_t time; [all …]
|
/system/core/debuggerd/arm/ |
D | machine.cpp | 59 static_cast<uint32_t>(r.ARM_r0), static_cast<uint32_t>(r.ARM_r1), in dump_registers() 60 static_cast<uint32_t>(r.ARM_r2), static_cast<uint32_t>(r.ARM_r3)); in dump_registers() 62 static_cast<uint32_t>(r.ARM_r4), static_cast<uint32_t>(r.ARM_r5), in dump_registers() 63 static_cast<uint32_t>(r.ARM_r6), static_cast<uint32_t>(r.ARM_r7)); in dump_registers() 65 static_cast<uint32_t>(r.ARM_r8), static_cast<uint32_t>(r.ARM_r9), in dump_registers() 66 static_cast<uint32_t>(r.ARM_r10), static_cast<uint32_t>(r.ARM_fp)); in dump_registers() 68 static_cast<uint32_t>(r.ARM_ip), static_cast<uint32_t>(r.ARM_sp), in dump_registers() 69 static_cast<uint32_t>(r.ARM_lr), static_cast<uint32_t>(r.ARM_pc), in dump_registers() 70 static_cast<uint32_t>(r.ARM_cpsr)); in dump_registers()
|
/system/core/mkbootimg/ |
D | bootimg.h | 35 uint32_t kernel_size; /* size in bytes */ 36 uint32_t kernel_addr; /* physical load addr */ 38 uint32_t ramdisk_size; /* size in bytes */ 39 uint32_t ramdisk_addr; /* physical load addr */ 41 uint32_t second_size; /* size in bytes */ 42 uint32_t second_addr; /* physical load addr */ 44 uint32_t tags_addr; /* physical addr for kernel tags */ 45 uint32_t page_size; /* flash page size we assume */ 46 uint32_t unused; /* reserved for future expansion: MUST be 0 */ 53 uint32_t os_version; [all …]
|
/system/connectivity/shill/shims/ |
D | netfilter_queue_processor.h | 71 uint32_t packet_id() const { return packet_id_; } in packet_id() 72 uint32_t source_ip() const { return source_ip_; } in source_ip() 73 uint32_t destination_ip() const { return destination_ip_; } in destination_ip() 86 uint32_t packet_id, 87 uint32_t source_ip, 88 uint32_t destination_ip, 92 uint32_t packet_id_; 96 uint32_t source_ip_; 97 uint32_t destination_ip_; 115 uint32_t address_in, in ListenerEntry() [all …]
|
/system/connectivity/shill/cellular/ |
D | cellular_capability_cdma.h | 73 uint32_t activation_state() const { return activation_state_; } in activation_state() 74 uint32_t registration_state_evdo() const { return registration_state_evdo_; } in registration_state_evdo() 75 uint32_t registration_state_1x() const { return registration_state_1x_; } in registration_state_1x() 95 void HandleNewActivationState(uint32_t error); 97 static std::string GetActivationStateString(uint32_t state); 98 static std::string GetActivationErrorString(uint32_t error); 102 uint32_t activation_state, 103 uint32_t activation_error, 106 uint32_t state_1x, uint32_t state_evdo); 107 void OnSignalQualitySignal(uint32_t strength); [all …]
|
/system/core/libpixelflinger/ |
D | buffer.cpp | 27 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 …]
|