/aoo41x/main/soltools/support/ |
H A D | simstr.cxx | 117 len = S.len; in Simstr() 129 len = S.len; in operator =() 243 int anz = len < anzahl ? len : anzahl; in get_front() 347 len += S.len; in insert() 356 memcpy(result+S.len,sz,len+1); in push_front() 360 len += S.len; in push_front() 369 memcpy(result+len,S.sz,S.len+1); in push_back() 373 len += S.len; in push_back() 622 for (i = len-S.len; i >= 0 ; i--) in pos_last() 684 len = len-anz+S.len; in replace() [all …]
|
/aoo41x/main/xml2cmp/source/support/ |
H A D | sistr.cxx | 66 len = 0; in Simstr() 85 len = S.len; in Simstr() 97 len = S.len; in operator =() 168 len++; in push_front() 182 len++; in push_back() 188 char * result = new char[len+1+S.len]; in push_front() 191 memcpy(result+S.len,sz,len+1); in push_front() 195 len += S.len; in push_front() 201 char * result = new char[len+1+S.len]; in push_back() 204 memcpy(result+len,S.sz,S.len+1); in push_back() [all …]
|
H A D | list.hxx | 93 unsigned len; member in List 122 len(0), in List() 134 if ( pos > len ) in insert() 137 checkSize(len+2); in insert() 143 len++; in insert() 151 if ( pos >= len ) in remove() 153 len--; in remove() 224 if ( pos > this->len ) in insert() 227 this->checkSize(this->len+2); in insert() 230 this->len++; in insert() [all …]
|
/aoo41x/main/soltools/cpp/ |
H A D | _tokens.c | 77 if( len == 0 ) in memcpy_EBCDIC() 80 if( len == 1 ) in memcpy_EBCDIC() 243 || tp1->len != tp2->len in comparetokens() 338 dtr->lp += len; in copytokenrow() 352 int len; in normtokenrow() local 355 if (len <= 0) in normtokenrow() 356 len = 1; in normtokenrow() 361 if (tp->len) in normtokenrow() 409 int len; in puttokens() local 419 len = tp->len + tp->wslen; in puttokens() [all …]
|
H A D | _include.c | 57 size_t len; in doinclude() local 64 len = trp->tp - trp->bp; in doinclude() 66 trp->tp = trp->bp + len; in doinclude() 70 len = trp->tp->len - 2; in doinclude() 80 len = 0; in doinclude() 84 if (trp->tp > trp->lp || len + trp->tp->len + 2 >= sizeof(fname)) in doinclude() 86 strncpy(fname + len, (char *) trp->tp->t, trp->tp->len); in doinclude() 87 len += trp->tp->len; in doinclude() 98 fname[len] = '\0'; in doinclude() 179 ta.len = (char *) p - outptr; in genline() [all …]
|
H A D | _macro.c | 91 if (atp->len == tp->len in dodefine() 576 int len; in doconcat() local 599 len = 0; in doconcat() 603 if (len + ntp->len + ntp->wslen > sizeof(tt)) in doconcat() 613 len += ntp->len + ntp->wslen; in doconcat() 617 strncpy((char *) tt + len, (char *) ntp->t, ntp->len); in doconcat() 618 len += ntp->len; in doconcat() 626 tt[len] = '\0'; in doconcat() 660 if (ap->len == tp->len && strncmp((char *) ap->t, (char *) tp->t, ap->len) == 0) in lookuparg() 705 t.len = strlen((char *) sp); in stringify() [all …]
|
/aoo41x/main/nss/ |
H A D | nss_sizes.patch | 43 unsigned int len) 50 - if (sig->len != len) { 55 + if (len > DSA_MAX_SIGNATURE_LEN) { 65 if (len > MAX_ECKEY_LEN * 2) { 73 - if ((dsasig == NULL) || (dsasig->len != len)) { 86 + if (dsasig->len != len) { 109 - int len; 110 + unsigned int len; 210 if (dsasig.len == 0) { 228 if (rsasig.len == 0) { [all …]
|
/aoo41x/main/sal/rtl/source/ |
H A D | ustrbuf.c | 113 if( len != 0 ) in rtl_uStringbuffer_insert() 134 if( len == 1 ) in rtl_uStringbuffer_insert() 137 else if( len > 1 ) in rtl_uStringbuffer_insert() 139 (*This)->length = nOldLen + len; in rtl_uStringbuffer_insert() 140 pBuf[ nOldLen + len ] = 0; in rtl_uStringbuffer_insert() 148 sal_Int32 len; in rtl_uStringbuffer_insertUtf32() local 152 len = 1; in rtl_uStringbuffer_insertUtf32() 157 len = 2; in rtl_uStringbuffer_insertUtf32() 174 if( len != 0 ) in rtl_uStringbuffer_insert_ascii() 191 for( n = 0; n < len; n++ ) in rtl_uStringbuffer_insert_ascii() [all …]
|
H A D | strbuf.c | 107 sal_Int32 len ) in rtl_stringbuffer_insert() argument 112 if( len != 0 ) in rtl_stringbuffer_insert() 114 if (*capacity < (*This)->length + len) in rtl_stringbuffer_insert() 115 rtl_stringbuffer_ensureCapacity( This, capacity, (*This)->length + len ); in rtl_stringbuffer_insert() 128 pBuf[offset + len] = pBuf[offset]; in rtl_stringbuffer_insert() 130 rtl_moveMemory( pBuf + offset + len, pBuf + offset, n * sizeof(sal_Char) ); in rtl_stringbuffer_insert() 133 n = len; in rtl_stringbuffer_insert() 134 if( len == 1 ) in rtl_stringbuffer_insert() 138 rtl_copyMemory( pBuf + offset, str, len * sizeof(sal_Char) ); in rtl_stringbuffer_insert() 139 (*This)->length = nOldLen + len; in rtl_stringbuffer_insert() [all …]
|
/aoo41x/main/i18npool/source/breakiterator/ |
H A D | xdictionary.cxx | 148 if (sLen >= len) { in getLongestMatch() 154 if (pos == len) in getLongestMatch() 155 return len + 1; in getLongestMatch() 252 aCache.size = len; in getCache() 255 aCache.size = len > DEFAULT_SIZE ? len : DEFAULT_SIZE; in getCache() 259 aCache.length = len; in getCache() 267 len = 0; in getCache() 270 len ++; in getCache() 272 if (len == 0) { in getCache() 304 if (len) { in getCache() [all …]
|
H A D | breakiteratorImpl.cxx | 107 sal_Int32 len = Text.getLength(); in nextWord() local 108 if( nStartPos < 0 || len == 0 ) in nextWord() 110 else if (nStartPos >= len) in nextWord() 118 if( nStartPos >= len ) in nextWord() 137 sal_Int32 len = Text.getLength(); in previousWord() local 141 } else if (nStartPos > len) { in previousWord() 163 sal_Int32 len = Text.getLength(); in getWordBoundary() local 164 if( nPos < 0 || len == 0 ) in getWordBoundary() 166 else if (nPos > len) in getWordBoundary() 196 sal_Int32 len = Text.getLength(); in isBeginWord() local [all …]
|
/aoo41x/main/soltools/inc/ |
H A D | st_list.hxx | 110 unsigned len; member in ST_List 142 len(0), in ST_List() 151 len(0), in ST_List() 181 if ( pos > len ) in Insert() 184 checkSize(len+2); in Insert() 190 len++; in Insert() 198 if ( pos >= len ) in Remove() 200 len--; in Remove() 303 if ( pos > this->len ) in Insert() 309 this->len++; in Insert() [all …]
|
/aoo41x/main/xmlsecurity/source/xmlsec/nss/ |
H A D | x509certificate_nssimpl.cxx | 77 if( m_pCert->version.len > 0 ) { in getVersion() 201 int len ; in getExtensions() local 203 for( len = 0, extns = m_pCert->extensions; *extns != NULL; len ++, extns ++ ) ; in getExtensions() 206 for( extns = m_pCert->extensions, len = 0; *extns != NULL; extns ++, len ++ ) { in getExtensions() 229 xExtns[len] = pExtn ; in getExtensions() 246 idItem.len = oid.getLength() ; in findCertificateExtension() 261 …xtn->setCertExtn( (*extns)->value.data, (*extns)->value.len, (*extns)->id.data, (*extns)->id.len, … in findCertificateExtension() 310 certItem.len = rawCert.getLength() ; in setRawCert() 379 fpItem.len = length; in getThumbprint() 418 if ( spk.len>0) in getSubjectPublicKeyValue() [all …]
|
/aoo41x/main/scripting/java/com/sun/star/script/framework/container/ |
H A D | DeployedUnoPackagesDB.java | 82 int len = 0; in getDeployedPackages() local 88 for ( int i=0; i<len; i++ ) in getDeployedPackages() 100 len = 0; in getDeployedPackages() 106 for ( int i=0; i<len; i++ ) in getDeployedPackages() 133 int len; in clearEntries() local 153 int len = 0; in removePackage() local 159 for ( int i=0; i<len; i++ ) in removePackage() 171 len = 0; in removePackage() 176 for ( int i=0; i<len; i++ ) in removePackage() 199 int len = 0; in addPackage() local [all …]
|
/aoo41x/main/desktop/source/deployment/misc/ |
H A D | dp_resource.cxx | 98 sal_Int32 len = tag.getLength(); in checkPrimarySubtag() local 100 if (len < 1 || len > 3) in checkPrimarySubtag() 103 if (len == 1 in checkPrimarySubtag() 107 if (len == 2 || len == 3) in checkPrimarySubtag() 124 sal_Int32 len = tag.getLength(); in checkSecondSubtag() local 126 if (len < 2 || len > 8) in checkSecondSubtag() 130 if (len == 2) in checkSecondSubtag() 143 if (len > 2) in checkSecondSubtag() 159 sal_Int32 len = tag.getLength(); in checkThirdSubtag() local 161 if (len < 1 || len > 8) in checkThirdSubtag() [all …]
|
/aoo41x/main/registry/source/ |
H A D | keyimpl.cxx | 401 size += len * 4; in setLongListValue() 461 for (i=0; i < len; i++) in setStringListValue() 476 for (i=0; i < len; i++) in setStringListValue() 529 for (i=0; i < len; i++) in setUnicodeListValue() 544 for (i=0; i < len; i++) in setUnicodeListValue() 742 sal_uInt32 len = 0; in getLongListValue() local 745 *pLen = len; in getLongListValue() 839 sal_uInt32 len = 0; in getStringListValue() local 842 *pLen = len; in getStringListValue() 945 sal_uInt32 len = 0; in getUnicodeListValue() local [all …]
|
/aoo41x/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()
|
/aoo41x/main/sw/source/filter/ww8/dump/ |
H A D | msvbasic.cxx | 306 sal_uInt16 len; in ReadVBAProject() local 307 *xVBAProject >> len; in ReadVBAProject() 309 for (j=0;j<len/2;j++) in ReadVBAProject() 315 *xVBAProject >> len; in ReadVBAProject() 319 *xVBAProject >> len; in ReadVBAProject() 320 if (len == 0xFFFF) in ReadVBAProject() 323 *xVBAProject >> len; in ReadVBAProject() 424 int len; in DecompressVBA() local 466 len=0; in DecompressVBA() 468 len |= token & (1<<i); in DecompressVBA() [all …]
|
/aoo41x/main/toolkit/src2xml/source/ |
H A D | srclexer.py | 42 if len(orig) <= 2: 61 if len(line) > 0: 68 if len(line) > 0: 75 if len(line) > 0: 80 elif len(token) > 0: 83 if len(line) > 0: 115 self.bufsize = len(self.chars) 220 if len(self.token): 235 if len(self.token) > 0: 277 if len(buf) > 0 and len(command) == 0: [all …]
|
H A D | srcparser.py | 44 if isUpper(c) and len(buf) > 1: 50 if len(buf) > 0: 106 while self.pos < len(self.tokens): 278 bufSize = len(self.tokenBuf) 279 leftSize = len(self.leftTokens) 315 if len(self.tokenBuf) > 0: 326 if len(self.tokenBuf) == 0: 338 if len(self.leftTokens) > 0: 418 if len(val) == 0: 425 if len(val) == 0: [all …]
|
/aoo41x/main/xmlhelp/source/cxxhelp/provider/ |
H A D | urlparameter.cxx | 407 int len,pos; member in InputStreamTransformer 827 len = (*pRef)->readBytes( aSeq,len); in helpRead() 830 return len; in helpRead() 838 return len; in zipRead() 892 : len( 0 ), in InputStreamTransformer() 901 &len ); in InputStreamTransformer() 1164 return len-pos > 0 ? len - pos : 0 ; in available() 1187 if( pos > len ) in seek() 1188 pos = len; in seek() 1206 return len; in getLength() [all …]
|
/aoo41x/main/scripting/java/org/openoffice/idesupport/zip/ |
H A D | ParcelZipper.java | 151 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 …]
|
/aoo41x/main/sdext/source/pdfimport/wrapper/ |
H A D | hash.cxx | 70 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()
|
/aoo41x/main/vcl/unx/generic/fontmanager/ |
H A D | afm_hash.cpp | 66 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 (register const char *str, register unsigned int len) in hash() argument 103 register int hval = len; in hash() 120 return hval + asso_values[(unsigned char)str[len - 1]]; in hash() 124 AfmKeywordHash::in_word_set (register const char *str, register unsigned int len) in in_word_set() argument 252 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) in in_word_set() 254 register 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()
|