Lines Matching refs:result
56 u_int32_t result;
85 result = tim.tm_sec; /*%< Seconds */
86 result += tim.tm_min * 60; /*%< Minutes */
87 result += tim.tm_hour * (60*60); /*%< Hours */
88 result += (tim.tm_mday - 1) * SECS_PER_DAY; /*%< Days */
93 result += mdays * SECS_PER_DAY; /*%< Months */
95 result += SECS_PER_DAY; /*%< Add leapday for this year */
98 result += (tim.tm_year - 70) * (SECS_PER_DAY*365); /*%< Years */
101 result += SECS_PER_DAY; /*%< Add leapday for prev year */
102 return (result);
113 int result = 0;
119 result = (result * 10) + buf[i] - '0';
121 if (result < min)
123 if (result > max)
125 return (result);