Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java139 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 …]
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 …]
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()
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.cpp58 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.cpp289 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 …]
Ducmndata.h46 } DataHeader; typedef
69 udata_getHeaderSize(const DataHeader *udh);
88 typedef const DataHeader *
Dumapfile.cpp188 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()
Ducmndata.cpp36 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()
Dudatamem.h30 const DataHeader *pHeader; /* Header of the memory being described by this */
53 U_CFUNC const DataHeader *UDataMemory_normalizeDataPointer(const void *p);
Ducnvsel.cpp304 DataHeader header; in ucnvsel_serialize()
485 const DataHeader *pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized()
532 pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized()
Dudata.cpp644 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()
Drbbidata.cpp49 const DataHeader *dh = udm->pHeader; in RBBIDataWrapper()
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Ddata_types_definition.tmpl29 …{{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/
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/libchrome/libchrome_tools/patch/
D580fcef.patch33 …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/
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/libchrome/mojo/public/java/
DBUILD.gn39 "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()