Home
last modified time | relevance | path

Searched refs:len (Results 226 – 250 of 414) sorted by path

12345678910>>...17

/trunk/main/scripting/java/com/sun/star/script/framework/provider/beanshell/
H A DScriptSourceModel.java47 int len = 0; in load() local
49 while ((len = in.read(contents, 0, 1024)) != -1) { in load()
50 buf.append(new String(contents, 0, len)); in load()
/trunk/main/scripting/java/com/sun/star/script/framework/provider/javascript/
H A DScriptEditorForJavaScript.java69 int len = 0;
71 while ((len = in.read(b)) != -1) {
72 buf.append(new String(b, 0, len)); in buf.append() argument
/trunk/main/scripting/java/org/openoffice/idesupport/
H A DJavaFinder.java137 int len = classpath.size(); in getClassLoader() local
138 ArrayList urls = new ArrayList(len); in getClassLoader()
140 for (int i = 0; i < len; i++) { in getClassLoader()
/trunk/main/scripting/java/org/openoffice/idesupport/xml/
H A DManifest.java89 int len; in remove() local
96 if (nl == null || (len = nl.getLength()) == 0) in remove()
100 for (int i = 0; i < len; i++) { in remove()
/trunk/main/scripting/java/org/openoffice/idesupport/zip/
H A DParcelZipper.java151 int len; in addFileToParcel() local
157 while ((len = fis.read(bytes)) != -1) in addFileToParcel()
158 out.write(bytes, 0, len); in addFileToParcel()
267 int len; in unzipToDirectory() local
369 int len; in copyParcelToZip() local
379 while ((len = in.read(bytes)) != -1) in copyParcelToZip()
380 out.write(bytes, 0, len); in copyParcelToZip()
393 int len; in copyDocumentToZip() local
406 out.write(bytes, 0, len); in copyDocumentToZip()
415 out.write(bytes, 0, len); in copyDocumentToZip()
[all …]
/trunk/main/scripting/java/org/openoffice/netbeans/editor/
H A DJavaKit.java141 public void append(byte[] buffer, int off, int len) in append() argument
159 public void read(byte[] buffer, int off, int len) throws IOException { in read() argument
161 while (len > 0) { in read()
162 int count = str.read(buffer, off, len); in read()
165 len -= count; in read()
223 long len = stream.skip(off - streamOff); in getStream() local
224 streamOff += (int)len; in getStream()
225 if (len == 0) throw new IOException("EOF"); in getStream()
/trunk/main/scripting/java/org/openoffice/netbeans/modules/office/nodes/
H A DParcelDescriptorChildren.java51 int len; in refreshKeys() local
55 (len = nl.getLength()) == 0) { in refreshKeys()
60 ArrayList keys = new ArrayList(len); in refreshKeys()
61 for (int i = 0; i < len; i++) in refreshKeys()
/trunk/main/scripting/source/provider/
H A DMasterScriptProvider.cxx121 sal_Int32 len = args.getLength(); in initialize() local
122 if ( len > 1 ) in initialize()
129 Sequence< Any > invokeArgs( len ); in initialize()
131 if ( len != 0 ) in initialize()
H A DURIHelper.cxx215 sal_Int32 len = m_sBaseURI.getLength() + 1; in getLanguagePart() local
219 result = rStorageURI.copy(idx + len); in getLanguagePart()
/trunk/main/scripting/source/pyprov/
H A Dmailmerge.py181 out.write("PyMailSMTPService flavors len %d\n" % len(flavors))
195 if len(textbody):
205 if (len(attachments)):
217 if len(ccrecipients):
261 if len(ccrecipients):
264 if len(bccrecipients):
H A Dpythonscript.py85 if len( userInstallation ) > 0:
213 storageURI[len(self.m_baseUri)+1:].replace("/","|") + \
376 pos = len( self.rootUrl) +1
377 ret = url[0:pos]+url[url.find("/",pos)+1:len(url)]
384 pos = len(self.rootUrl)+1
615 return len(self.getChildNodes()) > 0
816 if len( pathes ) > 0:
828 return aStr[ aStr.rfind( "/" )+1:len(aStr)]
843 if len( i[1].pathes ) == 1:
853 return len( self.mapPackageName2Path ) > 0
[all …]
/trunk/main/scripting/source/storage/
H A DScriptURI.cxx171 sal_Int32 len = m_uri.indexOf( '?' ); in parseIt() local
172 if( len == -1 ) in parseIt()
178 results.logicalName = m_uri.copy( schemaLen, len-schemaLen ); in parseIt()
182 len++; in parseIt()
187 attr = m_uri.getToken( 0, '&', len ); in parseIt()
217 while ( len >= 0 ); in parseIt()
/trunk/main/scripting/workben/installer/
H A DIdeVersion.java193 int len = tableModel.data.size(); in actionPerformed() local
194 for (int i = 0; i < len; i++) { in actionPerformed()
291 int len = validVersions.length; in MyTableModelIDE() local
292 for (int i = 0; i < len; i++) { in MyTableModelIDE()
H A DVersion.java226 int len = tableModel.data.size(); in actionPerformed() local
227 for (int i = 0; i < len; i++) { in actionPerformed()
268 int len = validVersions.length; in MyTableModel() local
H A DZipData.java100 int len; in extractEntry() local
102 while ((len = in.read(bytes)) != -1) in extractEntry()
103 out.write(bytes, 0, len); in extractEntry()
/trunk/main/sdext/source/pdfimport/pdfparse/
H A Dpdfentries.cxx1344 PDFDict::Map::iterator len = pDict->m_aMap.find( "Length" ); in impl_getData() local
1361 if( len != pDict->m_aMap.end() ) in impl_getData()
1363 PDFNumber* pNum = dynamic_cast<PDFNumber*>(len->second); in impl_getData()
H A Dpdfparse.cxx114 std::ptrdiff_t len = 0; in operator ()() local
130 ++len; in operator ()()
135 ++len; in operator ()()
138 return scan.at_end() ? -1 : len; in operator ()()
/trunk/main/sdext/source/pdfimport/wrapper/
H A Dhash.cxx70 static inline unsigned int hash (const char *str, unsigned int len);
72 static const struct hash_entry *in_word_set (const char *str, unsigned int len);
76 PdfKeywordHash::hash (register const char *str, register unsigned int len) in hash() argument
107 …return len + asso_values[(unsigned char)str[4]+1] + asso_values[(unsigned char)str[3]] + asso_valu… in hash()
111 PdfKeywordHash::in_word_set (register const char *str, register unsigned int len) in in_word_set() argument
221 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) in in_word_set()
223 register int key = hash (str, len); in in_word_set()
226 if (len == lengthtable[key]) in in_word_set()
230 if (*str == *s && !memcmp (str + 1, s + 1, len - 1)) in in_word_set()
/trunk/main/setup_native/source/win32/customactions/patch/
H A Dswappatchfiles.cxx352 std::_tstring::size_type len = temp.length(); in trim() local
354 while ( len && temp[len-1] == ' ' || temp[len-1] == '\t' ) in trim()
356 temp.erase( len - 1, 1 ); in trim()
357 len = temp.length(); in trim()
373 int len = _tcslen(szBuffer); in readLine() local
377 while ( len && szBuffer[len - 1] == '\n' ) in readLine()
379 szBuffer[--len] = 0; in readLine()
/trunk/main/setup_native/source/win32/customactions/reg4msdoc/
H A Dstringconverter.cxx40 int len = WideCharToMultiByte( in UnicodeToAnsiString() local
43 char* buff = reinterpret_cast<char*>(_alloca(len)); in UnicodeToAnsiString()
46 CP_ACP, 0, UniString.c_str(), -1, buff, len, 0, 0); in UnicodeToAnsiString()
55 int len = MultiByteToWideChar( in AnsiToUnicodeString() local
58 wchar_t* buff = reinterpret_cast<wchar_t*>(_alloca(len * sizeof(wchar_t))); in AnsiToUnicodeString()
61 CP_ACP, 0, AnsiString.c_str(), -1, buff, len); in AnsiToUnicodeString()
/trunk/main/setup_native/source/win32/customactions/regactivex/
H A Dregactivex.cxx66 int len = WideCharToMultiByte( in UnicodeToAnsiString() local
69 char* buff = reinterpret_cast<char*>( malloc( len ) ); in UnicodeToAnsiString()
72 CP_ACP, 0, pUniString, -1, buff, len, 0, 0 ); in UnicodeToAnsiString()
/trunk/main/sfx2/source/appl/
H A Dshutdownicon.cxx849 if ( sal_Int32 len = aShortcutName.getLength() ) in getShortcutName()
850 aStrBuff.append( aShortcutName.getStr(), len ); in getShortcutName()
/trunk/main/sfx2/source/doc/
H A DDocumentMetadataAccess.cxx1157 const sal_Int32 len( baseURI.getLength() ); in loadMetadataFromStorage() local
1170 const ::rtl::OUString relName( name.copy(len) ); in loadMetadataFromStorage()
1258 const sal_Int32 len( baseURI.getLength() ); in storeMetadataToStorage() local
1268 const ::rtl::OUString relName( name.copy(len) ); in storeMetadataToStorage()
/trunk/main/shell/source/all/
H A Dxml_parser.cxx68 bool has_only_whitespaces(const XML_Char* s, int len) in has_only_whitespaces() argument
71 for (int i = 0; i < len; i++) in has_only_whitespaces()
135 static void xml_character_data_handler(void* UserData, const XML_Char* s, int len) in xml_character_data_handler() argument
143 if (has_only_whitespaces(s,len)) in xml_character_data_handler()
144 pDocHdl->ignore_whitespace(string_t(reinterpret_cast<const char_t*>(s), len)); in xml_character_data_handler()
146 pDocHdl->characters(string_t(reinterpret_cast<const char_t*>(s), len)); in xml_character_data_handler()
/trunk/main/shell/source/backends/gconfbe/
H A Dgconfaccess.cxx135 int len = seq.getLength(); in xdg_user_dir_lookup() local
136 if(len>0 && seq[len-1] == '\n') in xdg_user_dir_lookup()
137 seq[len-1] = 0; in xdg_user_dir_lookup()

Completed in 158 milliseconds

12345678910>>...17