Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/aoo41x/main/registry/source/
H A Dreflcnst.hxx112 buffer[0] = v; in writeBYTE()
119 v = buffer[0]; in readBYTE()
134 v = ((buffer[0] << 8) | (buffer[1] << 0)); in readINT16()
149 v = ((buffer[0] << 8) | (buffer[1] << 0)); in readUINT16()
167 (buffer[0] << 24) | in readINT32()
168 (buffer[1] << 16) | in readINT32()
169 (buffer[2] << 8) | in readINT32()
170 (buffer[3] << 0) in readINT32()
189 (buffer[0] << 24) | in readUINT32()
190 (buffer[1] << 16) | in readUINT32()
[all …]
/aoo41x/main/binaryurp/source/
H A Dmarshal.cxx82 OSL_ASSERT(buffer != 0); in writeString()
96 buffer->insert(buffer->end(), v.getStr(), v.getStr() + v.getLength()); in writeString()
172 write8(buffer, 0); in writeOid()
176 write16(buffer, idx); in writeOid()
185 write8(buffer, 0); in writeTid()
189 buffer, in writeTid()
193 write16(buffer, idx); in writeTid()
229 buffer, in writeValue()
234 buffer, in writeValue()
272 buffer, in writeValue()
[all …]
/aoo41x/main/sal/osl/unx/
H A Dsystem.c55 buffer += nname; in getpwnam_r()
59 buffer += npasswd; in getpwnam_r()
63 buffer += nclass; in getpwnam_r()
67 buffer += ngecos; in getpwnam_r()
71 buffer += ndir; in getpwnam_r()
159 res = buffer; in localtime_r()
176 res = buffer; in gmtime_r()
207 buffer += nnamp; in getspnam_r()
256 buffer += nage; in getpwnam_r()
268 buffer += ndir; in getpwnam_r()
[all …]
H A Dfile_url.cxx225 rtl_uString_newFromStr_WithLength( &pProtocol, pTmp->buffer, 7 ); in osl_getSystemPathFromFileURL()
260 if( (sal_Unicode) '~' == pTmp->buffer[0] ) in osl_getSystemPathFromFileURL()
263 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL()
335 if( (sal_Unicode) '~' == ustrSystemPath->buffer[0] ) in osl_getFileURLFromSystemPath()
374 …if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) in osl_getFileURLFromSystemPath()
377 pTmp->buffer[++nIndex] = pTmp->buffer[nSrcIndex]; in osl_getFileURLFromSystemPath()
398 if( (sal_Unicode)'/' == (*pustrFileURL)->buffer[0] ) in osl_getFileURLFromSystemPath()
424 if (bAllowRelative || (UNICHAR_SLASH == temp->buffer[0])) in osl_getSystemPathFromFileURL_Ex()
835 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()
885 uniText, uniTextLen, buffer, bufLen, in UnicodeToText()
[all …]
H A Dsecurity.c545 pszUserName, &result_buf, buffer, sizeof buffer, in osl_psz_loginUser()
557 "root", &result_buf, buffer, sizeof buffer, in osl_psz_loginUser()
585 buffer[0] = '\0'; in osl_psz_loginUser()
587 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer) != NULL) in osl_psz_loginUser()
589 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer, NULL) == 0) in osl_psz_loginUser()
601 (getspnam_r("root", &spwdStruct, buffer, sizeof buffer) != NULL)) in osl_psz_loginUser()
666 sal_Char buffer[32]; in osl_psz_getUserIdent() local
674 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent()
744 char buffer[8192]; in osl_psz_getHomeDir() local
750 if ( 0 != getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer), &ppwd ) ) in osl_psz_getHomeDir()
[all …]
H A Dbacktrace.c63 int backtrace( void **buffer, int max_frames ) in backtrace() argument
91 *(buffer++) = (void*)(fp->fr_savpc); in backtrace()
101 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
149 int backtrace( void **buffer, int max_frames ) in backtrace() argument
163 *(buffer++) = (void *)fp->fr_savpc; in backtrace()
170 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
228 int backtrace( void **buffer, int max_frames ) in backtrace() argument
248 *(buffer++) = (void *)fp->fr_savpc; in backtrace()
255 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
302 int backtrace( void **buffer, int max_frames ) in backtrace() argument
[all …]
/aoo41x/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/
H A DGSIWriter.java140 this.write(buffer.toString()); in writeData()
157 buffer.append(this.blockNr); in getSourceLine()
159 buffer.append(this.seperator); in getSourceLine()
162 buffer.append(this.seperator); in getSourceLine()
165 buffer.append(this.seperator); in getSourceLine()
166 buffer.append("int"); in getSourceLine()
168 buffer.append(this.seperator); in getSourceLine()
175 return buffer; in getSourceLine()
191 buffer.append(this.blockNr); in getTargetLine()
200 buffer.append("ext"); in getTargetLine()
[all …]
/aoo41x/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DTokenDecoder.java216 byte buffer[] = new byte[2]; in readNameToken()
217 buffer[0] = (byte) bis.read(); in readNameToken()
242 byte buffer[] = new byte[2]; in readCellRefToken()
271 buffer[0] = (byte) bis.read(); in read3DCellRefToken()
272 buffer[1] = (byte) bis.read(); in read3DCellRefToken()
274 buffer[0] = (byte) bis.read(); in read3DCellRefToken()
275 buffer[1] = (byte) bis.read(); in read3DCellRefToken()
308 buffer[0] = (byte) bis.read(); in read3DCellAreaRefToken()
309 buffer[1] = (byte) bis.read(); in read3DCellAreaRefToken()
311 buffer[0] = (byte) bis.read(); in read3DCellAreaRefToken()
[all …]
/aoo41x/main/sal/inc/rtl/
H A Dustring.hxx291 sal_Unicode& operator[]( int n ) { return pData->buffer[n]; } in operator []()
321 return rtl_ustr_compare_WithLength( pData->buffer, pData->length, in compareTo()
566 pData->buffer, asciiStr, asciiStrLength ); in equalsAsciiL()
711 pData->buffer + pData->length - asciiStrLength, in endsWithIgnoreAsciiCaseAsciiL()
922 pData->buffer, pData->length, str, len); in lastIndexOfAsciiL()
1125 return rtl_ustr_toBoolean( pData->buffer ); in toBoolean()
1136 return pData->buffer[0]; in toChar()
1150 return rtl_ustr_toInt32( pData->buffer, radix ); in toInt32()
1164 return rtl_ustr_toInt64( pData->buffer, radix ); in toInt64()
1177 return rtl_ustr_toFloat( pData->buffer ); in toFloat()
[all …]
H A Dstring.hxx241 sal_Char& operator[]( int n ) { return pData->buffer[n]; } in operator []()
243 const sal_Char& operator[]( int n ) const { return pData->buffer[n]; } in operator []()
258 const sal_Char * getStr() const SAL_THROW(()) { return pData->buffer; } in getStr()
274 return rtl_str_compare_WithLength( pData->buffer, pData->length, in compareTo()
438 return rtl_str_hashCode_WithLength( pData->buffer, pData->length ); in hashCode()
757 return rtl_str_toBoolean( pData->buffer ); in toBoolean()
768 return pData->buffer[0]; in toChar()
782 return rtl_str_toInt32( pData->buffer, radix ); in toInt32()
796 return rtl_str_toInt64( pData->buffer, radix ); in toInt64()
809 return rtl_str_toFloat( pData->buffer ); in toFloat()
[all …]
/aoo41x/main/tools/bootstrp/
H A Dmd5.cxx56 if (buffer[0] == sal_uInt8('M') && buffer[1] == sal_uInt8('Z')) in normalize_pe_image()
61 if ( buffer[PEHeaderOffset+0] == sal_uInt8('P') && in normalize_pe_image()
62 buffer[PEHeaderOffset+1] == sal_uInt8('E') && in normalize_pe_image()
63 buffer[PEHeaderOffset+2] == 0 && in normalize_pe_image()
64 buffer[PEHeaderOffset+3] == 0 ) in normalize_pe_image()
72 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+0] = 0; in normalize_pe_image()
73 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+1] = 0; in normalize_pe_image()
108 sal_uInt8 buffer[BUFFER_SIZE]; in calc_md5_checksum() local
112 0 != (nBytesRead = fread( buffer, 1, sizeof(buffer), fp )) ) in calc_md5_checksum()
117 if (nBytesRead >= MINIMAL_SIZE && buffer[0] == sal_uInt8('M') && buffer[1] == sal_uInt8('Z') ) in calc_md5_checksum()
[all …]
/aoo41x/main/writerfilter/source/resourcemodel/
H A Dutil.cxx176 char buffer[256]; in propertysetToString() local
184 snprintf(buffer, sizeof(buffer), "%d", nValue); in propertysetToString()
185 sResult += buffer; in propertysetToString()
194 snprintf(buffer, sizeof(buffer), "%d", nValue); in propertysetToString()
195 sResult += buffer; in propertysetToString()
204 snprintf(buffer, sizeof(buffer), "%" SAL_PRIdINT32, nValue); in propertysetToString()
205 sResult += buffer; in propertysetToString()
214 snprintf(buffer, sizeof(buffer), "%f", nValue); in propertysetToString()
224 snprintf(buffer, sizeof(buffer), "%lf", nValue); in propertysetToString()
289 … snprintf(buffer, sizeof(buffer), "(%" SAL_PRIdINT32 ", %" SAL_PRIdINT32 ")", aPoint.X, in propertysetToString()
[all …]
/aoo41x/main/idlc/source/
H A Doptions.cxx139 std::string buffer; in checkCommandFile() local
140 buffer.reserve(256); in checkCommandFile()
157 if (!buffer.empty()) in checkCommandFile()
160 if (!Options::checkArgument(rArgs, buffer.c_str(), buffer.size())) in checkCommandFile()
165 buffer.clear(); in checkCommandFile()
175 if (!buffer.empty()) in checkCommandFile()
178 if (!Options::checkArgument(rArgs, buffer.c_str(), buffer.size())) in checkCommandFile()
183 buffer.clear(); in checkCommandFile()
268 OStringBuffer buffer; in initOptions() local
291 buffer.append(' '); buffer.append(param); in initOptions()
[all …]
/aoo41x/main/sal/workben/
H A Dtgetpwnam.cxx57 char buffer[256]; in workfunc1() local
66 getpwnam_r("hr", &stpwd, buffer, sizeof(buffer)); in workfunc1()
67 gethostbyname_r("blauwal", &sthostent, buffer, sizeof(buffer), &nerr); in workfunc1()
76 char buffer[256]; in workfunc2() local
85 getpwnam_r("mh", &stpwd, buffer, sizeof(buffer)); in workfunc2()
86 gethostbyname_r("hr-1242", &sthostent, buffer, sizeof(buffer), &nerr); in workfunc2()
98 char buffer[256]; in main() local
118 pres1 = getpwnam_r("hr", pwd, buffer, sizeof(buffer)); in main()
146 pres2 = getspnam_r("hr", spwd, buffer, sizeof(buffer)); in main()
185 pres3 = gethostbyname_r("blauwal", phostent, buffer, sizeof(buffer), h_errno); in main()
[all …]
/aoo41x/main/sal/osl/os2/
H A Dfile_url.cxx678 rtl_ustr_replaceChar( ustrSystemPath->buffer, '\\', '/' ); in osl_getFileURLFromSystemPath()
706 if( (sal_Unicode) '~' == ustrSystemPath->buffer[0] ) in osl_getFileURLFromSystemPath()
745 …if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) in osl_getFileURLFromSystemPath()
748 pTmp->buffer[++nIndex] = pTmp->buffer[nSrcIndex]; in osl_getFileURLFromSystemPath()
769 if( (sal_Unicode)'/' == (*pustrFileURL)->buffer[0] ) in osl_getFileURLFromSystemPath()
950 rtl_uString_newFromStr_WithLength( &pProtocol, pTmp->buffer, 7 ); in osl_getSystemPathFromFileURL()
985 if( (sal_Unicode) '~' == pTmp->buffer[0] ) in osl_getSystemPathFromFileURL()
1038 || (UNICHAR_SLASH == temp->buffer[0]) in osl_getSystemPathFromFileURL_Ex()
1039 || (UNICHAR_COLON == temp->buffer[1] && UNICHAR_SLASH == temp->buffer[2])) in osl_getSystemPathFromFileURL_Ex()
1374 snprintf( szBuffer, sizeof(szBuffer), message, strFile->buffer ); in _osl_warnFile()
[all …]
H A Dmodule.c55 char buffer[PATH_MAX]; in osl_loadModule() local
57 if (UnicodeToText(buffer, PATH_MAX, ustrTmp->buffer, ustrTmp->length)) in osl_loadModule()
73 char buffer[PATH_MAX]; in osl_loadAsciiModule() local
96 _makepath( buffer, drive, dir, fname, ext); in osl_loadAsciiModule()
99 debug_printf("osl_loadModule module %s", buffer); in osl_loadAsciiModule()
102 hModule = dlopen( buffer, RTLD_LOCAL); in osl_loadAsciiModule()
118 buffer, err); in osl_loadAsciiModule()
146 char buffer[PATH_MAX]; in osl_getModuleHandle() local
148 if (UnicodeToText(buffer, PATH_MAX, pModuleName->buffer, in osl_getModuleHandle()
151 rc = DosQueryModuleHandle(buffer, &hmod); in osl_getModuleHandle()
[all …]
/aoo41x/main/crashrep/source/unx/
H A Dmain.cxx164 char buffer[1024]; in fcopy() local
168 while ( 0 != (nBytes = fread( buffer, 1, sizeof(buffer), fpin )) ) in fcopy()
343 char buffer[2048]; in SendHTTPRequest() local
346 sprintf( buffer, in SendHTTPRequest()
370 if ( SOCKET_ERROR != send( s, buffer, strlen(buffer), 0 ) ) in SendHTTPRequest()
376 nBytes = fread( buffer, 1, sizeof(buffer), fp ); in SendHTTPRequest()
391 memset( buffer, 0, sizeof(buffer) ); in SendHTTPRequest()
392 success = SOCKET_ERROR != recv( s, buffer, sizeof(buffer), 0 ); in SendHTTPRequest()
405 memset( buffer, 0, sizeof(buffer) ); in SendHTTPRequest()
406 } while ( 0 < recv( s, buffer, sizeof(buffer), 0 ) ); in SendHTTPRequest()
[all …]
/aoo41x/main/vcl/unx/generic/fontmanager/
H A Dhelper.cxx261 unsigned char buffer[256]; in convertPfbToPfa() local
269 bEof = ((0 != rInFile.read( buffer, 6, nRead)) || (nRead != 6)); in convertPfbToPfa()
272 unsigned int nType = buffer[ 1 ]; in convertPfbToPfa()
273 unsigned int nBytesToRead = buffer[2] | buffer[3] << 8 | buffer[4] << 16 | buffer[5] << 24; in convertPfbToPfa()
274 if( buffer[0] != 0x80 ) // test for pfb magic number in convertPfbToPfa()
278 if( ! rInFile.read( buffer+6, 9, nRead ) && nRead == 9 && in convertPfbToPfa()
279 ( ! std::strncmp( (char*)buffer, "%!FontType1-", 12 ) || in convertPfbToPfa()
285 ! rInFile.read( buffer, sizeof( buffer ), nRead ) && in convertPfbToPfa()
288 if( rOutFile.write( buffer, nRead, nWrite ) || in convertPfbToPfa()
336 buffer[ nBuffer++ ] = '\n'; in convertPfbToPfa()
[all …]
/aoo41x/main/desktop/win32/source/
H A Dextendloaderenvironment.hxx39 WCHAR * buffer, WCHAR const * text, std::size_t length) in commandLineAppend() argument
41 wcsncpy(buffer, text, length + 1); // trailing null in commandLineAppend()
42 return buffer + length; in commandLineAppend()
45 inline WCHAR * commandLineAppend(WCHAR * buffer, WCHAR const * text) { in commandLineAppend() argument
46 return commandLineAppend(buffer, text, wcslen(text)); in commandLineAppend()
56 buffer = commandLineAppend(buffer, MY_STRING(L"\\$")); in commandLineAppendEncoded()
59 buffer = commandLineAppend(buffer, MY_STRING(L"\\\\")); in commandLineAppendEncoded()
62 *buffer++ = c; in commandLineAppendEncoded()
69 *buffer++ = L'\\'; in commandLineAppendEncoded()
71 *buffer = L'\0'; in commandLineAppendEncoded()
[all …]
/aoo41x/main/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/
H A DBase64.java1025 byte[] buffer = new byte[2048]; in decode()
1036 baos.write(buffer,0,length); in decode()
1194 byte[] buffer = null; in decodeFromFile()
1204 buffer = new byte[ (int)file.length() ]; in decodeFromFile()
1302 byte[] buffer = new byte[65536]; // 64K in encodeFileToFile()
1305 out.write( buffer,0,read ); in encodeFileToFile()
1339 byte[] buffer = new byte[65536]; // 64K in decodeFileToFile()
1342 out.write( buffer,0,read ); in decodeFileToFile()
1533 int b = buffer[ position++ ]; in read()
1608 private byte[] buffer; field in Base64.OutputStream
[all …]
/aoo41x/main/bean/com/sun/star/beans/
H A DLocalOfficeConnection.java391 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath()
400 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath()
401 buffer.append(ch); in parseUnoUrlWithOfficePath()
411 name = buffer.toString(); in parseUnoUrlWithOfficePath()
421 buffer.append(ch); in parseUnoUrlWithOfficePath()
447 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath()
448 buffer.append(ch); in parseUnoUrlWithOfficePath()
473 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath()
477 buffer.append(ch); in parseUnoUrlWithOfficePath()
507 buffer.delete(0, buffer.length()); in parseUnoUrlWithOfficePath()
[all …]
/aoo41x/main/scripting/source/storage/
H A DScriptMetadataImporter.cxx214 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in startElement()
221 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in startElement()
228 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in startElement()
256 RTL_TEXTENCODING_ASCII_US ).pData->buffer, in startElement()
259 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in startElement()
278 RTL_TEXTENCODING_ASCII_US ).pData->buffer, in startElement()
281 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in startElement()
288 RTL_TEXTENCODING_ASCII_US).pData->buffer ); in startElement()
307 RTL_TEXTENCODING_ASCII_US ).pData->buffer, in startElement()
310 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in startElement()
[all …]
H A DScriptStorage.cxx199 m_stringUri, RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in initialize()
300 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in create()
313 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in create()
513 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in updateMaps()
560 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in save()
726 RTL_TEXTENCODING_ASCII_US ).pData->buffer, in getImplementations()
728 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in getImplementations()
744 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in getImplementations()
757 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in getImplementations()
765 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in getImplementations()
[all …]
/aoo41x/main/sal/osl/all/
H A Dfilepath.c48 rtl_uString_newFromStr_WithLength( &ustrPath, ustrSystemPath->buffer, iLastSlash ); in osl_abbreviateSystemPath()
49 …rtl_uString_newFromStr_WithLength( &ustrFile, &ustrSystemPath->buffer[iLastSlash], ustrSystemPath-… in osl_abbreviateSystemPath()
68 ustrPath->buffer[ustrPath->length-3] = '.'; in osl_abbreviateSystemPath()
69 ustrPath->buffer[ustrPath->length-2] = '.'; in osl_abbreviateSystemPath()
70 ustrPath->buffer[ustrPath->length-1] = '.'; in osl_abbreviateSystemPath()
71 ustrPath->buffer[ustrPath->length] = 0; in osl_abbreviateSystemPath()
86 ustrFile->buffer[ustrFile->length-3] = '.'; in osl_abbreviateSystemPath()
87 ustrFile->buffer[ustrFile->length-2] = '.'; in osl_abbreviateSystemPath()
88 ustrFile->buffer[ustrFile->length-1] = '.'; in osl_abbreviateSystemPath()
89 ustrFile->buffer[ustrFile->length] = 0; in osl_abbreviateSystemPath()
[all …]
/aoo41x/main/connectivity/source/drivers/jdbc/
H A DConnectionLog.cxx100 char buffer[ 30 ]; in convertLogArgToString() local
101 const size_t buffer_size = sizeof( buffer ); in convertLogArgToString()
102 snprintf( buffer, buffer_size, "%04i-%02i-%02i", in convertLogArgToString()
104 return ::rtl::OUString::createFromAscii( buffer ); in convertLogArgToString()
110 char buffer[ 30 ]; in convertLogArgToString() local
111 const size_t buffer_size = sizeof( buffer ); in convertLogArgToString()
112 snprintf( buffer, buffer_size, "%02i:%02i:%02i.%02i", in convertLogArgToString()
114 return ::rtl::OUString::createFromAscii( buffer ); in convertLogArgToString()
120 char buffer[ 30 ]; in convertLogArgToString() local
121 const size_t buffer_size = sizeof( buffer ); in convertLogArgToString()
[all …]

Completed in 168 milliseconds

12345678910>>...18