Home
last modified time | relevance | path

Searched refs:DataHeader (Results 1 – 23 of 23) sorted by relevance

/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java118 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 …]
DDataHeader.java10 public final class DataHeader { class
40 public DataHeader(int size, int elementsOrVersion) { in DataHeader() method in DataHeader
67 DataHeader other = (DataHeader) object; in equals()
DEncoder.java140 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 …]
DMessageHeader.java16 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()
DBindingsHelper.java45 public static final DataHeader MAP_STRUCT_HEADER = new DataHeader(24, 0);
/external/icu/icu4c/source/common/
Dudatamem.c58 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()
Dudataswp.c289 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 …]
Ducmndata.h46 } DataHeader; typedef
65 udata_getHeaderSize(const DataHeader *udh);
84 typedef const DataHeader *
Dumapfile.c141 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()
Ducmndata.c36 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()
Dudatamem.h30 const DataHeader *pHeader; /* Header of the memory being described by this */
53 U_CFUNC const DataHeader *UDataMemory_normalizeDataPointer(const void *p);
Ducnvsel.cpp303 DataHeader header; in ucnvsel_serialize()
484 const DataHeader *pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized()
531 pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized()
Dudata.cpp627 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()
Drbbidata.cpp66 const DataHeader *dh = udm->pHeader; in RBBIDataWrapper()
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/
Ddata_types_definition.tmpl57 …{{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/
Dpackage.cpp115 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/
Dgencfu.cpp106 DataHeader dh ={
107 {sizeof(DataHeader), // Struct MappedData
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp103 DataHeader dh ={
104 {sizeof(DataHeader), // Struct MappedData
/external/icu/icu4c/source/test/testmap/
Dtestmap.c25 extern const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp55 const DataHeader *header = reinterpret_cast<const DataHeader *>(inBytes); in read()
Dcollationdatawriter.cpp183 DataHeader header; in write()
/external/libmojo/mojo/public/java/
DBUILD.gn35 "bindings/src/org/chromium/mojo/bindings/DataHeader.java",
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp354 const DataHeader *header; in main()
379 header = (const DataHeader *)poolBundle.fBytes; in main()