| /trunk/main/sal/osl/unx/ |
| H A D | system.c | 43 nname= strlen(res->pw_name)+1; in getpwnam_r() 44 npasswd= strlen(res->pw_passwd)+1; in getpwnam_r() 45 nclass= strlen(res->pw_class)+1; in getpwnam_r() 46 ngecos= strlen(res->pw_gecos)+1; in getpwnam_r() 47 ndir= strlen(res->pw_dir)+1; in getpwnam_r() 50 +ndir+strlen(res->pw_shell) < size) in getpwnam_r() 100 pw_name = strlen(res->pw_name)+1; in getpwuid_r() 101 pw_passwd = strlen(res->pw_passwd)+1; in getpwuid_r() 102 pw_class = strlen(res->pw_class)+1; in getpwuid_r() 103 pw_gecos = strlen(res->pw_gecos)+1; in getpwuid_r() [all …]
|
| H A D | profile.c | 455 nLen=strlen(pFile->m_pWriteBuf); in writeProfileImpl() 547 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString() 694 Line = (sal_Char*)malloc(strlen(pszEntry)+strlen(pszString)+48); in osl_writeProfileString() 705 Line[1 + strlen(pszSection)] = ']'; in osl_writeProfileString() 706 Line[2 + strlen(pszSection)] = '\0'; in osl_writeProfileString() 709 (! addSection(pProfile, pProfile->m_NoLines - 1, &pStr[1], strlen(pszSection)))) in osl_writeProfileString() 730 Line[0 + strlen(pszEntry)] = '='; in osl_writeProfileString() 731 strcpy(&Line[1 + strlen(pszEntry)], pszString); in osl_writeProfileString() 741 (! addEntry(pProfile, pSec, i, pStr, strlen(pszEntry)))) in osl_writeProfileString() 762 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString() [all …]
|
| /trunk/main/odk/source/unoapploader/unx/ |
| H A D | unoapploader.c | 92 size_t pathlen = strlen(path); in main() 185 size = strlen( ENVVARNAME ) + strlen( "=/usr/lib:" ) + strlen( libpath ) + 1; in main() 187 size = strlen( ENVVARNAME ) + strlen( "=" ) + strlen( libpath ) + 1; in main() 190 size += strlen( PATHSEPARATOR ) + strlen( value ); in main() 213 size = strlen( "PATH" ) + strlen( "=/usr/local/bin" ) + 1; in main() 215 size += strlen( PATHSEPARATOR ) + strlen( value ); in main() 313 cmdname = (char*) malloc( strlen( prgname ) + strlen( CMDPREFIX ) + 1 ); in createCommandName()
|
| /trunk/main/sal/osl/os2/ |
| H A D | profile.c | 455 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString() 586 Line[1 + strlen(pszSection)] = ']'; in osl_writeProfileString() 587 Line[2 + strlen(pszSection)] = '\0'; in osl_writeProfileString() 590 (! addSection(pProfile, pProfile->m_NoLines - 1, &pStr[1], strlen(pszSection)))) in osl_writeProfileString() 605 Line[0 + strlen(pszEntry)] = '='; in osl_writeProfileString() 606 strcpy(&Line[1 + strlen(pszEntry)], pszString); in osl_writeProfileString() 616 (! addEntry(pProfile, pSec, i, pStr, strlen(pszEntry)))) in osl_writeProfileString() 632 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString() 896 if (nFileLen + strlen(STR_INI_EXTENSION) >= _MAX_PATH) 901 nFileLen += strlen(STR_INI_EXTENSION); [all …]
|
| H A D | process.c | 437 n = strlen( pszImageName ) + 1; in osl_psz_executeProcess() 440 n += strlen(pszArguments[i]) + 1; in osl_psz_executeProcess() 447 memcpy(pStr, pszImageName, strlen( pszImageName ) ); in osl_psz_executeProcess() 448 pStr += strlen( pszImageName ); in osl_psz_executeProcess() 455 memcpy(pStr, pszArguments[i], strlen( pszArguments[i] ) ); in osl_psz_executeProcess() 456 pStr += strlen( pszArguments[i] ); in osl_psz_executeProcess() 476 int l = strlen( *p); in osl_psz_executeProcess() 484 n += strlen(pszEnvironments[i]) + 1; in osl_psz_executeProcess() 496 memcpy(pStr, pszEnvironments[i], strlen( pszEnvironments[i] ) ); in osl_psz_executeProcess() 497 pStr += strlen( pszEnvironments[i] ); in osl_psz_executeProcess() [all …]
|
| /trunk/main/tools/bootstrp/ |
| H A D | appdef.cxx | 39 int nLen = strlen( pEnv ); in GetDefStandList() 45 int nLen = strlen( _DEF_STAND_LIST ); in GetDefStandList() 59 int nLen = strlen( pEnv ); in GetIniRoot() 65 int nLen = strlen( _INIROOT ); in GetIniRoot() 78 int nLen = strlen( pEnv ); in GetIniRootOld() 84 int nLen = strlen( _INIROOT_OLD ); in GetIniRootOld() 97 int nLen = strlen( pEnv ); in GetSSolarIni() 103 int nLen = strlen( _DEF_SSOLARINI ); in GetSSolarIni() 117 int nLen = strlen( pEnv ); in GetSSCommon() 123 int nLen = strlen( _DEF_SSCOMMON ); in GetSSCommon() [all …]
|
| /trunk/main/soltools/ldump/ |
| H A D | ldump.cxx | 161 strncpy( aBuf, pFound, strlen( pFound)); in Dump() 162 aBuf[ strlen( pFound) ] = '\0'; in Dump() 176 nLen = (int) strlen(aBuf); in Dump() 192 int nPreLen = (int) strlen( cAPrefix ); in Dump() 194 nLen = (int) strlen(aBuf); in Dump() 208 nLen = (int) strlen(aName); in Dump() 258 nLen = (int) strlen(aBuf); in ReadFilter() 283 if ( strlen( pName ) > 3 ) in PrintSym() 310 pData->cExportName = new char[ strlen( pName ) + 1 ]; in PrintSym() 385 cLibName = new char[ strlen( cName ) + 1 ]; in CheckLibrary() [all …]
|
| /trunk/main/unoxml/source/dom/ |
| H A D | characterdata.cxx | 69 …OUString oldValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in appendData() 71 …OUString newValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in appendData() 103 …OUString oldValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in deleteData() 105 …OUString newValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in deleteData() 126 …aData = OUString((const sal_Char*)m_aNodePtr->content, strlen((const sal_Char*)m_aNodePtr->content… in getData() 143 …OUString aData((const sal_Char*)m_aNodePtr->content, strlen((const sal_Char*)m_aNodePtr->content),… in getLength() 173 …OUString oldValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in insertData() 175 …OUString newValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in insertData() 210 …OUString oldValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in replaceData() 212 …OUString newValue((char*)m_aNodePtr->content, strlen((char*)m_aNodePtr->content), RTL_TEXTENCODING… in replaceData() [all …]
|
| H A D | element.cxx | 64 strlen(reinterpret_cast<const char*>(pPrefix)), in saxify() 71 strlen(reinterpret_cast<const char*>(pHref)), in saxify() 122 if( pAttr->ns && strlen((char*)pAttr->ns->prefix) ) in fastSaxify() 138 if( strlen((char*)xPrefix) ) in fastSaxify() 151 strlen((char*)xPrefix), in fastSaxify() 193 strlen((char*)xPrefix), in fastSaxify() 247 strlen(reinterpret_cast<char const*>(pValue.get())), in getAttribute() 333 strlen(reinterpret_cast<char const*>(pValue.get())), in getAttributeNS() 383 strlen((char*)m_aNodePtr->name), RTL_TEXTENCODING_UTF8); in getTagName() 638 strlen(reinterpret_cast<char const*>(pOld.get())), in setAttribute() [all …]
|
| /trunk/main/odk/source/unoapploader/win/ |
| H A D | unoapploader.c | 106 size = strlen( ENVVARNAME ) + strlen( "=" ) + strlen( path ) + 1; in WinMain() 108 size += strlen( PATHSEPARATOR ) + strlen( value ); in WinMain() 208 cmdline = (char*) malloc( strlen( DQUOTE ) + strlen( cmdname ) + in createCommandLine() 209 strlen ( DQUOTE ) + strlen( SPACE ) + strlen( appendix ) + 1 ); in createCommandLine()
|
| /trunk/main/starmath/source/ |
| H A D | register.cxx | 134 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 142 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 150 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 158 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 166 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 174 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 182 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 190 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 198 pImplementationName, strlen(pImplementationName)) ) in component_getFactory() 206 pImplementationName, strlen(pImplementationName)) ) in component_getFactory()
|
| /trunk/main/sal/workben/ |
| H A D | t_digest.c | 179 rtl_digest_MD2 (*P, strlen(*P), md, sizeof(md)); in main() 200 rtl_digest_MD5 (*P, strlen(*P), md, sizeof(md)); in main() 221 rtl_digest_SHA (*P, strlen(*P), md, sizeof(md)); in main() 262 rtl_digest_SHA1 (*P, strlen(*P), md, sizeof(md)); in main() 306 rtl_digest_initHMAC_MD5 (Digest, *Q, strlen(*Q)); in main() 307 rtl_digest_updateHMAC_MD5 (Digest, *P, strlen(*P)); in main() 334 rtl_digest_initHMAC_SHA1 (Digest, *Q, strlen(*Q)); in main() 335 rtl_digest_updateHMAC_SHA1 (Digest, *P, strlen(*P)); in main() 359 Q[1], strlen(Q[1]), /* [in] password */ in main() 360 P[1], strlen(P[1]), /* [in] salt */ in main()
|
| /trunk/main/soltools/cpp/ |
| H A D | _include.c | 111 if (strlen(fname) + strlen(ip->file) + 2 > sizeof(iname)) in doinclude() 133 (strncmp(wraplist[i].file, iname, strlen(wraplist[i].file)) == 0)) in doinclude() 137 … setsource((char *) newstring((uchar *) iname, strlen(iname), 0), i, fd, NULL, (i >= 0) ? 1 : 0); in doinclude() 172 p += strlen(wd); in genline() 176 p += strlen((char *) p); in genline() 202 p += strlen((char *) p); in genimport() 208 p += strlen(fname); in genimport() 215 p += strlen(iname); in genimport() 246 p += strlen((char *) p); in genwrap()
|
| /trunk/main/autodoc/source/cosv/strings/ |
| H A D | streamstr.cxx | 74 size_type nLength = strlen(i_sInitStr); in StreamStr() 105 size_type nLen = strlen(strAdd); in StreamStr() 117 pEnd( dpData + strlen(i_rOther.dpData) ), in StreamStr() 156 pEnd = dpData + strlen(i_rOther.dpData); in operator =() 167 size_type nLength = strlen(i_s); in operator <<() 216 size_type nLength = strlen(buf); in operator <<() 230 size_type nLength = strlen(buf); in operator <<() 244 size_type nLength = strlen(buf); in operator <<() 258 size_type nLength = strlen(buf); in operator <<() 272 size_type nLength = strlen(buf); in operator <<() [all …]
|
| /trunk/main/sal/qa/rtl/ostring/ |
| H A D | rtl_str.cxx | 593 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() 599 ASSERT_TRUE(strlen(pStr2) == 0) << "string should be empty"; in TEST_F() 607 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() 613 ASSERT_TRUE(strlen(pStr2) == 4) << "string should contain 'trim'"; in TEST_F() 621 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() 627 ASSERT_TRUE(strlen(pStr2) == 4) << "string should contain 'trim'"; in TEST_F() 635 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() 641 ASSERT_TRUE(strlen(pStr2) == 4) << "string should contain 'trim'"; in TEST_F() 649 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() 653 rtl_str_trim_WithLength( pStr2, strlen(pStr2) ); in TEST_F() [all …]
|
| /trunk/main/connectivity/source/parse/ |
| H A D | sqlflex.l | 84 #define SQL_NEW_INTNUM SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODI… 85 #define SQL_NEW_APPROXNUM SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODI… 86 #define SQL_NEW_DATE SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODI… 416 "<" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… 417 ">" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… 418 "=" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… 419 "<=" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… 420 ">=" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… 421 "<>" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… 422 "!=" { SQL_NEW_NODE(::rtl::OUString(SQLyytext,strlen(SQLyytext),RTL_TEXTENCODING_UTF… [all …]
|
| /trunk/main/xml2cmp/source/xcd/ |
| H A D | cr_metho.cxx | 59 int sDescrLen = (int) strlen(sDescrLineChange); in Create_AccessMethod() 74 aFile.write( C_sFileHeader1, (int) strlen(C_sFileHeader1) ); in Create_AccessMethod() 75 aFile.write( i_pOutputFileName, (int) strlen(i_pOutputFileName) ); in Create_AccessMethod() 76 aFile.write( C_sFileHeader2, (int) strlen(C_sFileHeader2) ); in Create_AccessMethod() 77 aFile.write( C_sFuncBegin, (int) strlen(C_sFuncBegin) ); in Create_AccessMethod() 96 aFile.write( C_sFuncEnd, (int) strlen(C_sFuncEnd) ); in Create_AccessMethod()
|
| /trunk/main/xml2cmp/source/x2cclass/ |
| H A D | xml_cdim.cxx | 146 && 0 == strnicmp(pSearch+1,C_sTagDescription, strlen(C_sTagDescription)) in ParseUntilStartOfDescription() 147 && *(pSearch + strlen(C_sTagDescription) + 1) == '>' ) in ParseUntilStartOfDescription() 149 io_pBufferPosition = pSearch + strlen(C_sTagDescription) + 2; in ParseUntilStartOfDescription() 160 return strnicmp( i_pTextPosition+2, C_sSubTags[eTag], strlen(C_sSubTags[eTag]) ) == 0 in MatchesEndTag() 162 && *(i_pTextPosition + 2 + strlen(C_sSubTags[eTag]) ) == '>'; in MatchesEndTag() 168 return strlen(C_sSubTags[eTag]) + 3; in EndTagLength()
|
| /trunk/main/sal/osl/w32/ |
| H A D | profile.cxx | 495 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString() 631 Line[1 + strlen(pszSection)] = ']'; in osl_writeProfileString() 632 Line[2 + strlen(pszSection)] = '\0'; in osl_writeProfileString() 635 (! addSection(pProfile, pProfile->m_NoLines - 1, &pStr[1], strlen(pszSection)))) in osl_writeProfileString() 650 Line[0 + strlen(pszEntry)] = '='; in osl_writeProfileString() 651 strcpy(&Line[1 + strlen(pszEntry)], pszString); in osl_writeProfileString() 661 (! addEntry(pProfile, pSec, i, pStr, strlen(pszEntry)))) in osl_writeProfileString() 677 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString() 1451 unsigned int Len = strlen(pszLine); in putLine() 1490 strLen = strlen(pFile->m_pWriteBuf); in putLine() [all …]
|
| /trunk/main/desktop/os2/source/applauncher/ |
| H A D | launcher.cxx | 75 len = strlen(szApplicationName) + 1 + strlen( APPLICATION_SWITCH) + 1 + 1; in main() 77 len += strlen( argv[i]) + 1; in main() 82 pszArgs = pszCommandLine + strlen(szApplicationName) + 1; in main() 94 pszArgs[ strlen( pszArgs) + 0] = 0; in main()
|
| /trunk/main/rsc/source/rscpp/ |
| H A D | cpp6.c | 290 if (strlen(token1) + strlen(token) >= NWORK) in catenate() 297 workp = work + strlen(work); in catenate() 519 result = getmem(strlen(text) + 1); in savestring() 533 size = strlen(name); /* File/macro name */ in getfile() 735 file = getfile( strlen( dp->repl ), dp->name ); in dumpadef() 1035 file = getfile(strlen(text) + 1, ""); in ungetstring() 1084 if (tp[strlen(tp) - 1] != '\n') /* there's a newline */ in domsg() 1096 if (tp[strlen(tp) - 1] != '\n') in domsg()
|
| /trunk/main/cppuhelper/source/ |
| H A D | findsofficepath.c | 143 path = (char*) malloc( strlen(MACDEFAULTOFFICEPATH) + 1 ); in platformSpecific() 165 str = (char*) malloc( strlen( env ) + 1 ); in platformSpecific() 174 file = (char*) malloc( strlen( dir ) + strlen( APPENDIX ) + 1 ); in platformSpecific() 222 if ( path == NULL || strlen( path ) == 0 ) in cppuhelper_detail_findSofficePath()
|
| /trunk/main/cui/source/dialogs/ |
| H A D | winpluginlib.cxx | 74 …if((realFilePath == NULL) || (strlen(realFilePath) == 0) || (strlen(realFilePath) >= SO_PATH_SIZE)) in lc_isInstalled() 196 …if((realFilePath == NULL) || (strlen(realFilePath) == 0) || (strlen(realFilePath) >= SO_PATH_SIZE)) in lc_installPlugin() 206 … ret = RegSetValueEx( hStarOffice, "Path", 0, REG_SZ, (LPBYTE) sSoPath, strlen(sSoPath) + 1); in lc_installPlugin()
|
| /trunk/main/registry/test/ |
| H A D | testmerge.cxx | 65 …REG_ENSURE(!key5.setValue(OUString(), RG_VALUETYPE_STRING, sValue, strlen(sValue)+1), "testGenerat… in test_generateMerge1() 90 …REG_ENSURE(!key5.setValue(OUString(), RG_VALUETYPE_STRING, sValue, strlen(sValue)+1), "testGenerat… in test_generateMerge1() 134 …REG_ENSURE(!key7.setValue(OUString(), RG_VALUETYPE_STRING, sValue, strlen(sValue)+1), "testGenerat… in test_generateMerge2() 158 …REG_ENSURE(!key7.setValue(OUString(), RG_VALUETYPE_STRING, sValue, strlen(sValue)+1), "testGenerat… in test_generateMerge2() 312 …REG_ENSURE(valueType == RG_VALUETYPE_STRING && valueSize == strlen(sValue)+1, "testMerge error 76"… in test_merge() 347 …REG_ENSURE(valueType == RG_VALUETYPE_STRING && valueSize == strlen(sValue)+1, "testMerge error 86"… in test_merge() 364 …REG_ENSURE(valueType == RG_VALUETYPE_STRING && valueSize == strlen(sValue)+1, "testMerge error 92"… in test_merge() 390 …REG_ENSURE(valueType == RG_VALUETYPE_STRING && valueSize == strlen(sValue)+1, "testMerge error 100… in test_merge()
|
| /trunk/main/soltools/mkdepend/ |
| H A D | main.c | 227 for (p = args; argc < nargc; p += strlen(p) + 1) 530 register char *p = (char *)malloc(strlen(str) + 1); 627 for(p=file+strlen(file); p>file && *p != '.'; p--) ; 701 len = strlen(line); 787 if ((path[strlen(path) - 1] == '/') || (path[strlen(path) - 1] == '\\')) { 790 new_string = (char*)malloc(sizeof(char) * (strlen(path) + 2));
|