Searched refs:asprintf (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/main/
H A Dsnprintf.h119 #define asprintf ap_php_asprintf macro
/PHP_TRUNK/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(
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c301 asprintf(
308 asprintf(
779 asprintf(&decode, ZEND_ULONG_FMT, Z_LVAL_P(zv));
782 asprintf(&decode, "%.*G", 14, Z_DVAL_P(zv));
792 asprintf(&decode, "\"%.*s\"%c", ZSTR_LEN(str) <= maxlen - 2 ? (int) ZSTR_LEN(str) : (maxlen - 3), ZSTR_VAL(str), ZSTR_LEN(str) <= maxlen - 2 ? 0 : '+');
796 asprintf(&decode, "Rsrc #%d", Z_RES_HANDLE_P(zv));
799 asprintf(&decode, "array(%d)", zend_hash_num_elements(Z_ARR_P(zv)));
803 asprintf(&decode, "%.*s%c", ZSTR_LEN(str) <= maxlen ? (int) ZSTR_LEN(str) : maxlen - 1, ZSTR_VAL(str), ZSTR_LEN(str) <= maxlen ? 0 : '+');
813 asprintf(&decode, "unknown type: %d", Z_TYPE_P(zv));
H A Dphpdbg_prompt.c352 asprintf(&sys_ini, "%s/" PHPDBG_INIT_FILENAME, PHP_CONFIG_FILE_PATH);
371 asprintf(&init_file, "%s/%s", scan_dir, PHPDBG_INIT_FILENAME);
H A Dphpdbg_opcode.c38 asprintf(&decode, "$%.*s%c", ZSTR_LEN(var) <= 19 ? (int) ZSTR_LEN(var) : 18, ZSTR_VAL(var), ZSTR_LEN(var) <= 19 ? 0 : '+');
43 asprintf(&decode, "@%" PRIu32, EX_VAR_TO_NUM(op->var) - ops->last_var);
61 asprintf(&decode[1], "J%ld", OP_JMP_ADDR(op, op->op1) - ops->opcodes);
68 asprintf(&decode[1], "%" PRIu32, op->op1.num);
80 asprintf(&decode[2], "J%u or J%" PRIu32, OP_JMP_ADDR(op, op->op2) - ops->opcodes, ZEND_OFFSET_TO_OPLINE(op, op->extended_value) - ops->opcodes);
89 asprintf(&decode[2], "J%ld", OP_JMP_ADDR(op, op->op2) - ops->opcodes);
99 asprintf(&decode[2], "%" PRIu32, op->op2.num);
110 asprintf(&decode[2], "%" PRIu32, op->result.num);
134 asprintf(&decode[0],
155 asprintf(
[all...]
H A Dphpdbg_cmd.c98 asprintf(pointer, "%s", param->str);
102 asprintf(pointer, ZEND_ULONG_FMT, param->addr);
106 asprintf(pointer, "%li", param->num);
110 asprintf(pointer, "%s::%s", param->method.class, param->method.name);
115 asprintf(pointer, "%s:%lu#%lu", param->file.name, param->file.line, param->num);
117 asprintf(pointer, "%s:%lu", param->file.name, param->file.line);
122 asprintf(pointer, "%s#%lu", param->str, param->num);
126 asprintf(pointer, "%s::%s#%lu", param->method.class, param->method.name, param->num);

Completed in 23 milliseconds