bump product version to 7.6.3.2-android
[LibreOffice.git] / sal / rtl / strbuf.cxx
blob7ba25ff4a31adc7c9733d662bde19a041839fe9d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <string.h>
22 #include <osl/interlck.h>
23 #include <rtl/strbuf.hxx>
24 #include "strimp.hxx"
26 #if USE_SDT_PROBES
27 #define RTL_LOG_STRING_BITS 8
28 #endif
30 #include "strtmpl.hxx"
32 /*************************************************************************
33 * rtl_stringbuffer_newFromStr_WithLength
35 void SAL_CALL rtl_stringbuffer_newFromStr_WithLength( rtl_String ** newStr,
36 const char * value,
37 sal_Int32 count )
39 rtl::str::stringbuffer_newFromStr_WithLength(newStr, value, count);
42 /*************************************************************************
43 * rtl_stringbuffer_newFromStringBuffer
45 sal_Int32 SAL_CALL rtl_stringbuffer_newFromStringBuffer( rtl_String ** newStr,
46 sal_Int32 capacity,
47 rtl_String * oldStr )
49 return rtl::str::stringbuffer_newFromStringBuffer(newStr, capacity, oldStr);
52 /*************************************************************************
53 * rtl_stringbuffer_ensureCapacity
55 void SAL_CALL rtl_stringbuffer_ensureCapacity
56 (rtl_String ** This, sal_Int32* capacity, sal_Int32 minimumCapacity)
58 rtl::str::stringbuffer_ensureCapacity(This, capacity, minimumCapacity);
61 /*************************************************************************
62 * rtl_stringbuffer_insert
64 void SAL_CALL rtl_stringbuffer_insert( rtl_String ** This,
65 sal_Int32 * capacity,
66 sal_Int32 offset,
67 const char * str,
68 sal_Int32 len )
70 rtl::str::stringbuffer_insert(This, capacity, offset, str, len);
73 /*************************************************************************
74 * rtl_stringbuffer_remove
76 void SAL_CALL rtl_stringbuffer_remove( rtl_String ** This,
77 sal_Int32 start,
78 sal_Int32 len )
80 rtl::str::stringbuffer_remove(This, start, len);
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */