/trunk/main/sal/osl/unx/ |
H A D | file_url.cxx | 867 sal_Size convert( in convert() 868 sal_Unicode const * pSrcBuf, sal_Size nSrcChars, sal_Char * pDstBuf, sal_Size nDstBytes, in convert() 869 sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtChars) in convert() 881 sal_Size nSrcChars = 0; in UnicodeToText() 883 sal_Size nDestBytes = UnicodeToTextConverter_Impl::getInstance().convert ( in UnicodeToText() 924 sal_Size convert( in convert() 925 sal_Char const * pSrcBuf, sal_Size nSrcBytes, sal_Unicode * pDstBuf, sal_Size nDstChars, in convert() 926 sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes) in convert() 942 sal_Size nSrcChars = 0; in TextToUnicode() 944 sal_Size nDestBytes = TextToUnicodeConverter_Impl::getInstance().convert( in TextToUnicode()
|
/trunk/main/sal/qa/rtl/textenc/ |
H A D | rtl_textcvt.cxx | 49 sal_Size nNumber = 0; in testSingleByteCharSet() 61 sal_Size nSize; in testSingleByteCharSet() 63 sal_Size nConverted; in testSingleByteCharSet() 94 sal_Size nSize; in testSingleByteCharSet() 127 sal_Size nSize; in testSingleByteCharSet() 152 sal_Size m_nTextSize; 170 sal_Size nSize; in doComplexCharSetTest() 331 sal_Size nSize; in doComplexCharSetTest() 367 sal_Size nSize; in doComplexCharSetCutTest() 2567 sal_Size cvt; in TEST_F() [all …]
|
/trunk/main/sal/rtl/source/ |
H A D | alloc_arena.c | 81 sal_Size * pSize 88 sal_Size nSize 91 static sal_Size 421 sal_Size size in rtl_arena_hash_remove() 425 sal_Size lookups = 0; in rtl_arena_hash_remove() 455 sal_Size nseg = (sal_Size)(arena->m_stats.m_alloc - arena->m_stats.m_free); in rtl_arena_hash_remove() 842 sal_Size i, n; in rtl_arena_deactivate() 1015 sal_Size * pSize in rtl_arena_alloc() 1033 sal_Size oversize; in rtl_arena_alloc() 1090 sal_Size size in rtl_arena_free() [all …]
|
H A D | alloc_arena.h | 44 sal_Size m_mem_total; 45 sal_Size m_mem_alloc; 52 #define RTL_ARENA_SEGMENT_TYPE_HEAD ((sal_Size)(0x01)) 53 #define RTL_ARENA_SEGMENT_TYPE_SPAN ((sal_Size)(0x02)) 54 #define RTL_ARENA_SEGMENT_TYPE_FREE ((sal_Size)(0x04)) 55 #define RTL_ARENA_SEGMENT_TYPE_USED ((sal_Size)(0x08)) 70 sal_Size m_size; 71 sal_Size m_type; 100 sal_Size m_quantum; 109 sal_Size m_freelist_bitmap; [all …]
|
H A D | alloc_cache.c | 127 sal_Size new_size in rtl_cache_hash_rescale() 131 sal_Size new_bytes; in rtl_cache_hash_rescale() 139 sal_Size old_size, i; in rtl_cache_hash_rescale() 222 sal_Size lookups = 0; in rtl_cache_hash_remove() 241 sal_Size nbuf = (sal_Size)(cache->m_slab_stats.m_alloc - cache->m_slab_stats.m_free); in rtl_cache_hash_remove() 317 sal_Size size; in rtl_cache_slab_create() 887 sal_Size slabsize; in rtl_cache_activate() 1064 sal_Size i, n = cache->m_hash_size; in rtl_cache_deactivate() 1134 sal_Size objsize, in rtl_cache_create() 1135 sal_Size objalign, in rtl_cache_create() [all …]
|
H A D | alloc_cache.h | 44 sal_Size m_mem_total; 45 sal_Size m_mem_alloc; 89 sal_Size m_mag_size; 90 sal_Size m_mag_used; 104 sal_Size m_mag_count; /* count */ 107 sal_Size m_curr_min; 108 sal_Size m_prev_min; 131 sal_Size m_type_size; /* const */ 132 sal_Size m_type_align; /* const */ 145 sal_Size m_slab_size; /* const */ [all …]
|
H A D | alloc_global.c | 54 static const sal_Size g_alloc_sizes[] = 118 sal_Size size; in rtl_memory_once_init() 201 SAL_CALL rtl_allocateMemory (sal_Size n) SAL_THROW_EXTERN_C() in rtl_allocateMemory() 207 sal_Size size = RTL_MEMORY_ALIGN(n + RTL_MEMALIGN, RTL_MEMALIGN); in rtl_allocateMemory() 209 OSL_ASSERT(RTL_MEMALIGN >= sizeof(sal_Size)); in rtl_allocateMemory() 224 ((sal_Size*)(addr))[0] = size; in rtl_allocateMemory() 246 sal_Size size = ((sal_Size*)(addr))[0]; in rtl_freeMemory() 264 sal_Size n_old = ((sal_Size*)( (char*)(p) - RTL_MEMALIGN ))[0] - RTL_MEMALIGN; in rtl_reallocateMemory() 304 void * SAL_CALL rtl_allocateMemory (sal_Size n) in rtl_allocateMemory() 318 void * SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) in rtl_reallocateMemory() [all …]
|
H A D | alloc_impl.h | 100 highbit(sal_Size n) in highbit() 133 lowbit(sal_Size n) in lowbit()
|
H A D | cipher.c | 89 const void *pData, sal_Size nDatLen, 90 sal_uInt8 *pBuffer, sal_Size nBufLen); 161 const void *pData, sal_Size nDatLen, in rtl_cipher_encode() 162 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_encode() 178 const void *pData, sal_Size nDatLen, in rtl_cipher_decode() 254 sal_Size nLength); 263 sal_Size nLength); 788 sal_Size nLength) in __rtl_cipherBF_updateECB() 823 sal_Size nLength) in __rtl_cipherBF_updateCBC() 1168 sal_Size n, k; in rtl_cipherARCFOUR_init_Impl() [all …]
|
H A D | memory.c | 28 void SAL_CALL rtl_zeroMemory(void *Ptr, sal_Size Bytes) in rtl_zeroMemory() 33 void SAL_CALL rtl_fillMemory(void *Ptr, sal_Size Bytes, sal_uInt8 Fill) in rtl_fillMemory() 38 void SAL_CALL rtl_copyMemory(void *Dst, const void *Src, sal_Size Bytes) in rtl_copyMemory() 43 void SAL_CALL rtl_moveMemory(void *Dst, const void *Src, sal_Size Bytes) in rtl_moveMemory() 48 sal_Int32 SAL_CALL rtl_compareMemory(const void *MemA, const void *MemB, sal_Size Bytes) in rtl_compareMemory() 53 void* SAL_CALL rtl_findInMemory(const void *MemA, sal_uInt8 ch, sal_Size Bytes) in rtl_findInMemory()
|
H A D | random.c | 91 RandomPool_Impl *pImpl, const sal_uInt8 *pBuffer, sal_Size nBufLen); 96 RandomPool_Impl *pImpl, sal_uInt8 *pBuffer, sal_Size nBufLen); 166 RandomPool_Impl *pImpl, const sal_uInt8 *pBuffer, sal_Size nBufLen) in __rtl_random_seedPool() 168 sal_Size i; in __rtl_random_seedPool() 218 RandomPool_Impl *pImpl, sal_uInt8 *pBuffer, sal_Size nBufLen) in __rtl_random_readPool() 307 rtlRandomPool Pool, const void *Buffer, sal_Size Bytes) in rtl_random_addBytes() 323 rtlRandomPool Pool, void *Buffer, sal_Size Bytes) in rtl_random_getBytes()
|
H A D | string.c | 186 sal_Size nSrcChars; in rtl_impl_convertUStringToString() 187 sal_Size nDestBytes; in rtl_impl_convertUStringToString() 188 sal_Size nNewLen; in rtl_impl_convertUStringToString() 189 sal_Size nNotConvertedChars; in rtl_impl_convertUStringToString() 190 sal_Size nMaxCharLen; in rtl_impl_convertUStringToString() 199 if ( nNewLen == (sal_Size)nLength ) in rtl_impl_convertUStringToString()
|
H A D | uri.cxx | 193 sal_Size nConverted; in readUcs4() 194 sal_Size nDstSize = rtl_convertTextToUnicode( in readUcs4() 312 sal_Size nSrcSize; in writeEscapeChar() 328 sal_Size nConverted; in writeEscapeChar() 329 sal_Size nDstSize = rtl_convertUnicodeToText( in writeEscapeChar() 339 for (sal_Size i = 0; i < nDstSize; ++i) in writeEscapeChar()
|
H A D | ustring.c | 600 sal_Size nSrcBytes; in rtl_string2UString_status() 601 sal_Size nDestChars; in rtl_string2UString_status() 602 sal_Size nNewLen; in rtl_string2UString_status() 612 if ( nNewLen == (sal_Size)nLen ) in rtl_string2UString_status()
|
/trunk/main/sal/textenc/ |
H A D | convertbig5hkscs.c | 53 sal_Size ImplConvertBig5HkscsToUnicode(ImplTextConverterData const * pData, in ImplConvertBig5HkscsToUnicode() 56 sal_Size nSrcBytes, in ImplConvertBig5HkscsToUnicode() 58 sal_Size nDestChars, in ImplConvertBig5HkscsToUnicode() 61 sal_Size * pSrcCvtBytes) in ImplConvertBig5HkscsToUnicode() 74 sal_Size nConverted = 0; in ImplConvertBig5HkscsToUnicode() 273 sal_Size ImplConvertUnicodeToBig5Hkscs(ImplTextConverterData const * pData, in ImplConvertUnicodeToBig5Hkscs() 276 sal_Size nSrcChars, in ImplConvertUnicodeToBig5Hkscs() 278 sal_Size nDestBytes, in ImplConvertUnicodeToBig5Hkscs() 281 sal_Size * pSrcCvtChars) in ImplConvertUnicodeToBig5Hkscs() 297 sal_Size nConverted = 0; in ImplConvertUnicodeToBig5Hkscs()
|
H A D | convertbig5hkscs.h | 51 sal_Size ImplConvertBig5HkscsToUnicode(ImplTextConverterData const * pData, 54 sal_Size nSrcBytes, 56 sal_Size nDestChars, 59 sal_Size * pSrcCvtBytes) 62 sal_Size ImplConvertUnicodeToBig5Hkscs(ImplTextConverterData const * pData, 65 sal_Size nSrcChars, 67 sal_Size nDestBytes, 70 sal_Size * pSrcCvtChars)
|
H A D | converter.c | 88 sal_Size nPrefixLen, in ImplHandleBadInputUnicodeToTextConversion() 149 if ((sal_Size) (pDestBufEnd - *pDestBufPtr) > nPrefixLen) in ImplHandleBadInputUnicodeToTextConversion()
|
H A D | converter.h | 54 sal_Size nPrefixLen,
|
H A D | converteuctw.c | 64 sal_Size ImplConvertEucTwToUnicode(ImplTextConverterData const * pData, in ImplConvertEucTwToUnicode() 67 sal_Size nSrcBytes, in ImplConvertEucTwToUnicode() 69 sal_Size nDestChars, in ImplConvertEucTwToUnicode() 72 sal_Size * pSrcCvtBytes) in ImplConvertEucTwToUnicode() 87 sal_Size nConverted = 0; in ImplConvertEucTwToUnicode() 286 sal_Size ImplConvertUnicodeToEucTw(ImplTextConverterData const * pData, in ImplConvertUnicodeToEucTw() 289 sal_Size nSrcChars, in ImplConvertUnicodeToEucTw() 291 sal_Size nDestBytes, in ImplConvertUnicodeToEucTw() 294 sal_Size * pSrcCvtChars) in ImplConvertUnicodeToEucTw() 307 sal_Size nConverted = 0; in ImplConvertUnicodeToEucTw()
|
H A D | converteuctw.h | 48 sal_Size ImplConvertEucTwToUnicode(ImplTextConverterData const * pData, 51 sal_Size nSrcBytes, 53 sal_Size nDestChars, 56 sal_Size * pSrcCvtBytes) 59 sal_Size ImplConvertUnicodeToEucTw(ImplTextConverterData const * pData, 62 sal_Size nSrcChars, 64 sal_Size nDestBytes, 67 sal_Size * pSrcCvtChars)
|
H A D | convertgb18030.c | 63 sal_Size ImplConvertGb18030ToUnicode(ImplTextConverterData const * pData, in ImplConvertGb18030ToUnicode() 66 sal_Size nSrcBytes, in ImplConvertGb18030ToUnicode() 68 sal_Size nDestChars, in ImplConvertGb18030ToUnicode() 71 sal_Size * pSrcCvtBytes) in ImplConvertGb18030ToUnicode() 81 sal_Size nConverted = 0; in ImplConvertGb18030ToUnicode() 278 sal_Size ImplConvertUnicodeToGb18030(ImplTextConverterData const * pData, in ImplConvertUnicodeToGb18030() 281 sal_Size nSrcChars, in ImplConvertUnicodeToGb18030() 283 sal_Size nDestBytes, in ImplConvertUnicodeToGb18030() 286 sal_Size * pSrcCvtChars) in ImplConvertUnicodeToGb18030() 296 sal_Size nConverted = 0; in ImplConvertUnicodeToGb18030()
|
H A D | convertgb18030.h | 62 sal_Size ImplConvertGb18030ToUnicode(ImplTextConverterData const * pData, 65 sal_Size nSrcBytes, 67 sal_Size nDestChars, 70 sal_Size * pSrcCvtBytes) 73 sal_Size ImplConvertUnicodeToGb18030(ImplTextConverterData const * pData, 76 sal_Size nSrcChars, 78 sal_Size nDestBytes, 81 sal_Size * pSrcCvtChars)
|
H A D | convertiso2022cn.c | 91 sal_Size ImplConvertIso2022CnToUnicode(ImplTextConverterData const * pData, in ImplConvertIso2022CnToUnicode() 94 sal_Size nSrcBytes, in ImplConvertIso2022CnToUnicode() 96 sal_Size nDestChars, in ImplConvertIso2022CnToUnicode() 99 sal_Size * pSrcCvtBytes) in ImplConvertIso2022CnToUnicode() 119 sal_Size nConverted = 0; in ImplConvertIso2022CnToUnicode() 484 sal_Size ImplConvertUnicodeToIso2022Cn(ImplTextConverterData const * pData, in ImplConvertUnicodeToIso2022Cn() 487 sal_Size nSrcChars, in ImplConvertUnicodeToIso2022Cn() 489 sal_Size nDestBytes, in ImplConvertUnicodeToIso2022Cn() 492 sal_Size * pSrcCvtChars) in ImplConvertUnicodeToIso2022Cn() 512 sal_Size nConverted = 0; in ImplConvertUnicodeToIso2022Cn()
|
H A D | convertiso2022cn.h | 50 sal_Size ImplConvertIso2022CnToUnicode(ImplTextConverterData const * pData, 53 sal_Size nSrcBytes, 55 sal_Size nDestChars, 58 sal_Size * pSrcCvtBytes) 65 sal_Size ImplConvertUnicodeToIso2022Cn(ImplTextConverterData const * pData, 68 sal_Size nSrcChars, 70 sal_Size nDestBytes, 73 sal_Size * pSrcCvtChars)
|
H A D | convertiso2022jp.c | 72 sal_Size ImplConvertIso2022JpToUnicode(ImplTextConverterData const * pData, in ImplConvertIso2022JpToUnicode() 75 sal_Size nSrcBytes, in ImplConvertIso2022JpToUnicode() 77 sal_Size nDestChars, in ImplConvertIso2022JpToUnicode() 80 sal_Size * pSrcCvtBytes) in ImplConvertIso2022JpToUnicode() 89 sal_Size nConverted = 0; in ImplConvertIso2022JpToUnicode() 317 sal_Size ImplConvertUnicodeToIso2022Jp(ImplTextConverterData const * pData, in ImplConvertUnicodeToIso2022Jp() 320 sal_Size nSrcChars, in ImplConvertUnicodeToIso2022Jp() 322 sal_Size nDestBytes, in ImplConvertUnicodeToIso2022Jp() 325 sal_Size * pSrcCvtChars) in ImplConvertUnicodeToIso2022Jp() 333 sal_Size nConverted = 0; in ImplConvertUnicodeToIso2022Jp()
|