Searched refs:dataHeader (Results 1 – 16 of 16) sorted by relevance
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | MessageHeader.java | 224 private static void validateDataHeader(DataHeader dataHeader) { in validateDataHeader() argument 225 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 …]
|
D | Decoder.java | 199 DataHeader dataHeader = versionArray[index]; in readAndValidateDataHeader() local 200 if (header.elementsOrVersion >= dataHeader.elementsOrVersion) { in readAndValidateDataHeader() 201 referenceHeader = dataHeader; in readAndValidateDataHeader() 734 DataHeader dataHeader = readDataHeader(); in readDataHeaderForBooleanArray() local 735 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() local 751 if (dataHeader.size in readDataHeaderForArray() [all …]
|
D | Encoder.java | 140 public Encoder getEncoderAtDataOffset(DataHeader dataHeader) { in getEncoderAtDataOffset() argument 142 result.encode(dataHeader); in getEncoderAtDataOffset()
|
/external/icu/icu4c/source/common/ |
D | udataswp.cpp | 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 …]
|
D | ucnvsel.cpp | 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 …]
|
D | ucmndata.cpp | 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()
|
D | udatamem.cpp | 62 if(pdh==NULL || (pdh->dataHeader.magic1==0xda && pdh->dataHeader.magic2==0x27)) { in UDataMemory_normalizeDataPointer()
|
D | ucmndata.h | 44 MappedData dataHeader; member
|
D | rbbidata.cpp | 50 int32_t headerSize = dh->dataHeader.headerSize; in RBBIDataWrapper()
|
D | udata.cpp | 963 if(pHeader->dataHeader.magic1==0xda && in checkDataItem() 964 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
|
/external/syzkaller/pkg/kd/ |
D | kd.go | 18 dataHeader = []byte{0x30, 0x30, 0x30, 0x30} var 34 if len(data) < len(dataHeader) { 37 start = bytes.Index(data, dataHeader) 39 start = len(data) - len(dataHeader) - 1
|
/external/icu/icu4c/source/tools/toolutil/ |
D | package.cpp | 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()
|
/external/icu/icu4c/source/i18n/ |
D | collationdatawriter.cpp | 184 header.dataHeader.magic1 = 0xda; in write() 185 header.dataHeader.magic2 = 0x27; in write() 202 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
|
D | collationdatareader.cpp | 56 if(!(header->dataHeader.magic1 == 0xda && header->dataHeader.magic2 == 0x27 && in read() 65 int32_t headerLength = header->dataHeader.headerSize; in read()
|
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/ |
D | data_types_definition.tmpl | 282 org.chromium.mojo.bindings.DataHeader dataHeader = decoder0.readDataHeaderForUnion(offset); 283 if (dataHeader.size == 0) { 287 switch (dataHeader.elementsOrVersion) {
|
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 385 (const char *)header + header->dataHeader.headerSize); in main()
|