From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web12.1120.1602888997980646988 for ; Fri, 16 Oct 2020 15:56:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Pu3VBsfA; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: jiewen.yao@intel.com) IronPort-SDR: 7X/qR8ODmpiFusMu2pdxiNprhvv7JmEr56Ce+rtP0bYyEfGJyi8eJ1Dhmxn30QQ60v3dP068BX GzoXtXnIVuQA== X-IronPort-AV: E=McAfee;i="6000,8403,9776"; a="154504195" X-IronPort-AV: E=Sophos;i="5.77,384,1596524400"; d="scan'208,217";a="154504195" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 15:56:32 -0700 IronPort-SDR: 8Na08Mj/A8urhuCUF2pHG57uVKDQcKABl1sRHjpi49KOxImNtSbM/aHDh8g5e1zv3QX854xfuB Ke6qlZ4dmf5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,384,1596524400"; d="scan'208,217";a="300826697" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga007.fm.intel.com with ESMTP; 16 Oct 2020 15:56:32 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 16 Oct 2020 15:56:31 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 16 Oct 2020 15:56:31 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.173) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 16 Oct 2020 15:56:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l2uV7XIWwP1hhNq24IMSC/wLH0LSF0jypEH4tL8AjmYeG9KvipIsIauxDliMmxBpum4lOlWjMpvjbIherziAJGSb8B9AGHWusmi+d5084ViCNUr4CIX1YheNIYq56hmtkN4lHP3ewK3dlnIee554eyKfx/jzTvvtZq+n8wisly+Wws9dn9hFxAqvwwJQ0sQD7Cvq78HqZUqxFoTIPOzN7vGd9s4Pf7g61/8DeJsd918D6Rr3cHWWLUSiOzl45YG+qqPhA18/myH0adNFEpLbHV7qjs/Fo2ROsA5GHd19A0HOMfHu+fVi9ppnsWxu4FwMmpHrK2jD2dCdUWEAZxk4xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FBgcN8dVwGeMSWuKFNXUx1kwro9MdJChlbzwuYcyG0E=; b=U2Yah/slGd7Ja1he71TJlZuycBz1Ufrfvs0VWKNCXtTifTsKKHW07K5yHvZl1KgC/zaWu3Z/lqATR3/4s3/J7U+ab6mLybZPWO02qGnmjxcU5LUeErEwgjF0I9lH1ibujRMD4K2t5QhaVFxTD/2wbhrjP2vIIdbYuYasaEb4AiUQPgbyfw+NuSUSM6MnLCbQOXnJWgA72grC4ssW3SMA1lQJFXKNPEpJWrgC8ohO2BVY5u5u9nQPnbUFCecKgVMyekkuL2xduMh7aP9lixpzw3VRRqzkKGXepb8ecp7nr/WSkjNex9o3A58/iQYuKybA2+LB10SjN8UQJyKmrqJPkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FBgcN8dVwGeMSWuKFNXUx1kwro9MdJChlbzwuYcyG0E=; b=Pu3VBsfATrizt9UbJoP4axMC/zBQCCA8H+1vT5L/N1853974RyTU0/cZaE4mVqC2qesxjFI50VnK9WUeMTc2lVm5sRMgaHOz+0gkEDSwJgCRvqjjdxVOBTciPnFo4vGXoHH+YEVZ09Vx+xqtqDpLJy1yMyDvg4QK2fgkKZQR5Jc= Received: from CY4PR11MB1288.namprd11.prod.outlook.com (2603:10b6:903:23::8) by CY4PR11MB1288.namprd11.prod.outlook.com (2603:10b6:903:23::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Fri, 16 Oct 2020 22:56:30 +0000 Received: from CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::8948:caa4:ca1a:23ac]) by CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::8948:caa4:ca1a:23ac%10]) with mapi id 15.20.3477.020; Fri, 16 Oct 2020 22:56:30 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "tim.lewis@insyde.com" CC: "Yao, Jiewen" Subject: Re: [edk2-devel] Should we have an AsciiStrnSizeS Thread-Topic: [edk2-devel] Should we have an AsciiStrnSizeS Thread-Index: AdakCR40TNqWeLxLTRGbHMEZBEdKNgABkrWA Date: Fri, 16 Oct 2020 22:56:30 +0000 Message-ID: References: <10bd01d6a409$2d1489f0$873d9dd0$@insyde.com> In-Reply-To: <10bd01d6a409$2d1489f0$873d9dd0$@insyde.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [101.80.124.211] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b7cf431e-0eb2-4cbb-eeb3-08d87226b868 x-ms-traffictypediagnostic: CY4PR11MB1288: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2449; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FxKeihfQsaBPOxBsfXfi452Hq9yZdJbKvk6MFQkPzL7KI1iSVJhv3TN8GwLm66eqMteIWSrLgFCqI4nUq0ZVIJ6/6tktsy0C1Z/u5zrzzFIHJkthfbxO0UcH7rvYNbaXK1XPbeUAI9hpQYOY2XTyuoZrCtRniJA1btIjKs4jbbqOdTRFaQ4B8x5XwFAA69pV3OFEs4qi04tHrSVpZ6+EFCCJP0L1nrki7Bxj6udt5fNgkw+x+WSb8jpSD6OjGL927nhwWa0Rk43c4F7YkGoLOzxcYB4eRUPdXXIW64ZBAD0L6UFsnKRJV3TQ4NUGoc3zGCUMge3LPtU+sLQMx1vZ+cfbjNmUurgzROuBaDRPD7yaK2rDIfa2BBxrdi2HuwoD9jp5mbp5CzMUkrzo44KYHReYSlHV1mqM14Mo20UF3VmgYHgGVLTP4KAGe287yrp8l0bA0QANO3gHb8svXeWeng== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1288.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(346002)(39860400002)(136003)(376002)(366004)(8676002)(55016002)(76116006)(110136005)(66476007)(64756008)(66446008)(66556008)(4744005)(76236003)(7696005)(83380400001)(71200400001)(6506007)(8936002)(53546011)(66946007)(166002)(966005)(4326008)(52536014)(2906002)(86362001)(33656002)(5660300002)(316002)(9686003)(478600001)(26005)(107886003)(186003)(145603002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 5Zyr/lX+HCP2Gm55Ng3GkDu7K1lBBL7CFknsXIvnpoFxKbRz/H1CmVOQBIo/BdQ+SqmbLz+TOvsDY0/uDmqEOJGITRYmDI+2rLhjNgCz9JGve6HHtOXPRxHbsJ/deCwPOx6KTPUoAkbyC7huEHoPG4BtOnMneMl7WnueNCGrxTgb28S+etJhZIVArDBRTigHdUP4zaPJR/9IjXh+S3Smmo1nchUtcmAVmnunEH1wQ46YzaUjBYYMxafl8UbnPfogz7nrCk0qHjinoHoIKOGGUcA/vOHoe/4jr0SnfebM7/WLVLAw1x5XINPRd/dxnfVUsE1GAHKOzgXK2NL4xnSPLEdio2PHv5DKGHkdDG3dsJlRPeau/vaHzX1+OhfeYGnVHBkg3o/oTQJoqHw0T+K//zWChhwQMrZJt1b3jcJ+SR4d+jOVUPeVqOm+or1e+iYncqf0moUirmBBiq0Sa5lBRCWoeR/J/R5+QiMN5IkPcraYpHLwKOobca56cmuyjC6r84MvM4H78djpQkfjSYgLOG/TrvNd/teIwVOlj6K7gBQWfn/cSgOqsxrO0ZvFJGMUXFbdCr+wU2ZZDgRYNtvkkNrX58HqK6WqS6x9qhdQB4bHTkNLKXHXZ/37rPmfWOt2JFTNalwl0ygumGIL3HgVVQ== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1288.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7cf431e-0eb2-4cbb-eeb3-08d87226b868 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2020 22:56:30.0603 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wcaZkqJjz4y3F+wf9BDyD/9oHK4yJMpRQTCChbUQE29g/lGlywt5iiLpJXb3CgQA8cGYMW+LnEmHYPXTyhKWTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1288 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR11MB12881896C15593B415DB0F288C030CY4PR11MB1288namp_" --_000_CY4PR11MB12881896C15593B415DB0F288C030CY4PR11MB1288namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Tim. I think we have ASCII version - AsciiStrnSizeS and AsciiStrnLenS. :-) Please see - https://github.com/tianocore/edk2/blob/master/MdePkg/Library/= BaseLib/SafeString.c#L1702 Thank you Yao Jiewen From: devel@edk2.groups.io On Behalf Of Tim Lewis Sent: Saturday, October 17, 2020 6:11 AM To: devel@edk2.groups.io Subject: [edk2-devel] Should we have an AsciiStrnSizeS We have StrnSizeS, and we have StrnLenS, but not AsciiStrnSizeS. Thanks, Tim --_000_CY4PR11MB12881896C15593B415DB0F288C030CY4PR11MB1288namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks Tim.

I think we have ASCII version - AsciiStrnSizeS and = AsciiStrnLenS. :-)

Please see - https://github.com/tianocore/edk2/blob/master/MdePkg/Library/BaseLib/SafeS= tring.c#L1702

 

Thank you

Yao Jiewen

 

From: devel@edk2.groups.io <devel@edk2.gr= oups.io> On Behalf Of Tim Lewis
Sent: Saturday, October 17, 2020 6:11 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] Should we have an AsciiStrnSizeS

 

We have StrnSizeS, and we have StrnLenS, but not As= ciiStrnSizeS.

 

Thanks,

 

Tim

--_000_CY4PR11MB12881896C15593B415DB0F288C030CY4PR11MB1288namp_--