| /AOO41X/main/qadevOOo/tests/java/ifc/sdbc/ |
| H A D | _XRowUpdate.java | 176 int idx = findColumnOfType(Boolean.class) ; in _updateBoolean() local 178 if (idx < 0) { in _updateBoolean() 185 boolean newVal = !row.getBoolean(idx) ; in _updateBoolean() 186 oObj.updateBoolean(idx, newVal) ; in _updateBoolean() 187 boolean getVal = row.getBoolean(idx) ; in _updateBoolean() 205 int idx = findColumnOfType(Byte.class) ; in _updateByte() local 207 if (idx < 0) { in _updateByte() 214 byte newVal = (byte) (row.getByte(idx) + 1) ; in _updateByte() 215 oObj.updateByte(idx, newVal) ; in _updateByte() 216 byte getVal = row.getByte(idx) ; in _updateByte() [all …]
|
| H A D | _XParameters.java | 121 int idx = findParamOfType(String.class) ; in _setNull() local 122 if (idx < 0) log.println("Type not found in relation: not tested"); in _setNull() 125 oObj.setNull(idx, DataType.VARCHAR) ; in _setNull() 149 int idx = findParamOfType(String.class) ; in _setString() local 150 if (idx < 0) log.println("Type not found in relation: not tested"); in _setString() 153 oObj.setString(idx, "XParameters") ; in _setString() 170 int idx = findParamOfType(Boolean.class) ; in _setBoolean() local 171 if (idx < 0) log.println("Type not found in relation: not tested"); in _setBoolean() 174 oObj.setBoolean(idx, true) ; in _setBoolean() 191 int idx = findParamOfType(Byte.class) ; in _setByte() local [all …]
|
| /AOO41X/main/xmlhelp/source/treeview/ |
| H A D | tvread.cxx | 195 sal_Int32 idx = -1,k = 0,off; in replaceName() local 199 while( ( idx = oustring.indexOf( sal_Unicode('%'),++idx ) ) != -1 ) in replaceName() 201 if( oustring.indexOf( prodName,idx ) == idx ) in replaceName() 203 else if( oustring.indexOf( prodVersion,idx ) == idx ) in replaceName() 205 else if( oustring.indexOf( vendName,idx ) == idx ) in replaceName() 207 else if( oustring.indexOf( vendVersion,idx ) == idx ) in replaceName() 209 else if( oustring.indexOf( vendShort,idx ) == idx ) in replaceName() 222 aStrBuf.append( &oustring.getStr()[k],idx - k ); in replaceName() 224 k = idx + m_vAdd[off]; in replaceName() 392 sal_Int32 idx; in getByHierarchicalName() local [all …]
|
| /AOO41X/main/desktop/source/splash/ |
| H A D | splash.cxx | 325 sal_Int32 idx = 0; in loadConfig() local 326 sal_Int32 temp = sProgressFrameColor.getToken( 0, ',', idx ).toInt32(); in loadConfig() 327 if ( idx != -1 ) in loadConfig() 330 temp = sProgressFrameColor.getToken( 0, ',', idx ).toInt32(); in loadConfig() 332 if ( idx != -1 ) in loadConfig() 335 … nBlue = static_cast< sal_uInt8 >( sProgressFrameColor.getToken( 0, ',', idx ).toInt32() ); in loadConfig() 350 sal_Int32 idx = 0; in loadConfig() local 351 sal_Int32 temp = sProgressBarColor.getToken( 0, ',', idx ).toInt32(); in loadConfig() 352 if ( idx != -1 ) in loadConfig() 355 temp = sProgressBarColor.getToken( 0, ',', idx ).toInt32(); in loadConfig() [all …]
|
| /AOO41X/main/xmlhelp/source/cxxhelp/provider/ |
| H A D | contentcaps.cxx | 54 sal_Int32 idx = 0; in getProperties() local 55 props[idx++] = in getProperties() 63 props[idx++] = in getProperties() 71 props[idx++] = in getProperties() 79 props[idx++] = in getProperties() 87 props[idx++] = in getProperties() 95 props[idx++] = in getProperties() 104 props[idx++] = in getProperties() 114 props[idx++] = in getProperties() 122 props[idx++] = in getProperties() [all …]
|
| H A D | databases.cxx | 326 sal_Int32 idx = -1,idx1 = -1,idx2 = -1,k = 0,off; in replaceName() local 332 ++idx; in replaceName() 333 idx1 = oustring.indexOf( sal_Unicode('%'),idx); in replaceName() 334 idx2 = oustring.indexOf( sal_Unicode('$'),idx); in replaceName() 340 idx = idx2; in replaceName() 342 idx = idx1; in replaceName() 346 idx = idx1; in replaceName() 348 idx = idx2; in replaceName() 351 if( oustring.indexOf( prodName,idx ) == idx ) in replaceName() 353 else if( oustring.indexOf( prodVersion,idx ) == idx ) in replaceName() [all …]
|
| H A D | urlparameter.cxx | 583 sal_Int32 idx = 0,length = m_aExpr.getLength(); in module() local 585 while( idx < length && isLetterOrDigit( (m_aExpr.getStr())[idx] ) ) in module() 586 ++idx; in module() 588 if( idx != 0 ) in module() 590 m_aModule = m_aExpr.copy( 0,idx ); in module() 591 m_aExpr = m_aExpr.copy( idx ); in module() 608 sal_Int32 idx = 1; in name() local 609 while( idx < length && (m_aExpr.getStr())[idx] != '?' ) in name() 613 ++idx; in name() 615 if( idx != 1 && ! modulePresent ) in name() [all …]
|
| /AOO41X/main/binaryurp/source/ |
| H A D | unmarshal.cxx | 168 sal_uInt16 idx = readCacheIndex(); in readType() local 170 if (idx == cache::ignore || !state_.typeCache[idx].is()) { in readType() 178 return state_.typeCache[idx]; in readType() 219 if (idx != cache::ignore) { in readType() 220 state_.typeCache[idx] = t; in readType() 246 sal_uInt16 idx = readCacheIndex(); in readOid() local 247 if (oid.isEmpty() && idx != cache::ignore) { in readOid() 248 if ( state_.oidCache[idx].isEmpty() ) { in readOid() 255 return state_.oidCache[idx]; in readOid() 257 if (idx != cache::ignore) { in readOid() [all …]
|
| H A D | marshal.cxx | 148 sal_uInt16 idx = state_.typeCache.add(value, &found); in writeType() local 151 write16(buffer, idx); in writeType() 154 write16(buffer, idx); in writeType() 164 sal_uInt16 idx; in writeOid() local 167 idx = cache::ignore; in writeOid() 169 idx = state_.oidCache.add(oid, &found); in writeOid() 176 write16(buffer, idx); in writeOid() 183 sal_uInt16 idx = state_.tidCache.add(tid, &found); in writeTid() local 193 write16(buffer, idx); in writeTid()
|
| /AOO41X/main/sal/osl/unx/ |
| H A D | process.c | 699 unsigned int idx; in osl_executeProcess_WithRedirectedIO() local 721 for ( idx = 0 ; idx < nArguments ; ++idx ) in osl_executeProcess_WithRedirectedIO() 727 rtl_uString_getStr(ustrArguments[idx]), in osl_executeProcess_WithRedirectedIO() 728 rtl_uString_getLength(ustrArguments[idx]), in osl_executeProcess_WithRedirectedIO() 732 pArguments[idx]=strdup(rtl_string_getStr(strArg)); in osl_executeProcess_WithRedirectedIO() 734 pArguments[idx+1]=0; in osl_executeProcess_WithRedirectedIO() 737 for ( idx = 0 ; idx < nEnvironmentVars ; ++idx ) in osl_executeProcess_WithRedirectedIO() 747 rtl_uString_getStr(ustrEnvironment[idx]), in osl_executeProcess_WithRedirectedIO() 748 rtl_uString_getLength(ustrEnvironment[idx]), in osl_executeProcess_WithRedirectedIO() 752 pEnvironment[idx]=strdup(rtl_string_getStr(strEnv)); in osl_executeProcess_WithRedirectedIO() [all …]
|
| H A D | profile.c | 336 unsigned int idx=0; in osl_closeProfile() local 339 for ( idx = 0 ; idx < pProfile->m_NoLines ; ++idx) in osl_closeProfile() 341 if ( pProfile->m_Lines[idx] != 0 ) in osl_closeProfile() 343 free(pProfile->m_Lines[idx]); in osl_closeProfile() 344 pProfile->m_Lines[idx]=0; in osl_closeProfile() 353 for ( idx = 0 ; idx < pProfile->m_NoSections ; ++idx ) in osl_closeProfile() 355 if ( pProfile->m_Sections[idx].m_Entries != 0 ) in osl_closeProfile() 357 free(pProfile->m_Sections[idx].m_Entries); in osl_closeProfile() 358 pProfile->m_Sections[idx].m_Entries=0; in osl_closeProfile() 1533 unsigned int idx=0; in addLine() local [all …]
|
| /AOO41X/main/i18npool/source/indexentry/ |
| H A D | indexentrysupplier_asian.cxx | 72 sal_uInt16** idx=func(&max_index); in getIndexCharacter() local 74 sal_uInt16 address=idx[0][ch >> 8]; in getIndexCharacter() 76 address=idx[1][address+(ch & 0xFF)]; in getIndexCharacter() 77 return idx[2] ? OUString(&idx[2][address]) : OUString(address); in getIndexCharacter() 127 sal_uInt16** idx=func(&max_index); in getPhoneticCandidate() local 132 sal_uInt16 address = idx[0][ch>>8]; in getPhoneticCandidate() 134 address = idx[1][address + (ch & 0xFF)]; in getPhoneticCandidate() 137 if (idx[2]) in getPhoneticCandidate() 138 candidate.append(&idx[2][address]); in getPhoneticCandidate()
|
| /AOO41X/main/sw/source/core/bastyp/ |
| H A D | bparr.cxx | 135 ElementPtr BigPtrArray::operator[]( sal_uLong idx ) const in operator []() 138 DBG_ASSERT( idx < nSize, "operator[]: Index aussserhalb" ); in operator []() 140 sal_uInt16 cur = Index2Block( idx ); in operator []() 143 return p->pData[ idx - p->nStart ]; in operator []() 209 sal_uLong idx = (*pp)->nEnd + 1; in UpdIndex() local 214 p->nStart = idx; in UpdIndex() 215 idx += p->nElem; in UpdIndex() 216 p->nEnd = idx - 1; in UpdIndex() 456 void BigPtrArray::Replace( sal_uLong idx, const ElementPtr& rElem) in Replace() argument 459 DBG_ASSERT( idx < nSize, "Set: Index aussserhalb" ); in Replace() [all …]
|
| /AOO41X/main/extensions/source/oooimprovement/ |
| H A D | soaprequest.cxx | 82 sal_Int32 idx = 0; in replaceAll() local 84 result.append(str.getToken(0, old, idx)); in replaceAll() 85 if(idx>=0) result.append(replacement); in replaceAll() 86 } while(idx >= 0); in replaceAll() 101 for(sal_Int32 idx=0; idx < size; idx++) in createSequenceFromString() local 102 (*result)[idx] = str[idx]; in createSequenceFromString()
|
| /AOO41X/main/l10ntools/source/ |
| H A D | export2.cxx | 482 for( xub_StrLen idx = 0; idx <= rString.Len()-8 ; idx++ ) in replaceEncoding() local 484 if( rString.GetChar( idx ) == '&' && in replaceEncoding() 485 rString.GetChar( idx+1 ) == '#' && in replaceEncoding() 486 rString.GetChar( idx+2 ) == 'x' && in replaceEncoding() 487 rString.GetChar( idx+7 ) == ';' ) in replaceEncoding() 489 ByteString sTmp = rString.Copy( 0 , idx ); in replaceEncoding() 491 sTmp.Append( rString.GetChar( idx+3 ) ); in replaceEncoding() 492 sTmp.Append( rString.GetChar( idx+4 ) ); in replaceEncoding() 493 sTmp.Append( rString.GetChar( idx+5 ) ); in replaceEncoding() 494 sTmp.Append( rString.GetChar( idx+6 ) ); in replaceEncoding() [all …]
|
| /AOO41X/main/setup_native/source/win32/customactions/reg4msdoc/ |
| H A D | registrationcontextinformation.cxx | 254 std::wstring::size_type idx = str.find(TEXT("~")); in ShellNewCommandDisplayName() local 256 if(std::wstring::npos != idx) in ShellNewCommandDisplayName() 257 str.replace(idx, 1, TEXT("&")); in ShellNewCommandDisplayName() 273 std::wstring::size_type idx = str.find(TEXT("~")); in ShellEditCommandDisplayName() local 275 if(std::wstring::npos != idx) in ShellEditCommandDisplayName() 276 str.replace(idx, 1, TEXT("&")); in ShellEditCommandDisplayName() 367 std::wstring::size_type idx = m_OOExecPath.find_last_of(TEXT('\\')); in ExtractOpenOfficeExecNameFromPath() local 368 assert(idx != std::wstring::npos); // assert valid path in ExtractOpenOfficeExecNameFromPath() 369 m_OOExecName = m_OOExecPath.substr(idx + 1); in ExtractOpenOfficeExecNameFromPath()
|
| /AOO41X/main/i18npool/source/calendar/ |
| H A D | calendar_gregorian.cxx | 194 Calendar_hanja::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(R… in getDisplayName() argument 200 if (idx == 0) return LocaleData().getLocaleItem(jaLocale).timeAM; in getDisplayName() 201 else if (idx == 1) return LocaleData().getLocaleItem(jaLocale).timePM; in getDisplayName() 205 return Calendar_gregorian::getDisplayName( displayIndex, idx, nameType ); in getDisplayName() 920 Calendar_gregorian::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) thr… in getDisplayName() argument 926 if (idx == 0) aStr = LocaleData().getLocaleItem(aLocale).timeAM; in getDisplayName() 927 else if (idx == 1) aStr = LocaleData().getLocaleItem(aLocale).timePM; in getDisplayName() 931 if( idx >= aCalendar.Days.getLength() ) throw ERROR; in getDisplayName() 932 if (nameType == 0) aStr = aCalendar.Days[idx].AbbrevName; in getDisplayName() 933 else if (nameType == 1) aStr = aCalendar.Days[idx].FullName; in getDisplayName() [all …]
|
| /AOO41X/main/i18nutil/source/utility/ |
| H A D | casefolding.cxx | 125 sal_Unicode casefolding::getNextChar(const sal_Unicode *str, sal_Int32& idx, sal_Int32 len, Mapping… in getNextChar() argument 127 if( idx >= len ) in getNextChar() 137 e.element = getValue(str, idx++, len, aLocale, nMappingType); in getNextChar() 142 c = *(str + idx++); in getNextChar() 154 if (0x3040 <= c && c <= 0x30ff && idx < len && in getNextChar() 155 is_ja_voice_sound_mark(c, half2fullTable[*(str + idx)])) in getNextChar() 156 idx++; in getNextChar()
|
| /AOO41X/main/scripting/java/org/openoffice/netbeans/modules/office/utils/ |
| H A D | PackageRemover.java | 81 int idx = line.indexOf(ParcelZipper.CONTENTS_DIRNAME); in evaluate() local 82 if (idx == -1) in evaluate() 85 idx = idx + ParcelZipper.CONTENTS_DIRNAME.length(); in evaluate() 86 if (line.charAt(idx) == '.') in evaluate() 87 return "package " + line.substring(idx + 1);; in evaluate()
|
| /AOO41X/main/vcl/unx/generic/fontmanager/ |
| H A D | parseAFM.cxx | 272 int ch, idx; in token() local 279 idx = 0; in token() 280 while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] && idx < MAX_NAME-1 ) in token() 282 ident[idx++] = ch; in token() 286 if (ch == -1 && idx < 1) return ((char *)NULL); in token() 287 if (idx >= 1 && ch != ':' && ch != -1) stream->ungetChar(); in token() 288 if (idx < 1 ) ident[idx++] = ch; /* single-character token */ in token() 289 ident[idx] = 0; in token() 290 rLen = idx; in token() 307 int ch, idx; in linetoken() local [all …]
|
| /AOO41X/main/bean/com/sun/star/beans/ |
| H A D | LocalOfficeConnection.java | 372 int idx = url.indexOf(";urp;StarOffice.NamingService"); in parseUnoUrlWithOfficePath() local 373 if (idx < 0) in parseUnoUrlWithOfficePath() 376 String params = url.substring(prefix.length(), idx + 1); in parseUnoUrlWithOfficePath() 385 for(idx = 0; idx < params.length(); idx += 1) { in parseUnoUrlWithOfficePath() 386 ch = params.charAt(idx); in parseUnoUrlWithOfficePath() 459 idx -= 1; // put back the last read character in parseUnoUrlWithOfficePath()
|
| /AOO41X/main/mysqlc/source/ |
| H A D | mysqlc_propertyids.cxx | 108 OUString OPropertyMap::getNameByIndex(sal_Int32 idx) const in getNameByIndex() 111 ::std::map<sal_Int32 , rtl_uString*>::const_iterator aIter = m_aPropertyMap.find(idx); in getNameByIndex() 113 sRet = const_cast<OPropertyMap*>(this)->fillValue(idx); in getNameByIndex() 183 OUString OPropertyMap::fillValue(sal_Int32 idx) in fillValue() argument 186 rtl_uString_newFromAscii(&pStr, property_callbacks[idx]()); in fillValue() 187 m_aPropertyMap[idx] = pStr; in fillValue()
|
| /AOO41X/main/qadevOOo/tests/java/mod/_cached/ |
| H A D | CachedDynamicResultSetStubFactory.java | 118 int idx = url.indexOf("/") ; in createTestEnvironment() local 120 while (idx >= 0) { in createTestEnvironment() 121 escUrl += url.substring(lastIdx + 1, idx) + "%2F" ; in createTestEnvironment() 122 lastIdx = idx ; in createTestEnvironment() 123 idx = url.indexOf("/", idx + 1) ; in createTestEnvironment()
|
| /AOO41X/main/i18npool/source/transliteration/ |
| H A D | textToPronounce_zh.cxx | 49 if (idx) { in getPronounce() 50 sal_uInt16 address = idx[0][ch>>8]; in getPronounce() 52 return &idx[2][idx[1][address + (ch & 0xFF)]]; in getPronounce() 153 idx=NULL; in TextToPronounce_zh() 157 idx=function(); in TextToPronounce_zh()
|
| /AOO41X/main/qadevOOo/tests/java/ifc/ucb/ |
| H A D | _XSortedDynamicResultSetFactory.java | 93 int idx = url.indexOf("/") ; in _createSortedDynamicResultSet() local 95 while (idx >= 0) { in _createSortedDynamicResultSet() 96 escUrl += url.substring(lastIdx + 1, idx) + "%2F" ; in _createSortedDynamicResultSet() 97 lastIdx = idx ; in _createSortedDynamicResultSet() 98 idx = url.indexOf("/", idx + 1) ; in _createSortedDynamicResultSet()
|