mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-1007 rename GrowBuffer to UGrowBuffer to avoid potential naming conflicts
X-SVN-Rev: 5487
This commit is contained in:
parent
e387d2ad37
commit
173a4678e2
4 changed files with 14 additions and 14 deletions
|
@ -1003,7 +1003,7 @@ U_CFUNC int32_t
|
|||
u_internalStrToLower(UChar *dest, int32_t destCapacity,
|
||||
const UChar *src, int32_t srcLength,
|
||||
const char *locale,
|
||||
GrowBuffer *growBuffer, void *context,
|
||||
UGrowBuffer *growBuffer, void *context,
|
||||
UErrorCode *pErrorCode) {
|
||||
UChar buffer[UTF_MAX_CHAR_LENGTH];
|
||||
uint32_t *pe;
|
||||
|
@ -1182,7 +1182,7 @@ U_CFUNC int32_t
|
|||
u_internalStrToUpper(UChar *dest, int32_t destCapacity,
|
||||
const UChar *src, int32_t srcLength,
|
||||
const char *locale,
|
||||
GrowBuffer *growBuffer, void *context,
|
||||
UGrowBuffer *growBuffer, void *context,
|
||||
UErrorCode *pErrorCode) {
|
||||
UChar buffer[UTF_MAX_CHAR_LENGTH];
|
||||
uint32_t *pe;
|
||||
|
@ -1482,7 +1482,7 @@ U_CFUNC int32_t
|
|||
u_internalStrFoldCase(UChar *dest, int32_t destCapacity,
|
||||
const UChar *src, int32_t srcLength,
|
||||
uint32_t options,
|
||||
GrowBuffer *growBuffer, void *context,
|
||||
UGrowBuffer *growBuffer, void *context,
|
||||
UErrorCode *pErrorCode) {
|
||||
UChar buffer[UTF_MAX_CHAR_LENGTH];
|
||||
uint32_t *pe;
|
||||
|
|
|
@ -2354,7 +2354,7 @@ private:
|
|||
int32_t **pBufferToDelete = 0,
|
||||
UBool forceClone = FALSE);
|
||||
|
||||
// GrowBuffer function for string case mapping
|
||||
// UGrowBuffer function for string case mapping and similar
|
||||
static UBool U_CALLCONV
|
||||
growBuffer(void *context,
|
||||
UChar **buffer, int32_t *pCapacity, int32_t reqCapacity,
|
||||
|
|
|
@ -33,14 +33,14 @@ uprv_haveProperties(void);
|
|||
* @internal
|
||||
*/
|
||||
typedef UBool U_CALLCONV
|
||||
GrowBuffer(void *context, /* opaque pointer for this function */
|
||||
UChar **pBuffer, /* in/out destination buffer pointer */
|
||||
int32_t *pCapacity, /* in/out buffer capacity in numbers of UChars */
|
||||
int32_t reqCapacity, /* requested capacity */
|
||||
int32_t length); /* number of UChars to be copied to new buffer */
|
||||
UGrowBuffer(void *context, /* opaque pointer for this function */
|
||||
UChar **pBuffer, /* in/out destination buffer pointer */
|
||||
int32_t *pCapacity, /* in/out buffer capacity in numbers of UChars */
|
||||
int32_t reqCapacity,/* requested capacity */
|
||||
int32_t length); /* number of UChars to be copied to new buffer */
|
||||
|
||||
/**
|
||||
* Default implementation of GrowBuffer.
|
||||
* Default implementation of UGrowBuffer.
|
||||
* Takes a static buffer as context, allocates a new buffer,
|
||||
* and releases the old one if it is not the same as the one passed as context.
|
||||
* @internal
|
||||
|
@ -59,7 +59,7 @@ U_CFUNC int32_t
|
|||
u_internalStrToLower(UChar *dest, int32_t destCapacity,
|
||||
const UChar *src, int32_t srcLength,
|
||||
const char *locale,
|
||||
GrowBuffer *growBuffer, void *context,
|
||||
UGrowBuffer *growBuffer, void *context,
|
||||
UErrorCode *pErrorCode);
|
||||
|
||||
/**
|
||||
|
@ -69,7 +69,7 @@ U_CFUNC int32_t
|
|||
u_internalStrToUpper(UChar *dest, int32_t destCapacity,
|
||||
const UChar *src, int32_t srcLength,
|
||||
const char *locale,
|
||||
GrowBuffer *growBuffer, void *context,
|
||||
UGrowBuffer *growBuffer, void *context,
|
||||
UErrorCode *pErrorCode);
|
||||
|
||||
/**
|
||||
|
@ -80,7 +80,7 @@ U_CFUNC int32_t
|
|||
u_internalStrFoldCase(UChar *dest, int32_t destCapacity,
|
||||
const UChar *src, int32_t srcLength,
|
||||
uint32_t options,
|
||||
GrowBuffer *growBuffer, void *context,
|
||||
UGrowBuffer *growBuffer, void *context,
|
||||
UErrorCode *pErrorCode);
|
||||
|
||||
/**
|
||||
|
|
|
@ -1268,7 +1268,7 @@ u_unescape(const char *src, UChar *dest, int32_t destCapacity) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* C GrowBuffer implementation ---------------------------------------------- */
|
||||
/* C UGrowBuffer implementation --------------------------------------------- */
|
||||
|
||||
U_CAPI UBool /* U_CALLCONV U_EXPORT2 */
|
||||
u_growBufferFromStatic(void *context,
|
||||
|
|
Loading…
Add table
Reference in a new issue