Ruby
2.1.10p492(2016-04-01revision54464)
|
Go to the source code of this file.
Variables | |
static VALUE | rb_cPathname |
static ID | id_at_path |
static ID | id_to_path |
static | VALUE |
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_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().
void Init_pathname | ( | ) |
Definition at line 1353 of file pathname.c.
References id_at_path, id_to_path, 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_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 438 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 682 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), rb_scan_args(), and str.
Referenced by Init_pathname().
Definition at line 337 of file pathname.c.
References args, get_strpath(), n, rb_cIO, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 379 of file pathname.c.
References args, get_strpath(), n, rb_cIO, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 758 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 767 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 480 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 508 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 452 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 812 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 699 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and str.
Referenced by Init_pathname().
Definition at line 1119 of file pathname.c.
References args, get_strpath(), rb_block_call(), rb_cDir, rb_intern, and rb_obj_class().
Referenced by Init_pathname().
Definition at line 291 of file pathname.c.
References args, get_strpath(), n, rb_block_call(), rb_block_given_p(), rb_cIO, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 1051 of file pathname.c.
References ary, get_strpath(), i, klass, RARRAY_AREF, RARRAY_LEN, rb_ary_store(), rb_cDir, rb_class_new_instance(), rb_convert_type(), rb_funcall(), rb_intern, rb_obj_class(), str, 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 776 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 785 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 794 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 724 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), rb_scan_args(), and str.
Referenced by Init_pathname().
Definition at line 712 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), rb_intern, and str.
Referenced by Init_pathname().
Definition at line 1168 of file pathname.c.
References rb_class_new_instance(), and rb_cPathname.
Referenced by Init_pathname().
Definition at line 821 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 537 of file pathname.c.
References flags, get_strpath(), rb_cFile, rb_funcall(), rb_intern, rb_scan_args(), and str.
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 556 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 803 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 160 of file pathname.c.
References get_strpath(), INT2FIX, and rb_str_hash().
Referenced by Init_pathname().
Definition at line 28 of file pathname.c.
References arg, 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(), str, StringValue, and T_STRING.
Referenced by Init_pathname().
Definition at line 182 of file pathname.c.
References c, get_strpath(), PRIsVALUE, rb_obj_classname(), rb_sprintf(), and str.
Referenced by Init_pathname().
Definition at line 494 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 522 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 635 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 570 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
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 1073 of file pathname.c.
References get_strpath(), rb_cDir, rb_funcall(), rb_intern, rb_scan_args(), and str.
Referenced by Init_pathname().
Definition at line 466 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 581 of file pathname.c.
References args, get_strpath(), n, rb_block_call(), rb_block_given_p(), rb_cFile, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 1100 of file pathname.c.
References args, get_strpath(), rb_block_call(), rb_cDir, and rb_intern.
Referenced by Init_pathname().
Definition at line 848 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 830 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 317 of file pathname.c.
References args, get_strpath(), n, rb_cIO, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 857 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 875 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 401 of file pathname.c.
References args, get_strpath(), n, rb_cIO, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 602 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and str.
Referenced by Init_pathname().
Definition at line 272 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), rb_scan_args(), and str.
Referenced by Init_pathname().
Definition at line 256 of file pathname.c.
References get_strpath(), rb_cFile, rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), rb_scan_args(), and str.
Referenced by Init_pathname().
Definition at line 615 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1089 of file pathname.c.
References get_strpath(), rb_cDir, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1017 of file pathname.c.
References rb_cDir, rb_class_new_instance(), rb_funcall(), rb_intern, and str.
Referenced by Init_pathname().
Definition at line 985 of file pathname.c.
References args, ary, i, n, RARRAY_AREF, RARRAY_LEN, rb_ary_store(), rb_block_call(), rb_block_given_p(), rb_cDir, rb_class_new_instance(), rb_convert_type(), rb_funcall2(), rb_intern, rb_scan_args(), and T_ARRAY.
Referenced by Init_pathname().
Definition at line 893 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 884 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 902 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 911 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 839 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 741 of file pathname.c.
References ary, get_strpath(), rb_ary_entry(), rb_ary_new3, rb_cFile, rb_check_array_type(), rb_class_new_instance(), rb_funcall(), rb_intern, rb_obj_class(), and str.
Referenced by Init_pathname().
Definition at line 626 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 920 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 197 of file pathname.c.
References get_strpath(), rb_block_call(), rb_block_given_p(), rb_class_new_instance(), rb_funcall2(), rb_intern, rb_obj_class(), and str.
Referenced by Init_pathname().
Definition at line 219 of file pathname.c.
References get_strpath(), NULL, OBJ_INFECT, p, rb_class_new_instance(), rb_enc_get(), rb_obj_class(), rb_str_append(), rb_str_subseq(), RSTRING_LEN, RSTRING_PTR, ruby_enc_find_extname(), str, and StringValue.
Referenced by Init_pathname().
Definition at line 929 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 419 of file pathname.c.
References args, get_strpath(), n, rb_cIO, rb_funcall2(), 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 175 of file pathname.c.
References get_strpath(), and rb_obj_dup().
Referenced by Init_pathname().
Definition at line 660 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 1144 of file pathname.c.
References get_strpath(), rb_const_get_at(), rb_intern, rb_mErrno, rb_rescue2(), str, 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 671 of file pathname.c.
References get_strpath(), rb_cFile, rb_funcall(), and rb_intern.
Referenced by Init_pathname().
Definition at line 866 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 947 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 938 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 956 of file pathname.c.
References get_strpath(), rb_funcall(), rb_intern, and rb_mFileTest.
Referenced by Init_pathname().
Definition at line 358 of file pathname.c.
References args, get_strpath(), n, rb_cIO, rb_funcall2(), rb_intern, and rb_scan_args().
Referenced by Init_pathname().
Definition at line 965 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 1128 of file pathname.c.
References rb_cDir, rb_funcall(), and rb_intern.
Referenced by path_unlink().
Definition at line 1134 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().
|
static |
Definition at line 972 of file pathname.c.