/external/volley/src/test/java/com/android/volley/toolbox/ |
BaseHttpStackTest.java | 8 import com.android.volley.Header; 46 return new HttpResponse(12345, Collections.<Header>emptyList()); 66 12345, Collections.<Header>emptyList(), 555, mContent); 86 List<Header> headers = new ArrayList<>(); 87 headers.add(new Header("HeaderA", "ValueA")); 88 headers.add(new Header("HeaderB", "ValueB_1")); 89 headers.add(new Header("HeaderB", "ValueB_2"));
|
AdaptedHttpStackTest.java | 8 import com.android.volley.Header; 62 when(mHttpResponse.getAllHeaders()).thenReturn(new org.apache.http.Header[0]); 76 when(mHttpResponse.getAllHeaders()).thenReturn(new org.apache.http.Header[0]); 94 when(mHttpResponse.getAllHeaders()).thenReturn(new org.apache.http.Header[0]); 108 new org.apache.http.Header[] { 121 List<Header> expectedHeaders = new ArrayList<>(); 122 expectedHeaders.add(new Header("header1", "value1_B")); 123 expectedHeaders.add(new Header("header3", "value3")); 124 expectedHeaders.add(new Header("HEADER2", "value2")); 125 expectedHeaders.add(new Header("header1", "value1_A")) [all...] |
/frameworks/base/cmds/idmap2/include/idmap2/ |
Idmap.h | 20 * idmap := header data* 21 * header := magic version target_crc overlay_crc target_path overlay_path 115 // header is up-to-date the entire file is up-to-date. 137 class Header { 139 static std::unique_ptr<const Header> FromBinaryStream(std::istream& stream); 152 Header() { 159 DISALLOW_COPY_AND_ASSIGN(Header); 203 inline const std::unique_ptr<const Header>& GetHeader() const { 217 std::unique_ptr<const Header> header_; 267 virtual void visit(const IdmapHeader& header) = 0 [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/ |
FaultTolerantWrite.c | 102 // Find the last write header and record.
103 // If the FtwHeader is complete, skip the completed last write header/records
126 // Prepare FTW write header,
148 // Update Header->WriteAllocated as VALID
195 EFI_FAULT_TOLERANT_WRITE_HEADER *Header;
206 Header = FtwDevice->FtwLastWriteHeader;
266 // set the complete flag of write header.
268 if (IsLastRecordOfWrites (Header, Record)) {
269 Offset = (UINT8 *) Header - FtwDevice->FtwWorkSpace;
277 Header->Complete = FTW_VALID_STATE; [all...] |
/external/llvm/include/llvm/Object/ |
ELF.h | 74 const Elf_Ehdr *Header; 76 StringRef DotShstrtab; // Section header string table. 102 return Header->e_machine == ELF::EM_MIPS && 103 Header->getFileClass() == ELF::ELFCLASS64; 107 return Header->e_machine == ELF::EM_MIPS && 108 Header->getFileClass() == ELF::ELFCLASS64 && 109 Header->getDataEncoding() == ELF::ELFDATA2LSB; 171 /// \brief Iterate over program header table. 173 if (Header->e_phnum && Header->e_phentsize != sizeof(Elf_Phdr) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
WinCOFFObjectWriter.cpp | 115 COFF::section Header = {}; 139 COFF::header Header = {}; 154 memset(&Header, 0, sizeof(Header)); 155 Header.Machine = TargetObjectWriter->getMachine(); 181 void WriteFileHeader(const COFF::header &Header); 231 Header.Machine = TargetObjectWriter->getMachine(); 311 Section->Header.Characteristics = MCSec.getCharacteristics() [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/Hob/ |
PeiHobLib.c | 54 Hob.Header->HobType = EFI_HOB_TYPE_END_OF_HOB_LIST;
55 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_GENERIC_HEADER);
57 Hob.Header++;
104 Hob.Header->HobType = EFI_HOB_TYPE_HANDOFF;
105 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_HANDOFF_INFO_TABLE);
163 Hob.Header->HobType = EFI_HOB_TYPE_MEMORY_ALLOCATION;
164 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION_MODULE);
220 Hob.Header->HobType = EFI_HOB_TYPE_RESOURCE_DESCRIPTOR;
221 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_RESOURCE_DESCRIPTOR);
274 Hob.Header->HobType = EFI_HOB_TYPE_GUID_EXTENSION; [all...] |
/external/llvm/lib/ObjectYAML/ |
COFFYAML.cpp | 20 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); } 21 Symbol::Symbol() { memset(&Header, 0, sizeof(COFF::symbol)); } 22 Object::Object() { memset(&Header, 0, sizeof(COFF::header)); } 347 COFF::header &H = *static_cast<COFF::header *>(IO.getContext()); 370 PH.Header.Subsystem); 372 IO, PH.Header.DLLCharacteristics); 374 IO.mapRequired("AddressOfEntryPoint", PH.Header.AddressOfEntryPoint); 375 IO.mapRequired("ImageBase", PH.Header.ImageBase) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
Http2ConnectionTest.java | 357 final List<Header> expectedRequestHeaders = Arrays.asList( 358 new Header(Header.TARGET_METHOD, "GET"), 359 new Header(Header.TARGET_SCHEME, "https"), 360 new Header(Header.TARGET_AUTHORITY, "squareup.com"), 361 new Header(Header.TARGET_PATH, "/cached") 364 final List<Header> expectedResponseHeaders = Arrays.asList [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
Capsule.py | 61 # Generate capsule header
69 Header = StringIO.StringIO()
73 Header.write(PackRegistryFormatGuid('6DCBD5ED-E82D-4C44-BDA1-7194199AD92A'))
76 Header.write(pack('=I', int(self.TokensDict['CAPSULE_HEADER_SIZE'], 16)))
79 Header.write(pack('=I', 0x20))
91 Header.write(pack('=I', Flags))
179 Header.write(pack('=I', HdrSize + BodySize))
181 # The real capsule header structure is 28 bytes
183 Header.write('\x00'*(HdrSize-28))
184 Header.write(FwMgrHdr.getvalue()) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2109Spec.java | 38 import org.apache.http.Header; 108 public List<Cookie> parse(final Header header, final CookieOrigin origin) 110 if (header == null) { 111 throw new IllegalArgumentException("Header may not be null"); 116 HeaderElement[] elems = header.getElements(); 136 public List<Header> formatCookies(List<Cookie> cookies) { 155 private List<Header> doFormatOneHeader(final List<Cookie> cookies) { 173 List<Header> headers = new ArrayList<Header>(1) [all...] |
BrowserCompatSpec.java | 39 import org.apache.http.Header; 108 public List<Cookie> parse(final Header header, final CookieOrigin origin) 110 if (header == null) { 111 throw new IllegalArgumentException("Header may not be null"); 116 String headervalue = header.getValue(); 137 if (header instanceof FormattedHeader) { 138 buffer = ((FormattedHeader) header).getBuffer(); 140 ((FormattedHeader) header).getValuePos(), 143 String s = header.getValue() [all...] |
NetscapeDraftSpec.java | 38 import org.apache.http.Header; 101 * <p>Syntax of the Set-Cookie HTTP Response Header:</p> 112 * conform to the HTTP header format. Netscape draft does not specify 113 * whether multiple cookies may be sent in one header. Hence, comma 120 * @param header the <tt>Set-Cookie</tt> received from the server 124 public List<Cookie> parse(final Header header, final CookieOrigin origin) 126 if (header == null) { 127 throw new IllegalArgumentException("Header may not be null"); 135 if (header instanceof FormattedHeader) [all...] |
/external/compiler-rt/lib/scudo/ |
scudo_allocator.cpp | 13 /// header, a delayed free list, and additional sanity checks. 60 // Our header requires 128-bit of storage on x64 (the only platform supported 66 // The header will be atomically loaded and stored using the 16-byte primitives 91 // prevent this, we work with a local copy of the header. 92 void *AllocBeg(UnpackedHeader *Header) { 94 reinterpret_cast<uptr>(this) - (Header->Offset << MinAlignmentLog)); 99 u16 Checksum(UnpackedHeader *Header) const { 101 memcpy(HeaderHolder, Header, sizeof(HeaderHolder)); 104 // significant bits of the first 8 bytes of the header, hence zero-ing 112 // Loads and unpacks the header, verifying the checksum in the process [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
CommonXml.py | 169 CheckDict = {'Header':''}
199 def ToXml(self, Header, Key):
202 Element1 = CreateXmlElement('Name', Header.GetName(), [], [['BaseName', Header.GetBaseName()]])
203 Element2 = CreateXmlElement('GUID', Header.GetGuid(), [], [['Version', Header.GetVersion()]])
212 if Header.UniFileClassObject is not None:
213 UniStrDict = Header.UniFileClassObject.OrderedStringList
226 # Get Abstract and Description from INF File Header
227 for (Lang, Value) in Header.GetCopyright(): [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
VfrFormPkg.h | 301 return &(Qheader)->Header;
536 CIfrOpHeader (EFI_IFR_FORM_SET_OP, &mFormSet->Header, Size) {
573 CIfrOpHeader (EFI_IFR_END_OP, &mEnd->Header) {}
582 CIfrOpHeader (EFI_IFR_DEFAULTSTORE_OP, &mDefaultStore->Header) {
621 CIfrOpHeader (EFI_IFR_FORM_OP, &mForm->Header) {
646 CIfrOpHeader (EFI_IFR_VARSTORE_OP, &mVarStore->Header) {
686 CIfrOpHeader (EFI_IFR_VARSTORE_EFI_OP, &mVarStoreEfi->Header) {
710 CIfrOpHeader (EFI_IFR_VARSTORE_NAME_VALUE_OP, &mVarStoreNameValue->Header) {
730 CIfrOpHeader (EFI_IFR_FORM_OP, &mImage->Header) {
745 CIfrOpHeader (EFI_IFR_LOCKED_OP, &mLocked->Header) {}
[all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
WebAssemblyCFGStackify.cpp | 95 MachineBasicBlock *Header = nullptr; 100 Header = Header ? MDT.findNearestCommonDominator(Header, Pred) : Pred; 104 if (!Header) 109 assert(&MBB != &MF.front() && "Header blocks shouldn't have predecessors"); 114 for (MachineFunction::iterator I(LayoutPred), E(Header); I != E; --I) { 116 if (ScopeTop->getNumber() > Header->getNumber()) { 121 Header = ScopeTop; 127 // Decide where in Header to put the BLOCK [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
UefiDevicePathLib.h | 113 EFI_DEVICE_PATH_PROTOCOL Header;
119 EFI_DEVICE_PATH_PROTOCOL Header;
125 EFI_DEVICE_PATH_PROTOCOL Header;
131 EFI_DEVICE_PATH_PROTOCOL Header;
139 EFI_DEVICE_PATH_PROTOCOL Header;
148 EFI_DEVICE_PATH_PROTOCOL Header;
331 NodeLength and initializes the device path node header with NodeType and NodeSubType.
333 If NodeLength is smaller than a device path header, then NULL is returned.
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
PublicsStream.cpp | 80 uint32_t PublicsStream::getSymHash() const { return Header->SymHash; } 81 uint32_t PublicsStream::getAddrMap() const { return Header->AddrMap; } 94 "Publics Stream does not contain a header."); 97 if (Reader.readObject(Header)) 99 "Publics Stream does not contain a header."); 103 "Publics Stream does not contain a header."); 137 uint32_t NumAddressMapEntries = Header->AddrMap / sizeof(uint32_t); 144 if (auto EC = Reader.readArray(ThunkMap, Header->NumThunks)) 150 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections))
|
/external/llvm/tools/yaml2obj/ |
yaml2macho.cpp | 32 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || 33 Obj.Header.magic == MachO::MH_CIGAM_64; 34 memset(reinterpret_cast<void *>(&Header), 0, sizeof(MachO::mach_header_64)); 62 MachO::mach_header_64 Header; 77 Header.magic = Obj.Header.magic; 78 Header.cputype = Obj.Header.cputype; 79 Header.cpusubtype = Obj.Header.cpusubtype 469 MachO::fat_header header; local [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
table.cc | 56 Table::Table(Header* header, ReadableFontData* data) 58 header_ = header; 71 derived_table->header_ = new Header(header()->tag(), 77 Table::Builder* Table::Builder::GetBuilder(Header* header, 79 int32_t tag = header->tag(); 86 FontHeaderTable::Builder::CreateBuilder(header, table_data)); 90 CMapTable::Builder::CreateBuilder(header, table_data)) [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
HiiImageDecoder.h | 73 // Header The common header
78 EFI_HII_IMAGE_DECODER_IMAGE_INFO_HEADER Header;
85 // Header The common header
90 EFI_HII_IMAGE_DECODER_IMAGE_INFO_HEADER Header;
99 EFI_HII_IMAGE_DECODER_IMAGE_INFO_HEADER Header;
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Madt/ |
Madt.h | 77 EFI_ACPI_1_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER Header;
109 EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER Header;
153 EFI_ACPI_3_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER Header;
|
/external/apache-http/src/org/apache/http/impl/entity/ |
EntityDeserializer.java | 36 import org.apache.http.Header; 97 Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE); 101 Header contentEncodingHeader = message.getFirstHeader(HTTP.CONTENT_ENCODING);
|
/external/llvm/include/llvm/Analysis/ |
Interval.h | 15 // 1. The header node of an interval dominates all of the elements of the 35 /// header) 38 /// HeaderNode - The header BasicBlock, which dominates all BasicBlocks in this 47 inline Interval(BasicBlock *Header) : HeaderNode(Header) { 48 Nodes.push_back(Header); 59 /// These nodes necessarily must be header nodes for other intervals. 63 /// Predecessors - List of BasicBlocks that have this Interval's header block 89 /// same partition, because of this, all we have to check is the header node
|