/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 118 public DataHeader readDataHeader() { in readDataHeader() 120 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); in readDataHeader() 121 DataHeader result = readDataHeaderAtOffset(0, false); in readDataHeader() 123 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + result.size); in readDataHeader() 130 public DataHeader readDataHeaderForUnion(int offset) { in readDataHeaderForUnion() 131 DataHeader result = readDataHeaderAtOffset(offset, true); in readDataHeaderForUnion() 157 private DataHeader readDataHeaderAtOffset(int offset, boolean isUnion) { in readDataHeaderAtOffset() 158 int size = readInt(offset + DataHeader.SIZE_OFFSET); in readDataHeaderAtOffset() 159 int elementsOrVersion = readInt(offset + DataHeader.ELEMENTS_OR_VERSION_OFFSET); in readDataHeaderAtOffset() 169 return new DataHeader(size, elementsOrVersion); in readDataHeaderAtOffset() [all …]
|
D | DataHeader.java | 10 public final class DataHeader { class 40 public DataHeader(int size, int elementsOrVersion) { in DataHeader() method in DataHeader 67 DataHeader other = (DataHeader) object; in equals()
|
D | Encoder.java | 140 public Encoder getEncoderAtDataOffset(DataHeader dataHeader) { in getEncoderAtDataOffset() 150 public void encode(DataHeader s) { in encode() 152 encode(s.size, DataHeader.SIZE_OFFSET); in encode() 153 encode(s.elementsOrVersion, DataHeader.ELEMENTS_OR_VERSION_OFFSET); in encode() 231 encode(0L, offset + DataHeader.HEADER_SIZE); in encode() 437 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode() 454 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_INTERFACE_SIZE * i, in encode() 487 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode() 550 new DataHeader(DataHeader.HEADER_SIZE + byteSize, length)); in encoderForArrayByTotalSize() 558 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append() [all …]
|
D | 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; 224 private static void validateDataHeader(DataHeader dataHeader) { in validateDataHeader()
|
D | BindingsHelper.java | 45 public static final DataHeader MAP_STRUCT_HEADER = new DataHeader(24, 0);
|
/external/icu/icu4c/source/common/ |
D | udatamem.c | 58 U_CFUNC const DataHeader * 61 const DataHeader *pdh = (const DataHeader *)p; in UDataMemory_normalizeDataPointer() 78 return (const DataHeader *)*((const void **)p+1); in UDataMemory_normalizeDataPointer() 80 return (const DataHeader *)((const double *)p+1); in UDataMemory_normalizeDataPointer()
|
D | udataswp.c | 289 const DataHeader *pHeader; in udata_swapDataHeader() 302 pHeader=(const DataHeader *)inData; in udata_swapDataHeader() 303 if( (length>=0 && length<(int32_t)sizeof(DataHeader)) || in udata_swapDataHeader() 316 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader() 328 DataHeader *outHeader; in udata_swapDataHeader() 336 outHeader=(DataHeader *)outData; in udata_swapDataHeader() 421 const DataHeader *pHeader; in udata_openSwapperForInputData() 430 (length>=0 && length<(int32_t)sizeof(DataHeader)) || in udata_openSwapperForInputData() 437 pHeader=(const DataHeader *)data; in udata_openSwapperForInputData() 438 if( (length>=0 && length<sizeof(DataHeader)) || in udata_openSwapperForInputData() [all …]
|
D | ucmndata.h | 46 } DataHeader; typedef 65 udata_getHeaderSize(const DataHeader *udh); 84 typedef const DataHeader *
|
D | umapfile.c | 141 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile() 196 pData->pHeader=(const DataHeader *)data; in uprv_mapFile() 269 pData->pHeader=(const DataHeader *)p; in uprv_mapFile() 366 const DataHeader *pHeader; in uprv_mapFile() 404 pData->pHeader=(const DataHeader *)data; in uprv_mapFile() 448 pData->pHeader=(const DataHeader *)val; in uprv_mapFile()
|
D | ucmndata.c | 36 udata_getHeaderSize(const DataHeader *udh) { in udata_getHeaderSize() 73 const DataHeader *pHeader; 219 static const DataHeader * 248 return (const DataHeader *)(base+entry->dataOffset); in offsetTOCLookupFn() 271 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn()
|
D | udatamem.h | 30 const DataHeader *pHeader; /* Header of the memory being described by this */ 53 U_CFUNC const DataHeader *UDataMemory_normalizeDataPointer(const void *p);
|
D | ucnvsel.cpp | 303 DataHeader header; in ucnvsel_serialize() 484 const DataHeader *pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized() 531 pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized()
|
D | udata.cpp | 627 extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT; 921 const DataHeader *pHeader, /* The data item to be checked. */ in checkDataItem() 1026 const DataHeader *pHeader; in doLoadFromCommonData()
|
D | rbbidata.cpp | 66 const DataHeader *dh = udm->pHeader; in RBBIDataWrapper()
|
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/ |
D | data_types_definition.tmpl | 57 …{{encode(variable~'[i'~level~']', sub_kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + '… 74 …{{encode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0… 75 …{{encode('values'~level, kind.value_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE… 103 …{{decode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0… 106 ….value_kind|array('keys'~level~'.length'), 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + or… 113 …org.chromium.mojo.bindings.DataHeader si{{level+1}} = decoder{{level+1}}.readDataHeaderForPointerA… 116 …{{decode(variable~'[i'~(level+1)~']', kind.kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZ… 145 … static final org.chromium.mojo.bindings.DataHeader[] VERSION_ARRAY = new org.chromium.mojo.bindin… 147 …new org.chromium.mojo.bindings.DataHeader({{version.num_bytes}}, {{version.version}}){% if not loo… 150 …private static final org.chromium.mojo.bindings.DataHeader DEFAULT_STRUCT_INFO = VERSION_ARRAY[{{s… [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | package.cpp | 115 const DataHeader *pHeader; in getDataInfo() 122 (length>=0 && length<(int32_t)sizeof(DataHeader)) in getDataInfo() 128 pHeader=(const DataHeader *)data; in getDataInfo() 130 if( (length>=0 && length<(int32_t)sizeof(DataHeader)) || in getDataInfo() 147 if( headerLength<(int32_t)sizeof(DataHeader) || in getDataInfo() 405 DataHeader *pHeader; in Package() 406 pHeader=(DataHeader *)header; in Package() 703 DataHeader *pHeader; in writePackage() 706 pHeader=(DataHeader *)header; in writePackage()
|
/external/icu/icu4c/source/tools/gencfu/ |
D | gencfu.cpp | 106 DataHeader dh ={ 107 {sizeof(DataHeader), // Struct MappedData
|
/external/icu/icu4c/source/tools/genbrk/ |
D | genbrk.cpp | 103 DataHeader dh ={ 104 {sizeof(DataHeader), // Struct MappedData
|
/external/icu/icu4c/source/test/testmap/ |
D | testmap.c | 25 extern const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
|
/external/icu/icu4c/source/i18n/ |
D | collationdatareader.cpp | 55 const DataHeader *header = reinterpret_cast<const DataHeader *>(inBytes); in read()
|
D | collationdatawriter.cpp | 183 DataHeader header; in write()
|
/external/libmojo/mojo/public/java/ |
D | BUILD.gn | 35 "bindings/src/org/chromium/mojo/bindings/DataHeader.java",
|
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 354 const DataHeader *header; in main() 379 header = (const DataHeader *)poolBundle.fBytes; in main()
|