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:capJson
(Results
1 - 5
of
5
) sorted by relevance
/base/print/print_fwk/services/print_service/src/
H
A
D
vendor_ipp_everywhere.cpp
178
nlohmann::json
capJson
= json::parse(capOption, nullptr, false);
in ConvertCapabilityToInfo()
local
179
if (
capJson
.is_discarded()) {
in ConvertCapabilityToInfo()
183
if (!
capJson
.contains("printerName") || !
capJson
["printerName"].is_string()) {
in ConvertCapabilityToInfo()
187
std::string printerName =
capJson
["printerName"].get<std::string>();
in ConvertCapabilityToInfo()
188
if (!
capJson
.contains("make") || !
capJson
["make"].is_string()) {
in ConvertCapabilityToInfo()
192
std::string printerMaker =
capJson
["make"].get<std::string>();
in ConvertCapabilityToInfo()
H
A
D
print_service_ability.cpp
833
nlohmann::json
capJson
= json::parse(capOption);
in BuildPrinterPreference()
local
834
if (!
capJson
.contains("cupsOptions")) {
in BuildPrinterPreference()
835
PRINT_HILOGW("The
capJson
does not have a cupsOptions attribute.");
in BuildPrinterPreference()
838
nlohmann::json capOpt =
capJson
["cupsOptions"];
in BuildPrinterPreference()
/base/startup/init/services/init/
H
A
D
init_capability.c
112
cJSON *
capJson
= cJSON_GetArrayItem(filedJ, i);
in InitServiceCaps()
local
113
if (cJSON_IsNumber(
capJson
)) { // for number
in InitServiceCaps()
114
caps = (unsigned int)cJSON_GetNumberValue(
capJson
);
in InitServiceCaps()
115
} else if (cJSON_IsString(
capJson
)) {
in InitServiceCaps()
116
capStr = cJSON_GetStringValue(
capJson
);
in InitServiceCaps()
/base/print/print_fwk/frameworks/ohprint/src/
H
A
D
print_helper.cpp
528
nlohmann::json
capJson
= json::parse(cap.GetOption());
in ConvertToNativePrinterInfo()
local
529
if (
capJson
.contains("cupsOptions") &&
capJson
["cupsOptions"].is_object()) {
in ConvertToNativePrinterInfo()
530
nlohmann::json cupsJson =
capJson
["cupsOptions"];
in ConvertToNativePrinterInfo()
/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/
H
A
D
print_service_ability_test.cpp
1323
nlohmann::json
capJson
;
in HWTEST_F()
local
1324
capJson
["key"] = "value";
in HWTEST_F()
1325
cap.SetOption(
capJson
.dump());
in HWTEST_F()
Completed in 12 milliseconds