Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/libxslt/libexslt/math.c

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxslt/libexslt/libexslt.3 ('k') | third_party/libxslt/libexslt/saxon.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxslt/libexslt/math.c
diff --git a/third_party/libxslt/libexslt/math.c b/third_party/libxslt/libexslt/math.c
index a1971e0598adea06909166ab1aad174117dc18ed..6b24dbe0d9c143cb4ed5cc13c5d2483a22011244 100644
--- a/third_party/libxslt/libexslt/math.c
+++ b/third_party/libxslt/libexslt/math.c
@@ -298,7 +298,7 @@ static void
exsltMathLowestFunction (xmlXPathParserContextPtr ctxt, int nargs) {
xmlNodeSetPtr ns, ret;
void *user = NULL;
-
+
if (nargs != 1) {
xmlXPathSetArityError(ctxt);
@@ -368,7 +368,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_PI, 0, len);
} else if (xmlStrEqual(name, BAD_CAST "E")) {
@@ -376,7 +376,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_E, 0, len);
} else if (xmlStrEqual(name, BAD_CAST "SQRRT2")) {
@@ -384,7 +384,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_SQRRT2, 0, len);
} else if (xmlStrEqual(name, BAD_CAST "LN2")) {
@@ -392,7 +392,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_LN2, 0, len);
} else if (xmlStrEqual(name, BAD_CAST "LN10")) {
@@ -400,7 +400,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_LN10, 0, len);
} else if (xmlStrEqual(name, BAD_CAST "LOG2E")) {
@@ -408,7 +408,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_LOG2E, 0, len);
} else if (xmlStrEqual(name, BAD_CAST "SQRT1_2")) {
@@ -416,7 +416,7 @@ exsltMathConstant (xmlChar *name, double precision) {
if (precision <= len)
len = (int)precision;
-
+
str = xmlStrsub(EXSLT_SQRT1_2, 0, len);
} else {
« no previous file with comments | « third_party/libxslt/libexslt/libexslt.3 ('k') | third_party/libxslt/libexslt/saxon.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698