Home
last modified time | relevance | path

Searched refs:jsPageSizes (Results 1 – 2 of 2) sorted by relevance

/base/print/print_fwk/frameworks/helper/src/
Dprinter_capability_helper.cpp74 …napi_value jsPageSizes = NapiPrintUtils::GetNamedProperty(env, jsValue, PARAM_CAPABILITY_PAGESIZE); in BuildFromJs() local
76 napi_is_array(env, jsPageSizes, &isArray); in BuildFromJs()
84 napi_get_array_length(env, jsPageSizes, &arrayLength); in BuildFromJs()
87 napi_get_element(env, jsPageSizes, index, &jsPageSize); in BuildFromJs()
101 return BuildFromJsSecond(env, jsValue, jsPageSizes, nativeObj); in BuildFromJs()
105 napi_value jsPageSizes, std::shared_ptr<PrinterCapability> nativeObj) in BuildFromJsSecond() argument
117 napi_get_array_length(env, jsPageSizes, &arrayLength); in BuildFromJsSecond()
145 napi_value jsPageSizes = nullptr; in CreatePageSizeList() local
146 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()
[all …]
/base/print/print_fwk/frameworks/helper/include/
Dprinter_capability_helper.h28 napi_value jsPageSizes, std::shared_ptr<PrinterCapability> nativeObj);