| /AOO41X/main/sal/osl/unx/ |
| H A D | system.c | 42 nname= strlen(res->pw_name)+1; in getpwnam_r() 43 npasswd= strlen(res->pw_passwd)+1; in getpwnam_r() 44 nclass= strlen(res->pw_class)+1; in getpwnam_r() 45 ngecos= strlen(res->pw_gecos)+1; in getpwnam_r() 46 ndir= strlen(res->pw_dir)+1; in getpwnam_r() 49 +ndir+strlen(res->pw_shell) < size) in getpwnam_r() 99 pw_name = strlen(res->pw_name)+1; in getpwuid_r() 100 pw_passwd = strlen(res->pw_passwd)+1; in getpwuid_r() 101 pw_class = strlen(res->pw_class)+1; in getpwuid_r() 102 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 …]
|
| /AOO41X/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()
|
| /AOO41X/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 …]
|
| /AOO41X/main/soldep/bootstrp/ |
| H A D | appdef.cxx | 36 int nLen = strlen( pEnv ); in GetDefStandList() 42 int nLen = strlen( _DEF_STAND_LIST ); in GetDefStandList() 56 int nLen = strlen( pEnv ); in GetIniRoot() 62 int nLen = strlen( _INIROOT ); in GetIniRoot() 75 int nLen = strlen( pEnv ); in GetIniRootOld() 81 int nLen = strlen( _INIROOT_OLD ); in GetIniRootOld() 94 int nLen = strlen( pEnv ); in GetSSolarIni() 100 int nLen = strlen( _DEF_SSOLARINI ); in GetSSolarIni() 114 int nLen = strlen( pEnv ); in GetSSCommon() 120 int nLen = strlen( _DEF_SSCOMMON ); in GetSSCommon() [all …]
|
| H A D | command.cxx | 105 strcpy(&ComShell[strlen(ComShell)]," -C "); in CommandLine() 129 strcpy(&ComShell[strlen(ComShell)]," -C "); in CommandLine() 155 strcpy(&ComShell[strlen(ComShell)]," -C "); in CommandLine() 231 strcpy(&WorkString[strlen(WorkString)]," >&"); in BuildCommand() 232 strcpy(&WorkString[strlen(WorkString)],getenv("TMP")); in BuildCommand() 233 strcpy(&WorkString[strlen(WorkString)],TMPNAME); in BuildCommand() 239 CommandBuffer = new char [strlen(ComShell)+strlen(WorkString)+1]; in BuildCommand() 245 strcpy (&CommandBuffer[strlen(ComShell)], WorkString); in BuildCommand() 292 ppArgv[index] = (char *) new char [strlen(buffer)+1]; in BuildCommand() 405 size_t nStrLen = strlen( pTmpStr ) + 1; in ImplInit()
|
| /AOO41X/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 …]
|
| /AOO41X/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 …]
|
| /AOO41X/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 …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/cosv/source/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 …]
|
| /AOO41X/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()
|
| /AOO41X/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 …]
|
| /AOO41X/main/sal/qa/rtl/ostring/ |
| H A D | rtl_str.cxx | 744 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_001() 750 CPPUNIT_ASSERT_MESSAGE("string should be empty", strlen(pStr2) == 0); in trim_WithLength_001() 758 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_002() 764 CPPUNIT_ASSERT_MESSAGE("string should contain 'trim'", strlen(pStr2) == 4); in trim_WithLength_002() 772 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_003() 778 CPPUNIT_ASSERT_MESSAGE("string should contain 'trim'", strlen(pStr2) == 4); in trim_WithLength_003() 786 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_004() 792 CPPUNIT_ASSERT_MESSAGE("string should contain 'trim'", strlen(pStr2) == 4); in trim_WithLength_004() 800 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_005() 804 rtl_str_trim_WithLength( pStr2, strlen(pStr2) ); in trim_WithLength_005() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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() 1503 unsigned int Len = strlen(pszLine); in putLine() 1542 strLen = strlen(pFile->m_pWriteBuf); in putLine() [all …]
|
| /AOO41X/main/cui/source/dialogs/ |
| H A D | winpluginlib.cpp | 73 …if((realFilePath == NULL) || (strlen(realFilePath) == 0) || (strlen(realFilePath) >= SO_PATH_SIZE)… in lc_isInstalled() 195 …if((realFilePath == NULL) || (strlen(realFilePath) == 0) || (strlen(realFilePath) >= SO_PATH_SIZE)… in lc_installPlugin() 205 … ret = RegSetValueEx( hStarOffice, "Path", 0, REG_SZ, (LPBYTE) sSoPath, strlen(sSoPath) + 1); in lc_installPlugin()
|