Searched refs:_strptime (Results 1 - 5 of 5) sorted by relevance

/macosx-10.9.5/ruby-104/ruby/test/date/
H A Dtest_date_strptime.rb75 assert_equal(s[1], Date._strptime(s[0], f), [f, s].inspect)
79 assert_equal(s[1], Date._strptime(s[0], f2), [f2, s].inspect)
82 assert_equal(nil, Date._strptime(s[0], f2), [f2, s].inspect)
83 assert_equal({}, Date._strptime(f2, f2), [f2, s].inspect)
88 assert_equal(s[1], Date._strptime(s[0], f2), [f2, s].inspect)
91 assert_equal(nil, Date._strptime(s[0], f2), [f2, s].inspect)
92 assert_equal({}, Date._strptime(f2, f2), [f2, s].inspect)
98 h = Date._strptime('2001-02-03')
101 h = DateTime._strptime('2001-02-03T12:13:14Z')
105 assert_equal({}, Date._strptime('', ''))
[all...]
H A Dtest_switch_hitter.rb575 h = Date._strptime('15:43+09:00', '%R%z')
577 h = Date._strptime('15:43+09:00'.taint, '%R%z')
580 h = Date._strptime('1;1/0', '%d')
582 h = Date._strptime('1;1/0'.taint, '%d')
617 h = Date._strptime('15:43+09:00'.force_encoding('euc-jp'), '%R%z')
619 h = Date._strptime('15:43+09:00'.force_encoding('ascii-8bit'), '%R%z')
622 h = Date._strptime('1;1/0'.force_encoding('euc-jp'), '%d')
624 h = Date._strptime('1;1/0'.force_encoding('ascii-8bit'), '%d')
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dstrptime.c57 static char *_strptime(const char *, const char *, struct tm *, int);
63 return(_strptime(buf, fmt, tm, 1));
67 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) function
126 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0)))
132 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0)))
138 if (!(bp = _strptime(bp, "%H:%M", tm, 0)))
144 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, 0)))
150 if (!(bp = _strptime(bp, "%H:%M:%S", tm, 0)))
156 if (!(bp = _strptime(bp, _ctloc(t_fmt), tm, 0)))
162 if (!(bp = _strptime(b
[all...]
/macosx-10.9.5/Libc-997.90.3/stdtime/FreeBSD/
H A Dstrptime.c86 #define _strptime(b,f,t,c,l) _strptime0(b,f,t,c,l,-1,0,-1,-1,'U') macro
169 buf = _strptime(buf, tptr->date_fmt, tm, convp, loc);
196 buf = _strptime(buf, tptr->c_fmt, tm, convp, loc);
202 buf = _strptime(buf, "%m/%d/%y", tm, convp, loc);
220 buf = _strptime(buf, "%Y-%m-%d", tm, convp, loc);
226 buf = _strptime(buf, "%H:%M", tm, convp, loc);
232 buf = _strptime(buf, tptr->ampm_fmt, tm, convp, loc);
246 buf = _strptime(buf, "%H:%M:%S", tm, convp, loc);
252 buf = _strptime(buf, tptr->X_fmt, tm, convp, loc);
258 buf = _strptime(bu
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/
H A Dtime.rb18 # * custom formats handled by Date._strptime
335 # Parses +date+ using Date._strptime and converts it to a Time object.
393 d = Date._strptime(date, format)

Completed in 110 milliseconds