Home
last modified time | relevance | path

Searched refs:dataHeader (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DMessageHeader.java227 private static void validateDataHeader(DataHeader dataHeader) { in validateDataHeader() argument
228 if (dataHeader.numFields < SIMPLE_MESSAGE_NUM_FIELDS) { in validateDataHeader()
231 + ", but got: " + dataHeader.numFields); in validateDataHeader()
233 if (dataHeader.size < SIMPLE_MESSAGE_SIZE) { in validateDataHeader()
236 + ", but got: " + dataHeader.size); in validateDataHeader()
238 if (dataHeader.numFields == SIMPLE_MESSAGE_NUM_FIELDS in validateDataHeader()
239 && dataHeader.size != SIMPLE_MESSAGE_SIZE) { in validateDataHeader()
243 + dataHeader.size); in validateDataHeader()
245 if (dataHeader.numFields == MESSAGE_WITH_REQUEST_ID_NUM_FIELDS in validateDataHeader()
246 && dataHeader.size != MESSAGE_WITH_REQUEST_ID_SIZE) { in validateDataHeader()
[all …]
DDecoder.java597 DataHeader dataHeader = readDataHeader(); in readDataHeaderForBooleanArray() local
598 if (dataHeader.size < DataHeader.HEADER_SIZE + (dataHeader.numFields + 7) / 8) { in readDataHeaderForBooleanArray()
602 && dataHeader.numFields != expectedLength) { in readDataHeaderForBooleanArray()
604 expectedLength + ", but got: " + dataHeader.numFields + "."); in readDataHeaderForBooleanArray()
606 return dataHeader; in readDataHeaderForBooleanArray()
613 DataHeader dataHeader = readDataHeader(); in readDataHeaderForArray() local
614 if (dataHeader.size < (DataHeader.HEADER_SIZE + elementSize * dataHeader.numFields)) { in readDataHeaderForArray()
618 && dataHeader.numFields != expectedLength) { in readDataHeaderForArray()
620 expectedLength + ", but got: " + dataHeader.numFields + "."); in readDataHeaderForArray()
622 return dataHeader; in readDataHeaderForArray()
DEncoder.java140 public Encoder getEncoderAtDataOffset(DataHeader dataHeader) { in getEncoderAtDataOffset() argument
142 result.encode(dataHeader); in getEncoderAtDataOffset()
/external/chromium_org/third_party/icu/source/common/
Dudataswp.c253 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()
254 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()
262 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
267 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
291 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
297 infoSize+=sizeof(pHeader->dataHeader); in udata_swapDataHeader()
381 pHeader->dataHeader.magic1!=0xda || in udata_openSwapperForInputData()
382 pHeader->dataHeader.magic2!=0x27 || in udata_openSwapperForInputData()
393 headerSize=pHeader->dataHeader.headerSize; in udata_openSwapperForInputData()
396 headerSize=uprv_readSwapUInt16(pHeader->dataHeader.headerSize); in udata_openSwapperForInputData()
[all …]
Ducnvsel.cpp303 header.dataHeader.headerSize = (uint16_t)((sizeof(header) + 15) & ~15); in ucnvsel_serialize()
304 header.dataHeader.magic1 = 0xda; in ucnvsel_serialize()
305 header.dataHeader.magic2 = 0x27; in ucnvsel_serialize()
316 header.dataHeader.headerSize + in ucnvsel_serialize()
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
327 int32_t length = header.dataHeader.headerSize; in ucnvsel_serialize()
484 pHeader->dataHeader.magic1==0xda && in ucnvsel_openFromSerialized()
485 pHeader->dataHeader.magic2==0x27 && in ucnvsel_openFromSerialized()
531 if (length < (pHeader->dataHeader.headerSize + 16 * 4)) { in ucnvsel_openFromSerialized()
537 p += pHeader->dataHeader.headerSize; in ucnvsel_openFromSerialized()
[all …]
Ducmndata.c39 return udh->dataHeader.headerSize; in udata_getHeaderSize()
42 uint16_t x=udh->dataHeader.headerSize; in udata_getHeaderSize()
322 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
323 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
Dudatamem.c60 if(pdh==NULL || (pdh->dataHeader.magic1==0xda && pdh->dataHeader.magic2==0x27)) { in UDataMemory_normalizeDataPointer()
Ducmndata.h42 MappedData dataHeader; member
Drbbidata.cpp61 ((char *)(udm->pHeader) + udm->pHeader->dataHeader.headerSize); in RBBIDataWrapper()
Dudata.cpp925 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()
926 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
/external/icu/icu4c/source/common/
Dudataswp.c302 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()
303 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()
311 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
316 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
340 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
346 infoSize+=sizeof(pHeader->dataHeader); in udata_swapDataHeader()
437 pHeader->dataHeader.magic1!=0xda || in udata_openSwapperForInputData()
438 pHeader->dataHeader.magic2!=0x27 || in udata_openSwapperForInputData()
449 headerSize=pHeader->dataHeader.headerSize; in udata_openSwapperForInputData()
452 headerSize=uprv_readSwapUInt16(pHeader->dataHeader.headerSize); in udata_openSwapperForInputData()
[all …]
Ducnvsel.cpp303 header.dataHeader.headerSize = (uint16_t)((sizeof(header) + 15) & ~15); in ucnvsel_serialize()
304 header.dataHeader.magic1 = 0xda; in ucnvsel_serialize()
305 header.dataHeader.magic2 = 0x27; in ucnvsel_serialize()
316 header.dataHeader.headerSize + in ucnvsel_serialize()
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
327 int32_t length = header.dataHeader.headerSize; in ucnvsel_serialize()
484 pHeader->dataHeader.magic1==0xda && in ucnvsel_openFromSerialized()
485 pHeader->dataHeader.magic2==0x27 && in ucnvsel_openFromSerialized()
531 if (length < (pHeader->dataHeader.headerSize + 16 * 4)) { in ucnvsel_openFromSerialized()
537 p += pHeader->dataHeader.headerSize; in ucnvsel_openFromSerialized()
[all …]
Ducmndata.c39 return udh->dataHeader.headerSize; in udata_getHeaderSize()
42 uint16_t x=udh->dataHeader.headerSize; in udata_getHeaderSize()
322 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
323 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
Dudatamem.c60 if(pdh==NULL || (pdh->dataHeader.magic1==0xda && pdh->dataHeader.magic2==0x27)) { in UDataMemory_normalizeDataPointer()
Ducmndata.h42 MappedData dataHeader; member
Drbbidata.cpp61 ((char *)(udm->pHeader) + udm->pHeader->dataHeader.headerSize); in RBBIDataWrapper()
Dudata.cpp917 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()
918 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
/external/skia/gm/rebaseline_server/static/
Dloader.js134 var dataHeader = data[constants.KEY__ROOT__HEADER];
135 if (dataHeader[constants.KEY__HEADER__SCHEMA_VERSION] !=
138 + dataHeader[constants.KEY__HEADER__SCHEMA_VERSION]
141 } else if (dataHeader[constants.KEY__HEADER__IS_STILL_LOADING]) {
146 dataHeader[constants.KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE] -
147 dataHeader[constants.KEY__HEADER__TIME_UPDATED];
159 $scope.header = dataHeader;
179 if (dataHeader[constants.KEY__HEADER__IS_EDITABLE]) {
/external/chromium_org/third_party/skia/gm/rebaseline_server/static/
Dloader.js143 var dataHeader = data[constants.KEY__ROOT__HEADER];
144 if (dataHeader[constants.KEY__HEADER__SCHEMA_VERSION] !=
147 + dataHeader[constants.KEY__HEADER__SCHEMA_VERSION]
150 } else if (dataHeader[constants.KEY__HEADER__IS_STILL_LOADING]) {
155 dataHeader[constants.KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE] -
156 dataHeader[constants.KEY__HEADER__TIME_UPDATED];
168 $scope.header = dataHeader;
192 if (dataHeader[constants.KEY__HEADER__IS_EDITABLE]) {
Dlive-loader.js157 var dataHeader = data[constants.KEY__ROOT__HEADER];
158 if (dataHeader[constants.KEY__HEADER__SCHEMA_VERSION] !=
161 + dataHeader[constants.KEY__HEADER__SCHEMA_VERSION]
164 } else if (dataHeader[constants.KEY__HEADER__IS_STILL_LOADING]) {
169 dataHeader[constants.KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE] -
170 dataHeader[constants.KEY__HEADER__TIME_UPDATED];
182 $scope.header = dataHeader;
206 if (dataHeader[constants.KEY__HEADER__IS_EDITABLE]) {
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp131 pHeader->dataHeader.magic1!=0xda || in getDataInfo()
132 pHeader->dataHeader.magic2!=0x27 || in getDataInfo()
140 headerLength=pHeader->dataHeader.headerSize; in getDataInfo()
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); in getDataInfo()
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || in getDataInfo()
410 pHeader->dataHeader.magic1=0xda; in Package()
411 pHeader->dataHeader.magic2=0x27; in Package()
420 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in Package()
724 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in writePackage()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dpackage.cpp131 pHeader->dataHeader.magic1!=0xda || in getDataInfo()
132 pHeader->dataHeader.magic2!=0x27 || in getDataInfo()
140 headerLength=pHeader->dataHeader.headerSize; in getDataInfo()
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); in getDataInfo()
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || in getDataInfo()
410 pHeader->dataHeader.magic1=0xda; in Package()
411 pHeader->dataHeader.magic2=0x27; in Package()
420 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in Package()
723 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in writePackage()
/external/icu/icu4c/source/i18n/
Dcollationdatawriter.cpp165 header.dataHeader.magic1 = 0xda; in write()
166 header.dataHeader.magic2 = 0x27; in write()
183 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
Dcollationdatareader.cpp55 if(!(header->dataHeader.magic1 == 0xda && header->dataHeader.magic2 == 0x27 && in read()
64 int32_t headerLength = header->dataHeader.headerSize; in read()
/external/chromium_org/third_party/icu/source/tools/genrb/
Dgenrb.c378 poolBundle.fKeys = (const char *)header + header->dataHeader.headerSize; in main()

12