/external/valgrind/main/coregrind/m_demangle/ |
D | cp-demangle.c | 3431 d_print_init (struct d_print_info *dpi, demangle_callbackref callback, in d_print_init() argument 3434 dpi->len = 0; in d_print_init() 3435 dpi->last_char = '\0'; in d_print_init() 3436 dpi->templates = NULL; in d_print_init() 3437 dpi->modifiers = NULL; in d_print_init() 3438 dpi->pack_index = 0; in d_print_init() 3439 dpi->flush_count = 0; in d_print_init() 3441 dpi->callback = callback; in d_print_init() 3442 dpi->opaque = opaque; in d_print_init() 3444 dpi->demangle_failure = 0; in d_print_init() [all …]
|
/external/gcc-demangle/ |
D | cp-demangle.c | 3296 d_print_init (struct d_print_info *dpi, int options, in d_print_init() argument 3299 dpi->options = options; in d_print_init() 3300 dpi->len = 0; in d_print_init() 3301 dpi->last_char = '\0'; in d_print_init() 3302 dpi->templates = NULL; in d_print_init() 3303 dpi->modifiers = NULL; in d_print_init() 3304 dpi->flush_count = 0; in d_print_init() 3306 dpi->callback = callback; in d_print_init() 3307 dpi->opaque = opaque; in d_print_init() 3309 dpi->demangle_failure = 0; in d_print_init() [all …]
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | printing_gtk2_util.cc | 55 int dpi = gtk_print_settings_get_resolution(settings); in InitPrintSettingsGtk() local 56 if (dpi) { in InitPrintSettingsGtk() 59 gtk_page_setup_get_paper_width(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk() 60 gtk_page_setup_get_paper_height(page_setup, GTK_UNIT_INCH) * dpi); in InitPrintSettingsGtk() 62 gtk_page_setup_get_left_margin(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk() 63 gtk_page_setup_get_top_margin(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk() 64 gtk_page_setup_get_page_width(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk() 65 gtk_page_setup_get_page_height(page_setup, GTK_UNIT_INCH) * dpi); in InitPrintSettingsGtk() 68 dpi = printing::kPixelsPerInch; in InitPrintSettingsGtk() 69 double page_width_in_pixel = printing::kLetterWidthInch * dpi; in InitPrintSettingsGtk() [all …]
|
/external/chromium_org/v8/src/compiler/arm64/ |
D | instruction-selector-arm64-unittest.cc | 234 const MachInst2 dpi = GetParam(); in TEST_P() local 235 const MachineType type = dpi.machine_type; in TEST_P() 237 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); in TEST_P() 240 EXPECT_EQ(dpi.arch_opcode, s[0]->arch_opcode()); in TEST_P() 247 const MachInst2 dpi = GetParam(); in TEST_P() local 248 const MachineType type = dpi.machine_type; in TEST_P() 254 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); in TEST_P() 257 EXPECT_EQ(dpi.arch_opcode, s[0]->arch_opcode()); in TEST_P() 267 m.Return((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0))); in TEST_P() 270 EXPECT_EQ(dpi.arch_opcode, s[0]->arch_opcode()); in TEST_P() [all …]
|
/external/chromium_org/android_webview/native/ |
D | aw_pdf_exporter.cc | 59 int MilsToDots(int val, int dpi) { in MilsToDots() argument 60 return static_cast<int>(ConvertUnitDouble(val, 1000.0, dpi)); in MilsToDots() 67 int dpi = Java_AwPdfExporter_getDpi(env, obj); in CreatePdfSettings() local 71 int width_in_dots = MilsToDots(width, dpi); in CreatePdfSettings() 72 int height_in_dots = MilsToDots(height, dpi); in CreatePdfSettings() 79 print_settings_->set_dpi(dpi); in CreatePdfSettings() 88 MilsToDots(Java_AwPdfExporter_getLeftMargin(env, obj), dpi); in CreatePdfSettings() 90 MilsToDots(Java_AwPdfExporter_getRightMargin(env, obj), dpi); in CreatePdfSettings() 92 MilsToDots(Java_AwPdfExporter_getTopMargin(env, obj), dpi); in CreatePdfSettings() 94 MilsToDots(Java_AwPdfExporter_getBottomMargin(env, obj), dpi); in CreatePdfSettings()
|
/external/chromium_org/chrome/renderer/printing/ |
D | mock_printer.cc | 24 void UpdateMargins(int margins_type, int dpi, PrintMsg_Print_Params* params) { in UpdateMargins() argument 26 params->content_size.SetSize(static_cast<int>((8.5 * dpi)), in UpdateMargins() 27 static_cast<int>((11.0 * dpi))); in UpdateMargins() 31 params->content_size.SetSize(static_cast<int>((8.0 * dpi)), in UpdateMargins() 32 static_cast<int>((10.5 * dpi))); in UpdateMargins() 33 params->margin_left = static_cast<int>(0.25 * dpi); in UpdateMargins() 34 params->margin_top = static_cast<int>(0.25 * dpi); in UpdateMargins() 36 params->content_size.SetSize(static_cast<int>((7.9 * dpi)), in UpdateMargins() 37 static_cast<int>((10.4 * dpi))); in UpdateMargins() 38 params->margin_left = static_cast<int>(0.30 * dpi); in UpdateMargins() [all …]
|
D | print_web_view_helper.cc | 91 return static_cast<int>(print_params->dpi); in GetDPI() 99 params.dpi && (params.margin_top >= 0) && (params.margin_left >= 0) && in PrintMsg_Print_Params_IsValid() 100 params.dpi > kMinDpi && params.document_cookie != 0; in PrintMsg_Print_Params_IsValid() 108 int dpi = GetDPI(&page_params); in GetCssPrintParams() local 111 ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch), in GetCssPrintParams() 112 ConvertUnit(page_params.page_size.height(), dpi, kPixelsPerInch)); in GetCssPrintParams() 114 ConvertUnit(page_params.margin_top, dpi, kPixelsPerInch); in GetCssPrintParams() 118 dpi, kPixelsPerInch); in GetCssPrintParams() 122 dpi, kPixelsPerInch); in GetCssPrintParams() 125 dpi, kPixelsPerInch); in GetCssPrintParams() [all …]
|
/external/chromium_org/components/cloud_devices/common/ |
D | printer_description_unittest.cc | 274 DpiCapability dpi; in TEST() local 289 EXPECT_FALSE(dpi.LoadFrom(description)); in TEST() 320 DpiCapability dpi; in TEST() local 356 dpi.AddOption(Dpi(150, 250)); in TEST() 357 dpi.AddDefaultOption(Dpi(600, 1600), true); in TEST() 379 dpi.SaveTo(&description); in TEST() 400 DpiCapability dpi; in TEST() local 414 EXPECT_TRUE(dpi.LoadFrom(description)); in TEST() 453 EXPECT_TRUE(dpi.Contains(Dpi(150, 250))); in TEST() 454 EXPECT_TRUE(dpi.Contains(Dpi(600, 1600))); in TEST() [all …]
|
/external/chromium_org/remoting/host/ |
D | screen_resolution.cc | 20 const webrtc::DesktopVector& dpi) in ScreenResolution() argument 22 dpi_(dpi) { in ScreenResolution() 25 DCHECK_GE(dpi.x(), 0); in ScreenResolution() 26 DCHECK_GE(dpi.y(), 0); in ScreenResolution() 47 return dimensions_.equals(other.dimensions()) && dpi_.equals(other.dpi()); in Equals()
|
D | chromoting_param_traits.cc | 162 ParamTraits<webrtc::DesktopVector>::Write(m, p.dpi()); in Write() 171 webrtc::DesktopVector dpi; in Read() local 173 !ParamTraits<webrtc::DesktopVector>::Read(m, iter, &dpi)) { in Read() 177 dpi.x() < 0 || dpi.y() < 0) { in Read() 180 *r = remoting::ScreenResolution(size, dpi); in Read() 190 p.dpi().x(), p.dpi().y())); in Log()
|
D | desktop_resizer_win.cc | 27 if (a.dpi().x() != b.dpi().x()) in operator <() 28 return a.dpi().x() < b.dpi().x(); in operator <() 29 return a.dpi().y() < b.dpi().y(); in operator <()
|
/external/chromium_org/printing/ |
D | print_settings_initializer_win.cc | 22 int dpi = GetDeviceCaps(hdc, LOGPIXELSX); in InitPrintSettings() local 23 print_settings->set_dpi(dpi); in InitPrintSettings() 31 DCHECK_EQ(dpi, GetDeviceCaps(hdc, LOGPIXELSY)); in InitPrintSettings() 51 DCHECK_EQ(print_settings->device_units_per_inch(), dpi); in InitPrintSettings()
|
D | pdf_render_settings.h | 24 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate) in PdfRenderSettings() argument 25 : PdfRenderSettingsBase(area, dpi, autorotate) {} in PdfRenderSettings() 29 int dpi() const { return b; } in dpi() function
|
D | printing_context_android.cc | 33 printing::PrintSettings* settings, int dpi, int width, int height) { in SetSizes() argument 38 settings->set_dpi(dpi); in SetSizes() 125 int dpi = Java_PrintingContext_getDpi(env, j_printing_context_.obj()); in AskUserForSettingsReply() local 128 width = Round(ConvertUnitDouble(width, kInchToMil, 1.0) * dpi); in AskUserForSettingsReply() 129 height = Round(ConvertUnitDouble(height, kInchToMil, 1.0) * dpi); in AskUserForSettingsReply() 130 SetSizes(&settings_, dpi, width, height); in AskUserForSettingsReply()
|
D | print_settings.h | 87 void set_dpi(int dpi) { dpi_ = dpi; } in set_dpi() argument 88 int dpi() const { return dpi_; } in dpi() function 99 return dpi(); in device_units_per_inch()
|
D | print_settings_initializer_mac.cc | 38 int dpi = best_resolution.hRes; in InitPrintSettings() local 39 print_settings->set_dpi(dpi); in InitPrintSettings() 41 DCHECK_EQ(dpi, best_resolution.vRes); in InitPrintSettings()
|
/external/chromium_org/chrome/service/cloud_print/ |
D | cdd_conversion_win.cc | 50 DpiTicketItem dpi; in CjtToDevMode() local 96 if (dpi.LoadFrom(description)) { in CjtToDevMode() 97 if (dpi.value().horizontal > 0) { in CjtToDevMode() 99 dev_mode->dmPrintQuality = dpi.value().horizontal; in CjtToDevMode() 101 if (dpi.value().vertical > 0) { in CjtToDevMode() 103 dev_mode->dmYResolution = dpi.value().vertical; in CjtToDevMode()
|
/external/chromium_org/chrome/common/cloud_print/ |
D | cloud_print_cdd_conversion.cc | 93 DpiCapability dpi; in PrinterSemanticCapsAndDefaultsToCdd() local 100 if (new_dpi.IsValid() && !dpi.Contains(new_dpi)) { in PrinterSemanticCapsAndDefaultsToCdd() 103 dpi.AddDefaultOption(new_dpi, new_dpi == default_dpi); in PrinterSemanticCapsAndDefaultsToCdd() 108 dpi.AddDefaultOption(default_dpi, true); in PrinterSemanticCapsAndDefaultsToCdd() 109 if (dpi.IsValid()) { in PrinterSemanticCapsAndDefaultsToCdd() 110 dpi.SaveTo(&description); in PrinterSemanticCapsAndDefaultsToCdd()
|
/external/chromium_org/android_webview/renderer/ |
D | print_web_view_helper.cc | 91 return static_cast<int>(print_params->dpi); in GetDPI() 99 params.dpi && (params.margin_top >= 0) && (params.margin_left >= 0); in PrintMsg_Print_Params_IsValid() 107 int dpi = GetDPI(&page_params); in GetCssPrintParams() local 110 ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch), in GetCssPrintParams() 111 ConvertUnit(page_params.page_size.height(), dpi, kPixelsPerInch)); in GetCssPrintParams() 113 ConvertUnit(page_params.margin_top, dpi, kPixelsPerInch); in GetCssPrintParams() 117 dpi, kPixelsPerInch); in GetCssPrintParams() 121 dpi, kPixelsPerInch); in GetCssPrintParams() 124 dpi, kPixelsPerInch); in GetCssPrintParams() 150 ConvertUnit(new_content_width, kPixelsPerInch, dpi), in GetCssPrintParams() [all …]
|
/external/chromium_org/ui/gfx/ |
D | pango_util.cc | 90 static double dpi = -1.0; in GetPangoDPI() local 91 if (dpi < 0.0) { in GetPangoDPI() 94 dpi = delegate->GetFontDPI(); in GetPangoDPI() 95 if (dpi <= 0.0) in GetPangoDPI() 96 dpi = 96.0; in GetPangoDPI() 98 return dpi; in GetPangoDPI()
|
/external/skia/src/doc/ |
D | SkDocument_PDF.cpp | 91 SkScalar dpi) { in CreatePDF() argument 92 return stream ? SkNEW_ARGS(SkDocument_PDF, (stream, done, enc, dpi)) : NULL; in CreatePDF() 101 SkScalar dpi) { in CreatePDF() argument 107 return SkNEW_ARGS(SkDocument_PDF, (stream, delete_wstream, enc, dpi)); in CreatePDF()
|
/external/chromium_org/third_party/skia/src/doc/ |
D | SkDocument_PDF.cpp | 91 SkScalar dpi) { in CreatePDF() argument 92 return stream ? SkNEW_ARGS(SkDocument_PDF, (stream, done, enc, dpi)) : NULL; in CreatePDF() 101 SkScalar dpi) { in CreatePDF() argument 107 return SkNEW_ARGS(SkDocument_PDF, (stream, delete_wstream, enc, dpi)); in CreatePDF()
|
/external/chromium_org/win8/metro_driver/ |
D | print_document_source.cc | 353 FLOAT dpi = dpi_; in MakePage() local 357 *reinterpret_cast<UINT32*>(&dpi) = static_cast<UINT32>(dpi_); in MakePage() 360 UINT32 dpi = static_cast<UINT32>(dpi_); in MakePage() local 364 *reinterpret_cast<FLOAT*>(&dpi) = dpi_; in MakePage() 367 hr = dxgi_preview_target_->DrawPage(job_page, dxgi_surface.Get(), dpi, dpi); in MakePage() 375 void PrintDocumentSource::ResetDpi(float dpi) { in ResetDpi() argument 378 if (dpi == dpi_) in ResetDpi() 380 dpi_ = dpi; in ResetDpi() 382 directx_context_.d2d_context->SetDpi(dpi, dpi); in ResetDpi()
|
/external/llvm/test/Transforms/GVN/ |
D | 2008-12-09-SelfRemove.ll | 11 define void @d_print_mod_list(%struct.d_print_info* %dpi, %struct.d_print_mod* %mods, i32 %suffix) … 13 %0 = getelementptr %struct.d_print_info* %dpi, i32 0, i32 1 ; <i8**> [#uses=1] 18 %2 = getelementptr %struct.d_print_info* %dpi, i32 0, i32 1 ; <i8**> [#uses=0]
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | desktop_frame.h | 50 const DesktopVector& dpi() const { return dpi_; } in dpi() function 51 void set_dpi(const DesktopVector& dpi) { dpi_ = dpi; } in set_dpi() argument
|