Home
last modified time | relevance | path

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

12

/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java8 import org.chromium.mojo.bindings.Struct.DataHeader;
119 public DataHeader readDataHeader() { in readDataHeader()
121 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); in readDataHeader()
122 int size = readInt(DataHeader.SIZE_OFFSET); in readDataHeader()
123 int numFields = readInt(DataHeader.NUM_FIELDS_OFFSET); in readDataHeader()
134 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + size); in readDataHeader()
135 DataHeader res = new DataHeader(size, numFields); in readDataHeader()
143 public DataHeader readDataHeaderForPointerArray(int expectedLength) { in readDataHeaderForPointerArray()
231 DataHeader si = d.readDataHeaderForBooleanArray(expectedLength); in readBooleans()
233 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readBooleans()
[all …]
DEncoder.java7 import org.chromium.mojo.bindings.Struct.DataHeader;
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.numFields, DataHeader.NUM_FIELDS_OFFSET); in encode()
403 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode()
420 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode()
437 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode()
481 new DataHeader(DataHeader.HEADER_SIZE + byteSize, length)); in encoderForArrayByTotalSize()
489 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append()
[all …]
DMessageHeader.java7 import org.chromium.mojo.bindings.Struct.DataHeader;
18 private static final DataHeader SIMPLE_MESSAGE_STRUCT_INFO =
19 new DataHeader(SIMPLE_MESSAGE_SIZE, SIMPLE_MESSAGE_NUM_FIELDS);
23 private static final DataHeader MESSAGE_WITH_REQUEST_ID_STRUCT_INFO =
24 new DataHeader(MESSAGE_WITH_REQUEST_ID_SIZE, MESSAGE_WITH_REQUEST_ID_NUM_FIELDS);
45 private final DataHeader mDataHeader;
227 private static void validateDataHeader(DataHeader dataHeader) { in validateDataHeader()
DStruct.java17 public static final class DataHeader { class in Struct
40 public DataHeader(int size, int numFields) { in DataHeader() method in Struct.DataHeader
70 DataHeader other = (DataHeader) object; in equals()
/external/chromium_org/third_party/icu/source/common/
Ducmndata.h44 } DataHeader; typedef
47 DataHeader hdr;
77 udata_getHeaderSize(const DataHeader *udh);
96 typedef const DataHeader *
Dudatamem.c56 U_CFUNC const DataHeader *
59 const DataHeader *pdh = (const DataHeader *)p; in UDataMemory_normalizeDataPointer()
76 return (const DataHeader *)*((const void **)p+1); in UDataMemory_normalizeDataPointer()
78 return (const DataHeader *)((const double *)p+1); in UDataMemory_normalizeDataPointer()
Dudataswp.c238 const DataHeader *pHeader; in udata_swapDataHeader()
251 pHeader=(const DataHeader *)inData; in udata_swapDataHeader()
252 if( (length>=0 && length<sizeof(DataHeader)) || in udata_swapDataHeader()
265 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
277 DataHeader *outHeader; in udata_swapDataHeader()
285 outHeader=(DataHeader *)outData; in udata_swapDataHeader()
363 const DataHeader *pHeader; in udata_openSwapperForInputData()
372 (length>=0 && length<sizeof(DataHeader)) || in udata_openSwapperForInputData()
379 pHeader=(const DataHeader *)data; in udata_openSwapperForInputData()
380 if( (length>=0 && length<sizeof(DataHeader)) || in udata_openSwapperForInputData()
[all …]
Dumapfile.c139 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile()
194 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
267 pData->pHeader=(const DataHeader *)p; in uprv_mapFile()
364 const DataHeader *pHeader; in uprv_mapFile()
402 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
446 pData->pHeader=(const DataHeader *)val; in uprv_mapFile()
Dudatamem.h28 const DataHeader *pHeader; /* Header of the memory being described by this */
51 U_CFUNC const DataHeader *UDataMemory_normalizeDataPointer(const void *p);
Ducmndata.c34 udata_getHeaderSize(const DataHeader *udh) { in udata_getHeaderSize()
71 const DataHeader *pHeader;
217 static const DataHeader *
246 return (const DataHeader *)(base+entry->dataOffset); in offsetTOCLookupFn()
269 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn()
/external/icu/icu4c/source/common/
Dudatamem.c56 U_CFUNC const DataHeader *
59 const DataHeader *pdh = (const DataHeader *)p; in UDataMemory_normalizeDataPointer()
76 return (const DataHeader *)*((const void **)p+1); in UDataMemory_normalizeDataPointer()
78 return (const DataHeader *)((const double *)p+1); in UDataMemory_normalizeDataPointer()
Dudataswp.c287 const DataHeader *pHeader; in udata_swapDataHeader()
300 pHeader=(const DataHeader *)inData; in udata_swapDataHeader()
301 if( (length>=0 && length<sizeof(DataHeader)) || in udata_swapDataHeader()
314 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
326 DataHeader *outHeader; in udata_swapDataHeader()
334 outHeader=(DataHeader *)outData; in udata_swapDataHeader()
419 const DataHeader *pHeader; in udata_openSwapperForInputData()
428 (length>=0 && length<sizeof(DataHeader)) || in udata_openSwapperForInputData()
435 pHeader=(const DataHeader *)data; in udata_openSwapperForInputData()
436 if( (length>=0 && length<sizeof(DataHeader)) || in udata_openSwapperForInputData()
[all …]
Ducmndata.h44 } DataHeader; typedef
63 udata_getHeaderSize(const DataHeader *udh);
82 typedef const DataHeader *
Dumapfile.c139 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile()
194 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
267 pData->pHeader=(const DataHeader *)p; in uprv_mapFile()
364 const DataHeader *pHeader; in uprv_mapFile()
402 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
446 pData->pHeader=(const DataHeader *)val; in uprv_mapFile()
Dudatamem.h28 const DataHeader *pHeader; /* Header of the memory being described by this */
51 U_CFUNC const DataHeader *UDataMemory_normalizeDataPointer(const void *p);
Ducmndata.c34 udata_getHeaderSize(const DataHeader *udh) { in udata_getHeaderSize()
71 const DataHeader *pHeader;
217 static const DataHeader *
246 return (const DataHeader *)(base+entry->dataOffset); in offsetTOCLookupFn()
269 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn()
/external/chromium_org/mojo/public/tools/bindings/generators/java_templates/
Dstruct_definition.tmpl20 …{{encode(variable~'[i'~level~']', sub_kind, 'DataHeader.HEADER_SIZE + org.chromium.mojo.bindings.B…
37DataHeader si{{level+1}} = decoder{{level+1}}.readDataHeaderForPointerArray({{array_expected_lengt…
40 …{{decode(variable~'[i'~(level+1)~']', kind.kind, 'DataHeader.HEADER_SIZE + org.chromium.mojo.bindi…
53 …private static final DataHeader DEFAULT_STRUCT_INFO = new DataHeader(STRUCT_SIZE, {{struct.packed.…
92 DataHeader mainDataHeader = decoder0.readDataHeader();
/external/chromium_org/third_party/icu/patches/
Dwpo.patch9 -extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
37 } DataHeader;
40 + DataHeader hdr;
91 + { /* DataHeader */
/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()
408 DataHeader *pHeader; in Package()
409 pHeader=(DataHeader *)header; in Package()
706 DataHeader *pHeader; in writePackage()
709 pHeader=(DataHeader *)header; in writePackage()
/external/chromium_org/third_party/icu/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()
408 DataHeader *pHeader; in Package()
409 pHeader=(DataHeader *)header; in Package()
705 DataHeader *pHeader; in writePackage()
708 pHeader=(DataHeader *)header; in writePackage()
/external/chromium_org/third_party/icu/source/test/testmap/
Dtestmap.c23 extern const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
/external/icu/icu4c/source/test/testmap/
Dtestmap.c23 extern const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
/external/chromium_org/third_party/icu/source/tools/genbrk/
Dgenbrk.cpp99 DataHeader dh ={
100 {sizeof(DataHeader), // Struct MappedData
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp99 DataHeader dh ={
100 {sizeof(DataHeader), // Struct MappedData
/external/chromium_org/third_party/icu/source/tools/gencfu/
Dgencfu.cpp99 DataHeader dh ={
100 {sizeof(DataHeader), // Struct MappedData

12