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:configVerA
(Results
1 - 3
of
3
) sorted by relevance
/foundation/resourceschedule/device_standby/services/test/unittest/
H
A
D
standby_utils_unit_test.cpp
416
* @tc.desc: test CompareVersion when only
configVerA
is empty.
422
std::string
configVerA
= "";
424
int result = StandbyConfigManager::GetInstance()->CompareVersion(
configVerA
, configVerB);
436
std::string
configVerA
= "1.0.0.0";
438
int result = StandbyConfigManager::GetInstance()->CompareVersion(
configVerA
, configVerB);
444
* @tc.desc: test CompareVersion when
configVerA
and configVerB are both empty.
450
std::string
configVerA
= "";
452
int result = StandbyConfigManager::GetInstance()->CompareVersion(
configVerA
, configVerB);
464
std::string
configVerA
= "1.0";
466
int result = StandbyConfigManager::GetInstance()->CompareVersion(
configVerA
, configVer
[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()
252
std::vector<std::string> segA = JsonUtils::SplitVersion(
configVerA
, VERSION_DELIM);
in CompareVersion()
254
STANDBYSERVICE_LOGE("segment size error: %{public}s",
configVerA
.c_str());
in CompareVersion()
/foundation/resourceschedule/device_standby/utils/policy/include/
H
A
D
standby_config_manager.h
146
* @param
configVerA
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