/dports/lang/ruby26/ruby-2.6.9/ |
H A D | time.c | 630 VALUE rb_cTime; variable 2450 return time_new_timew(rb_cTime, timew); in rb_time_new() 5236 VALUE dup = time_s_alloc(rb_cTime); in tm_to_time() 5248 return time_s_mkutc(numberof(t), t, rb_cTime); in tm_to_time() 5539 rb_cTime = rb_define_class("Time", rb_cObject); in Init_Time() 5540 rb_include_module(rb_cTime, rb_mComparable); in Init_Time() 5542 rb_define_alloc_func(rb_cTime, time_s_alloc); in Init_Time() 5553 rb_define_method(rb_cTime, "<=>", time_cmp, 1); in Init_Time() 5572 rb_define_method(rb_cTime, "+", time_plus, 1); in Init_Time() 5573 rb_define_method(rb_cTime, "-", time_minus, 1); in Init_Time() [all …]
|
H A D | range.c | 297 if (rb_obj_is_kind_of(obj, rb_cTime)) return FALSE; /* until Time#succ removed */ in discrete_object_p() 312 if (rb_obj_is_kind_of(obj, rb_cTime)) return TRUE; in linear_object_p()
|
H A D | vm.c | 1549 if (klass == rb_cTime) return TIME_REDEFINED_OP_FLAG; in vm_redefinition_check_flag()
|
/dports/lang/ruby26/ruby-2.6.9/ext/-test-/time/ |
H A D | init.c | 9 VALUE klass = rb_define_class_under(mBug, "Time", rb_cTime); in Init_time()
|
/dports/lang/ruby26/ruby-2.6.9/ext/openssl/ |
H A D | ossl_ssl_session.c | 148 return rb_funcall(rb_cTime, rb_intern("at"), 1, LONG2NUM(t)); in ossl_ssl_session_get_time() 185 if (rb_obj_is_instance_of(time_v, rb_cTime)) { in ossl_ssl_session_set_time()
|
H A D | ossl_asn1.c | 69 return rb_funcall2(rb_cTime, rb_intern("utc"), 6, argv); in asn1time_to_time()
|
H A D | ossl_ssl.c | 1496 } else if (rb_obj_is_instance_of(arg1, rb_cTime)) { in ossl_sslctx_flush_sessions()
|
/dports/devel/grpc134/grpc-1.34.1/src/ruby/ext/grpc/ |
H A D | rb_grpc.c | 108 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval() 174 return rb_funcall(rb_cTime, id_at, 2, INT2NUM(real_time.tv_sec), in grpc_rb_time_val_to_time()
|
H A D | rb_server.c | 239 rb_funcall(rb_cTime, id_at, 2, INT2NUM(deadline.tv_sec), in grpc_rb_server_request_call()
|
/dports/devel/grpc/grpc-1.42.0/src/ruby/ext/grpc/ |
H A D | rb_grpc.c | 111 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval() 177 return rb_funcall(rb_cTime, id_at, 2, INT2NUM(real_time.tv_sec), in grpc_rb_time_val_to_time()
|
H A D | rb_server.c | 241 rb_funcall(rb_cTime, id_at, 2, INT2NUM(deadline.tv_sec), in grpc_rb_server_request_call()
|
/dports/devel/grpc130/grpc-1.30.2/src/ruby/ext/grpc/ |
H A D | rb_grpc.c | 108 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval() 174 return rb_funcall(rb_cTime, id_at, 2, INT2NUM(real_time.tv_sec), in grpc_rb_time_val_to_time()
|
H A D | rb_server.c | 239 rb_funcall(rb_cTime, id_at, 2, INT2NUM(deadline.tv_sec), in grpc_rb_server_request_call()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/ruby/ext/grpc/ |
H A D | rb_grpc.c | 108 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval() 213 return rb_funcall(rb_cTime, id_at, 2, INT2NUM(real_time.tv_sec), in grpc_rb_time_val_to_time()
|
H A D | rb_server.c | 239 rb_funcall(rb_cTime, id_at, 2, INT2NUM(deadline.tv_sec), in grpc_rb_server_request_call()
|
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/ |
H A D | constants_spec.rb | 113 @s.rb_cTime.should == Time
|
/dports/databases/rrdtool12/rrdtool-1.2.30/bindings/ruby/ |
H A D | main.c | 220 return rb_funcall(rb_cTime, rb_intern("at"), 1, INT2FIX(last)); in rb_rrd_last()
|
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/ext/ |
H A D | constants_spec.c | 136 return rb_cTime; in constants_spec_rb_cTime()
|
/dports/databases/rrdtool/rrdtool-1.7.2/bindings/ruby/ |
H A D | main.c | 320 return rb_funcall(rb_cTime, rb_intern("at"), 1, UINT2NUM(last)); in rb_rrd_last()
|
/dports/textproc/syck/syck-0.70/ext/ruby/ext/syck/ |
H A D | rubyext.c | 317 time = rb_funcall(rb_cTime, s_utc, 6, year, mon, day, hour, min, sec); in rb_syck_mktime() 319 return rb_funcall(rb_cTime, s_at, 2, LONG2NUM(tmp), LONG2NUM(usec)); in rb_syck_mktime() 324 return rb_funcall(rb_cTime, s_utc, 7, year, mon, day, hour, min, sec, LONG2NUM(usec)); in rb_syck_mktime()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | storage.c | 186 rb_obj_is_kind_of(value, rb_cTime)) { in native_slot_set_value_and_case()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | storage.c | 186 rb_obj_is_kind_of(value, rb_cTime)) { in native_slot_set_value_and_case()
|
/dports/lang/ruby26/ruby-2.6.9/ext/date/ |
H A D | date_core.c | 8771 return f_local3(rb_cTime, in date_to_time() 8844 t = rb_funcall(rb_cTime, in datetime_to_time() 9866 rb_define_method(rb_cTime, "to_time", time_to_time, 0); in Init_date_core() 9867 rb_define_method(rb_cTime, "to_date", time_to_date, 0); in Init_date_core() 9868 rb_define_method(rb_cTime, "to_datetime", time_to_datetime, 0); in Init_date_core()
|
/dports/lang/ruby26/ruby-2.6.9/include/ruby/ |
H A D | ruby.h | 2014 RUBY_EXTERN VALUE rb_cTime; variable
|