/dports/math/gap/gap-4.11.0/extern/gmp/mpq/ |
H A D | get_str.c | 40 size_t str_alloc, len; in mpq_get_str() local 45 str_alloc = 0; in mpq_get_str() 51 DIGITS_IN_BASE_PER_LIMB (str_alloc, ABSIZ(NUM(q)) + SIZ(DEN(q)), ABS(base)); in mpq_get_str() 52 str_alloc += 6; in mpq_get_str() 54 str = (char *) (*__gmp_allocate_func) (str_alloc); in mpq_get_str() 67 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str() 72 if (str_alloc != 0) in mpq_get_str() 73 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
|
/dports/math/mingw32-libgmp/gmp-6.0.0/mpq/ |
H A D | get_str.c | 40 size_t str_alloc, len; in mpq_get_str() local 45 str_alloc = 0; in mpq_get_str() 51 DIGITS_IN_BASE_PER_LIMB (str_alloc, ABSIZ(NUM(q)) + SIZ(DEN(q)), ABS(base)); in mpq_get_str() 52 str_alloc += 6; in mpq_get_str() 54 str = (char *) (*__gmp_allocate_func) (str_alloc); in mpq_get_str() 67 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str() 72 if (str_alloc != 0) in mpq_get_str() 73 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
|
/dports/math/gmp/gmp-6.2.1/mpq/ |
H A D | get_str.c | 39 size_t str_alloc, len; in mpq_get_str() local 44 str_alloc = 0; in mpq_get_str() 52 DIGITS_IN_BASE_PER_LIMB (str_alloc, ABSIZ(NUM(q)) + SIZ(DEN(q)), ABS(base)); in mpq_get_str() 53 str_alloc += 6; in mpq_get_str() 55 str = __GMP_ALLOCATE_FUNC_TYPE (str_alloc, char); in mpq_get_str() 68 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str() 76 if (str_alloc != 0) in mpq_get_str() 77 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/mpq/ |
H A D | get_str.c | 39 size_t str_alloc, len; in mpq_get_str() local 44 str_alloc = 0; in mpq_get_str() 52 DIGITS_IN_BASE_PER_LIMB (str_alloc, ABSIZ(NUM(q)) + SIZ(DEN(q)), ABS(base)); in mpq_get_str() 53 str_alloc += 6; in mpq_get_str() 55 str = __GMP_ALLOCATE_FUNC_TYPE (str_alloc, char); in mpq_get_str() 68 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str() 76 if (str_alloc != 0) in mpq_get_str() 77 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
|
/dports/math/mpir/mpir-3.0.0/mpq/ |
H A D | get_str.c | 30 size_t str_alloc, len; in mpq_get_str() local 35 str_alloc = 0; in mpq_get_str() 41 str_alloc = ((size_t) ((ABS (q->_mp_num._mp_size) + q->_mp_den._mp_size) in mpq_get_str() 45 str = (char *) (*__gmp_allocate_func) (str_alloc); in mpq_get_str() 58 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str() 63 if (str_alloc != 0) in mpq_get_str() 64 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
|
/dports/math/gmp/gmp-6.2.1/tests/mpq/ |
H A D | t-get_str.c | 31 size_t str_alloc; in check_one() local 36 str_alloc = in check_one() 41 if (strlen(str)+1 > str_alloc) in check_one() 46 printf (" want size %lu\n", (unsigned long) str_alloc); in check_one() 60 str = (char *) (*__gmp_allocate_func) (str_alloc); in check_one() 79 (*__gmp_free_func) (str, str_alloc); in check_one()
|
/dports/math/mingw32-libgmp/gmp-6.0.0/tests/mpq/ |
H A D | t-get_str.c | 32 size_t str_alloc; in check_one() local 37 str_alloc = in check_one() 42 if (strlen(str)+1 > str_alloc) in check_one() 47 printf (" want size %lu\n", (unsigned long) str_alloc); in check_one() 61 str = (char *) (*__gmp_allocate_func) (str_alloc); in check_one() 80 (*__gmp_free_func) (str, str_alloc); in check_one()
|
/dports/math/mpir/mpir-3.0.0/tests/mpq/ |
H A D | t-get_str.c | 34 size_t str_alloc; in check_one() local 39 str_alloc = in check_one() 44 if (strlen(str)+1 > str_alloc) in check_one() 49 printf (" want size %lu\n", str_alloc); in check_one() 63 str = (char *) (*__gmp_allocate_func) (str_alloc); in check_one() 82 (*__gmp_free_func) (str, str_alloc); in check_one()
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/tests/mpq/ |
H A D | t-get_str.c | 31 size_t str_alloc; in check_one() local 36 str_alloc = in check_one() 41 if (strlen(str)+1 > str_alloc) in check_one() 46 printf (" want size %lu\n", (unsigned long) str_alloc); in check_one() 60 str = (char *) (*__gmp_allocate_func) (str_alloc); in check_one() 79 (*__gmp_free_func) (str, str_alloc); in check_one()
|
/dports/math/gap/gap-4.11.0/extern/gmp/tests/mpq/ |
H A D | t-get_str.c | 32 size_t str_alloc; in check_one() local 37 str_alloc = in check_one() 42 if (strlen(str)+1 > str_alloc) in check_one() 47 printf (" want size %lu\n", (unsigned long) str_alloc); in check_one() 61 str = (char *) (*__gmp_allocate_func) (str_alloc); in check_one() 80 (*__gmp_free_func) (str, str_alloc); in check_one()
|
/dports/net/sipsak/sipsak-0.9.6/ |
H A D | header_f.c | 43 backup = str_alloc(strlen(ins) + 1); in insert_header() 84 backup=str_alloc((strlen(via)+1)); in add_via() 150 backup=str_alloc(strlen(tmp)+1); in cpy_to() 175 backup=str_alloc(strlen(max)+1); in set_maxforw() 197 backup=str_alloc(strlen(crlfi)+1); in set_maxforw() 230 backup=str_alloc(strlen(foo)+1); in uri_replace() 255 backup=str_alloc(strlen(cr)+1); in set_cl() 325 backup=str_alloc(strlen(cr)+1); in cpy_rr() 405 server=str_alloc((size_t)srvsize); in warning_extract() 453 backup=str_alloc(strlen(eol)+1); in increase_cseq() [all …]
|
H A D | sipsak.c | 314 password = str_alloc(SIPSAK_MAX_PASSWD_LEN); 321 password=str_alloc(strlen(optarg) + 1); 332 mes_body=str_alloc(strlen(optarg) + 1); 336 backup=str_alloc(strlen(optarg)+1); 352 from_uri=str_alloc(strlen(optarg)+1); 363 contact_uri=str_alloc(strlen(optarg)+1); 367 backup=str_alloc(strlen(optarg)+1); 384 contact_uri=str_alloc(strlen(optarg)+1); 500 con_dis=str_alloc(strlen(optarg) + 1); 613 backup = str_alloc(strlen(domainname)+1+6); [all …]
|
H A D | auth.c | 96 backup=str_alloc(strlen(insert)+1); in insert_auth() 108 auth=str_alloc((size_t)(end-begin+1)); in insert_auth() 144 usern=str_alloc(strlen(username)+11); in insert_auth() 152 method=str_alloc((size_t)(end-message+1)); in insert_auth() 158 uri=str_alloc((size_t)(end-begin+1)); in insert_auth() 199 realm=str_alloc((size_t)(end-begin+1)); in insert_auth() 241 nonce=str_alloc((size_t)(end-begin+1)); in insert_auth() 259 qop_tmp=str_alloc(100); in insert_auth()
|
/dports/security/stunnel/stunnel-5.60/src/ |
H A D | file.c | 77 df=str_alloc(sizeof(DISK_FILE)); in file_open() 87 df=str_alloc(sizeof(DISK_FILE)); in file_fdopen() 123 df=str_alloc(sizeof(DISK_FILE)); in file_open() 186 buff=str_alloc(len+2); /* +2 for CR+LF */ in file_putline() 230 out=str_alloc(((size_t)len+1)*sizeof(WCHAR)); in str2tstr() 251 out=str_alloc((size_t)len+1); in tstr2str()
|
H A D | resolver.c | 143 addr_list=str_alloc(sizeof(SOCKADDR_LIST)); in name2addr() 158 addr_list=str_alloc(sizeof(SOCKADDR_LIST)); in hostport2addr() 346 host=str_alloc(256); in s_ntop() 347 port=str_alloc(256); /* needs to be long enough for AF_UNIX path */ in s_ntop() 415 ai=str_alloc(sizeof(struct addrinfo)); 423 ai->ai_addr=str_alloc((size_t)ai->ai_addrlen); 430 ai->ai_addr=str_alloc(ai->ai_addrlen); 479 ai=str_alloc(sizeof(struct addrinfo)); 494 ai->ai_addr=str_alloc((size_t)ai->ai_addrlen); 501 ai->ai_addr=str_alloc((size_t)ai->ai_addrlen);
|
/dports/misc/window/window/ |
H A D | string.c | 57 str = p = str_alloc(strlen(s) + 1); 76 str = p = str_alloc(n + 1); 102 str = p = str_alloc(strlen(s1) + strlen(s2) + 1); 127 str_alloc(l) in str_alloc() function
|
H A D | mystring.h | 61 char *str_alloc(); 65 #define str_alloc(s) malloc(s) macro
|
/dports/net/kamailio/kamailio-5.4.5/utils/db_oracle/ |
H A D | orasel.c | 13 con->username = str_alloc(uri, p - uri); in prepare_uri() 17 con->password = str_alloc(uri, p - uri); in prepare_uri() 20 con->uri = str_alloc(p, strlen(p)); in prepare_uri() 37 ps = str_alloc(req, strlen(req)); in prepare_req()
|
H A D | getres.c | 100 _r->names[i] = str_alloc((char*)name, len); in get_columns() 239 *v = str_alloc(_d->pv[i].c, _d->len[i]); in convert_row() 243 *v = str_alloc(buf, snprintf(buf, sizeof(buf), "%i", in convert_row() 248 *v = str_alloc(buf, snprintf(buf, sizeof(buf), "0x%X", in convert_row() 264 *v = str_alloc(buf, strftime(buf, sizeof(buf), in convert_row() 270 *v = str_alloc(buf, snprintf(buf, sizeof(buf), "%g", in convert_row() 280 *v = str_alloc(buf, snprintf(buf, sizeof(buf), in convert_row()
|
/dports/www/trafficserver/trafficserver-9.1.1/include/tscore/ |
H A D | Arena.h | 45 char *str_alloc(size_t len); 97 Arena::str_alloc(size_t len) in str_alloc() function 161 mem = str_alloc(len); in str_store()
|
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/zabbix_server/alerter/ |
H A D | alerter.c | 122 size_t str_alloc = 0, str_offset = 0; in create_email_inreplyto() local 128 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, ZBX_FS_UI64 ".", eventid); in create_email_inreplyto() 132 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] >> 4]); in create_email_inreplyto() 133 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] & 15]); in create_email_inreplyto() 136 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, "." ZBX_FS_UI64 ".%s@zabbix.com", mediatypeid, in create_email_inreplyto()
|
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/zabbix_server/alerter/ |
H A D | alerter.c | 122 size_t str_alloc = 0, str_offset = 0; in create_email_inreplyto() local 128 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, ZBX_FS_UI64 ".", eventid); in create_email_inreplyto() 132 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] >> 4]); in create_email_inreplyto() 133 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] & 15]); in create_email_inreplyto() 136 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, "." ZBX_FS_UI64 ".%s@zabbix.com", mediatypeid, in create_email_inreplyto()
|
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/zabbix_server/alerter/ |
H A D | alerter.c | 122 size_t str_alloc = 0, str_offset = 0; in create_email_inreplyto() local 128 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, ZBX_FS_UI64 ".", eventid); in create_email_inreplyto() 132 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] >> 4]); in create_email_inreplyto() 133 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] & 15]); in create_email_inreplyto() 136 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, "." ZBX_FS_UI64 ".%s@zabbix.com", mediatypeid, in create_email_inreplyto()
|
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/zabbix_server/alerter/ |
H A D | alerter.c | 122 size_t str_alloc = 0, str_offset = 0; in create_email_inreplyto() local 128 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, ZBX_FS_UI64 ".", eventid); in create_email_inreplyto() 132 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] >> 4]); in create_email_inreplyto() 133 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] & 15]); in create_email_inreplyto() 136 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, "." ZBX_FS_UI64 ".%s@zabbix.com", mediatypeid, in create_email_inreplyto()
|
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/zabbix_server/alerter/ |
H A D | alerter.c | 122 size_t str_alloc = 0, str_offset = 0; in create_email_inreplyto() local 128 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, ZBX_FS_UI64 ".", eventid); in create_email_inreplyto() 132 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] >> 4]); in create_email_inreplyto() 133 zbx_chrcpy_alloc(&str, &str_alloc, &str_offset, hex[hash[i] & 15]); in create_email_inreplyto() 136 zbx_snprintf_alloc(&str, &str_alloc, &str_offset, "." ZBX_FS_UI64 ".%s@zabbix.com", mediatypeid, in create_email_inreplyto()
|