Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-8.1/ext/gd/libgd/
H A Dgd_bmp.c480 im = gdImageCreate(info->width, info->height); in gdImageCreateFromBmpCtx()
591 info->height = -info->height; in bmp_read_windows_v3_info()
598 if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0 || in bmp_read_windows_v3_info()
599 info->depth <= 0 || info->numcolors < 0 || info->mincolors < 0) { in bmp_read_windows_v3_info()
620 info->numcolors = 1 << info->depth; in bmp_read_os2_v1_info()
623 if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0 || in bmp_read_os2_v1_info()
624 info->depth <= 0 || info->numcolors < 0) { in bmp_read_os2_v1_info()
656 info->height = -info->height; in bmp_read_os2_v2_info()
663 if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0 || in bmp_read_os2_v2_info()
664 info->depth <= 0 || info->numcolors < 0 || info->mincolors < 0) { in bmp_read_os2_v2_info()
[all …]
/PHP-8.1/ext/dba/
H A Ddba.c208 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
215 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
326 info->hnd->close(info); in dba_close()
329 pefree(info->path, info->flags&DBA_PERSISTENT); in dba_close()
331 if (info->fp && info->fp != info->lock.fp) { in dba_close()
348 pefree(info, info->flags&DBA_PERSISTENT); in dba_close()
866 if (info->fp != info->lock.fp) { in php_dba_open()
1039 fkey = info->hnd->firstkey(info, &len); in PHP_FUNCTION()
1065 nkey = info->hnd->nextkey(info, &len); in PHP_FUNCTION()
1125 if (info->hnd->optimize(info) == SUCCESS) { in PHP_FUNCTION()
[all …]
H A Ddba_db4.c84 info->mode == DBA_TRUNC ? DB_BTREE :
98 (info->mode == DBA_TRUNC || info->mode == DBA_CREAT) ? DB_BTREE :
111 if (info->flags & DBA_PERSISTENT) {
115 if (info->argc > 0) {
132 info->dbf = data;
163 if (info->flags & DBA_PERSISTENT) {
169 if (info->flags & DBA_PERSISTENT) {
201 if (info->flags & DBA_PERSISTENT) {
206 if (info->flags & DBA_PERSISTENT) {
248 if (info->flags & DBA_PERSISTENT) {
[all …]
H A Ddba_db2.c50 int s = VCWD_STAT(info->path, &check_stat); in DBA_OPEN_FUNC()
57 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
62 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
63 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
70 if (info->argc > 0) { in DBA_OPEN_FUNC()
71 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
78 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
79 memset(info->dbf, 0, sizeof(dba_db2_data)); in DBA_OPEN_FUNC()
80 ((dba_db2_data *) info->dbf)->dbp = dbp; in DBA_OPEN_FUNC()
91 pefree(dba, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
[all …]
H A Ddba_ndbm.c38 dba_info *pinfo = (dba_info *) info; in DBA_OPEN_FUNC()
40 switch(info->mode) { in DBA_OPEN_FUNC()
57 if(info->argc > 0) { in DBA_OPEN_FUNC()
58 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
61 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
69 dbm_close(info->dbf); in DBA_CLOSE_FUNC()
78 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC()
103 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC()
113 return(dbm_delete(info->dbf, gkey) == -1 ? FAILURE : SUCCESS); in DBA_DELETE_FUNC()
121 gkey = dbm_firstkey(info->dbf); in DBA_FIRSTKEY_FUNC()
[all …]
H A Ddba_db3.c44 #define DB3_DATA dba_db3_data *dba = info->dbf
62 int s = VCWD_STAT(info->path, &check_stat);
65 info->mode = DBA_TRUNC; /* force truncate */
69 info->mode == DBA_TRUNC ? DB_BTREE :
74 (info->mode == DBA_CREAT && !s) ? 0 :
75 info->mode == DBA_WRITER ? 0 :
82 if (info->argc > 0) {
83 filemode = zval_get_long(&info->argv[0]);
103 info->dbf = data;
123 pefree(dba, info->flags&DBA_PERSISTENT);
[all …]
H A Dphp_dba.h86 char* (*info)(struct dba_handler *hnd, dba_info *); member
93 int dba_open_##x(dba_info *info, char **error)
95 void dba_close_##x(dba_info *info)
97 char *dba_fetch_##x(dba_info *info, char *key, size_t keylen, int skip, size_t *newlen)
101 int dba_exists_##x(dba_info *info, char *key, size_t keylen)
103 int dba_delete_##x(dba_info *info, char *key, size_t keylen)
105 char *dba_firstkey_##x(dba_info *info, size_t *newlen)
107 char *dba_nextkey_##x(dba_info *info, size_t *newlen)
109 int dba_optimize_##x(dba_info *info)
111 int dba_sync_##x(dba_info *info)
[all …]
H A Ddba_dbm.c38 #define DBM_DATA dba_dbm_data *dba = info->dbf
42 snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \
58 if(info->argc > 0) { in DBA_OPEN_FUNC()
59 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
62 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC()
70 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC()
77 if(dbminit((char *) info->path) == -1) { in DBA_OPEN_FUNC()
81 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
82 memset(info->dbf, 0, sizeof(dba_dbm_data)); in DBA_OPEN_FUNC()
88 pefree(info->dbf, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
[all …]
H A Ddba_qdbm.c30 #define QDBM_DATA dba_qdbm_data *dba = info->dbf
40 switch(info->mode) { in DBA_OPEN_FUNC()
42 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
45 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
48 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
51 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
58 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
59 memset(info->dbf, 0, sizeof(dba_qdbm_data)); in DBA_OPEN_FUNC()
60 ((dba_qdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
73 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_loaddata.c28 MYSQLND_INFILE_INFO *info; in mysqlnd_local_infile_init() local
34 if (!info) { in mysqlnd_local_infile_init()
38 *ptr = info; in mysqlnd_local_infile_init()
49 info->filename = filename; in mysqlnd_local_infile_init()
52 if (info->fd == NULL) { in mysqlnd_local_infile_init()
92 if (info) { in mysqlnd_local_infile_error()
111 if (info) { in mysqlnd_local_infile_end()
113 if (info->fd) { in mysqlnd_local_infile_end()
115 info->fd = NULL; in mysqlnd_local_infile_end()
117 mnd_efree(info); in mysqlnd_local_infile_end()
[all …]
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_get_connection_stats.phpt19 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
20 printf("[003] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
36 if ($info !== $info2) {
38 var_dump($info);
42 if (!is_array($info = $link->get_connection_stats()) || empty($info))
43 printf("[006] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
51 if ($info !== $info2) {
53 var_dump($info);
60 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
67 if ($info === $info2) {
[all …]
H A Dmysqli_get_client_stats.phpt142 ++$test_counter, gettype($info), $info);
160 ++$test_counter, gettype($info), $info);
184 ++$test_counter, gettype($info), $info);
208 ++$test_counter, gettype($info), $info);
230 ++$test_counter, gettype($info), $info);
244 ++$test_counter, gettype($info), $info);
261 ++$test_counter, gettype($info), $info);
286 ++$test_counter, gettype($info), $info);
307 ++$test_counter, gettype($info), $info);
346 ++$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);
94 foreach ($fields['res'] as $k => $info) {
95 printf("%s\n", $info->name);
98 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
114 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
[all …]
/PHP-8.1/ext/mbstring/
H A Dmb_gpc.c51 php_mb_encoding_handler_info_t info; in ZEND_EXTERN_MODULE_GLOBALS() local
134 info.data_type = arg; in ZEND_EXTERN_MODULE_GLOBALS()
135 info.separator = separator; in ZEND_EXTERN_MODULE_GLOBALS()
136 info.report_errors = 0; in ZEND_EXTERN_MODULE_GLOBALS()
247 if (info->num_from_encodings == 0) { in _php_mb_encoding_handler_ex()
254 …identd = mbfl_encoding_detector_new(info->from_encodings, info->num_from_encodings, MBSTRG(strict_… in _php_mb_encoding_handler_ex()
269 if (info->report_errors) { in _php_mb_encoding_handler_ex()
283 if (info->report_errors) { in _php_mb_encoding_handler_ex()
347 php_mb_encoding_handler_info_t info; in SAPI_POST_HANDLER_FUNC() local
353 info.separator = "&"; in SAPI_POST_HANDLER_FUNC()
[all …]
/PHP-8.1/ext/pdo/
H A Dpdo_sqlstate.c311 const struct pdo_sqlstate_info *info; in pdo_sqlstate_init_error_table() local
316 info = &err_initializer[i]; in pdo_sqlstate_init_error_table()
318 zend_hash_str_add_ptr(&err_hash, info->state, sizeof(info->state), (void *)info); in pdo_sqlstate_init_error_table()
324 const struct pdo_sqlstate_info *info; in pdo_sqlstate_state_to_description() local
325 if ((info = zend_hash_str_find_ptr(&err_hash, state, sizeof(err_initializer[0].state))) != NULL) { in pdo_sqlstate_state_to_description()
326 return info->desc; in pdo_sqlstate_state_to_description()
/PHP-8.1/ext/intl/tests/
H A Dnormalizer_normalize.phpt98 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
100 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
102 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
104 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
106 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
108 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
110 is in form 'UNORM_FORM_D'? = yes error info: 'U_ZERO_ERROR' (0)
112 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
114 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
116 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
[all …]
H A Dbug72506.phpt4 Actually, the $info array should be populated for these cases, but at least it's
16 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
17 var_dump($result, $info);
21 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
22 var_dump($result, $info);
26 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
27 var_dump($result, $info);
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_server_info.phpt18 $info = $db->getAttribute(PDO::ATTR_SERVER_INFO);
19 if ('' == $info)
20 printf("[001] Server info must not be empty\n");
27 if (soundex($new_info) != soundex($info))
28 printf("[003] Did we change it from '%s' to '%s'?\n", $info, $info);
30 // lets hope we always run this in the same second as we did run the server info request...
41 if (!preg_match('/Uptime/i', $info))
42 printf("[006] Can't find uptime in server info '%s'\n", $info);
45 if (!preg_match('/Uptime: (\d+)/i', $info, $matches) || $uptime - $matches[1] > 1) {
46 …07] SHOW STATUS and server info have reported a different uptime, please check. Server info: '%s',…
H A Dpdo_mysql_attr_errmode.phpt44 $info = $db->errorInfo();
48 if ($code !== $info[0])
50 $code, $info[0]);
51 if ('' == $info[1])
53 if ('' == $info[2])
64 if ($code !== $info[0])
67 if ('' == $info[1])
69 if ('' == $info[2])
86 if ('' == $info[1])
88 if ('' == $info[2])
[all …]
/PHP-8.1/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-8.1/win32/
H A Dcp_enc_map_gen.c175 CPINFOEX info; in main() local
220 } else if (GetCPInfoEx(cur->id, 0, &info)) { in main()
234 …, %u, %u, %u, \"%s\", NULL, \"%s\" },\n", info.CodePage, to_w_fl, from_w_fl, info.MaxCharSize, cur… in main()
239 …u, %u, \"%s\", \"%s\", \"%s\" },\n", info.CodePage, to_w_fl, from_w_fl, info.MaxCharSize, cur->nam… in main()
/PHP-8.1/ext/openssl/tests/
H A Dbug65698.phpt8 $info = openssl_x509_parse("file://$crt");
9 var_dump($info["validFrom"], $info["validFrom_time_t"], $info["validTo"], $info["validTo_time_t"]);
/PHP-8.1/ext/fileinfo/libmagic/
H A Dreadcdf.c156 switch (info[i].pi_type) { in cdf_file_property_info()
161 info[i].pi_s16) == -1) in cdf_file_property_info()
176 info[i].pi_f) == -1) in cdf_file_property_info()
181 info[i].pi_d) == -1) in cdf_file_property_info()
218 tp = info[i].pi_tp; in cdf_file_property_info()
292 cdf_property_info_t *info; in cdf_file_summary_info() local
340 efree(info); in cdf_file_summary_info()
537 cdf_info_t info; in file_trycdf() local
547 info.i_fd = fd; in file_trycdf()
548 info.i_buf = buf; in file_trycdf()
[all …]
/PHP-8.1/Zend/Optimizer/
H A Dzend_func_info.c37 uint32_t info; member
41 #define F0(name, info) \ argument
42 {name, sizeof(name)-1, (info), NULL}
43 #define F1(name, info) \ argument
45 #define FN(name, info) \ argument
119 func_info_t *info = Z_PTR_P(zv); in zend_get_internal_func_info() local
120 if (info->info_func) { in zend_get_internal_func_info()
123 return info->info; in zend_get_internal_func_info()
177 if (info) { in zend_get_func_info()
178 ret = info->return_info.type; in zend_get_func_info()
[all …]

Completed in 62 milliseconds

12345678910>>...15