Advertisement
Guest User

grep LockFileComponent * -R

a guest
Jul 18th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.91 KB | None | 0 0
  1. $ grep LockFileComponent * -R
  2. core-master/sfx2/source/doc/docfile.cxx: OUString sUserData = aData[LockFileComponent::OOOUSERNAME];
  3. core-master/sfx2/source/doc/docfile.cxx: if( aData[LockFileComponent::OOOUSERNAME].isEmpty() && aData[LockFileComponent::SYSUSERNAME].isEmpty() && !bHandleSysLocked )
  4. core-master/sfx2/source/doc/docfile.cxx: aInfo = aData[LockFileComponent::EDITTIME];
  5. core-master/sfx2/source/doc/docfile.cxx: if ( !aData[LockFileComponent::OOOUSERNAME].isEmpty() )
  6. core-master/sfx2/source/doc/docfile.cxx: aInfo = aData[LockFileComponent::OOOUSERNAME];
  7. core-master/sfx2/source/doc/docfile.cxx: aInfo = aData[LockFileComponent::SYSUSERNAME];
  8. core-master/sfx2/source/doc/docfile.cxx: if ( !aInfo.isEmpty() && !aData[LockFileComponent::EDITTIME].isEmpty() )
  9. core-master/sfx2/source/doc/docfile.cxx: aInfo += " ( " + aData[LockFileComponent::EDITTIME] + " )";
  10. core-master/sfx2/source/doc/docfile.cxx: aLockData[LockFileComponent::OOOUSERNAME] = "Unknown user";
  11. core-master/sfx2/source/doc/docfile.cxx: aLockData[LockFileComponent::SYSUSERNAME]
  12. core-master/sfx2/source/doc/docfile.cxx: = aOwnData[LockFileComponent::SYSUSERNAME];
  13. core-master/sfx2/source/doc/docfile.cxx: aLockData[LockFileComponent::OOOUSERNAME] = aOwner;
  14. core-master/sfx2/source/doc/docfile.cxx: bOwnLock = aOwnData[LockFileComponent::SYSUSERNAME] == aData[LockFileComponent::SYSUSERNAME];
  15. core-master/sfx2/source/doc/docfile.cxx: && aOwnData[LockFileComponent::LOCALHOST] == aData[LockFileComponent::LOCALHOST]
  16. core-master/sfx2/source/doc/docfile.cxx: && aOwnData[LockFileComponent::USERURL] == aData[LockFileComponent::USERURL])
  17. core-master/sfx2/source/view/viewfrm.cxx: if (!rLockData[LockFileComponent::OOOUSERNAME].isEmpty())
  18. core-master/sfx2/source/view/viewfrm.cxx: sLockUserData = rLockData[LockFileComponent::OOOUSERNAME];
  19. core-master/sfx2/source/view/viewfrm.cxx: sLockUserData = rLockData[LockFileComponent::SYSUSERNAME];
  20. core-master/sfx2/source/view/viewfrm.cxx: if (!sLockUserData.isEmpty() && !rLockData[LockFileComponent::EDITTIME].isEmpty())
  21. core-master/sfx2/source/view/viewfrm.cxx: sLockUserData += " ( " + rLockData[LockFileComponent::EDITTIME] + " )";
  22. core-master/svl/source/misc/sharecontrolfile.cxx:std::vector< o3tl::enumarray< LockFileComponent, OUString > > ShareControlFile::GetUsersData()
  23. core-master/svl/source/misc/sharecontrolfile.cxx: for ( LockFileComponent nEntryInd : o3tl::enumrange<LockFileComponent>() )
  24. core-master/svl/source/misc/sharecontrolfile.cxx: if ( nEntryInd < LockFileComponent::LAST )
  25. core-master/svl/source/misc/sharecontrolfile.cxx: if ( rEntry[LockFileComponent::LOCALHOST] == aNewEntry[LockFileComponent::LOCALHOST]
  26. core-master/svl/source/misc/sharecontrolfile.cxx: && rEntry[LockFileComponent::SYSUSERNAME] == aNewEntry[LockFileComponent::SYSUSERNAME]
  27. core-master/svl/source/misc/sharecontrolfile.cxx: && rEntry[LockFileComponent::USERURL] == aNewEntry[LockFileComponent::USERURL] )
  28. core-master/svl/source/misc/sharecontrolfile.cxx: if ( rEntry[LockFileComponent::LOCALHOST] == aEntry[LockFileComponent::LOCALHOST] &&
  29. core-master/svl/source/misc/sharecontrolfile.cxx: rEntry[LockFileComponent::SYSUSERNAME] == aEntry[LockFileComponent::SYSUSERNAME] &&
  30. core-master/svl/source/misc/sharecontrolfile.cxx: rEntry[LockFileComponent::USERURL] == aEntry[LockFileComponent::USERURL] )
  31. core-master/svl/source/misc/sharecontrolfile.cxx: if ( rEntry[LockFileComponent::LOCALHOST] != aEntry[LockFileComponent::LOCALHOST]
  32. core-master/svl/source/misc/sharecontrolfile.cxx: || rEntry[LockFileComponent::SYSUSERNAME] != aEntry[LockFileComponent::SYSUSERNAME]
  33. core-master/svl/source/misc/sharecontrolfile.cxx: || rEntry[LockFileComponent::USERURL] != aEntry[LockFileComponent::USERURL] )
  34. core-master/svl/source/misc/documentlockfile.cxx: if ( aFileData[LockFileComponent::SYSUSERNAME] != aNewEntry[LockFileComponent::SYSUSERNAME]
  35. core-master/svl/source/misc/documentlockfile.cxx: || aFileData[LockFileComponent::LOCALHOST] != aNewEntry[LockFileComponent::LOCALHOST]
  36. core-master/svl/source/misc/documentlockfile.cxx: || aFileData[LockFileComponent::USERURL] != aNewEntry[LockFileComponent::USERURL] )
  37. core-master/svl/source/misc/documentlockfile.cxx: for ( LockFileComponent lft : o3tl::enumrange<LockFileComponent>() )
  38. core-master/svl/source/misc/documentlockfile.cxx: if ( lft < LockFileComponent::LAST )
  39. core-master/svl/source/misc/lockfilecommon.cxx: for ( LockFileComponent nInd : o3tl::enumrange<LockFileComponent>() )
  40. core-master/svl/source/misc/lockfilecommon.cxx: || ( nInd < LockFileComponent::LAST && aBuffer[io_nCurPos++] != ',' )
  41. core-master/svl/source/misc/lockfilecommon.cxx: || ( nInd == LockFileComponent::LAST && aBuffer[io_nCurPos++] != ';' ) )
  42. core-master/svl/source/misc/lockfilecommon.cxx: aResult[LockFileComponent::OOOUSERNAME] = GetOOOUserName();
  43. core-master/svl/source/misc/lockfilecommon.cxx: aSecurity.getUserName( aResult[LockFileComponent::SYSUSERNAME] );
  44. core-master/svl/source/misc/lockfilecommon.cxx: aResult[LockFileComponent::LOCALHOST] = ::osl::SocketAddr::getLocalHostname();
  45. core-master/svl/source/misc/lockfilecommon.cxx: aResult[LockFileComponent::EDITTIME] = GetCurrentLocalTime();
  46. core-master/svl/source/misc/lockfilecommon.cxx: ::utl::Bootstrap::locateUserInstallation( aResult[LockFileComponent::USERURL] );
  47. core-master/svl/source/misc/msodocumentlockfile.cxx: OUString aUserName = aEntry[LockFileComponent::OOOUSERNAME];
  48. core-master/svl/source/misc/msodocumentlockfile.cxx: aResult[LockFileComponent::OOOUSERNAME]
  49. core-master/svl/source/misc/msodocumentlockfile.cxx: if (aFileData[LockFileComponent::OOOUSERNAME] != aNewEntry[LockFileComponent::OOOUSERNAME])
  50. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  51. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  52. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::SYSUSERNAME],
  53. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::SYSUSERNAME]);
  54. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::LOCALHOST],
  55. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::LOCALHOST]);
  56. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::USERURL],
  57. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::USERURL]);
  58. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: // LockFileComponent::EDITTIME can change
  59. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  60. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  61. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aOrigEntry[LockFileComponent::OOOUSERNAME]);
  62. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  63. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  64. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::SYSUSERNAME],
  65. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::SYSUSERNAME]);
  66. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::LOCALHOST],
  67. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::LOCALHOST]);
  68. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::USERURL],
  69. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::USERURL]);
  70. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  71. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  72. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  73. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  74. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  75. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  76. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aOrigEntry[LockFileComponent::OOOUSERNAME].copy(0, MSO_USERNAME_MAX_LENGTH),
  77. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  78. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  79. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  80. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aOrigEntry[LockFileComponent::OOOUSERNAME]);
  81. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: CPPUNIT_ASSERT_EQUAL(aOrigEntry[LockFileComponent::OOOUSERNAME],
  82. core-master/svl/qa/unit/lockfiles/test_lockfiles.cxx: aRTEntry[LockFileComponent::OOOUSERNAME]);
  83. core-master/sc/source/ui/miscdlgs/sharedocdlg.cxx: if ( !aUsersData[i][LockFileComponent::EDITTIME].isEmpty() )
  84. core-master/sc/source/ui/miscdlgs/sharedocdlg.cxx: if ( !aUsersData[i][LockFileComponent::OOOUSERNAME].isEmpty() )
  85. core-master/sc/source/ui/miscdlgs/sharedocdlg.cxx: aUser = aUsersData[i][LockFileComponent::OOOUSERNAME];
  86. core-master/sc/source/ui/miscdlgs/sharedocdlg.cxx: else if ( !aUsersData[i][LockFileComponent::SYSUSERNAME].isEmpty() )
  87. core-master/sc/source/ui/miscdlgs/sharedocdlg.cxx: aUser = aUsersData[i][LockFileComponent::SYSUSERNAME];
  88. core-master/sc/source/ui/miscdlgs/sharedocdlg.cxx: OUString aDateTimeStr = aUsersData[i][LockFileComponent::EDITTIME];
  89. core-master/sc/source/ui/docshell/docsh.cxx: if ( !aData[LockFileComponent::OOOUSERNAME].isEmpty() )
  90. core-master/sc/source/ui/docshell/docsh.cxx: aUserName = aData[LockFileComponent::OOOUSERNAME];
  91. core-master/sc/source/ui/docshell/docsh.cxx: else if ( !aData[LockFileComponent::SYSUSERNAME].isEmpty() )
  92. core-master/sc/source/ui/docshell/docsh.cxx: aUserName = aData[LockFileComponent::SYSUSERNAME];
  93. core-master/sc/source/ui/docshell/docsh4.cxx: if ( !aData[LockFileComponent::OOOUSERNAME].isEmpty() )
  94. core-master/sc/source/ui/docshell/docsh4.cxx: aUserName = aData[LockFileComponent::OOOUSERNAME];
  95. core-master/sc/source/ui/docshell/docsh4.cxx: else if ( !aData[LockFileComponent::SYSUSERNAME].isEmpty() )
  96. core-master/sc/source/ui/docshell/docsh4.cxx: aUserName = aData[LockFileComponent::SYSUSERNAME];
  97. core-master/compilerplugins/clang/unusedenumconstants.readonly.results: enum LockFileComponent EDITTIME
  98. core-master/compilerplugins/clang/unusedenumconstants.readonly.results: enum LockFileComponent SYSUSERNAME
  99. core-master/compilerplugins/clang/unusedenumconstants.readonly.results: enum LockFileComponent OOOUSERNAME
  100. core-master/compilerplugins/clang/unusedenumconstants.readonly.results: enum LockFileComponent LOCALHOST
  101. core-master/compilerplugins/clang/constantparam.constructors.results: void svt::ShareControlFile::RemoveEntry(const class o3tl::enumarray<enum LockFileComponent, class rtl::OUString> &)
  102. core-master/compilerplugins/clang/constantparam.constructors.results: const class o3tl::enumarray<enum LockFileComponent, class rtl::OUString> & aOptionalSpecification
  103. core-master/include/svl/lockfilecommon.hxx:enum class LockFileComponent
  104. core-master/include/svl/lockfilecommon.hxx:typedef o3tl::enumarray<LockFileComponent,OUString> LockFileEntry;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement