/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 139 public DataHeader readDataHeader() { in readDataHeader() 141 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); in readDataHeader() 142 DataHeader result = readDataHeaderAtOffset(0, false); in readDataHeader() 144 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + result.size); in readDataHeader() 151 public DataHeader readDataHeaderForUnion(int offset) { in readDataHeaderForUnion() 152 DataHeader result = readDataHeaderAtOffset(offset, true); in readDataHeaderForUnion() 178 private DataHeader readDataHeaderAtOffset(int offset, boolean isUnion) { in readDataHeaderAtOffset() 179 int size = readInt(offset + DataHeader.SIZE_OFFSET); in readDataHeaderAtOffset() 180 int elementsOrVersion = readInt(offset + DataHeader.ELEMENTS_OR_VERSION_OFFSET); in readDataHeaderAtOffset() 190 return new DataHeader(size, elementsOrVersion); in readDataHeaderAtOffset() [all …]
|
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 | 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 | 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.cpp | 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.cpp | 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<(int32_t)sizeof(DataHeader)) || in udata_openSwapperForInputData() [all …]
|
D | ucmndata.h | 46 } DataHeader; typedef 69 udata_getHeaderSize(const DataHeader *udh); 88 typedef const DataHeader *
|
D | umapfile.cpp | 188 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile() 248 pData->pHeader=(const DataHeader *)data; in uprv_mapFile() 326 pData->pHeader=(const DataHeader *)p; in uprv_mapFile() 423 const DataHeader *pHeader; in uprv_mapFile() 466 pData->pHeader=(const DataHeader *)data; in uprv_mapFile() 510 pData->pHeader=(const DataHeader *)val; in uprv_mapFile()
|
D | ucmndata.cpp | 36 udata_getHeaderSize(const DataHeader *udh) { in udata_getHeaderSize() 73 const DataHeader *pHeader; 225 static const DataHeader * U_CALLCONV 255 return (const DataHeader *)(base+entry->dataOffset); in offsetTOCLookupFn() 277 static const DataHeader * U_CALLCONV 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 | 304 DataHeader header; in ucnvsel_serialize() 485 const DataHeader *pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized() 532 pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized()
|
D | udata.cpp | 644 extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT; 946 const DataHeader *pHeader, /* The data item to be checked. */ in checkDataItem() 1051 const DataHeader *pHeader; in doLoadFromCommonData()
|
D | rbbidata.cpp | 49 const DataHeader *dh = udm->pHeader; in RBBIDataWrapper()
|
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/ |
D | data_types_definition.tmpl | 29 …{{encode(variable~'[i'~level~']', sub_kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + '… 46 …{{encode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0… 47 …{{encode('values'~level, kind.value_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE… 75 …{{decode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0… 78 ….value_kind|array('keys'~level~'.length'), 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + or… 85 …org.chromium.mojo.bindings.DataHeader si{{level+1}} = decoder{{level+1}}.readDataHeaderForPointerA… 88 …{{decode(variable~'[i'~(level+1)~']', kind.kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZ… 117 … static final org.chromium.mojo.bindings.DataHeader[] VERSION_ARRAY = new org.chromium.mojo.bindin… 119 …new org.chromium.mojo.bindings.DataHeader({{version.num_bytes}}, {{version.version}}){%- if not lo… 122 …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/libchrome/libchrome_tools/patch/ |
D | 580fcef.patch | 33 …org.chromium.mojo.bindings.DataHeader mainDataHeader = decoder0.readAndValidateDataHeader(VERSION_… 88 …org.chromium.mojo.bindings.DataHeader mainDataHeader = decoder0.readAndValidateDataHeader(VERSION_…
|
/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/libchrome/mojo/public/java/ |
D | BUILD.gn | 39 "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()
|