/base/hiviewdfx/hiview/base/event_store/utility/writer/ |
D | sys_event_doc_writer.cpp | 84 uint32_t pageSize = 0; in Write() local 85 if (int ret = reader.ReadPageSize(pageSize); ret != DOC_STORE_SUCCESS) { in Write() 91 if (pageSize == 0 || pageSize < contentSize) { in Write() 92 …HIVIEW_LOGD("the current page is full, page=%{public}u, content=%{public}u", pageSize, contentSize… in Write() 97 if (auto remainSize = GetCurrPageRemainSize(fileSize, pageSize); remainSize < contentSize) { in Write() 105 uint32_t SysEventDocWriter::GetCurrPageRemainSize(int fileSize, uint32_t pageSize) in GetCurrPageRemainSize() argument 107 return (pageSize - ((static_cast<uint32_t>(fileSize) - HEADER_SIZE) % pageSize)); in GetCurrPageRemainSize() 146 uint32_t pageSize = EventStoreConfig::GetInstance().GetPageSize(sysEvent->eventType_); in WriteHeader() local 147 if (pageSize == 0) { in WriteHeader() 151 pageSize = contentSize > (pageSize * NUM_OF_BYTES_IN_KB) ? 0 : pageSize; in WriteHeader() [all …]
|
/base/print/print_fwk/frameworks/helper/src/ |
D | print_page_size_helper.cpp | 26 napi_value PrintPageSizeHelper::MakeJsObject(napi_env env, const PrintPageSize &pageSize) in MakeJsObject() argument 31 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_PAGESIZE_ID, pageSize.GetId()); in MakeJsObject() 32 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_PAGESIZE_NAME, pageSize.GetName()); in MakeJsObject() 33 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_PAGESIZE_WIDTH, pageSize.GetWidth()); in MakeJsObject() 34 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_PAGESIZE_HEIGHT, pageSize.GetHeight()); in MakeJsObject()
|
D | print_job_helper.cpp | 227 PrintPageSize pageSize; in CreatePageSize() local 228 job.GetPageSize(pageSize); in CreatePageSize() 229 napi_value jsPageSize = PrintPageSizeHelper::MakeJsObject(env, pageSize); in CreatePageSize()
|
/base/print/print_fwk/frameworks/helper/include/ |
D | print_page_size_helper.h | 26 static napi_value MakeJsObject(napi_env env, const PrintPageSize &pageSize);
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_job_test.cpp | 282 OHOS::Print::PrintPageSize pageSize, getPageSize; variable 283 pageSize.SetId("pgid-1234"); 284 job.SetPageSize(pageSize); 443 OHOS::Print::PrintPageSize pageSize; variable 461 OHOS::Print::PrintPageSize pageSize; variable
|
D | print_page_size_test.cpp | 62 auto pageSize = OHOS::Print::PrintPageSize::GetPageSize(ISO_A3); variable 63 EXPECT_EQ((uint32_t)0, pageSize.GetWidth());
|
/base/hiviewdfx/hiview/base/event_store/config/src/ |
D | event_store_config.cpp | 64 .pageSize = ParseUint32(node, KEY_PAGE_SIZE), in Init() 96 return Contain(eventType) ? configMap_[eventType].pageSize : 0; in GetPageSize()
|
/base/hiviewdfx/hiview/base/event_store/config/include/ |
D | event_store_config.h | 40 uint32_t pageSize; member
|
/base/hiviewdfx/hiview/base/event_store/utility/writer/include/ |
D | sys_event_doc_writer.h | 38 uint32_t GetCurrPageRemainSize(int fileSize, uint32_t pageSize);
|
/base/hiviewdfx/hiview/base/event_store/include/ |
D | base_def.h | 77 uint8_t pageSize = 0; member
|
/base/hiviewdfx/hiview/base/event_store/utility/reader/ |
D | sys_event_doc_reader.cpp | 120 pageSize_ = header.pageSize * NUM_OF_BYTES_IN_KB; in Read() 221 int SysEventDocReader::ReadPageSize(uint32_t& pageSize) in ReadPageSize() argument 227 pageSize = header.pageSize * NUM_OF_BYTES_IN_KB; in ReadPageSize()
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_job.cpp | 138 void PrintJob::SetPageSize(const PrintPageSize &pageSize) in SetPageSize() argument 140 pageSize_ = pageSize; in SetPageSize() 238 void PrintJob::GetPageSize(PrintPageSize &pageSize) const in GetPageSize() 240 pageSize = pageSize_; in GetPageSize()
|
/base/hiviewdfx/hiview/base/event_store/utility/reader/include/ |
D | sys_event_doc_reader.h | 33 int ReadPageSize(uint32_t& pageSize);
|
/base/print/print_fwk/interfaces/kits/jskits/ |
D | @ohos.print.d.ts | 112 pageSize: Array<PrintPageSize>; // the page size list supported by the printer property 136 pageSize: PrintPageSize; // the selected page size property
|
/base/print/print_fwk/frameworks/innerkitsimpl/include/ |
D | print_job.h | 57 void SetPageSize(const PrintPageSize &pageSize);
|
/base/print/print_fwk/services/src/ |
D | print_cups_client.cpp | 675 PrintPageSize pageSize; in GetMedieSize() local 676 jobInfo.GetPageSize(pageSize); in GetMedieSize() 677 return pageSize.GetName(); in GetMedieSize()
|