Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 184) sorted by relevance

12345678

/bionic/libc/bionic/
Dpthread_key.cpp81 if (SeqOfKeyInUse(seq) && seq == key_data[i].seq && key_data[i].data != NULL) { in pthread_key_clean_all()
103 void* data = key_data[i].data; in pthread_key_clean_all() local
104 key_data[i].data = NULL; in pthread_key_clean_all()
106 (*key_destructor)(data); in pthread_key_clean_all()
157 pthread_key_data_t* data = &(__get_thread()->key_data[key]); in pthread_getspecific() local
160 if (__predict_true(SeqOfKeyInUse(seq) && data->seq == seq)) { in pthread_getspecific()
161 return data->data; in pthread_getspecific()
165 data->data = NULL; in pthread_getspecific()
176 pthread_key_data_t* data = &(__get_thread()->key_data[key]); in pthread_setspecific() local
177 data->seq = seq; in pthread_setspecific()
[all …]
Dptrace.cpp32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data);
42 void* data; in ptrace() local
44 data = &peek_result; in ptrace()
46 data = va_arg(args, void*); in ptrace()
50 long result = __ptrace(req, pid, addr, data); in ptrace()
Ddl_iterate_phdr_static.cpp38 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data), void* data) { in dl_iterate_phdr() argument
58 int rc = cb(&exe_info, sizeof(exe_info), data); in dl_iterate_phdr()
81 return cb(&vdso_info, sizeof(vdso_info), data); in dl_iterate_phdr()
84 return cb(&exe_info, sizeof(exe_info), data); in dl_iterate_phdr()
Difaddrs.cpp70 void SetAddress(int family, const void* data, size_t byteCount) { in SetAddress()
76 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetAddress()
79 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetAddress()
83 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { in SetBroadcastAddress()
90 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetBroadcastAddress()
93 void SetLocalAddress(int family, const void* data, size_t byteCount) { in SetLocalAddress()
103 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetLocalAddress()
127 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { in CopyAddress()
133 memcpy(SockaddrBytes(family, ss), data, byteCount); in CopyAddress()
136 if (family == AF_INET6 && (IN6_IS_ADDR_LINKLOCAL(data) || IN6_IS_ADDR_MC_LINKLOCAL(data))) { in CopyAddress()
Dnet_if.cpp78 struct if_nameindex data; member
90 if (names_too) free(it->data.if_name); in Free()
103 new_link->data.if_index = ifi->ifi_index; in __if_nameindex_callback()
110 new_link->data.if_name = strndup(reinterpret_cast<char*>(RTA_DATA(rta)), RTA_PAYLOAD(rta)); in __if_nameindex_callback()
139 out->if_index = it->data.if_index; in if_nameindex()
140 out->if_name = it->data.if_name; in if_nameindex()
/bionic/tests/
Dmath_data_test.h152 void DoMathDataTest(data_1_1_t<RT, T> (&data)[N], RT f(T)) {
157 data[i].expected, f(data[i].input)) << "Failed on element " << i;
165 void DoMathDataTest(data_int_1_t<T> (&data)[N], int f(T)) {
168 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i;
176 void DoMathDataTest(data_long_1_t<T> (&data)[N], long f(T)) {
179 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i;
187 void DoMathDataTest(data_llong_1_t<T> (&data)[N], long long f(T)) {
190 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i;
198 void DoMathDataTest(data_1_2_t<RT, T1, T2> (&data)[N], RT f(T1, T2)) {
203data[i].expected, f(data[i].input1, data[i].input2)) << "Failed on element " << i;
[all …]
Dthread_local_test.cpp41 int *data = reinterpret_cast<int*>(p); in inc_shared_var() local
43 *data = shared_var; in inc_shared_var()
48 int *data = reinterpret_cast<int*>(p); in inc_local_var() local
50 *data = local_var; in inc_local_var()
56 int data; in run_one_thread() local
57 int error = pthread_create(&t, nullptr, foo, &data); in run_one_thread()
60 return error ? error : data; in run_one_thread()
121 int *data = reinterpret_cast<int*>(p); in move_shared_triangle() local
123 *data = shared_triangle[1].y; in move_shared_triangle()
128 int *data = reinterpret_cast<int*>(p); in move_local_triangle() local
[all …]
Dsys_epoll_test.cpp55 ev.data.u64 = expected; in TEST()
64 ASSERT_EQ(expected, events[0].data.u64); in TEST()
/bionic/libc/malloc_debug/
DGuardData.cpp45 memset(cmp_mem_.data(), init_value, cmp_mem_.size()); in GuardData()
48 void GuardData::LogFailure(const Header* header, const void* pointer, const void* data) { in LogFailure() argument
56 const uint8_t* expected = cmp_mem_.data(); in LogFailure()
57 int pointer_idx = reinterpret_cast<uintptr_t>(data) - reinterpret_cast<uintptr_t>(pointer); in LogFailure()
58 const uint8_t* real = reinterpret_cast<const uint8_t*>(data); in LogFailure()
67 size_t frame_num = backtrace_get(frames.data(), frames.size()); in LogFailure()
69 backtrace_log(frames.data(), frames.size()); in LogFailure()
77 memset(cmp_mem_.data(), config.front_guard_value, cmp_mem_.size()); in FrontGuardData()
DGuardData.h49 bool Valid(void* data) { return memcmp(data, cmp_mem_.data(), cmp_mem_.size()) == 0; } in Valid() argument
51 void LogFailure(const Header* header, const void* pointer, const void* data);
DTrackData.cpp132 uint8_t* data = *info; in GetInfo() local
136 memcpy(data, &header->size, sizeof(size_t)); in GetInfo()
137 memcpy(&data[sizeof(size_t)], &back_header->num_frames, sizeof(size_t)); in GetInfo()
138 memcpy(&data[2 * sizeof(size_t)], &back_header->frames[0], in GetInfo()
143 data += *info_size; in GetInfo()
/bionic/tools/relocation_packer/src/
Delf_file.cc54 Elf_Data* data = elf_getdata(section, NULL); in GetSectionData() local
55 CHECK(data && elf_getdata(section, data) == NULL); in GetSectionData()
56 return data; in GetSectionData()
64 Elf_Data* data = GetSectionData(section); in RewriteSectionData() local
65 CHECK(size == data->d_size); in RewriteSectionData()
68 data->d_buf = area; in RewriteSectionData()
122 static void VerboseLogSectionData(const Elf_Data* data) { in VerboseLogSectionData() argument
124 VLOG(1) << " d_buf = " << data->d_buf; in VerboseLogSectionData()
125 VLOG(1) << " d_off = " << data->d_off; in VerboseLogSectionData()
126 VLOG(1) << " d_size = " << data->d_size; in VerboseLogSectionData()
[all …]
/bionic/libc/kernel/uapi/linux/
Dfirewire-cdev.h61 __u32 data[0]; member
72 __u32 data[0]; member
89 __u32 data[0]; member
121 __u32 data[0]; member
185 __u64 data; member
192 __u64 data; member
219 __u64 data; member
262 __u64 data; member
316 __u64 data; member
324 __u32 data[2]; member
Dioprio.h27 #define IOPRIO_PRIO_VALUE(class,data) (((class) << IOPRIO_CLASS_SHIFT) | data) argument
Duhid.h81 __u8 data[UHID_DATA_MAX]; member
85 __u8 data[UHID_DATA_MAX]; member
101 __u8 data[UHID_DATA_MAX]; member
110 __u8 data[UHID_DATA_MAX]; member
142 __u8 data[UHID_DATA_MAX]; member
164 __u8 data[UHID_DATA_MAX]; member
Dethtool.h82 __u32 data; member
114 void * data[0]; member
121 __u8 data[0]; member
130 __u8 data[0]; member
237 __u8 data[0]; member
245 __u32 data[0]; member
261 __u64 data[0]; member
267 __u64 data[0]; member
274 __u8 data[0]; member
331 __be32 data[2]; member
[all …]
Dcan.h49 __u8 data[CAN_MAX_DLEN] __attribute__((aligned(8))); member
61 __u8 data[CANFD_MAX_DLEN] __attribute__((aligned(8))); member
Dbaycom.h32 } data; member
Duserio.h31 __u8 data; member
Dipmi.h29 char data[IPMI_MAX_ADDR_SIZE]; member
70 unsigned char __user * data; member
77 unsigned char * data; member
Dhyperv.h109 __u8 data[DATA_FRAGMENT]; member
194 struct hv_kvp_exchg_msg_value data; member
197 struct hv_kvp_exchg_msg_value data; member
201 struct hv_kvp_exchg_msg_value data; member
/bionic/libc/kernel/uapi/rdma/
Dib_user_cm.h109 __u64 data; member
122 __u64 data; member
145 __u64 data; member
167 __u64 data; member
175 __u64 data; member
185 __u64 data; member
196 __u64 data; member
212 __u64 data; member
221 __u64 data; member
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp93 const std::vector<uint8_t>* data; in CreateAlignedZip() local
94 while ((data = stream->Read()) != nullptr) { in CreateAlignedZip()
95 error = writer.WriteBytes(data->data(), data->size()); in CreateAlignedZip()
/bionic/libdl/
Dlibdl.c44 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data) __unused, in dl_iterate_phdr()
45 void* data __unused) { in dl_iterate_phdr()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_connlimit.h42 struct xt_connlimit_data * data __attribute__((aligned(8))); member

12345678