Home
last modified time | relevance | path

Searched refs:enif_alloc (Results 1 – 25 of 169) sorted by relevance

1234567

/dports/archivers/erlang-snappy/snappy-erlang-nif-1.1.2/c_src/
H A Derl_nif_compat.h49 #define enif_alloc_compat enif_alloc
73 #define enif_alloc_compat enif_alloc
109 enif_alloc(S)
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/jiffy/c_src/
H A Dtermstack.c31 stack->elements = enif_alloc(stack->size * sizeof(ERL_NIF_TERM)); in termstack_restore()
62 ERL_NIF_TERM* elems = enif_alloc(num_bytes); in termstack_push()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/crypto/c_src/
H A Dcrypto_callback.c67 void *ret = enif_alloc(size); in crypto_alloc()
163 lock_vec = enif_alloc(nlocks*sizeof(*lock_vec)); in get_crypto_callbacks()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/crypto/c_src/
H A Dcrypto_callback.c70 if ((ret = enif_alloc(size)) == NULL) in crypto_alloc()
181 if ((lock_vec = enif_alloc((size_t)nlocks * sizeof(*lock_vec))) == NULL) in get_crypto_callbacks()
H A Dengine.c90 if ((*buf = enif_alloc(bin.size + 1)) == NULL) in zero_terminate()
133 if ((engine_id = enif_alloc(engine_id_bin.size+1)) == NULL) in engine_by_id_nif()
282 if ((cmds = enif_alloc((cmds_len + 1) * sizeof(char*))) == NULL) in engine_ctrl_cmd_strings_nif()
758 if ((tuple1 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
772 if ((tuple2 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/crypto/c_src/
H A Dcrypto_callback.c76 if ((ret = enif_alloc(size)) == NULL) in crypto_alloc()
210 if ((lock_vec = enif_alloc((size_t)nlocks * sizeof(*lock_vec))) == NULL) in get_crypto_callbacks()
H A Dengine.c97 if ((*buf = enif_alloc(bin.size + 1)) == NULL) in zero_terminate()
140 if ((engine_id = enif_alloc(engine_id_bin.size+1)) == NULL) in engine_by_id_nif()
295 if ((cmds = enif_alloc((cmds_len + 1) * sizeof(char*))) == NULL) in engine_ctrl_cmd_strings_nif()
783 if ((tuple1 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
797 if ((tuple2 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dcrypto_callback.c76 if ((ret = enif_alloc(size)) == NULL) in crypto_alloc()
210 if ((lock_vec = enif_alloc((size_t)nlocks * sizeof(*lock_vec))) == NULL) in get_crypto_callbacks()
H A Dengine.c97 if ((*buf = enif_alloc(bin.size + 1)) == NULL) in zero_terminate()
140 if ((engine_id = enif_alloc(engine_id_bin.size+1)) == NULL) in engine_by_id_nif()
278 if ((cmds = enif_alloc((cmds_len + 1) * sizeof(char*))) == NULL) in engine_ctrl_cmd_strings_nif()
770 if ((tuple1 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
784 if ((tuple2 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dcrypto_callback.c76 if ((ret = enif_alloc(size)) == NULL) in crypto_alloc()
210 if ((lock_vec = enif_alloc((size_t)nlocks * sizeof(*lock_vec))) == NULL) in get_crypto_callbacks()
H A Dengine.c97 if ((*buf = enif_alloc(bin.size + 1)) == NULL) in zero_terminate()
140 if ((engine_id = enif_alloc(engine_id_bin.size+1)) == NULL) in engine_by_id_nif()
278 if ((cmds = enif_alloc((cmds_len + 1) * sizeof(char*))) == NULL) in engine_ctrl_cmd_strings_nif()
770 if ((tuple1 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
784 if ((tuple2 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
/dports/lang/erlang/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dcrypto_callback.c76 if ((ret = enif_alloc(size)) == NULL) in crypto_alloc()
210 if ((lock_vec = enif_alloc((size_t)nlocks * sizeof(*lock_vec))) == NULL) in get_crypto_callbacks()
H A Dengine.c97 if ((*buf = enif_alloc(bin.size + 1)) == NULL) in zero_terminate()
140 if ((engine_id = enif_alloc(engine_id_bin.size+1)) == NULL) in engine_by_id_nif()
278 if ((cmds = enif_alloc((cmds_len + 1) * sizeof(char*))) == NULL) in engine_ctrl_cmd_strings_nif()
770 if ((tuple1 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
784 if ((tuple2 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dcrypto_callback.c76 if ((ret = enif_alloc(size)) == NULL) in crypto_alloc()
210 if ((lock_vec = enif_alloc((size_t)nlocks * sizeof(*lock_vec))) == NULL) in get_crypto_callbacks()
H A Dengine.c97 if ((*buf = enif_alloc(bin.size + 1)) == NULL) in zero_terminate()
140 if ((engine_id = enif_alloc(engine_id_bin.size+1)) == NULL) in engine_by_id_nif()
278 if ((cmds = enif_alloc((cmds_len + 1) * sizeof(char*))) == NULL) in engine_ctrl_cmd_strings_nif()
770 if ((tuple1 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
784 if ((tuple2 = enif_alloc(tmpbin.size + 1)) == NULL) in get_engine_load_cmd_list()
/dports/security/erlang-fast_tls/fast_tls-1.1.13/c_src/
H A Dfast_tls.c33 #define enif_alloc malloc macro
78 #define uthash_malloc enif_alloc
212 mtx_buf = enif_alloc(CRYPTO_num_locks() * sizeof(ErlNifMutex *)); in load()
613 new_info = enif_alloc(sizeof(cert_info_t)); in create_ssl_for_cert()
616 new_info->key = enif_alloc(key_size); in create_ssl_for_cert()
704 state->cert_file = enif_alloc(certfile_bin.size + 1 + in open_nif()
1084 info = enif_alloc(sizeof(cert_info_t)); in add_certfile_nif()
1087 info->key = enif_alloc(domain.size + 1); in add_certfile_nif()
1088 info->file = enif_alloc(file.size + 1); in add_certfile_nif()
/dports/textproc/erlang-fast_xml/fast_xml-1.1.47/c_src/
H A Dfxml_stream.c80 .malloc_fcn = enif_alloc,
105 char *res = enif_alloc(buf_len+1); in dup_buf()
454 xmlel_stack_t *xmlel = enif_alloc(sizeof(xmlel_stack_t)); in erlXML_StartElementHandler()
515 children = enif_alloc(sizeof(children_list_t)); in erlXML_CharacterDataHandler()
609 PARSER_MEM_ASSERT(el = enif_alloc(sizeof(children_list_t))); in erlXML_EndElementHandler()
658 attrs_list_t *c = enif_alloc(sizeof(attrs_list_t)); in erlXML_StartNamespaceDeclHandler()
794 state->pid = enif_alloc(sizeof(ErlNifPid)); in init_parser_state()
870 xmlel_stack_t *xmlel = enif_alloc(sizeof(xmlel_stack_t)); in parse_element_nif()
H A Dfxml.c25 #define ENIF_ALLOC(SIZE) enif_alloc(SIZE)
31 #define ENIF_ALLOC(SIZE) enif_alloc(env, SIZE)
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/snappy/c_src/
H A Derl_nif_compat.h49 enif_alloc(S)
/dports/graphics/wings/wings-8d019ebe48/c_src/
H A Dwings_tess.c126 egl_tess.tess_coords = (GLdouble *) enif_alloc(egl_tess.alloc_max*sizeof(GLdouble)); in triangulate()
128 egl_tess.tess_index_list = (int *) enif_alloc(sizeof(int) * egl_tess.index_max); in triangulate()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/runtime_tools/test/dbg_SUITE_data/
H A Ddbg_SUITE.c98 tuple = enif_alloc(sizeof(ERL_NIF_TERM)*(argc+1)); in trace()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/runtime_tools/test/dbg_SUITE_data/
H A Ddbg_SUITE.c98 tuple = enif_alloc(sizeof(ERL_NIF_TERM)*(argc+1)); in trace()
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/runtime_tools/test/dbg_SUITE_data/
H A Ddbg_SUITE.c98 tuple = enif_alloc(sizeof(ERL_NIF_TERM)*(argc+1)); in trace()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/runtime_tools/test/dbg_SUITE_data/
H A Ddbg_SUITE.c98 tuple = enif_alloc(sizeof(ERL_NIF_TERM)*(argc+1)); in trace()
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/runtime_tools/test/dbg_SUITE_data/
H A Ddbg_SUITE.c98 tuple = enif_alloc(sizeof(ERL_NIF_TERM)*(argc+1)); in trace()

1234567