Home
last modified time | relevance | path

Searched refs:len (Results 26 – 50 of 414) sorted by relevance

12345678910>>...17

/aoo42x/main/vcl/unx/generic/fontmanager/
H A Dafm_hash.cpp66 static inline unsigned int hash (const char *str, unsigned int len);
68 static const struct hash_entry *in_word_set (const char *str, unsigned int len);
72 AfmKeywordHash::hash (const char *str, unsigned int len) in hash() argument
103 int hval = len; in hash()
120 return hval + asso_values[(unsigned char)str[len - 1]]; in hash()
124 AfmKeywordHash::in_word_set (const char *str, unsigned int len) in in_word_set() argument
252 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) in in_word_set()
254 int key = hash (str, len); in in_word_set()
257 if (len == lengthtable[key]) in in_word_set()
261 if (*str == *s && !memcmp (str + 1, s + 1, len - 1)) in in_word_set()
/aoo42x/main/i18nutil/source/utility/
H A Dcasefolding.cxx55 Mapping& casefolding::getConditionalValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Loc… in getConditionalValue() argument
61 … return !(pos < len && cased_letter(str[pos+1])) && (pos > 0 && cased_letter(str[pos-1])) ? in getConditionalValue()
72 … case 0x0049: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_0049[0] : in getConditionalValue()
74 …case 0x004a: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_004a[0] : mapp… in getConditionalValue()
75 …case 0x012e: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_012e[0] : mapp… in getConditionalValue()
84 Mapping& casefolding::getValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Locale& aLocal… in getValue() argument
95 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue()
101 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue()
127 if( idx >= len ) in getNextChar()
137 e.element = getValue(str, idx++, len, aLocale, nMappingType); in getNextChar()
[all …]
/aoo42x/main/sal/inc/rtl/
H A Dustring.h178 …_WithLength( const sal_Unicode * first, const sal_Char * second, sal_Int32 len ) SAL_THROW_EXTERN_…
535 sal_Int32 SAL_CALL rtl_ustr_hashCode_WithLength( const sal_Unicode * str, sal_Int32 len ) SAL_THROW…
569 sal_Int32 SAL_CALL rtl_ustr_indexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Uni…
605 sal_Int32 SAL_CALL rtl_ustr_lastIndexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal…
673 sal_Unicode const * str, sal_Int32 len,
742 sal_Unicode const * str, sal_Int32 len,
803 void SAL_CALL rtl_ustr_toAsciiLowerCase_WithLength( sal_Unicode * str, sal_Int32 len ) SAL_THROW_EX…
828 void SAL_CALL rtl_ustr_toAsciiUpperCase_WithLength( sal_Unicode * str, sal_Int32 len ) SAL_THROW_EX…
860 sal_Int32 SAL_CALL rtl_ustr_trim_WithLength( sal_Unicode * str, sal_Int32 len ) SAL_THROW_EXTERN_C(…
1167 …tr_WithLength( rtl_uString ** newStr, const sal_Unicode * value, sal_Int32 len ) SAL_THROW_EXTERN_…
[all …]
H A Dstring.h269 sal_Int32 SAL_CALL rtl_str_hashCode_WithLength( const sal_Char * str, sal_Int32 len ) SAL_THROW_EXT…
303 sal_Int32 SAL_CALL rtl_str_indexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch…
339 sal_Int32 SAL_CALL rtl_str_lastIndexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Cha…
380 sal_Int32 SAL_CALL rtl_str_indexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Ch…
421 sal_Int32 SAL_CALL rtl_str_lastIndexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sa…
456 void SAL_CALL rtl_str_replaceChar_WithLength( sal_Char * str, sal_Int32 len, sal_Char oldChar, sal_…
481 void SAL_CALL rtl_str_toAsciiLowerCase_WithLength( sal_Char * str, sal_Int32 len ) SAL_THROW_EXTERN…
506 void SAL_CALL rtl_str_toAsciiUpperCase_WithLength( sal_Char * str, sal_Int32 len ) SAL_THROW_EXTERN…
538 sal_Int32 SAL_CALL rtl_str_trim_WithLength( sal_Char * str, sal_Int32 len ) SAL_THROW_EXTERN_C();
798 void SAL_CALL rtl_string_new_WithLength( rtl_String ** newStr, sal_Int32 len ) SAL_THROW_EXTERN_C();
[all …]
/aoo42x/main/toolkit/src2xml/source/
H A Dmacroparser.py44 bufSize = len(self.buffer)
48 if c in [' ', "\t"] and len(name) == 0:
55 elif c == '(' and len(name) == 0:
76 bufSize = len(buffer)
84 if len(buf) > 0:
89 if len(buf) == 0:
112 if len(vars) == 0:
116 if len(content) > 0:
118 for i in range(0, len(vars)):
141 n = len(macro.tokens)
[all …]
/aoo42x/main/javaunohelper/com/sun/star/lib/uno/adapter/
H A DInputStreamToXInputStreamAdapter.java78 public int readBytes(byte[][] b, int len) throws in readBytes() argument
85 if (b[0] == null || b[0].length < len) { in readBytes()
86 b[0] = new byte[len]; in readBytes()
92 while ((len > 0) && ((bytesRead = iIn.read(b[0], totalBytesRead, len)) > 0)) { in readBytes()
94 len -= (int)bytesRead; in readBytes()
109 public int readSomeBytes(byte[][] b, int len) throws in readSomeBytes() argument
115 if (b[0] == null || b[0].length < len) { in readSomeBytes()
116 b[0] = new byte[len]; in readSomeBytes()
118 if (len >iIn.available()) { in readSomeBytes()
122 bytesRead = iIn.read(b[0], 0, len); in readSomeBytes()
/aoo42x/main/jvmfwk/plugins/sunmajor/pluginlib/
H A Dsunversion.cxx107 int len = pCur - pLast; in init() local
108 if (len >= 127) in init()
111 strncpy(buf, pLast, len); in init()
112 buf[len] = 0; in init()
148 int len = pCur - pLast; in init() local
149 if (len > 3) in init()
152 strncpy(buf, pLast, len); in init()
153 buf[len] = 0; in init()
198 int len = pCur - pLast -1; //elemenate `p' in init() local
199 if (len >= 127) in init()
[all …]
/aoo42x/main/i18npool/source/collator/
H A Dgencoll_rule.cxx42 void data_write(char* file, char* name, sal_uInt8 *data, sal_Int32 len) in data_write() argument
62 for (sal_Int32 i = 0; i < len; i++) { in data_write()
93 sal_Int32 len = strlen(str) - 1; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local
95 if (len == 0 || str[0] == '#') in SAL_IMPLEMENT_MAIN_WITH_ARGS()
99 OUString Ostr = OUString((const sal_Char *)str, len, RTL_TEXTENCODING_UTF8).trim(); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
101 len = Ostr.getLength(); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
102 if (len == 0) in SAL_IMPLEMENT_MAIN_WITH_ARGS()
118 int32_t len = 0; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local
119 uint8_t *data = coll->cloneRuleData(len, status); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
122 data_write(argv[2], argv[3], data, len); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
/aoo42x/main/soltools/mkdepend/
H A Dcppsetup.c156 _lookup_variable (var, len) in _lookup_variable() argument
158 int len;
162 if (len > MAXNAMELEN)
165 strncpy (tmpbuf, var, len);
166 tmpbuf[len] = '\0';
172 _my_eval_defined (ip, var, len) in _my_eval_defined() argument
175 int len;
178 if (_lookup_variable (var, len))
187 _my_eval_variable (ip, var, len) in _my_eval_variable() argument
190 int len;
[all …]
/aoo42x/test/testcommon/source/org/openoffice/test/vcl/widgets/
H A DVclTreeListBox.java193 int len = getItemCount(); in select() local
210 int len = getItemCount(); in getAllItemsText() local
211 String[] ret = new String[len]; in getAllItemsText()
212 for (int i = 0; i < len; i++) { in getAllItemsText()
224 int len = getItemCount(); in hasItem() local
225 for (int i = 0; i < len; i++) { in hasItem()
250 int len = getItemCount(); in isShowing() local
251 for (int i = 0; i < len; i++) { in isShowing()
379 int len = getItemCount(); in selectByPath() local
380 for (; i < len; i++) { in selectByPath()
[all …]
/aoo42x/main/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/
H A DBase64.java691 return encodeBytes( source, off, len, NO_OPTIONS ); in encodeBytes()
740 gzos.write( source, off, len ); in encodeBytes()
772 int len43 = len * 4 / 3; in encodeBytes()
778 int len2 = len - 2; in encodeBytes()
793 if( d < len ) in encodeBytes()
927 int len34 = len * 3 / 4; in decode()
936 for( i = off; i < off+len; i++ ) in decode()
1568 for( i = 0; i < len; i++ ) in read()
1717 out.write( b4, 0, len ); in write()
1745 super.out.write( theBytes, off, len ); in write()
[all …]
/aoo42x/main/qadevOOo/tests/java/mod/_streams.uno/
H A DPump.java119 public int readBytes(byte[][] bytes, int len) in readBytes() argument
126 if (len <= str.length()) { in readBytes()
127 String resStr = str.substring(0, len-1) ; in readBytes()
129 actual = len ; in readBytes()
130 str = str.substring(len) ; in readBytes()
139 public int readSomeBytes(byte[][] bytes, int len) in readSomeBytes() argument
141 return readBytes(bytes, len); in readSomeBytes()
144 public void skipBytes(int len) throws NotConnectedException { in skipBytes() argument
148 if (len >= str.length()) in skipBytes()
151 str = str.substring(len) ; in skipBytes()
/aoo42x/main/qadevOOo/tests/java/mod/_stm/
H A DPump.java122 public int readBytes(byte[][] bytes, int len) in readBytes() argument
129 if (len <= str.length()) { in readBytes()
130 String resStr = str.substring(0, len-1) ; in readBytes()
132 actual = len ; in readBytes()
133 str = str.substring(len) ; in readBytes()
142 public int readSomeBytes(byte[][] bytes, int len) in readSomeBytes() argument
144 return readBytes(bytes, len); in readSomeBytes()
147 public void skipBytes(int len) throws NotConnectedException { in skipBytes() argument
151 if (len >= str.length()) in skipBytes()
154 str = str.substring(len) ; in skipBytes()
/aoo42x/main/stoc/source/security/
H A Dpermissions.cxx236 sal_Int32 len = m_host.getLength() -1; // skip star in implies() local
238 demanded_host.getStr() + demanded_host.getLength() - len, len, in implies()
239 m_host.pData->buffer + 1, len )); in implies()
401 sal_Int32 len = m_url.getLength() -1; in implies() local
404 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )); in implies()
407 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )); in implies()
415 sal_Int32 len = m_url.getLength() -1; in implies() local
418 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )) && in implies()
419 (0 > demanded.m_url.indexOf( '/', len ))); // in addition, no deeper paths in implies()
422 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )) && in implies()
[all …]
/aoo42x/main/i18npool/source/characterclassification/
H A Dcclass_unicode.cxx66 sal_Int32 len = Text.getLength(); in toUpper() local
67 if (nPos >= len) in toUpper()
69 if (nCount + nPos > len) in toUpper()
70 nCount = len - nPos; in toUpper()
78 sal_Int32 len = Text.getLength(); in toLower() local
79 if (nPos >= len) in toLower()
81 if (nCount + nPos > len) in toLower()
82 nCount = len - nPos; in toLower()
91 if (nPos >= len) in toTitle()
93 if (nCount + nPos > len) in toTitle()
[all …]
/aoo42x/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/bridges/java_remote/
H A DXConnectionInputStream_Adapter.java49 int len ; in read() local
52 len = _xConnection.read(_bytes, 1); in read()
60 return len == 0 ? -1 : _bytes[0][0] & 0xff; in read()
63 public int read(byte[] b, int off, int len) throws IOException { in read() argument
67 len = _xConnection.read(_bytes, len - off); in read()
73 System.arraycopy(_bytes[0], 0, b, off, len); in read()
75 return len == 0 ? -1 : len; in read()
/aoo42x/main/i18npool/source/nativenumber/
H A Dnativenumbersupplier.cxx108 for (i = 0; i < len; i++, begin++) { in AsciiToNative_numberMaker()
153 len -= tmp; in AsciiToNative_numberMaker()
184 sal_Int32 i, len = 0, count = 0; in AsciiToNative() local
199 srcStr->buffer[len++] = str[i]; in AsciiToNative()
201 if (len > 0) { in AsciiToNative()
210 … end == len ? -1 : 0, offset, useOffset, i - len + startPos, number, numberChar); in AsciiToNative()
215 if (end != len) { in AsciiToNative()
229 len = 0; in AsciiToNative()
744 for (sal_Int16 i = 0; i < len; i++) in natNumIn()
871 for (i = 0; i < len; i++) { in getHebrewNativeNumberString()
[all …]
/aoo42x/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/palm/
H A DPdbDecoder.java110 int len = 0; in parse() local
118 len = recOffset[i+1] - recOffset[i]; in parse()
119 bytes = new byte[len]; in parse()
126 len = (int) file.length() - recOffset[lastIndex]; in parse()
127 bytes = new byte[len]; in parse()
190 int len = 0; in parse() local
200 len = recOffset[i+1] - recOffset[i]; in parse()
201 bytes = new byte[len]; in parse()
209 len = (int) dis.available() - recOffset[lastIndex]; in parse()
211 bytes = new byte[len]; in parse()
/aoo42x/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/
H A DSxcDocumentSerializer.java154 int len = nodeList.getLength(); in traverseSettings() local
155 for (int i = 0; i < len; i++) { in traverseSettings()
231 int len = nodeList.getLength(); in traverseBody() local
233 for (int i = 0; i < len; i++) { in traverseBody()
250 for (int i = 0; i < len; i++) { in traverseBody()
289 int len = nodeList.getLength(); in traverseNamedExpressions() local
291 for (int i = 0; i < len; i++) { in traverseNamedExpressions()
333 int len = nodeList.getLength(); in traverseTable() local
335 for (int i = 0; i < len; i++) { in traverseTable()
761 int len = childList.getLength(); in traverseCell() local
[all …]
/aoo42x/main/sal/rtl/source/
H A Dustring.c77 sal_Unicode const * str, sal_Int32 len, in rtl_ustr_indexOfAscii_WithLength() argument
80 if (subLen > 0 && subLen <= len) { in rtl_ustr_indexOfAscii_WithLength()
82 for (i = 0; i <= len - subLen; ++i) { in rtl_ustr_indexOfAscii_WithLength()
94 sal_Unicode const * str, sal_Int32 len, in rtl_ustr_lastIndexOfAscii_WithLength() argument
97 if (subLen > 0 && subLen <= len) { in rtl_ustr_lastIndexOfAscii_WithLength()
342 for (i = 0; i < len; ++i) { in rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths()
814 if ( len < 256 ) in rtl_uString_internConvert()
816 if ( len < 0 ) in rtl_uString_internConvert()
817 len = strlen( str ); in rtl_uString_internConvert()
824 for (i = 0; i < len; i++) in rtl_uString_internConvert()
[all …]
/aoo42x/main/connectivity/source/drivers/hsqldb/
H A DHStorageAccess.cxx233 if ( nLen < len || len <= 0 ) in read_from_storage_stream_into_buffer()
245 nBytesRead = xIn->readBytes(aData, len); in read_from_storage_stream_into_buffer()
276 (JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_read__Ljava_lang_String_2Ljava_lang_String_2_3BII() argument
283 …return read_from_storage_stream_into_buffer( env, obj_this, name, key, buffer, off, len, &aDataLog… in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_read__Ljava_lang_String_2Ljava_lang_String_2_3BII()
285 return read_from_storage_stream_into_buffer( env, obj_this, name, key, buffer, off, len ); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_read__Ljava_lang_String_2Ljava_lang_String_2_3BII()
444 if ( buf && len > 0 && len <= env->GetArrayLength(buffer)) in write_to_storage_stream_from_buffer()
446 Sequence< ::sal_Int8 > aData(buf + off,len); in write_to_storage_stream_from_buffer()
451 logger->write( aData.getConstArray(), len ); in write_to_storage_stream_from_buffer()
477 (JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_write() argument
484 write_to_storage_stream_from_buffer( env, obj_this, name, key, buffer, off, len, &aDataLog ); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_write()
[all …]
/aoo42x/main/xmerge/java/aportisdoc/src/main/java/org/openoffice/xmerge/converter/xml/sxw/aportisdoc/
H A DDocumentSerializerImpl.java114 int len = list.getLength(); in serialize() local
116 if (len > 0) { in serialize()
150 int len = nodeList.getLength(); in traverseBody() local
152 for (int i = 0; i < len; i++) { in traverseBody()
215 int len = nodeList.getLength(); in traverseParaContents() local
217 for (int i = 0; i < len; i++) { in traverseParaContents()
391 int len = nodeList.getLength(); in traverseList() local
393 for (int i = 0; i < len; i++) { in traverseList()
436 int len = nodeList.getLength(); in traverseListHeader() local
438 for (int i = 0; i < len; i++) { in traverseListHeader()
[all …]
/aoo42x/main/idlc/source/
H A Doptions.cxx77 bool Options::checkArgument (std::vector< std::string > & rArgs, char const * arg, size_t len) in checkArgument() argument
79 bool result = ((arg != 0) && (len > 0)); in checkArgument()
86 if ((result = (len > 1)) == true) in checkArgument()
93 if ((result = (len > 1)) == true) in checkArgument()
105 if (len > 2) in checkArgument()
108 std::string param(&(arg[2]), len - 2); in checkArgument()
115 rArgs.push_back(std::string(arg, len)); in checkArgument()
122 rArgs.push_back(std::string(arg, len)); in checkArgument()
217 const DWORD len = GetShortPathNameW( in convertIncPathtoShortWindowsPath() local
220 rtl::OUString ret = rtl::OUString(&vec[0], len); in convertIncPathtoShortWindowsPath()
[all …]
/aoo42x/main/soltools/cpp/
H A D_nlist.c90 t.len = strlen(kp->kw); in setup_kwtab()
112 for (cp = tp->t, cpe = cp + tp->len; cp < cpe;) in lookup()
118 if (*tp->t == *np->name && tp->len == (unsigned int)np->len in lookup()
119 && strncmp((char *)tp->t, (char *)np->name, tp->len) == 0) in lookup()
130 np->len = tp->len; in lookup()
131 np->name = newstring(tp->t, tp->len, 0); in lookup()
134 quickset(tp->t[0], tp->len > 1 ? tp->t[1] : 0); in lookup()
/aoo42x/main/svx/source/dialog/
H A Dsendreportunx.cxx59 int len = strlen(szBuffer); in read_line() local
63 while ( len && szBuffer[len - 1] == '\n' ) in read_line()
65 szBuffer[--len] = 0; in read_line()
83 string::size_type len = temp.length(); in trim_string() local
85 while ( len && (temp[len-1] == ' ' || temp[len-1] == '\t') ) in trim_string()
87 temp.erase( len - 1, 1 ); in trim_string()
88 len = temp.length(); in trim_string()

Completed in 2412 milliseconds

12345678910>>...17