Searched refs:ptr (Results 26 - 50 of 168) sorted by path

1234567

/system/chre/platform/shared/idl/
H A Dupdate.sh5 --cpp-ptr-type chre::UniquePtr host_messages.fbs
/system/chre/platform/shared/include/chre/platform/shared/
H A Dhost_messages_generated.h813 auto ptr = reinterpret_cast<const NanoappMessage *>(obj); local
814 return verifier.VerifyTable(ptr);
817 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj); local
818 return verifier.VerifyTable(ptr);
821 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj); local
822 return verifier.VerifyTable(ptr);
825 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj); local
826 return verifier.VerifyTable(ptr);
829 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj); local
830 return verifier.VerifyTable(ptr);
833 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj); local
837 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj); local
[all...]
/system/chre/platform/slpi/
H A Dhost_link.cc45 void *ptr; member in union:chre::__anon1356::HostClientIdCallbackData
117 clientIdCbData.ptr = deferCbData;
404 SystemCallbackType::NanoappListResponse, cbData.ptr,
/system/connectivity/wificond/net/
H A Dnetlink_manager.cpp85 uint8_t* ptr = ReceiveBuffer; local
86 while (ptr < ReceiveBuffer + len) {
88 if (ptr + sizeof(nlmsghdr) > ReceiveBuffer + len) {
92 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(ptr);
94 new NL80211Packet(vector<uint8_t>(ptr, ptr + nl_header->nlmsg_len)));
95 ptr += nl_header->nlmsg_len;
H A Dnl80211_attribute.cpp65 const uint8_t* ptr = buf; local
67 while (ptr + NLA_HDRLEN <= end_ptr) {
68 const nlattr* header = reinterpret_cast<const nlattr*>(ptr);
70 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) {
75 *attr_start = const_cast<uint8_t*>(ptr);
76 *attr_end = const_cast<uint8_t*>(ptr + NLA_ALIGN(header->nla_len));
80 ptr += NLA_ALIGN(header->nla_len);
190 const uint8_t* ptr = data_.data() + NLA_HDRLEN; local
193 while (ptr + NLA_HDRLEN <= end_ptr) {
194 const nlattr* header = reinterpret_cast<const nlattr*>(ptr);
213 const uint8_t* ptr = data_.data() + NLA_HDRLEN; local
[all...]
H A Dnl80211_attribute.h184 const uint8_t* ptr = data_.data() + NLA_HDRLEN; local
187 while (ptr + NLA_HDRLEN <= end_ptr) {
188 const nlattr* header = reinterpret_cast<const nlattr*>(ptr);
189 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) {
194 ptr,
195 ptr + NLA_ALIGN(header->nla_len)));
200 ptr += NLA_ALIGN(header->nla_len);
H A Dnl80211_packet.cpp219 const uint8_t* ptr = data_.data() + NLMSG_HDRLEN + GENL_HDRLEN; local
221 while (ptr + NLA_HDRLEN <= end_ptr) {
222 const nlattr* header = reinterpret_cast<const nlattr*>(ptr);
223 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) {
233 ptr += NLA_ALIGN(header->nla_len);
/system/connectivity/wificond/scanning/
H A Dscan_utils.cpp196 const uint8_t* ptr = ie.data(); local
198 while (ptr + 1 < end) {
199 uint8_t type = *ptr;
200 uint8_t length = *(ptr + 1);
202 if (ptr + 1 + length >= end) {
211 *ssid = vector<uint8_t>(ptr + 2, ptr + length + 2);
215 ptr += 2 + length;
/system/core/adb/
H A Dadb.h75 char* ptr; member in struct:apacket
H A Dadb_utils.h41 std::string dump_hex(const void* ptr, size_t byte_count);
H A Dcommandline.cpp806 const uint8_t* ptr = reinterpret_cast<const uint8_t*>(data); local
813 if (!WriteFdExactly(fd, ptr, xfer)) {
821 ptr += xfer;
H A Dsockets.cpp128 p->ptr = p->data;
142 int r = adb_write(s->fd, p->ptr, p->len);
145 p->ptr += r;
261 int r = adb_write(fd, p->ptr, p->len);
270 p->ptr += r;
H A Dsysdeps.h318 extern size_t adb_fwrite(const void* ptr, size_t size, size_t nmemb,
399 // http://stackoverflow.com/questions/14841396/stdunique-ptr-deleters-and-the-win32-api
H A Dsysdeps_win32.cpp2528 static size_t _console_fwrite(const void* ptr, size_t size, size_t nmemb, argument
2530 const int result = _console_write_utf8(reinterpret_cast<const char*>(ptr), size * nmemb, stream,
2540 size_t adb_fwrite(const void* ptr, size_t size, size_t nmemb, FILE* stream) { argument
2546 return _console_fwrite(ptr, size, nmemb, stream, console);
2552 return fwrite(ptr, size, nmemb, stream);
/system/core/debuggerd/crasher/
H A Dcrasher.cpp47 typedef int (__kuser_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
/system/core/debuggerd/libdebuggerd/
H A Dutility.cpp188 uint8_t* ptr = reinterpret_cast<uint8_t*>(data_ptr); local
189 for (size_t val = 0; val < sizeof(uintptr_t); val++, ptr++) {
190 if (*ptr >= 0x20 && *ptr < 0x7f) {
191 ascii += *ptr;
/system/core/fastboot/
H A Dprotocol.cpp198 const char* ptr = reinterpret_cast<const char*>(data); local
203 memcpy(transport_buf + transport_buf_len, ptr, to_write);
205 ptr += to_write;
223 r = _command_data(transport, ptr, to_write);
227 ptr += to_write;
236 memcpy(transport_buf, ptr, len);
H A Dusb_linux.cpp139 char *ptr, int len, int writable,
153 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE))
155 dev = (struct usb_device_descriptor *)ptr;
157 ptr += dev->bLength;
159 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE))
161 cfg = (struct usb_config_descriptor *)ptr;
163 ptr += cfg->bLength;
207 struct usb_descriptor_header *hdr = (struct usb_descriptor_header *)ptr;
211 ptr += hdr->bLength;
217 ifc = (struct usb_interface_descriptor *)ptr;
138 filter_usb_device(char* sysfs_name, char *ptr, int len, int writable, ifc_match_func callback, int *ept_in_id, int *ept_out_id, int *ifc_id) argument
[all...]
/system/core/healthd/
H A Dhealthd_common.cpp99 ev.data.ptr = (void *)handler;
259 if (events[n].data.ptr)
260 (*(void (*)(int))events[n].data.ptr)(events[n].events);
H A Dhealthd_mode_charger.cpp213 char *ptr; local
231 ptr = buf + (sz - len);
238 nl = (char *)memrchr(ptr, '\n', cnt - 1);
240 cnt = nl - ptr + 1;
242 yoink = ptr[cnt];
243 ptr[cnt] = '\0';
244 klog_write(6, "<4>%s", ptr);
245 ptr[cnt] = yoink;
248 ptr += cnt;
/system/core/include/backtrace/
H A DBacktrace.h116 virtual bool ReadWord(uintptr_t ptr, word_t* out_value) = 0;
161 virtual bool VerifyReadWordArgs(uintptr_t ptr, word_t* out_value);
/system/core/include/sysutils/
H A DList.h58 inline void setPrev(_Node* ptr) { mpPrev = ptr; } argument
59 inline void setNext(_Node* ptr) { mpNext = ptr; } argument
93 explicit _ListIterator(_NodePtr ptr) : mpNode(ptr) {} argument
/system/core/include/utils/
H A DList.h57 inline void setPrev(_Node* ptr) { mpPrev = ptr; } argument
58 inline void setNext(_Node* ptr) { mpNext = ptr; } argument
92 explicit _ListIterator(_NodePtr ptr) : mpNode(ptr) {} argument
H A DStrongPointer.h101 void set_pointer(T* ptr);
237 void sp<T>::set_pointer(T* ptr) { argument
238 m_ptr = ptr;
/system/core/init/
H A Dinit.cpp97 ev.data.ptr = reinterpret_cast<void*>(fn);
1164 ((void (*)()) ev.data.ptr)();

Completed in 6577 milliseconds

1234567