Lines Matching refs:sal_uInt16

46 const sal_uInt16 minorVersion = 0x0000;
47 const sal_uInt16 majorVersion = 0x0001;
83 inline sal_uInt16 readUINT16(sal_uInt32 index) const in readUINT16()
172 sal_uInt16 m_numOfStrings;
173 sal_uInt16 m_stringsCopied;
175 StringCache(sal_uInt16 size); // throws std::bad_alloc
178 const sal_Unicode* getString(sal_uInt16 index);
179 sal_uInt16 createString(const sal_uInt8* buffer); // throws std::bad_alloc
182 StringCache::StringCache(sal_uInt16 size) in StringCache()
189 for (sal_uInt16 i = 0; i < m_numOfStrings; i++) in StringCache()
199 for (sal_uInt16 i = 0; i < m_stringsCopied; i++) in ~StringCache()
208 const sal_Unicode* StringCache::getString(sal_uInt16 index) in getString()
216 sal_uInt16 StringCache::createString(const sal_uInt8* buffer) in createString()
242 sal_uInt16 m_numOfEntries;
247 ConstantPool(const sal_uInt8* buffer, sal_uInt16 numEntries) in ConstantPool()
259 CPInfoTag readTag(sal_uInt16 index);
261 const sal_Char* readUTF8NameConstant(sal_uInt16 index);
262 sal_Bool readBOOLConstant(sal_uInt16 index);
263 sal_uInt8 readBYTEConstant(sal_uInt16 index);
264 sal_Int16 readINT16Constant(sal_uInt16 index);
265 sal_uInt16 readUINT16Constant(sal_uInt16 index);
266 sal_Int32 readINT32Constant(sal_uInt16 index);
267 sal_uInt32 readUINT32Constant(sal_uInt16 index);
268 sal_Int64 readINT64Constant(sal_uInt16 index);
269 sal_uInt64 readUINT64Constant(sal_uInt16 index);
270 float readFloatConstant(sal_uInt16 index);
271 double readDoubleConstant(sal_uInt16 index);
272 const sal_Unicode* readStringConstant(sal_uInt16 index);
274 void readUIK(sal_uInt16 index, RTUik* uik);
298 sal_uInt16 numOfStrings = 0; in parseIndex()
329 CPInfoTag ConstantPool::readTag(sal_uInt16 index) in readTag()
341 const sal_Char* ConstantPool::readUTF8NameConstant(sal_uInt16 index) in readUTF8NameConstant()
356 sal_Bool ConstantPool::readBOOLConstant(sal_uInt16 index) in readBOOLConstant()
371 sal_uInt8 ConstantPool::readBYTEConstant(sal_uInt16 index) in readBYTEConstant()
386 sal_Int16 ConstantPool::readINT16Constant(sal_uInt16 index) in readINT16Constant()
401 sal_uInt16 ConstantPool::readUINT16Constant(sal_uInt16 index) in readUINT16Constant()
403 sal_uInt16 asal_uInt16 = sal_False; in readUINT16Constant()
416 sal_Int32 ConstantPool::readINT32Constant(sal_uInt16 index) in readINT32Constant()
431 sal_uInt32 ConstantPool::readUINT32Constant(sal_uInt16 index) in readUINT32Constant()
446 sal_Int64 ConstantPool::readINT64Constant(sal_uInt16 index) in readINT64Constant()
461 sal_uInt64 ConstantPool::readUINT64Constant(sal_uInt16 index) in readUINT64Constant()
476 float ConstantPool::readFloatConstant(sal_uInt16 index) in readFloatConstant()
499 double ConstantPool::readDoubleConstant(sal_uInt16 index) in readDoubleConstant()
533 const sal_Unicode* ConstantPool::readStringConstant(sal_uInt16 index) in readStringConstant()
549 aString = m_pStringCache->getString((sal_uInt16) (m_pIndex[index - 1] * -1)); in readStringConstant()
555 void ConstantPool::readUIK(sal_uInt16 index, RTUik* uik) in readUIK()
588 sal_uInt16 m_numOfEntries;
589 sal_uInt16 m_numOfFieldEntries;
590 sal_uInt16 m_FIELD_ENTRY_SIZE;
593 FieldList(const sal_uInt8* buffer, sal_uInt16 numEntries, ConstantPool* pCP) in FieldList()
601 m_FIELD_ENTRY_SIZE = m_numOfFieldEntries * sizeof(sal_uInt16); in FieldList()
611 const sal_Char* getFieldName(sal_uInt16 index);
612 const sal_Char* getFieldType(sal_uInt16 index);
613 RTFieldAccess getFieldAccess(sal_uInt16 index);
614 RTValueType getFieldConstValue(sal_uInt16 index, RTConstValueUnion* value);
616 const sal_Char* getFieldDoku(sal_uInt16 index);
617 const sal_Char* getFieldFileName(sal_uInt16 index);
622 return ((m_numOfEntries ? sizeof(sal_uInt16) : 0) + (m_numOfEntries * m_FIELD_ENTRY_SIZE)); in parseIndex()
625 const sal_Char* FieldList::getFieldName(sal_uInt16 index) in getFieldName()
631 …aName = m_pCP->readUTF8NameConstant(readUINT16(sizeof(sal_uInt16) + (index * m_FIELD_ENTRY_SIZE) +… in getFieldName()
637 const sal_Char* FieldList::getFieldType(sal_uInt16 index) in getFieldType()
643 …aName = m_pCP->readUTF8NameConstant(readUINT16(sizeof(sal_uInt16) + (index * m_FIELD_ENTRY_SIZE) +… in getFieldType()
649 RTFieldAccess FieldList::getFieldAccess(sal_uInt16 index) in getFieldAccess()
655 …aAccess = (RTFieldAccess) readUINT16(sizeof(sal_uInt16) + (index * m_FIELD_ENTRY_SIZE) + FIELD_OFF… in getFieldAccess()
661 RTValueType FieldList::getFieldConstValue(sal_uInt16 index, RTConstValueUnion* value) in getFieldConstValue()
667sal_uInt16 cpIndex = readUINT16(sizeof(sal_uInt16) + (index * m_FIELD_ENTRY_SIZE) + FIELD_OFFSET_V… in getFieldConstValue()
723 const sal_Char* FieldList::getFieldDoku(sal_uInt16 index) in getFieldDoku()
729 …aDoku = m_pCP->readUTF8NameConstant(readUINT16(sizeof(sal_uInt16) + (index * m_FIELD_ENTRY_SIZE) +… in getFieldDoku()
735 const sal_Char* FieldList::getFieldFileName(sal_uInt16 index) in getFieldFileName()
741 …aFileName = m_pCP->readUTF8NameConstant(readUINT16(sizeof(sal_uInt16) + (index * m_FIELD_ENTRY_SIZ… in getFieldFileName()
757 sal_uInt16 m_numOfEntries;
758 sal_uInt16 m_numOfReferenceEntries;
759 sal_uInt16 m_REFERENCE_ENTRY_SIZE;
762 ReferenceList(const sal_uInt8* buffer, sal_uInt16 numEntries, ConstantPool* pCP) in ReferenceList()
770 m_REFERENCE_ENTRY_SIZE = m_numOfReferenceEntries * sizeof(sal_uInt16); in ReferenceList()
780 const sal_Char* getReferenceName(sal_uInt16 index);
781 RTReferenceType getReferenceType(sal_uInt16 index);
782 const sal_Char* getReferenceDoku(sal_uInt16 index);
783 RTFieldAccess getReferenceAccess(sal_uInt16 index);
788 return ((m_numOfEntries ? sizeof(sal_uInt16) : 0) + (m_numOfEntries * m_REFERENCE_ENTRY_SIZE)); in parseIndex()
791 const sal_Char* ReferenceList::getReferenceName(sal_uInt16 index) in getReferenceName()
797 …aName = m_pCP->readUTF8NameConstant(readUINT16(sizeof(sal_uInt16) + (index * m_REFERENCE_ENTRY_SIZ… in getReferenceName()
803 RTReferenceType ReferenceList::getReferenceType(sal_uInt16 index) in getReferenceType()
809 …refType = (RTReferenceType) readUINT16(sizeof(sal_uInt16) + (index * m_REFERENCE_ENTRY_SIZE) + REF… in getReferenceType()
815 const sal_Char* ReferenceList::getReferenceDoku(sal_uInt16 index) in getReferenceDoku()
821 …aDoku = m_pCP->readUTF8NameConstant(readUINT16(sizeof(sal_uInt16) + (index * m_REFERENCE_ENTRY_SIZ… in getReferenceDoku()
827 RTFieldAccess ReferenceList::getReferenceAccess(sal_uInt16 index) in getReferenceAccess()
833 …aAccess = (RTFieldAccess) readUINT16(sizeof(sal_uInt16) + (index * m_REFERENCE_ENTRY_SIZE) + REFER… in getReferenceAccess()
849 sal_uInt16 m_numOfEntries;
850 sal_uInt16 m_numOfMethodEntries;
851 sal_uInt16 m_numOfParamEntries;
852 sal_uInt16 m_PARAM_ENTRY_SIZE;
856 MethodList(const sal_uInt8* buffer, sal_uInt16 numEntries, ConstantPool* pCP) in MethodList()
865 m_numOfParamEntries = readUINT16(sizeof(sal_uInt16)); in MethodList()
866 m_PARAM_ENTRY_SIZE = m_numOfParamEntries * sizeof(sal_uInt16); in MethodList()
879 const sal_Char* getMethodName(sal_uInt16 index);
880 sal_uInt16 getMethodParamCount(sal_uInt16 index);
881 const sal_Char* getMethodParamType(sal_uInt16 index, sal_uInt16 paramIndex);
882 const sal_Char* getMethodParamName(sal_uInt16 index, sal_uInt16 paramIndex);
883 RTParamMode getMethodParamMode(sal_uInt16 index, sal_uInt16 paramIndex);
884 sal_uInt16 getMethodExcCount(sal_uInt16 index);
885 const sal_Char* getMethodExcType(sal_uInt16 index, sal_uInt16 excIndex);
886 const sal_Char* getMethodReturnType(sal_uInt16 index);
887 RTMethodMode getMethodMode(sal_uInt16 index);
888 const sal_Char* getMethodDoku(sal_uInt16 index);
891 sal_uInt16 calcMethodParamIndex( const sal_uInt16 index );
899 sal_uInt16 MethodList::calcMethodParamIndex( const sal_uInt16 index ) in calcMethodParamIndex()
901 return (METHOD_OFFSET_PARAM_COUNT + sizeof(sal_uInt16) + (index * m_PARAM_ENTRY_SIZE)); in calcMethodParamIndex()
916 offset = 2 * sizeof(sal_uInt16); in parseIndex()
930 const sal_Char* MethodList::getMethodName(sal_uInt16 index) in getMethodName()
942 sal_uInt16 MethodList::getMethodParamCount(sal_uInt16 index) in getMethodParamCount()
944 sal_uInt16 aCount = 0; in getMethodParamCount()
954 const sal_Char* MethodList::getMethodParamType(sal_uInt16 index, sal_uInt16 paramIndex) in getMethodParamType()
972 const sal_Char* MethodList::getMethodParamName(sal_uInt16 index, sal_uInt16 paramIndex) in getMethodParamName()
990 RTParamMode MethodList::getMethodParamMode(sal_uInt16 index, sal_uInt16 paramIndex) in getMethodParamMode()
1007 sal_uInt16 MethodList::getMethodExcCount(sal_uInt16 index) in getMethodExcCount()
1009 sal_uInt16 aCount = 0; in getMethodExcCount()
1019 const sal_Char* MethodList::getMethodExcType(sal_uInt16 index, sal_uInt16 excIndex) in getMethodExcType()
1032 sizeof(sal_uInt16) + in getMethodExcType()
1033 (excIndex * sizeof(sal_uInt16)))); in getMethodExcType()
1040 const sal_Char* MethodList::getMethodReturnType(sal_uInt16 index) in getMethodReturnType()
1052 RTMethodMode MethodList::getMethodMode(sal_uInt16 index) in getMethodMode()
1064 const sal_Char* MethodList::getMethodDoku(sal_uInt16 index) in getMethodDoku()
1089 sal_uInt16 m_nSuperTypes;
1090 sal_uInt16 m_offset_SUPERTYPES;
1107 std::size_t const entrySize = sizeof(sal_uInt16); in TypeRegistryEntry()
1108 sal_uInt16 nHeaderEntries = readUINT16(OFFSET_N_ENTRIES); in TypeRegistryEntry()
1109 sal_uInt16 offset_N_SUPERTYPES = OFFSET_N_ENTRIES + entrySize + (nHeaderEntries * entrySize); in TypeRegistryEntry()
1113 sal_uInt16 offset_CP_SIZE = m_offset_SUPERTYPES + (m_nSuperTypes * entrySize); in TypeRegistryEntry()
1114 sal_uInt16 offset_CP = offset_CP_SIZE + entrySize; in TypeRegistryEntry()
1123 offset += sizeof(sal_uInt16) + m_pFields->parseIndex(); in TypeRegistryEntry()
1128 offset += sizeof(sal_uInt16) + m_pMethods->parseIndex(); in TypeRegistryEntry()
1220 static sal_uInt16 TYPEREG_CALLTYPE getMinorVersion(TypeReaderImpl hEntry) in getMinorVersion()
1229 static sal_uInt16 TYPEREG_CALLTYPE getMajorVersion(TypeReaderImpl hEntry) in getMajorVersion()
1340 sal_uInt16 typereg_reader_getFieldCount(void * hEntry) SAL_THROW_EXTERN_C() in typereg_reader_getFieldCount()
1354 void typereg_reader_getFieldName(void * hEntry, rtl_uString** pFieldName, sal_uInt16 index) in typereg_reader_getFieldName()
1370 void typereg_reader_getFieldTypeName(void * hEntry, rtl_uString** pFieldType, sal_uInt16 index) in typereg_reader_getFieldTypeName()
1387 RTFieldAccess typereg_reader_getFieldFlags(void * hEntry, sal_uInt16 index) in typereg_reader_getFieldFlags()
1398 void * hEntry, sal_uInt16 index, RTValueType * type, in typereg_reader_getFieldValue()
1417 static RTValueType TYPEREG_CALLTYPE getFieldConstValue(TypeReaderImpl hEntry, sal_uInt16 index, RTC… in getFieldConstValue()
1424 void typereg_reader_getFieldDocumentation(void * hEntry, rtl_uString** pDoku, sal_uInt16 index) in typereg_reader_getFieldDocumentation()
1441 void typereg_reader_getFieldFileName(void * hEntry, rtl_uString** pFieldFileName, sal_uInt16 index) in typereg_reader_getFieldFileName()
1459 sal_uInt16 typereg_reader_getMethodCount(void * hEntry) SAL_THROW_EXTERN_C() in typereg_reader_getMethodCount()
1473 void typereg_reader_getMethodName(void * hEntry, rtl_uString** pMethodName, sal_uInt16 index) in typereg_reader_getMethodName()
1490 sal_uInt16 typereg_reader_getMethodParameterCount( in typereg_reader_getMethodParameterCount()
1491 void * hEntry, sal_uInt16 index) SAL_THROW_EXTERN_C() in typereg_reader_getMethodParameterCount()
1500 static sal_uInt32 TYPEREG_CALLTYPE getMethodParamCount(TypeReaderImpl hEntry, sal_uInt16 index) in getMethodParamCount()
1505 …ameterTypeName(void * hEntry, rtl_uString** pMethodParamType, sal_uInt16 index, sal_uInt16 paramIn… in typereg_reader_getMethodParameterTypeName()
1522 …dParameterName(void * hEntry, rtl_uString** pMethodParamName, sal_uInt16 index, sal_uInt16 paramIn… in typereg_reader_getMethodParameterName()
1539 RTParamMode typereg_reader_getMethodParameterFlags(void * hEntry, sal_uInt16 index, sal_uInt16 para… in typereg_reader_getMethodParameterFlags()
1549 sal_uInt16 typereg_reader_getMethodExceptionCount( in typereg_reader_getMethodExceptionCount()
1550 void * hEntry, sal_uInt16 index) SAL_THROW_EXTERN_C() in typereg_reader_getMethodExceptionCount()
1559 static sal_uInt32 TYPEREG_CALLTYPE getMethodExcCount(TypeReaderImpl hEntry, sal_uInt16 index) in getMethodExcCount()
1564 …ceptionTypeName(void * hEntry, rtl_uString** pMethodExcpType, sal_uInt16 index, sal_uInt16 excInde… in typereg_reader_getMethodExceptionTypeName()
1581 …eg_reader_getMethodReturnTypeName(void * hEntry, rtl_uString** pMethodReturnType, sal_uInt16 index) in typereg_reader_getMethodReturnTypeName()
1598 RTMethodMode typereg_reader_getMethodFlags(void * hEntry, sal_uInt16 index) in typereg_reader_getMethodFlags()
1608 void typereg_reader_getMethodDocumentation(void * hEntry, rtl_uString** pMethodDoku, sal_uInt16 ind… in typereg_reader_getMethodDocumentation()
1625 sal_uInt16 typereg_reader_getReferenceCount(void * hEntry) SAL_THROW_EXTERN_C() in typereg_reader_getReferenceCount()
1639 void typereg_reader_getReferenceTypeName(void * hEntry, rtl_uString** pReferenceName, sal_uInt16 in… in typereg_reader_getReferenceTypeName()
1656 RTReferenceType typereg_reader_getReferenceSort(void * hEntry, sal_uInt16 index) in typereg_reader_getReferenceSort()
1666 …reg_reader_getReferenceDocumentation(void * hEntry, rtl_uString** pReferenceDoku, sal_uInt16 index) in typereg_reader_getReferenceDocumentation()
1683 RTFieldAccess typereg_reader_getReferenceFlags(void * hEntry, sal_uInt16 index) in typereg_reader_getReferenceFlags()
1693 sal_uInt16 typereg_reader_getSuperTypeCount(void * hEntry) in typereg_reader_getSuperTypeCount()
1704 void * hEntry, rtl_uString ** pSuperTypeName, sal_uInt16 index) in typereg_reader_getSuperTypeName()
1716 …adUTF8NameConstant(pEntry->readUINT16(pEntry->m_offset_SUPERTYPES + (index * sizeof(sal_uInt16)))); in typereg_reader_getSuperTypeName()