Home
last modified time | relevance | path

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

123456

/bionic/libc/kernel/uapi/linux/
Dfuse.h32 uint32_t atimensec;
33 uint32_t mtimensec;
34 uint32_t ctimensec;
35 uint32_t mode;
36 uint32_t nlink;
37 uint32_t uid;
38 uint32_t gid;
39 uint32_t rdev;
40 uint32_t blksize;
41 uint32_t padding;
[all …]
/bionic/linker/arch/arm_neon/
Dlinker_gnu_hash_neon.cpp46 uint32_t accum;
49 constexpr uint32_t kStep0 = 1;
50 constexpr uint32_t kStep1 = kStep0 * 33;
51 constexpr uint32_t kStep2 = kStep1 * 33;
52 constexpr uint32_t kStep3 = kStep2 * 33;
53 constexpr uint32_t kStep4 = kStep3 * 33;
54 constexpr uint32_t kStep5 = kStep4 * 33;
55 constexpr uint32_t kStep6 = kStep5 * 33;
56 constexpr uint32_t kStep7 = kStep6 * 33;
57 constexpr uint32_t kStep8 = kStep7 * 33;
[all …]
/bionic/libc/system_properties/include/system_properties/
Dprop_area.h57 uint32_t namelen;
82 prop_bt(const char* name, const uint32_t name_length) { in prop_bt()
104 prop_area(const uint32_t magic, const uint32_t version) : magic_(magic), version_(version) { in prop_area()
133 uint32_t magic() const { in magic()
136 uint32_t version() const { in version()
147 prop_bt* new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off);
148 prop_info* new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen,
156 …prop_bt* find_prop_bt(prop_bt* const bt, const char* name, uint32_t namelen, bool alloc_if_needed);
158 const prop_info* find_property(prop_bt* const trie, const char* name, uint32_t namelen,
159 const char* value, uint32_t valuelen, bool alloc_if_needed);
[all …]
Dprop_info.h48 constexpr static uint32_t kLongFlag = 1 << 16;
65 uint32_t offset;
82 prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen);
83 prop_info(const char* name, uint32_t namelen, uint32_t long_offset);
Dsystem_properties.h59 uint32_t AreaSerial();
64 uint32_t serial),
69 uint32_t WaitAny(uint32_t old_serial);
70 bool Wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr,
76 uint32_t ReadMutablePropertyValue(const prop_info* pi, char* value);
/bionic/linker/
Dlinker_soinfo.h78 uint32_t gnu_maskwords_ = 0;
79 uint32_t gnu_shift2_ = 0;
87 const uint32_t* gnu_chain_;
89 uint32_t* gnu_bucket_;
124 uint32_t elf_hash();
125 uint32_t gnu_hash();
131 uint32_t elf_hash_;
132 uint32_t gnu_hash_;
140 uint32_t elf_hash;
172 uint32_t unused1; // DO NOT USE, maintained for compatibility.
[all …]
Dlinker_logger.h43 constexpr const uint32_t kLogErrors = 1 << 0;
44 constexpr const uint32_t kLogDlopen = 1 << 1;
45 constexpr const uint32_t kLogDlsym = 1 << 2;
54 uint32_t IsEnabled(uint32_t type) { in IsEnabled()
59 uint32_t flags_;
Dlinker_gnu_hash.h46 static std::pair<uint32_t, uint32_t> calculate_gnu_hash_simple(const char* name) { in calculate_gnu_hash_simple()
47 uint32_t h = 5381; in calculate_gnu_hash_simple()
56 static inline std::pair<uint32_t, uint32_t> calculate_gnu_hash(const char* name) { in calculate_gnu_hash()
Dlinker_soinfo.cpp108 static inline bool check_symbol_version(const ElfW(Versym)* ver_table, uint32_t sym_idx, in check_symbol_version()
111 const uint32_t verdef = ver_table[sym_idx]; in check_symbol_version()
122 constexpr uint32_t kBloomMaskBits = sizeof(ElfW(Addr)) * 8; in ElfW()
130 uint32_t sym_idx; in ElfW()
151 const uint32_t word_num = (hash / kBloomMaskBits) & lib->gnu_maskwords_; in ElfW()
153 const uint32_t h1 = hash % kBloomMaskBits; in ElfW()
154 const uint32_t h2 = (hash >> lib->gnu_shift2_) % kBloomMaskBits; in ElfW()
173 uint32_t chain_value = 0; in ElfW()
331 const uint32_t hash = symbol_name.gnu_hash(); in ElfW()
333 constexpr uint32_t kBloomMaskBits = sizeof(ElfW(Addr)) * 8; in ElfW()
[all …]
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/
Dsha1.c85 uint32_t l[16];
95 void do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
96 void do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
97 void do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
98 void do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
107 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R01()
117 do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R2()
127 do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R3()
137 do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R4()
150 void SHA1Transform(uint32_t state[5], const uint8_t buffer[64]) in SHA1Transform()
[all …]
/bionic/libc/system_properties/
Dsystem_properties.cpp111 uint32_t SystemProperties::AreaSerial() { in AreaSerial()
143 uint32_t SystemProperties::ReadMutablePropertyValue(const prop_info* pi, char* value) { in ReadMutablePropertyValue()
145 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue()
146 uint32_t serial; in ReadMutablePropertyValue()
175 uint32_t serial = ReadMutablePropertyValue(pi, value); in Read()
199 const char* value, uint32_t serial), in ReadCallback()
204 uint32_t serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadCallback()
214 uint32_t serial = ReadMutablePropertyValue(pi, value_buf); in ReadCallback()
248 uint32_t serial = atomic_load_explicit(&pi->serial, memory_order_relaxed); in Update()
312 uint32_t SystemProperties::WaitAny(uint32_t old_serial) { in WaitAny()
[all …]
Dprop_info.cpp38 prop_info::prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen) { in prop_info()
46 prop_info::prop_info(const char* name, uint32_t namelen, uint32_t long_offset) { in prop_info()
/bionic/libc/private/
Dbionic_allocator.h39 const uint32_t kSmallObjectMaxSizeLog2 = 10;
40 const uint32_t kSmallObjectMinSizeLog2 = 4;
41 const uint32_t kSmallObjectAllocatorsCount = kSmallObjectMaxSizeLog2 - kSmallObjectMinSizeLog2 + 1;
49 uint32_t type;
84 BionicSmallObjectAllocator(uint32_t type, size_t block_size);
95 const uint32_t type_;
118 BionicSmallObjectAllocator* get_small_object_allocator(uint32_t type);
DCachedProperty.h54 uint32_t initial_property_serial_ = cached_property_serial_; in DidChange()
67 uint32_t property_area_serial = __system_property_area_serial(); in Get()
76 uint32_t property_serial = __system_property_serial(prop_info_); in Get()
90 uint32_t cached_area_serial_;
91 uint32_t cached_property_serial_;
96 static void Callback(void* data, const char*, const char* value, uint32_t serial) { in Callback()
Dbionic_ieee.h99 (a)[0] = (uint32_t)(p)->ext_fracl; \
100 (a)[1] = (uint32_t)(p)->ext_fraclm; \
101 (a)[2] = (uint32_t)(p)->ext_frachm; \
102 (a)[3] = (uint32_t)(p)->ext_frach; \
/bionic/tests/headers/posix/
Darpa_inet_h.c41 FUNCTION(htonl, uint32_t (*f)(uint32_t)); in arpa_inet_h()
43 FUNCTION(ntohl, uint32_t (*f)(uint32_t)); in arpa_inet_h()
46 TYPE(uint32_t); in arpa_inet_h()
Dnetinet_in_h.c38 TYPE(uint32_t); in netinet_in_h()
54 STRUCT_MEMBER(struct sockaddr_in6, uint32_t, sin6_flowinfo); in netinet_in_h()
56 STRUCT_MEMBER(struct sockaddr_in6, uint32_t, sin6_scope_id); in netinet_in_h()
83 FUNCTION(htonl, uint32_t (*f)(uint32_t)); in netinet_in_h()
85 FUNCTION(ntohl, uint32_t (*f)(uint32_t)); in netinet_in_h()
/bionic/libc/bionic/
Dsystem_property_api.cpp63 uint32_t __system_property_area_serial() { in __system_property_area_serial()
80 const char* value, uint32_t serial), in __system_property_read_callback()
102 uint32_t __system_property_serial(const prop_info* pi) { in __system_property_serial()
113 uint32_t __system_property_wait_any(uint32_t old_serial) { in __system_property_wait_any()
118 bool __system_property_wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, in __system_property_wait()
/bionic/libc/include/sys/
Dvfs.h60 uint32_t f_type; \
61 uint32_t f_bsize; \
68 uint32_t f_namelen; \
69 uint32_t f_frsize; \
70 uint32_t f_flags; \
71 uint32_t f_spare[4]; \
Dtypes.h48 typedef uint32_t __id_t;
74 typedef uint32_t __nlink_t;
84 typedef uint32_t __useconds_t;
89 typedef uint32_t dev_t;
115 typedef uint32_t __socklen_t;
140 typedef uint32_t u_int32_t;
D_system_properties.h95 uint32_t __system_property_area_serial(void);
122 uint32_t __system_property_serial(const prop_info* __pi);
133 uint32_t __system_property_wait_any(uint32_t __old_serial);
/bionic/tests/
Dpty_test.cpp77 uint32_t data_count;
89 uint32_t counter = 0; in PtyReader_28979140()
92 size_t to_read = std::min(sizeof(buf), (arg->data_count + 1 - counter) * sizeof(uint32_t)); in PtyReader_28979140()
94 size_t num_of_value = to_read / sizeof(uint32_t); in PtyReader_28979140()
95 uint32_t* p = reinterpret_cast<uint32_t*>(buf); in PtyReader_28979140()
114 constexpr uint32_t TEST_DATA_COUNT = 2000000; in TEST()
153 uint32_t counter_buf[100]; in TEST()
154 uint32_t counter = 0; in TEST()
Dbionic_allocator_test.cpp78 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); in TEST()
79 const size_t array_size = 512 / sizeof(uint32_t); in TEST()
81 uint32_t model[1000]; in TEST()
92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); in TEST()
103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)); in TEST()
107 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 4000)); in TEST()
119 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 64000)); in TEST()
/bionic/libm/
Dfpmath.h87 (a)[0] = (uint32_t)(u).bits.manl; \
88 (a)[1] = (uint32_t)((u).bits.manl >> 32); \
89 (a)[2] = (uint32_t)(u).bits.manh; \
90 (a)[3] = (uint32_t)((u).bits.manh >> 32); \
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_nan.c53 _scan_nan(uint32_t *words, int num_words, const char *s)
58 bzero(words, num_words * sizeof(uint32_t));
85 uint32_t bits[2];
102 uint32_t bits[1];

123456