Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_loaddata.c32 MYSQLND_INFILE_INFO *info; in mysqlnd_local_infile_init() local
38 if (!info) { in mysqlnd_local_infile_init()
42 *ptr = info; in mysqlnd_local_infile_init()
53 info->filename = filename; in mysqlnd_local_infile_init()
56 if (info->fd == NULL) { in mysqlnd_local_infile_init()
96 if (info) { in mysqlnd_local_infile_error()
115 if (info) { in mysqlnd_local_infile_end()
117 if (info->fd) { in mysqlnd_local_infile_end()
119 info->fd = NULL; in mysqlnd_local_infile_end()
121 mnd_efree(info); in mysqlnd_local_infile_end()
[all …]
/PHP-5.5/ext/dba/
H A Ddba.c300 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
307 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
414 info->hnd->close(info TSRMLS_CC); in dba_close()
417 pefree(info->path, info->flags&DBA_PERSISTENT); in dba_close()
419 if (info->fp && info->fp!=info->lock.fp) { in dba_close()
434 pefree(info->lock.name, info->flags&DBA_PERSISTENT); in dba_close()
436 pefree(info, info->flags&DBA_PERSISTENT); in dba_close()
1089 fkey = info->hnd->firstkey(info, &len TSRMLS_CC); in PHP_FUNCTION()
1113 nkey = info->hnd->nextkey(info, &len TSRMLS_CC); in PHP_FUNCTION()
1174 if (info->hnd->optimize(info TSRMLS_CC) == SUCCESS) { in PHP_FUNCTION()
[all …]
H A Ddba_db4.c89 info->mode == DBA_TRUNC ? DB_BTREE :
103 (info->mode == DBA_TRUNC || info->mode == DBA_CREAT) ? DB_BTREE :
116 if (info->flags & DBA_PERSISTENT) {
120 if (info->argc > 0) {
121 convert_to_long_ex(info->argv[0]);
138 info->dbf = data;
169 if (info->flags & DBA_PERSISTENT) {
175 if (info->flags & DBA_PERSISTENT) {
207 if (info->flags & DBA_PERSISTENT) {
212 if (info->flags & DBA_PERSISTENT) {
[all …]
H A Ddba_db2.c54 int s = VCWD_STAT(info->path, &check_stat); in DBA_OPEN_FUNC()
61 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
66 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
67 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
74 if (info->argc > 0) { in DBA_OPEN_FUNC()
75 convert_to_long_ex(info->argv[0]); in DBA_OPEN_FUNC()
76 filemode = Z_LVAL_PP(info->argv[0]); in DBA_OPEN_FUNC()
83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
84 memset(info->dbf, 0, sizeof(dba_db2_data)); in DBA_OPEN_FUNC()
85 ((dba_db2_data *) info->dbf)->dbp = dbp; in DBA_OPEN_FUNC()
[all …]
H A Ddba_ndbm.c42 dba_info *pinfo = (dba_info *) info; in DBA_OPEN_FUNC()
44 switch(info->mode) { in DBA_OPEN_FUNC()
61 if(info->argc > 0) { in DBA_OPEN_FUNC()
62 convert_to_long_ex(info->argv[0]); in DBA_OPEN_FUNC()
63 filemode = Z_LVAL_PP(info->argv[0]); in DBA_OPEN_FUNC()
66 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
74 dbm_close(info->dbf); in DBA_CLOSE_FUNC()
83 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC()
108 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC()
126 gkey = dbm_firstkey(info->dbf); in DBA_FIRSTKEY_FUNC()
[all …]
H A Ddba_db3.c45 #define DB3_DATA dba_db3_data *dba = info->dbf
63 int s = VCWD_STAT(info->path, &check_stat); in DBA_OPEN_FUNC()
66 info->mode = DBA_TRUNC; /* force truncate */ in DBA_OPEN_FUNC()
70 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
75 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
76 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
83 if (info->argc > 0) { in DBA_OPEN_FUNC()
84 convert_to_long_ex(info->argv[0]); in DBA_OPEN_FUNC()
85 filemode = Z_LVAL_PP(info->argv[0]); in DBA_OPEN_FUNC()
100 info->dbf = data; in DBA_OPEN_FUNC()
[all …]
H A Ddba_dbm.c42 #define DBM_DATA dba_dbm_data *dba = info->dbf
62 if(info->argc > 0) { in DBA_OPEN_FUNC()
63 convert_to_long_ex(info->argv[0]); in DBA_OPEN_FUNC()
64 filemode = Z_LVAL_PP(info->argv[0]); in DBA_OPEN_FUNC()
67 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC()
75 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC()
82 if(dbminit((char *) info->path) == -1) { in DBA_OPEN_FUNC()
86 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
87 memset(info->dbf, 0, sizeof(dba_dbm_data)); in DBA_OPEN_FUNC()
93 pefree(info->dbf, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
[all …]
H A Ddba_gdbm.c34 #define GDBM_DATA dba_gdbm_data *dba = info->dbf
49 info->mode == DBA_WRITER ? GDBM_WRITER : in DBA_OPEN_FUNC()
50 info->mode == DBA_CREAT ? GDBM_WRCREAT : in DBA_OPEN_FUNC()
51 info->mode == DBA_TRUNC ? GDBM_NEWDB : -1; in DBA_OPEN_FUNC()
56 if(info->argc > 0) { in DBA_OPEN_FUNC()
57 convert_to_long_ex(info->argv[0]); in DBA_OPEN_FUNC()
58 filemode = Z_LVAL_PP(info->argv[0]); in DBA_OPEN_FUNC()
64 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
65 memset(info->dbf, 0, sizeof(dba_gdbm_data)); in DBA_OPEN_FUNC()
66 ((dba_gdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
[all …]
H A Ddba_qdbm.c34 #define QDBM_DATA dba_qdbm_data *dba = info->dbf
44 switch(info->mode) { in DBA_OPEN_FUNC()
46 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
52 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
55 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
63 memset(info->dbf, 0, sizeof(dba_qdbm_data)); in DBA_OPEN_FUNC()
64 ((dba_qdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
77 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
H A Dphp_dba.h87 char* (*info)(struct dba_handler *hnd, dba_info * TSRMLS_DC); member
94 int dba_open_##x(dba_info *info, char **error TSRMLS_DC)
96 void dba_close_##x(dba_info *info TSRMLS_DC)
98 char *dba_fetch_##x(dba_info *info, char *key, int keylen, int skip, int *newlen TSRMLS_DC)
102 int dba_exists_##x(dba_info *info, char *key, int keylen TSRMLS_DC)
104 int dba_delete_##x(dba_info *info, char *key, int keylen TSRMLS_DC)
106 char *dba_firstkey_##x(dba_info *info, int *newlen TSRMLS_DC)
108 char *dba_nextkey_##x(dba_info *info, int *newlen TSRMLS_DC)
110 int dba_optimize_##x(dba_info *info TSRMLS_DC)
112 int dba_sync_##x(dba_info *info TSRMLS_DC)
[all …]
/PHP-5.5/ext/mbstring/
H A Dmb_gpc.c61 php_mb_encoding_handler_info_t info; in ZEND_EXTERN_MODULE_GLOBALS() local
153 info.data_type = arg; in ZEND_EXTERN_MODULE_GLOBALS()
155 info.report_errors = 0; in ZEND_EXTERN_MODULE_GLOBALS()
208 mbfl_string_init_set(&string, info->to_language, info->to_encoding->no_encoding); in _php_mb_encoding_handler_ex()
209 mbfl_string_init_set(&resvar, info->to_language, info->to_encoding->no_encoding); in _php_mb_encoding_handler_ex()
210 mbfl_string_init_set(&resval, info->to_language, info->to_encoding->no_encoding); in _php_mb_encoding_handler_ex()
266 if (info->num_from_encodings <= 0) { in _php_mb_encoding_handler_ex()
288 if (info->report_errors) { in _php_mb_encoding_handler_ex()
302 if (info->report_errors) { in _php_mb_encoding_handler_ex()
371 info.separator = "&"; in SAPI_POST_HANDLER_FUNC()
[all …]
/PHP-5.5/ext/pdo/
H A Dpdo_sqlstate.c315 const struct pdo_sqlstate_info *info; in pdo_sqlstate_init_error_table() local
323 info = &err_initializer[i]; in pdo_sqlstate_init_error_table()
325 zend_hash_add(&err_hash, info->state, sizeof(info->state), &info, sizeof(info), NULL); in pdo_sqlstate_init_error_table()
333 const struct pdo_sqlstate_info **info; in pdo_sqlstate_state_to_description() local
335 (void**)&info)) { in pdo_sqlstate_state_to_description()
336 return (*info)->desc; in pdo_sqlstate_state_to_description()
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_get_connection_stats.phpt26 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
27 printf("[003] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
43 if ($info !== $info2) {
45 var_dump($info);
49 if (!is_array($info = $link->get_connection_stats()) || empty($info))
50 printf("[006] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
58 if ($info !== $info2) {
60 var_dump($info);
67 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
74 if ($info === $info2) {
[all …]
H A Dmysqli_get_client_stats.phpt146 ++$test_counter, gettype($info), $info);
164 ++$test_counter, gettype($info), $info);
188 ++$test_counter, gettype($info), $info);
212 ++$test_counter, gettype($info), $info);
234 ++$test_counter, gettype($info), $info);
248 ++$test_counter, gettype($info), $info);
265 ++$test_counter, gettype($info), $info);
290 ++$test_counter, gettype($info), $info);
311 ++$test_counter, gettype($info), $info);
350 ++$test_counter, gettype($info), $info);
[all …]
H A Dmysqli_stmt_get_result_metadata.phpt79 while ($info = $res->fetch_field())
80 $fields['res'][] = $info;
81 var_dump($info);
82 while ($info = $res_meta->fetch_field())
83 $fields['meta'][] = $info;
84 var_dump($info);
95 printf("%s\n", $info->name);
98 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
106 …$k, gettype($info->table), $info->table, gettype($fields['meta'][$k]->table), $fields['meta'][$k]-…
114 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
[all …]
/PHP-5.5/ext/intl/tests/
H A Dnormalizer_normalize.phpt79 . "\terror info: '$error_message' ($error_code)\n"
87 . "\terror info: '$error_message' ($error_code)\n"
101 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
103 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
105 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
107 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
109 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
115 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
117 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
119 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
[all …]
/PHP-5.5/ext/fileinfo/libmagic/
H A Dreadcdf.c63 switch (info[i].pi_type) {
83 info[i].pi_f) == -1)
88 info[i].pi_d) == -1)
132 tp = info[i].pi_tp;
182 cdf_property_info_t *info; local
220 free(info);
229 cdf_info_t info; local
238 info.i_fd = fd;
239 info.i_buf = buf;
240 info.i_len = nbytes;
[all …]
/PHP-5.5/ext/spl/tests/
H A DSplFileInfo_setInfoClass_basic.phpt8 $info = new SplFileInfo(__FILE__);
10 $info->setInfoClass('MyInfoObject');
11 echo get_class($info->getFileInfo()), "\n";
12 echo get_class($info->getPathInfo()), "\n";
14 $info->setInfoClass('SplFileInfo');
15 echo get_class($info->getFileInfo()), "\n";
16 echo get_class($info->getPathInfo()), "\n";
H A DSplFileInfo_setFileClass_basic.phpt8 $info = new SplFileInfo(__FILE__);
10 $info->setFileClass('MyFileObject');
11 echo get_class($info->openFile()), "\n";
13 $info->setFileClass('SplFileObject');
14 echo get_class($info->openFile()), "\n";
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_server_info.phpt17 $info = $db->getAttribute(PDO::ATTR_SERVER_INFO);
18 if ('' == $info)
19 printf("[001] Server info must not be empty\n");
26 if (soundex($new_info) != soundex($info))
27 printf("[003] Did we change it from '%s' to '%s'?\n", $info, $info);
29 // lets hope we always run this in the same second as we did run the server info request...
40 if (!preg_match('/Uptime/i', $info))
41 printf("[006] Can't find uptime in server info '%s'\n", $info);
43 if (isset($uptime) && !preg_match(sprintf('/Uptime: %d/i', $uptime), $info))
44 …07] SHOW STATUS and server info have reported a different uptime, please check. Server info: '%s',…
H A Dpdo_mysql_attr_errmode.phpt52 $code, $info[0]);
53 if ('' == $info[1])
55 if ('' == $info[2])
68 $code, $info[0]);
69 if ('' == $info[1])
71 if ('' == $info[2])
87 $code, $info[0]);
88 if ('' == $info[1])
90 if ('' == $info[2])
125 $code, $info[0]);
[all …]
/PHP-5.5/ext/mysql/tests/
H A Dmysql_get_host_info.phpt16 if (!is_string($info = mysql_get_host_info($link)) || ('' === $info))
17 printf("[003] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
20 if ($def_info !== $info) {
21 printf("[004] Host info for the default link and the specified link differ, [%d] %s\n",
25 var_dump($info);
28 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($info)) {
30 var_inspect($info);
H A Dmysql_get_server_info.phpt16 if (!is_string($info = mysql_get_server_info($link)) || ('' === $info))
17 printf("[003] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
20 if ($def_info !== $info) {
21 printf("[004] Server info for the default link and the specified link differ, [%d] %s\n",
25 var_dump($info);
28 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($info)) {
30 var_inspect($info);
H A Dmysql_get_client_info.phpt8 if (!is_string($info = mysql_get_client_info()) || ('' === $info))
9 printf("[001] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
11 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($info)) {
13 var_inspect($info);
/PHP-5.5/ext/openssl/tests/
H A Dbug65698.phpt10 $info = openssl_x509_parse("file://$crt");
11 var_dump($info["validFrom"], $info["validFrom_time_t"], $info["validTo"], $info["validTo_time_t"]);

Completed in 113 milliseconds

12345678910>>...12