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

/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/main/
H A Dsnprintf.h119 #define asprintf ap_php_asprintf macro
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c171 asprintf(pointer, "%s", param->str);
175 asprintf(pointer, "%#llx", param->addr);
179 asprintf(pointer, "%li", param->num);
183 asprintf(pointer, "%s::%s", param->method.class, param->method.name);
188 asprintf(pointer, "%s:%lu#%lu", param->file.name, param->file.line, param->num);
190 asprintf(pointer, "%s:%lu", param->file.name, param->file.line);
195 asprintf(pointer, "%s#%lu", param->str, param->num);
199 asprintf(pointer, "%s::%s#%lu", param->method.class, param->method.name, param->num);
H A Dphpdbg_opcode.c49 asprintf(&decode, "$%s", ops->vars[EX_VAR_TO_NUM(op->var)]->val);
63 asprintf(&decode, "@%llu", id);
67 asprintf(&decode, "C%u", phpdbg_decode_literal(ops, op->zv TSRMLS_CC));
71 asprintf(&decode, "<unused>");
89 asprintf(&decode[1], "J%ld", op->op1.jmp_addr - ops->opcodes);
94 asprintf(&decode[2], "J%u or J%llu", op->op2.opline_num, op->extended_value);
106 asprintf(&decode[2], "J%ld", op->op2.jmp_addr - ops->opcodes);
118 asprintf(&decode[0],
H A Dphpdbg_utils.c300 asprintf(
307 asprintf(
H A Dphpdbg_watch.c333 str_len = asprintf(&str, "%.*s%s%s%s", (int) watch->str_len, watch->str, (watch->flags & PHPDBG_WATCH_ARRAY) ? "[" : "->", phpdbg_get_property_key(strkey->val), (watch->flags & PHPDBG_WATCH_ARRAY) ? "]" : "");
335 str_len = asprintf(&str, "%.*s%s%lli%s", (int) watch->str_len, watch->str, (watch->flags & PHPDBG_WATCH_ARRAY) ? "[" : "->", numkey, (watch->flags & PHPDBG_WATCH_ARRAY) ? "]" : "");
H A Dphpdbg_prompt.c327 asprintf(&init_file, "%s/%s", scan_dir, PHPDBG_INIT_FILENAME);

Completed in 9 milliseconds