Searched refs:info (Results 1 - 25 of 96) sorted by relevance

1234

/PHP_TRUNK/ext/zlib/tests/
H A Dfunc.inc9 $info = ob_get_contents();
11 if (preg_match(',zlib.*Compiled Version => (\d+\.\d+\.\d+),s', $info, $match)) {
/PHP_TRUNK/ext/gd/tests/
H A Dfunc.inc12 $info = ob_get_contents();
15 return $info;
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.h50 const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res);
H A Dmb_gpc.c36 #include "ext/standard/info.h"
61 php_mb_encoding_handler_info_t info; local
151 info.data_type = arg;
152 info.separator = separator;
153 info.report_errors = 0;
154 info.to_encoding = MBSTRG(internal_encoding);
155 info.to_language = MBSTRG(language);
156 info.from_encodings = MBSTRG(http_input_list);
157 info.num_from_encodings = MBSTRG(http_input_list_size);
158 info
193 _php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res) argument
364 php_mb_encoding_handler_info_t info; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sqlstate.c27 #include "ext/standard/info.h"
315 const struct pdo_sqlstate_info *info; local
320 info = &err_initializer[i];
322 zend_hash_str_add_ptr(&err_hash, info->state, sizeof(info->state), (void *)info);
330 const struct pdo_sqlstate_info *info; local
331 if ((info = zend_hash_str_find_ptr(&err_hash, state, sizeof(err_initializer[0].state))) != NULL) {
332 return info->desc;
/PHP_TRUNK/ext/dba/
H A Ddba_db1.c38 #define DB1_DATA dba_db1_data *dba = info->dbf
53 if (info->argc > 0) {
54 convert_to_long_ex(&info->argv[0]);
55 filemode = Z_LVAL(info->argv[0]);
59 switch (info->mode) {
76 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL);
82 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT);
85 info->dbf = dba;
94 pefree(info->dbf, info
[all...]
H A Ddba_db2.c36 #define DB2_DATA dba_db2_data *dba = info->dbf
54 int s = VCWD_STAT(info->path, &check_stat);
57 info->mode = DBA_TRUNC; /* force truncate */
60 type = info->mode == DBA_READER ? DB_UNKNOWN :
61 info->mode == DBA_TRUNC ? DB_BTREE :
64 gmode = info->mode == DBA_READER ? DB_RDONLY :
65 (info->mode == DBA_CREAT && s) ? DB_CREATE :
66 (info->mode == DBA_CREAT && !s) ? 0 :
67 info->mode == DBA_WRITER ? 0 :
68 info
[all...]
H A Ddba_db4.c62 #define DB4_DATA dba_db4_data *dba = info->dbf
80 int s = VCWD_STAT(info->path, &check_stat);
84 info->mode = DBA_TRUNC; /* force truncate */
87 type = info->mode == DBA_READER ? DB_UNKNOWN :
88 info->mode == DBA_TRUNC ? DB_BTREE :
91 gmode = info->mode == DBA_READER ? DB_RDONLY :
92 (info->mode == DBA_CREAT && s) ? DB_CREATE :
93 (info->mode == DBA_CREAT && !s) ? 0 :
94 info->mode == DBA_WRITER ? 0 :
95 info
[all...]
H A Ddba_dbm.c42 #define DBM_DATA dba_dbm_data *dba = info->dbf
46 snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \
62 if(info->argc > 0) {
63 convert_to_long_ex(&info->argv[0]);
64 filemode = Z_LVAL(info->argv[0]);
67 if(info->mode == DBA_TRUNC) {
75 if(info->mode == DBA_CREAT) {
82 if(dbminit((char *) info->path) == -1) {
86 info->dbf = pemalloc(sizeof(dba_dbm_data), info
[all...]
H A Ddba_flatfile.c39 #define FLATFILE_DATA flatfile *dba = info->dbf
44 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT);
45 memset(info->dbf, 0, sizeof(flatfile));
47 ((flatfile*)info->dbf)->fp = info->fp;
59 pefree(dba, info->flags&DBA_PERSISTENT);
H A Ddba_gdbm.c34 #define GDBM_DATA dba_gdbm_data *dba = info->dbf
48 gmode = info->mode == DBA_READER ? GDBM_READER :
49 info->mode == DBA_WRITER ? GDBM_WRITER :
50 info->mode == DBA_CREAT ? GDBM_WRCREAT :
51 info->mode == DBA_TRUNC ? GDBM_NEWDB : -1;
56 if(info->argc > 0) {
57 convert_to_long_ex(&info->argv[0]);
58 filemode = Z_LVAL(info->argv[0]);
61 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL);
64 info
[all...]
H A Ddba_inifile.c40 inifile *dba = info->dbf
55 info->dbf = inifile_alloc(info->fp, info->mode == DBA_READER, info->flags&DBA_PERSISTENT);
57 return info->dbf ? SUCCESS : FAILURE;
64 inifile_free(dba, info->flags&DBA_PERSISTENT);
H A Ddba_ndbm.c42 dba_info *pinfo = (dba_info *) info;
44 switch(info->mode) {
61 if(info->argc > 0) {
62 convert_to_long_ex(&info->argv[0]);
63 filemode = Z_LVAL(info->argv[0]);
66 dbf = dbm_open(info->path, gmode, filemode);
74 dbm_close(info->dbf);
83 gval = dbm_fetch(info->dbf, gkey);
99 if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE))
108 gval = dbm_fetch(info
[all...]
H A Ddba_qdbm.c34 #define QDBM_DATA dba_qdbm_data *dba = info->dbf
44 switch(info->mode) {
46 dbf = dpopen(info->path, DP_OREADER, 0);
49 dbf = dpopen(info->path, DP_OWRITER, 0);
52 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0);
55 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0);
62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT);
63 memset(info->dbf, 0, sizeof(dba_qdbm_data));
64 ((dba_qdbm_data *) info
[all...]
H A Ddba_tcadb.c34 #define TCADB_DATA dba_tcadb_data *dba = info->dbf
46 switch(info->mode) {
48 spprintf(&path_string, 0, "%s#mode=r", info->path);
51 spprintf(&path_string, 0, "%s#mode=w", info->path);
54 spprintf(&path_string, 0, "%s#mode=wc", info->path);
57 spprintf(&path_string, 0, "%s#mode=wct", info->path);
72 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT);
73 memset(info->dbf, 0, sizeof(dba_tcadb_data));
74 ((dba_tcadb_data *) info
[all...]
H A Dphp_dba.h90 char* (*info)(struct dba_handler *hnd, dba_info *); member in struct:dba_handler
91 /* dba_info==NULL: Handler info, dba_info!=NULL: Database info */
97 int dba_open_##x(dba_info *info, char **error)
99 void dba_close_##x(dba_info *info)
101 char *dba_fetch_##x(dba_info *info, char *key, int keylen, int skip, int *newlen)
103 int dba_update_##x(dba_info *info, char *key, int keylen, char *val, int vallen, int mode)
105 int dba_exists_##x(dba_info *info, char *key, int keylen)
107 int dba_delete_##x(dba_info *info, char *key, int keylen)
109 char *dba_firstkey_##x(dba_info *info, in
[all...]
H A Ddba_db3.c48 #define DB3_DATA dba_db3_data *dba = info->dbf
66 int s = VCWD_STAT(info->path, &check_stat);
69 info->mode = DBA_TRUNC; /* force truncate */
72 type = info->mode == DBA_READER ? DB_UNKNOWN :
73 info->mode == DBA_TRUNC ? DB_BTREE :
76 gmode = info->mode == DBA_READER ? DB_RDONLY :
77 (info->mode == DBA_CREAT && s) ? DB_CREATE :
78 (info->mode == DBA_CREAT && !s) ? 0 :
79 info->mode == DBA_WRITER ? 0 :
80 info
[all...]
H A Ddba.c38 #include "ext/standard/info.h"
197 dba_info *info = NULL; \
279 #define DBA_FETCH_RESOURCE(info, id) \
280 if ((info = (dba_info *)zend_fetch_resource2(Z_RES_P(id), "DBA identifier", le_db, le_pdb)) == NULL) { \
284 #define DBA_ID_GET2 DBA_ID_PARS; DBA_GET2; DBA_FETCH_RESOURCE(info, id)
285 #define DBA_ID_GET2_3 DBA_ID_PARS; DBA_GET2_3; DBA_FETCH_RESOURCE(info, id)
302 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
309 if(info
413 dba_close(dba_info *info) argument
446 dba_info *info = (dba_info *)rsrc->ptr; local
470 dba_info *info = (dba_info *)rsrc->ptr; local
473 zend_hash_apply_with_argument(&EG(persistent_list), dba_close_pe_rsrc_deleter, info); local
566 dba_info *info = NULL; local
602 dba_info *info; local
629 dba_info *info, *other; local
982 dba_info *info = NULL; local
1089 dba_info *info = NULL; local
1116 dba_info *info = NULL; local
1178 dba_info *info = NULL; local
1201 dba_info *info = NULL; local
1249 dba_info *info; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_loaddata.c32 MYSQLND_INFILE_INFO *info; local
37 info = ((MYSQLND_INFILE_INFO *)mnd_ecalloc(1, sizeof(MYSQLND_INFILE_INFO)));
38 if (!info) {
42 *ptr = info;
47 strcpy(info->error_msg, "open_basedir restriction in effect. Unable to open file");
48 info->error_no = CR_UNKNOWN_ERROR;
53 info->filename = filename;
54 info->fd = php_stream_open_wrapper_ex((char *)filename, "r", 0, NULL, context);
56 if (info->fd == NULL) {
57 snprintf((char *)info
71 MYSQLND_INFILE_INFO *info = (MYSQLND_INFILE_INFO *)ptr; local
92 MYSQLND_INFILE_INFO *info = (MYSQLND_INFILE_INFO *)ptr; local
113 MYSQLND_INFILE_INFO *info = (MYSQLND_INFILE_INFO *)ptr; local
150 void *info = NULL; local
[all...]
/PHP_TRUNK/build/
H A Dbuild.mk63 @if (test ! -f '.git/info/exclude' || grep -s "git-ls-files" .git/info/exclude); then \
64 (echo "Rebuild .git/info/exclude" && echo '*.o' > .git/info/exclude && git svn propget svn:ignore | grep -v config.nice >> .git/info/exclude); \
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c299 cdf_read(const cdf_info_t *info, zend_off_t off, void *buf, size_t len) argument
308 if (info->i_buf != NULL && info->i_len >= siz) {
309 (void)memcpy(buf, &info->i_buf[off], len);
313 if (info->i_fd == -1)
316 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1)
319 if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len)
326 cdf_read_header(const cdf_info_t *info, cdf_header_t *h) argument
331 if (cdf_read(info, (zend_off_t)0, buf, sizeof(buf)) == -1)
359 cdf_read_sector(const cdf_info_t *info, voi argument
390 cdf_read_sat(const cdf_info_t *info, cdf_header_t *h, cdf_sat_t *sat) argument
512 cdf_read_long_sector_chain(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, cdf_secid_t sid, size_t len, cdf_stream_t *scn) argument
600 cdf_read_sector_chain(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, cdf_secid_t sid, size_t len, cdf_stream_t *scn) argument
613 cdf_read_dir(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, cdf_dir_t *dir) argument
667 cdf_read_ssat(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, cdf_sat_t *ssat) argument
709 cdf_read_short_stream(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_dir_t *dir, cdf_stream_t *scn, const cdf_directory_t **root) argument
750 cdf_read_summary_info(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) argument
759 cdf_read_user_stream(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, const char *name, cdf_stream_t *scn) argument
793 cdf_read_property_info(const cdf_stream_t *sst, const cdf_header_t *h, uint32_t offs, cdf_property_info_t **info, size_t *count, size_t *maxcount) argument
997 cdf_unpack_summary_info(const cdf_stream_t *sst, const cdf_header_t *h, cdf_summary_info_header_t *ssi, cdf_property_info_t **info, size_t *count) argument
1262 cdf_dump_dir(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir) argument
1322 cdf_dump_property_info(const cdf_property_info_t *info, size_t count) argument
1396 cdf_property_info_t *info; local
1445 cdf_info_t info; local
[all...]
H A Dreadcdf.c133 cdf_file_property_info(struct magic_set *ms, const cdf_property_info_t *info, argument
151 cdf_print_property_name(buf, sizeof(buf), info[i].pi_id);
152 switch (info[i].pi_type) {
157 info[i].pi_s16) == -1)
162 info[i].pi_s32) == -1)
167 info[i].pi_u32) == -1)
172 info[i].pi_f) == -1)
177 info[i].pi_d) == -1)
182 len = info[i].pi_str.s_len;
187 if (info[
289 cdf_property_info_t *info; local
357 cdf_file_catalog_info(struct magic_set *ms, const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) argument
444 cdf_info_t info; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c75 static void phpdbg_array_intersect_init(phpdbg_intersect_ptr *info, HashTable *ht1, HashTable *ht2) { argument
76 info->ht[0] = ht1;
77 info->ht[1] = ht2;
79 zend_hash_sort(info->ht[0], (compare_func_t) phpdbg_array_data_compare, 0);
80 zend_hash_sort(info->ht[1], (compare_func_t) phpdbg_array_data_compare, 0);
82 zend_hash_internal_pointer_reset_ex(info->ht[0], &info->pos[0]);
83 zend_hash_internal_pointer_reset_ex(info->ht[1], &info->pos[1]);
87 static int phpdbg_array_intersect(phpdbg_intersect_ptr *info, zva argument
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_file_cache.c111 (ptr) = zend_file_cache_serialize_interned((zend_string*)(ptr), info); \
175 zend_file_cache_metainfo *info,
184 zend_file_cache_metainfo *info,
191 zend_file_cache_metainfo *info)
203 ret = (void*)(info->str_size | Z_UL(1));
205 if (info->str_size + len > ZSTR_LEN((zend_string*)ZCG(mem))) {
206 size_t new_len = info->str_size + len;
212 memcpy(ZSTR_VAL((zend_string*)ZCG(mem)) + info->str_size, str, len);
213 info->str_size += len;
237 zend_file_cache_metainfo *info,
190 zend_file_cache_serialize_interned(zend_string *str, zend_file_cache_metainfo *info) argument
235 zend_file_cache_serialize_hash(HashTable *ht, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf, serialize_callback_t func) argument
263 zend_file_cache_serialize_ast(zend_ast *ast, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
295 zend_file_cache_serialize_zval(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
342 zend_file_cache_serialize_op_array(zend_op_array *op_array, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
469 zend_file_cache_serialize_func(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
482 zend_file_cache_serialize_prop_info(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
506 zend_file_cache_serialize_class(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
641 zend_file_cache_serialize(zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
703 zend_file_cache_metainfo info; local
1193 zend_file_cache_metainfo info; local
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c53 #define LITERAL_NUM_RELATED(info) (info & LITERAL_NUM_RELATED_MASK)
54 #define LITERAL_NUM_SLOTS(info) ((info & LITERAL_NUM_SLOTS_MASK) >> LITERAL_NUM_SLOTS_SHIFT)
67 info[n].flags = (((merge) ? LITERAL_MAY_MERGE : 0) | LITERAL_FLAGS(kind, slots, related)); \
71 info[n].flags = (LITERAL_EX_CLASS | ((merge) ? LITERAL_MAY_MERGE : 0) | LITERAL_FLAGS(kind, slots, related)); \
72 info[n].u.num = (_num); \
76 info[n].flags = (LITERAL_EX_OBJ | ((merge) ? LITERAL_MAY_MERGE : 0) | LITERAL_FLAGS(kind, slots, related)); \
77 info[n].u.num = (_num); \
80 static void optimizer_literal_obj_info(literal_info *info, argument
101 optimizer_literal_class_info(literal_info *info, zend_uchar op_type, znode_op op, int constant, uint32_t kind, uint32_t slots, uint32_t related, zend_op_array *op_array) argument
122 literal_info *info; local
[all...]

Completed in 47 milliseconds

1234