/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
Http2.java | 78 * Creates a frame reader with max header table size of 4096 and data frame 109 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); 115 source.require(9); // Frame header size 200 List<Header> headerBlock = readHeaderBlock(length, padding, flags, streamId); 205 private List<Header> readHeaderBlock(int length, short padding, byte flags, int streamId) 320 List<Header> headerBlock = readHeaderBlock(length, padding, flags, streamId); 408 int streamId, int associatedStreamId, List<Header> headerBlock) 416 List<Header> headerBlock) throws IOException { 421 @Override public synchronized void headers(int streamId, List<Header> headerBlock) 428 List<Header> requestHeaders) throws IOException [all...] |
/external/python/cpython2/Lib/email/test/ |
test_email.py | 23 from email.Header import Header, decode_header, make_header 169 # header appears fifth. 172 header, value = msg.items()[4] 173 eq(header.lower(), 'content-type') 175 # This one has a Content-Type: header, with a boundary, stuck in the 180 header, value = msg.items()[4] 181 eq(header.lower(), 'content-type') 183 # And this one has no Content-Type: header at all. 229 # Subpart 5 has no Content-Transfer-Encoding: header [all...] |
test_email_renamed.py | 17 from email.header import Header, decode_header, make_header 164 # header appears fifth. 167 header, value = msg.items()[4] 168 eq(header.lower(), 'content-type') 170 # This one has a Content-Type: header, with a boundary, stuck in the 175 header, value = msg.items()[4] 176 eq(header.lower(), 'content-type') 178 # And this one has no Content-Type: header at all. 201 # Subpart 5 has no Content-Transfer-Encoding: header [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
WindowsResource.cpp | 111 return make_error<GenericBinaryError>("Header size is too small.", 138 // This applies for files which have a valid PE header magic and the 367 // Add size of COFF header. 370 // one .rsrc section header for directory tree, another for resource data. 442 // Write the COFF header. 443 auto *Header = reinterpret_cast<coff_file_header *>(BufferStart); 444 Header->Machine = MachineType; 445 Header->NumberOfSections = 2; 446 Header->TimeDateStamp = getTime(); 447 Header->PointerToSymbolTable = SymbolTableOffset [all...] |
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/ |
D2DCryptoOps.java | 31 import com.google.security.cryptauth.lib.securemessage.SecureMessageProto.Header; 67 * This key will be added to the {@link ResponderHello} in the header. 91 * @param responderHello is an optional public value to attach in the header of 123 * Extracts a ResponderHello proto from the header of a signcrypted message so that we 134 Header messageHeader = SecureMessageParser.getUnverifiedHeader(secmsg);
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
HttpStackConformanceTest.java | 22 import org.apache.http.Header; 109 for (Header header : request.getAllHeaders()) { 111 header.getName())) { 113 "Multiple values for header " 114 + header.getName()); 117 header.getName(), 118 header.getValue()); 159 // Test once without a Content-Type header in getHeaders(). 173 // Reset and test again with a Content-Type header in getHeaders() [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
Gpt.c | 34 The GPT partition table header is external input, so this routine
35 will do basic validation for GPT partition table header before return.
55 Check if the CRC field in the Partition table header is valid
60 @param[in] PartHeader Partition table header structure
80 @param[in] PartHeader Partition table header structure.
101 @param[in] PartHeader Partition table header structure
116 Checks the CRC32 value in the table header.
135 Checks the CRC32 value in the table header.
152 Updates the CRC32 value in the table header.
166 Updates the CRC32 value in the table header. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
Dhcp4Option.c | 415 (UINT8 *) Packet->Dhcp4.Header.BootFileName,
429 (UINT8 *) Packet->Dhcp4.Header.ServerName,
872 CopyMem (&Packet->Dhcp4.Header, &SeedPacket->Dhcp4.Header, sizeof (Packet->Dhcp4.Header));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
AMDGPUTargetStreamer.cpp | 159 AMDGPUTargetAsmStreamer::EmitAMDKernelCodeT(const amd_kernel_code_t &Header) { 161 dumpAmdKernelCode(&Header, OS, "\t\t"); 425 AMDGPUTargetELFStreamer::EmitAMDKernelCodeT(const amd_kernel_code_t &Header) { 429 OS.EmitBytes(StringRef((const char*)&Header, sizeof(Header)));
|
/external/v8/src/ |
gdb-jit.cc | 182 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { 186 header->offset = static_cast<uint32_t>(start); 188 header->addr = 0; 190 header->size = end - start; 198 typedef THeader Header; 243 virtual void PopulateHeader(Writer::Slot<Header> header) { 244 header->addr = 0; 245 header->size = 0; 246 header->offset = 0 485 Writer::Slot<MachOHeader> header = WriteHeader(w); local 536 Writer::Slot<MachOHeader> header = w->CreateSlotHere<MachOHeader>(); local 649 Writer::Slot<ELFHeader> header = w->CreateSlotHere<ELFHeader>(); local [all...] |
/art/libdexfile/dex/ |
dex_file_verifier_test.cc | 42 size_t offset = OFFSETOF_MEMBER(DexFile::Header, magic_) + 6; 48 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); local 49 uint32_t expected_size = header->file_size_; 51 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); 54 header->checksum_ = adler_checksum; 1634 DexFile::Header* header = reinterpret_cast<DexFile::Header*>( local [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
MemoryProfileRecord.c | 258 Retrieves the magic value from the PE/COFF header.
260 @param Hdr The buffer in which to return the PE32, PE32+, or TE header.
273 // in the PE/COFF Header. If the MachineType is Itanium(IA64) and the
281 // Return the magic value from the PC/COFF Optional Header
309 // DOS image header is present, so read the PE header after the DOS image header.
314 // DOS image header is not present, so PE header is at the image base.
365 // DOS image header is present, so read the PE header after the DOS image header. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeIpIoLib/ |
DxeIpIoLib.c | 374 // IP and ICMP header
494 // IPv6 basic header, extension header and ICMP header
525 // The Fragment Header Length is 8 octets.
1031 if ((EFI_IP4 (RxData->Ip4RxData.Header->SourceAddress) != 0) &&
1033 IP4_NET_EQUAL (IpIo->StationIp, EFI_NTOHL (((EFI_IP4_RECEIVE_DATA *) RxData)->Header->SourceAddress), IpIo->SubnetMask) &&
1034 !NetIp4IsUnicast (EFI_NTOHL (((EFI_IP4_RECEIVE_DATA *) RxData)->Header->SourceAddress), IpIo->SubnetMask)) {
1066 Session.Source.Addr[0] = EFI_IP4 (RxData->Ip4RxData.Header->SourceAddress);
1067 Session.Dest.Addr[0] = EFI_IP4 (RxData->Ip4RxData.Header->DestinationAddress); [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/ |
XenStore.c | 98 struct xsd_sockmsg Header;
633 Status = XenStoreReadStore (&Message->Header, sizeof (Message->Header));
640 Body = AllocatePool (Message->Header.len + 1);
641 Status = XenStoreReadStore (Body, Message->Header.len);
648 Body[Message->Header.len] = '\0';
650 if (Message->Header.type == XS_WATCH_EVENT) {
651 Message->u.Watch.Vector = Split(Body, Message->Header.len,
768 *TypePtr = Message->Header.type;
770 *LenPtr = Message->Header.len; [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPMessage.java | 34 import gov.nist.javax.sip.header.AlertInfo; 35 import gov.nist.javax.sip.header.Authorization; 36 import gov.nist.javax.sip.header.CSeq; 37 import gov.nist.javax.sip.header.CallID; 38 import gov.nist.javax.sip.header.Contact; 39 import gov.nist.javax.sip.header.ContactList; 40 import gov.nist.javax.sip.header.ContentLength; 41 import gov.nist.javax.sip.header.ContentType; 42 import gov.nist.javax.sip.header.ErrorInfo; 43 import gov.nist.javax.sip.header.ErrorInfoList 579 SIPHeader header = (SIPHeader) sipHeader; local [all...] |
/external/syzkaller/vendor/golang.org/x/net/http2/ |
write.go | 182 h http.Header // may be nil 193 log.Printf("http2: server encoding header %q = %q", k, v) 255 h http.Header 331 // encodeHeaders encodes an http.Header. If keys is not nil, then (k, h[k]) 333 func encodeHeaders(enc *hpack.Encoder, h http.Header, keys []string) { 358 // TODO: more of "8.1.2.2 Connection-Specific Header Fields"
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/ |
DxeNetLib.c | 196 already has the ethernet header prepended. This function should
334 // Fill in the Ethernet header. Leave alone the source MAC.
347 // Fill in the IP header
366 // Fill in the UDP header, Udp checksum is optional. Leave it zero.
517 // that the message plus the ethernet/ip/udp header is shorter
528 // Build the message: Ethernet header + IP header + Udp Header + user data
945 @param[in, out] Head The list header.
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiProto.c | 671 // The status is sucess, extract the wanted fields from the header segment.
734 // Trim off the header segment.
930 Receive an iSCSI response PDU. An iSCSI response PDU contains an iSCSI PDU header and
939 @param[in] HeaderDigest Whether there will be header digest received.
961 UINT8 *Header;
978 // The header digest will be received together with the PDU header if exists.
987 Header = NetbufAllocSpace (PduHdr, Len, NET_BUF_TAIL);
988 ASSERT (Header != NULL);
1001 // TODO: check the header-digest. [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/ |
ResourceFileWriter.cpp | 773 // Group icon directory header. Called ICONDIR in .ico/.cur files and 788 const ResourceDirEntryStart &Header; 794 : RCResource(Flags), Type(ResourceType), Header(HeaderEntry), 810 GroupIconDir Header; 816 : Type(ResourceType), Header(HeaderData), 838 writeObject(Res->Header.Planes); 839 writeObject(Res->Header.BitCount); 848 writeObject(Res->Header); 888 // - At the beginning, ICONDIR/NEWHEADER header. 891 const GroupIconDir *Header; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/ |
test_email_renamed.py | 17 from email.header import Header, decode_header, make_header
164 # header appears fifth.
167 header, value = msg.items()[4]
168 eq(header.lower(), 'content-type')
170 # This one has a Content-Type: header, with a boundary, stuck in the
175 header, value = msg.items()[4]
176 eq(header.lower(), 'content-type')
178 # And this one has no Content-Type: header at all.
201 # Subpart 5 has no Content-Transfer-Encoding: header. [all...] |
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
Ip4.c | 427 pRxData->Header->SourceAddress.Addr[0],
428 pRxData->Header->SourceAddress.Addr[1],
429 pRxData->Header->SourceAddress.Addr[2],
430 pRxData->Header->SourceAddress.Addr[3]));
433 &pRxData->Header->SourceAddress.Addr[0],
438 // Copy the IP header
445 "0x%08x --> 0x%08x: Copy header 0x%08x bytes\r\n",
446 pRxData->Header,
449 CopyMem ( pBuffer, pRxData->Header, HeaderBytes );
721 // IP header will be included with the data on transmit [all...] |
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 176 /// \brief Collect the set of header includes needed to construct the given 193 for (Module::Header &H : Module->Headers[HK]) { 204 if (Module::Header UmbrellaHeader = Module->getUmbrellaHeader()) { 207 // Include the umbrella header for submodules. 226 const FileEntry *Header = FileMgr.getFile(Dir->getName()); 229 if (!Header) 232 // If this header is marked 'unavailable' in this module, don't include 234 if (ModMap.isHeaderUnavailableInModule(Header, Module)) 247 // Include this header as part of the umbrella directory. 248 Module->addTopHeader(Header); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
DWARFUnit.cpp | 52 const DWARFUnitHeader &Header, 57 : Context(DC), InfoSection(Section), Header(Header), Abbrev(DA), 139 // Header fields all parsed, capture the size of this unit header. 140 assert(*offset_ptr - Offset <= 255 && "unexpected header size"); 143 // Type offset is unit-relative; should be after the header and before 161 // Parse the rangelist table header, including the optional array of offsets 167 // header, which is 12 bytes long for DWARF32. 214 // next compilation unit header [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
elf2yaml.cpp | 113 // Dump header 114 Y->Header.Class = ELFYAML::ELF_ELFCLASS(Obj.getHeader()->getFileClass()); 115 Y->Header.Data = ELFYAML::ELF_ELFDATA(Obj.getHeader()->getDataEncoding()); 116 Y->Header.OSABI = Obj.getHeader()->e_ident[ELF::EI_OSABI]; 117 Y->Header.Type = Obj.getHeader()->e_type; 118 Y->Header.Machine = Obj.getHeader()->e_machine; 119 Y->Header.Flags = Obj.getHeader()->e_flags; 120 Y->Header.Entry = Obj.getHeader()->e_entry;
|
/art/dexlayout/ |
dex_ir.h | 16 * Header file of an in-memory representation of DEX files. 52 class Header; 84 virtual void Dispatch(Header* header) = 0; 327 // 0 is the dex file header and shouldn't be a valid offset for any part of the dex file. 350 class Header : public Item { 352 Header(const uint8_t* magic, 376 Header(const uint8_t* magic, 412 ~Header() override { } 579 DISALLOW_COPY_AND_ASSIGN(Header); [all...] |