Searched refs:dataHeader (Results 1 – 16 of 16) sorted by relevance
224 private static void validateDataHeader(DataHeader dataHeader) { in validateDataHeader() argument225 if (dataHeader.elementsOrVersion < SIMPLE_MESSAGE_VERSION) { in validateDataHeader()227 + SIMPLE_MESSAGE_VERSION + ", but got: " + dataHeader.elementsOrVersion); in validateDataHeader()229 if (dataHeader.size < SIMPLE_MESSAGE_SIZE) { in validateDataHeader()232 + ", but got: " + dataHeader.size); in validateDataHeader()234 if (dataHeader.elementsOrVersion == SIMPLE_MESSAGE_VERSION in validateDataHeader()235 && dataHeader.size != SIMPLE_MESSAGE_SIZE) { in validateDataHeader()238 + ", but got: " + dataHeader.size); in validateDataHeader()240 if (dataHeader.elementsOrVersion == MESSAGE_WITH_REQUEST_ID_VERSION in validateDataHeader()241 && dataHeader.size != MESSAGE_WITH_REQUEST_ID_SIZE) { in validateDataHeader()[all …]
199 DataHeader dataHeader = versionArray[index]; in readAndValidateDataHeader() local200 if (header.elementsOrVersion >= dataHeader.elementsOrVersion) { in readAndValidateDataHeader()201 referenceHeader = dataHeader; in readAndValidateDataHeader()734 DataHeader dataHeader = readDataHeader(); in readDataHeaderForBooleanArray() local735 if (dataHeader.size < DataHeader.HEADER_SIZE + (dataHeader.elementsOrVersion + 7) / 8) { in readDataHeaderForBooleanArray()739 && dataHeader.elementsOrVersion != expectedLength) { in readDataHeaderForBooleanArray()741 + ", but got: " + dataHeader.elementsOrVersion + "."); in readDataHeaderForBooleanArray()743 return dataHeader; in readDataHeaderForBooleanArray()750 DataHeader dataHeader = readDataHeader(); in readDataHeaderForArray() local751 if (dataHeader.size in readDataHeaderForArray()[all …]
140 public Encoder getEncoderAtDataOffset(DataHeader dataHeader) { in getEncoderAtDataOffset() argument142 result.encode(dataHeader); in getEncoderAtDataOffset()
304 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()305 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()348 infoSize+=sizeof(pHeader->dataHeader); in udata_swapDataHeader()439 pHeader->dataHeader.magic1!=0xda || in udata_openSwapperForInputData()440 pHeader->dataHeader.magic2!=0x27 || in udata_openSwapperForInputData()451 headerSize=pHeader->dataHeader.headerSize; in udata_openSwapperForInputData()454 headerSize=uprv_readSwapUInt16(pHeader->dataHeader.headerSize); in udata_openSwapperForInputData()[all …]
306 header.dataHeader.headerSize = (uint16_t)((sizeof(header) + 15) & ~15); in ucnvsel_serialize()307 header.dataHeader.magic1 = 0xda; in ucnvsel_serialize()308 header.dataHeader.magic2 = 0x27; in ucnvsel_serialize()319 header.dataHeader.headerSize + in ucnvsel_serialize()324 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()330 int32_t length = header.dataHeader.headerSize; in ucnvsel_serialize()487 pHeader->dataHeader.magic1==0xda && in ucnvsel_openFromSerialized()488 pHeader->dataHeader.magic2==0x27 && in ucnvsel_openFromSerialized()534 if (length < (pHeader->dataHeader.headerSize + 16 * 4)) { in ucnvsel_openFromSerialized()540 p += pHeader->dataHeader.headerSize; in ucnvsel_openFromSerialized()[all …]
41 return udh->dataHeader.headerSize; in udata_getHeaderSize()44 uint16_t x=udh->dataHeader.headerSize; in udata_getHeaderSize()333 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()334 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
62 if(pdh==NULL || (pdh->dataHeader.magic1==0xda && pdh->dataHeader.magic2==0x27)) { in UDataMemory_normalizeDataPointer()
44 MappedData dataHeader; member
50 int32_t headerSize = dh->dataHeader.headerSize; in RBBIDataWrapper()
999 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()1000 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
131 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()407 pHeader->dataHeader.magic1=0xda; in Package()408 pHeader->dataHeader.magic2=0x27; in Package()417 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in Package()721 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in writePackage()
184 header.dataHeader.magic1 = 0xda; in write()185 header.dataHeader.magic2 = 0x27; in write()202 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
56 if(!(header->dataHeader.magic1 == 0xda && header->dataHeader.magic2 == 0x27 && in read()65 int32_t headerLength = header->dataHeader.headerSize; in read()
282 org.chromium.mojo.bindings.DataHeader dataHeader = decoder0.readDataHeaderForUnion(offset);283 if (dataHeader.size == 0) {287 switch (dataHeader.elementsOrVersion) {
402 (const char *)header + header->dataHeader.headerSize); in main()