Ruby
2.4.2p198(2017-09-14revision59899)
|
Go to the source code of this file.
Macros | |
#define | path_birthtime rb_f_notimplement |
Variables | |
static VALUE | rb_cPathname |
static ID | id_at_path |
static ID | id_to_path |
#define path_birthtime rb_f_notimplement |
Definition at line 463 of file pathname.c.
Referenced by Init_pathname(), and path_atime().
|
static |
Definition at line 1148 of file pathname.c.
References rb_class_new_instance(), and rb_yield().
Referenced by path_each_entry().
Definition at line 8 of file pathname.c.
References id_at_path, rb_eTypeError, rb_ivar_get(), rb_raise(), RB_TYPE_P, and T_STRING.
Referenced by path_atime(), path_basename(), path_binread(), path_binwrite(), path_blockdev_p(), path_chardev_p(), path_chmod(), path_chown(), path_cmp(), path_ctime(), path_directory_p(), path_dirname(), path_each_entry(), path_each_line(), path_empty_p(), path_entries(), path_eq(), path_executable_p(), path_executable_real_p(), path_exist_p(), path_expand_path(), path_extname(), path_file_p(), path_fnmatch(), path_freeze(), path_ftype(), path_grpowned_p(), path_hash(), path_inspect(), path_lchmod(), path_lchown(), path_lstat(), path_make_link(), path_make_symlink(), path_mkdir(), path_mtime(), path_open(), path_opendir(), path_owned_p(), path_pipe_p(), path_read(), path_readable_p(), path_readable_real_p(), path_readlines(), path_readlink(), path_realdirpath(), path_realpath(), path_rename(), path_rmdir(), path_setgid_p(), path_setuid_p(), path_size(), path_size_p(), path_socket_p(), path_split(), path_stat(), path_sticky_p(), path_sub(), path_sub_ext(), path_symlink_p(), path_sysopen(), path_taint(), path_to_s(), path_truncate(), path_unlink(), path_untaint(), path_utime(), path_world_readable_p(), path_world_writable_p(), path_writable_p(), path_writable_real_p(), path_write(), and path_zero_p().
|
static |
Definition at line 1010 of file pathname.c.
References rb_class_new_instance(), and rb_yield().
Referenced by path_s_glob().
void Init_pathname | ( | void | ) |
Definition at line 1393 of file pathname.c.
References id_at_path, id_to_path, path_atime(), path_basename(), path_binread(), path_binwrite(), path_birthtime, path_blockdev_p(), path_chardev_p(), path_chmod(), path_chown(), path_cmp(), path_ctime(), path_directory_p(), path_dirname(), path_each_entry(), path_each_line(), path_empty_p(), path_entries(), path_eq(), path_executable_p(), path_executable_real_p(), path_exist_p(), path_expand_path(), path_extname(), path_f_pathname(), path_file_p(), path_fnmatch(), path_freeze(), path_ftype(), path_grpowned_p(), path_hash(), path_initialize(), path_inspect(), path_lchmod(), path_lchown(), path_lstat(), path_make_link(), path_make_symlink(), path_mkdir(), path_mtime(), path_open(), path_opendir(), path_owned_p(), path_pipe_p(), path_read(), path_readable_p(), path_readable_real_p(), path_readlines(), path_readlink(), path_realdirpath(), path_realpath(), path_rename(), path_rmdir(), path_s_getwd(), path_s_glob(), path_setgid_p(), path_setuid_p(), path_size(), path_size_p(), path_socket_p(), path_split(), path_stat(), path_sticky_p(), path_sub(), path_sub_ext(), path_symlink_p(), path_sysopen(), path_taint(), path_to_s(), path_truncate(), path_unlink(), path_untaint(), path_utime(), path_world_readable_p(), path_world_writable_p(), path_writable_p(), path_writable_real_p(), path_write(), path_zero_p(), rb_cObject, rb_cPathname, rb_define_class(), rb_define_global_function(), rb_define_method(), rb_define_singleton_method(), rb_intern, and rb_undef_method().
Definition at line 442 of file pathname.c.
References get_strpath(), path_birthtime, rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 705 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and rb_scan_args().
Referenced by Init_pathname().
Definition at line 341 of file pathname.c.
References get_strpath(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 383 of file pathname.c.
References get_strpath(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 781 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 790 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 503 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 531 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 125 of file pathname.c.
References get_strpath(), INT2FIX, Qnil, rb_cPathname, rb_obj_is_kind_of(), RSTRING_LEN, and RSTRING_PTR.
Referenced by Init_pathname().
Definition at line 475 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 835 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 722 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, and rb_obj_class().
Referenced by Init_pathname().
Definition at line 1158 of file pathname.c.
References each_entry_i(), get_strpath(), rb_block_call(), rb_cDir, rb_intern, and rb_obj_class().
Referenced by Init_pathname().
Definition at line 295 of file pathname.c.
References get_strpath(), rb_block_call(), rb_block_given_p(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 999 of file pathname.c.
References get_strpath(), rb_cDir, rb_funcall(), rb_intern, rb_mFileTest, and RTEST.
Referenced by Init_pathname().
Definition at line 1090 of file pathname.c.
References get_strpath(), RARRAY_AREF, RARRAY_LEN, rb_ary_store(), rb_cDir, rb_class_new_instance(), rb_convert_type(), rb_funcall(), rb_intern, rb_obj_class(), and T_ARRAY.
Referenced by Init_pathname().
Definition at line 103 of file pathname.c.
References get_strpath(), Qfalse, rb_cPathname, rb_obj_is_kind_of(), and rb_str_equal().
Referenced by Init_pathname().
Definition at line 799 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 808 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 817 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 747 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and rb_scan_args().
Referenced by Init_pathname().
Definition at line 735 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1207 of file pathname.c.
References rb_class_new_instance(), and rb_cPathname.
Referenced by Init_pathname().
Definition at line 844 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 560 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 58 of file pathname.c.
References get_strpath(), rb_call_super(), and rb_str_freeze().
Referenced by Init_pathname().
Definition at line 579 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 826 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 164 of file pathname.c.
References get_strpath(), rb_str_hash(), and ST2FIX.
Referenced by Init_pathname().
Definition at line 28 of file pathname.c.
References id_to_path, NULL, OBJ_INFECT, Qundef, rb_check_funcall(), rb_eArgError, rb_obj_dup(), rb_raise(), RB_TYPE_P, RSTRING_LEN, RSTRING_PTR, set_strpath(), StringValue, and T_STRING.
Referenced by Init_pathname().
Definition at line 186 of file pathname.c.
References get_strpath(), PRIsVALUE, rb_obj_classname(), and rb_sprintf().
Referenced by Init_pathname().
Definition at line 517 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 545 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 658 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 593 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 672 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1112 of file pathname.c.
References get_strpath(), rb_cDir, rb_funcall(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 489 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 604 of file pathname.c.
References get_strpath(), rb_block_call(), rb_block_given_p(), rb_cFile, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 1139 of file pathname.c.
References get_strpath(), rb_block_call(), rb_cDir, and rb_intern.
Referenced by Init_pathname().
Definition at line 871 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 853 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 321 of file pathname.c.
References get_strpath(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 880 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 898 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 405 of file pathname.c.
References get_strpath(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 625 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, and rb_obj_class().
Referenced by Init_pathname().
Definition at line 276 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and rb_scan_args().
Referenced by Init_pathname().
Definition at line 260 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and rb_scan_args().
Referenced by Init_pathname().
Definition at line 638 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1128 of file pathname.c.
References get_strpath(), rb_cDir, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1056 of file pathname.c.
References rb_cDir, rb_class_new_instance(), rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1024 of file pathname.c.
References glob_i(), RARRAY_AREF, RARRAY_LEN, rb_ary_store(), rb_block_call(), rb_block_given_p(), rb_cDir, rb_class_new_instance(), rb_convert_type(), rb_funcallv, rb_intern, rb_scan_args(), and T_ARRAY.
Referenced by Init_pathname().
Definition at line 916 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 907 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 925 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 934 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 862 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 764 of file pathname.c.
References get_strpath(), rb_ary_entry(), rb_ary_new3, rb_cFile, rb_check_array_type(), rb_class_new_instance(), rb_funcall(), rb_intern, and rb_obj_class().
Referenced by Init_pathname().
Definition at line 649 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 943 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 201 of file pathname.c.
References get_strpath(), rb_block_call(), rb_block_given_p(), rb_class_new_instance(), rb_funcallv, rb_intern, and rb_obj_class().
Referenced by Init_pathname().
Definition at line 223 of file pathname.c.
References get_strpath(), NULL, OBJ_INFECT, rb_class_new_instance(), rb_enc_get(), rb_obj_class(), rb_str_append(), rb_str_subseq(), RSTRING_LEN, RSTRING_PTR, ruby_enc_find_extname(), and StringValue.
Referenced by Init_pathname().
Definition at line 952 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 423 of file pathname.c.
References get_strpath(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 74 of file pathname.c.
References get_strpath(), rb_call_super(), and rb_obj_taint().
Referenced by Init_pathname().
Definition at line 179 of file pathname.c.
References get_strpath(), and rb_obj_dup().
Referenced by Init_pathname().
Definition at line 683 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1183 of file pathname.c.
References get_strpath(), rb_const_get_at(), rb_intern, rb_mErrno, rb_rescue2(), unlink_body(), and unlink_rescue().
Referenced by Init_pathname().
Definition at line 90 of file pathname.c.
References get_strpath(), rb_call_super(), and rb_obj_untaint().
Referenced by Init_pathname().
Definition at line 694 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 889 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 970 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 961 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 979 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 362 of file pathname.c.
References get_strpath(), rb_cIO, rb_funcallv, rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 988 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 18 of file pathname.c.
References id_at_path, and rb_ivar_set().
Referenced by path_initialize().
Definition at line 1167 of file pathname.c.
References rb_cDir, rb_funcall(), and rb_intern.
Referenced by path_unlink().
Definition at line 1173 of file pathname.c.
References rb_cFile, rb_funcall(), and rb_intern.
Referenced by path_unlink().
|
static |
Definition at line 5 of file pathname.c.
Referenced by get_strpath(), Init_pathname(), and set_strpath().
|
static |
Definition at line 5 of file pathname.c.
Referenced by Init_pathname(), and path_initialize().
|
static |
Definition at line 4 of file pathname.c.
Referenced by Init_pathname(), path_cmp(), path_eq(), and path_f_pathname().