Lines Matching +full:trim +full:- +full:config
2 Copyright (C) 2008-2018 Free Software Foundation, Inc.
18 #include <config.h>
21 #include "parse-duration.h"
93 if (base > MAX_DURATION - val) in scale_n_add()
165 /* Parses the syntax YEAR-MONTH-DAY.
166 PS points into the string, after "YEAR", before "-MONTH-DAY". */
174 pz++; /* over the first '-' */ in parse_year_month_day()
175 ps = strchr (pz, '-'); in parse_year_month_day()
183 pz++; /* over the second '-' */ in parse_year_month_day()
388 trim (char * pz) in trim() function
390 /* trim leading white space */ in trim()
394 /* trim trailing white space */ in trim()
397 while ((pe > pz) && isspace ((unsigned char)pe[-1])) in trim()
398 pe--; in trim()
427 pz = trim (pz); in parse_period()
428 pT = trim (pT); in parse_period()
434 ps = strchr (pz, '-'); in parse_period()
601 * c-file-style: "gnu"
602 * indent-tabs-mode: nil
604 * end of parse-duration.c */