| /trunk/main/filter/source/config/tools/merge/ |
| H A D | pyAltFCFGMerge | 98 buff = [] 102 buff.append('\\\\') 104 buff.append('\\t') 106 buff.append('\\n') 108 buff.append('\\r') 110 buff.append('\\ ') 112 buff.append("\\'") 114 buff.append('\\"') 116 buff.append('\\#') 118 buff.append('\\!') [all …]
|
| /trunk/main/registry/source/ |
| H A D | reflwrit.cxx | 117 sal_uInt8* buff = buffer; in writeString() local 121 buff += writeUINT16(buff, (sal_uInt16) v[i]); in writeString() 124 return (buff - buffer); in writeString() 131 sal_uInt8* buff = (sal_uInt8*)buffer; in readString() local 137 buff += readUINT16(buff, aChar); in readString() 144 return (buff - ((sal_uInt8*)buffer)); in readString() 295 sal_uInt8* buff = buffer; in toBlop() local 297 buff += writeUINT32(buff, getBlopSize()); in toBlop() 298 buff += writeUINT16(buff, (sal_uInt16) m_tag); in toBlop() 303 buff += writeBYTE(buff, (sal_uInt8) m_value.aConst.aBool); in toBlop() [all …]
|
| /trunk/main/extensions/test/ole/cpnt/ |
| H A D | cpnt.cxx | 1280 char buff[1024]; in methodStruct() local 1281 buff[0]= 0; in methodStruct() 1282 sprintf( buff,"Property::Attribute : %d \n Property::Handle : %d \n Property::Name : %S", in methodStruct() 1284 MessageBox( NULL, A2T(buff), _T("OleTest: methodStruct"), MB_OK); in methodStruct() 1308 char buff[1024]; in setAttrStruct() local 1309 buff[0]= 0; in setAttrStruct() 1310 sprintf( buff,"Property::Attribute : %d \n Property::Handle : %d \n Property::Name : %S", in setAttrStruct() 1338 char buff[256]; in in_float() local 1339 sprintf( buff, "parameter : %f", val); in in_float() 1340 MessageBox( NULL, A2T(buff), _T("OleTest"), MB_OK); in in_float() [all …]
|
| /trunk/main/setup_native/source/win32/customactions/reg4msdoc/ |
| H A D | registryw9x.cxx | 143 char buff[1024]; in GetSubKeyNames() local 144 DWORD buff_size = sizeof(buff); in GetSubKeyNames() 154 m_hSubKey, i, buff, &buff_size, in GetSubKeyNames() 161 buff_size = sizeof(buff); in GetSubKeyNames() 163 key_names->push_back(AnsiToUnicodeString(buff)); in GetSubKeyNames() 181 char buff[1024]; in GetSubValueNames() local 182 DWORD buff_size = sizeof(buff); in GetSubValueNames() 191 m_hSubKey, i, buff, &buff_size, in GetSubValueNames() 198 buff_size = sizeof(buff); in GetSubValueNames() 200 value_names->push_back(AnsiToUnicodeString(buff)); in GetSubValueNames() [all …]
|
| H A D | registrywnt.cxx | 148 wchar_t buff[1024]; in GetSubKeyNames() local 149 DWORD buff_size = sizeof(buff); in GetSubKeyNames() 159 m_hSubKey, i, buff, &buff_size, in GetSubKeyNames() 166 buff_size = sizeof(buff); in GetSubKeyNames() 168 key_names->push_back(buff); in GetSubKeyNames() 190 wchar_t buff[1024]; in GetSubValueNames() local 191 DWORD buff_size = sizeof(buff); in GetSubValueNames() 200 m_hSubKey, i, buff, &buff_size, in GetSubValueNames() 207 buff_size = sizeof(buff); in GetSubValueNames() 209 value_names->push_back(buff); in GetSubValueNames() [all …]
|
| H A D | stringconverter.cxx | 43 char* buff = reinterpret_cast<char*>(_alloca(len)); in UnicodeToAnsiString() local 46 CP_ACP, 0, UniString.c_str(), -1, buff, len, 0, 0); in UnicodeToAnsiString() 48 return std::string(buff); in UnicodeToAnsiString() 58 wchar_t* buff = reinterpret_cast<wchar_t*>(_alloca(len * sizeof(wchar_t))); in AnsiToUnicodeString() local 61 CP_ACP, 0, AnsiString.c_str(), -1, buff, len); in AnsiToUnicodeString() 63 return std::wstring(buff); in AnsiToUnicodeString()
|
| /trunk/main/setup_native/source/win32/customactions/quickstarter/ |
| H A D | quickstarter.cxx | 43 LPTSTR buff = reinterpret_cast<LPTSTR>(_alloca(nbytes)); in GetOfficeInstallationPath() local 44 ZeroMemory(buff, nbytes); in GetOfficeInstallationPath() 45 MsiGetProperty(handle, TEXT("INSTALLLOCATION"), buff, &sz); in GetOfficeInstallationPath() 46 progpath = buff; in GetOfficeInstallationPath() 61 LPTSTR buff = reinterpret_cast<LPTSTR>(_alloca(nbytes)); in GetOfficeProductName() local 62 ZeroMemory(buff, nbytes); in GetOfficeProductName() 63 MsiGetProperty(handle, TEXT("ProductName"), buff, &sz); in GetOfficeProductName() 64 productname = buff; in GetOfficeProductName() 79 LPTSTR buff = reinterpret_cast<LPTSTR>(_alloca(nbytes)); in GetQuickstarterLinkName() local 80 ZeroMemory(buff, nbytes); in GetQuickstarterLinkName() [all …]
|
| /trunk/main/scripting/java/com/sun/star/script/framework/provider/ |
| H A D | PathUtils.java | 69 …StringBuffer buff = new StringBuffer( baseUrl.length() + url.length() ); buff.append( baseU… in make_url() local 73 if ( buff.charAt( buff.length() - 1 ) != '/' ) in make_url() 75 buff.append('/'); in make_url() 77 buff.append( java.net.URLEncoder.encode( (String)t.nextElement() ) ); } in make_url() 78 return buff.toString(); in make_url()
|
| /trunk/main/extensions/test/ole/unoTocomCalls/XCallback_Impl/ |
| H A D | Callback.cpp | 66 char buff[1024]; in outValuesMixed() local 68 sprintf( buff, "param1: %d, param2 out: %d, param3: %S", val, *pval, string); in outValuesMixed() 69 MessageBox( NULL, A2T(buff), A2T("XCallback_Impl.Callback"), MB_OK); in outValuesMixed() 365 char buff[256]; in inoutChar() local 366 sprintf( buff, "character value: %C", *inoutVal); in inoutChar() 367 MessageBox( NULL, A2T(buff), _T("XCallback_Impl.Callback"), MB_OK); in inoutChar() 461 char buff[1024]; in inValues() local 462 sprintf( buff, "Parameters: char= %C, long= %d, string= %s", _char, aLong, W2A(aString)); in inValues() 463 MessageBox( NULL, A2T(buff), _T("XCallback_Impl.Callback"), MB_OK); in inValues()
|
| /trunk/main/scripting/workben/installer/ |
| H A D | ExecCmd.java | 44 String buff = null; in exec() 45 while ((buff = br_in.readLine()) != null) in exec() 47 System.out.println("Process out :" + buff); in exec() 79 String buff = null; in exec() 80 while ((buff = br_err.readLine()) != null) { in exec() 81 System.out.println("Process err :" + buff); in exec()
|
| /trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/ |
| H A D | FormulaParser.java | 482 StringBuffer buff = new StringBuffer(); in expression() local 486 buff.append(look); in expression() 493 tokenVector.add(tokenFactory.getOperandToken(buff.toString(), "STRING")); in expression() 548 StringBuffer buff = new StringBuffer(); in makeErrorString() local 550 buff.append(' '); in makeErrorString() 553 buff.append('^'); in makeErrorString() 554 return "\n\t" + formulaStr + "\n\t" + buff.toString(); in makeErrorString()
|
| /trunk/main/setup_native/source/win32/customactions/regactivex/ |
| H A D | regactivex.cxx | 69 char* buff = reinterpret_cast<char*>( malloc( len ) ); in UnicodeToAnsiString() local 72 CP_ACP, 0, pUniString, -1, buff, len, 0, 0 ); in UnicodeToAnsiString() 74 return buff; in UnicodeToAnsiString() 154 wchar_t* buff = reinterpret_cast<wchar_t*>( malloc( nbytes ) ); in GetMsiProp() local 155 ZeroMemory( buff, nbytes ); in GetMsiProp() 156 MsiGetProperty( hMSI, pPropName, buff, &sz ); in GetMsiProp() 157 *ppValue = buff; in GetMsiProp()
|
| /trunk/main/shell/source/tools/lngconvex/ |
| H A D | lngconvex.cxx | 383 char buff[3]; in read_ulf_file() local 384 in.read(&buff[0], 3); in read_ulf_file() 386 if (memcmp(buff, BOM, 3) != 0) in read_ulf_file() 469 char buff[10]; in start_language_section() local 481 _itoa(primLangID, buff, 16); in start_language_section() 482 lang_section += std::string("0x") + std::string(buff); in start_language_section() 486 _itoa(subLangID, buff, 16); in start_language_section() 488 lang_section += std::string("0x") + std::string(buff); in start_language_section()
|
| /trunk/main/sal/workben/clipboardwben/testcopy/ |
| H A D | XTDataObject.cxx | 138 char buff[] = "Hello World, How are you!"; in GetData() local 144 hr = lpStream->Write( buff, sizeof( buff ) * sizeof( char ), NULL ); in GetData() 165 WCHAR buff[] = L"Hello World, How are you!"; in GetData() local 171 hr = lpStream->Write( buff, sizeof( buff ) * sizeof( WCHAR ), NULL ); in GetData()
|
| H A D | cbcpytest.cxx | 377 TCHAR buff[6]; in PasteData() local 378 … int cbWritten = GetLocaleInfo( lcid, LOCALE_IDEFAULTANSICODEPAGE, buff, sizeof( buff ) ); in PasteData() 379 … cbWritten = GetLocaleInfo( lcid, LOCALE_IDEFAULTCODEPAGE, buff, sizeof( buff ) ); in PasteData()
|
| /trunk/main/scripting/java/org/openoffice/netbeans/modules/office/actions/ |
| H A D | ParcelFolderSupport.java | 232 StringBuffer buff = new StringBuffer(classpath); in getConfigureClasspath() local 233 buff.delete(0,1); in getConfigureClasspath() 234 buff.delete( buff.length() - 1, buff.length() ); in getConfigureClasspath() 235 classpath = buff.toString(); in getConfigureClasspath()
|
| /trunk/main/sw/qa/core/ |
| H A D | Test-BigPtrArray.cxx | 638 char buff[100] = { 0 }; in test_insert_at_end() local 639 strcat(buff, "test_insert_at_end "); in test_insert_at_end() 640 strcat(buff, numElements); in test_insert_at_end() 642 PerformanceTracer tracer(buff); in test_insert_at_end() 652 char buff[100] = { 0 }; in test_insert_at_front() local 653 strcat(buff, "test_insert_at_front "); in test_insert_at_front() 654 strcat(buff, numElements); in test_insert_at_front() 656 PerformanceTracer tracer(buff); in test_insert_at_front()
|
| /trunk/main/setup_native/source/win32/customactions/languagepacks/ |
| H A D | lngpckinsthelper.cxx | 74 CharacterBuffer_t buff(lLongestSubKey + 1); in FindProductInstallationPath() local 78 buff[0] = 0; in FindProductInstallationPath() 79 LONG ret = RegEnumKey(hkey, i, &buff[0], buff.size()); in FindProductInstallationPath() 85 if (RegOpenKey(hkey, &buff[0], &hSubKey) != ERROR_SUCCESS) in FindProductInstallationPath()
|
| /trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/util/ |
| H A D | Debug.java | 320 StringBuffer buff = new StringBuffer(); in byteArrayToHexString() local 327 buff.append('0'); in byteArrayToHexString() 328 buff.append(str); in byteArrayToHexString() 329 buff.append(' '); in byteArrayToHexString() 332 return buff.toString(); in byteArrayToHexString()
|
| /trunk/main/setup_native/source/win32/customactions/shellextensions/ |
| H A D | upgrade.cxx | 73 char* buff = reinterpret_cast<char*>(_alloca(str.length())); in Invert() local 74 strncpy(buff, str.c_str(), str.length()); in Invert() 76 char* front = buff; in Invert() 77 char* back = buff + str.length() - 1; in Invert() 82 return string(buff, str.length()); in Invert()
|
| /trunk/main/ucb/source/ucp/ftp/ |
| H A D | test_ftpurl.cxx | 257 char buff[bffsz]; in test_ftpopen() local 261 rtl_zeroMemory((void*)buff,bffsz); in test_ftpopen() 262 fread(buff,bffsz-1,1,file); in test_ftpopen() 263 nbuf = strlen(buff); in test_ftpopen() 266 strncat(dest,buff,nbuf); in test_ftpopen()
|
| /trunk/main/extensions/test/ole/OleClient/ |
| H A D | clientTest.cxx | 1084 char buff[1024]; in doTest() local 1260 sprintf(buff, "MFC outShort %d", *(sal_Int16*)anyOut.getValue()); in doTest() 1261 MessageBox( NULL, buff, _T("clientTest"), MB_OK); in doTest() 1266 sprintf(buff, "MFC outLong %d", *(sal_Int32*)anyOut.getValue()); in doTest() 1267 MessageBox( NULL, buff, _T("clientTest"), MB_OK); in doTest() 1272 sprintf(buff, "MFC outString %S", ((OUString*)anyOut.getValue())->getStr()); in doTest() 1273 MessageBox( NULL, buff, _T("clientTest"), MB_OK); in doTest() 1278 sprintf(buff, "MFC outFloat %f", *(float*)anyOut.getValue()); in doTest() 1279 MessageBox( NULL, buff, _T("clientTest"), MB_OK); in doTest() 1284 sprintf(buff, "MFC outFloat %f", *(double*)anyOut.getValue()); in doTest() [all …]
|
| /trunk/main/setup_native/source/win32/customactions/regpatchactivex/ |
| H A D | regpatchactivex.cxx | 61 wchar_t* buff = reinterpret_cast<wchar_t*>( malloc( nbytes ) ); in GetMsiProp() local 62 ZeroMemory( buff, nbytes ); in GetMsiProp() 63 MsiGetProperty( hMSI, pPropName, buff, &sz ); in GetMsiProp() 64 *ppValue = buff; in GetMsiProp()
|
| /trunk/main/dtrans/source/win32/misc/ |
| H A D | ImplHelper.cxx | 122 char buff[6]; in getWinCPFromLocaleId() local 124 lcid, lctype | LOCALE_USE_CP_ACP, buff, sizeof( buff ) ); in getWinCPFromLocaleId() 131 CP_ACP, 0, buff, -1, NULL, 0 ); in getWinCPFromLocaleId() 140 CP_ACP, 0, buff, -1, reinterpret_cast<LPWSTR>(lpwchBuff.get( )), len ); in getWinCPFromLocaleId()
|
| /trunk/main/pyuno/zipcore/ |
| H A D | python.cxx | 182 WCHAR *buff = new WCHAR[nNeededWStrBuffSize+1]; local 183 MultiByteToWideChar(CP_ACP, 0, argv[i], -1, buff, nNeededWStrBuffSize); 184 buff[nNeededWStrBuffSize] = 0; 185 cp = encode(cp, buff); 186 delete [] buff;
|