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/4] Add and refine sting APIs in MdePkg/BaseLib
Date: Wed,  4 Jan 2017 19:22:33 +0800	[thread overview]
Message-ID: <1483528957-28340-1-git-send-email-hao.a.wu@intel.com> (raw)

The series does the following things:
1). Add safe string functions [Ascii]StrnSizeS
2). Add safe string functions [Ascii]StrDecimalToUintnS,
    [Ascii]StrDecimalToUint64S, [Ascii]StrHexToUintnS and
    [Ascii]StrHexToUint64S
3). Refine the return value of string funcitons [Ascii]StrDecimalToUintn
    [Ascii]StrDecimalToUint64, [Ascii]StrHexToUintn and
    [Ascii]StrHexToUint64
4). Add safe string functions UnicodeStrnToAsciiStrS and
    AsciiStrnToUnicodeStrS

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

Hao Wu (4):
  MdePkg/BaseLib: Add safe string functions [Ascii]StrnSizeS
  MdePkg/BaseLib: Add safe string functions that convert str to value
  MdePkg/BaseLib: Enhance the return value for string to uint functions
  MdePkg/BaseLib: Add safe string functions [U|A]StrnTo[A|U]StrS

 MdePkg/Include/Library/BaseLib.h          |  641 ++++++++++++-
 MdePkg/Library/BaseLib/BaseLibInternals.h |  166 +++-
 MdePkg/Library/BaseLib/SafeString.c       | 1387 ++++++++++++++++++++++++++++-
 MdePkg/Library/BaseLib/String.c           |  334 +------
 4 files changed, 2154 insertions(+), 374 deletions(-)

-- 
1.9.5.msysgit.0



             reply	other threads:[~2017-01-04 11:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 11:22 Hao Wu [this message]
2017-01-04 11:22 ` [PATCH 1/4] MdePkg/BaseLib: Add safe string functions [Ascii]StrnSizeS Hao Wu
2017-01-05  2:02   ` Yao, Jiewen
2017-01-04 11:22 ` [PATCH 2/4] MdePkg/BaseLib: Add safe string functions that convert str to value Hao Wu
2017-01-09  2:02   ` Yao, Jiewen
2017-01-04 11:22 ` [PATCH 3/4] MdePkg/BaseLib: Enhance the return value for string to uint functions Hao Wu
2017-01-09  2:03   ` Yao, Jiewen
2017-01-04 11:22 ` [PATCH 4/4] MdePkg/BaseLib: Add safe string functions [U|A]StrnTo[A|U]StrS Hao Wu
2017-01-09  2:03   ` Yao, Jiewen

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=1483528957-28340-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