/external/sfntly/cpp/src/sfntly/table/bitmap/ |
eblc_table.h | 33 // header 132 Builder(Header* header, WritableFontData* data); 133 Builder(Header* header, ReadableFontData* data); 153 // Create a new builder using the header information and data provided. 154 // @param header the header information 156 static CALLER_ATTACH Builder* CreateBuilder(Header* header, [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
OpcodeCreation.c | 195 UTextOpCode.Header.OpCode = EFI_IFR_TEXT_OP;
196 UTextOpCode.Header.Length = (UINT8) sizeof (EFI_IFR_TEXT);
232 UOpcode.Header.Length = (UINT8) sizeof (UOpcode);
233 UOpcode.Header.OpCode = EFI_IFR_REF_OP;
235 UOpcode.Question.Header.Prompt = FwOpcode->Prompt;
236 UOpcode.Question.Header.Help = FwOpcode->Help;
272 UOpcode.Header.Length = (UINT8) sizeof (UOpcode);
273 UOpcode.Header.OpCode = EFI_IFR_ONE_OF_OPTION_OP;
377 UOpcode.Header.Length = (UINT8) sizeof (UOpcode);
378 UOpcode.Header.OpCode = EFI_IFR_ONE_OF_OP; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/LockBox/SmmLockBox/ |
SmmLockBox.c | 65 LockBoxParameterSave->Header.ReturnStatus = (UINT64)EFI_ACCESS_DENIED;
76 LockBoxParameterSave->Header.ReturnStatus = (UINT64)EFI_ACCESS_DENIED;
88 LockBoxParameterSave->Header.ReturnStatus = (UINT64)Status;
110 LockBoxParameterSetAttributes->Header.ReturnStatus = (UINT64)EFI_ACCESS_DENIED;
123 LockBoxParameterSetAttributes->Header.ReturnStatus = (UINT64)Status;
149 LockBoxParameterUpdate->Header.ReturnStatus = (UINT64)EFI_ACCESS_DENIED;
160 LockBoxParameterUpdate->Header.ReturnStatus = (UINT64)EFI_ACCESS_DENIED;
173 LockBoxParameterUpdate->Header.ReturnStatus = (UINT64)Status;
201 LockBoxParameterRestore->Header.ReturnStatus = (UINT64)EFI_ACCESS_DENIED;
221 LockBoxParameterRestore->Header.ReturnStatus = (UINT64)Status; [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
Tpm2Session.c | 25 TPM2_COMMAND_HEADER Header;
36 TPM2_RESPONSE_HEADER Header;
84 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
85 SendBuffer.Header.commandCode = SwapBytes32(TPM_CC_StartAuthSession);
141 SendBuffer.Header.paramSize = SwapBytes32 (SendBufferSize);
156 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
157 DEBUG ((EFI_D_ERROR, "Tpm2StartAuthSession - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
|
/external/libmojo/mojo/edk/system/ |
channel.cc | 29 static_assert(sizeof(Channel::Message::Header) % kChannelMessageAlignment == 0, 30 "Invalid Header size."); 33 static_assert(sizeof(Channel::Message::Header) == 8, 34 "Header must be 8 bytes on ChromeOS and Android"); 46 Header::MessageType message_type) 52 // On Windows we serialize HANDLEs into the extra header space. 64 // Pad extra header data to be aliged to |kChannelMessageAlignment| bytes. 74 size_ = sizeof(Header) + extra_header_size + payload_size; 77 // Only zero out the header and not the payload. Since the payload is going to 82 memset(data_, 0, sizeof(Header) + extra_header_size) 127 const Header* header = reinterpret_cast<const Header*>(data); local 503 const Message::Header* header = reinterpret_cast<const Message::Header*>( local [all...] |
/external/llvm/lib/Object/ |
MachOUniversal.cpp | 48 // Parse object header. 53 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); 54 if (ParentData.size() < Header.offset + Header.size) { 77 ObjectData = ParentData.substr(Header.offset, Header.size); 94 ObjectData = ParentData.substr(Header.offset, Header.size); 124 // Check for magic value and sufficient header size.
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
GZipIntegrationTest.java | 47 import org.apache.http.Header; 88 Header contentEncoding = response.getFirstHeader("content-encoding"); 100 Header contentEncoding = response.getFirstHeader("content-encoding"); 111 Header contentEncoding = response.getFirstHeader("content-encoding"); 122 Header contentLength = response.getFirstHeader("content-length"); 150 Header contentEncoding = response.getFirstHeader("content-encoding"); 162 Header contentEncoding = response.getFirstHeader("content-encoding");
|
/frameworks/base/core/java/android/app/backup/ |
BackupHelperDispatcher.java | 31 private static class Header { 32 int chunkSize; // not including the header 50 Header header = new Header(); local 56 while ((err = readHeader_native(header, oldStateFD)) >= 0) { 58 BackupHelper helper = helpers.get(header.keyPrefix); 59 Log.d(TAG, "handling existing helper '" + header.keyPrefix + "' " + helper); 61 doOneBackup(oldState, data, newState, header, helper); 62 helpers.remove(header.keyPrefix) [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
cookie_test.go | 137 type headerOnlyResponseWriter Header 139 func (ho headerOnlyResponseWriter) Header() Header { 140 return Header(ho) 152 m := make(Header) 194 if g := req.Header.Get("Cookie"); g != tt.Raw { 202 Header Header 206 Header{"Set-Cookie": {"Cookie-1=v$1"}}, 210 Header{"Set-Cookie": {"NID=99=YsDT5i3E-CXax-; expires=Wed, 23-Nov-2011 01:05:03 GMT; path=/; domain=.goog (…) [all...] |
response_test.go | 53 Header: Header{ 76 Header: Header{}, 97 Header: Header{}, 121 Header: Header{ 151 Header: Header{}, [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
cookie_test.go | 137 type headerOnlyResponseWriter Header 139 func (ho headerOnlyResponseWriter) Header() Header { 140 return Header(ho) 152 m := make(Header) 194 if g := req.Header.Get("Cookie"); g != tt.Raw { 202 Header Header 206 Header{"Set-Cookie": {"Cookie-1=v$1"}}, 210 Header{"Set-Cookie": {"NID=99=YsDT5i3E-CXax-; expires=Wed, 23-Nov-2011 01:05:03 GMT; path=/; domain=.goog (…) [all...] |
response_test.go | 53 Header: Header{ 76 Header: Header{}, 97 Header: Header{}, 121 Header: Header{ 151 Header: Header{}, [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...] |
/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...] |
/art/runtime/ |
vdex_file.cc | 31 constexpr uint8_t VdexFile::Header::kVdexInvalidMagic[4]; 32 constexpr uint8_t VdexFile::Header::kVdexMagic[4]; 33 constexpr uint8_t VdexFile::Header::kVdexVersion[4]; 35 bool VdexFile::Header::IsMagicValid() const { 39 bool VdexFile::Header::IsVersionValid() const { 43 VdexFile::Header::Header(uint32_t number_of_dex_files, 122 reinterpret_cast<Header*>(vdex->mmap_->Begin())->quickening_info_size_ = 0; 136 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; 147 size_t size = reinterpret_cast<const DexFile::Header*>(dex_file_start)->file_size_ [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
Capsule.py | 54 # Generate capsule header
62 Header = StringIO.StringIO()
66 Header.write(PackRegistryFormatGuid('6DCBD5ED-E82D-4C44-BDA1-7194199AD92A'))
69 Header.write(pack('=I', int(self.TokensDict['CAPSULE_HEADER_SIZE'], 16)))
72 Header.write(pack('=I', 0x20))
84 Header.write(pack('=I', Flags))
116 Header.write(pack('=I', HdrSize + BodySize))
118 # The real capsule header structure is 28 bytes
120 Header.write('\x00'*(HdrSize-28))
121 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...] |
/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...] |
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
recorder.go | 30 HeaderMap http.Header 40 snapHeader http.Header // snapshot of HeaderMap at first Write 47 HeaderMap: make(http.Header), 57 // Header returns the response headers. 58 func (rw *ResponseRecorder) Header() http.Header { 61 m = make(http.Header) 67 // writeHeader writes a header if it was not written yet and 82 m := rw.Header() 114 // WriteHeader sets rw.Code. After it is called, changing rw.Header [all...] |
recorder_test.go | 53 return fmt.Errorf("HeaderMap header %s = %q; want %q", key, got, want) 60 if got := rec.Result().Header.Get(key); got != want { 61 return fmt.Errorf("final header %s = %q; want %q", key, got, want) 69 v, ok := rec.Result().Header[http.CanonicalHeaderKey(k)] 71 return fmt.Errorf("unexpected header %s with value %q", k, v) 164 w.Header().Set("Transfer-Encoding", "some encoding") 167 check(hasHeader("Content-Type", "")), // no header 172 w.Header().Set("Content-Type", "some/type") 189 "Header is not changed after write", 191 hdr := w.Header() [all...] |