/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
DataHeader.java | 10 public final class DataHeader { 40 public DataHeader(int size, int elementsOrVersion) { 67 DataHeader other = (DataHeader) object;
|
Decoder.java | 137 * Deserializes a {@link DataHeader} at the current position. 139 public DataHeader readDataHeader() { 141 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); 142 DataHeader result = readDataHeaderAtOffset(0, false); 144 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + result.size); 149 * Deserializes a {@link DataHeader} for an union at the given offset. 151 public DataHeader readDataHeaderForUnion(int offset) { 152 DataHeader result = readDataHeaderAtOffset(offset, true); 176 * Deserializes a {@link DataHeader} at the given offset. 178 private DataHeader readDataHeaderAtOffset(int offset, boolean isUnion) [all...] |
MessageHeader.java | 16 private static final DataHeader SIMPLE_MESSAGE_STRUCT_INFO = 17 new DataHeader(SIMPLE_MESSAGE_SIZE, SIMPLE_MESSAGE_VERSION); 21 private static final DataHeader MESSAGE_WITH_REQUEST_ID_STRUCT_INFO = 22 new DataHeader(MESSAGE_WITH_REQUEST_ID_SIZE, MESSAGE_WITH_REQUEST_ID_VERSION); 44 private final DataHeader mDataHeader; 222 * Validate that the given {@link DataHeader} can be the data header of a message header. 224 private static void validateDataHeader(DataHeader dataHeader) { 225 if (dataHeader.elementsOrVersion < SIMPLE_MESSAGE_VERSION) { 227 + SIMPLE_MESSAGE_VERSION + ", but got: " + dataHeader.elementsOrVersion) [all...] |
Encoder.java | 140 public Encoder getEncoderAtDataOffset(DataHeader dataHeader) { 142 result.encode(dataHeader); 147 * Encode a {@link DataHeader} and claim the amount of memory required for the data section 150 public void encode(DataHeader s) { 152 encode(s.size, DataHeader.SIZE_OFFSET); 153 encode(s.elementsOrVersion, DataHeader.ELEMENTS_OR_VERSION_OFFSET); 231 encode(0L, offset + DataHeader.HEADER_SIZE); 437 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, 454 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_INTERFACE_SIZE * i [all...] |
BindingsHelper.java | 45 public static final DataHeader MAP_STRUCT_HEADER = new DataHeader(24, 0);
|
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
StatusCodeDataTypeId.h | 87 /// The data header identifying the data. DataHeader.HeaderSize should be
88 /// sizeof (EFI_STATUS_CODE_DATA), DataHeader.Size should be
90 /// DataHeader.Type should be
93 EFI_STATUS_CODE_DATA DataHeader;
143 /// The data header identifying the data. DataHeader.HeaderSize should be
144 /// sizeof (EFI_STATUS_CODE_DATA). DataHeader.Size should be the size
145 /// of variable-length DevicePath, and DataHeader.Size is zero for a virtual
146 /// device that does not have a device path. DataHeader.Type should be
149 EFI_STATUS_CODE_DATA DataHeader;
153 /// populated only if it is a physical device. For virtual devices, the Size field in DataHeader
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/StatusCodeDataTypeId/ |
StatusCodeDataTypeId.h | 91 EFI_STATUS_CODE_DATA DataHeader;
159 EFI_STATUS_CODE_DATA DataHeader;
168 EFI_STATUS_CODE_DATA DataHeader;
176 EFI_STATUS_CODE_DATA DataHeader;
184 EFI_STATUS_CODE_DATA DataHeader;
209 EFI_STATUS_CODE_DATA DataHeader;
218 EFI_STATUS_CODE_DATA DataHeader;
234 EFI_STATUS_CODE_DATA DataHeader;
253 EFI_STATUS_CODE_DATA DataHeader;
304 EFI_STATUS_CODE_DATA DataHeader;
[all...] |
/external/icu/icu4c/source/common/ |
ucmndata.h | 44 MappedData dataHeader; 46 } DataHeader; 63 * Get the header size from a const DataHeader *udh. 69 udata_getHeaderSize(const DataHeader *udh); 88 typedef const DataHeader *
|
udatamem.h | 30 const DataHeader *pHeader; /* Header of the memory being described by this */ 53 U_CFUNC const DataHeader *UDataMemory_normalizeDataPointer(const void *p);
|
udatamem.cpp | 58 U_CFUNC const DataHeader * 61 const DataHeader *pdh = (const DataHeader *)p; 62 if(pdh==NULL || (pdh->dataHeader.magic1==0xda && pdh->dataHeader.magic2==0x27)) { 78 return (const DataHeader *)*((const void **)p+1); 80 return (const DataHeader *)((const double *)p+1);
|
udataswp.cpp | 26 #include "ucmndata.h" /* DataHeader */ 289 const DataHeader *pHeader; 302 pHeader=(const DataHeader *)inData; 303 if( (length>=0 && length<(int32_t)sizeof(DataHeader)) || 304 pHeader->dataHeader.magic1!=0xda || 305 pHeader->dataHeader.magic2!=0x27 || 313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); 316 if( headerSize<sizeof(DataHeader) || 318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || 328 DataHeader *outHeader [all...] |
umapfile.cpp | 188 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); 248 pData->pHeader=(const DataHeader *)data; 326 pData->pHeader=(const DataHeader *)p; 423 const DataHeader *pHeader; 466 pData->pHeader=(const DataHeader *)data; 510 pData->pHeader=(const DataHeader *)val;
|
ucmndata.cpp | 36 udata_getHeaderSize(const DataHeader *udh) { 41 return udh->dataHeader.headerSize; 44 uint16_t x=udh->dataHeader.headerSize; 73 const DataHeader *pHeader; 225 static const DataHeader * U_CALLCONV 255 return (const DataHeader *)(base+entry->dataOffset); 277 static const DataHeader * U_CALLCONV pointerTOCLookupFn(const UDataMemory *pData, 333 } else if(!(udm->pHeader->dataHeader.magic1==0xda && 334 udm->pHeader->dataHeader.magic2==0x27 &&
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
MiscProcessorCacheFunction.c | 76 EFI_SUBCLASS_TYPE1_HEADER *DataHeader;
122 DataHeader = (EFI_SUBCLASS_TYPE1_HEADER *)(Record + 1);
123 SrcData = (UINT8 *)(DataHeader + 1);
124 if (CompareGuid(&Record->DataRecordGuid, &gEfiCacheSubClassGuid) && (DataHeader->RecordType == CacheSizeRecordType)) {
125 if (DataHeader->SubInstance == EFI_CACHE_L1) {
129 else if (DataHeader->SubInstance == EFI_CACHE_L2) {
|
MiscProcessorInformationFunction.c | 189 EFI_SUBCLASS_TYPE1_HEADER *DataHeader;
234 DataHeader = (EFI_SUBCLASS_TYPE1_HEADER *)(Record + 1);
235 SrcData = (UINT8 *)(DataHeader + 1);
242 switch (DataHeader->RecordType) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ |
Translate.c | 51 EFI_SUBCLASS_TYPE1_HEADER *DataHeader;
65 DataHeader = (EFI_SUBCLASS_TYPE1_HEADER *) (Record + 1);
66 SrcData = (UINT8 *) (DataHeader + 1);
69 if (DataHeader->HeaderSize != sizeof (EFI_SUBCLASS_TYPE1_HEADER) ||
70 DataHeader->Instance == EFI_SUBCLASS_INSTANCE_RESERVED ||
71 DataHeader->SubInstance == EFI_SUBCLASS_INSTANCE_RESERVED
90 if (mConversionTable[Index].RecordType == DataHeader->RecordType) {
125 StructureNode->Instance == DataHeader->Instance &&
126 StructureNode->SubInstance == DataHeader->SubInstance &&
143 StructureNode->Instance == DataHeader->Instance && [all...] |
ProcessorConv.c | 35 EFI_SUBCLASS_TYPE1_HEADER *DataHeader;
40 DataHeader = (EFI_SUBCLASS_TYPE1_HEADER *) RecordData;
41 LinkData = (EFI_INTER_LINK_DATA *) (DataHeader + 1);
|
/external/icu/icu4c/source/test/testmap/ |
testmap.c | 25 extern const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
SetupInfoRecords.c | 468 EFI_SUBCLASS_TYPE1_HEADER *DataHeader;
492 DataHeader = (EFI_SUBCLASS_TYPE1_HEADER *)(Record + 1);
495 (DataHeader->RecordType == CacheTypeRecordType) &&
496 (DataHeader->Instance == Instance) &&
497 (DataHeader->SubInstance == SubInstance)) {
498 CacheVariableRecord = (EFI_CACHE_VARIABLE_RECORD *)(DataHeader + 1);
532 EFI_SUBCLASS_TYPE1_HEADER *DataHeader;
572 DataHeader = (EFI_SUBCLASS_TYPE1_HEADER *)(Record + 1);
573 SrcData = (UINT8 *)(DataHeader + 1);
580 switch (DataHeader->RecordType) { [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/ |
LightMemoryTest.c | 394 ExtendedErrorData->DataHeader.HeaderSize = (UINT16) sizeof (EFI_STATUS_CODE_DATA);
395 ExtendedErrorData->DataHeader.Size = (UINT16) (sizeof (EFI_MEMORY_EXTENDED_ERROR_DATA) - sizeof (EFI_STATUS_CODE_DATA));
409 ExtendedErrorData->DataHeader.Size
574 RangeData->DataHeader.HeaderSize = (UINT16) sizeof (EFI_STATUS_CODE_DATA);
575 RangeData->DataHeader.Size = (UINT16) (sizeof (EFI_MEMORY_RANGE_EXTENDED_DATA) - sizeof (EFI_STATUS_CODE_DATA));
586 RangeData->DataHeader.Size
|
/art/tools/dmtracedump/ |
createtesttrace.cc | 36 typedef struct DataHeader { 41 } DataHeader; 47 DataHeader header = {0x574f4c53, VERSION, sizeof(DataHeader), 0LL};
|
/external/icu/icu4c/source/tools/genbrk/ |
genbrk.cpp | 103 DataHeader dh ={ 104 {sizeof(DataHeader), // Struct MappedData
|
/external/icu/icu4c/source/tools/gencfu/ |
gencfu.cpp | 106 DataHeader dh ={ 107 {sizeof(DataHeader), // Struct MappedData
|
/external/icu/icu4c/source/tools/toolutil/ |
package.cpp | 115 const DataHeader *pHeader; 122 (length>=0 && length<(int32_t)sizeof(DataHeader)) 128 pHeader=(const DataHeader *)data; 130 if( (length>=0 && length<(int32_t)sizeof(DataHeader)) || 131 pHeader->dataHeader.magic1!=0xda || 132 pHeader->dataHeader.magic2!=0x27 || 140 headerLength=pHeader->dataHeader.headerSize; 143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); 147 if( headerLength<(int32_t)sizeof(DataHeader) || 149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) | [all...] |
/external/icu/icu4c/source/i18n/ |
collationdatareader.cpp | 55 const DataHeader *header = reinterpret_cast<const DataHeader *>(inBytes); 56 if(!(header->dataHeader.magic1 == 0xda && header->dataHeader.magic2 == 0x27 && 65 int32_t headerLength = header->dataHeader.headerSize;
|