public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/4] Add and refine sting APIs in MdePkg/BaseLib
@ 2017-01-04 11:22 Hao Wu
  2017-01-04 11:22 ` [PATCH 1/4] MdePkg/BaseLib: Add safe string functions [Ascii]StrnSizeS Hao Wu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Hao Wu @ 2017-01-04 11:22 UTC (permalink / raw)
  To: edk2-devel; +Cc: Hao Wu, Jiewen Yao, Liming Gao, Michael Kinney

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-09  2:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 11:22 [PATCH 0/4] Add and refine sting APIs in MdePkg/BaseLib Hao Wu
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox