Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:configVerB
(Results
1 - 3
of
3
) sorted by relevance
/foundation/resourceschedule/device_standby/services/test/unittest/
H
A
D
standby_utils_unit_test.cpp
423
std::string
configVerB
= "1.0.0.0";
424
int result = StandbyConfigManager::GetInstance()->CompareVersion(configVerA,
configVerB
);
430
* @tc.desc: test CompareVersion when only
configVerB
is empty.
437
std::string
configVerB
= "";
438
int result = StandbyConfigManager::GetInstance()->CompareVersion(configVerA,
configVerB
);
444
* @tc.desc: test CompareVersion when configVerA and
configVerB
are both empty.
451
std::string
configVerB
= "";
452
int result = StandbyConfigManager::GetInstance()->CompareVersion(configVerA,
configVerB
);
465
std::string
configVerB
= "1.0.0.0";
466
int result = StandbyConfigManager::GetInstance()->CompareVersion(configVerA,
configVerB
);
[all...]
/foundation/resourceschedule/device_standby/utils/policy/src/
H
A
D
standby_config_manager.cpp
241
int StandbyConfigManager::CompareVersion(const std::string& configVerA, const std::string&
configVerB
)
in CompareVersion()
argument
243
if (!configVerA.empty() &&
configVerB
.empty()) {
in CompareVersion()
246
if (configVerA.empty() && !
configVerB
.empty()) {
in CompareVersion()
249
if (configVerA.empty() &&
configVerB
.empty()) {
in CompareVersion()
257
std::vector<std::string> segB = JsonUtils::SplitVersion(
configVerB
, VERSION_DELIM);
in CompareVersion()
259
STANDBYSERVICE_LOGE("segment size error: %{public}s",
configVerB
.c_str());
in CompareVersion()
/foundation/resourceschedule/device_standby/utils/policy/include/
H
A
D
standby_config_manager.h
147
* @param
configVerB
The version that needs to be compared
148
* @return 1 if configVerA is larger than
configVerB
, or configVerA equals
configVerB
.
149
* @return 0 if
configVerB
is larger than configVerA.
152
int CompareVersion(const std::string& configVerA, const std::string&
configVerB
);
Completed in 3 milliseconds