/aoo41x/main/sal/osl/os2/ |
H A D | nlsupport.c | 93 static char * _compose_locale( rtl_Locale * pLocale, char * buffer, size_t n ) in _compose_locale() argument 105 pLocale->Language->buffer, pLocale->Language->length, in _compose_locale() 110 strcpy( buffer, pLanguage->buffer ); in _compose_locale() 123 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale() 128 strcpy( buffer + offset++, "_" ); in _compose_locale() 129 strcpy( buffer + offset, pCountry->buffer ); in _compose_locale() 143 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale() 148 strcpy( buffer + offset, pVariant->buffer ); in _compose_locale() 155 return buffer; in _compose_locale() 200 …t = rtl_locale_register( pLanguage->buffer, pCountry ? pCountry->buffer : c_locale + 1, pVariant … in _parse_locale()
|
H A D | file.cxx | 886 char buffer[3]; in _osl_getNextDrive() local 904 buffer[0] = '@' + pDirImpl->ulNextDrive; in _osl_getNextDrive() 905 buffer[1] = ':'; in _osl_getNextDrive() 906 buffer[2] = 0; in _osl_getNextDrive() 1380 char buffer[PATH_MAX]; in osl_openFile() local 1381 eRet = FileURLToPath (buffer, sizeof(buffer), ustrFileURL); in osl_openFile() 1385 if (macxp_resolveAlias (buffer, sizeof(buffer)) != 0) in osl_openFile() 2093 char buffer[ 4096]; in oslDoCopyFile() local 2119 while( (nRet = read(SourceFileFD, buffer, sizeof(buffer))) !=0 ) in oslDoCopyFile() 2121 nRet = write( DestFileFD, buffer, nRet); in oslDoCopyFile() [all …]
|
/aoo41x/main/store/source/ |
H A D | store.cxx | 619 pSrcPath->buffer, pSrcPath->length, RTL_TEXTENCODING_UTF8); in store_link() 621 pSrcName->buffer, pSrcName->length, RTL_TEXTENCODING_UTF8); in store_link() 631 pDstPath->buffer, pDstPath->length, RTL_TEXTENCODING_UTF8); in store_link() 633 pDstName->buffer, pDstName->length, RTL_TEXTENCODING_UTF8); in store_link() 669 pDstPath->buffer, pDstPath->length, RTL_TEXTENCODING_UTF8); in store_symlink() 671 pDstName->buffer, pDstName->length, RTL_TEXTENCODING_UTF8); in store_symlink() 681 pSrcPath->buffer, pSrcPath->length, RTL_TEXTENCODING_UTF8); in store_symlink() 683 pSrcName->buffer, pSrcName->length, RTL_TEXTENCODING_UTF8); in store_symlink() 712 pSrcPath->buffer, pSrcPath->length, RTL_TEXTENCODING_UTF8); in store_rename() 714 pSrcName->buffer, pSrcName->length, RTL_TEXTENCODING_UTF8); in store_rename() [all …]
|
/aoo41x/main/sal/qa/osl/mutex/ |
H A D | osl_Mutex.cxx | 168 sal_Int32 buffer[ BUFFER_SIZE ]; member 200 pChain->buffer[ nPos + i ] = oId; in run() 298 m_Data.buffer[i] = 0; in setUp() 330 if (m_Data.buffer[0] == m_Data.buffer[1] && in ctor_001() 331 m_Data.buffer[1] == m_Data.buffer[2] && in ctor_001() 332 m_Data.buffer[2] == m_Data.buffer[3] && in ctor_001() 333 m_Data.buffer[3] == m_Data.buffer[4] && in ctor_001() 334 m_Data.buffer[5] == m_Data.buffer[6] && in ctor_001() 335 m_Data.buffer[6] == m_Data.buffer[7] && in ctor_001() 336 m_Data.buffer[7] == m_Data.buffer[8] && in ctor_001() [all …]
|
/aoo41x/main/javaunohelper/com/sun/star/lib/uno/adapter/ |
H A D | XOutputStreamToByteArrayAdapter.java | 49 private byte[] buffer; field in XOutputStreamToByteArrayAdapter 59 buffer = aBuffer; in XOutputStreamToByteArrayAdapter() 60 size = buffer.length; in XOutputStreamToByteArrayAdapter() 64 buffer = new byte[size]; in XOutputStreamToByteArrayAdapter() 70 return buffer; in getBuffer() 79 if ( buffer.length > position && !externalBuffer ) in closeOutput() 82 System.arraycopy(buffer, 0, newBuffer, 0, position); in closeOutput() 83 buffer = newBuffer; in closeOutput() 110 System.arraycopy(buffer, 0, newBuffer, 0, position); in writeBytes() 111 buffer = newBuffer; in writeBytes() [all …]
|
/aoo41x/main/bean/com/sun/star/comp/beans/ |
H A D | LocalOfficeConnection.java | 549 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath() 558 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath() 559 buffer.append(ch); in parseUnoUrlWithOfficePath() 569 name = buffer.toString(); in parseUnoUrlWithOfficePath() 579 buffer.append(ch); in parseUnoUrlWithOfficePath() 605 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath() 606 buffer.append(ch); in parseUnoUrlWithOfficePath() 631 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath() 635 buffer.append(ch); in parseUnoUrlWithOfficePath() 665 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath() [all …]
|
/aoo41x/main/sal/rtl/source/ |
H A D | strtmpl.c | 949 pData->buffer[nLen] = 0; in IMPL_RTL_STRINGNAME() 965 pDest = pData->buffer; in IMPL_RTL_STRINGNAME() 966 pSrc = pStr->buffer; in IMPL_RTL_STRINGNAME() 1046 IMPL_RTL_STRCODE* pTempStr = (*ppThis)->buffer; in IMPL_RTL_STRINGNAME() 1073 rtl_str_ImplCopy( (*ppThis)->buffer, pStr->buffer, pStr->length ); in IMPL_RTL_STRINGNAME() 1108 pBuffer = (*ppThis)->buffer; in IMPL_RTL_STRINGNAME() 1171 return pThis->buffer; in IMPL_RTL_STRINGNAME() 1197 rtl_str_ImplCopy( pTempStr->buffer, pLeft->buffer, pLeft->length ); in IMPL_RTL_STRINGNAME() 1198 rtl_str_ImplCopy( pTempStr->buffer+pLeft->length, pRight->buffer, pRight->length ); in IMPL_RTL_STRINGNAME() 1266 pBuffer = (*ppThis)->buffer; in IMPL_RTL_STRINGNAME() [all …]
|
H A D | ustring.c | 441 IMPL_RTL_STRCODE* pBuffer = (*ppThis)->buffer; in rtl_uString_newFromAscii() 493 p = (*newString)->buffer; in rtl_uString_newFromCodePoints() 577 pBuffer = (*ppThis)->buffer; in rtl_string2UString_status() 624 pBuffer = (*ppThis)->buffer; in rtl_string2UString_status() 697 rtl_str_ImplCopy(pTemp2->buffer, pTemp->buffer, nDestChars); in rtl_string2UString_status() 704 pTemp->buffer[nDestChars] = 0; in rtl_string2UString_status() 829 pScratch->buffer[i] = str[i]; in rtl_uString_internConvert() 891 cu = string->buffer[--n]; in rtl_uString_iterateCodePoints() 900 cu = string->buffer[n]; in rtl_uString_iterateCodePoints() 902 SAL_RTL_IS_LOW_SURROGATE(string->buffer[n + 1])) in rtl_uString_iterateCodePoints() [all …]
|
/aoo41x/main/setup_native/source/ulfconv/ |
H A D | ulfconv.cxx | 163 char buffer[512]; in read_encoding_table() local 164 while ( NULL != my_fgets(buffer, sizeof(buffer), fp) ) { in read_encoding_table() 167 if ( buffer[0] == '#' ) in read_encoding_table() 172 for ( cp = buffer; ! isspace(*cp); cp++ ) in read_encoding_table() 191 const std::string language(buffer); in read_encoding_table() 315 char buffer[65536]; in main() local 316 while ( NULL != fgets(buffer, sizeof(buffer), istream) ) { in main() 319 char * cp = strstr(buffer, " = \""); in main() 325 for ( n=0; ! isspace(buffer[n]); n++ ) in main() 328 std::string line = buffer; in main() [all …]
|
/aoo41x/main/reportbuilder/java/com/sun/star/report/pentaho/output/ |
H A D | OfficeDocumentReportTarget.java | 1265 buffer.append('_'); in sanitizeName() 1269 buffer.append(aChar); in sanitizeName() 1272 return buffer.toString(); in sanitizeName() 1368 buffer.append("rect("); in startImageProcessing() 1371 buffer.append(' '); in startImageProcessing() 1374 buffer.append(' '); in startImageProcessing() 1377 buffer.append(' '); in startImageProcessing() 1380 buffer.append(')'); in startImageProcessing() 1394 buffer.append(" 0cm "); in startImageProcessing() 1397 buffer.append(')'); in startImageProcessing() [all …]
|
/aoo41x/main/l10ntools/source/ |
H A D | xmlparse.cxx | 874 OUStringBuffer* buffer = new OUStringBuffer(); in ToOString() local 875 Print( this, *buffer , true ); in ToOString() 877 OString result( (sal_Unicode* )buffer->getStr(), buffer->getLength() , RTL_TEXTENCODING_UTF8 ); in ToOString() 878 delete buffer; in ToOString() 884 OUStringBuffer* buffer = new OUStringBuffer(); in ToOUString() local 885 Print(this,*buffer,true); in ToOUString() 886 OUString result=buffer->makeStringAndClear(); in ToOUString() 889 delete buffer; in ToOUString() 920 buffer.append( pElement->GetName() ); in Print() 954 buffer.append( sData ); in Print() [all …]
|
/aoo41x/main/i18npool/source/nativenumber/ |
H A D | nativenumbersupplier.cxx | 83 newStr->buffer[i] = NumberChar[number][ ch - NUMBER_ZERO ]; in AsciiToNativeChar() 92 newStr->buffer[i] = ch; in AsciiToNativeChar() 193 newStr->buffer[count] = numberChar[str[i] - NUMBER_ZERO]; in AsciiToNative() 199 srcStr->buffer[len++] = str[i]; in AsciiToNative() 209 … notZero |= AsciiToNative_numberMaker(srcStr->buffer, begin, end - begin, newStr->buffer, count, in AsciiToNative() 224 newStr->buffer[count] = numberChar[0]; in AsciiToNative() 239 newStr->buffer[count] = str[i]; in AsciiToNative() 249 OUString resultStr( newStr->buffer, count ); in AsciiToNative() 331 newStr->buffer[count] = NUMBER_ONE; in NativeToAscii() 361 newStr->buffer[count] = str[i]; in NativeToAscii() [all …]
|
/aoo41x/main/toolkit/src2xml/source/ |
H A D | macroparser.py | 30 self.buffer = buf 41 print("parsing '%s'"%self.buffer) 44 bufSize = len(self.buffer) 47 c = self.buffer[i] 52 content = self.buffer[i:] 58 buf = self.buffer[i:] 66 def parseArgs (self, buffer): argument 76 bufSize = len(buffer) 79 c = buffer[i] 103 return vars, buffer[i+1:]
|
/aoo41x/main/binaryurp/source/ |
H A D | marshal.hxx | 52 static void write8(std::vector< unsigned char > * buffer, sal_uInt8 value); 55 std::vector< unsigned char > * buffer, sal_uInt16 value); 58 std::vector< unsigned char > * buffer, sal_uInt32 value); 61 std::vector< unsigned char > * buffer, 66 std::vector< unsigned char > * buffer, 70 std::vector< unsigned char > * buffer, rtl::OUString const & oid); 73 std::vector< unsigned char > * buffer, rtl::ByteSequence const & tid); 77 std::vector< unsigned char > * buffer, 81 std::vector< unsigned char > * buffer,
|
/aoo41x/main/idlc/source/ |
H A D | idlcproduce.cxx | 54 OStringBuffer buffer(sysPathName.getLength()); in checkOutputPath() local 66 buffer.append(token); in checkOutputPath() 67 buffer.append(SEPARATOR); in checkOutputPath() 74 buffer.append(sysPathName.getToken(0, SEPARATOR, nIndex)); in checkOutputPath() 76 if ( buffer.getLength() > 0 && nIndex != -1 ) in checkOutputPath() 79 if (mkdir((char*)buffer.getStr(), 0777) == -1) in checkOutputPath() 81 if (mkdir((char*)buffer.getStr()) == -1) in checkOutputPath() 87 idlc()->getOptions()->getProgramName().getStr(), buffer.getStr()); in checkOutputPath() 94 pCreatedDirectories->push_front(buffer.getStr()); in checkOutputPath() 97 buffer.append(SEPARATOR); in checkOutputPath()
|
/aoo41x/main/sal/systools/win32/uwinapi/ |
H A D | sntprintf.c | 71 static _TCHAR *GetLastBufferChar( _TCHAR *buffer, size_t count ) in GetLastBufferChar() argument 74 _TCHAR *cur = buffer; in GetLastBufferChar() 76 while ( (size_t)(cur - buffer) < count ) in GetLastBufferChar() 91 _SNPRINTF_DLLIMPORT int __cdecl vsntprintf( _TCHAR *buffer, size_t count, const _TCHAR *format, va_… in vsntprintf() argument 98 retval = _vsntprintf( buffer, count, format, list ); in vsntprintf() 105 _TCHAR *last = GetLastBufferChar( buffer, count ); in vsntprintf() 119 _TCHAR *last = GetLastBufferChar( buffer, count ); in vsntprintf() 129 _SNPRINTF_DLLIMPORT int __cdecl sntprintf( _TCHAR *buffer, size_t count, const _TCHAR *format, ... ) in sntprintf() argument 135 retval = vsntprintf( buffer, count, format, list ); in sntprintf()
|
/aoo41x/main/extensions/workben/ |
H A D | testpgp.cxx | 222 char buffer[1024]; in setBuffer() local 223 rtl_zeroMemory (buffer, sizeof(buffer)); in setBuffer() 225 int k = read (m_fd, buffer, sizeof(buffer)); in setBuffer() 231 rtl_copyMemory (m_buffer.getArray() + n, buffer, k); in setBuffer() 234 rtl_zeroMemory (buffer, k); in setBuffer() 235 k = read (m_fd, buffer, sizeof(buffer)); in setBuffer() 728 Sequence<sal_Int8> buffer (pData, sizeof (pData) - 1); in main() local 740 source->setBuffer (buffer); in main() 788 buffer = sink->getBuffer(); in main() 801 source->setBuffer (buffer); in main() [all …]
|
/aoo41x/main/sal/osl/unx/ |
H A D | nlsupport.c | 101 static char * _compose_locale( rtl_Locale * pLocale, char * buffer, size_t n ) in _compose_locale() argument 114 pLocale->Language->buffer, pLocale->Language->length, in _compose_locale() 119 strcpy( buffer, pLanguage->buffer ); in _compose_locale() 132 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale() 137 strcpy( buffer + offset++, "_" ); in _compose_locale() 138 strcpy( buffer + offset, pCountry->buffer ); in _compose_locale() 152 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale() 157 strcpy( buffer + offset, pVariant->buffer ); in _compose_locale() 164 return buffer; in _compose_locale() 215 …t = rtl_locale_register( pLanguage->buffer, pCountry ? pCountry->buffer : c_locale + 1, pVariant … in _parse_locale()
|
/aoo41x/main/xmlhelp/source/cxxhelp/provider/ |
H A D | urlparameter.cxx | 408 char *buffer; member in InputStreamTransformer 828 memcpy(buffer, aSeq.getConstArray(), len); in helpRead() 841 return helpRead(context, buffer, len); in zipRead() 898 delete[] buffer; in InputStreamTransformer() 900 &buffer, in InputStreamTransformer() 905 delete[] buffer; in InputStreamTransformer() 909 &buffer, in InputStreamTransformer() 1084 delete[] buffer; in ~InputStreamTransformer() 1131 aData[k] = buffer[pos++]; in readBytes() 1214 char* tmp = buffer; in addToBuffer() [all …]
|
/aoo41x/main/crashrep/source/win32/ |
H A D | soreport.cpp | 587 char buffer[1024]; in fcopy() local 593 while ( 0 != (nBytes = fread( buffer, 1, sizeof(buffer), fpin )) ) in fcopy() 1575 if (buffer[0] == 'M' && buffer[1] == 'Z') in normalize_pe_image() 1672 0 != (nBytesRead = fread( buffer, 1, sizeof(buffer), fp )) ) 2447 char buffer[2048]; in SendHTTPRequest() local 2450 sprintf( buffer, in SendHTTPRequest() 2460 sprintf( buffer, in SendHTTPRequest() 2468 if ( SOCKET_ERROR != send( s, buffer, strlen(buffer), 0 ) ) in SendHTTPRequest() 2474 nBytes = fread( buffer, 1, sizeof(buffer), fp ); in SendHTTPRequest() 2482 memset( buffer, 0, sizeof(buffer) ); in SendHTTPRequest() [all …]
|
/aoo41x/main/writerfilter/source/rtftok/ |
H A D | RTFScanner.skl | 102 /* Size of default input buffer. */ 161 char *yy_ch_buf; /* input buffer */ 234 /* Points to current character in buffer. */ 713 int len=yyin->readSomeBytes(buffer,max_size); 716 sal_Int8 *_buffer=buffer.getArray(); 733 /* yy_get_next_buffer - try to read in a new buffer 777 /* First move last chars to start of buffer. */ 798 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); 1015 /* Reset buffer status. */ 1086 /* Flush out information for old buffer. */ [all …]
|
/aoo41x/main/scripting/source/storage/ |
H A D | ScriptSecurityManager.cxx | 104 RTL_TEXTENCODING_ASCII_US ).pData->buffer); in addScriptStorage() 125 RTL_TEXTENCODING_ASCII_US ).pData->buffer); in addScriptStorage() 207 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in addScriptStorage() 226 RTL_TEXTENCODING_ASCII_US ).pData->buffer); in isSecureURL() 232 RTL_TEXTENCODING_ASCII_US ).pData->buffer); in isSecureURL() 312 RTL_TEXTENCODING_ASCII_US ).pData->buffer); in checkPermission() 350 RTL_TEXTENCODING_ASCII_US ).pData->buffer); in removePermissionSettings() 420 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in readConfiguration() 450 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in readConfiguration() 455 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in readConfiguration() [all …]
|
/aoo41x/main/setup_native/source/win32/customactions/shellextensions/ |
H A D | checkpatches.cxx | 57 CHAR buffer[1024]; in OutputDebugStringFormat() local 61 StringCchVPrintfA( buffer, sizeof(buffer), pFormat, args ); in OutputDebugStringFormat() 62 OutputDebugStringA( buffer ); in OutputDebugStringFormat() 79 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(nBytes)); in GetMsiProperty() local 80 ZeroMemory( buffer, nBytes ); in GetMsiProperty() 81 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty() 82 result = buffer; in GetMsiProperty()
|
/aoo41x/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/ |
H A D | SDFWriter.java | 102 StringBuffer buffer=new StringBuffer(""); in writeData() local 110 buffer.append(outData.get(sourceLineNames[i])); in writeData() 113 buffer.append(seperator); in writeData() 117 buffer.append(lineEnd); in writeData() 126 buffer.append(outData.get(targetLineNames[i])); in writeData() 129 buffer.append(seperator); in writeData() 133 buffer.append(lineEnd); in writeData() 138 this.write(buffer.toString()); in writeData()
|
/aoo41x/main/unodevtools/source/skeletonmaker/ |
H A D | cppcompskeleton.cxx | 693 OStringBuffer buffer(256); in generateClassDefinition() local 694 buffer.append(parentname); in generateClassDefinition() 695 buffer.append("< "); in generateClassDefinition() 703 buffer.append(", "); in generateClassDefinition() 705 buffer.append(" >"); in generateClassDefinition() 707 OString parent(buffer.makeStringAndClear()); in generateClassDefinition() 823 OStringBuffer buffer(128); in generateClassDefinition() local 826 buffer.append("IMPLEMENTS_PROPERTY_SET"); in generateClassDefinition() 830 if (buffer.getLength() > 0) in generateClassDefinition() 837 if (buffer.getLength() > 0) in generateClassDefinition() [all …]
|