/external/syslinux/gpxe/src/net/infiniband/ |
ib_smc.c | 52 mad->hdr.base_version = IB_MGMT_BASE_VERSION; 53 mad->hdr.mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; 54 mad->hdr.class_version = 1; 55 mad->hdr.method = IB_MGMT_METHOD_GET; 56 mad->hdr.attr_id = htons ( IB_SMP_ATTR_PORT_INFO ); 57 mad->hdr.attr_mod = htonl ( ibdev->port ); 82 mad->hdr.base_version = IB_MGMT_BASE_VERSION; 83 mad->hdr.mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; 84 mad->hdr.class_version = 1; 85 mad->hdr.method = IB_MGMT_METHOD_GET [all...] |
/system/bt/bta/ag/ |
bta_ag_ci.cc | 56 p_buf->hdr.event = BTA_AG_CI_RX_WRITE_EVT; 57 p_buf->hdr.layer_specific = handle; 84 p_buf->hdr.event = BTA_AG_CI_SLC_READY_EVT; 85 p_buf->hdr.layer_specific = handle;
|
/system/bt/bta/sdp/ |
bta_sdp_int.h | 54 BT_HDR hdr; member in struct:__anon105847 60 BT_HDR hdr; member in struct:__anon105848 67 BT_HDR hdr; member in struct:__anon105849 74 BT_HDR hdr; member in union:__anon105850
|
/toolchain/binutils/binutils-2.25/bfd/ |
i386msdos.c | 46 static char hdr[EXE_PAGE_SIZE]; local 47 file_ptr outfile_size = sizeof(hdr); 64 file_ptr sec_end = (sizeof (hdr) 80 H_PUT_16 (abfd, EXE_MAGIC, &hdr[0]); 81 H_PUT_16 (abfd, EXE_PAGE_SIZE / 16, &hdr[8]); 82 H_PUT_16 (abfd, EXE_LOAD_LOW, &hdr[12]); 83 H_PUT_16 (abfd, 0x3e, &hdr[24]); 84 H_PUT_16 (abfd, 0x0001, &hdr[28]); /* XXX??? */ 85 H_PUT_16 (abfd, 0x30fb, &hdr[30]); /* XXX??? */ 86 H_PUT_16 (abfd, 0x726a, &hdr[32]); /* XXX??? * [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_ipc.c | 154 void ConvertHeaderBytes(ipc_msg_hdr *hdr) 156 hdr->version = htonl(hdr->version); 157 hdr->datalen = htonl(hdr->datalen); 158 hdr->ipc_flags = htonl(hdr->ipc_flags); 159 hdr->op = htonl(hdr->op ); 160 hdr->reg_index = htonl(hdr->reg_index) [all...] |
/external/syslinux/core/ |
font.c | 49 } hdr; local 57 if (_fread(&hdr, sizeof hdr, f) != sizeof hdr) 61 if (hdr.magic != 0x0436) 65 if (hdr.mode > 5) 69 if (hdr.height < 2 || hdr.height > 32) 74 if (_fread(fontbuf, 256*hdr.height, f) != 256*hdr.height [all...] |
/external/libvncserver/libvncclient/ |
corre.c | 35 rfbRREHeader hdr; local 41 if (!ReadFromRFBServer(client, (char *)&hdr, sz_rfbRREHeader)) 44 hdr.nSubrects = rfbClientSwap32IfLE(hdr.nSubrects); 51 if (!ReadFromRFBServer(client, client->buffer, hdr.nSubrects * (4 + (BPP / 8)))) 56 for (i = 0; i < hdr.nSubrects; i++) {
|
rre.c | 35 rfbRREHeader hdr; local 40 if (!ReadFromRFBServer(client, (char *)&hdr, sz_rfbRREHeader)) 43 hdr.nSubrects = rfbClientSwap32IfLE(hdr.nSubrects); 50 for (i = 0; i < hdr.nSubrects; i++) {
|
/system/bt/bta/hf_client/ |
bta_hf_client_act.cc | 58 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 61 p_data->hdr.layer_specific); 92 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 95 p_data->hdr.layer_specific); 135 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 138 p_data->hdr.layer_specific); 161 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 164 p_data->hdr.layer_specific); 219 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); 222 p_data->hdr.layer_specific) [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_sdp.cpp | 175 if (record->hdr.service_name_length > 0) { 176 ALOGD("%s, ServiceName: %s", __func__, record->mas.hdr.service_name); 178 (jstring)sCallbackEnv->NewStringUTF(record->mas.hdr.service_name)); 186 (jint)record->mas.hdr.l2cap_psm, 187 (jint)record->mas.hdr.rfcomm_channel_number, 188 (jint)record->mas.hdr.profile_version, 196 addr.get(), uuid.get(), (jint)record->mns.hdr.l2cap_psm, 197 (jint)record->mns.hdr.rfcomm_channel_number, 198 (jint)record->mns.hdr.profile_version, 205 addr.get(), uuid.get(), (jint)record->pse.hdr.l2cap_psm [all...] |
/external/tcpdump/ |
print-pktap.c | 72 const pktap_header_t *hdr; local 75 hdr = (const pktap_header_t *)bp; 77 dlt = EXTRACT_LE_32BITS(&hdr->pkt_dlt); 78 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); 104 pktap_header_t *hdr; local 110 hdr = (pktap_header_t *)p; 111 dlt = EXTRACT_LE_32BITS(&hdr->pkt_dlt); 112 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); 136 rectype = EXTRACT_LE_32BITS(&hdr->pkt_rectype); 150 pktap_header_print(ndo, (u_char *)hdr, [all...] |
print-enc.c | 94 const struct enchdr *hdr; local 101 hdr = (struct enchdr *)p; 102 flags = hdr->flags; 110 ND_PRINT((ndo, "SPI 0x%08x: ", EXTRACT_32BITS(&hdr->spi))); 116 switch (hdr->af) {
|
/external/vboot_reference/tests/ |
vb20_common3_tests.c | 40 struct vb2_keyblock *hdr; local 51 hdr = (struct vb2_keyblock *) 53 TEST_NEQ((size_t)hdr, 0, "vb2_verify_keyblock() prerequisites"); 54 if (!hdr) 56 hsize = hdr->keyblock_size; 59 Memcpy(h, hdr, hsize); 63 Memcpy(h, hdr, hsize); 68 Memcpy(h, hdr, hsize); 72 Memcpy(h, hdr, hsize); 78 Memcpy(h, hdr, hsize) 176 struct vb2_fw_preamble *hdr; local [all...] |
/external/toolchain-utils/deprecated/ |
compare_benchmarks.py | 72 def PrintHeaderCSV(hdr): 74 for i in range(len(hdr)): 77 tmpstr += hdr[i] 81 def PrintHeader(hdr): 82 tot_len = len(hdr) 86 for i in range(len(hdr)): 87 tmpstr += '%15.15s' % hdr[i] 134 hdr = [] 137 hdr.append(benchname) 138 hdr.append('basetime' [all...] |
/external/vboot_reference/firmware/lib/ |
region-kernel.c | 28 BmpBlockHeader *hdr; local 39 hdr = VbExMalloc(sizeof(*hdr)); 41 sizeof(BmpBlockHeader), hdr); 43 VbExFree(hdr); 48 if ((0 != Memcmp(hdr->signature, BMPBLOCK_SIGNATURE, 50 (hdr->major_version > BMPBLOCK_MAJOR_VERSION) || 51 ((hdr->major_version == BMPBLOCK_MAJOR_VERSION) && 52 (hdr->minor_version > BMPBLOCK_MINOR_VERSION))) { 55 VbExFree(hdr); 104 BmpBlockHeader hdr; local [all...] |
/frameworks/base/tests/net/java/android/net/netlink/ |
NetlinkErrorMessageTest.java | 66 final StructNlMsgHdr hdr = errorMsg.getHeader(); local 67 assertNotNull(hdr); 68 assertEquals(36, hdr.nlmsg_len); 69 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); 70 assertEquals(0, hdr.nlmsg_flags); 71 assertEquals(13606, hdr.nlmsg_seq); 72 assertEquals(4196, hdr.nlmsg_pid);
|
RtNetlinkNeighborMessageTest.java | 148 final StructNlMsgHdr hdr = neighMsg.getHeader(); local 149 assertNotNull(hdr); 150 assertEquals(76, hdr.nlmsg_len); 151 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); 152 assertEquals(0, hdr.nlmsg_flags); 153 assertEquals(0, hdr.nlmsg_seq); 154 assertEquals(0, hdr.nlmsg_pid); 175 final StructNlMsgHdr hdr = neighMsg.getHeader(); local 176 assertNotNull(hdr); 177 assertEquals(88, hdr.nlmsg_len) 205 final StructNlMsgHdr hdr = neighMsg.getHeader(); local [all...] |
/hardware/libhardware/include/hardware/ |
bt_sdp.h | 69 bluetooth_sdp_hdr_overlay hdr; member in struct:_bluetooth_sdp_mas_record 76 bluetooth_sdp_hdr_overlay hdr; member in struct:_bluetooth_sdp_mns_record 81 bluetooth_sdp_hdr_overlay hdr; member in struct:_bluetooth_sdp_pse_record 87 bluetooth_sdp_hdr_overlay hdr; member in struct:_bluetooth_sdp_pce_record 91 bluetooth_sdp_hdr_overlay hdr; member in struct:_bluetooth_sdp_ops_record 97 bluetooth_sdp_hdr_overlay hdr; member in struct:_bluetooth_sdp_sap_record 101 bluetooth_sdp_hdr_overlay hdr; member in union:__anon41167
|
/bootable/recovery/ |
fuse_sideload.cpp | 100 struct fuse_out_header hdr; local 104 hdr.len = len + sizeof(hdr); 105 hdr.error = 0; 106 hdr.unique = unique; 108 vec[0].iov_base = &hdr; 109 vec[0].iov_len = sizeof(hdr); 119 static int handle_init(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { 155 fuse_reply(fd, hdr->unique, &out, fuse_struct_size); 174 static int handle_getattr(void* /* data */, struct fuse_data* fd, const struct fuse_in_header* hdr) { 458 struct fuse_in_header* hdr = (struct fuse_in_header*) request_buffer; local [all...] |
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmpv4_sender.c | 366 pkt.hdr.version = 4; 367 pkt.hdr.ihl = sizeof(struct iphdr) / 4; 368 pkt.hdr.tos = 0; 369 pkt.hdr.tot_len = htons(pkt_size); 370 pkt.hdr.id = htons(IPV4_PACKET_ID); 371 pkt.hdr.frag_off = htons(IPV4_DEFAULT_FLAG); 372 pkt.hdr.ttl = IPV4_DEFAULT_TTL; 373 pkt.hdr.protocol = IPPROTO_ICMP; 374 pkt.hdr.check = 0; /* Calculate later */ 375 pkt.hdr.saddr = fake_p->saddr.s_addr [all...] |
/system/bt/bta/av/ |
bta_av_api.cc | 67 p_buf->hdr.event = BTA_AV_API_ENABLE_EVT; 112 p_buf->hdr.layer_specific = chnl; 113 p_buf->hdr.event = BTA_AV_API_REGISTER_EVT; 159 p_buf->hdr.event = BTA_AV_API_OPEN_EVT; 160 p_buf->hdr.layer_specific = handle; 201 p_buf->hdr.event = BTA_AV_API_DISCONNECT_EVT; 255 p_buf->hdr.event = BTA_AV_API_OFFLOAD_START_RSP_EVT; 256 p_buf->hdr.layer_specific = hndl; 277 p_buf->hdr.event = BTA_AV_API_STOP_EVT; 304 p_buf->hdr.layer_specific = hndl [all...] |
/system/bt/stack/mcap/ |
mca_cact.cc | 130 p_msg->hdr.layer_specific = true; /* mark this message as sent */ 222 if (p_ccb->p_tx_req && !p_ccb->p_tx_req->hdr.layer_specific) { 242 BT_HDR* p_pkt = &p_data->hdr; 255 evt_data.hdr.op_code = *p++; 256 BE_STREAM_TO_UINT16(evt_data.hdr.mdl_id, p); 257 reject_opcode = evt_data.hdr.op_code + 1; 259 MCA_TRACE_DEBUG("received mdl id: %d ", evt_data.hdr.mdl_id); 264 (evt_data.hdr.op_code == MCA_OP_MDL_ABORT_REQ)) { 303 if (((evt_data.hdr.op_code >= MCA_NUM_STANDARD_OPCODE) && 304 (evt_data.hdr.op_code < MCA_FIRST_SYNC_OP)) | [all...] |
/external/google-breakpad/src/client/linux/crash_generation/ |
crash_generation_client.cc | 68 struct cmsghdr* hdr = CMSG_FIRSTHDR(&msg); local 69 hdr->cmsg_level = SOL_SOCKET; 70 hdr->cmsg_type = SCM_RIGHTS; 71 hdr->cmsg_len = CMSG_LEN(sizeof(int)); 72 int* p = reinterpret_cast<int*>(CMSG_DATA(hdr));
|
/external/syslinux/gpxe/src/arch/i386/image/ |
multiboot.c | 312 * @v hdr Multiboot header descriptor to fill in 316 struct multiboot_header_info *hdr ) { 340 copy_from_user ( &hdr->mb, image->data, offset, 341 sizeof ( hdr->mb ) ); 342 checksum = ( hdr->mb.magic + hdr->mb.flags + 343 hdr->mb.checksum ); 347 hdr->offset = offset; 359 * @v hdr Multiboot header descriptor 363 struct multiboot_header_info *hdr ) { 426 struct multiboot_header_info hdr; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
rsa.c | 34 struct asn1_hdr hdr; local 39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 40 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { 42 "tag 0x%x", hdr.class, hdr.tag); 46 if (bignum_set_unsigned_bin(num, hdr.payload, hdr.length) < 0) { 51 return hdr.payload + hdr.length 65 struct asn1_hdr hdr; local 153 struct asn1_hdr hdr; local [all...] |