/base/print/print_fwk/frameworks/helper/print_helper/src/ |
D | print_range_helper.cpp | 29 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject() 42 PRINT_CALL(env, napi_create_array(env, &arrPages)); in MakeJsObject() 46 PRINT_CALL(env, napi_create_uint32(env, pages[i], &value)); in MakeJsObject() 47 PRINT_CALL(env, napi_set_element(env, arrPages, i, value)); in MakeJsObject() 49 PRINT_CALL(env, napi_set_named_property(env, jsObj, PARAM_RANGE_PAGES, arrPages)); in MakeJsObject() 83 PRINT_CALL(env, napi_is_array(env, jsPages, &isArray)); in BuildFromJs() 89 PRINT_CALL(env, napi_get_array_length(env, jsPages, &arrayLength)); in BuildFromJs() 93 PRINT_CALL(env, napi_get_element(env, jsPages, index, &jsPage)); in BuildFromJs() 94 PRINT_CALL(env, napi_get_value_uint32(env, jsPage, &pageNo)); in BuildFromJs()
|
D | napi_print_utils.cpp | 49 PRINT_CALL(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty)); in GetNamedProperty() 53 PRINT_CALL(env, napi_get_named_property(env, object, propertyName.c_str(), &value)); in GetNamedProperty() 200 PRINT_CALL(env, napi_create_arraybuffer(env, length, data, &object)); in CreateArrayBuffer() 218 PRINT_CALL(env, napi_get_arraybuffer_info(env, value, &data, length)); in GetInfoFromArrayBufferValue() 226 PRINT_CALL(env, napi_create_object(env, &object)); in CreateObject() 234 PRINT_CALL(env, napi_get_undefined(env, &undefined)); in GetUndefined() 243 PRINT_CALL(env, napi_call_function(env, recv, func, argc, argv, &res)); in CallFunction() 251 PRINT_CALL(env, napi_create_function(env, name.c_str(), NAPI_AUTO_LENGTH, func, arg, &res)); in CreateFunction() 259 PRINT_CALL(env, napi_create_reference(env, callback, 1, &callbackRef)); in CreateReference() 266 PRINT_CALL(env, napi_get_reference_value(env, callbackRef, &callback)); in GetReference()
|
D | print_preview_attribute_helper.cpp | 29 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject() 38 PRINT_CALL(env, napi_set_named_property(env, jsObj, PARAM_PREATTRIBUTE_RANGE, jsPreviewRange)); in MakeJsObject()
|
D | printer_info_helper.cpp | 34 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject() 51 PRINT_CALL(env, napi_set_named_property(env, jsObj, PARAM_INFO_CAPABILITY, jsCapability)); in MakeJsObject()
|
D | print_resolution_helper.cpp | 27 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject()
|
D | printer_capability_helper.cpp | 34 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject() 48 PRINT_CALL(env, napi_set_named_property(env, jsObj, PARAM_CAPABILITY_MINMARGIN, jsMargin)); in MakeJsObject()
|
D | print_page_size_helper.cpp | 29 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject()
|
D | print_margin_helper.cpp | 29 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject()
|
D | print_job_helper.cpp | 44 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsSimpleObject() 54 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject()
|
D | print_attributes_helper.cpp | 35 PRINT_CALL(env, napi_create_object(env, &jsObj)); in MakeJsObject()
|
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/ |
D | print_pdf_render.cpp | 54 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, &data)); in Destroy() 57 PRINT_CALL(env, napi_unwrap(env, thisVal, reinterpret_cast<void **>(&render))); in Destroy() 80 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, &data)); in GetPageCount() 83 PRINT_CALL(env, napi_unwrap(env, thisVal, reinterpret_cast<void **>(&render))); in GetPageCount() 100 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, &data)); in GetPageSize() 103 PRINT_CALL(env, napi_typeof(env, argv[0], &valuetype)); in GetPageSize() 108 PRINT_CALL(env, napi_unwrap(env, thisVal, reinterpret_cast<void **>(&render))); in GetPageSize() 123 PRINT_CALL(env, napi_create_object(env, &napi_pageSize)); in GetPageSize()
|
D | napi_print_pdf_render.cpp | 109 PRINT_CALL(env, napi_get_reference_value(env, globalCtor, &cons)); in GetCtor() 119 …PRINT_CALL(env, napi_define_class(env, "NapiPrintPdfRender", NAPI_AUTO_LENGTH, Initialize, nullptr, in GetCtor() 121 PRINT_CALL(env, napi_create_reference(env, cons, 1, &globalCtor)); in GetCtor() 131 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &self, nullptr)); in Initialize()
|
D | napi_print_task.cpp | 41 PRINT_CALL(env, napi_typeof(env, argv[0], &type)); in Print() 218 PRINT_CALL(env, napi_get_reference_value(env, globalCtor, &cons)); in GetCtor() 226 PRINT_CALL(env, napi_define_class(env, "NapiPrintTask", NAPI_AUTO_LENGTH, Initialize, nullptr, in GetCtor() 228 PRINT_CALL(env, napi_create_reference(env, cons, 1, &globalCtor)); in GetCtor() 238 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &self, nullptr)); in Initialize() 245 PRINT_CALL(env, napi_get_array_length(env, argv[0], &arrayReLength)); in Initialize()
|
D | print_task.cpp | 131 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, &data)); in On() 135 PRINT_CALL(env, napi_typeof(env, argv[0], &valuetype)); in On() 145 PRINT_CALL(env, napi_unwrap(env, thisVal, reinterpret_cast<void **>(&task))); in On()
|
D | napi_inner_print.cpp | 409 PRINT_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVal, &data)); in On() 413 PRINT_CALL(env, napi_typeof(env, argv[0], &valuetype)); in On() 486 PRINT_CALL(env, napi_typeof(env, argv[0], &valuetype)); in StartGetPrintFile()
|
/base/print/print_fwk/utils/include/ |
D | print_constant.h | 49 #define PRINT_CALL(env, theCall) PRINT_CALL_BASE(env, theCall, nullptr) macro
|