Home
last modified time | relevance | path

Searched refs:second_part (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/dports/mail/alpine/alpine-465e23b/pith/osdep/
H A Dbldpath.c64 if(!first_part || is_rooted_path(second_part)){ in build_path()
65 if(second_part) in build_path()
66 strncpy(pathbuf, second_part, len-1); in build_path()
78 if(second_part){ in build_path()
80 if(*second_part == '\\') /* and second starts with \ */ in build_path()
81 second_part++; /* else just append second */ in build_path()
83 else if(*second_part != '\\') /* no slash at all, so */ in build_path()
86 while(pathbuf-orig_pathbuf < len-1 && *second_part) in build_path()
87 *pathbuf++ = *second_part++; in build_path()
98 if(second_part){ in build_path()
[all …]
/dports/editors/pico-alpine/alpine-465e23b/pith/osdep/
H A Dbldpath.c64 if(!first_part || is_rooted_path(second_part)){ in build_path()
65 if(second_part) in build_path()
66 strncpy(pathbuf, second_part, len-1); in build_path()
78 if(second_part){ in build_path()
80 if(*second_part == '\\') /* and second starts with \ */ in build_path()
81 second_part++; /* else just append second */ in build_path()
83 else if(*second_part != '\\') /* no slash at all, so */ in build_path()
86 while(pathbuf-orig_pathbuf < len-1 && *second_part) in build_path()
87 *pathbuf++ = *second_part++; in build_path()
98 if(second_part){ in build_path()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/unittest/gunit/
H A Ditem_timefunc-t.cc79 unsigned long second_part; member
137 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
147 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
148 int decs= ltime->second_part; in testItemTimeFunctions()
166 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
186 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/unittest/gunit/
H A Ditem_timefunc-t.cc79 unsigned long second_part; member
137 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
147 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
148 int decs= ltime->second_part; in testItemTimeFunctions()
166 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
186 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/unittest/gunit/
H A Ditem_timefunc-t.cc79 unsigned long second_part; member
137 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
147 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
148 int decs= ltime->second_part; in testItemTimeFunctions()
166 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
186 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/unittest/gunit/
H A Ditem_timefunc-t.cc79 unsigned long second_part; member
137 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
147 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
148 int decs= ltime->second_part; in testItemTimeFunctions()
166 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
186 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/mysql56-client/mysql-5.6.51/unittest/gunit/
H A Ditem_timefunc-t.cc79 unsigned long second_part; member
137 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
147 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
148 int decs= ltime->second_part; in testItemTimeFunctions()
166 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
186 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/unittest/gunit/
H A Ditem_timefunc-t.cc76 unsigned long second_part; member
127 double d = mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
137 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
138 int decs = ltime->second_part; in testItemTimeFunctions()
154 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
178 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
238 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
H A Dmysys_my_time-t.cc133 EXPECT_EQ(0, tr.t.second_part); in TEST()
136 EXPECT_EQ(0, tr.t.second_part); in TEST()
139 EXPECT_EQ(0, tr.t.second_part); in TEST()
142 EXPECT_EQ(0, tr.t.second_part); in TEST()
145 EXPECT_EQ(0, tr.t.second_part); in TEST()
148 EXPECT_EQ(0, tr.t.second_part); in TEST()
151 EXPECT_EQ(0, tr.t.second_part); in TEST()
159 EXPECT_EQ(0, tr.t.second_part); in TEST()
167 EXPECT_EQ(0, tr.t.second_part); in TEST()
175 EXPECT_EQ(0, tr.t.second_part); in TEST()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/unittest/gunit/
H A Ditem_timefunc-t.cc82 unsigned long second_part; member
140 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
150 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
151 int decs= ltime->second_part; in testItemTimeFunctions()
169 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
194 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/unittest/gunit/
H A Ditem_timefunc-t.cc82 unsigned long second_part; member
140 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
150 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
151 int decs= ltime->second_part; in testItemTimeFunctions()
169 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
194 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/percona57-server/percona-server-5.7.36-39/unittest/gunit/
H A Ditem_timefunc-t.cc82 unsigned long second_part; member
140 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
150 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
151 int decs= ltime->second_part; in testItemTimeFunctions()
169 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
194 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/percona57-client/percona-server-5.7.36-39/unittest/gunit/
H A Ditem_timefunc-t.cc82 unsigned long second_part; member
140 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
150 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
151 int decs= ltime->second_part; in testItemTimeFunctions()
169 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
194 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/unittest/gunit/
H A Ditem_timefunc-t.cc82 unsigned long second_part; member
140 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
150 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
151 int decs= ltime->second_part; in testItemTimeFunctions()
169 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
194 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/unittest/gunit/
H A Ditem_timefunc-t.cc82 unsigned long second_part; member
140 double d= mysql_time + ltime->second_part / 1000000.0; in testItemTimeFunctions()
150 if (ltime->second_part > 0) { // Avoid trailing zeroes in testItemTimeFunctions()
151 int decs= ltime->second_part; in testItemTimeFunctions()
169 EXPECT_EQ(ltime->second_part, ldate.second_part); in testItemTimeFunctions()
194 EXPECT_EQ(m_t.second_part, ltime.second_part); in TEST_P()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/plugin/x/protocol/encoders/
H A Dencoding_xrow.h166 assert(value->second_part < 1000000); in field_datetime()
176 if (value->hour || value->minute || value->second || value->second_part) { in field_datetime()
178 if (value->minute || value->second || value->second_part) { in field_datetime()
180 if (value->second || value->second_part) { in field_datetime()
182 if (value->second_part) { in field_datetime()
183 m_encoder->encode_var_uint32(value->second_part); in field_datetime()
194 assert(value->second_part < 1000000); in field_time()
207 if (value->minute || value->second || value->second_part) { in field_time()
209 if (value->second || value->second_part) { in field_time()
211 if (value->second_part) { in field_time()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/include/
H A Dmy_time.h221 static inline longlong sec_part_shift(longlong second_part, uint digits) in sec_part_shift() argument
223 return second_part / (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits]; in sec_part_shift()
225 static inline longlong sec_part_unshift(longlong second_part, uint digits) in sec_part_unshift() argument
227 return second_part * (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits]; in sec_part_unshift()
238 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals); in my_datetime_trunc()
242 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals); in my_time_trunc()
243 if (!ltime->second_part && ltime->neg && in my_time_trunc()
/dports/databases/mariadb104-server/mariadb-10.4.24/include/
H A Dmy_time.h221 static inline longlong sec_part_shift(longlong second_part, uint digits)
223 return second_part / (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits];
225 static inline longlong sec_part_unshift(longlong second_part, uint digits)
227 return second_part * (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits];
238 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals);
242 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals);
243 if (!ltime->second_part && ltime->neg &&
/dports/databases/mariadb104-client/mariadb-10.4.24/include/
H A Dmy_time.h221 static inline longlong sec_part_shift(longlong second_part, uint digits) in sec_part_shift() argument
223 return second_part / (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits]; in sec_part_shift()
225 static inline longlong sec_part_unshift(longlong second_part, uint digits) in sec_part_unshift() argument
227 return second_part * (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits]; in sec_part_unshift()
238 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals); in my_datetime_trunc()
242 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals); in my_time_trunc()
243 if (!ltime->second_part && ltime->neg && in my_time_trunc()
/dports/databases/mariadb105-server/mariadb-10.5.15/include/
H A Dmy_time.h221 static inline longlong sec_part_shift(longlong second_part, uint digits) in sec_part_shift() argument
223 return second_part / (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits]; in sec_part_shift()
225 static inline longlong sec_part_unshift(longlong second_part, uint digits) in sec_part_unshift() argument
227 return second_part * (longlong)log_10_int[TIME_SECOND_PART_DIGITS - digits]; in sec_part_unshift()
238 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals); in my_datetime_trunc()
242 ltime->second_part-= my_time_fraction_remainder(ltime->second_part, decimals); in my_time_trunc()
243 if (!ltime->second_part && ltime->neg && in my_time_trunc()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/
H A Dmy_time.cc909 l_time->second_part = date[4]; in str_to_time()
974 ltime->second_part = 0; in number_to_time()
1019 my_time.second_part = 0; in my_init_time()
2308 microseconds = ltime->second_part + sign * interval.second_part; in date_add_interval()
2426 if (ltime->second_part == 0) ltime->second_part = nanoseconds / 1000; in time_add_nanoseconds_with_truncate()
2446 if (ltime->second_part == 0) ltime->second_part = nanoseconds / 1000; in datetime_add_nanoseconds_with_truncate()
2469 ltime->second_part %= 1000000; in time_add_nanoseconds_with_round()
2651 ldate->second_part = my_time.second_part; in mix_date_and_time()
2682 to->second_part = 0; in localtime_to_TIME()
2793 if (my_time_a.second_part < my_time_b.second_part) return -1; in my_time_compare()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dsql_time.cc317 if (ltime->second_part < 1000000) in time_add_nanoseconds_with_round()
320 ltime->second_part%= 1000000; in time_add_nanoseconds_with_round()
364 if (ltime->second_part < 1000000) in datetime_add_nanoseconds_with_round()
367 ltime->second_part%= 1000000; in datetime_add_nanoseconds_with_round()
717 tm->tv_usec= ltime->second_part; in datetime_with_no_zero_in_date_to_timeval()
799 to->second_part=0; in localtime_to_TIME()
821 to->second_part= microseconds; in calc_time_from_sec()
1322 microseconds= ltime->second_part + sign*interval.second_part; in date_add_interval()
1507 if (a->second_part < b->second_part) in my_time_compare()
1509 if (a->second_part > b->second_part) in my_time_compare()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dsql_time.cc317 if (ltime->second_part < 1000000) in time_add_nanoseconds_with_round()
320 ltime->second_part%= 1000000; in time_add_nanoseconds_with_round()
364 if (ltime->second_part < 1000000) in datetime_add_nanoseconds_with_round()
367 ltime->second_part%= 1000000; in datetime_add_nanoseconds_with_round()
717 tm->tv_usec= ltime->second_part; in datetime_with_no_zero_in_date_to_timeval()
799 to->second_part=0; in localtime_to_TIME()
821 to->second_part= microseconds; in calc_time_from_sec()
1322 microseconds= ltime->second_part + sign*interval.second_part; in date_add_interval()
1507 if (a->second_part < b->second_part) in my_time_compare()
1509 if (a->second_part > b->second_part) in my_time_compare()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dsql_time.cc317 if (ltime->second_part < 1000000) in time_add_nanoseconds_with_round()
320 ltime->second_part%= 1000000; in time_add_nanoseconds_with_round()
364 if (ltime->second_part < 1000000) in datetime_add_nanoseconds_with_round()
367 ltime->second_part%= 1000000; in datetime_add_nanoseconds_with_round()
717 tm->tv_usec= ltime->second_part; in datetime_with_no_zero_in_date_to_timeval()
799 to->second_part=0; in localtime_to_TIME()
821 to->second_part= microseconds; in calc_time_from_sec()
1322 microseconds= ltime->second_part + sign*interval.second_part; in date_add_interval()
1507 if (a->second_part < b->second_part) in my_time_compare()
1509 if (a->second_part > b->second_part) in my_time_compare()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Dsql_time.cc317 if (ltime->second_part < 1000000) in time_add_nanoseconds_with_round()
320 ltime->second_part%= 1000000; in time_add_nanoseconds_with_round()
364 if (ltime->second_part < 1000000) in datetime_add_nanoseconds_with_round()
367 ltime->second_part%= 1000000; in datetime_add_nanoseconds_with_round()
717 tm->tv_usec= ltime->second_part; in datetime_with_no_zero_in_date_to_timeval()
799 to->second_part=0; in localtime_to_TIME()
821 to->second_part= microseconds; in calc_time_from_sec()
1322 microseconds= ltime->second_part + sign*interval.second_part; in date_add_interval()
1507 if (a->second_part < b->second_part) in my_time_compare()
1509 if (a->second_part > b->second_part) in my_time_compare()
[all …]

12345678910>>...35