2928 lines
113 KiB
HTML
2928 lines
113 KiB
HTML
<html>
|
||
|
||
<head>
|
||
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
|
||
<meta name=Generator content="Microsoft Word 14 (filtered)">
|
||
|
||
<style>
|
||
<!--
|
||
/* Font Definitions */
|
||
@font-face
|
||
{font-family:Wingdings;
|
||
panose-1:5 0 0 0 0 0 0 0 0 0;}
|
||
@font-face
|
||
{font-family:宋体;
|
||
panose-1:2 1 6 0 3 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:黑体;
|
||
panose-1:2 1 6 9 6 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:黑体;
|
||
panose-1:2 1 6 9 6 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:方正小标宋简体;}
|
||
@font-face
|
||
{font-family:"\@黑体";
|
||
panose-1:2 1 6 9 6 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:"\@宋体";
|
||
panose-1:2 1 6 0 3 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:"\@方正小标宋简体";}
|
||
/* Style Definitions */
|
||
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||
{margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
h1
|
||
{mso-style-link:"标题 1 Char";
|
||
margin-top:17.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:16.5pt;
|
||
margin-left:7.2pt;
|
||
text-align:center;
|
||
text-indent:-7.2pt;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
h2
|
||
{mso-style-link:"标题 2 Char";
|
||
margin-top:13.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:13.0pt;
|
||
margin-left:0cm;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:0cm;
|
||
page-break-after:avoid;
|
||
font-size:16.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
h3
|
||
{mso-style-link:"标题 3 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:0cm;
|
||
page-break-after:avoid;
|
||
font-size:14.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
h4
|
||
{mso-style-link:"标题 4 Char";
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:28.8pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-28.8pt;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
h5
|
||
{mso-style-link:"标题 5 Char";
|
||
margin-top:14.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:14.5pt;
|
||
margin-left:36.0pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-36.0pt;
|
||
line-height:156%;
|
||
page-break-after:avoid;
|
||
font-size:14.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
h6
|
||
{mso-style-link:"标题 6 Char";
|
||
margin-top:12.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:3.2pt;
|
||
margin-left:43.2pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-43.2pt;
|
||
line-height:133%;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
|
||
{mso-style-link:"标题 7 Char";
|
||
margin-top:12.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:3.2pt;
|
||
margin-left:50.4pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-50.4pt;
|
||
line-height:133%;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
|
||
{mso-style-link:"标题 8 Char";
|
||
margin-top:12.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:3.2pt;
|
||
margin-left:57.6pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-72.0pt;
|
||
line-height:133%;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
|
||
{mso-style-link:"标题 9 Char";
|
||
margin-top:12.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:3.2pt;
|
||
margin-left:64.8pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-79.2pt;
|
||
line-height:133%;
|
||
page-break-after:avoid;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.MsoIndex1, li.MsoIndex1, div.MsoIndex1
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:10.5pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex2, li.MsoIndex2, div.MsoIndex2
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex3, li.MsoIndex3, div.MsoIndex3
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:31.5pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex4, li.MsoIndex4, div.MsoIndex4
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:42.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex5, li.MsoIndex5, div.MsoIndex5
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:52.5pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex6, li.MsoIndex6, div.MsoIndex6
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:63.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex7, li.MsoIndex7, div.MsoIndex7
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:73.5pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex8, li.MsoIndex8, div.MsoIndex8
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:84.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndex9, li.MsoIndex9, div.MsoIndex9
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:94.5pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-10.5pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
||
{margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.MsoToc2, li.MsoToc2, div.MsoToc2
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc3, li.MsoToc3, div.MsoToc3
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:42.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc4, li.MsoToc4, div.MsoToc4
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:31.5pt;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc5, li.MsoToc5, div.MsoToc5
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:42.0pt;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc6, li.MsoToc6, div.MsoToc6
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:52.5pt;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc7, li.MsoToc7, div.MsoToc7
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:63.0pt;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc8, li.MsoToc8, div.MsoToc8
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:73.5pt;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoToc9, li.MsoToc9, div.MsoToc9
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:84.0pt;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
||
{mso-style-link:"脚注文本 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
layout-grid-mode:char;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
||
{mso-style-link:"批注文字 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoHeader, li.MsoHeader, div.MsoHeader
|
||
{mso-style-link:"页眉 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
layout-grid-mode:char;
|
||
border:none;
|
||
padding:0cm;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoFooter, li.MsoFooter, div.MsoFooter
|
||
{mso-style-link:"页脚 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
layout-grid-mode:char;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoIndexHeading, li.MsoIndexHeading, div.MsoIndexHeading
|
||
{mso-style-name:"索引标题\,索引类目\,索引类目1\,索引类目2";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoCaption, li.MsoCaption, div.MsoCaption
|
||
{margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.MsoTof, li.MsoTof, div.MsoTof
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:42.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.MsoFootnoteReference
|
||
{vertical-align:super;}
|
||
p.MsoList, li.MsoList, div.MsoList
|
||
{margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoList2, li.MsoList2, div.MsoList2
|
||
{margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoList4, li.MsoList4, div.MsoList4
|
||
{margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoDate, li.MsoDate, div.MsoDate
|
||
{mso-style-link:"日期 Char";
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:5.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
a:link, span.MsoHyperlink
|
||
{mso-style-name:"超链接\,超级链接";
|
||
color:blue;
|
||
text-decoration:underline;}
|
||
a:visited, span.MsoHyperlinkFollowed
|
||
{color:purple;
|
||
text-decoration:underline;}
|
||
p
|
||
{mso-style-name:"普通\(网站\)\,普通 \(Web\)\,普通 \(Web\)1\,普通 \(Web\)2\,普通 \(Web\)3";
|
||
margin-right:0cm;
|
||
margin-left:0cm;
|
||
font-size:12.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
pre
|
||
{mso-style-name:"HTML 预设格式\,HTML 预先格式化\,HTML 预先格式化1\,HTML 预先格式化2\,HTML 预先格式化3";
|
||
mso-style-link:"HTML 预设格式 Char\,HTML 预先格式化 Char\,HTML 预先格式化1 Char\,HTML 预先格式化2 Char\,HTML 预先格式化3 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:12.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
tt
|
||
{font-family:黑体;}
|
||
p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
|
||
{mso-style-link:"批注主题 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
|
||
{mso-style-link:"批注框文本 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.1, li.1, div.1
|
||
{mso-style-name:样式1;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.a, li.a, div.a
|
||
{mso-style-name:代码程序;
|
||
mso-style-link:"代码程序 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:宋体;}
|
||
span.Char
|
||
{mso-style-name:"代码程序 Char";
|
||
mso-style-link:代码程序;
|
||
font-family:宋体;}
|
||
p.a0, li.a0, div.a0
|
||
{mso-style-name:图说明;
|
||
mso-style-link:"图说明 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char0
|
||
{mso-style-name:"图说明 Char";
|
||
mso-style-link:图说明;
|
||
font-family:宋体;}
|
||
p.0, li.0, div.0
|
||
{mso-style-name:封面0;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:36.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.10, li.10, div.10
|
||
{mso-style-name:封面1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:18.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.11, li.11, div.11
|
||
{mso-style-name:非标题1;
|
||
margin-top:7.8pt;
|
||
margin-right:0cm;
|
||
margin-bottom:7.8pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
font-size:22.0pt;
|
||
font-family:宋体;
|
||
font-weight:bold;}
|
||
p.a1, li.a1, div.a1
|
||
{mso-style-name:文本居中;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3CharChar, li.3CharChar, div.3CharChar
|
||
{mso-style-name:"图中文字3 Char Char";
|
||
mso-style-link:"图中文字3 Char Char Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.3CharCharChar
|
||
{mso-style-name:"图中文字3 Char Char Char";
|
||
mso-style-link:"图中文字3 Char Char";
|
||
font-family:宋体;}
|
||
p.post, li.post, div.post
|
||
{mso-style-name:邮件post;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:right;
|
||
line-height:11.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3, li.3, div.3
|
||
{mso-style-name:图中字体3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.3CharChar1CharCharChar
|
||
{mso-style-name:"图中文字3 Char Char1 Char Char Char";
|
||
font-family:宋体;}
|
||
span.3CharChar1CharChar
|
||
{mso-style-name:"图中文字3 Char Char1 Char Char";
|
||
font-family:宋体;}
|
||
p.5Char, li.5Char, div.5Char
|
||
{mso-style-name:"图中文字5号 Char";
|
||
mso-style-link:"图中文字5号 Char Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.5CharChar
|
||
{mso-style-name:"图中文字5号 Char Char";
|
||
mso-style-link:"图中文字5号 Char";
|
||
font-family:宋体;}
|
||
p.5CharChar0, li.5CharChar0, div.5CharChar0
|
||
{mso-style-name:"图中文字小5号 Char Char";
|
||
mso-style-link:"图中文字小5号 Char Char Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.5CharCharChar
|
||
{mso-style-name:"图中文字小5号 Char Char Char";
|
||
mso-style-link:"图中文字小5号 Char Char";
|
||
font-family:宋体;}
|
||
p.5Char0, li.5Char0, div.5Char0
|
||
{mso-style-name:"图中文字小5号 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5, li.5, div.5
|
||
{mso-style-name:图中文字小5号;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
layout-grid-mode:char;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.2, li.2, div.2
|
||
{mso-style-name:代码程序2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:宋体;}
|
||
p.20, li.20, div.20
|
||
{mso-style-name:图说明2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.21, li.21, div.21
|
||
{mso-style-name:文本居中2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3CharCharCharCharChar, li.3CharCharCharCharChar, div.3CharCharCharCharChar
|
||
{mso-style-name:"图中文字3 Char Char Char Char Char";
|
||
mso-style-link:"图中文字3 Char Char Char Char Char Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.3CharCharCharCharCharChar
|
||
{mso-style-name:"图中文字3 Char Char Char Char Char Char";
|
||
mso-style-link:"图中文字3 Char Char Char Char Char";
|
||
font-family:宋体;}
|
||
p.a2, li.a2, div.a2
|
||
{mso-style-name:图居中;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.110, li.110, div.110
|
||
{mso-style-name:"样式 标题 1 + 居中1";
|
||
margin-right:0cm;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
span.1Char
|
||
{mso-style-name:"标题 1 Char";
|
||
mso-style-link:"标题 1";
|
||
font-weight:bold;}
|
||
p.22, li.22, div.22
|
||
{mso-style-name:"样式 列表 2 + 居中";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.23, li.23, div.23
|
||
{mso-style-name:列表2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.50, li.50, div.50
|
||
{mso-style-name:图中文字5号;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.111, li.111, div.111
|
||
{mso-style-name:样式11;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.12, li.12, div.12
|
||
{mso-style-name:代码程序1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:宋体;}
|
||
p.13, li.13, div.13
|
||
{mso-style-name:图说明1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.01, li.01, div.01
|
||
{mso-style-name:封面01;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:36.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.112, li.112, div.112
|
||
{mso-style-name:封面11;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:18.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.113, li.113, div.113
|
||
{mso-style-name:非标题11;
|
||
margin-top:7.8pt;
|
||
margin-right:0cm;
|
||
margin-bottom:7.8pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
font-size:22.0pt;
|
||
font-family:宋体;
|
||
font-weight:bold;}
|
||
p.14, li.14, div.14
|
||
{mso-style-name:文本居中1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3Char1, li.3Char1, div.3Char1
|
||
{mso-style-name:"图中文字3 Char1";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.post1, li.post1, div.post1
|
||
{mso-style-name:邮件post1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:right;
|
||
line-height:11.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.31, li.31, div.31
|
||
{mso-style-name:图中字体31;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5Char1, li.5Char1, div.5Char1
|
||
{mso-style-name:"图中文字5号 Char1";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5CharChar1, li.5CharChar1, div.5CharChar1
|
||
{mso-style-name:"图中文字小5号 Char Char1";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5Char10, li.5Char10, div.5Char10
|
||
{mso-style-name:"图中文字小5号 Char1";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.51, li.51, div.51
|
||
{mso-style-name:图中文字小5号1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.120, li.120, div.120
|
||
{mso-style-name:样式12;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.02, li.02, div.02
|
||
{mso-style-name:封面02;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:36.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.121, li.121, div.121
|
||
{mso-style-name:封面12;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:18.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.122, li.122, div.122
|
||
{mso-style-name:非标题12;
|
||
margin-top:7.8pt;
|
||
margin-right:0cm;
|
||
margin-bottom:7.8pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
font-size:22.0pt;
|
||
font-family:宋体;
|
||
font-weight:bold;}
|
||
p.3Char2, li.3Char2, div.3Char2
|
||
{mso-style-name:"图中文字3 Char2";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.post2, li.post2, div.post2
|
||
{mso-style-name:邮件post2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:right;
|
||
line-height:11.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.32, li.32, div.32
|
||
{mso-style-name:图中字体32;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5Char2, li.5Char2, div.5Char2
|
||
{mso-style-name:"图中文字小5号 Char2";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.52, li.52, div.52
|
||
{mso-style-name:图中文字小5号2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3CharCharCharChar, li.3CharCharCharChar, div.3CharCharCharChar
|
||
{mso-style-name:"图中文字3 Char Char Char Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.130, li.130, div.130
|
||
{mso-style-name:样式13;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.30, li.30, div.30
|
||
{mso-style-name:代码程序3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:宋体;}
|
||
p.03, li.03, div.03
|
||
{mso-style-name:封面03;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:36.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.131, li.131, div.131
|
||
{mso-style-name:封面13;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:18.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.132, li.132, div.132
|
||
{mso-style-name:非标题13;
|
||
margin-top:7.8pt;
|
||
margin-right:0cm;
|
||
margin-bottom:7.8pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
font-size:22.0pt;
|
||
font-family:宋体;
|
||
font-weight:bold;}
|
||
p.33, li.33, div.33
|
||
{mso-style-name:文本居中3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3Char3, li.3Char3, div.3Char3
|
||
{mso-style-name:"图中文字3 Char3";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.post3, li.post3, div.post3
|
||
{mso-style-name:邮件post3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:right;
|
||
line-height:11.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.330, li.330, div.330
|
||
{mso-style-name:图中字体33;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5Char20, li.5Char20, div.5Char20
|
||
{mso-style-name:"图中文字5号 Char2";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5CharChar2, li.5CharChar2, div.5CharChar2
|
||
{mso-style-name:"图中文字小5号 Char Char2";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.5Char3, li.5Char3, div.5Char3
|
||
{mso-style-name:"图中文字小5号 Char3";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.53, li.53, div.53
|
||
{mso-style-name:图中文字小5号3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.3Char, li.3Char, div.3Char
|
||
{mso-style-name:"图中文字3 Char";
|
||
mso-style-link:"图中文字3 Char Char5";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:9.0pt;
|
||
font-size:8.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.3CharChar5
|
||
{mso-style-name:"图中文字3 Char Char5";
|
||
mso-style-link:"图中文字3 Char";
|
||
font-family:宋体;}
|
||
p.54, li.54, div.54
|
||
{mso-style-name:图中文字小5紧密;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
line-height:9.0pt;
|
||
text-autospace:ideograph-numeric;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.24, li.24, div.24
|
||
{mso-style-name:居中2号粗宋体;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.15, li.15, div.15
|
||
{mso-style-name:"样式 标题 1 + 居中";
|
||
margin-top:17.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:16.5pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.25, li.25, div.25
|
||
{mso-style-name:"样式 标题 2 + 行距\: 单倍行距";
|
||
margin-top:13.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:13.0pt;
|
||
margin-left:28.9pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-28.9pt;
|
||
page-break-after:avoid;
|
||
font-size:16.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
span.2Char
|
||
{mso-style-name:"标题 2 Char";
|
||
mso-style-link:"标题 2";
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.34, li.34, div.34
|
||
{mso-style-name:列表3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.35, li.35, div.35
|
||
{mso-style-name:表3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.4, li.4, div.4
|
||
{mso-style-name:图说明4;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.40, li.40, div.40
|
||
{mso-style-name:列表4;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.0pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.41, li.41, div.41
|
||
{mso-style-name:表4;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.55, li.55, div.55
|
||
{mso-style-name:图说明5;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.56, li.56, div.56
|
||
{mso-style-name:列表5;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.57, li.57, div.57
|
||
{mso-style-name:表5;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.6, li.6, div.6
|
||
{mso-style-name:列表6;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.60, li.60, div.60
|
||
{mso-style-name:表6;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.61, li.61, div.61
|
||
{mso-style-name:图说明6;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.7, li.7, div.7
|
||
{mso-style-name:列表7;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.70, li.70, div.70
|
||
{mso-style-name:图说明7;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.71, li.71, div.71
|
||
{mso-style-name:表7;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.8, li.8, div.8
|
||
{mso-style-name:列表8;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.9, li.9, div.9
|
||
{mso-style-name:列表9;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.90, li.90, div.90
|
||
{mso-style-name:图说明9;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.100, li.100, div.100
|
||
{mso-style-name:列表10;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.101, li.101, div.101
|
||
{mso-style-name:图说明10;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.114, li.114, div.114
|
||
{mso-style-name:列表11;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.115, li.115, div.115
|
||
{mso-style-name:图说明11;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.116, li.116, div.116
|
||
{mso-style-name:表11;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.123, li.123, div.123
|
||
{mso-style-name:列表12;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.124, li.124, div.124
|
||
{mso-style-name:图说明12;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.133, li.133, div.133
|
||
{mso-style-name:图说明13;
|
||
mso-style-link:"图说明13 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.13Char
|
||
{mso-style-name:"图说明13 Char";
|
||
mso-style-link:图说明13;
|
||
font-family:宋体;}
|
||
p.134, li.134, div.134
|
||
{mso-style-name:列表13;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.26, li.26, div.26
|
||
{mso-style-name:附录2;
|
||
margin-top:13.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:13.0pt;
|
||
margin-left:0cm;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
page-break-after:avoid;
|
||
font-size:16.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.36, li.36, div.36
|
||
{mso-style-name:附录3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
page-break-after:avoid;
|
||
font-size:14.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
span.3Char0
|
||
{mso-style-name:"标题 3 Char";
|
||
mso-style-link:"标题 3";
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.16, li.16, div.16
|
||
{mso-style-name:附录1;
|
||
margin-top:17.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:16.5pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.17, li.17, div.17
|
||
{mso-style-name:附录表1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.42, li.42, div.42
|
||
{mso-style-name:附录4;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
span.4Char
|
||
{mso-style-name:"标题 4 Char";
|
||
mso-style-link:"标题 4";
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.a3, li.a3, div.a3
|
||
{mso-style-name:附录图说明;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.27, li.27, div.27
|
||
{mso-style-name:序标题2;
|
||
margin-top:13.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:13.0pt;
|
||
margin-left:28.8pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
text-indent:-28.8pt;
|
||
page-break-after:avoid;
|
||
font-size:16.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.a4, li.a4, div.a4
|
||
{mso-style-name:参考标题;
|
||
margin-top:7.8pt;
|
||
margin-right:0cm;
|
||
margin-bottom:7.8pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.18, li.18, div.18
|
||
{mso-style-name:索引标题1;
|
||
margin-top:7.8pt;
|
||
margin-right:0cm;
|
||
margin-bottom:7.8pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.19, li.19, div.19
|
||
{mso-style-name:列表1;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.25pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.25pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.1a, li.1a, div.1a
|
||
{mso-style-name:表1;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.25pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.25pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.37, li.37, div.37
|
||
{mso-style-name:图说明3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.62, li.62, div.62
|
||
{mso-style-name:表中字体6号;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
layout-grid-mode:char;
|
||
font-size:7.5pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.a5, li.a5, div.a5
|
||
{mso-style-name:正文代码;
|
||
mso-style-link:"正文代码 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char1
|
||
{mso-style-name:"正文代码 Char";
|
||
mso-style-link:正文代码;
|
||
font-family:宋体;}
|
||
p.43, li.43, div.43
|
||
{mso-style-name:"样式 标题 4 +";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
p.140, li.140, div.140
|
||
{mso-style-name:表14;
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.25pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.25pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.141, li.141, div.141
|
||
{mso-style-name:图说明14;
|
||
mso-style-link:"图说明14 Char";
|
||
margin-top:0cm;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:21.25pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
text-indent:-21.25pt;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.14Char
|
||
{mso-style-name:"图说明14 Char";
|
||
mso-style-link:图说明14;
|
||
font-family:宋体;}
|
||
p.a6, li.a6, div.a6
|
||
{mso-style-name:文件目录表;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.a7, li.a7, div.a7
|
||
{mso-style-name:"样式 正文 +";
|
||
mso-style-link:"样式 正文 + Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char2
|
||
{mso-style-name:"样式 正文 + Char";
|
||
mso-style-link:"样式 正文 +";
|
||
font-family:"Times New Roman","serif";}
|
||
p.a8, li.a8, div.a8
|
||
{mso-style-name:表格题注;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.5pt;
|
||
font-family:宋体;}
|
||
p.a9, li.a9, div.a9
|
||
{mso-style-name:列表题注;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.5pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.aa, li.aa, div.aa
|
||
{mso-style-name:图题注;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.5pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.ab, li.ab, div.ab
|
||
{mso-style-name:程序题注;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.5pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.ac, li.ac, div.ac
|
||
{mso-style-name:框中文字;
|
||
margin-top:0cm;
|
||
margin-right:21.0pt;
|
||
margin-bottom:0cm;
|
||
margin-left:21.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
border:none;
|
||
padding:0cm;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.125, li.125, div.125
|
||
{mso-style-name:"样式 标题 1 + 居中2";
|
||
margin-top:17.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:16.5pt;
|
||
margin-left:0cm;
|
||
text-align:center;
|
||
page-break-after:avoid;
|
||
font-size:22.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.ad, li.ad, div.ad
|
||
{mso-style-name:"样式 题注 + 宋体 五号 居中";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.5pt;
|
||
font-family:黑体;}
|
||
p.1b, li.1b, div.1b
|
||
{mso-style-name:序标题1;
|
||
margin-top:17.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:16.5pt;
|
||
margin-left:0cm;
|
||
line-height:240%;
|
||
page-break-after:avoid;
|
||
font-size:16.0pt;
|
||
font-family:"Times New Roman","serif";
|
||
font-weight:bold;}
|
||
p.38, li.38, div.38
|
||
{mso-style-name:序标题3;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
page-break-after:avoid;
|
||
font-size:12.0pt;
|
||
font-family:方正小标宋简体;}
|
||
p.63, li.63, div.63
|
||
{mso-style-name:表中文字6号;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:7.5pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.64, li.64, div.64
|
||
{mso-style-name:图中文字6号左对齐;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
line-height:10.0pt;
|
||
layout-grid-mode:char;
|
||
font-size:7.5pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.65, li.65, div.65
|
||
{mso-style-name:图中文字6号;
|
||
mso-style-link:"图中文字6号 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
line-height:10.0pt;
|
||
layout-grid-mode:char;
|
||
font-size:7.5pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.6Char
|
||
{mso-style-name:"图中文字6号 Char";
|
||
mso-style-link:图中文字6号;
|
||
font-family:宋体;}
|
||
p.ae, li.ae, div.ae
|
||
{mso-style-name:图标;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.28, li.28, div.28
|
||
{mso-style-name:图标2;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.af, li.af, div.af
|
||
{mso-style-name:习题标题;
|
||
margin-top:6.0pt;
|
||
margin-right:0cm;
|
||
margin-bottom:0cm;
|
||
margin-left:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
page-break-after:avoid;
|
||
font-size:14.0pt;
|
||
font-family:黑体;}
|
||
p.1c, li.1c, div.1c
|
||
{mso-style-name:部分编号1;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:16.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.af0, li.af0, div.af0
|
||
{mso-style-name:表标题;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.af1, li.af1, div.af1
|
||
{mso-style-name:"样式 题注 + 居中";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.ListTitle, li.ListTitle, div.ListTitle
|
||
{mso-style-name:ListTitle;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.FigureTitle, li.FigureTitle, div.FigureTitle
|
||
{mso-style-name:FigureTitle;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.TableTitle, li.TableTitle, div.TableTitle
|
||
{mso-style-name:TableTitle;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.ProgramTitle, li.ProgramTitle, div.ProgramTitle
|
||
{mso-style-name:ProgramTitle;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:center;
|
||
font-size:10.0pt;
|
||
font-family:"Arial","sans-serif";}
|
||
p.RightText, li.RightText, div.RightText
|
||
{mso-style-name:RightText;
|
||
margin-top:0cm;
|
||
margin-right:21.0pt;
|
||
margin-bottom:0cm;
|
||
margin-left:42.0pt;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
border:none;
|
||
padding:0cm;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.af2, li.af2, div.af2
|
||
{mso-style-name:表中文字小五;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.af3, li.af3, div.af3
|
||
{mso-style-name:关键词;
|
||
mso-style-link:"关键词 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char3
|
||
{mso-style-name:"关键词 Char";
|
||
mso-style-link:关键词;
|
||
font-family:宋体;}
|
||
p.af4, li.af4, div.af4
|
||
{mso-style-name:文件名;
|
||
mso-style-link:"文件名 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char4
|
||
{mso-style-name:"文件名 Char";
|
||
mso-style-link:文件名;
|
||
font-family:宋体;}
|
||
p.af5, li.af5, div.af5
|
||
{mso-style-name:选项;
|
||
mso-style-link:"选项 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char5
|
||
{mso-style-name:"选项 Char";
|
||
mso-style-link:选项;
|
||
font-family:宋体;}
|
||
p.af6, li.af6, div.af6
|
||
{mso-style-name:命令行;
|
||
mso-style-link:"命令行 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char6
|
||
{mso-style-name:"命令行 Char";
|
||
mso-style-link:命令行;
|
||
font-family:宋体;}
|
||
p.af7, li.af7, div.af7
|
||
{mso-style-name:函数名;
|
||
mso-style-link:"函数名 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char7
|
||
{mso-style-name:"函数名 Char";
|
||
mso-style-link:函数名;
|
||
font-family:宋体;}
|
||
p.af8, li.af8, div.af8
|
||
{mso-style-name:寄存器名;
|
||
mso-style-link:"寄存器名 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char8
|
||
{mso-style-name:"寄存器名 Char";
|
||
mso-style-link:寄存器名;
|
||
font-family:"Times New Roman","serif";}
|
||
p.af9, li.af9, div.af9
|
||
{mso-style-name:变量名;
|
||
mso-style-link:"变量名 Char";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
text-align:justify;
|
||
text-justify:inter-ideograph;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
span.Char9
|
||
{mso-style-name:"变量名 Char";
|
||
mso-style-link:变量名;
|
||
font-family:宋体;}
|
||
p.58, li.58, div.58
|
||
{mso-style-name:图中文字小5号左;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.59, li.59, div.59
|
||
{mso-style-name:图中文字小5号靠左;
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
layout-grid-mode:char;
|
||
font-size:9.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.926, li.926, div.926
|
||
{mso-style-name:"样式 代码程序 + 左侧\: 9\.26 厘米";
|
||
margin:0cm;
|
||
margin-bottom:.0001pt;
|
||
layout-grid-mode:char;
|
||
font-size:10.0pt;
|
||
font-family:宋体;}
|
||
span.5Char4
|
||
{mso-style-name:"标题 5 Char";
|
||
mso-style-link:"标题 5";
|
||
font-weight:bold;}
|
||
span.6Char0
|
||
{mso-style-name:"标题 6 Char";
|
||
mso-style-link:"标题 6";
|
||
font-family:"Arial","sans-serif";
|
||
font-weight:bold;}
|
||
span.7Char
|
||
{mso-style-name:"标题 7 Char";
|
||
mso-style-link:"标题 7";
|
||
font-weight:bold;}
|
||
span.8Char
|
||
{mso-style-name:"标题 8 Char";
|
||
mso-style-link:"标题 8";
|
||
font-family:"Arial","sans-serif";}
|
||
span.9Char
|
||
{mso-style-name:"标题 9 Char";
|
||
mso-style-link:"标题 9";
|
||
font-family:"Arial","sans-serif";}
|
||
span.Chara
|
||
{mso-style-name:"脚注文本 Char";
|
||
mso-style-link:脚注文本;
|
||
font-family:宋体;}
|
||
span.Charb
|
||
{mso-style-name:"批注文字 Char";
|
||
mso-style-link:批注文字;
|
||
font-family:宋体;}
|
||
span.Charc
|
||
{mso-style-name:"页眉 Char";
|
||
mso-style-link:页眉;
|
||
font-family:宋体;}
|
||
span.Chard
|
||
{mso-style-name:"页脚 Char";
|
||
mso-style-link:页脚;
|
||
font-family:宋体;}
|
||
span.Chare
|
||
{mso-style-name:"日期 Char";
|
||
mso-style-link:日期;
|
||
font-family:宋体;}
|
||
span.HTMLChar
|
||
{mso-style-name:"HTML 预设格式 Char\,HTML 预先格式化 Char\,HTML 预先格式化1 Char\,HTML 预先格式化2 Char\,HTML 预先格式化3 Char";
|
||
mso-style-link:"HTML 预设格式\,HTML 预先格式化\,HTML 预先格式化1\,HTML 预先格式化2\,HTML 预先格式化3";
|
||
font-family:宋体;}
|
||
span.Charf
|
||
{mso-style-name:"批注主题 Char";
|
||
mso-style-link:批注主题;
|
||
font-family:宋体;
|
||
font-weight:bold;}
|
||
span.Charf0
|
||
{mso-style-name:"批注框文本 Char";
|
||
mso-style-link:批注框文本;
|
||
font-family:宋体;}
|
||
.MsoChpDefault
|
||
{font-size:10.0pt;}
|
||
/* Page Definitions */
|
||
@page WordSection1
|
||
{size:595.3pt 841.9pt;
|
||
margin:72.0pt 54.0pt 72.0pt 54.0pt;
|
||
layout-grid:15.6pt;}
|
||
div.WordSection1
|
||
{page:WordSection1;}
|
||
/* List Definitions */
|
||
ol
|
||
{margin-bottom:0cm;}
|
||
ul
|
||
{margin-bottom:0cm;}
|
||
-->
|
||
</style>
|
||
|
||
</head>
|
||
|
||
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
|
||
|
||
<div class=WordSection1 style='layout-grid:15.6pt'>
|
||
|
||
<p class=ab><a name="_Toc53320612"><span style='font-family:黑体'>程序</span><span
|
||
lang=EN-US>8-10 linux/kernel/vsprintf.c</span></a></p>
|
||
|
||
<div class=a align=center style='text-align:center'><span lang=EN-US>
|
||
|
||
<hr size=4 width="100%" align=center>
|
||
|
||
</span></div>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>1</span></u> <b><i>/*</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>2</span></u> <b><i> *
|
||
linux/kernel/vsprintf.c</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>3</span></u> <b><i> *</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>4</span></u> <b><i> *
|
||
(C) 1991 Linus Torvalds</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>5</span></u> <b><i> */</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>6</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>7</span></u> <b><i>/*
|
||
vsprintf.c -- Lars Wirzenius & Linus Torvalds. */</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>8</span></u> <b><i>/*</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>9</span></u> <b><i> *
|
||
Wirzenius wrote this portably, Torvalds fucked it up :-)</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>10</span></u> <b><i> */</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> // Lars Wirzenius</span>是<span
|
||
lang=EN-US>Linus</span>的好友,在<span lang=EN-US style='color:black'>Helsinki</span><span
|
||
style='color:black'>大学时曾同处一间办公室。在<span lang=EN-US>1991</span>年夏季开发<span
|
||
lang=EN-US>Linux </span></span></p>
|
||
|
||
<p class=a><span lang=EN-US style='color:black'> // </span><span
|
||
style='color:black'>时,<span lang=EN-US>Linus</span>当时对<span lang=EN-US>C</span>语言还不是很熟悉,还不会使用可变参数列表函数功能。因此<span
|
||
lang=EN-US>Lars Wirzenius</span></span></p>
|
||
|
||
<p class=a><span lang=EN-US style='color:black'> // </span><span
|
||
style='color:black'>就为他编写了这段用于内核显示信息的代码。他后来<span lang=EN-US>(1998</span>年<span
|
||
lang=EN-US>)</span>承认在这段代码中有一个<span lang=EN-US>bug</span>,直到</span></p>
|
||
|
||
<p class=a><span lang=EN-US style='color:black'> // 1994</span><span
|
||
style='color:black'>年才有人发现,并予以纠正。这个<span lang=EN-US>bug</span>是在使用<span
|
||
lang=EN-US>*</span>作为输出域宽度时,忘记递增指针跳过这个星</span></p>
|
||
|
||
<p class=a><span lang=EN-US style='color:black'> // </span><span
|
||
style='color:black'>号了。在本代码中这个<span lang=EN-US>bug</span>还仍然存在(<span
|
||
lang=EN-US>130</span>行)。 他的个人主页是<span lang=EN-US>http://liw.iki.fi/liw/</span></span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>11</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>12</span></u>
|
||
#include <stdarg.h> // </span>标准参数头文件。以宏的形式定义变量参数列表。主要说明了<span
|
||
lang=EN-US>-</span>个</p>
|
||
|
||
<p class=a><span lang=EN-US>
|
||
// </span>类型<span lang=EN-US>(va_list)</span>和三个宏<span lang=EN-US>(va_start,
|
||
va_arg</span>和<span lang=EN-US>va_end)</span>,用于</p>
|
||
|
||
<p class=a><span lang=EN-US>
|
||
// vsprintf</span>、<span lang=EN-US>vprintf</span>、<span lang=EN-US>vfprintf</span>函数。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>13</span></u>
|
||
#include <string.h> // </span>字符串头文件。主要定义了一些有关字符串操作的嵌入函数。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>14</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>15</span></u> <b><i>/*
|
||
we use this so that we can do without the ctype library */</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US> /* </span>我们使用下面的定义,这样我们就可以不使用<span
|
||
lang=EN-US>ctype</span>库了<span lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>16</span></u>
|
||
#define <u><span style='color:blue'>is_digit</span></u>(c)
|
||
((c) >= <i>'0'</i> && (c) <= <i>'9'</i>) // </span>判断字符<span
|
||
lang=EN-US>c</span>是否为数字字符。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>17</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>该函数将字符数字串转换成整数。输入是数字串指针的指针,返回是结果数值。另外指针将前移。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>18</span></u>
|
||
static int <u><span style='color:blue'>skip_atoi</span></u>(const char **s)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>19</span></u> {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>20</span></u>
|
||
int i=0;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>21</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>22</span></u>
|
||
while (<u><span style='color:blue'>is_digit</span></u>(**s))</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>23</span></u>
|
||
i = i*10 + *((*s)++) - <i>'0'</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>24</span></u>
|
||
return i;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>25</span></u> }</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>26</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>这里定义转换类型的各种符号常数。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>27</span></u>
|
||
#define <u><span style='color:blue'>ZEROPAD</span></u>
|
||
1
|
||
<b><i>/* pad with zero */</i></b> /* </span>填充零<span
|
||
lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>28</span></u>
|
||
#define <u><span style='color:blue'>SIGN</span></u>
|
||
2
|
||
<b><i>/* unsigned/signed long */</i></b> /* </span>无符号<span lang=EN-US>/</span>符号长整数<span
|
||
lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>29</span></u>
|
||
#define <u><span style='color:blue'>PLUS</span></u>
|
||
4
|
||
<b><i>/* show plus */</i></b>
|
||
/* </span>显示加<span lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>30</span></u> #define
|
||
<u><span style='color:blue'>SPACE</span></u>
|
||
8
|
||
<b><i>/* space if plus */</i></b> /* </span>如是加,则置空格<span
|
||
lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>31</span></u>
|
||
#define <u><span style='color:blue'>LEFT</span></u>
|
||
16
|
||
<b><i>/* left justified */</i></b> /* </span>左调整<span
|
||
lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>32</span></u>
|
||
#define <u><span style='color:blue'>SPECIAL</span></u>
|
||
32
|
||
<b><i>/* 0x */</i></b>
|
||
/* 0x */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>33</span></u>
|
||
#define <u><span style='color:blue'>SMALL</span></u>
|
||
64
|
||
<b><i>/* use 'abcdef' instead of 'ABCDEF' */</i></b> /* </span>使用小写字母<span
|
||
lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>34</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>除操作。输入:<span
|
||
lang=EN-US>n</span>为被除数,<span lang=EN-US>base</span>为除数;结果:<span lang=EN-US>n</span>为商,函数返回值为余数。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>参见<span lang=EN-US>4.5.3</span>节有关嵌入汇编的信息。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>35</span></u>
|
||
#define <u><span style='color:blue'>do_div</span></u>(n,base) ({ \</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>36</span></u> int
|
||
__res; \</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>37</span></u>
|
||
__asm__(<i>"divl %4"</i>:<i>"=a"</i> (n),<i>"=d"</i>
|
||
(__res):<i>"0"</i> (n),<i>"1"</i> (0),<i>"r"</i>
|
||
(base)); \</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>38</span></u>
|
||
__res; })</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>39</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>将整数转换为指定进制的字符串。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>输入:<span lang=EN-US>num-</span>整数;<span
|
||
lang=EN-US>base-</span>进制;<span lang=EN-US>size-</span>字符串长度;<span lang=EN-US>precision-</span>数字长度<span
|
||
lang=EN-US>(</span>精度<span lang=EN-US>)</span>;<span lang=EN-US>type-</span>类型选项。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>输出:数字转换成字符串后指向该字符串末端后面的指针。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>40</span></u>
|
||
static char * <u><span style='color:blue'>number</span></u>(char * <u><span
|
||
style='color:blue'>str</span></u>, int num, int base, int size, int precision</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>41</span></u>
|
||
,int type)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>42</span></u> {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>43</span></u>
|
||
char c,sign,tmp[36];</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>44</span></u>
|
||
const char *digits=<i>"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>45</span></u>
|
||
int i;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>46</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果类型<span lang=EN-US>type</span>指出用小写字母,则定义小写字母集。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果类型指出要左调整(靠左边界),则屏蔽类型中的填零标志。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果进制基数小于<span
|
||
lang=EN-US>2</span>或大于<span lang=EN-US>36</span>,则退出处理,也即本程序只能处理基数在<span
|
||
lang=EN-US>2-32</span>之间的数。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>47</span></u>
|
||
if (type&<u><span style='color:blue'>SMALL</span></u>) digits=<i>"0123456789abcdefghijklmnopqrstuvwxyz"</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>48</span></u>
|
||
if (type&<u><span style='color:blue'>LEFT</span></u>) type &= ~ZEROPAD;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>49</span></u>
|
||
if (base<2 || base>36)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>50</span></u>
|
||
return 0;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果类型指出要填零,则置字符变量<span
|
||
lang=EN-US>c='0'</span>,否则<span lang=EN-US>c</span>等于空格字符。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果类型指出是带符号数并且数值<span
|
||
lang=EN-US>num</span>小于<span lang=EN-US>0</span>,则置符号变量<span lang=EN-US>sign=</span>负号,并使<span
|
||
lang=EN-US>num</span>取绝对值。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>否则如果类型指出是加号,则置<span
|
||
lang=EN-US>sign=</span>加号,否则若类型带空格标志则<span lang=EN-US>sign=</span>空格,否则置<span
|
||
lang=EN-US>0</span>。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span
|
||
style='color:blue'>51</span></u>
|
||
c = (type & <u><span style='color:blue'>ZEROPAD</span></u>) ? <i>'0'</i> :
|
||
<i>' '</i> ;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>52</span></u>
|
||
if (type&<u><span style='color:blue'>SIGN</span></u> && num<0) {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>53</span></u>
|
||
sign=<i>'-'</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>54</span></u>
|
||
num = -num;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>55</span></u>
|
||
} else</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>56</span></u>
|
||
sign=(type&<u><span style='color:blue'>PLUS</span></u>)
|
||
? <i>'+'</i> : ((type&<u><span style='color:blue'>SPACE</span></u>) ? <i>'
|
||
'</i> : 0);</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若带符号,则宽度值减<span
|
||
lang=EN-US>1</span>。若类型指出是特殊转换,则对于十六进制宽度再减少<span lang=EN-US>2</span>位<span
|
||
lang=EN-US>(</span>用于<span lang=EN-US>0x)</span>,</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>对于八进制宽度减<span
|
||
lang=EN-US>1</span>(用于八进制转换结果前放一个零)。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>57</span></u>
|
||
if (sign) size--;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>58</span></u>
|
||
if (type&<u><span style='color:blue'>SPECIAL</span></u>)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>59</span></u>
|
||
if (base==16) size -= 2;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>60</span></u>
|
||
else if (base==8) size--;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果数值<span lang=EN-US>num</span>为<span
|
||
lang=EN-US>0</span>,则临时字符串<span lang=EN-US>='0'</span>;否则根据给定的基数将数值<span
|
||
lang=EN-US>num</span>转换成字符形式。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>61</span></u>
|
||
i=0;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>62</span></u>
|
||
if (num==0)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>63</span></u>
|
||
tmp[i++]=<i>'0'</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>64</span></u>
|
||
else while (num!=0)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>65</span></u>
|
||
tmp[i++]=digits[<u><span style='color:blue'>do_div</span></u>(num,base)];</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若数值字符个数大于精度值,则精度值扩展为数字个数值。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>宽度值<span lang=EN-US>size</span>减去用于存放数值字符的个数。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>66</span></u>
|
||
if (i>precision) precision=i;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>67</span></u>
|
||
size -= precision;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>从这里真正开始形成所需要的转换结果,并暂时放在字符串<span
|
||
lang=EN-US>str</span>中。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若类型中没有填零<span
|
||
lang=EN-US>(ZEROPAD)</span>和左靠齐(左调整)标志,则在<span lang=EN-US>str</span>中首先</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>填放剩余宽度值指出的空格数。若需带符号位,则存入符号。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>68</span></u>
|
||
if (!(type&(<u><span style='color:blue'>ZEROPAD</span></u>+<u><span
|
||
style='color:blue'>LEFT</span></u>)))</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>69</span></u>
|
||
while(size-->0)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>70</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>' '</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>71</span></u>
|
||
if (sign)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>72</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = sign;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若类型指出是特殊转换,则对于八进制转换结果头一位放置一个<span
|
||
lang=EN-US>'0'</span>;而对于十六进制则存放<span lang=EN-US>'0x'</span>。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>73</span></u>
|
||
if (type&<u><span style='color:blue'>SPECIAL</span></u>)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>74</span></u>
|
||
if (base==8)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>75</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>'0'</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>76</span></u>
|
||
else if (base==16) {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>77</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>'0'</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>78</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = digits[33]; // 'X'</span>或<span
|
||
lang=EN-US>'x'</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>79</span></u>
|
||
}</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若类型中没有左调整(左靠齐)标志,则在剩余宽度中存放<span
|
||
lang=EN-US>c</span>字符(<span lang=EN-US>'0'</span>或空格),见<span lang=EN-US>51</span>行。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>80</span></u>
|
||
if (!(type&<u><span style='color:blue'>LEFT</span></u>))</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>81</span></u>
|
||
while(size-->0)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>82</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = c;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>此时<span lang=EN-US>i</span>存有数值<span
|
||
lang=EN-US>num</span>的数字个数。若数字个数小于精度值,则<span lang=EN-US>str</span>中放入(精度值<span
|
||
lang=EN-US>-i</span>)个<span lang=EN-US>'0'</span>。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>83</span></u>
|
||
while(i<precision--)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>84</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>'0'</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>将数值转换好的数字字符填入<span
|
||
lang=EN-US>str</span>中。共<span lang=EN-US>i</span>个。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>85</span></u>
|
||
while(i-->0)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>86</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = tmp[i];</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若宽度值仍大于零,则表示类型标志中有左靠齐标志。则在剩余宽度中放入空格。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>87</span></u>
|
||
while(size-->0)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>88</span></u>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>' '</i>;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>89</span></u>
|
||
return <u><span style='color:blue'>str</span></u>; // </span>返回转换好的指向字符串末端后的指针。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>90</span></u> }</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>91</span></u> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>下面函数是送格式化输出到字符串中。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>为了能在内核中使用格式化的输出,<span
|
||
lang=EN-US>Linus</span>在内核实现了该<span lang=EN-US>C</span>标准函数。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>其中参数<span lang=EN-US>fmt</span>是格式字符串;<span
|
||
lang=EN-US>args</span>是个数变化的值;<span lang=EN-US>buf</span>是输出字符串缓冲区。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>请参见本代码列表后的有关格式转换字符的介绍。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>92</span></u> int
|
||
<u><span style='color:blue'>vsprintf</span></u>(char *<u><span
|
||
style='color:blue'>buf</span></u>, const char *fmt, <u><span style='color:blue'>va_list</span></u>
|
||
args)</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>93</span></u> {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>94</span></u>
|
||
int len;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>95</span></u>
|
||
int i;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>96</span></u>
|
||
char * <u><span style='color:blue'>str</span></u>;
|
||
// </span>用于存放转换过程中的字符串。</p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>97</span></u>
|
||
char *s;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>98</span></u>
|
||
int *ip;</span></p>
|
||
|
||
<p class=a><span lang=EN-US> <u><span style='color:blue'>99</span></u> </span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>100</span></u><span
|
||
lang=EN-US> int
|
||
flags;
|
||
<b><i>/* flags to number() */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>101</span></u><span
|
||
lang=EN-US> /*
|
||
number()</span>函数使用的标志<span lang=EN-US> */</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>102</span></u><span
|
||
lang=EN-US> int
|
||
field_width; <b><i>/* width of output
|
||
field */</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US>
|
||
/* </span>输出字段宽度<span lang=EN-US>*/</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>103</span></u><span
|
||
lang=EN-US> int
|
||
precision; <b><i>/* min.
|
||
# of digits for integers; max</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>104</span></u><span
|
||
lang=EN-US> <b><i> number
|
||
of chars for from string */</i></b></span></p>
|
||
|
||
<p class=a><span lang=EN-US>
|
||
/* min. </span>整数数字个数;<span lang=EN-US>max. </span>字符串中字符个数<span lang=EN-US> */</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>105</span></u><span
|
||
lang=EN-US> int
|
||
qualifier; <b><i>/* 'h',
|
||
'l', or 'L' for integer fields */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>106</span></u><span
|
||
lang=EN-US> /*
|
||
'h', 'l',</span>或<span lang=EN-US>'L'</span>用于整数字段<span lang=EN-US> */</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>首先将字符指针指向<span
|
||
lang=EN-US>buf</span>,然后扫描格式字符串,对各个格式转换指示进行相应的处理。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>107</span></u><span
|
||
lang=EN-US> for (<u><span
|
||
style='color:blue'>str</span></u>=<u><span style='color:blue'>buf</span></u> ;
|
||
*fmt ; ++fmt) {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>格式转换指示字符串均以<span
|
||
lang=EN-US>'%'</span>开始,这里从<span lang=EN-US>fmt</span>格式字符串中扫描<span lang=EN-US>'%'</span>,寻找格式转换字符串的开始。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>不是格式指示的一般字符均被依次存入<span
|
||
lang=EN-US>str</span>。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>108</span></u><span
|
||
lang=EN-US>
|
||
if (*fmt != <i>'%'</i>) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>109</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = *fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>110</span></u><span
|
||
lang=EN-US>
|
||
continue;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>111</span></u><span
|
||
lang=EN-US> }</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>112</span></u><span
|
||
lang=EN-US>
|
||
</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>下面取得格式指示字符串中的标志域,并将标志常量放入<span
|
||
lang=EN-US>flags</span>变量中。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>113</span></u><span
|
||
lang=EN-US>
|
||
<b><i>/* process flags */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>114</span></u><span
|
||
lang=EN-US>
|
||
flags = 0;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>115</span></u><span
|
||
lang=EN-US>
|
||
repeat:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>116</span></u><span
|
||
lang=EN-US>
|
||
++fmt; <b><i>/* this also
|
||
skips first '%' */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>117</span></u><span
|
||
lang=EN-US>
|
||
switch (*fmt) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>118</span></u><span
|
||
lang=EN-US>
|
||
case <i>'-'</i>: flags |= <u><span style='color:blue'>LEFT</span></u>; goto
|
||
repeat; // </span>左靠齐调整。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>119</span></u><span
|
||
lang=EN-US>
|
||
case <i>'+'</i>: flags |= <u><span style='color:blue'>PLUS</span></u>; goto
|
||
repeat; // </span>放加号。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>120</span></u><span
|
||
lang=EN-US>
|
||
case <i>' '</i>: flags |= <u><span style='color:blue'>SPACE</span></u>; goto
|
||
repeat; // </span>放空格。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>121</span></u><span
|
||
lang=EN-US>
|
||
case <i>'#'</i>: flags |= <u><span style='color:blue'>SPECIAL</span></u>; goto
|
||
repeat; // </span>是特殊转换。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>122</span></u><span
|
||
lang=EN-US>
|
||
case <i>''</i>: flags |= <u><span style='color:blue'>ZEROPAD</span></u>; goto
|
||
repeat; // </span>要填零<span lang=EN-US>(</span>即<span lang=EN-US>'0')</span>。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>123</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>124</span></u><span
|
||
lang=EN-US>
|
||
</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>取当前参数字段宽度域值,放入<span
|
||
lang=EN-US>field_width</span>变量中。如果宽度域中是数值则直接取其为宽度值。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果宽度域中是字符<span
|
||
lang=EN-US>'*'</span>,表示下一个参数指定宽度。因此调用<span lang=EN-US>va_arg</span>取宽度值。若此时宽度值</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>小于<span lang=EN-US>0</span>,则该负数表示其带有标志域<span
|
||
lang=EN-US>'-'</span>标志(左靠齐),因此还需在标志变量中添入该标志,并</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>将字段宽度值取为其绝对值。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>125</span></u><span
|
||
lang=EN-US>
|
||
<b><i>/* get field width */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>126</span></u><span
|
||
lang=EN-US>
|
||
field_width = -1;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>127</span></u><span
|
||
lang=EN-US>
|
||
if (<u><span style='color:blue'>is_digit</span></u>(*fmt))</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>128</span></u><span
|
||
lang=EN-US>
|
||
field_width = <u><span style='color:blue'>skip_atoi</span></u>(&fmt);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>129</span></u><span
|
||
lang=EN-US>
|
||
else if (*fmt == <i>'*'</i>) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>130</span></u><span
|
||
lang=EN-US>
|
||
<b><i>/* it's the next argument */</i></b> // </span>这里有个<span
|
||
lang=EN-US>bug</span>,应插入<span lang=EN-US>++fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>131</span></u><span
|
||
lang=EN-US>
|
||
field_width = <u><span style='color:blue'>va_arg</span></u>(args, int);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>132</span></u><span
|
||
lang=EN-US>
|
||
if (field_width < 0) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>133</span></u><span
|
||
lang=EN-US>
|
||
field_width = -field_width;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>134</span></u><span
|
||
lang=EN-US>
|
||
flags |= <u><span style='color:blue'>LEFT</span></u>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>135</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>136</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>137</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>下面这段代码,取格式转换串的精度域,并放入<span
|
||
lang=EN-US>precision</span>变量中。精度域开始的标志是<span lang=EN-US>'.'</span>。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>其处理过程与上面宽度域的类似。如果精度域中是数值则直接取其为精度值。如果精度域中是</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>字符<span lang=EN-US>'*'</span>,表示下一个参数指定精度。因此调用<span
|
||
lang=EN-US>va_arg</span>取精度值。若此时宽度值小于<span lang=EN-US>0</span>,则将</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>字段精度值取为<span
|
||
lang=EN-US>0</span>。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>138</span></u><span
|
||
lang=EN-US> <b><i>/*
|
||
get the precision */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>139</span></u><span
|
||
lang=EN-US>
|
||
precision = -1;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>140</span></u><span
|
||
lang=EN-US>
|
||
if (*fmt == <i>'.'</i>) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>141</span></u><span
|
||
lang=EN-US>
|
||
++fmt; </span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>142</span></u><span
|
||
lang=EN-US>
|
||
if (<u><span style='color:blue'>is_digit</span></u>(*fmt))</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>143</span></u><span
|
||
lang=EN-US>
|
||
precision = <u><span style='color:blue'>skip_atoi</span></u>(&fmt);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>144</span></u><span
|
||
lang=EN-US>
|
||
else if (*fmt == <i>'*'</i>) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>145</span></u><span
|
||
lang=EN-US>
|
||
<b><i>/* it's the next argument */</i></b> // </span>同上这里也应插入<span
|
||
lang=EN-US>++fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>146</span></u><span
|
||
lang=EN-US>
|
||
precision = <u><span style='color:blue'>va_arg</span></u>(args, int);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>147</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>148</span></u><span
|
||
lang=EN-US>
|
||
if (precision < 0)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>149</span></u><span
|
||
lang=EN-US>
|
||
precision = 0;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>150</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>151</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>下面这段代码分析长度修饰符,并将其存入<span
|
||
lang=EN-US>qualifer</span>变量。(<span lang=EN-US>h,l,L</span>的含义参见列表后的说明)。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>152</span></u><span
|
||
lang=EN-US>
|
||
<b><i>/* get the conversion qualifier */</i></b></span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>153</span></u><span
|
||
lang=EN-US>
|
||
qualifier = -1;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>154</span></u><span
|
||
lang=EN-US>
|
||
if (*fmt == <i>'h'</i> || *fmt == <i>'l'</i> || *fmt == <i>'L'</i>) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>155</span></u><span
|
||
lang=EN-US>
|
||
qualifier = *fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>156</span></u><span
|
||
lang=EN-US>
|
||
++fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>157</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>158</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>下面分析转换指示符。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>159</span></u><span
|
||
lang=EN-US>
|
||
switch (*fmt) {</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果转换指示符是<span
|
||
lang=EN-US>'c'</span>,则表示对应参数应是字符。此时如果标志域表明不是左靠齐,则该字段前面</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>放入<span lang=EN-US>'</span>宽度域值<span
|
||
lang=EN-US>-1'</span>个空格字符,然后再放入参数字符。如果宽度域还大于<span lang=EN-US>0</span>,则表示为左靠齐,则在</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>参数字符后面添加<span
|
||
lang=EN-US>'</span>宽度值<span lang=EN-US>-1'</span>个空格字符。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>160</span></u><span
|
||
lang=EN-US>
|
||
case <i>'c'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>161</span></u><span
|
||
lang=EN-US>
|
||
if (!(flags & <u><span style='color:blue'>LEFT</span></u>))</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>162</span></u><span
|
||
lang=EN-US>
|
||
while (--field_width > 0)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>163</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>' '</i>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>164</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = (unsigned char) <u><span
|
||
style='color:blue'>va_arg</span></u>(args, int);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>165</span></u><span
|
||
lang=EN-US>
|
||
while (--field_width > 0)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>166</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>' '</i>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>167</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>168</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果转换指示符是<span
|
||
lang=EN-US>'s'</span>,则表示对应参数是字符串。首先取参数字符串的长度,若其超过了精度域值,</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>则扩展精度域<span
|
||
lang=EN-US>=</span>字符串长度。此时如果标志域表明不是左靠齐,则该字段前放入<span lang=EN-US>'</span>宽度值<span
|
||
lang=EN-US>-</span>字符串长度<span lang=EN-US>'</span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>个空格字符。然后再放入参数字符串。如果宽度域还大于<span
|
||
lang=EN-US>0</span>,则表示为左靠齐,则在参数字符串后面</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>添加<span lang=EN-US>'</span>宽度值<span
|
||
lang=EN-US>-</span>字符串长度<span lang=EN-US>'</span>个空格字符。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>169</span></u><span
|
||
lang=EN-US>
|
||
case <i>'s'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>170</span></u><span
|
||
lang=EN-US>
|
||
s = <u><span style='color:blue'>va_arg</span></u>(args, char *);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>171</span></u><span
|
||
lang=EN-US>
|
||
len = <u><span style='color:blue'>strlen</span></u>(s);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>172</span></u><span
|
||
lang=EN-US>
|
||
if (precision < 0)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>173</span></u><span
|
||
lang=EN-US>
|
||
precision = len;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>174</span></u><span
|
||
lang=EN-US>
|
||
else if (len > precision)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>175</span></u><span
|
||
lang=EN-US>
|
||
len = precision;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>176</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>177</span></u><span
|
||
lang=EN-US>
|
||
if (!(flags & <u><span style='color:blue'>LEFT</span></u>))</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>178</span></u><span
|
||
lang=EN-US>
|
||
while (len < field_width--)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>179</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>' '</i>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>180</span></u><span
|
||
lang=EN-US>
|
||
for (i = 0; i < len; ++i)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>181</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = *s++;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>182</span></u><span
|
||
lang=EN-US>
|
||
while (len < field_width--)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>183</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>' '</i>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>184</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>185</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果格式转换符是<span
|
||
lang=EN-US>'o'</span>,表示需将对应的参数转换成八进制数的字符串。调用<span lang=EN-US>number()</span>函数处理。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>186</span></u><span
|
||
lang=EN-US>
|
||
case <i>'o'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>187</span></u><span
|
||
lang=EN-US>
|
||
<u><span style='color:blue'>str</span></u> = <u><span style='color:blue'>number</span></u>(<u><span
|
||
style='color:blue'>str</span></u>, <u><span style='color:blue'>va_arg</span></u>(args,
|
||
unsigned long), 8,</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>188</span></u><span
|
||
lang=EN-US>
|
||
field_width, precision, flags);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>189</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>190</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果格式转换符是<span
|
||
lang=EN-US>'p'</span>,表示对应参数是一个指针类型。此时若该参数没有设置宽度域,则默认宽度</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>为<span lang=EN-US>8</span>,并且需要添零。然后调用<span
|
||
lang=EN-US>number()</span>函数进行处理。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>191</span></u><span
|
||
lang=EN-US>
|
||
case <i>'p'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>192</span></u><span
|
||
lang=EN-US>
|
||
if (field_width == -1) {</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>193</span></u><span
|
||
lang=EN-US>
|
||
field_width = 8;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>194</span></u><span
|
||
lang=EN-US>
|
||
flags |= <u><span style='color:blue'>ZEROPAD</span></u>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>195</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>196</span></u><span
|
||
lang=EN-US>
|
||
<u><span style='color:blue'>str</span></u> = <u><span style='color:blue'>number</span></u>(<u><span
|
||
style='color:blue'>str</span></u>,</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>197</span></u><span
|
||
lang=EN-US>
|
||
(unsigned long) <u><span style='color:blue'>va_arg</span></u>(args, void *),
|
||
16,</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>198</span></u><span
|
||
lang=EN-US>
|
||
field_width, precision, flags);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>199</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>200</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若格式转换指示是<span
|
||
lang=EN-US>'x'</span>或<span lang=EN-US>'X'</span>,则表示对应参数需要打印成十六进制数输出。<span
|
||
lang=EN-US>'x'</span>表示用小写字母表示。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>201</span></u><span
|
||
lang=EN-US>
|
||
case <i>'x'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>202</span></u><span
|
||
lang=EN-US>
|
||
flags |= <u><span style='color:blue'>SMALL</span></u>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>203</span></u><span
|
||
lang=EN-US>
|
||
case <i>'X'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>204</span></u><span
|
||
lang=EN-US>
|
||
<u><span style='color:blue'>str</span></u> = <u><span style='color:blue'>number</span></u>(<u><span
|
||
style='color:blue'>str</span></u>, <u><span style='color:blue'>va_arg</span></u>(args,
|
||
unsigned long), 16,</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>205</span></u><span
|
||
lang=EN-US>
|
||
field_width, precision, flags);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>206</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>207</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果格式转换字符是<span
|
||
lang=EN-US>'d','i'</span>或<span lang=EN-US>'u'</span>,则表示对应参数是整数,<span
|
||
lang=EN-US>'d', 'i'</span>代表符号整数,因此需要加上</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>带符号标志。<span
|
||
lang=EN-US>'u'</span>代表无符号整数。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>208</span></u><span
|
||
lang=EN-US>
|
||
case <i>'d'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>209</span></u><span
|
||
lang=EN-US>
|
||
case <i>'i'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>210</span></u><span
|
||
lang=EN-US>
|
||
flags |= <u><span style='color:blue'>SIGN</span></u>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>211</span></u><span
|
||
lang=EN-US>
|
||
case <i>'u'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>212</span></u><span
|
||
lang=EN-US>
|
||
<u><span style='color:blue'>str</span></u> = <u><span style='color:blue'>number</span></u>(<u><span
|
||
style='color:blue'>str</span></u>, <u><span style='color:blue'>va_arg</span></u>(args,
|
||
unsigned long), 10,</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>213</span></u><span
|
||
lang=EN-US>
|
||
field_width, precision, flags);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>214</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>215</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若格式转换指示符是<span
|
||
lang=EN-US>'n'</span>,则表示要把到目前为止转换输出字符数保存到对应参数指针指定的位置中。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>首先利用<span lang=EN-US>va_arg()</span>取得该参数指针,然后将已经转换好的字符数存入该指针所指的位置。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>216</span></u><span
|
||
lang=EN-US>
|
||
case <i>'n'</i>:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>217</span></u><span
|
||
lang=EN-US>
|
||
ip = <u><span style='color:blue'>va_arg</span></u>(args, int *);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>218</span></u><span
|
||
lang=EN-US>
|
||
*ip = (<u><span style='color:blue'>str</span></u> - <u><span style='color:blue'>buf</span></u>);</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>219</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>220</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>若格式转换符不是<span
|
||
lang=EN-US>'%'</span>,则表示格式字符串有错,直接将一个<span lang=EN-US>'%'</span>写入输出串中。</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>如果格式转换符的位置处还有字符,则也直接将该字符写入输出串中,并返回到<span
|
||
lang=EN-US>107</span>行继续处理</p>
|
||
|
||
<p class=a><span lang=EN-US> // </span>格式字符串。否则表示已经处理到格式字符串的结尾处,则退出循环。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>221</span></u><span
|
||
lang=EN-US>
|
||
default:</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>222</span></u><span
|
||
lang=EN-US>
|
||
if (*fmt != <i>'%'</i>)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>223</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = <i>'%'</i>;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>224</span></u><span
|
||
lang=EN-US>
|
||
if (*fmt)</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>225</span></u><span
|
||
lang=EN-US>
|
||
*<u><span style='color:blue'>str</span></u>++ = *fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>226</span></u><span
|
||
lang=EN-US>
|
||
else</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>227</span></u><span
|
||
lang=EN-US>
|
||
--fmt;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>228</span></u><span
|
||
lang=EN-US>
|
||
break;</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>229</span></u><span
|
||
lang=EN-US>
|
||
}</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>230</span></u><span
|
||
lang=EN-US> }</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>231</span></u><span
|
||
lang=EN-US> *<u><span
|
||
style='color:blue'>str</span></u> = <i>'\0'</i>;
|
||
// </span>最后在转换好的字符串结尾处添上<span lang=EN-US>null</span>。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>232</span></u><span
|
||
lang=EN-US> return <u><span
|
||
style='color:blue'>str</span></u>-<u><span style='color:blue'>buf</span></u>;
|
||
// </span>返回转换好的字符串长度值。</p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>233</span></u><span
|
||
lang=EN-US> }</span></p>
|
||
|
||
<p class=a><u><span lang=EN-US style='color:blue'>234</span></u><span
|
||
lang=EN-US> </span></p>
|
||
|
||
<div class=a align=center style='text-align:center'><span lang=EN-US>
|
||
|
||
<hr size=4 width="100%" align=center>
|
||
|
||
</span></div>
|
||
|
||
<p class=MsoNormal><span lang=EN-US> </span></p>
|
||
|
||
</div>
|
||
|
||
</body>
|
||
|
||
</html>
|