std 28 examples/pcap2nbench/closerequest.cpp std::cerr << "Invalid Close Request" << std::endl; std 38 examples/pcap2nbench/closerequest.cpp std::ostream &operator<<(std::ostream &lhs, const CloseRequest &rhs) std 40 examples/pcap2nbench/closerequest.cpp lhs << "Word Count: " << (uint16_t)rhs.word_count << std::endl std 41 examples/pcap2nbench/closerequest.cpp << "Fid: " << rhs.fid << std::endl std 42 examples/pcap2nbench/closerequest.cpp << "Last Write: " << rhs.last_write << std::endl std 43 examples/pcap2nbench/closerequest.cpp << "Byte Count: " << rhs.byte_count << std::endl; std 41 examples/pcap2nbench/closerequest.hpp std::ostream &operator<<(std::ostream &lhs, const CloseRequest &rhs); std 27 examples/pcap2nbench/ethernet.cpp std::cerr << "Invalid ethernet packet" << std::endl; std 35 examples/pcap2nbench/ethernet.cpp std::ostream &operator<<(std::ostream &lhs, const ethernet &rhs) std 44 examples/pcap2nbench/ethernet.cpp lhs << std::endl; std 53 examples/pcap2nbench/ethernet.cpp lhs << std::endl; std 58 examples/pcap2nbench/ethernet.cpp lhs << buf << std::endl; std 34 examples/pcap2nbench/ethernet.hpp std::ostream &operator<<(std::ostream &lhs, const ethernet &rhs); std 29 examples/pcap2nbench/ip.cpp std::cerr << "Invalid ip packet" << std::endl; std 49 examples/pcap2nbench/ip.cpp std::ostream &operator<<(std::ostream &lhs, const ip &rhs) std 51 examples/pcap2nbench/ip.cpp lhs << "Version: " << (uint32_t)rhs.version << std::endl std 52 examples/pcap2nbench/ip.cpp << "Header length: " << (uint32_t)rhs.header_length << std::endl std 53 examples/pcap2nbench/ip.cpp << "Differentiated Services Field: " << (uint32_t)rhs.dsfield << std::endl std 54 examples/pcap2nbench/ip.cpp << "Total Length: " << (uint32_t)rhs.total_length << std::endl std 55 examples/pcap2nbench/ip.cpp << "Identification: " << (uint32_t)rhs.id << std::endl std 56 examples/pcap2nbench/ip.cpp << "Flags: " << (uint32_t)rhs.flags << std::endl std 57 examples/pcap2nbench/ip.cpp << "Fragment offset: " << (uint32_t)rhs.fragment_offset << std::endl std 58 examples/pcap2nbench/ip.cpp << "TTL: " << (uint32_t)rhs.ttl << std::endl std 59 examples/pcap2nbench/ip.cpp << "Protocol: " << (uint32_t)rhs.protocol << std::endl std 60 examples/pcap2nbench/ip.cpp << "Checksum: " << (uint32_t)rhs.checksum << std::endl std 61 examples/pcap2nbench/ip.cpp << "Source: " << inet_ntoa(*((in_addr *)&rhs.source)) << std::endl std 62 examples/pcap2nbench/ip.cpp << "Destination: " << inet_ntoa(*((in_addr *)&rhs.destination)) << std::endl; std 44 examples/pcap2nbench/ip.hpp std::ostream &operator<<(std::ostream &lhs, const ip &rhs); std 643 examples/pcap2nbench/main.cpp std::cout << "Usage: " << argv[0] << " [OPTIONS] FILE" << std::endl; std 650 examples/pcap2nbench/main.cpp std::cout << "pcap_open_offline(" << argv[optind] << "): " << errbuf std 651 examples/pcap2nbench/main.cpp << std::endl; std 655 examples/pcap2nbench/main.cpp std::vector<Packet> packets; std 657 examples/pcap2nbench/main.cpp std::set<uint16_t> current_fids; std 672 examples/pcap2nbench/main.cpp for (std::vector<Packet>::iterator i = packets.begin(); std 676 examples/pcap2nbench/main.cpp std::vector<Packet>::iterator j; std 697 examples/pcap2nbench/main.cpp std::cout << "NTCreateX \"" << i->ntcreate_req.file_name << "\" " std 701 examples/pcap2nbench/main.cpp << NT_STATUS(j->smb_hdr.nt_status) << std::endl; std 709 examples/pcap2nbench/main.cpp std::cout << "ReadX " << i->read_req.fid << " " std 712 examples/pcap2nbench/main.cpp << NT_STATUS(j->smb_hdr.nt_status) << std::endl; std 720 examples/pcap2nbench/main.cpp std::cout << "WriteX " << i->write_req.fid << " " std 723 examples/pcap2nbench/main.cpp << NT_STATUS(j->smb_hdr.nt_status) << std::endl; std 728 examples/pcap2nbench/main.cpp std::cout << "Close " << i->close_req.fid << " " std 729 examples/pcap2nbench/main.cpp << NT_STATUS(j->smb_hdr.nt_status) << std::endl; std 28 examples/pcap2nbench/ntcreateandxrequest.cpp std::cerr << "Invalid NtCreateAndX Request" << std::endl; std 52 examples/pcap2nbench/ntcreateandxrequest.cpp std::ostream &operator<<(std::ostream &lhs, const NtCreateAndXRequest &rhs) std 54 examples/pcap2nbench/ntcreateandxrequest.cpp lhs << "Word Count: " << (uint16_t)rhs.word_count << std::endl std 55 examples/pcap2nbench/ntcreateandxrequest.cpp << "AndXCommand: " << (uint16_t)rhs.and_x_command << std::endl std 56 examples/pcap2nbench/ntcreateandxrequest.cpp << "Reserved: " << (uint16_t)rhs.reserved << std::endl std 57 examples/pcap2nbench/ntcreateandxrequest.cpp << "AndXOffset: " << rhs.and_x_offset << std::endl std 58 examples/pcap2nbench/ntcreateandxrequest.cpp << "Reserved: " << (uint16_t)rhs.reserved1 << std::endl std 59 examples/pcap2nbench/ntcreateandxrequest.cpp << "File Name Len: " << rhs.file_name_len << std::endl std 60 examples/pcap2nbench/ntcreateandxrequest.cpp << "Create Flags: " << rhs.create_flags << std::endl std 61 examples/pcap2nbench/ntcreateandxrequest.cpp << "Root FID: " << rhs.root_fid << std::endl std 62 examples/pcap2nbench/ntcreateandxrequest.cpp << "Access Mask: " << rhs.access_mask << std::endl std 63 examples/pcap2nbench/ntcreateandxrequest.cpp << "Allocation Size: " << rhs.allocation_size << std::endl std 64 examples/pcap2nbench/ntcreateandxrequest.cpp << "File Attributes: " << rhs.file_attributes << std::endl std 65 examples/pcap2nbench/ntcreateandxrequest.cpp << "Share Access: " << rhs.share_access << std::endl std 66 examples/pcap2nbench/ntcreateandxrequest.cpp << "Disposition: " << rhs.disposition << std::endl std 67 examples/pcap2nbench/ntcreateandxrequest.cpp << "Create Options: " << rhs.create_options << std::endl std 68 examples/pcap2nbench/ntcreateandxrequest.cpp << "Impersonation: " << rhs.impersonation << std::endl std 69 examples/pcap2nbench/ntcreateandxrequest.cpp << "Security Flags: " << (uint16_t)rhs.security_flags << std::endl std 70 examples/pcap2nbench/ntcreateandxrequest.cpp << "Byte Count: " << rhs.byte_count << std::endl std 71 examples/pcap2nbench/ntcreateandxrequest.cpp << "File Name: " << rhs.file_name << std::endl; std 52 examples/pcap2nbench/ntcreateandxrequest.hpp std::string file_name; std 55 examples/pcap2nbench/ntcreateandxrequest.hpp std::ostream &operator<<(std::ostream &lhs, const NtCreateAndXRequest &rhs); std 39 examples/pcap2nbench/ntcreateandxresponse.cpp std::ostream &operator<<(std::ostream &lhs, const NtCreateAndXResponse &rhs) std 55 examples/pcap2nbench/ntcreateandxresponse.hpp std::ostream &operator<<(std::ostream &lhs, const NtCreateAndXResponse &rhs); std 28 examples/pcap2nbench/readandxrequest.cpp std::cerr << "Invalid ReadAndX Request" << std::endl; std 45 examples/pcap2nbench/readandxrequest.cpp std::ostream &operator<<(std::ostream &lhs, const ReadAndXRequest &rhs) std 47 examples/pcap2nbench/readandxrequest.cpp lhs << "Word Count: " << (uint16_t)rhs.word_count << std::endl std 48 examples/pcap2nbench/readandxrequest.cpp << "AndXCommand: " << (uint16_t)rhs.and_x_command << std::endl std 49 examples/pcap2nbench/readandxrequest.cpp << "Reserved: " << (uint16_t)rhs.reserved << std::endl std 50 examples/pcap2nbench/readandxrequest.cpp << "AndX Offset: " << rhs.and_x_offset << std::endl std 51 examples/pcap2nbench/readandxrequest.cpp << "Fid: " << rhs.fid << std::endl std 52 examples/pcap2nbench/readandxrequest.cpp << "Offset: " << rhs.offset << std::endl std 53 examples/pcap2nbench/readandxrequest.cpp << "Max Count Low: " << rhs.max_count_low << std::endl std 54 examples/pcap2nbench/readandxrequest.cpp << "Min Count: " << rhs.min_count << std::endl std 55 examples/pcap2nbench/readandxrequest.cpp << "Max Count High: " << rhs.max_count_high << std::endl std 56 examples/pcap2nbench/readandxrequest.cpp << "Remaining: " << rhs.remaining << std::endl std 57 examples/pcap2nbench/readandxrequest.cpp << "High Offset: " << rhs.high_offset << std::endl std 58 examples/pcap2nbench/readandxrequest.cpp << "Byte Count: " << rhs.byte_count << std::endl; std 49 examples/pcap2nbench/readandxrequest.hpp std::ostream &operator<<(std::ostream &lhs, const ReadAndXRequest &rhs); std 52 examples/pcap2nbench/smb.cpp std::ostream &operator<<(std::ostream &lhs, const smb &rhs) std 58 examples/pcap2nbench/smb.cpp lhs << std::endl; std 60 examples/pcap2nbench/smb.cpp lhs << "Command: " << (uint16_t)rhs.command << std::endl std 61 examples/pcap2nbench/smb.cpp << "NT Status: " << rhs.nt_status << std::endl std 62 examples/pcap2nbench/smb.cpp << "Flags: " << (uint16_t)rhs.flags << std::endl std 63 examples/pcap2nbench/smb.cpp << "Flags2: " << rhs.flags2 << std::endl std 64 examples/pcap2nbench/smb.cpp << "Pid Hi: " << rhs.pid_hi << std::endl std 65 examples/pcap2nbench/smb.cpp << "Tid: " << rhs.tid << std::endl std 66 examples/pcap2nbench/smb.cpp << "Pid: " << rhs.pid << std::endl std 67 examples/pcap2nbench/smb.cpp << "Uid: " << rhs.uid << std::endl std 68 examples/pcap2nbench/smb.cpp << "Mid: " << rhs.mid << std::endl; std 46 examples/pcap2nbench/smb.hpp std::ostream &operator<<(std::ostream &lhs, const smb &rhs); std 28 examples/pcap2nbench/tcp.cpp std::cerr << "Invalid TCP header" << std::endl; std 47 examples/pcap2nbench/tcp.cpp std::ostream &operator<<(std::ostream &lhs, const tcp &rhs) std 49 examples/pcap2nbench/tcp.cpp lhs << "Source Port: " << rhs.src_port << std::endl std 50 examples/pcap2nbench/tcp.cpp << "Destination Port: " << rhs.dst_port << std::endl std 51 examples/pcap2nbench/tcp.cpp << "Sequence Number: " << rhs.seq_number << std::endl std 52 examples/pcap2nbench/tcp.cpp << "Ack Number: " << rhs.ack_number << std::endl std 53 examples/pcap2nbench/tcp.cpp << "Length: " << (uint16_t)(rhs.length) << std::endl std 54 examples/pcap2nbench/tcp.cpp << "Flags: " << rhs.flags << std::endl std 55 examples/pcap2nbench/tcp.cpp << "Window Size: " << rhs.window_size << std::endl std 56 examples/pcap2nbench/tcp.cpp << "Checksum: " << rhs.checksum << std::endl; std 40 examples/pcap2nbench/tcp.hpp std::ostream &operator<<(std::ostream &lhs, const tcp &rhs); std 28 examples/pcap2nbench/writeandxrequest.cpp std::cerr << "Invalid WriteAndX Request" << std::endl; std 48 examples/pcap2nbench/writeandxrequest.cpp std::ostream &operator<<(std::ostream &lhs, const WriteAndXRequest &rhs) std 50 examples/pcap2nbench/writeandxrequest.cpp lhs << "Word Count: " << (uint16_t)rhs.word_count << std::endl std 51 examples/pcap2nbench/writeandxrequest.cpp << "AndXCommand: " << (uint16_t)rhs.and_x_command << std::endl std 52 examples/pcap2nbench/writeandxrequest.cpp << "Reserved: " << (uint16_t)rhs.reserved << std::endl std 53 examples/pcap2nbench/writeandxrequest.cpp << "AndX Offset: " << rhs.and_x_offset << std::endl std 54 examples/pcap2nbench/writeandxrequest.cpp << "Fid: " << rhs.fid << std::endl std 55 examples/pcap2nbench/writeandxrequest.cpp << "Offset: " << rhs.offset << std::endl std 56 examples/pcap2nbench/writeandxrequest.cpp << "Reserved: " << rhs.reserved1 << std::endl std 57 examples/pcap2nbench/writeandxrequest.cpp << "Write Mode: " << rhs.write_mode << std::endl std 58 examples/pcap2nbench/writeandxrequest.cpp << "Remaining: " << rhs.remaining << std::endl std 59 examples/pcap2nbench/writeandxrequest.cpp << "Data Length Hi: " << rhs.data_length_hi << std::endl std 60 examples/pcap2nbench/writeandxrequest.cpp << "Data Length Lo: " << rhs.data_length_lo << std::endl std 61 examples/pcap2nbench/writeandxrequest.cpp << "Data Offset: " << rhs.data_offset << std::endl std 62 examples/pcap2nbench/writeandxrequest.cpp << "High Offset: " << rhs.high_offset << std::endl std 63 examples/pcap2nbench/writeandxrequest.cpp << "Byte Count: " << rhs.byte_count << std::endl; std 51 examples/pcap2nbench/writeandxrequest.hpp std::ostream &operator<<(std::ostream &lhs, const WriteAndXRequest &rhs); std 19 lib/zlib/contrib/iostream3/test.cc << 1.3 << "\nPlan " << 9 << std::endl; std 21 lib/zlib/contrib/iostream3/test.cc std::cout << "Wrote the following message to 'test1.txt.gz' (check with zcat or zless):\n" std 23 lib/zlib/contrib/iostream3/test.cc << 1.3 << "\nPlan " << 9 << std::endl; std 25 lib/zlib/contrib/iostream3/test.cc std::cout << "\nReading 'test1.txt.gz' (buffered) produces:\n"; std 28 lib/zlib/contrib/iostream3/test.cc std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; std 36 lib/zlib/contrib/iostream3/test.cc << 1.3 << "\nPlan " << 9 << std::endl; std 38 lib/zlib/contrib/iostream3/test.cc std::cout << "\nWrote the same message to 'test2.txt.gz' in uncompressed form"; std 40 lib/zlib/contrib/iostream3/test.cc std::cout << "\nReading 'test2.txt.gz' (unbuffered) produces:\n"; std 44 lib/zlib/contrib/iostream3/test.cc std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; std 22 lib/zlib/contrib/iostream3/zfstream.cc : file(NULL), io_mode(std::ios_base::openmode(0)), own_fd(false), std 52 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 58 lib/zlib/contrib/iostream3/zfstream.cc if ((mode & std::ios_base::in) && (mode & std::ios_base::out)) std 80 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 86 lib/zlib/contrib/iostream3/zfstream.cc if ((mode & std::ios_base::in) && (mode & std::ios_base::out)) std 131 lib/zlib/contrib/iostream3/zfstream.cc gzfilebuf::open_mode(std::ios_base::openmode mode, std 134 lib/zlib/contrib/iostream3/zfstream.cc bool testb = mode & std::ios_base::binary; std 135 lib/zlib/contrib/iostream3/zfstream.cc bool testi = mode & std::ios_base::in; std 136 lib/zlib/contrib/iostream3/zfstream.cc bool testo = mode & std::ios_base::out; std 137 lib/zlib/contrib/iostream3/zfstream.cc bool testt = mode & std::ios_base::trunc; std 138 lib/zlib/contrib/iostream3/zfstream.cc bool testa = mode & std::ios_base::app; std 168 lib/zlib/contrib/iostream3/zfstream.cc std::streamsize std 172 lib/zlib/contrib/iostream3/zfstream.cc if (!this->is_open() || !(io_mode & std::ios_base::in)) std 176 lib/zlib/contrib/iostream3/zfstream.cc return std::streamsize(this->egptr() - this->gptr()); std 192 lib/zlib/contrib/iostream3/zfstream.cc if (!this->is_open() || !(io_mode & std::ios_base::in)) std 234 lib/zlib/contrib/iostream3/zfstream.cc if (!this->is_open() || !(io_mode & std::ios_base::out)) std 247 lib/zlib/contrib/iostream3/zfstream.cc if (!this->is_open() || !(io_mode & std::ios_base::out)) std 265 lib/zlib/contrib/iostream3/zfstream.cc std::streambuf* std 267 lib/zlib/contrib/iostream3/zfstream.cc std::streamsize n) std 375 lib/zlib/contrib/iostream3/zfstream.cc : std::istream(NULL), sb() std 380 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 381 lib/zlib/contrib/iostream3/zfstream.cc : std::istream(NULL), sb() std 389 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 390 lib/zlib/contrib/iostream3/zfstream.cc : std::istream(NULL), sb() std 399 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 401 lib/zlib/contrib/iostream3/zfstream.cc if (!sb.open(name, mode | std::ios_base::in)) std 402 lib/zlib/contrib/iostream3/zfstream.cc this->setstate(std::ios_base::failbit); std 410 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 412 lib/zlib/contrib/iostream3/zfstream.cc if (!sb.attach(fd, mode | std::ios_base::in)) std 413 lib/zlib/contrib/iostream3/zfstream.cc this->setstate(std::ios_base::failbit); std 423 lib/zlib/contrib/iostream3/zfstream.cc this->setstate(std::ios_base::failbit); std 430 lib/zlib/contrib/iostream3/zfstream.cc : std::ostream(NULL), sb() std 435 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 436 lib/zlib/contrib/iostream3/zfstream.cc : std::ostream(NULL), sb() std 444 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 445 lib/zlib/contrib/iostream3/zfstream.cc : std::ostream(NULL), sb() std 454 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 456 lib/zlib/contrib/iostream3/zfstream.cc if (!sb.open(name, mode | std::ios_base::out)) std 457 lib/zlib/contrib/iostream3/zfstream.cc this->setstate(std::ios_base::failbit); std 465 lib/zlib/contrib/iostream3/zfstream.cc std::ios_base::openmode mode) std 467 lib/zlib/contrib/iostream3/zfstream.cc if (!sb.attach(fd, mode | std::ios_base::out)) std 468 lib/zlib/contrib/iostream3/zfstream.cc this->setstate(std::ios_base::failbit); std 478 lib/zlib/contrib/iostream3/zfstream.cc this->setstate(std::ios_base::failbit); std 27 lib/zlib/contrib/iostream3/zfstream.h class gzfilebuf : public std::streambuf std 67 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode); std 77 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode); std 92 lib/zlib/contrib/iostream3/zfstream.h open_mode(std::ios_base::openmode mode, std 102 lib/zlib/contrib/iostream3/zfstream.h virtual std::streamsize std 135 lib/zlib/contrib/iostream3/zfstream.h virtual std::streambuf* std 137 lib/zlib/contrib/iostream3/zfstream.h std::streamsize n); std 191 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode io_mode; std 215 lib/zlib/contrib/iostream3/zfstream.h std::streamsize buffer_size; std 234 lib/zlib/contrib/iostream3/zfstream.h class gzifstream : public std::istream std 247 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::in); std 256 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::in); std 286 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::in); std 298 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::in); std 323 lib/zlib/contrib/iostream3/zfstream.h class gzofstream : public std::ostream std 336 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::out); std 345 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::out); std 375 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::out); std 387 lib/zlib/contrib/iostream3/zfstream.h std::ios_base::openmode mode = std::ios_base::out); std 70 source4/lib/com/dcom/dcom.h #define IUnknown_ipid(d) ((d)->obj.u_objref.u_standard.std.ipid) std 246 source4/lib/com/dcom/main.c return object_exporter_by_oxid(ctx, ip->obj.u_objref.u_standard.std.oxid); std 331 source4/lib/com/dcom/main.c if (m->rem_unknown && memcmp(&m->rem_unknown->obj.u_objref.u_standard.std.ipid, &ipidRemUnknown, sizeof(ipidRemUnknown))) { std 343 source4/lib/com/dcom/main.c m->rem_unknown->obj.u_objref.u_standard.std.ipid = ipidRemUnknown; std 397 source4/lib/com/dcom/main.c ru.obj.u_objref.u_standard.std = rqir[i].std; std 431 source4/lib/com/dcom/main.c ox = object_exporter_by_oxid(iface->ctx, iface->obj.u_objref.u_standard.std.oxid); std 564 source4/lib/com/dcom/main.c ox = object_exporter_by_oxid(ctx, o->u_objref.u_standard.std.oxid); std 573 source4/lib/com/dcom/main.c ox = object_exporter_by_oxid(ctx, o->u_objref.u_handler.std.oxid ); std 708 source4/lib/com/dcom/main.c req = dcerpc_ndr_request_send(p, &s->d->obj.u_objref.u_standard.std.ipid, s->table, s->opnum, s, s->r);