Home
last modified time | relevance | path

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

/base/print/print_fwk/utils/include/
Dprint_constant.h40 #define PRINT_CALL_BASE(env, theCall, retVal) \ macro
47 #define PRINT_CALL(env, theCall) PRINT_CALL_BASE(env, theCall, nullptr)
49 #define PRINT_CALL_RETURN_VOID(env, theCall) PRINT_CALL_BASE(env, theCall, PRINT_RET_NONE)
/base/print/print_fwk/frameworks/helper/src/
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()
275 PRINT_CALL_BASE(env, napi_get_value_bool(env, value, &ret), false); in GetBooleanProperty()
Dprinter_capability_helper.cpp146 PRINT_CALL_BASE(env, napi_create_array(env, &jsPageSizes), false); in CreatePageSizeList()
153 PRINT_CALL_BASE(env, napi_set_element(env, jsPageSizes, index, value), false); in CreatePageSizeList()
155PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrinterCap, PARAM_CAPABILITY_PAGESIZE, jsPageS… in CreatePageSizeList()
162 PRINT_CALL_BASE(env, napi_create_array(env, &jsResolutionList), false); in CreateResolutionList()
168 PRINT_CALL_BASE(env, napi_set_element(env, jsResolutionList, index, value), false); in CreateResolutionList()
170 PRINT_CALL_BASE(env, in CreateResolutionList()
Dprint_job_helper.cpp202 PRINT_CALL_BASE(env, napi_create_array(env, &arrFiles), false); in CreateFdList()
209 PRINT_CALL_BASE(env, napi_create_uint32(env, fdList[i], &value), false); in CreateFdList()
210 PRINT_CALL_BASE(env, napi_set_element(env, arrFiles, i, value), false); in CreateFdList()
212PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_FDLIST, arrFiles), false); in CreateFdList()
221PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PAGERANGE, jsPageRange), f… in CreatePageRange()
230PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PAGESIZE, jsPageSize), fal… in CreatePageSize()
239PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_MARGIN, jsMargin), false); in CreateMargin()
248PRINT_CALL_BASE(env, napi_set_named_property(env, jsPrintJob, PARAM_JOB_PREVIEW, jsPreview), false… in CreatePreview()
/base/print/print_fwk/interfaces/kits/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()
322PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in AddPrinterToCups()
325PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ONE], &valuetype), napi_invalid_a… in AddPrinterToCups()
365PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryPrinterCapabilityByUri()
Dprint_task.cpp148PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in Off()
152PRINT_CALL_BASE(env, napi_unwrap(env, self, reinterpret_cast<void **>(&task)), napi_invalid_arg); in Off()
Dnapi_inner_print.cpp141PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in ConnectPrinter()
173PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in DisconnectPrinter()
239PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in CancelPrintJob()
311PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryCapability()
375PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in QueryPrintJobById()
446PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_… in Off()
Dnapi_print_task.cpp54PRINT_CALL_BASE(env, napi_unwrap(env, proxy, reinterpret_cast<void **>(&task)), napi_invalid_arg); in Print()
204 PRINT_CALL_BASE(env, napi_get_array_length(env, argv[0], &len), napi_invalid_arg); in VerifyParameters()