/base/print/print_fwk/frameworks/helper/print_helper/src/ |
D | printer_capability_helper.cpp | 142 PRINT_CALL_BASE(env, napi_create_array(env, &jsPageSizes), false); in CreatePageSizeList() 149 PRINT_CALL_BASE(env, napi_set_element(env, jsPageSizes, index, value), false); in CreatePageSizeList() 151 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrinterCap, PARAM_CAPABILITY_PAGESIZE, jsPageS… in CreatePageSizeList() 158 PRINT_CALL_BASE(env, napi_create_array(env, &jsResolutionList), false); in CreateResolutionList() 164 PRINT_CALL_BASE(env, napi_set_element(env, jsResolutionList, index, value), false); in CreateResolutionList() 166 PRINT_CALL_BASE(env, in CreateResolutionList()
|
D | napi_print_utils.cpp | 33 PRINT_CALL_BASE(env, napi_typeof(env, value, &valueType), napi_undefined); in GetValueType() 41 …PRINT_CALL_BASE(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty), fal… in HasNamedProperty() 66 PRINT_CALL_BASE(env, napi_get_property_names(env, object, &names), ret); in GetPropertyNames() 68 PRINT_CALL_BASE(env, napi_get_array_length(env, names, &length), ret); in GetPropertyNames() 95 PRINT_CALL_BASE(env, napi_get_value_uint32(env, value, &ret), 0); in GetUint32FromValue() 131 PRINT_CALL_BASE(env, napi_get_value_int32(env, value, &ret), 0); in GetInt32FromValue() 169 …PRINT_CALL_BASE(env, napi_get_value_string_utf8(env, value, &str[0], MAX_STRING_LENGTH, &length), … in GetStringFromValueUtf8() 207 PRINT_CALL_BASE(env, napi_is_arraybuffer(env, value, &isArrayBuffer), false); in ValueIsArrayBuffer() 283 PRINT_CALL_BASE(env, napi_get_value_bool(env, value, &ret), false); in GetBooleanProperty()
|
D | print_job_helper.cpp | 208 PRINT_CALL_BASE(env, napi_create_array(env, &arrFiles), false); in CreateFdList() 215 PRINT_CALL_BASE(env, napi_create_uint32(env, fdList[i], &value), false); in CreateFdList() 216 PRINT_CALL_BASE(env, napi_set_element(env, arrFiles, i, value), false); in CreateFdList() 218 … PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_FDLIST, arrFiles), false); in CreateFdList() 227 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PAGERANGE, jsPageRange), f… in CreatePageRange() 236 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PAGESIZE, jsPageSize), fal… in CreatePageSize() 245 … PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_MARGIN, jsMargin), false); in CreateMargin() 254 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PREVIEW, jsPreview), false… in CreatePreview()
|
D | print_attributes_helper.cpp | 165 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintAttributes, PARAM_JOB_PAGERANGE, jsPageRa… in CreatePageRange() 175 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintAttributes, PARAM_JOB_PAGESIZE, jsPageSiz… in CreatePageSize() 185 …PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintAttributes, PARAM_JOB_MARGIN, jsMargin), … in CreateMargin()
|
/base/print/print_fwk/utils/include/ |
D | print_constant.h | 42 #define PRINT_CALL_BASE(env, theCall, retVal) \ macro 49 #define PRINT_CALL(env, theCall) PRINT_CALL_BASE(env, theCall, nullptr) 51 #define PRINT_CALL_RETURN_VOID(env, theCall) PRINT_CALL_BASE(env, theCall, PRINT_RET_NONE)
|
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/ |
D | napi_print_ext.cpp | 179 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in UpdatePrinterState() 182 PRINT_CALL_BASE(env, napi_typeof(env, argv[1], &valuetype), napi_invalid_arg); in UpdatePrinterState() 227 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in UpdatePrintJobState() 230 PRINT_CALL_BASE(env, napi_typeof(env, argv[1], &valuetype), napi_invalid_arg); in UpdatePrintJobState() 233 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_a… in UpdatePrintJobState() 282 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in UpdateExtensionInfo() 321 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in AddPrinterToCups() 324 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ONE], &valuetype), napi_invalid_a… in AddPrinterToCups() 335 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_a… in AddPrinterToCups() 371 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryPrinterCapabilityByUri() [all …]
|
D | napi_print_pdf_render.cpp | 61 …PRINT_CALL_BASE(env, napi_unwrap(env, proxy, reinterpret_cast<void **>(&render)), napi_invalid_arg… in CreatePdfRender() 96 PRINT_CALL_BASE(env, napi_typeof(env, argv[0], &type), napi_invalid_arg); in VerifyParameters() 98 PRINT_CALL_BASE(env, napi_typeof(env, argv[1], &type), napi_invalid_arg); in VerifyParameters()
|
D | napi_inner_print.cpp | 143 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in ConnectPrinter() 175 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in DisconnectPrinter() 241 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in CancelPrintJob() 313 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryCapability() 377 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryPrintJobById() 448 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in Off() 523 PRINT_CALL_BASE(env, napi_typeof(env, argv[0], &valuetype), napi_invalid_arg); in NotifyPrintService() 525 PRINT_CALL_BASE(env, napi_typeof(env, argv[1], &valuetype), napi_invalid_arg); in NotifyPrintService()
|
D | print_pdf_render.cpp | 137 PRINT_CALL_BASE(env, napi_typeof(env, argv[0], &valuetype), napi_invalid_arg); in RenderPageToPng() 142 …PRINT_CALL_BASE(env, napi_unwrap(env, self, reinterpret_cast<void **>(&render)), napi_invalid_arg); in RenderPageToPng()
|
D | print_task.cpp | 172 …PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in Off() 176 … PRINT_CALL_BASE(env, napi_unwrap(env, self, reinterpret_cast<void **>(&task)), napi_invalid_arg); in Off()
|
D | napi_print_task.cpp | 64 … PRINT_CALL_BASE(env, napi_unwrap(env, proxy, reinterpret_cast<void **>(&task)), napi_invalid_arg); in Print() 111 … PRINT_CALL_BASE(env, napi_unwrap(env, proxy, reinterpret_cast<void **>(&task)), napi_invalid_arg); in PrintByAdapter() 317 PRINT_CALL_BASE(env, napi_get_array_length(env, argv[0], &len), napi_invalid_arg); in VerifyParameters()
|