Home
last modified time | relevance | path

Searched refs:PRINT_CALL_BASE (Results 1 – 11 of 11) sorted by relevance

/base/print/print_fwk/frameworks/helper/print_helper/src/
Dprinter_capability_helper.cpp142 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()
151PRINT_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()
Dnapi_print_utils.cpp33 PRINT_CALL_BASE(env, napi_typeof(env, value, &valueType), napi_undefined); in GetValueType()
41PRINT_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()
169PRINT_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()
Dprint_job_helper.cpp208 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()
218PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_FDLIST, arrFiles), false); in CreateFdList()
227PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PAGERANGE, jsPageRange), f… in CreatePageRange()
236PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PAGESIZE, jsPageSize), fal… in CreatePageSize()
245PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_MARGIN, jsMargin), false); in CreateMargin()
254PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PREVIEW, jsPreview), false… in CreatePreview()
Dprint_attributes_helper.cpp165PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintAttributes, PARAM_JOB_PAGERANGE, jsPageRa… in CreatePageRange()
175PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintAttributes, PARAM_JOB_PAGESIZE, jsPageSiz… in CreatePageSize()
185PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintAttributes, PARAM_JOB_MARGIN, jsMargin), … in CreateMargin()
/base/print/print_fwk/utils/include/
Dprint_constant.h42 #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/
Dnapi_print_ext.cpp179PRINT_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()
227PRINT_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()
233PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_a… in UpdatePrintJobState()
282PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in UpdateExtensionInfo()
321PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in AddPrinterToCups()
324PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ONE], &valuetype), napi_invalid_a… in AddPrinterToCups()
335PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_a… in AddPrinterToCups()
371PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryPrinterCapabilityByUri()
[all …]
Dnapi_print_pdf_render.cpp61PRINT_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()
Dnapi_inner_print.cpp143PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in ConnectPrinter()
175PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in DisconnectPrinter()
241PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in CancelPrintJob()
313PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryCapability()
377PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryPrintJobById()
448PRINT_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()
Dprint_pdf_render.cpp137 PRINT_CALL_BASE(env, napi_typeof(env, argv[0], &valuetype), napi_invalid_arg); in RenderPageToPng()
142PRINT_CALL_BASE(env, napi_unwrap(env, self, reinterpret_cast<void **>(&render)), napi_invalid_arg); in RenderPageToPng()
Dprint_task.cpp172PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in Off()
176PRINT_CALL_BASE(env, napi_unwrap(env, self, reinterpret_cast<void **>(&task)), napi_invalid_arg); in Off()
Dnapi_print_task.cpp64PRINT_CALL_BASE(env, napi_unwrap(env, proxy, reinterpret_cast<void **>(&task)), napi_invalid_arg); in Print()
111PRINT_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()