Searched refs:keyword (Results 1 - 4 of 4) sorted by relevance
/base/print/print_fwk/services/print_service/src/ |
H A D | print_cups_attribute.cpp | 25 bool ParseAttributeToValue(ipp_t *response, const std::string &keyword, T &value, in ParseAttributeToValue() argument 32 ipp_attribute_t *attrPtr = ippFindAttribute(response, keyword.c_str(), IPP_TAG_KEYWORD); in ParseAttributeToValue() 51 bool ParseAttributesToList(ipp_t *response, const std::string &keyword, std::vector<T> &list, in ParseAttributesToList() argument 58 ipp_attribute_t *attrPtr = ippFindAttribute(response, keyword.c_str(), IPP_TAG_KEYWORD); in ParseAttributesToList() 99 std::string ConvertIppAttributesToJsonString(ipp_t *response, const std::string &keyword) in ConvertIppAttributesToJsonString() argument 101 ipp_attribute_t *attrPtr = ippFindAttribute(response, keyword.c_str(), IPP_TAG_KEYWORD); in ConvertIppAttributesToJsonString() 133 std::string keyword = "sides-supported"; in ParseDuplexModeAttributes() local 135 ParseAttributesToList(response, keyword, list, ConvertDuplexModeCode); in ParseDuplexModeAttributes() 137 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), duplexModeJson.c_str()); in ParseDuplexModeAttributes() 146 keyword in ParseDuplexModeAttributes() 156 std::string keyword = "print-color-mode-supported"; ParseColorModeAttributes() local 179 std::string keyword = "media-supported"; ParsePageSizeAttributes() local 195 std::string keyword = "print-quality-supported"; ParseQualityAttributes() local 239 std::string keyword = "printer-resolution-supported"; ParseSupportedResolutionAttribute() local 279 std::string keyword = "printer-resolution-default"; ParseDefaultResolutionAttribute() local 375 std::string keyword = "orientation-requested-default"; ParseOrientationAttributes() local 404 std::string keyword = "media-source-supported"; ParseOtherAttributes() local 432 std::string keyword = "media-type-supported"; SetOptionAttribute() local [all...] |
/base/print/print_fwk/frameworks/ohprint/src/ |
H A D | print_helper.cpp | 53 void AddJsonFieldStringToJsonObject(const nlohmann::json &cupsOpt, const std::string &keyword, in AddJsonFieldStringToJsonObject() argument 56 PRINT_HILOGD("AddJsonFieldStringToJsonObject %{public}s", keyword.c_str()); in AddJsonFieldStringToJsonObject() 57 if (!cupsOpt.contains(keyword)) { in AddJsonFieldStringToJsonObject() 58 PRINT_HILOGW("missing keyword"); in AddJsonFieldStringToJsonObject() 61 if (!cupsOpt[keyword].is_string()) { in AddJsonFieldStringToJsonObject() 65 std::string optionString = cupsOpt[keyword].get<std::string>(); in AddJsonFieldStringToJsonObject() 67 advancedCapJson[keyword] = optionString; in AddJsonFieldStringToJsonObject() 341 std::string keyword = "orientation-requested-supported"; in ParsePrinterOpt() local 342 if (cupsOpt.contains(keyword) && cupsOpt[keyword] in ParsePrinterOpt() 392 std::string keyword = "sides-supported"; ParseCupsCopyOpt() local 425 std::string keyword = "supportedPageSizeArray"; ParseCupsOptions() local [all...] |
/base/telephony/call_manager/test/unittest/call_earthquake_alarm_test/src/ |
H A D | call_earthquake_alarm_test.cpp | 228 const char* keyword = "switchtest"; in HWTEST_F() local 244 want.SetParam(keyword, value1); in HWTEST_F() 247 want.SetParam(keyword, value2); in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/test/systemtest/ |
H A D | faultloggerd_system_test.cpp | 271 for (auto& keyword : log) { in CheckCountNumStackTop() 272 if (keyword == "sp:") { in CheckCountNumStackTop() 273 keyword += sp; in CheckCountNumStackTop()
|
Completed in 10 milliseconds