/trunk/main/i18npool/source/localedata/ |
H A D | LocaleNode.cxx | 1826 sal_Int16 len = attr->getLength(); in Attr() local 1827 name.realloc (len); in Attr() 1828 value.realloc (len); in Attr() 1829 for (sal_Int16 i =0; i< len;i++) { in Attr() 1837 sal_Int32 len = name.getLength(); in getValueByName() local 1838 for (sal_Int32 i = 0;i<len;i++) in getValueByName()
|
H A D | localedata.cxx | 466 … const Locale& rLocale, const Sequence< Calendar >& calendarsSeq, sal_Int16 len, sal_Int16 item) in getCalendarItemByName() argument 479 len = sal::static_int_cast<sal_Int16>( cals.getLength() ); in getCalendarItemByName()
|
/trunk/main/i18npool/source/nativenumber/ |
H A D | nativenumbersupplier.cxx | 108 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 …]
|
/trunk/main/i18npool/source/textconversion/ |
H A D | genconv_dict.cxx | 112 sal_Int32 len = Ostr.getLength(); in make_hhc_char() local 119 for (i = 2; i < len; i++) { in make_hhc_char() 200 sal_Int32 len = Ostr.getLength(); in make_stc_char() local 208 for (i = 2; i < len; i++) in make_stc_char() 335 sal_Int32 len; member 343 int result = p1->len - p2->len; in Index_comp() 365 sal_Int32 len = Ostr.getLength(); in make_stc_word() local 366 if (char_total + len + 1 > 0xFFFF) { in make_stc_word() 382 STC_WordEntry_T2S[count_T2S].len = len - sep - 1; in make_stc_word() 385 for (i = 0; i < len; i++) in make_stc_word() [all …]
|
H A D | textconversionImpl.cxx | 43 sal_Int32 len = aText.getLength() - nStartPos; in getConversions() local 44 if (nLength > len) in getConversions() 45 nLength = len > 0 ? len : 0; in getConversions() 56 sal_Int32 len = aText.getLength() - nStartPos; in getConversion() local 57 if (nLength > len) in getConversion() 58 nLength = len > 0 ? len : 0; in getConversion() 69 sal_Int32 len = aText.getLength() - nStartPos; in getConversionWithOffset() local 70 if (nLength > len) in getConversionWithOffset() 71 nLength = len > 0 ? len : 0; in getConversionWithOffset()
|
H A D | textconversion_ko.cxx | 222 sal_Int32 len = 1; in getConversions() local 244 …result.Candidates = getCharConversions(aText, nStartPos + start, len, toHanja); // char2char conve… in getConversions() 250 for (len = end - start; len > 0; len--) { in getConversions() 251 if (len > 1) { in getConversions() 254 … result.Candidates = xCDL->queryConversions(aText, start + nStartPos, len, in getConversions() 268 … candidates = xCD->getConversions(aText, start + nStartPos, len, eDirection, nConversionOptions); in getConversions() 274 len = result.Candidates[0].getLength(); in getConversions() 283 result.Boundary.endPos = start + len + nStartPos; in getConversions()
|
H A D | textconversion_zh.cxx | 125 sal_Int32 len = nLength - currPos; in getWordConversion() local 127 if (len > maxLen) in getWordConversion() 128 len = maxLen; in getWordConversion() 129 for (; len > 0 && ! found; len--) { in getWordConversion() 130 OUString word = aText.copy(nStartPos + currPos, len); in getWordConversion() 136 conversions = xCDL->queryConversions(word, 0, len, in getWordConversion() 170 if (!found && index[len+1] - index[len] > 0) { in getWordConversion() 171 sal_Int32 bottom = (sal_Int32) index[len]; in getWordConversion() 172 sal_Int32 top = (sal_Int32) index[len+1] - 1; in getWordConversion()
|
/trunk/main/i18nutil/inc/i18nutil/ |
H A D | casefolding.hxx | 73 …static Mapping& getValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, com::sun::star::lan… 74 …static Mapping& getConditionalValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, com::sun… 75 …static sal_Unicode getNextChar(const sal_Unicode *str, sal_Int32& idx, sal_Int32 len, MappingEleme…
|
/trunk/main/i18nutil/source/utility/ |
H A D | casefolding.cxx | 55 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 …]
|
/trunk/main/icc/ |
H A D | SampleICC-1.3.2.patch | 2505 int i, len; 2519 len = 0;
|
/trunk/main/icu/ |
H A D | icu4c-4_0_1-src.patch | 271 …t variantLen = _deleteVariant(variant, uprv_min(variantSize, (nameCapacity-len)), variantToCompare… 272 len -= variantLen; 274 - if (name[len-1] == '_') { /* delete trailing '_' */ 275 + if (len > 0 && name[len-1] == '_') { /* delete trailing '_' */ 276 --len; 283 - if (name[len-1] == '_') { /* delete trailing '_' */ 284 + if (len > 0 && name[len-1] == '_') { /* delete trailing '_' */ 285 --len;
|
/trunk/main/idlc/inc/idlc/ |
H A D | options.hxx | 52 static bool checkArgument(std::vector< std::string > & rArgs, char const * arg, size_t len);
|
/trunk/main/idlc/source/ |
H A D | options.cxx | 77 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 …]
|
/trunk/main/javaunohelper/com/sun/star/lib/uno/adapter/ |
H A D | InputStreamToXInputStreamAdapter.java | 78 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()
|
H A D | XInputStreamToInputStreamAdapter.java | 117 public int read(byte[] b, int off, int len) throws IOException { in read() argument 123 if ( av != 0 && len > av) { in read() 127 bytesRead = xin.readBytes(tmp,len); in read() 135 } else if (bytesRead < len) { in read() 138 System.arraycopy(tmp[0], 0, b, off, len); in read()
|
H A D | XOutputStreamToOutputStreamAdapter.java | 81 public void write(byte[] b, int off, int len) throws IOException { in write() argument 83 byte[] tmp = new byte[len]; in write() 87 System.arraycopy(b, off, tmp, 0, len); in write()
|
/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/ |
H A D | UnoUrl.java | 332 int len = identifier.length(); in isValidString() local 334 for (int i = 0; i < len; i++) { in isValidString()
|
/trunk/main/javaunohelper/source/ |
H A D | bootstrap.cxx | 61 jsize len = jni_env->GetStringLength( jstr ); in jstring_to_oustring() local 63 (rtl_uString *)rtl_allocateMemory( sizeof (rtl_uString) + (len * sizeof (sal_Unicode)) ); in jstring_to_oustring() 64 jni_env->GetStringRegion( jstr, 0, len, ustr->buffer ); in jstring_to_oustring() 67 ustr->length = len; in jstring_to_oustring() 68 ustr->buffer[ len ] = '\0'; in jstring_to_oustring() 83 jsize nPos = 0, len = jni_env->GetArrayLength( jpairs ); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap() local 84 while (nPos < len) in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
|
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/bridges/java_remote/ |
H A D | XConnectionInputStream_Adapter.java | 49 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()
|
H A D | XConnectionOutputStream_Adapter.java | 58 public void write(byte[] b, int off, int len) throws IOException { in write() argument 61 if(off == 0 && len == b.length) in write() 65 bytes = new byte[len]; in write() 67 System.arraycopy(b, off, bytes, 0, len); in write()
|
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/protocols/urp/ |
H A D | Marshal.java | 303 int len = Array.getLength(value); in writeSequenceValue() local 304 writeCompressedNumber(len); in writeSequenceValue() 305 for (int i = 0; i < len; ++i) { in writeSequenceValue()
|
H A D | Unmarshal.java | 89 int len = readCompressedNumber(); in readThreadId() local 92 if (len != 0) { in readThreadId() 93 data = new byte[len]; in readThreadId() 99 if (len == 0) { in readThreadId() 273 int len = readCompressedNumber(); in readStringValue() local 274 byte[] data = new byte[len]; in readStringValue() 382 int len = readCompressedNumber(); in readSequenceValue() local 385 byte[] data = new byte[len]; in readSequenceValue() 391 ? Object.class : ctype.getZClass(), len); in readSequenceValue() 392 for (int i = 0; i < len; ++i) { in readSequenceValue()
|
/trunk/main/jurt/source/pipe/ |
H A D | com_sun_star_lib_connections_pipe_PipeConnection.c | 340 (JNIEnv * env, jobject obj_this, jobjectArray buffer, jint len) in PipeConnection_read() argument 382 if ((nbuff = malloc(len)) == NULL) in PipeConnection_read() 396 nread = osl_readPipe(npipe, nbuff, len); in PipeConnection_read() 410 bytes = (*env)->NewByteArray(env, len); in PipeConnection_read() 420 (*env)->SetByteArrayRegion(env, bytes, 0, len, nbuff); in PipeConnection_read()
|
/trunk/main/jurt/source/pipe/wrapper/ |
H A D | wrapper.c | 75 JNIEnv * env, jobject obj_this, jobjectArray buffer, jint len) in Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI() argument 78 getFunction("PipeConnection_read"))(env, obj_this, buffer, len); in Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI()
|
/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/ |
H A D | javaldx.cxx | 148 sal_Int32 len = vendorData.getLength(); in getLD_LIBRARY_PATH() local 149 rtl::OUString sData(chars, len / 2); in getLD_LIBRARY_PATH()
|