Home
last modified time | relevance | path

Searched refs:rb_str_resize (Results 1 – 25 of 46) sorted by relevance

12

/dports/lang/ruby26/ruby-2.6.9/ext/stringio/
H A Dstringio.c211 rb_str_resize(string, 0); in strio_init()
747 rb_str_resize(ptr->string, pos + len); in strio_extend()
1403 if (!NIL_P(str)) rb_str_resize(str, 0); in strio_read()
1418 rb_str_resize(str, 0); in strio_read()
1435 rb_str_resize(str, len); in strio_read()
1544 rb_str_resize(string, l); in strio_truncate()
/dports/finance/quickfix/quickfix-1.15.1/src/ruby/
H A Dquickfix.i17 rb_str_resize( $input, 0 );
/dports/lang/ruby26/ruby-2.6.9/
H A Dsprintf.c64 rb_str_resize(result, bsiz);\
1192 rb_str_resize(result, blen); in rb_str_format()
1436 rb_str_resize(result, (char *)f._p - RSTRING_PTR(result)); in rb_enc_vsprintf()
1495 rb_str_resize(str, (char *)f._p - RSTRING_PTR(str)); in rb_str_vcatf()
H A Druby.c358 rb_str_resize(buf, len); in push_include_cygwin()
511 rb_str_resize(path, 0); in runtime_libruby_path()
529 rb_str_resize(wsopath, 0); in runtime_libruby_path()
549 rb_str_resize(fname, 0); in runtime_libruby_path()
626 rb_str_resize(sopath, baselen); in ruby_init_loadpath_safe()
812 rb_str_resize(argary, 0); in moreswitches()
813 rb_str_resize(argstr, 0); in moreswitches()
H A Dfile.c2956 rb_str_resize(v, 0); in rb_readlink()
2959 rb_str_resize(v, rv); in rb_readlink()
3321 rb_str_resize(result, buflen);\
3366 rb_str_resize(result, dirlen); in copy_home_path()
3462 rb_str_resize(pw_dir, 0); in rb_default_home_dir()
3503 rb_str_resize(result, buflen); in append_fspath()
3507 if (!NIL_P(dirname)) rb_str_resize(dirname, 0); in append_fspath()
3848 rb_str_resize(tmp, 0); in rb_file_expand_path_internal()
3873 rb_str_resize(str, RSTRING_LEN(str)); in str_shrink()
6110 rb_str_resize(tmp, 0); in rb_find_file_ext_safe()
[all …]
H A Dload.c495 rb_str_resize(bufstr, 0); in rb_feature_p()
503 rb_str_resize(bufstr, 0); in rb_feature_p()
508 rb_str_resize(bufstr, 0); in rb_feature_p()
H A Dprocess.c5540 rb_str_resize(maybe_result, 0); in rb_getlogin()
5600 rb_str_resize(getpwnm_tmp, 0); in rb_getpwdirnam_for_login()
5605 rb_str_resize(getpwnm_tmp, 0); in rb_getpwdirnam_for_login()
5616 rb_str_resize(getpwnm_tmp, 0); in rb_getpwdirnam_for_login()
5622 rb_str_resize(getpwnm_tmp, 0); in rb_getpwdirnam_for_login()
5679 rb_str_resize(getpwid_tmp, 0); in rb_getpwdiruid()
5684 rb_str_resize(getpwid_tmp, 0); in rb_getpwdiruid()
5695 rb_str_resize(getpwid_tmp, 0); in rb_getpwdiruid()
5701 rb_str_resize(getpwid_tmp, 0); in rb_getpwdiruid()
5769 rb_str_resize(*getpw_tmp, 0); in obj2uid()
[all …]
H A Ddir.c1529 if (tmp) rb_str_resize(tmp, 0); /* GC guard */ in do_opendir()
1834 IF_NORMALIZE_UTF8PATH(if (!NIL_P(utf8str)) rb_str_resize(utf8str, 0)); in replace_real_basename()
1858 if (tmp) rb_str_resize(tmp, 0); in replace_real_basename()
1892 rb_str_resize(tmp, 0); in replace_real_basename()
2272 IF_NORMALIZE_UTF8PATH(if (!NIL_P(utf8str)) rb_str_resize(utf8str, 0)); in glob_helper()
H A Dmarshal.c271 rb_str_resize(buf, 0); in w_nbyte()
1081 rb_str_resize(arg->str, 0); in rb_marshal_dump_limited()
1742 rb_str_resize(data, 0L); in r_object0()
H A Dio.c2679 rb_str_resize(str, n); in io_shrink_read_string()
3207 rb_str_resize(str, last + pending); in appendline()
3305 rb_str_resize(str, len + pending - chomplen); in rb_io_getline_fast()
9769 rb_str_resize(arg, len+1); in setup_narg()
11307 rb_str_resize(buf, 0); in copy_stream_fallback_body()
11320 rb_str_resize(buf, buflen); in copy_stream_fallback_body()
11322 rb_str_resize(buf, ss > 0 ? ss : 0); in copy_stream_fallback_body()
11442 rb_str_resize(str,len); in copy_stream_body()
11450 rb_str_resize(str, 0); in copy_stream_body()
11960 rb_str_resize(str,0); in argf_read()
[all …]
H A Dnode.c20 #define D_DEDENT rb_str_resize(indent, RSTRING_LEN(indent) - 4)
H A Dstrftime.c907 rb_str_resize(ftime, len); in rb_strftime_with_timespec()
H A Dvm_args.c747 rb_str_resize(mesg, RSTRING_LEN(mesg)-1); in argument_arity_error()
H A Dtranscode.c1834 rb_str_resize(dst, new_capa); in rb_econv_append()
2421 rb_str_resize(destination, new_len); in str_transcoding_resize()
3781 rb_str_resize(output, output_byteend); in econv_primitive_convert()
/dports/lang/ruby26/ruby-2.6.9/ext/nkf/
H A Dnkf.c47 rb_str_resize(result, o_len); in rb_nkf_putchar()
/dports/lang/ruby26/ruby-2.6.9/ext/openssl/
H A Dossl_digest.c235 rb_str_resize(str, out_len); in ossl_digest_finish()
H A Dossl_cipher.c401 rb_str_resize(str, out_len); in ossl_cipher_update()
H A Dossl_pkey_ec.c609 rb_str_resize(str, buf_len); in ossl_ec_key_dh_compute_key()
H A Dossl_asn1.c1301 rb_str_resize(str, len + 1); in asn1obj_get_oid_i()
/dports/lang/ruby26/ruby-2.6.9/ext/zlib/
H A Dzlib.c863 rb_str_resize(z->input, newlen); in zstream_discard_input()
887 rb_str_resize(z->input, 0); in zstream_reset_input()
1088 rb_str_resize(old_input, 0); in zstream_run()
2502 rb_str_resize(str, RSTRING_LEN(str)-1); in gzfile_error_inspect()
2789 rb_str_resize(outbuf, 0); in gzfile_readpartial()
2801 rb_str_resize(outbuf, 0); in gzfile_readpartial()
2809 rb_str_resize(outbuf, RSTRING_LEN(dst)); in gzfile_readpartial()
2811 rb_str_resize(dst, 0); in gzfile_readpartial()
2871 rb_str_resize(cbuf, dp - ds); in gzfile_getc()
3287 rb_str_resize(s, p - RSTRING_PTR(s)); in rb_gzfile_set_orig_name()
[all …]
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/
H A Dstring_spec.rb551 str = @s.rb_str_resize("test", 2)
563 str = @s.rb_str_resize(expected.dup, 12)
/dports/lang/ruby26/ruby-2.6.9/ext/socket/
H A Dancdata.c1198 rb_str_resize(controls_str, oldlen + cspace); in bsock_sendmsg_internal()
1517 rb_str_resize(dat_str, maxdatlen); in bsock_recvmsg_internal()
1524 rb_str_resize(ctl_str, maxctllen); in bsock_recvmsg_internal()
1633 rb_str_resize(dat_str, ss); in bsock_recvmsg_internal()
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/ext/
H A Dstring_spec.c311 return rb_str_resize(str, FIX2INT(size)); in string_spec_rb_str_resize()
315 VALUE modified = rb_str_resize(str, FIX2INT(size)); in string_spec_rb_str_resize_RSTRING_LEN()
/dports/lang/ruby26/ruby-2.6.9/ext/bigdecimal/
H A Dbigdecimal.c404 rb_str_resize(dump, strlen(psz)); in BigDecimal_dump()
2079 rb_str_resize(str, strlen(psz)); in BigDecimal_to_s()
2133 rb_str_resize(str, strlen(psz1)); in BigDecimal_split()
2169 rb_str_resize(str, strlen(RSTRING_PTR(str))); in BigDecimal_inspect()
4307 rb_str_resize(buf, 0); in VpAlloc()
/dports/lang/ruby26/ruby-2.6.9/ext/json/parser/
H A Dparser.rl576 rb_str_resize(*result, RSTRING_LEN(*result));

12