Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 266) sorted by relevance

1234567891011

/AOO41X/main/offapi/com/sun/star/packages/zip/
H A DZipConstants.idl138 /** LOC header field "version needed to extract" offset
143 /** LOC header field "general purpose bit flags" offset
148 /** LOC header field "compression method" offset
153 /** LOC header field "modification time" offset
158 /** LOC header field "crc of uncompressed data" offset
163 /** LOC header field "compressed data size" offset
168 /** LOC header field "uncompressed data size" offset
173 /** LOC header field "filename length" offset
178 /** LOC header field "extra field length" offset
198 /** CEN header field "version made by" offset
[all …]
/AOO41X/main/unoxml/source/dom/
H A Dcharacterdata.cxx81 void SAL_CALL CCharacterData::deleteData(sal_Int32 offset, sal_Int32 count) in deleteData() argument
93 if (offset > tmp.getLength() || offset < 0 || count < 0) { in deleteData()
98 if ((offset+count) > tmp.getLength()) in deleteData()
99 count = tmp.getLength() - offset; in deleteData()
101 OUString tmp2 = tmp.copy(0, offset); in deleteData()
102 tmp2 += tmp.copy(offset+count, tmp.getLength() - (offset+count)); in deleteData()
152 void SAL_CALL CCharacterData::insertData(sal_Int32 offset, const OUString& arg) in insertData() argument
164 if (offset > tmp.getLength() || offset < 0) { in insertData()
170 OUString tmp2 = tmp.copy(0, offset); in insertData()
172 tmp2 += tmp.copy(offset, tmp.getLength() - offset); in insertData()
[all …]
/AOO41X/main/vcl/source/fontsubset/
H A Dttcr.cxx92 _inline sal_Int16 GetInt16( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetInt16() argument
98 t = (ptr+offset)[0] << 8 | (ptr+offset)[1]; in GetInt16()
100 t = (ptr+offset)[1] << 8 | (ptr+offset)[0]; in GetInt16()
106 _inline sal_uInt16 GetUInt16( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetUInt16() argument
112 t = (ptr+offset)[0] << 8 | (ptr+offset)[1]; in GetUInt16()
114 t = (ptr+offset)[1] << 8 | (ptr+offset)[0]; in GetUInt16()
120 _inline sal_Int32 GetInt32( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetInt32() argument
126 t = (ptr+offset)[0] << 24 | (ptr+offset)[1] << 16 | in GetInt32()
127 (ptr+offset)[2] << 8 | (ptr+offset)[3]; in GetInt32()
129 t = (ptr+offset)[3] << 24 | (ptr+offset)[2] << 16 | in GetInt32()
[all …]
/AOO41X/main/sal/osl/unx/
H A Dbacktrace.c112 ptrdiff_t offset; in backtrace_symbols_fd() local
118 offset = (ptrdiff_t)*pFramePtr - (ptrdiff_t)dli.dli_fbase; in backtrace_symbols_fd()
119 fprintf( fp, "%s+0x%x", dli.dli_fname, offset ); in backtrace_symbols_fd()
123 offset = (ptrdiff_t)*pFramePtr - (ptrdiff_t)dli.dli_saddr; in backtrace_symbols_fd()
124 fprintf( fp, "(%s+0x%x)", dli.dli_sname, offset ); in backtrace_symbols_fd()
180 ptrdiff_t offset; in backtrace_symbols_fd() local
186 offset = (ptrdiff_t)*pFramePtr - (ptrdiff_t)dli.dli_fbase; in backtrace_symbols_fd()
187 fprintf( fp, "%s+0x%x", dli.dli_fname, offset ); in backtrace_symbols_fd()
191 offset = (ptrdiff_t)*pFramePtr - (ptrdiff_t)dli.dli_saddr; in backtrace_symbols_fd()
192 fprintf( fp, "(%s+0x%x)", dli.dli_sname, offset ); in backtrace_symbols_fd()
[all …]
H A Dnlsupport.c107 size_t offset = 0; in _compose_locale() local
120 offset = pLanguage->length; in _compose_locale()
135 if( offset + pCountry->length + 1 < n ) in _compose_locale()
137 strcpy( buffer + offset++, "_" ); in _compose_locale()
138 strcpy( buffer + offset, pCountry->buffer ); in _compose_locale()
139 offset += pCountry->length; in _compose_locale()
155 if( offset + pVariant->length + 1 < n ) in _compose_locale()
157 strcpy( buffer + offset, pVariant->buffer ); in _compose_locale()
158 offset += pVariant->length; in _compose_locale()
189 size_t offset = 2; in _parse_locale() local
[all …]
/AOO41X/main/sal/inc/rtl/
H A Dustrbuf.hxx521 OUStringBuffer & insert(sal_Int32 offset, const OUString & str) in insert() argument
523 return insert( offset, str.getStr(), str.getLength() ); in insert()
543 OUStringBuffer & insert( sal_Int32 offset, const sal_Unicode * str ) in insert() argument
545 return insert( offset, str, rtl_ustr_getLength( str ) ); in insert()
566 OUStringBuffer & insert( sal_Int32 offset, const sal_Unicode * str, sal_Int32 len) in insert() argument
569 rtl_uStringbuffer_insert( &pData, &nCapacity, offset, str, len ); in insert()
590 OUStringBuffer & insert(sal_Int32 offset, sal_Bool b) in insert() argument
593 return insert( offset, sz, rtl_ustr_valueOfBoolean( sz, b ) ); in insert()
612 OUStringBuffer & insert(sal_Int32 offset, sal_Unicode c) in insert() argument
614 return insert( offset, &c, 1 ); in insert()
[all …]
H A Dstrbuf.hxx457 OStringBuffer & insert(sal_Int32 offset, const OString & str) in insert() argument
459 return insert( offset, str.getStr(), str.getLength() ); in insert()
479 OStringBuffer & insert( sal_Int32 offset, const sal_Char * str ) in insert() argument
481 return insert( offset, str, rtl_str_getLength( str ) ); in insert()
502 OStringBuffer & insert( sal_Int32 offset, const sal_Char * str, sal_Int32 len) in insert() argument
505 rtl_stringbuffer_insert( &pData, &nCapacity, offset, str, len ); in insert()
526 OStringBuffer & insert(sal_Int32 offset, sal_Bool b) in insert() argument
529 return insert( offset, sz, rtl_str_valueOfBoolean( sz, b ) ); in insert()
548 OStringBuffer & insert(sal_Int32 offset, sal_Char c) in insert() argument
550 return insert( offset, &c, 1 ); in insert()
[all …]
/AOO41X/main/winaccessibility/source/UAccCOM/
H A DAccTextBase.cpp100 STDMETHODIMP CAccTextBase::get_attributes(long offset, long * startOffset, long * endOffset, BSTR *… in get_attributes() argument
115 if( offset < 0 || offset > GetXInterface()->getCharacterCount() ) in get_attributes()
122 …beans::PropertyValue > pValues = GetXInterface()->getCharacterAttributes(offset, Sequence< rtl::OU… in get_attributes()
201 if( offset < GetXInterface()->getCharacterCount() ) in get_attributes()
203 … TextSegment textSeg = GetXInterface()->getTextAtIndex(offset, AccessibleTextType::ATTRIBUTE_RUN); in get_attributes()
209 *startOffset = offset; in get_attributes()
210 *endOffset = offset; in get_attributes()
223 STDMETHODIMP CAccTextBase::get_caretOffset(long * offset) in get_caretOffset() argument
230 if (offset == NULL) in get_caretOffset()
235 *offset = 0; in get_caretOffset()
[all …]
H A DAccText.cpp50 STDMETHODIMP CAccText::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * tex… in get_attributes() argument
53 return CAccTextBase::get_attributes(offset, startOffset, endOffset, textAttributes); in get_attributes()
61 STDMETHODIMP CAccText::get_caretOffset(long * offset) in get_caretOffset() argument
64 return CAccTextBase::get_caretOffset(offset); in get_caretOffset()
87 STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, lon… in get_characterExtents() argument
90 return CAccTextBase::get_characterExtents(offset, coordType, x, y, width, height); in get_characterExtents()
113 STDMETHODIMP CAccText::get_offsetAtPoint(long x, long y, IA2CoordinateType coordType, long * offset) in get_offsetAtPoint() argument
116 return CAccTextBase::get_offsetAtPoint(x, y, coordType, offset); in get_offsetAtPoint()
154 STDMETHODIMP CAccText::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * s… in get_textBeforeOffset() argument
157 return CAccTextBase::get_textBeforeOffset(offset, boundaryType, in get_textBeforeOffset()
[all …]
H A DAccHypertext.cpp55 STDMETHODIMP CAccHypertext::get_attributes(long offset, long * startOffset, long * endOffset, BSTR … in get_attributes() argument
58 return CAccTextBase::get_attributes(offset, startOffset, endOffset, textAttributes); in get_attributes()
66 STDMETHODIMP CAccHypertext::get_caretOffset(long * offset) in get_caretOffset() argument
69 return CAccTextBase::get_caretOffset(offset); in get_caretOffset()
92 STDMETHODIMP CAccHypertext::get_characterExtents(long offset, IA2CoordinateType coordType, long * x… in get_characterExtents() argument
95 return CAccTextBase::get_characterExtents(offset, coordType, x, y, width, height); in get_characterExtents()
117 …HODIMP CAccHypertext::get_offsetAtPoint(long x, long y, IA2CoordinateType coordType, long * offset) in get_offsetAtPoint() argument
119 return CAccTextBase::get_offsetAtPoint(x, y, coordType, offset); in get_offsetAtPoint()
157 STDMETHODIMP CAccHypertext::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, lon… in get_textBeforeOffset() argument
160 return CAccTextBase::get_textBeforeOffset(offset, boundaryType, in get_textBeforeOffset()
[all …]
/AOO41X/main/i18npool/source/nativenumber/
H A Dnativenumbersupplier.cxx73 … Sequence< sal_Int32 >& offset, sal_Bool useOffset, sal_Int16 number ) throw(RuntimeException) in AsciiToNativeChar()
78 offset.realloc(nCount); in AsciiToNativeChar()
94 offset[i] = startPos + i; in AsciiToNativeChar()
100 …dst, sal_Int32& count, sal_Int16 multiChar_index, Sequence< sal_Int32 >& offset, sal_Bool useOffse… in AsciiToNative_numberMaker()
112 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
120 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
128 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
134 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
140 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
151 … (i == number->exponentCount ? -1 : i), offset, useOffset, startPos, number, numberChar); in AsciiToNative_numberMaker()
[all …]
/AOO41X/main/vcl/unx/gtk/a11y/
H A Datktext.cxx315 gint offset, in text_wrapper_get_text_after_offset() argument
324 …accessibility::TextSegment aTextSegment = pText->getTextBehindIndex(offset, text_type_from_boundar… in text_wrapper_get_text_after_offset()
337 gint offset, in text_wrapper_get_text_at_offset() argument
351 -2 == offset && in text_wrapper_get_text_at_offset()
364 …accessibility::TextSegment aTextSegment = pText->getTextAtIndex(offset, text_type_from_boundary(bo… in text_wrapper_get_text_at_offset()
377 gint offset) in text_wrapper_get_character_at_offset() argument
383 text_wrapper_get_text_at_offset(text, offset, ATK_TEXT_BOUNDARY_CHAR, in text_wrapper_get_character_at_offset()
396 gint offset, in text_wrapper_get_text_before_offset() argument
405 …accessibility::TextSegment aTextSegment = pText->getTextBeforeIndex(offset, text_type_from_boundar… in text_wrapper_get_text_before_offset()
419 gint offset = -1; in text_wrapper_get_caret_offset() local
[all …]
/AOO41X/main/sal/rtl/source/
H A Dustrbuf.c106 sal_Int32 offset, in rtl_uStringbuffer_insert() argument
126 n = (nOldLen - offset); in rtl_uStringbuffer_insert()
129 pBuf[offset + len] = pBuf[offset]; in rtl_uStringbuffer_insert()
131 rtl_moveMemory( pBuf + offset + len, pBuf + offset, n * sizeof(sal_Unicode) ); in rtl_uStringbuffer_insert()
136 pBuf[offset] = *str; in rtl_uStringbuffer_insert()
138 rtl_copyMemory( pBuf + offset, str, len * sizeof(sal_Unicode) ); in rtl_uStringbuffer_insert()
145 rtl_uString ** pThis, sal_Int32 * capacity, sal_Int32 offset, sal_uInt32 c) in rtl_uStringbuffer_insertUtf32() argument
159 rtl_uStringbuffer_insert(pThis, capacity, offset, buf, len); in rtl_uStringbuffer_insertUtf32()
167 sal_Int32 offset, in rtl_uStringbuffer_insert_ascii() argument
183 n = (nOldLen - offset); in rtl_uStringbuffer_insert_ascii()
[all …]
/AOO41X/main/basic/source/runtime/
H A Ddllmgr.cxx135 std::vector< char > & blob, std::size_t alignment, std::size_t offset, in align() argument
139 n = align(n - offset, alignment) + offset; //TODO: overflow in align() in align()
146 std::size_t offset) in add() argument
148 *reinterpret_cast< T * >(align(blob, alignment, offset, sizeof (T))) = data; in add()
194 std::vector< char > & blob, std::size_t offset, MarshalData & data);
214 SbxVariable * variable, std::vector< char > & blob, std::size_t offset, in marshalStruct() argument
221 SbError e = marshal(false, props->Get(i), false, blob, offset, data); in marshalStruct()
230 SbxVariable * variable, std::vector< char > & blob, std::size_t offset, in marshalArray() argument
243 false, arr->Get32(&idx[0]), false, blob, offset, data); in marshalArray()
263 std::vector< char > & blob, std::size_t offset, MarshalData & data) in marshal() argument
[all …]
/AOO41X/main/i18npool/source/transliteration/
H A Dtransliteration_body.cxx108 Sequence< sal_Int32 >& offset) in transliterate()
149 offset.realloc(nCount * NMAPPINGMAX); in transliterate()
155 offset[j] = i + startPos; in transliterate()
160 offset.realloc(j); in transliterate()
189 if ( nOffCount != offset.getLength() ) in transliterate()
190 offset.realloc( nOffCount ); in transliterate()
193 sal_Int32 * pArr = offset.getArray(); in transliterate()
279 Sequence< sal_Int32 >& offset) throw(RuntimeException) in folding()
281 return this->transliterate(inStr, startPos, nCount, offset); in folding()
388 Sequence< sal_Int32 >& offset ) in transliterate_titlecase_Impl()
[all …]
H A DtransliterationImpl.cxx292 Sequence< sal_Int32 >& offset ) throw(RuntimeException) in transliterate()
297 if (offset.getLength() != nCount) in transliterate()
298 offset.realloc(nCount); in transliterate()
302 return bodyCascade[0]->transliterate( inStr, 0, nCount, offset); in transliterate()
306 tmpStr = bodyCascade[0]->transliterate(tmpStr, 0, nCount, offset); in transliterate()
309 sal_Int32 * pArr = offset.getArray(); in transliterate()
310 nCount = offset.getLength(); in transliterate()
320 sal_Int32 * pArr = offset.getArray(); in transliterate()
327 off[to] = offset; in transliterate()
338 offset = off[to]; in transliterate()
[all …]
H A Dtransliteration_Numeric.cxx68 Sequence< sal_Int32 >& offset ) throw(RuntimeException) in transliterateBullet()
79 offset.realloc(nCount); in transliterateBullet()
92 offset[j] = startPos; in transliterateBullet()
97 offset[j] = k; in transliterateBullet()
102 offset[j] = startPos; in transliterateBullet()
106 offset[j] = i; in transliterateBullet()
115 offset.realloc(j); in transliterateBullet()
122 Sequence< sal_Int32 >& offset ) throw(RuntimeException) in transliterate()
125 return transliterateBullet( inStr, startPos, nCount, offset); in transliterate()
127 …eOffset).getNativeNumberString( inStr.copy(startPos, nCount), aLocale, nNativeNumberMode, offset ); in transliterate()
H A Dtransliteration_Ignore.cxx95 Sequence< sal_Int32 >& offset ) throw(RuntimeException) in transliterate()
98 return this->folding( inStr, startPos, nCount, offset); in transliterate()
108 Sequence< sal_Int32 > offset; in transliterateRange() local
109 OUString s11 = t1.transliterate( str1, 0, 1, offset ); in transliterateRange()
110 OUString s12 = t1.transliterate( str2, 0, 1, offset ); in transliterateRange()
111 OUString s21 = t2.transliterate( str1, 0, 1, offset ); in transliterateRange()
112 OUString s22 = t2.transliterate( str2, 0, 1, offset ); in transliterateRange()
131 sal_Int32 nCount, Sequence< sal_Int32 >& offset) in folding()
144 offset.realloc( nCount ); in folding()
145 p = offset.getArray(); in folding()
[all …]
/AOO41X/main/basegfx/source/workbench/
H A Dbezierclip.cxx403 static int offset = 0; in printCurvesWithSafeRange() local
421 << c1.p0.x+offset << "," in printCurvesWithSafeRange()
422 << c1.p1.x+offset << "," in printCurvesWithSafeRange()
423 << c1.p2.x+offset << "," in printCurvesWithSafeRange()
424 << c1.p3.x+offset << ",t),bez(" in printCurvesWithSafeRange()
429 << c2.p0.x+offset << "," in printCurvesWithSafeRange()
430 << c2.p1.x+offset << "," in printCurvesWithSafeRange()
431 << c2.p2.x+offset << "," in printCurvesWithSafeRange()
432 << c2.p3.x+offset << ",t),bez(" in printCurvesWithSafeRange()
439 << c1_part1.p0.x+offset << "," in printCurvesWithSafeRange()
[all …]
/AOO41X/main/registry/source/
H A Dkeyimpl.cxx410 sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays in setLongListValue() local
414 writeINT32(pBuffer+VALUE_HEADEROFFSET+offset, pValueList[i]); in setLongListValue()
415 offset += 4; in setLongListValue()
473 sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; in setStringListValue() local
479 writeUINT32(pBuffer+VALUE_HEADEROFFSET+offset, sLen); in setStringListValue()
481 offset += 4; in setStringListValue()
482 writeUtf8(pBuffer+VALUE_HEADEROFFSET+offset, pValueList[i]); in setStringListValue()
483 offset += sLen; in setStringListValue()
541 sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; in setUnicodeListValue() local
547 writeUINT32(pBuffer+VALUE_HEADEROFFSET+offset, sLen); in setUnicodeListValue()
[all …]
/AOO41X/main/i18npool/source/search/
H A Dtextsearch.cxx230 com::sun::star::uno::Sequence <sal_Int32> offset( in_str.getLength()); in searchForward() local
231 in_str = xTranslit->transliterate( searchStr, 0, in_str.getLength(), offset ); in searchForward()
235 newStartPos = FindPosInSeq_Impl( offset, startPos ); in searchForward()
238 newEndPos = FindPosInSeq_Impl( offset, endPos ); in searchForward()
244 sal_Int32 nOffsetLength = offset.getLength(); in searchForward()
252 sres.startOffset[k] = offset[nStartOffset]; in searchForward()
254 sres.startOffset[k] = offset[offset.getLength()-1] +1; in searchForward()
261 sres.endOffset[k] = offset[sres.endOffset[k]-1] + 1; in searchForward()
274 com::sun::star::uno::Sequence <sal_Int32> offset( in_str.getLength()); in searchForward() local
276 in_str = xTranslit2->transliterate( searchStr, 0, in_str.getLength(), offset ); in searchForward()
[all …]
/AOO41X/main/i18npool/source/textconversion/
H A Dtextconversion_zh.cxx91 … sal_Int32 nLength, sal_Bool toSChinese, sal_Int32 nConversionOptions, Sequence<sal_Int32>& offset) in getWordConversion() argument
152 if (offset.getLength() > 0) { in getWordConversion()
156 offset[count] = nStartPos + currPos + (current * in getWordConversion()
187 if (offset.getLength() > 0) { in getWordConversion()
192 offset[count]=nStartPos + currPos + ((current-start) * in getWordConversion()
208 if (offset.getLength() > 0) in getWordConversion()
209 offset[count]=nStartPos+currPos; in getWordConversion()
215 if (offset.getLength() > 0) in getWordConversion()
216 offset.realloc(one2one ? 0 : count); in getWordConversion()
253 Sequence <sal_Int32> offset; in getConversion() local
[all …]
/AOO41X/main/sal/osl/os2/
H A Dnlsupport.c98 size_t offset = 0; in _compose_locale() local
111 offset = pLanguage->length; in _compose_locale()
126 if( offset + pCountry->length + 1 < n ) in _compose_locale()
128 strcpy( buffer + offset++, "_" ); in _compose_locale()
129 strcpy( buffer + offset, pCountry->buffer ); in _compose_locale()
130 offset += pCountry->length; in _compose_locale()
146 if( offset + pVariant->length + 1 < n ) in _compose_locale()
148 strcpy( buffer + offset, pVariant->buffer ); in _compose_locale()
149 offset += pVariant->length; in _compose_locale()
180 size_t offset = 2; in _parse_locale() local
[all …]
/AOO41X/main/writerfilter/source/doctok/
H A DWW8inc.xsl34 <xsl:param name="offset"/>
55 offset : <xsl:value-of select="$offset"/>
64 <xsl:otherwise> { return (get<xsl:value-of select="$type"/>(0x<xsl:value-of select="$offset"/>)<xsl…
70 <xsl:variable name="offset"><xsl:value-of select="xhtml:td[2]"/></xsl:variable>
72 <xsl:with-param name="offset" select="$offset"/>
77 <xsl:with-param name="offset" select="$offset"/>
83 <xsl:param name="offset"/>
86 <xsl:with-param name="offset" select="$offset"/>
91 <xsl:with-param name="offset" select="$offset"/>
/AOO41X/main/i18npool/source/localedata/
H A Dlocaledata.cxx514 sal_Int16 offset = 3; in getAllCalendars() local
520 OUString calendarID(allCalendars[offset]); in getAllCalendars()
521 offset++; in getAllCalendars()
522 … sal_Bool defaultCalendar = sal::static_int_cast<sal_Bool>( allCalendars[offset][0] ); in getAllCalendars()
523 offset++; in getAllCalendars()
524 if (OUString(allCalendars[offset]).equalsAscii("ref")) { in getAllCalendars()
525 …days = getCalendarItemByName(OUString(allCalendars[offset+1]), rLocale, calendarsSeq, i, REF_DAYS); in getAllCalendars()
526 offset += 2; in getAllCalendars()
529 CalendarItem day(allCalendars[offset], in getAllCalendars()
530 allCalendars[offset+1], allCalendars[offset+2]); in getAllCalendars()
[all …]

1234567891011