public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Hao Wu <hao.a.wu@intel.com>
To: edk2-devel@lists.01.org
Cc: Hao Wu <hao.a.wu@intel.com>, Jiewen Yao <jiewen.yao@intel.com>,
	Liming Gao <liming.gao@intel.com>,
	Michael Kinney <michael.d.kinney@intel.com>
Subject: [PATCH 0/2] PrintLib: Refine the SPrint functions
Date: Tue, 17 Jan 2017 13:34:57 +0800	[thread overview]
Message-ID: <1484631299-6168-1-git-send-email-hao.a.wu@intel.com> (raw)

Refine the ASSERT conditions and the return value when ASSERT triggers
for the following APIs in PrintLib:
UnicodeVSPrint
UnicodeBSPrint
UnicodeSPrint
UnicodeVSPrintAsciiFormat
UnicodeBSPrintAsciiFormat
UnicodeSPrintAsciiFormat
AsciiVSPrint
AsciiBSPrint
AsciiSPrint
AsciiVSPrintUnicodeFormat
AsciiBSPrintUnicodeFormat
AsciiSPrintUnicodeFormat
SPrintLength
SPrintLengthAsciiFormat

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>

Hao Wu (2):
  MdePkg/BasePrintLib: Refine the SPrint functions
  MdeModulePkg/PrintLib: Refine the SPrint functions

 .../DxePrintLibPrint2Protocol.inf                  |   7 +-
 .../Library/DxePrintLibPrint2Protocol/PrintLib.c   | 562 +++++++++++++--------
 MdePkg/Include/Library/PrintLib.h                  | 498 ++++++++++--------
 MdePkg/Library/BasePrintLib/BasePrintLib.inf       |   8 +-
 MdePkg/Library/BasePrintLib/PrintLib.c             | 416 ++++++++-------
 MdePkg/Library/BasePrintLib/PrintLibInternal.c     | 101 ++--
 MdePkg/Library/BasePrintLib/PrintLibInternal.h     |   3 +-
 7 files changed, 942 insertions(+), 653 deletions(-)

-- 
1.9.5.msysgit.0



             reply	other threads:[~2017-01-17  5:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-17  5:34 Hao Wu [this message]
2017-01-17  5:34 ` [PATCH 1/2] MdePkg/BasePrintLib: Refine the SPrint functions Hao Wu
2017-01-17  5:34 ` [PATCH 2/2] MdeModulePkg/PrintLib: " Hao Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484631299-6168-1-git-send-email-hao.a.wu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox