/device/google/contexthub/contexthubhal/ |
NanohubHidlAdapter.cpp | 503 query_apps_request_t payload; local 504 payload.app_name.id = ALL_APPS; // TODO : Pass this in as a parameter 505 msg.message = &payload; 506 msg.message_len = sizeof(payload);
|
/device/google/contexthub/firmware/os/inc/ |
halIntf.h | 91 uint8_t size; // number of bytes in payload data 112 struct AppToSensorHalDataPayload payload; member in struct:AppToSensorHalDataBuffer
|
/device/google/contexthub/util/nanotool/ |
apptohostevent.h | 39 uint8_t payload[]; member in struct:android::BrHostEventData
|
/device/google/marlin/usb/ |
Usb.cpp | 487 static void uevent_event(uint32_t /*epevents*/, struct data *payload) { 492 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); 504 pthread_mutex_lock(&payload->usb->mPartnerLock); 505 payload->usb->mPartnerUp = true; 506 pthread_cond_signal(&payload->usb->mPartnerCV); 507 pthread_mutex_unlock(&payload->usb->mPartnerLock); 511 pthread_mutex_lock(&payload->usb->mLock); 512 if (payload->usb->mCallback_1_0 != NULL) { 513 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); 534 ret = payload->usb->mCallback_1_0->notifyPortStatusChange 569 struct data payload; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scmi/ |
scmi_private.h | 12 * calculated as sum of length in bytes of the message header (4) and payload 13 * area (the number of bytes of parameters or return values in the payload). 88 /* Helper macros to copy arguments to the mailbox payload */ 102 /* Helper macros to read return values from the mailbox payload */ 133 uint32_t payload[]; member in struct:mailbox_mem
|
/external/android-clat/ |
translate.c | 223 * payload - icmp payload 224 * payload_size - size of payload 228 uint32_t checksum, const uint8_t *payload, size_t payload_size) { 246 clat_packet_len = ipv4_packet(out, pos + 1, payload, payload_size); 259 out[CLAT_POS_PAYLOAD].iov_base = (uint8_t *) payload; 277 * payload - icmp6 payload 278 * payload_size - size of payload 282 const uint8_t *payload, size_t payload_size) 345 const uint8_t *payload; local 369 const uint8_t *payload; local [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidRenderActivity.hpp | 65 } payload; //!< Optional data argument. member in struct:tcu::Android::Message 87 payload.window = window; 96 payload.inputQueue = inputQueue; 104 payload.semaphore = semaphore;
|
/external/dnsmasq/src/ |
log.c | 50 char payload[MAX_MESSAGE]; member in struct:log_entry 160 if ((rc = write(log_fd, entries->payload + entries->offset, entries->length)) != -1) 336 p = entry->payload; 342 len = p - entry->payload; 352 entry->payload[entry->length - 1] = '\n';
|
/external/kernel-headers/original/uapi/linux/ |
if_arcnet.h | 63 __u8 payload[0]; /* space remaining in packet (504 bytes)*/ member in struct:arc_rfc1201 72 __u8 payload[0]; /* 507 bytes */ member in struct:arc_rfc1051 83 __u8 payload[0]; /* 493 bytes */ member in struct:arc_eth_encap
|
/external/libchrome/base/ |
pickle.h | 36 // Methods for reading the payload of the Pickle. To read from the start of 104 const char* payload_; // Start of our pickle's payload. 105 size_t read_index_; // Offset of the next readable byte in payload. 106 size_t end_index_; // Payload size. 113 // Pickle's payload without having to reference the Pickle implementation. 119 // Returns the computed size of the payload. 160 // payload. It can optionally support additional space in the header. That 220 // Methods for adding to the payload of the Pickle. These values are 221 // appended to the end of the Pickle's payload. When reading values from a 274 // Payload follows after allocation of Header (header size is customizable) 298 const char* payload() const { function in class:base::Pickle [all...] |
/external/libcxx/fuzzing/ |
fuzzing.cpp | 40 // perform the operation on the key, then check the order of the payload. 44 size_t payload; member in struct:fuzzing::stable_test 46 stable_test(uint8_t k) : key(k), payload(0) {} 47 stable_test(uint8_t k, size_t p) : key(k), payload(p) {} 54 swap(lhs.payload, rhs.payload); 69 return lhs.payload < rhs.payload; 77 return lhs.key == rhs.key ? lhs.payload < rhs.payload : lhs.key < rhs.key [all...] |
/external/libese/libese-teq1/tests/ |
teq1_unittests.cpp | 541 const uint8_t payload[] = { 'A', 'B', 'C', 'D' }; local 543 EXPECT_EQ(0, ese_transceive(&ese_, payload, sizeof(payload), reply, sizeof(reply))); 587 const uint8_t payload[] = { 'A', 'B', 'C', 'D' }; local 589 EXPECT_EQ(0, ese_transceive(&ese_, payload, sizeof(payload), reply, sizeof(reply))); 668 const uint8_t payload[] = { 'A', 'B', 'C', 'D' }; local 670 EXPECT_EQ(0, ese_transceive(&ese_, payload, sizeof(payload), reply, sizeof(reply))); 756 const uint8_t payload[] = { 'A', 'B', 'C', 'D' } local [all...] |
/external/libmojo/ipc/ |
ipc_message_utils.cc | 1140 const char* payload; local [all...] |
/external/libmojo/mojo/edk/system/ |
channel.cc | 98 // Only zero out the header and not the payload. Since the payload is going to 99 // be memcpy'd, zeroing the payload is unnecessary work and a significant 101 // complaining about an uninitialized read in the payload area should be 162 const char* payload = nullptr; local 165 payload = static_cast<const char*>(data) + sizeof(LegacyHeader); 175 payload = static_cast<const char*>(data) + header->num_header_bytes; 208 // Copy all payload bytes. 210 memcpy(message->mutable_payload(), payload, payload_size); 259 const void* Channel::Message::payload() const function in class:mojo::edk::Channel::Message 612 void* payload = nullptr; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/lib/ |
message.cc | 79 const uint8_t* Message::payload() const { function in class:mojo::Message 83 return static_cast<const uint8_t*>(header_v2()->payload.Get()); 92 auto payload = reinterpret_cast<uintptr_t>(header_v2()->payload.Get()); local 93 if (!payload) { 100 DCHECK_GE(payload_end, payload); 101 num_bytes = payload_end - payload;
|
/external/libpcap/ |
pcap-netfilter-linux.c | 130 const unsigned char *payload = NULL; local 176 payload = NFA_DATA(payload_attr); 181 payload = NLMSG_DATA(nlh); 185 if (payload) { 190 bpf_filter(handle->fcode.bf_insns, payload, pkth.len, pkth.caplen)) 193 callback(user, &pkth, payload);
|
/external/nos/host/generic/nugget/include/ |
app_nugget.h | 58 uint8_t payload[CHIP_FLASH_BANK_SIZE]; /* data to write */ member in struct:nugget_app_flash_block
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
WebSocketWriter.java | 75 /** Send a ping with the supplied {@code payload}. Payload may be {@code null} */ 76 public void writePing(Buffer payload) throws IOException { 78 writeControlFrameSynchronized(OPCODE_CONTROL_PING, payload); 82 /** Send a pong with the supplied {@code payload}. Payload may be {@code null} */ 83 public void writePong(Buffer payload) throws IOException { 85 writeControlFrameSynchronized(OPCODE_CONTROL_PONG, payload); 98 Buffer payload = null; local 103 payload = new Buffer() [all...] |
/external/strace/ |
netlink.c | 526 unsigned int payload = local 528 if (payload > len) 529 payload = len; 532 &err.msg, addr, payload); 533 if (len > payload) { 535 decode_nlattr(tcp, addr + payload, 536 len - payload, nlmsgerr_attrs, 575 * netlink payload decoders. 578 * netlink payload decoding.
|
/external/syslinux/core/lwip/src/core/ |
pbuf.c | 161 * @param length size of the pbuf's payload 226 /* make the payload pointer point 'offset' bytes into pbuf data memory */ 227 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + (SIZEOF_STRUCT_PBUF + offset))); 228 LWIP_ASSERT("pbuf_alloc: pbuf p->payload properly aligned", 229 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); 234 LWIP_ASSERT("check p->payload + p->len does not overflow pbuf", 235 ((u8_t*)p->payload + p->len <= 268 q->payload = (void *)((u8_t *)q + SIZEOF_STRUCT_PBUF); 269 LWIP_ASSERT("pbuf_alloc: pbuf q->payload properly aligned", 270 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0) 491 void *payload; local [all...] |
/external/syslinux/gpxe/src/core/ |
gdbstub.c | 36 SIZEOF_PAYLOAD = 256, /* buffer size of GDB payload data */ 49 /* Buffer for payload data when parsing a packet. Once the 51 * the reply payload. */ 52 char buf [ SIZEOF_PAYLOAD + 4 ]; /* $...PAYLOAD...#XX */ 53 char *payload; /* start of payload */ member in struct:gdbstub 54 int len; /* length of payload */ 139 uint8_t cksum = gdbstub_cksum ( stub->payload, stub->len ); 150 stub->payload [ 0 ] = 'O'; 151 stub->payload [ 1 ] = 'K' [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
dns.h | 66 char payload[ 256 + sizeof ( struct dns_query_info ) ]; member in struct:dns_query
|
/external/v8/src/arm64/ |
instructions-arm64.cc | 332 uint64_t payload = ImmMoveWide(); local 335 return payload;
|
/external/v8/src/snapshot/ |
snapshot-common.cc | 187 const List<byte>* payload = serializer->sink()->data(); local 191 int size = kHeaderSize + reservation_size + payload->length(); 200 SetHeaderValue(kPayloadLengthOffset, payload->length()); 207 CopyBytes(data_ + kHeaderSize + reservation_size, payload->begin(), 208 static_cast<size_t>(payload->length())); 221 Vector<const byte> SnapshotData::Payload() const { 223 const byte* payload = data_ + kHeaderSize + reservations_size; local 225 DCHECK_EQ(data_ + size_, payload + length); 226 return Vector<const byte>(payload, length);
|
/external/webrtc/talk/app/webrtc/ |
datachannel.cc | 344 const rtc::Buffer& payload) { 359 if (ParseDataChannelOpenAckMessage(payload)) { 383 rtc::scoped_ptr<DataBuffer> buffer(new DataBuffer(payload, binary)); 387 if (queued_received_data_.byte_count() + payload.size() > 442 rtc::Buffer payload; local 443 WriteDataChannelOpenMessage(label_, config_, &payload); 444 SendControlMessage(payload); 446 rtc::Buffer payload; local 447 WriteDataChannelOpenAckMessage(&payload); 448 SendControlMessage(payload); [all...] |