Home
last modified time | relevance | path

Searched refs:time_in_units (Results 1 – 6 of 6) sorted by relevance

/dports/devel/grpc134/grpc-1.34.1/src/core/lib/gpr/
H A Dtime.cc70 static gpr_timespec to_seconds_from_sub_second_time(int64_t time_in_units, in to_seconds_from_sub_second_time() argument
74 if (time_in_units == INT64_MAX) { in to_seconds_from_sub_second_time()
76 } else if (time_in_units == INT64_MIN) { in to_seconds_from_sub_second_time()
79 if (time_in_units >= 0) { in to_seconds_from_sub_second_time()
80 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()
82 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()
87 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()
94 static gpr_timespec to_seconds_from_above_second_time(int64_t time_in_units, in to_seconds_from_above_second_time() argument
98 if (time_in_units >= INT64_MAX / secs_per_unit) { in to_seconds_from_above_second_time()
100 } else if (time_in_units <= INT64_MIN / secs_per_unit) { in to_seconds_from_above_second_time()
[all …]
/dports/devel/grpc130/grpc-1.30.2/src/core/lib/gpr/
H A Dtime.cc70 static gpr_timespec to_seconds_from_sub_second_time(int64_t time_in_units, in to_seconds_from_sub_second_time() argument
74 if (time_in_units == INT64_MAX) { in to_seconds_from_sub_second_time()
76 } else if (time_in_units == INT64_MIN) { in to_seconds_from_sub_second_time()
79 if (time_in_units >= 0) { in to_seconds_from_sub_second_time()
80 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()
82 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()
87 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()
94 static gpr_timespec to_seconds_from_above_second_time(int64_t time_in_units, in to_seconds_from_above_second_time() argument
98 if (time_in_units >= INT64_MAX / secs_per_unit) { in to_seconds_from_above_second_time()
100 } else if (time_in_units <= INT64_MIN / secs_per_unit) { in to_seconds_from_above_second_time()
[all …]
/dports/devel/grpc/grpc-1.42.0/src/core/lib/gpr/
H A Dtime.cc71 static gpr_timespec to_seconds_from_sub_second_time(int64_t time_in_units, in to_seconds_from_sub_second_time() argument
75 if (time_in_units == INT64_MAX) { in to_seconds_from_sub_second_time()
77 } else if (time_in_units == INT64_MIN) { in to_seconds_from_sub_second_time()
80 if (time_in_units >= 0) { in to_seconds_from_sub_second_time()
81 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()
83 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()
88 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()
95 static gpr_timespec to_seconds_from_above_second_time(int64_t time_in_units, in to_seconds_from_above_second_time() argument
99 if (time_in_units >= INT64_MAX / secs_per_unit) { in to_seconds_from_above_second_time()
101 } else if (time_in_units <= INT64_MIN / secs_per_unit) { in to_seconds_from_above_second_time()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/lib/gpr/
H A Dtime.cc70 static gpr_timespec to_seconds_from_sub_second_time(int64_t time_in_units, in to_seconds_from_sub_second_time() argument
74 if (time_in_units == INT64_MAX) { in to_seconds_from_sub_second_time()
76 } else if (time_in_units == INT64_MIN) { in to_seconds_from_sub_second_time()
79 if (time_in_units >= 0) { in to_seconds_from_sub_second_time()
80 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()
82 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()
87 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()
94 static gpr_timespec to_seconds_from_above_second_time(int64_t time_in_units, in to_seconds_from_above_second_time() argument
98 if (time_in_units >= INT64_MAX / secs_per_unit) { in to_seconds_from_above_second_time()
100 } else if (time_in_units <= INT64_MIN / secs_per_unit) { in to_seconds_from_above_second_time()
[all …]
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/lib/gpr/
H A Dtime.cc71 static gpr_timespec to_seconds_from_sub_second_time(int64_t time_in_units, in to_seconds_from_sub_second_time() argument
75 if (time_in_units == INT64_MAX) { in to_seconds_from_sub_second_time()
77 } else if (time_in_units == INT64_MIN) { in to_seconds_from_sub_second_time()
80 if (time_in_units >= 0) { in to_seconds_from_sub_second_time()
81 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()
83 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()
88 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()
95 static gpr_timespec to_seconds_from_above_second_time(int64_t time_in_units, in to_seconds_from_above_second_time() argument
99 if (time_in_units >= INT64_MAX / secs_per_unit) { in to_seconds_from_above_second_time()
101 } else if (time_in_units <= INT64_MIN / secs_per_unit) { in to_seconds_from_above_second_time()
[all …]
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/lib/gpr/
H A Dtime.cc71 static gpr_timespec to_seconds_from_sub_second_time(int64_t time_in_units, in to_seconds_from_sub_second_time() argument
75 if (time_in_units == INT64_MAX) { in to_seconds_from_sub_second_time()
77 } else if (time_in_units == INT64_MIN) { in to_seconds_from_sub_second_time()
80 if (time_in_units >= 0) { in to_seconds_from_sub_second_time()
81 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()
83 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()
88 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()
95 static gpr_timespec to_seconds_from_above_second_time(int64_t time_in_units, in to_seconds_from_above_second_time() argument
99 if (time_in_units >= INT64_MAX / secs_per_unit) { in to_seconds_from_above_second_time()
101 } else if (time_in_units <= INT64_MIN / secs_per_unit) { in to_seconds_from_above_second_time()
[all …]