Home
last modified time | relevance | path

Searched refs:asprintf (Results 1 – 7 of 7) sorted by relevance

/PHP-7.1/ext/fileinfo/libmagic/
H A Dmagic.c114 if (asprintf(&hmagicpath, "%s/.magic.mgc", home) < 0)
118 if (asprintf(&hmagicpath, "%s/.magic", home) < 0)
124 if (asprintf(&hmagicpath, "%s/%s", home, hmagic) < 0)
131 if (asprintf(&default_magic, "%s:%s", hmagicpath, MAGIC) < 0)
150 if (asprintf(&hmagicp, "%s%c%s", hmagicpath, \
169 if (asprintf(&tmppath,
174 if (asprintf(&tmppath, "%s%s", home, hmagic) < 0)
182 if (asprintf(&tmppath, "%s%s", home, hmagic) >= 0)
193 if (asprintf(&tmppath,
197 if (asprintf(&tmppath,
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_cmd.c98 ZEND_IGNORE_VALUE(asprintf(pointer, "%s", param->str)); in phpdbg_param_tostring()
102 ZEND_IGNORE_VALUE(asprintf(pointer, ZEND_ULONG_FMT, param->addr)); in phpdbg_param_tostring()
106 ZEND_IGNORE_VALUE(asprintf(pointer, "%li", param->num)); in phpdbg_param_tostring()
110 ZEND_IGNORE_VALUE(asprintf(pointer, "%s::%s", param->method.class, param->method.name)); in phpdbg_param_tostring()
115 …ZEND_IGNORE_VALUE(asprintf(pointer, "%s:%lu#%lu", param->file.name, param->file.line, param->num)); in phpdbg_param_tostring()
117 ZEND_IGNORE_VALUE(asprintf(pointer, "%s:%lu", param->file.name, param->file.line)); in phpdbg_param_tostring()
122 ZEND_IGNORE_VALUE(asprintf(pointer, "%s#%lu", param->str, param->num)); in phpdbg_param_tostring()
126 …ZEND_IGNORE_VALUE(asprintf(pointer, "%s::%s#%lu", param->method.class, param->method.name, param->… in phpdbg_param_tostring()
H A Dphpdbg_utils.c310 ZEND_IGNORE_VALUE(asprintf(&PHPDBG_G(prompt)[1], "\033[%sm%s\033[0m ", in phpdbg_get_prompt()
316 ZEND_IGNORE_VALUE(asprintf(&PHPDBG_G(prompt)[1], "%s ", PHPDBG_G(prompt)[0])); in phpdbg_get_prompt()
H A Dphpdbg_prompt.c358 ZEND_IGNORE_VALUE(asprintf(&sys_ini, "%s/" PHPDBG_INIT_FILENAME, PHP_CONFIG_FILE_PATH)); in phpdbg_init()
377 ZEND_IGNORE_VALUE(asprintf(&init_file, "%s/%s", scan_dir, PHPDBG_INIT_FILENAME)); in phpdbg_init()
/PHP-7.1/main/
H A Dsnprintf.h120 #define asprintf ap_php_asprintf macro
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch498 - if (asprintf(&mfn, "%s/%s", fn, d->d_name) < 0) {
895 - if (asprintf(&buf, "%.*s.mime%s", (int)(q - fn), fn, ext) < 0)
910 - if (asprintf(&buf, "%.*s%s", (int)(q - fn), fn, ext) < 0)
1602 -int asprintf(char **, const char *, ...);
2044 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf);
2471 - if (asprintf(&hmagicpath, "%s/.magic", home) < 0)
2472 + if (asprintf(&hmagicpath, "%s/.magic", home) < 0)
2478 + if (asprintf(&hmagicpath, "%s/%s", home, hmagic) < 0)
2485 - if (asprintf(&hmagicpath, "%s/%s", home, hmagic) < 0)
2493 if (asprintf(&default_magic, "%s:%s", hmagicpath, MAGIC) < 0)
/PHP-7.1/
H A Dconfigure.in699 asprintf \

Completed in 45 milliseconds