ext 22 class.c rb_classext_t *ext = ALLOC(rb_classext_t);
ext 25 class.c obj->ptr = ext;
ext 465 ext/openssl/ossl_ocsp.c if(!NIL_P(ext)){
ext 467 ext/openssl/ossl_ocsp.c Check_Type(ext, T_ARRAY);
ext 468 ext/openssl/ossl_ocsp.c for (i = 0; i < RARRAY_LEN(ext); i++)
ext 469 ext/openssl/ossl_ocsp.c OSSL_Check_Kind(RARRAY_PTR(ext)[i], cX509Ext);
ext 493 ext/openssl/ossl_ocsp.c if(!NIL_P(ext)){
ext 497 ext/openssl/ossl_ocsp.c for(i = 0; i < RARRAY_LEN(ext); i++){
ext 498 ext/openssl/ossl_ocsp.c x509ext = DupX509ExtPtr(RARRAY_PTR(ext)[i]);
ext 527 ext/openssl/ossl_ocsp.c VALUE ret, ary, ext;
ext 550 ext/openssl/ossl_ocsp.c ext = rb_ary_new();
ext 554 ext/openssl/ossl_ocsp.c rb_ary_push(ext, ossl_x509ext_new(x509ext));
ext 556 ext/openssl/ossl_ocsp.c rb_ary_push(ary, ext);
ext 621 ext/openssl/ossl_x509cert.c X509_EXTENSION *ext;
ext 631 ext/openssl/ossl_x509cert.c ext = X509_get_ext(x509, i); /* NO DUP - don't free! */
ext 632 ext/openssl/ossl_x509cert.c rb_ary_push(ary, ossl_x509ext_new(ext));
ext 646 ext/openssl/ossl_x509cert.c X509_EXTENSION *ext;
ext 658 ext/openssl/ossl_x509cert.c ext = DupX509ExtPtr(RARRAY_PTR(ary)[i]);
ext 660 ext/openssl/ossl_x509cert.c if (!X509_add_ext(x509, ext, -1)) { /* DUPs ext - FREE it */
ext 661 ext/openssl/ossl_x509cert.c X509_EXTENSION_free(ext);
ext 664 ext/openssl/ossl_x509cert.c X509_EXTENSION_free(ext);
ext 678 ext/openssl/ossl_x509cert.c X509_EXTENSION *ext;
ext 681 ext/openssl/ossl_x509cert.c ext = DupX509ExtPtr(extension);
ext 682 ext/openssl/ossl_x509cert.c if (!X509_add_ext(x509, ext, -1)) { /* DUPs ext - FREE it */
ext 683 ext/openssl/ossl_x509cert.c X509_EXTENSION_free(ext);
ext 686 ext/openssl/ossl_x509cert.c X509_EXTENSION_free(ext);
ext 436 ext/openssl/ossl_x509crl.c X509_EXTENSION *ext;
ext 447 ext/openssl/ossl_x509crl.c ext = X509_CRL_get_ext(crl, i); /* NO DUP - don't free! */
ext 448 ext/openssl/ossl_x509crl.c rb_ary_push(ary, ossl_x509ext_new(ext));
ext 461 ext/openssl/ossl_x509crl.c X509_EXTENSION *ext;
ext 473 ext/openssl/ossl_x509crl.c ext = DupX509ExtPtr(RARRAY_PTR(ary)[i]);
ext 474 ext/openssl/ossl_x509crl.c if(!X509_CRL_add_ext(crl, ext, -1)) { /* DUPs ext - FREE it */
ext 475 ext/openssl/ossl_x509crl.c X509_EXTENSION_free(ext);
ext 478 ext/openssl/ossl_x509crl.c X509_EXTENSION_free(ext);
ext 488 ext/openssl/ossl_x509crl.c X509_EXTENSION *ext;
ext 491 ext/openssl/ossl_x509crl.c ext = DupX509ExtPtr(extension);
ext 492 ext/openssl/ossl_x509crl.c if (!X509_CRL_add_ext(crl, ext, -1)) { /* DUPs ext - FREE it */
ext 493 ext/openssl/ossl_x509crl.c X509_EXTENSION_free(ext);
ext 496 ext/openssl/ossl_x509crl.c X509_EXTENSION_free(ext);
ext 14 ext/openssl/ossl_x509ext.c if (!ext) { \
ext 17 ext/openssl/ossl_x509ext.c obj = Data_Wrap_Struct(klass, 0, X509_EXTENSION_free, ext); \
ext 20 ext/openssl/ossl_x509ext.c Data_Get_Struct(obj, X509_EXTENSION, ext); \
ext 21 ext/openssl/ossl_x509ext.c if (!ext) { \
ext 27 ext/openssl/ossl_x509ext.c GetX509Ext(obj, ext); \
ext 58 ext/openssl/ossl_x509ext.c if (!ext) {
ext 61 ext/openssl/ossl_x509ext.c new = X509_EXTENSION_dup(ext);
ext 74 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 76 ext/openssl/ossl_x509ext.c SafeGetX509Ext(obj, ext);
ext 78 ext/openssl/ossl_x509ext.c return ext;
ext 84 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext, *new;
ext 86 ext/openssl/ossl_x509ext.c SafeGetX509Ext(obj, ext);
ext 87 ext/openssl/ossl_x509ext.c if (!(new = X509_EXTENSION_dup(ext))) {
ext 218 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 242 ext/openssl/ossl_x509ext.c ext = X509V3_EXT_nconf_nid(conf, ctx, nid, RSTRING_PTR(valstr));
ext 245 ext/openssl/ossl_x509ext.c ext = X509V3_EXT_conf_nid(empty_lhash, ctx, nid, RSTRING_PTR(valstr));
ext 247 ext/openssl/ossl_x509ext.c if (!ext){
ext 251 ext/openssl/ossl_x509ext.c WrapX509Ext(cX509Ext, obj, ext);
ext 262 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 265 ext/openssl/ossl_x509ext.c if(!(ext = X509_EXTENSION_new())){
ext 268 ext/openssl/ossl_x509ext.c WrapX509Ext(klass, obj, ext);
ext 278 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext, *x;
ext 280 ext/openssl/ossl_x509ext.c GetX509Ext(self, ext);
ext 285 ext/openssl/ossl_x509ext.c x = d2i_X509_EXTENSION(&ext, &p, RSTRING_LEN(oid));
ext 286 ext/openssl/ossl_x509ext.c DATA_PTR(self) = ext;
ext 301 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 309 ext/openssl/ossl_x509ext.c GetX509Ext(self, ext);
ext 310 ext/openssl/ossl_x509ext.c X509_EXTENSION_set_object(ext, obj);
ext 318 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 337 ext/openssl/ossl_x509ext.c GetX509Ext(self, ext);
ext 338 ext/openssl/ossl_x509ext.c X509_EXTENSION_set_data(ext, asn1s);
ext 346 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 348 ext/openssl/ossl_x509ext.c GetX509Ext(self, ext);
ext 349 ext/openssl/ossl_x509ext.c X509_EXTENSION_set_critical(ext, RTEST(flag) ? 1 : 0);
ext 357 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 363 ext/openssl/ossl_x509ext.c GetX509Ext(obj, ext);
ext 364 ext/openssl/ossl_x509ext.c extobj = X509_EXTENSION_get_object(ext);
ext 380 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 384 ext/openssl/ossl_x509ext.c GetX509Ext(obj, ext);
ext 387 ext/openssl/ossl_x509ext.c if (!X509V3_EXT_print(out, ext, 0, 0))
ext 388 ext/openssl/ossl_x509ext.c M_ASN1_OCTET_STRING_print(out, ext->value);
ext 397 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 399 ext/openssl/ossl_x509ext.c GetX509Ext(obj, ext);
ext 400 ext/openssl/ossl_x509ext.c return X509_EXTENSION_get_critical(ext) ? Qtrue : Qfalse;
ext 406 ext/openssl/ossl_x509ext.c X509_EXTENSION *ext;
ext 411 ext/openssl/ossl_x509ext.c GetX509Ext(obj, ext);
ext 412 ext/openssl/ossl_x509ext.c if((len = i2d_X509_EXTENSION(ext, NULL)) <= 0)
ext 416 ext/openssl/ossl_x509ext.c if(i2d_X509_EXTENSION(ext, &p) < 0)
ext 148 ext/openssl/ossl_x509revoked.c X509_EXTENSION *ext;
ext 159 ext/openssl/ossl_x509revoked.c ext = X509_REVOKED_get_ext(rev, i);
ext 160 ext/openssl/ossl_x509revoked.c rb_ary_push(ary, ossl_x509ext_new(ext));
ext 173 ext/openssl/ossl_x509revoked.c X509_EXTENSION *ext;
ext 186 ext/openssl/ossl_x509revoked.c ext = DupX509ExtPtr(item);
ext 187 ext/openssl/ossl_x509revoked.c if(!X509_REVOKED_add_ext(rev, ext, -1)) {
ext 201 ext/openssl/ossl_x509revoked.c if(!X509_REVOKED_add_ext(rev, DupX509ExtPtr(ext), -1)) {
ext 205 ext/openssl/ossl_x509revoked.c return ext;
ext 89 ext/syck/yaml2byte.c assert(ext && HASH == ext->hash);
ext 90 ext/syck/yaml2byte.c if(ext->printed) {
ext 91 ext/syck/yaml2byte.c assert(ext->buffer[0] ==YAMLBYTE_ANCHOR);
ext 92 ext/syck/yaml2byte.c curr = ext->buffer;
ext 95 ext/syck/yaml2byte.c bytestring_append(str, YAMLBYTE_ALIAS, ext->buffer + 1, curr);
ext 97 ext/syck/yaml2byte.c ext->printed = 1;
ext 98 ext/syck/yaml2byte.c length = (ext->length - ext->remaining);
ext 106 ext/syck/yaml2byte.c from = ext->buffer;
ext 107 ext/syck/yaml2byte.c stop = ext->buffer + length;
ext 4505 file.c if (!ext[0]) return 0;
ext 4520 file.c for (i=0; ext[i]; i++) {
ext 4521 file.c rb_str_cat2(fname, ext[i]);
ext 4540 file.c for (j=0; ext[j]; j++) {
ext 4541 file.c rb_str_cat2(fname, ext[j]);
ext 3856 io.c if (ext == NULL) {
ext 3857 io.c ext = rb_default_external_encoding();
ext 3860 io.c if (intern == NULL && ext != rb_ascii8bit_encoding())
ext 3863 io.c if (intern == NULL || intern == (rb_encoding *)Qnil || intern == ext) {
ext 3865 io.c *enc = default_ext ? NULL : ext;
ext 3870 io.c *enc2 = ext;
ext 130 load.c if (ext) {
ext 131 load.c elen = strlen(ext);
ext 154 load.c if (ext) continue;
ext 158 load.c if ((!rb || !ext) && (IS_SOEXT(e) || IS_DLEXT(e))) {
ext 161 load.c if ((rb || !ext) && (IS_RBEXT(e))) {
ext 184 load.c if (!ext) return 'u';
ext 185 load.c return !IS_RBEXT(ext) ? 's' : 'r';
ext 191 load.c if (ext && *ext) return 0;
ext 218 load.c const char *ext = strrchr(feature, '.');
ext 226 load.c if (ext && !strchr(ext, '/')) {
ext 227 load.c if (IS_RBEXT(ext)) {
ext 228 load.c if (rb_feature_p(feature, ext, Qtrue, Qfalse, loading)) return Qtrue;
ext 231 load.c else if (IS_SOEXT(ext) || IS_DLEXT(ext)) {
ext 232 load.c if (rb_feature_p(feature, ext, Qfalse, Qfalse, loading)) return Qtrue;
ext 437 load.c char *ext, *ftptr;
ext 442 load.c ext = strrchr(ftptr = RSTRING_PTR(fname), '.');
ext 443 load.c if (ext && !strchr(ext, '/')) {
ext 444 load.c if (IS_RBEXT(ext)) {
ext 445 load.c if (rb_feature_p(ftptr, ext, Qtrue, Qfalse, &loading)) {
ext 450 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.');
ext 451 load.c if (!rb_feature_p(ftptr, ext, Qtrue, Qtrue, &loading) || loading)
ext 457 load.c else if (IS_SOEXT(ext)) {
ext 458 load.c if (rb_feature_p(ftptr, ext, Qfalse, Qfalse, &loading)) {
ext 462 load.c tmp = rb_str_new(RSTRING_PTR(fname), ext - RSTRING_PTR(fname));
ext 466 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.');
ext 467 load.c if (!rb_feature_p(ftptr, ext, Qfalse, Qtrue, &loading) || loading)
ext 475 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.');
ext 476 load.c if (!rb_feature_p(ftptr, ext, Qfalse, Qtrue, &loading) || loading)
ext 482 load.c else if (IS_DLEXT(ext)) {
ext 483 load.c if (rb_feature_p(ftptr, ext, Qfalse, Qfalse, &loading)) {
ext 488 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.');
ext 489 load.c if (!rb_feature_p(ftptr, ext, Qfalse, Qtrue, &loading) || loading)
ext 513 load.c ext = strrchr(ftptr = RSTRING_PTR(tmp), '.');
ext 514 load.c if (rb_feature_p(ftptr, ext, !--type, Qtrue, &loading) && !loading)
ext 90 ruby.c } src, ext, intern;
ext 657 ruby.c set_option_encoding_once("default_extenal", &opt->ext.enc.name, e, elen)
ext 874 ruby.c if (!opt->ext.enc.name)
ext 875 ruby.c opt->ext.enc.name = opt->src.enc.name;
ext 1214 ruby.c VALUE ext_enc_name = opt->ext.enc.name;
ext 1217 ruby.c opt->src.enc.name = opt->ext.enc.name = opt->intern.enc.name = 0;
ext 1222 ruby.c opt->ext.enc.name = ext_enc_name;
ext 1282 ruby.c if (opt->ext.enc.name != 0) {
ext 1283 ruby.c opt->ext.enc.index = opt_enc_index(opt->ext.enc.name);
ext 1292 ruby.c if (opt->ext.enc.index >= 0) {
ext 1293 ruby.c enc = rb_enc_from_index(opt->ext.enc.index);
ext 1444 ruby.c const char *ext = strrchr(fname, '.');
ext 1445 ruby.c if (ext && STRCASECMP(ext, ".exe") == 0)
ext 1462 ruby.c int no_ext_enc = !opt->ext.enc.name;
ext 1544 ruby.c if (no_ext_enc && opt->ext.enc.name) {
ext 1545 ruby.c opt->ext.enc.index = opt_enc_index(opt->ext.enc.name);
ext 1801 ruby.c opt.ext.enc.index = -1;
ext 305 util.c t = ext; extlen = 0;
ext 307 util.c if (extlen == 0) { ext[0] = '.'; ext[1] = 0; extlen++; }
ext 310 util.c if (strEQ(ext, suffix)) goto fallback;
ext 315 util.c ext[extlen] = *suffix;
ext 316 util.c ext[++extlen] = '\0';
ext 321 util.c else if (ext[3] != *suffix) {
ext 322 util.c ext[3] = *suffix;
ext 328 util.c strcpy(p, ext);
ext 332 util.c (void)memcpy(p, strEQ(ext, suffix1) ? suffix2 : suffix1, 5);