rb_define_const 1513 complex.c rb_define_const(rb_cComplex, "I", rb_define_const 1252 encoding.c rb_define_const(rb_cEncoding, name, encoding); rb_define_const 1270 encoding.c rb_define_const(rb_cEncoding, name, encoding); rb_define_const 1277 encoding.c rb_define_const(rb_cEncoding, name, encoding); rb_define_const 889 error.c rb_define_const(error, "Errno", INT2NUM(n)); rb_define_const 893 error.c rb_define_const(rb_mErrno, name, error); rb_define_const 1877 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "BASE", INT2FIX((S_INT)VpBaseVal())); rb_define_const 1885 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "EXCEPTION_ALL",INT2FIX(VP_EXCEPTION_ALL)); rb_define_const 1891 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "EXCEPTION_NaN",INT2FIX(VP_EXCEPTION_NaN)); rb_define_const 1897 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "EXCEPTION_INFINITY",INT2FIX(VP_EXCEPTION_INFINITY)); rb_define_const 1903 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "EXCEPTION_UNDERFLOW",INT2FIX(VP_EXCEPTION_UNDERFLOW)); rb_define_const 1909 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "EXCEPTION_OVERFLOW",INT2FIX(VP_EXCEPTION_OVERFLOW)); rb_define_const 1915 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "EXCEPTION_ZERODIVIDE",INT2FIX(VP_EXCEPTION_ZERODIVIDE)); rb_define_const 1922 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_MODE",INT2FIX(VP_ROUND_MODE)); rb_define_const 1927 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_UP",INT2FIX(VP_ROUND_UP)); rb_define_const 1932 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_DOWN",INT2FIX(VP_ROUND_DOWN)); rb_define_const 1936 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_HALF_UP",INT2FIX(VP_ROUND_HALF_UP)); rb_define_const 1941 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_HALF_DOWN",INT2FIX(VP_ROUND_HALF_DOWN)); rb_define_const 1943 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_CEILING",INT2FIX(VP_ROUND_CEIL)); rb_define_const 1946 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_FLOOR",INT2FIX(VP_ROUND_FLOOR)); rb_define_const 1949 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "ROUND_HALF_EVEN",INT2FIX(VP_ROUND_HALF_EVEN)); rb_define_const 1952 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_NaN",INT2FIX(VP_SIGN_NaN)); rb_define_const 1955 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_POSITIVE_ZERO",INT2FIX(VP_SIGN_POSITIVE_ZERO)); rb_define_const 1958 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO",INT2FIX(VP_SIGN_NEGATIVE_ZERO)); rb_define_const 1961 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_POSITIVE_FINITE",INT2FIX(VP_SIGN_POSITIVE_FINITE)); rb_define_const 1964 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE",INT2FIX(VP_SIGN_NEGATIVE_FINITE)); rb_define_const 1967 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_POSITIVE_INFINITE",INT2FIX(VP_SIGN_POSITIVE_INFINITE)); rb_define_const 1970 ext/bigdecimal/bigdecimal.c rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE",INT2FIX(VP_SIGN_NEGATIVE_INFINITE)); rb_define_const 1543 ext/curses/curses.c #define rb_curses_define_const(c) rb_define_const(mCurses,#c,UINT2NUM(c)) rb_define_const 1674 ext/curses/curses.c rb_define_const(mKey, "MOUSE", INT2NUM(KEY_MOUSE)); rb_define_const 1678 ext/curses/curses.c rb_define_const(mKey, "MIN", INT2NUM(KEY_MIN)); rb_define_const 1682 ext/curses/curses.c rb_define_const(mKey, "BREAK", INT2NUM(KEY_BREAK)); rb_define_const 1686 ext/curses/curses.c rb_define_const(mKey, "DOWN", INT2NUM(KEY_DOWN)); rb_define_const 1690 ext/curses/curses.c rb_define_const(mKey, "UP", INT2NUM(KEY_UP)); rb_define_const 1694 ext/curses/curses.c rb_define_const(mKey, "LEFT", INT2NUM(KEY_LEFT)); rb_define_const 1698 ext/curses/curses.c rb_define_const(mKey, "RIGHT", INT2NUM(KEY_RIGHT)); rb_define_const 1702 ext/curses/curses.c rb_define_const(mKey, "HOME", INT2NUM(KEY_HOME)); rb_define_const 1706 ext/curses/curses.c rb_define_const(mKey, "BACKSPACE", INT2NUM(KEY_BACKSPACE)); rb_define_const 1715 ext/curses/curses.c rb_define_const(mCurses, c, INT2NUM(KEY_F(i))); rb_define_const 1717 ext/curses/curses.c rb_define_const(mKey, c, INT2NUM(KEY_F(i))); rb_define_const 1723 ext/curses/curses.c rb_define_const(mKey, "DL", INT2NUM(KEY_DL)); rb_define_const 1727 ext/curses/curses.c rb_define_const(mKey, "IL", INT2NUM(KEY_IL)); rb_define_const 1731 ext/curses/curses.c rb_define_const(mKey, "DC", INT2NUM(KEY_DC)); rb_define_const 1735 ext/curses/curses.c rb_define_const(mKey, "IC", INT2NUM(KEY_IC)); rb_define_const 1739 ext/curses/curses.c rb_define_const(mKey, "EIC", INT2NUM(KEY_EIC)); rb_define_const 1743 ext/curses/curses.c rb_define_const(mKey, "CLEAR", INT2NUM(KEY_CLEAR)); rb_define_const 1747 ext/curses/curses.c rb_define_const(mKey, "EOS", INT2NUM(KEY_EOS)); rb_define_const 1751 ext/curses/curses.c rb_define_const(mKey, "EOL", INT2NUM(KEY_EOL)); rb_define_const 1755 ext/curses/curses.c rb_define_const(mKey, "SF", INT2NUM(KEY_SF)); rb_define_const 1759 ext/curses/curses.c rb_define_const(mKey, "SR", INT2NUM(KEY_SR)); rb_define_const 1763 ext/curses/curses.c rb_define_const(mKey, "NPAGE", INT2NUM(KEY_NPAGE)); rb_define_const 1767 ext/curses/curses.c rb_define_const(mKey, "PPAGE", INT2NUM(KEY_PPAGE)); rb_define_const 1771 ext/curses/curses.c rb_define_const(mKey, "STAB", INT2NUM(KEY_STAB)); rb_define_const 1775 ext/curses/curses.c rb_define_const(mKey, "CTAB", INT2NUM(KEY_CTAB)); rb_define_const 1779 ext/curses/curses.c rb_define_const(mKey, "CATAB", INT2NUM(KEY_CATAB)); rb_define_const 1783 ext/curses/curses.c rb_define_const(mKey, "ENTER", INT2NUM(KEY_ENTER)); rb_define_const 1787 ext/curses/curses.c rb_define_const(mKey, "SRESET", INT2NUM(KEY_SRESET)); rb_define_const 1791 ext/curses/curses.c rb_define_const(mKey, "RESET", INT2NUM(KEY_RESET)); rb_define_const 1795 ext/curses/curses.c rb_define_const(mKey, "PRINT", INT2NUM(KEY_PRINT)); rb_define_const 1799 ext/curses/curses.c rb_define_const(mKey, "LL", INT2NUM(KEY_LL)); rb_define_const 1803 ext/curses/curses.c rb_define_const(mKey, "A1", INT2NUM(KEY_A1)); rb_define_const 1807 ext/curses/curses.c rb_define_const(mKey, "A3", INT2NUM(KEY_A3)); rb_define_const 1811 ext/curses/curses.c rb_define_const(mKey, "B2", INT2NUM(KEY_B2)); rb_define_const 1815 ext/curses/curses.c rb_define_const(mKey, "C1", INT2NUM(KEY_C1)); rb_define_const 1819 ext/curses/curses.c rb_define_const(mKey, "C3", INT2NUM(KEY_C3)); rb_define_const 1823 ext/curses/curses.c rb_define_const(mKey, "BTAB", INT2NUM(KEY_BTAB)); rb_define_const 1827 ext/curses/curses.c rb_define_const(mKey, "BEG", INT2NUM(KEY_BEG)); rb_define_const 1831 ext/curses/curses.c rb_define_const(mKey, "CANCEL", INT2NUM(KEY_CANCEL)); rb_define_const 1835 ext/curses/curses.c rb_define_const(mKey, "CLOSE", INT2NUM(KEY_CLOSE)); rb_define_const 1839 ext/curses/curses.c rb_define_const(mKey, "COMMAND", INT2NUM(KEY_COMMAND)); rb_define_const 1843 ext/curses/curses.c rb_define_const(mKey, "COPY", INT2NUM(KEY_COPY)); rb_define_const 1847 ext/curses/curses.c rb_define_const(mKey, "CREATE", INT2NUM(KEY_CREATE)); rb_define_const 1851 ext/curses/curses.c rb_define_const(mKey, "END", INT2NUM(KEY_END)); rb_define_const 1855 ext/curses/curses.c rb_define_const(mKey, "EXIT", INT2NUM(KEY_EXIT)); rb_define_const 1859 ext/curses/curses.c rb_define_const(mKey, "FIND", INT2NUM(KEY_FIND)); rb_define_const 1863 ext/curses/curses.c rb_define_const(mKey, "HELP", INT2NUM(KEY_HELP)); rb_define_const 1867 ext/curses/curses.c rb_define_const(mKey, "MARK", INT2NUM(KEY_MARK)); rb_define_const 1871 ext/curses/curses.c rb_define_const(mKey, "MESSAGE", INT2NUM(KEY_MESSAGE)); rb_define_const 1875 ext/curses/curses.c rb_define_const(mKey, "MOVE", INT2NUM(KEY_MOVE)); rb_define_const 1879 ext/curses/curses.c rb_define_const(mKey, "NEXT", INT2NUM(KEY_NEXT)); rb_define_const 1883 ext/curses/curses.c rb_define_const(mKey, "OPEN", INT2NUM(KEY_OPEN)); rb_define_const 1887 ext/curses/curses.c rb_define_const(mKey, "OPTIONS", INT2NUM(KEY_OPTIONS)); rb_define_const 1891 ext/curses/curses.c rb_define_const(mKey, "PREVIOUS", INT2NUM(KEY_PREVIOUS)); rb_define_const 1895 ext/curses/curses.c rb_define_const(mKey, "REDO", INT2NUM(KEY_REDO)); rb_define_const 1899 ext/curses/curses.c rb_define_const(mKey, "REFERENCE", INT2NUM(KEY_REFERENCE)); rb_define_const 1903 ext/curses/curses.c rb_define_const(mKey, "REFRESH", INT2NUM(KEY_REFRESH)); rb_define_const 1907 ext/curses/curses.c rb_define_const(mKey, "REPLACE", INT2NUM(KEY_REPLACE)); rb_define_const 1911 ext/curses/curses.c rb_define_const(mKey, "RESTART", INT2NUM(KEY_RESTART)); rb_define_const 1915 ext/curses/curses.c rb_define_const(mKey, "RESUME", INT2NUM(KEY_RESUME)); rb_define_const 1919 ext/curses/curses.c rb_define_const(mKey, "SAVE", INT2NUM(KEY_SAVE)); rb_define_const 1923 ext/curses/curses.c rb_define_const(mKey, "SBEG", INT2NUM(KEY_SBEG)); rb_define_const 1927 ext/curses/curses.c rb_define_const(mKey, "SCANCEL", INT2NUM(KEY_SCANCEL)); rb_define_const 1931 ext/curses/curses.c rb_define_const(mKey, "SCOMMAND", INT2NUM(KEY_SCOMMAND)); rb_define_const 1935 ext/curses/curses.c rb_define_const(mKey, "SCOPY", INT2NUM(KEY_SCOPY)); rb_define_const 1939 ext/curses/curses.c rb_define_const(mKey, "SCREATE", INT2NUM(KEY_SCREATE)); rb_define_const 1943 ext/curses/curses.c rb_define_const(mKey, "SDC", INT2NUM(KEY_SDC)); rb_define_const 1947 ext/curses/curses.c rb_define_const(mKey, "SDL", INT2NUM(KEY_SDL)); rb_define_const 1951 ext/curses/curses.c rb_define_const(mKey, "SELECT", INT2NUM(KEY_SELECT)); rb_define_const 1955 ext/curses/curses.c rb_define_const(mKey, "SEND", INT2NUM(KEY_SEND)); rb_define_const 1959 ext/curses/curses.c rb_define_const(mKey, "SEOL", INT2NUM(KEY_SEOL)); rb_define_const 1963 ext/curses/curses.c rb_define_const(mKey, "SEXIT", INT2NUM(KEY_SEXIT)); rb_define_const 1967 ext/curses/curses.c rb_define_const(mKey, "SFIND", INT2NUM(KEY_SFIND)); rb_define_const 1971 ext/curses/curses.c rb_define_const(mKey, "SHELP", INT2NUM(KEY_SHELP)); rb_define_const 1975 ext/curses/curses.c rb_define_const(mKey, "SHOME", INT2NUM(KEY_SHOME)); rb_define_const 1979 ext/curses/curses.c rb_define_const(mKey, "SIC", INT2NUM(KEY_SIC)); rb_define_const 1983 ext/curses/curses.c rb_define_const(mKey, "SLEFT", INT2NUM(KEY_SLEFT)); rb_define_const 1987 ext/curses/curses.c rb_define_const(mKey, "SMESSAGE", INT2NUM(KEY_SMESSAGE)); rb_define_const 1991 ext/curses/curses.c rb_define_const(mKey, "SMOVE", INT2NUM(KEY_SMOVE)); rb_define_const 1995 ext/curses/curses.c rb_define_const(mKey, "SNEXT", INT2NUM(KEY_SNEXT)); rb_define_const 1999 ext/curses/curses.c rb_define_const(mKey, "SOPTIONS", INT2NUM(KEY_SOPTIONS)); rb_define_const 2003 ext/curses/curses.c rb_define_const(mKey, "SPREVIOUS", INT2NUM(KEY_SPREVIOUS)); rb_define_const 2007 ext/curses/curses.c rb_define_const(mKey, "SPRINT", INT2NUM(KEY_SPRINT)); rb_define_const 2011 ext/curses/curses.c rb_define_const(mKey, "SREDO", INT2NUM(KEY_SREDO)); rb_define_const 2015 ext/curses/curses.c rb_define_const(mKey, "SREPLACE", INT2NUM(KEY_SREPLACE)); rb_define_const 2019 ext/curses/curses.c rb_define_const(mKey, "SRIGHT", INT2NUM(KEY_SRIGHT)); rb_define_const 2023 ext/curses/curses.c rb_define_const(mKey, "SRSUME", INT2NUM(KEY_SRSUME)); rb_define_const 2027 ext/curses/curses.c rb_define_const(mKey, "SSAVE", INT2NUM(KEY_SSAVE)); rb_define_const 2031 ext/curses/curses.c rb_define_const(mKey, "SSUSPEND", INT2NUM(KEY_SSUSPEND)); rb_define_const 2035 ext/curses/curses.c rb_define_const(mKey, "SUNDO", INT2NUM(KEY_SUNDO)); rb_define_const 2039 ext/curses/curses.c rb_define_const(mKey, "SUSPEND", INT2NUM(KEY_SUSPEND)); rb_define_const 2043 ext/curses/curses.c rb_define_const(mKey, "UNDO", INT2NUM(KEY_UNDO)); rb_define_const 2047 ext/curses/curses.c rb_define_const(mKey, "RESIZE", INT2NUM(KEY_RESIZE)); rb_define_const 2051 ext/curses/curses.c rb_define_const(mKey, "MAX", INT2NUM(KEY_MAX)); rb_define_const 2058 ext/curses/curses.c rb_define_const(mCurses, name, INT2FIX(c - 'A' + 1)); rb_define_const 735 ext/dbm/dbm.c rb_define_const(rb_cDBM, "READER", INT2FIX(O_RDONLY|RUBY_DBM_RW_BIT)); rb_define_const 736 ext/dbm/dbm.c rb_define_const(rb_cDBM, "WRITER", INT2FIX(O_RDWR|RUBY_DBM_RW_BIT)); rb_define_const 737 ext/dbm/dbm.c rb_define_const(rb_cDBM, "WRCREAT", INT2FIX(O_RDWR|O_CREAT|RUBY_DBM_RW_BIT)); rb_define_const 738 ext/dbm/dbm.c rb_define_const(rb_cDBM, "NEWDB", INT2FIX(O_RDWR|O_CREAT|O_TRUNC|RUBY_DBM_RW_BIT)); rb_define_const 741 ext/dbm/dbm.c rb_define_const(rb_cDBM, "VERSION", rb_str_new2(DB_VERSION_STRING)); rb_define_const 743 ext/dbm/dbm.c rb_define_const(rb_cDBM, "VERSION", rb_str_new2("unknown")); rb_define_const 481 ext/dl/cptr.c rb_define_const(rb_mDL, "NULL", rb_dlptr_new(0, 0, 0)); rb_define_const 79 ext/dl/dl.c rb_define_const(rb_mDL, "MAX_CALLBACK", INT2NUM(MAX_CALLBACK)); rb_define_const 80 ext/dl/dl.c rb_define_const(rb_mDL, "DLSTACK_SIZE", INT2NUM(DLSTACK_SIZE)); rb_define_const 84 ext/dl/dl.c rb_define_const(rb_mDL, "RTLD_GLOBAL", INT2NUM(RTLD_GLOBAL)); rb_define_const 85 ext/dl/dl.c rb_define_const(rb_mDL, "RTLD_LAZY", INT2NUM(RTLD_LAZY)); rb_define_const 86 ext/dl/dl.c rb_define_const(rb_mDL, "RTLD_NOW", INT2NUM(RTLD_NOW)); rb_define_const 88 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_VOID", INT2NUM(DLTYPE_VOID)); rb_define_const 89 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_VOIDP", INT2NUM(DLTYPE_VOIDP)); rb_define_const 90 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_CHAR", INT2NUM(DLTYPE_CHAR)); rb_define_const 91 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_SHORT", INT2NUM(DLTYPE_SHORT)); rb_define_const 92 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_INT", INT2NUM(DLTYPE_INT)); rb_define_const 93 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_LONG", INT2NUM(DLTYPE_LONG)); rb_define_const 95 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_LONG_LONG", INT2NUM(DLTYPE_LONG_LONG)); rb_define_const 97 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_FLOAT", INT2NUM(DLTYPE_FLOAT)); rb_define_const 98 ext/dl/dl.c rb_define_const(rb_mDL, "TYPE_DOUBLE", INT2NUM(DLTYPE_DOUBLE)); rb_define_const 100 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_VOIDP", INT2NUM(ALIGN_VOIDP)); rb_define_const 101 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_CHAR", INT2NUM(ALIGN_CHAR)); rb_define_const 102 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_SHORT", INT2NUM(ALIGN_SHORT)); rb_define_const 103 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_INT", INT2NUM(ALIGN_INT)); rb_define_const 104 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_LONG", INT2NUM(ALIGN_LONG)); rb_define_const 106 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_LONG_LONG", INT2NUM(ALIGN_LONG_LONG)); rb_define_const 108 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_FLOAT", INT2NUM(ALIGN_FLOAT)); rb_define_const 109 ext/dl/dl.c rb_define_const(rb_mDL, "ALIGN_DOUBLE",INT2NUM(ALIGN_DOUBLE)); rb_define_const 111 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_VOIDP", INT2NUM(sizeof(void*))); rb_define_const 112 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_CHAR", INT2NUM(sizeof(char))); rb_define_const 113 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_SHORT", INT2NUM(sizeof(short))); rb_define_const 114 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_INT", INT2NUM(sizeof(int))); rb_define_const 115 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_LONG", INT2NUM(sizeof(long))); rb_define_const 117 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_LONG_LONG", INT2NUM(sizeof(LONG_LONG))); rb_define_const 119 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_FLOAT", INT2NUM(sizeof(float))); rb_define_const 120 ext/dl/dl.c rb_define_const(rb_mDL, "SIZEOF_DOUBLE",INT2NUM(sizeof(double))); rb_define_const 130 ext/dl/dl.c rb_define_const(rb_mDL, "RUBY_FREE", PTR2NUM(ruby_xfree)); rb_define_const 131 ext/dl/dl.c rb_define_const(rb_mDL, "BUILD_RUBY_PLATFORM", rb_str_new2(RUBY_PLATFORM)); rb_define_const 132 ext/dl/dl.c rb_define_const(rb_mDL, "BUILD_RUBY_VERSION", rb_str_new2(RUBY_VERSION)); rb_define_const 540 ext/etc/etc.c rb_define_const(mEtc, "Passwd", sPasswd); rb_define_const 549 ext/etc/etc.c rb_define_const(mEtc, "Group", sGroup); rb_define_const 117 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_DUPFD", INT2NUM(F_DUPFD)); rb_define_const 120 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_GETFD", INT2NUM(F_GETFD)); rb_define_const 123 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_GETLK", INT2NUM(F_GETLK)); rb_define_const 126 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_SETFD", INT2NUM(F_SETFD)); rb_define_const 129 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_GETFL", INT2NUM(F_GETFL)); rb_define_const 132 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_SETFL", INT2NUM(F_SETFL)); rb_define_const 135 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_SETLK", INT2NUM(F_SETLK)); rb_define_const 138 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_SETLKW", INT2NUM(F_SETLKW)); rb_define_const 141 ext/fcntl/fcntl.c rb_define_const(mFcntl, "FD_CLOEXEC", INT2NUM(FD_CLOEXEC)); rb_define_const 144 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_RDLCK", INT2NUM(F_RDLCK)); rb_define_const 147 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_UNLCK", INT2NUM(F_UNLCK)); rb_define_const 150 ext/fcntl/fcntl.c rb_define_const(mFcntl, "F_WRLCK", INT2NUM(F_WRLCK)); rb_define_const 153 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_CREAT", INT2NUM(O_CREAT)); rb_define_const 156 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_EXCL", INT2NUM(O_EXCL)); rb_define_const 159 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_NOCTTY", INT2NUM(O_NOCTTY)); rb_define_const 162 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_TRUNC", INT2NUM(O_TRUNC)); rb_define_const 165 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_APPEND", INT2NUM(O_APPEND)); rb_define_const 168 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_NONBLOCK", INT2NUM(O_NONBLOCK)); rb_define_const 171 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_NDELAY", INT2NUM(O_NDELAY)); rb_define_const 174 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_RDONLY", INT2NUM(O_RDONLY)); rb_define_const 177 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_RDWR", INT2NUM(O_RDWR)); rb_define_const 180 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_WRONLY", INT2NUM(O_WRONLY)); rb_define_const 183 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_ACCMODE", INT2FIX(O_ACCMODE)); rb_define_const 185 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_ACCMODE", INT2FIX(O_RDONLY | O_WRONLY | O_RDWR)); rb_define_const 1231 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "READER", INT2FIX(GDBM_READER|RUBY_GDBM_RW_BIT)); rb_define_const 1233 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "WRITER", INT2FIX(GDBM_WRITER|RUBY_GDBM_RW_BIT)); rb_define_const 1235 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "WRCREAT", INT2FIX(GDBM_WRCREAT|RUBY_GDBM_RW_BIT)); rb_define_const 1237 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "NEWDB", INT2FIX(GDBM_NEWDB|RUBY_GDBM_RW_BIT)); rb_define_const 1240 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "FAST", INT2FIX(GDBM_FAST)); rb_define_const 1247 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "SYNC", INT2FIX(GDBM_SYNC)); rb_define_const 1251 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "NOLOCK", INT2FIX(GDBM_NOLOCK)); rb_define_const 1254 ext/gdbm/gdbm.c rb_define_const(rb_cGDBM, "VERSION", rb_str_new2(gdbm_version)); rb_define_const 484 ext/nkf/nkf.c rb_define_const(mNKF, "AUTO", Qnil); rb_define_const 485 ext/nkf/nkf.c rb_define_const(mNKF, "NOCONV", Qnil); rb_define_const 486 ext/nkf/nkf.c rb_define_const(mNKF, "UNKNOWN", Qnil); rb_define_const 487 ext/nkf/nkf.c rb_define_const(mNKF, "BINARY", rb_enc_from_encoding(rb_nkf_enc_get("BINARY"))); rb_define_const 488 ext/nkf/nkf.c rb_define_const(mNKF, "ASCII", rb_enc_from_encoding(rb_nkf_enc_get("US-ASCII"))); rb_define_const 489 ext/nkf/nkf.c rb_define_const(mNKF, "JIS", rb_enc_from_encoding(rb_nkf_enc_get("ISO-2022-JP"))); rb_define_const 490 ext/nkf/nkf.c rb_define_const(mNKF, "EUC", rb_enc_from_encoding(rb_nkf_enc_get("EUC-JP"))); rb_define_const 491 ext/nkf/nkf.c rb_define_const(mNKF, "SJIS", rb_enc_from_encoding(rb_nkf_enc_get("Shift_JIS"))); rb_define_const 492 ext/nkf/nkf.c rb_define_const(mNKF, "UTF8", rb_enc_from_encoding(rb_utf8_encoding())); rb_define_const 493 ext/nkf/nkf.c rb_define_const(mNKF, "UTF16", rb_enc_from_encoding(rb_nkf_enc_get("UTF-16BE"))); rb_define_const 494 ext/nkf/nkf.c rb_define_const(mNKF, "UTF32", rb_enc_from_encoding(rb_nkf_enc_get("UTF-32BE"))); rb_define_const 497 ext/nkf/nkf.c rb_define_const(mNKF, "VERSION", rb_str_new2(RUBY_NKF_VERSION)); rb_define_const 499 ext/nkf/nkf.c rb_define_const(mNKF, "NKF_VERSION", rb_str_new2(NKF_VERSION)); rb_define_const 501 ext/nkf/nkf.c rb_define_const(mNKF, "NKF_RELEASE_DATE", rb_str_new2(NKF_RELEASE_DATE)); rb_define_const 435 ext/openssl/ossl.c rb_define_const(mOSSL, "VERSION", rb_str_new2(OSSL_VERSION)); rb_define_const 436 ext/openssl/ossl.c rb_define_const(mOSSL, "OPENSSL_VERSION", rb_str_new2(OPENSSL_VERSION_TEXT)); rb_define_const 437 ext/openssl/ossl.c rb_define_const(mOSSL, "OPENSSL_VERSION_NUMBER", INT2NUM(OPENSSL_VERSION_NUMBER)); rb_define_const 1103 ext/openssl/ossl_asn1.c rb_define_const(mASN1, "UNIVERSAL_TAG_NAME", ary); rb_define_const 1106 ext/openssl/ossl_asn1.c rb_define_const(mASN1, ossl_asn1_info[i].name, INT2NUM(i)); rb_define_const 448 ext/openssl/ossl_config.c rb_define_const(cConfig, "DEFAULT_CONFIG_FILE", rb_define_const 342 ext/openssl/ossl_engine.c #define DefEngineConst(x) rb_define_const(cEngine, #x, INT2NUM(ENGINE_##x)) rb_define_const 727 ext/openssl/ossl_ocsp.c #define DefOCSPConst(x) rb_define_const(mOCSP, #x, INT2NUM(OCSP_##x)) rb_define_const 759 ext/openssl/ossl_ocsp.c #define DefOCSPVConst(x) rb_define_const(mOCSP, "V_" #x, INT2NUM(V_OCSP_##x)) rb_define_const 994 ext/openssl/ossl_pkcs7.c rb_define_const(cPKCS7, "Signer", cPKCS7Signer); rb_define_const 1009 ext/openssl/ossl_pkcs7.c #define DefPKCS7Const(x) rb_define_const(cPKCS7, #x, INT2NUM(PKCS7_##x)) rb_define_const 1498 ext/openssl/ossl_pkey_ec.c rb_define_const(cEC, "NAMED_CURVE", ULONG2NUM(OPENSSL_EC_NAMED_CURVE)); rb_define_const 534 ext/openssl/ossl_pkey_rsa.c #define DefRSAConst(x) rb_define_const(cRSA, #x,INT2FIX(RSA_##x)) rb_define_const 1380 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_OFF", LONG2FIX(SSL_SESS_CACHE_OFF)); rb_define_const 1381 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_CLIENT", LONG2FIX(SSL_SESS_CACHE_CLIENT)); /* doesn't actually do anything in 0.9.8e */ rb_define_const 1382 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_SERVER", LONG2FIX(SSL_SESS_CACHE_SERVER)); rb_define_const 1383 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_BOTH", LONG2FIX(SSL_SESS_CACHE_BOTH)); /* no different than CACHE_SERVER in 0.9.8e */ rb_define_const 1384 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_AUTO_CLEAR", LONG2FIX(SSL_SESS_CACHE_NO_AUTO_CLEAR)); rb_define_const 1385 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_INTERNAL_LOOKUP", LONG2FIX(SSL_SESS_CACHE_NO_INTERNAL_LOOKUP)); rb_define_const 1386 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_INTERNAL_STORE", LONG2FIX(SSL_SESS_CACHE_NO_INTERNAL_STORE)); rb_define_const 1387 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_INTERNAL", LONG2FIX(SSL_SESS_CACHE_NO_INTERNAL)); rb_define_const 1403 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "METHODS", ary); rb_define_const 1434 ext/openssl/ossl_ssl.c #define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2FIX(SSL_##x)) rb_define_const 15 ext/openssl/ossl_x509.c #define DefX509Const(x) rb_define_const(mX509, #x,INT2FIX(X509_##x)) rb_define_const 17 ext/openssl/ossl_x509.c rb_define_const(mX509, "DEFAULT_" #x, rb_str_new2(X509_get_default_##i())) rb_define_const 359 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "DEFAULT_OBJECT_TYPE", utf8str); rb_define_const 369 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "OBJECT_TYPE_TEMPLATE", hash); rb_define_const 371 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "COMPAT", ULONG2NUM(XN_FLAG_COMPAT)); rb_define_const 372 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "RFC2253", ULONG2NUM(XN_FLAG_RFC2253)); rb_define_const 373 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "ONELINE", ULONG2NUM(XN_FLAG_ONELINE)); rb_define_const 374 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "MULTILINE", ULONG2NUM(XN_FLAG_MULTILINE)); rb_define_const 803 ext/racc/cparse/cparse.c rb_define_const(Parser, "Racc_Runtime_Core_Version_C", rb_define_const 805 ext/racc/cparse/cparse.c rb_define_const(Parser, "Racc_Runtime_Core_Id_C", rb_define_const 1256 ext/readline/readline.c rb_define_const(mReadline, "HISTORY", history); rb_define_const 1265 ext/readline/readline.c rb_define_const(mReadline, "FILENAME_COMPLETION_PROC", fcomp); rb_define_const 1274 ext/readline/readline.c rb_define_const(mReadline, "USERNAME_COMPLETION_PROC", ucomp); rb_define_const 1300 ext/readline/readline.c rb_define_const(mReadline, "VERSION", version); rb_define_const 255 ext/ripper/eventids1.c rb_define_const(self, "PARSER_EVENT_TABLE", h); rb_define_const 6 ext/ripper/eventids2table.c rb_define_const(self, "SCANNER_EVENT_TABLE", h); rb_define_const 15732 ext/ripper/ripper.c rb_define_const(Ripper, "Version", rb_usascii_str_new2(RIPPER_VERSION)); rb_define_const 10332 ext/ripper/ripper.y rb_define_const(Ripper, "Version", rb_usascii_str_new2(RIPPER_VERSION)); rb_define_const 3565 ext/socket/socket.c rb_define_const(rb_cSocket, name, INT2FIX(value)); rb_define_const 3566 ext/socket/socket.c rb_define_const(mConst, name, INT2FIX(value)); rb_define_const 3572 ext/socket/socket.c rb_define_const(rb_cSocket, name, UINT2NUM(value)); rb_define_const 3573 ext/socket/socket.c rb_define_const(mConst, name, UINT2NUM(value)); rb_define_const 2106 ext/syck/rubyext.c rb_define_const( rb_syck, "VERSION", rb_str_new2( SYCK_VERSION ) ); rb_define_const 2192 ext/syck/rubyext.c rb_define_const( rb_syck, "DefaultResolver", oDefaultResolver ); rb_define_const 2196 ext/syck/rubyext.c rb_define_const( rb_syck, "GenericResolver", oGenericResolver ); rb_define_const 264 ext/syslog/syslog.c rb_define_const(mSyslogConstants, #id, INT2NUM(id)) rb_define_const 9871 ext/tk/tcltklib.c rb_define_const(lib, "COMPILE_INFO", tcltklib_compile_info()); rb_define_const 9873 ext/tk/tcltklib.c rb_define_const(lib, "RELEASE_DATE", rb_define_const 9876 ext/tk/tcltklib.c rb_define_const(lib, "FINALIZE_PROC_NAME", rb_define_const 9894 ext/tk/tcltklib.c rb_define_const(lib, "WINDOWING_SYSTEM", rb_define_const 9899 ext/tk/tcltklib.c rb_define_const(ev_flag, "NONE", INT2FIX(0)); rb_define_const 9900 ext/tk/tcltklib.c rb_define_const(ev_flag, "WINDOW", INT2FIX(TCL_WINDOW_EVENTS)); rb_define_const 9901 ext/tk/tcltklib.c rb_define_const(ev_flag, "FILE", INT2FIX(TCL_FILE_EVENTS)); rb_define_const 9902 ext/tk/tcltklib.c rb_define_const(ev_flag, "TIMER", INT2FIX(TCL_TIMER_EVENTS)); rb_define_const 9903 ext/tk/tcltklib.c rb_define_const(ev_flag, "IDLE", INT2FIX(TCL_IDLE_EVENTS)); rb_define_const 9904 ext/tk/tcltklib.c rb_define_const(ev_flag, "ALL", INT2FIX(TCL_ALL_EVENTS)); rb_define_const 9905 ext/tk/tcltklib.c rb_define_const(ev_flag, "DONT_WAIT", INT2FIX(TCL_DONT_WAIT)); rb_define_const 9909 ext/tk/tcltklib.c rb_define_const(var_flag, "NONE", INT2FIX(0)); rb_define_const 9910 ext/tk/tcltklib.c rb_define_const(var_flag, "GLOBAL_ONLY", INT2FIX(TCL_GLOBAL_ONLY)); rb_define_const 9912 ext/tk/tcltklib.c rb_define_const(var_flag, "NAMESPACE_ONLY", INT2FIX(TCL_NAMESPACE_ONLY)); rb_define_const 9914 ext/tk/tcltklib.c rb_define_const(var_flag, "NAMESPACE_ONLY", INT2FIX(0)); rb_define_const 9916 ext/tk/tcltklib.c rb_define_const(var_flag, "LEAVE_ERR_MSG", INT2FIX(TCL_LEAVE_ERR_MSG)); rb_define_const 9917 ext/tk/tcltklib.c rb_define_const(var_flag, "APPEND_VALUE", INT2FIX(TCL_APPEND_VALUE)); rb_define_const 9918 ext/tk/tcltklib.c rb_define_const(var_flag, "LIST_ELEMENT", INT2FIX(TCL_LIST_ELEMENT)); rb_define_const 9920 ext/tk/tcltklib.c rb_define_const(var_flag, "PARSE_VARNAME", INT2FIX(TCL_PARSE_PART1)); rb_define_const 9922 ext/tk/tcltklib.c rb_define_const(var_flag, "PARSE_VARNAME", INT2FIX(0)); rb_define_const 9931 ext/tk/tcltklib.c rb_define_const(release_type, "ALPHA", INT2FIX(TCL_ALPHA_RELEASE)); rb_define_const 9932 ext/tk/tcltklib.c rb_define_const(release_type, "BETA", INT2FIX(TCL_BETA_RELEASE)); rb_define_const 9933 ext/tk/tcltklib.c rb_define_const(release_type, "FINAL", INT2FIX(TCL_FINAL_RELEASE)); rb_define_const 1671 ext/tk/tkutil/tkutil.c rb_define_const(mTK, "RELEASE_DATE", rb_define_const 1744 ext/tk/tkutil/tkutil.c rb_define_const(mTK, "None", TK_None); rb_define_const 2561 ext/win32ole/win32ole.c rb_define_const(klass, pName, val); rb_define_const 2577 ext/win32ole/win32ole.c rb_define_const(klass, "CONSTANTS", constant); rb_define_const 9021 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "VERSION", rb_str_new2(WIN32OLE_VERSION)); rb_define_const 9022 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "ARGV", rb_ary_new()); rb_define_const 9024 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_ACP", INT2FIX(CP_ACP)); rb_define_const 9025 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_OEMCP", INT2FIX(CP_OEMCP)); rb_define_const 9026 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_MACCP", INT2FIX(CP_MACCP)); rb_define_const 9027 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_THREAD_ACP", INT2FIX(CP_THREAD_ACP)); rb_define_const 9028 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_SYMBOL", INT2FIX(CP_SYMBOL)); rb_define_const 9029 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_UTF7", INT2FIX(CP_UTF7)); rb_define_const 9030 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "CP_UTF8", INT2FIX(CP_UTF8)); rb_define_const 9032 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "LOCALE_SYSTEM_DEFAULT", INT2FIX(LOCALE_SYSTEM_DEFAULT)); rb_define_const 9033 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE, "LOCALE_USER_DEFAULT", INT2FIX(LOCALE_USER_DEFAULT)); rb_define_const 9036 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_EMPTY", INT2FIX(VT_EMPTY)); rb_define_const 9037 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_NULL", INT2FIX(VT_NULL)); rb_define_const 9038 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_I2", INT2FIX(VT_I2)); rb_define_const 9039 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_I4", INT2FIX(VT_I4)); rb_define_const 9040 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_R4", INT2FIX(VT_R4)); rb_define_const 9041 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_R8", INT2FIX(VT_R8)); rb_define_const 9042 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_CY", INT2FIX(VT_CY)); rb_define_const 9043 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_DATE", INT2FIX(VT_DATE)); rb_define_const 9044 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_BSTR", INT2FIX(VT_BSTR)); rb_define_const 9045 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_USERDEFINED", INT2FIX(VT_USERDEFINED)); rb_define_const 9046 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_PTR", INT2FIX(VT_PTR)); rb_define_const 9047 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_DISPATCH", INT2FIX(VT_DISPATCH)); rb_define_const 9048 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_ERROR", INT2FIX(VT_ERROR)); rb_define_const 9049 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_BOOL", INT2FIX(VT_BOOL)); rb_define_const 9050 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_VARIANT", INT2FIX(VT_VARIANT)); rb_define_const 9051 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_UNKNOWN", INT2FIX(VT_UNKNOWN)); rb_define_const 9052 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_I1", INT2FIX(VT_I1)); rb_define_const 9053 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_UI1", INT2FIX(VT_UI1)); rb_define_const 9054 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_UI2", INT2FIX(VT_UI2)); rb_define_const 9055 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_UI4", INT2FIX(VT_UI4)); rb_define_const 9057 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_I8", INT2FIX(VT_I8)); rb_define_const 9058 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_UI8", INT2FIX(VT_UI8)); rb_define_const 9060 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_INT", INT2FIX(VT_INT)); rb_define_const 9061 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_UINT", INT2FIX(VT_UINT)); rb_define_const 9062 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_ARRAY", INT2FIX(VT_ARRAY)); rb_define_const 9063 ext/win32ole/win32ole.c rb_define_const(mWIN32OLE_VARIANT, "VT_BYREF", INT2FIX(VT_BYREF)); rb_define_const 9175 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE_VARIANT, "Empty", rb_funcall(cWIN32OLE_VARIANT, rb_intern("new"), 2, Qnil, INT2FIX(VT_EMPTY))); rb_define_const 9176 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE_VARIANT, "Null", rb_funcall(cWIN32OLE_VARIANT, rb_intern("new"), 2, Qnil, INT2FIX(VT_NULL))); rb_define_const 9177 ext/win32ole/win32ole.c rb_define_const(cWIN32OLE_VARIANT, "Nothing", rb_funcall(cWIN32OLE_VARIANT, rb_intern("new"), 2, Qnil, INT2FIX(VT_DISPATCH))); rb_define_const 3445 ext/zlib/zlib.c rb_define_const(mZlib, "VERSION", rb_str_new2(RUBY_ZLIB_VERSION)); rb_define_const 3446 ext/zlib/zlib.c rb_define_const(mZlib, "ZLIB_VERSION", rb_str_new2(ZLIB_VERSION)); rb_define_const 3468 ext/zlib/zlib.c rb_define_const(mZlib, "BINARY", INT2FIX(Z_BINARY)); rb_define_const 3469 ext/zlib/zlib.c rb_define_const(mZlib, "ASCII", INT2FIX(Z_ASCII)); rb_define_const 3470 ext/zlib/zlib.c rb_define_const(mZlib, "UNKNOWN", INT2FIX(Z_UNKNOWN)); rb_define_const 3493 ext/zlib/zlib.c rb_define_const(mZlib, "NO_COMPRESSION", INT2FIX(Z_NO_COMPRESSION)); rb_define_const 3494 ext/zlib/zlib.c rb_define_const(mZlib, "BEST_SPEED", INT2FIX(Z_BEST_SPEED)); rb_define_const 3495 ext/zlib/zlib.c rb_define_const(mZlib, "BEST_COMPRESSION", INT2FIX(Z_BEST_COMPRESSION)); rb_define_const 3496 ext/zlib/zlib.c rb_define_const(mZlib, "DEFAULT_COMPRESSION", rb_define_const 3499 ext/zlib/zlib.c rb_define_const(mZlib, "FILTERED", INT2FIX(Z_FILTERED)); rb_define_const 3500 ext/zlib/zlib.c rb_define_const(mZlib, "HUFFMAN_ONLY", INT2FIX(Z_HUFFMAN_ONLY)); rb_define_const 3501 ext/zlib/zlib.c rb_define_const(mZlib, "DEFAULT_STRATEGY", INT2FIX(Z_DEFAULT_STRATEGY)); rb_define_const 3503 ext/zlib/zlib.c rb_define_const(mZlib, "MAX_WBITS", INT2FIX(MAX_WBITS)); rb_define_const 3504 ext/zlib/zlib.c rb_define_const(mZlib, "DEF_MEM_LEVEL", INT2FIX(DEF_MEM_LEVEL)); rb_define_const 3505 ext/zlib/zlib.c rb_define_const(mZlib, "MAX_MEM_LEVEL", INT2FIX(MAX_MEM_LEVEL)); rb_define_const 3507 ext/zlib/zlib.c rb_define_const(mZlib, "NO_FLUSH", INT2FIX(Z_NO_FLUSH)); rb_define_const 3508 ext/zlib/zlib.c rb_define_const(mZlib, "SYNC_FLUSH", INT2FIX(Z_SYNC_FLUSH)); rb_define_const 3509 ext/zlib/zlib.c rb_define_const(mZlib, "FULL_FLUSH", INT2FIX(Z_FULL_FLUSH)); rb_define_const 3510 ext/zlib/zlib.c rb_define_const(mZlib, "FINISH", INT2FIX(Z_FINISH)); rb_define_const 3591 ext/zlib/zlib.c rb_define_const(mZlib, "OS_CODE", INT2FIX(OS_CODE)); rb_define_const 3592 ext/zlib/zlib.c rb_define_const(mZlib, "OS_MSDOS", INT2FIX(OS_MSDOS)); rb_define_const 3593 ext/zlib/zlib.c rb_define_const(mZlib, "OS_AMIGA", INT2FIX(OS_AMIGA)); rb_define_const 3594 ext/zlib/zlib.c rb_define_const(mZlib, "OS_VMS", INT2FIX(OS_VMS)); rb_define_const 3595 ext/zlib/zlib.c rb_define_const(mZlib, "OS_UNIX", INT2FIX(OS_UNIX)); rb_define_const 3596 ext/zlib/zlib.c rb_define_const(mZlib, "OS_ATARI", INT2FIX(OS_ATARI)); rb_define_const 3597 ext/zlib/zlib.c rb_define_const(mZlib, "OS_OS2", INT2FIX(OS_OS2)); rb_define_const 3598 ext/zlib/zlib.c rb_define_const(mZlib, "OS_MACOS", INT2FIX(OS_MACOS)); rb_define_const 3599 ext/zlib/zlib.c rb_define_const(mZlib, "OS_TOPS20", INT2FIX(OS_TOPS20)); rb_define_const 3600 ext/zlib/zlib.c rb_define_const(mZlib, "OS_WIN32", INT2FIX(OS_WIN32)); rb_define_const 3602 ext/zlib/zlib.c rb_define_const(mZlib, "OS_VMCMS", INT2FIX(OS_VMCMS)); rb_define_const 3603 ext/zlib/zlib.c rb_define_const(mZlib, "OS_ZSYSTEM", INT2FIX(OS_ZSYSTEM)); rb_define_const 3604 ext/zlib/zlib.c rb_define_const(mZlib, "OS_CPM", INT2FIX(OS_CPM)); rb_define_const 3605 ext/zlib/zlib.c rb_define_const(mZlib, "OS_QDOS", INT2FIX(OS_QDOS)); rb_define_const 3606 ext/zlib/zlib.c rb_define_const(mZlib, "OS_RISCOS", INT2FIX(OS_RISCOS)); rb_define_const 3607 ext/zlib/zlib.c rb_define_const(mZlib, "OS_UNKNOWN", INT2FIX(OS_UNKNOWN)); rb_define_const 4377 file.c rb_define_const(rb_mFConst, name, value); rb_define_const 4727 file.c rb_define_const(rb_cFile, "Separator", separator); rb_define_const 4728 file.c rb_define_const(rb_cFile, "SEPARATOR", separator); rb_define_const 4733 file.c rb_define_const(rb_cFile, "ALT_SEPARATOR", rb_obj_freeze(rb_usascii_str_new2("\\"))); rb_define_const 4735 file.c rb_define_const(rb_cFile, "ALT_SEPARATOR", Qnil); rb_define_const 4737 file.c rb_define_const(rb_cFile, "PATH_SEPARATOR", rb_obj_freeze(rb_str_new2(PATH_SEP))); rb_define_const 880 include/ruby/ruby.h void rb_define_const(VALUE,const char*,VALUE); rb_define_const 8604 io.c rb_define_const(rb_cIO, "SEEK_SET", INT2FIX(SEEK_SET)); rb_define_const 8605 io.c rb_define_const(rb_cIO, "SEEK_CUR", INT2FIX(SEEK_CUR)); rb_define_const 8606 io.c rb_define_const(rb_cIO, "SEEK_END", INT2FIX(SEEK_END)); rb_define_const 1727 marshal.c rb_define_const(rb_mMarshal, "MAJOR_VERSION", INT2FIX(MARSHAL_MAJOR)); rb_define_const 1728 marshal.c rb_define_const(rb_mMarshal, "MINOR_VERSION", INT2FIX(MARSHAL_MINOR)); rb_define_const 701 math.c rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI)); rb_define_const 703 math.c rb_define_const(rb_mMath, "PI", DBL2NUM(atan(1.0)*4.0)); rb_define_const 707 math.c rb_define_const(rb_mMath, "E", DBL2NUM(M_E)); rb_define_const 709 math.c rb_define_const(rb_mMath, "E", DBL2NUM(exp(1.0))); rb_define_const 3212 numeric.c rb_define_const(rb_cFloat, "ROUNDS", INT2FIX(FLT_ROUNDS)); rb_define_const 3213 numeric.c rb_define_const(rb_cFloat, "RADIX", INT2FIX(FLT_RADIX)); rb_define_const 3214 numeric.c rb_define_const(rb_cFloat, "MANT_DIG", INT2FIX(DBL_MANT_DIG)); rb_define_const 3215 numeric.c rb_define_const(rb_cFloat, "DIG", INT2FIX(DBL_DIG)); rb_define_const 3216 numeric.c rb_define_const(rb_cFloat, "MIN_EXP", INT2FIX(DBL_MIN_EXP)); rb_define_const 3217 numeric.c rb_define_const(rb_cFloat, "MAX_EXP", INT2FIX(DBL_MAX_EXP)); rb_define_const 3218 numeric.c rb_define_const(rb_cFloat, "MIN_10_EXP", INT2FIX(DBL_MIN_10_EXP)); rb_define_const 3219 numeric.c rb_define_const(rb_cFloat, "MAX_10_EXP", INT2FIX(DBL_MAX_10_EXP)); rb_define_const 3220 numeric.c rb_define_const(rb_cFloat, "MIN", DBL2NUM(DBL_MIN)); rb_define_const 3221 numeric.c rb_define_const(rb_cFloat, "MAX", DBL2NUM(DBL_MAX)); rb_define_const 3222 numeric.c rb_define_const(rb_cFloat, "EPSILON", DBL2NUM(DBL_EPSILON)); rb_define_const 15664 parse.c rb_define_const(Ripper, "Version", rb_usascii_str_new2(RIPPER_VERSION)); rb_define_const 10332 parse.y rb_define_const(Ripper, "Version", rb_usascii_str_new2(RIPPER_VERSION)); rb_define_const 5036 process.c rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(WNOHANG)); rb_define_const 5038 process.c rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(0)); rb_define_const 5041 process.c rb_define_const(rb_mProcess, "WUNTRACED", INT2FIX(WUNTRACED)); rb_define_const 5043 process.c rb_define_const(rb_mProcess, "WUNTRACED", INT2FIX(0)); rb_define_const 5096 process.c rb_define_const(rb_mProcess, "PRIO_PROCESS", INT2FIX(PRIO_PROCESS)); rb_define_const 5097 process.c rb_define_const(rb_mProcess, "PRIO_PGRP", INT2FIX(PRIO_PGRP)); rb_define_const 5098 process.c rb_define_const(rb_mProcess, "PRIO_USER", INT2FIX(PRIO_USER)); rb_define_const 5108 process.c rb_define_const(rb_mProcess, "RLIM_SAVED_MAX", v); rb_define_const 5110 process.c rb_define_const(rb_mProcess, "RLIM_INFINITY", inf); rb_define_const 5113 process.c rb_define_const(rb_mProcess, "RLIM_SAVED_CUR", v); rb_define_const 5117 process.c rb_define_const(rb_mProcess, "RLIMIT_CORE", INT2FIX(RLIMIT_CORE)); rb_define_const 5120 process.c rb_define_const(rb_mProcess, "RLIMIT_CPU", INT2FIX(RLIMIT_CPU)); rb_define_const 5123 process.c rb_define_const(rb_mProcess, "RLIMIT_DATA", INT2FIX(RLIMIT_DATA)); rb_define_const 5126 process.c rb_define_const(rb_mProcess, "RLIMIT_FSIZE", INT2FIX(RLIMIT_FSIZE)); rb_define_const 5129 process.c rb_define_const(rb_mProcess, "RLIMIT_NOFILE", INT2FIX(RLIMIT_NOFILE)); rb_define_const 5132 process.c rb_define_const(rb_mProcess, "RLIMIT_STACK", INT2FIX(RLIMIT_STACK)); rb_define_const 5135 process.c rb_define_const(rb_mProcess, "RLIMIT_AS", INT2FIX(RLIMIT_AS)); rb_define_const 5138 process.c rb_define_const(rb_mProcess, "RLIMIT_MEMLOCK", INT2FIX(RLIMIT_MEMLOCK)); rb_define_const 5141 process.c rb_define_const(rb_mProcess, "RLIMIT_NPROC", INT2FIX(RLIMIT_NPROC)); rb_define_const 5144 process.c rb_define_const(rb_mProcess, "RLIMIT_RSS", INT2FIX(RLIMIT_RSS)); rb_define_const 5147 process.c rb_define_const(rb_mProcess, "RLIMIT_SBSIZE", INT2FIX(RLIMIT_SBSIZE)); rb_define_const 3407 re.c rb_define_const(rb_cRegexp, "IGNORECASE", INT2FIX(ONIG_OPTION_IGNORECASE)); rb_define_const 3408 re.c rb_define_const(rb_cRegexp, "EXTENDED", INT2FIX(ONIG_OPTION_EXTEND)); rb_define_const 3409 re.c rb_define_const(rb_cRegexp, "MULTILINE", INT2FIX(ONIG_OPTION_MULTILINE)); rb_define_const 3753 thread.c rb_define_const(cThGroup, "Default", th->thgroup); rb_define_const 4104 transcode.c rb_define_const(rb_cEncodingConverter, "INVALID_MASK", INT2FIX(ECONV_INVALID_MASK)); rb_define_const 4105 transcode.c rb_define_const(rb_cEncodingConverter, "INVALID_REPLACE", INT2FIX(ECONV_INVALID_REPLACE)); rb_define_const 4106 transcode.c rb_define_const(rb_cEncodingConverter, "UNDEF_MASK", INT2FIX(ECONV_UNDEF_MASK)); rb_define_const 4107 transcode.c rb_define_const(rb_cEncodingConverter, "UNDEF_REPLACE", INT2FIX(ECONV_UNDEF_REPLACE)); rb_define_const 4108 transcode.c rb_define_const(rb_cEncodingConverter, "UNDEF_HEX_CHARREF", INT2FIX(ECONV_UNDEF_HEX_CHARREF)); rb_define_const 4109 transcode.c rb_define_const(rb_cEncodingConverter, "PARTIAL_INPUT", INT2FIX(ECONV_PARTIAL_INPUT)); rb_define_const 4110 transcode.c rb_define_const(rb_cEncodingConverter, "AFTER_OUTPUT", INT2FIX(ECONV_AFTER_OUTPUT)); rb_define_const 4111 transcode.c rb_define_const(rb_cEncodingConverter, "UNIVERSAL_NEWLINE_DECORATOR", INT2FIX(ECONV_UNIVERSAL_NEWLINE_DECORATOR)); rb_define_const 4112 transcode.c rb_define_const(rb_cEncodingConverter, "CRLF_NEWLINE_DECORATOR", INT2FIX(ECONV_CRLF_NEWLINE_DECORATOR)); rb_define_const 4113 transcode.c rb_define_const(rb_cEncodingConverter, "CR_NEWLINE_DECORATOR", INT2FIX(ECONV_CR_NEWLINE_DECORATOR)); rb_define_const 4114 transcode.c rb_define_const(rb_cEncodingConverter, "XML_TEXT_DECORATOR", INT2FIX(ECONV_XML_TEXT_DECORATOR)); rb_define_const 4115 transcode.c rb_define_const(rb_cEncodingConverter, "XML_ATTR_CONTENT_DECORATOR", INT2FIX(ECONV_XML_ATTR_CONTENT_DECORATOR)); rb_define_const 4116 transcode.c rb_define_const(rb_cEncodingConverter, "XML_ATTR_QUOTE_DECORATOR", INT2FIX(ECONV_XML_ATTR_QUOTE_DECORATOR)); rb_define_const 1757 variable.c rb_define_const(rb_cObject, name, val); rb_define_const 1861 vm.c rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_INSN", rb_hash_new()); rb_define_const 1862 vm.c rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_REGS", rb_hash_new()); rb_define_const 1863 vm.c rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_INSN_BIGRAM", rb_hash_new()); rb_define_const 1864 vm.c rb_define_const(rb_cRubyVM, "OPTS", opts = rb_ary_new()); rb_define_const 1895 vm.c rb_define_const(rb_cRubyVM, "INSTRUCTION_NAMES", rb_insns_name_array());