Home
last modified time | relevance | path

Searched refs:val (Results 251 – 275 of 485) sorted by relevance

1...<<11121314151617181920

/PHP-8.1/Zend/
H A Dzend_hash.h195 _ret = &_ht->arData[_h].val; \
966 zval *_z = &_p->val; \
981 _z = &_p->val; \
1000 i = Z_NEXT(prev->val); \
1003 Z_NEXT(prev->val) = Z_NEXT(_p->val); \
1194 ZVAL_NULL(&__fill_bkt->val)
1267 ZVAL_COPY_VALUE(&p->val, zv); in _zend_hash_append_ex()
1279 return &p->val; in _zend_hash_append_ex()
1293 ZVAL_PTR(&p->val, ptr); in _zend_hash_append_ptr_ex()
1305 return &p->val; in _zend_hash_append_ptr_ex()
[all …]
/PHP-8.1/ext/standard/
H A Dassert.c292 zend_string *val = zval_try_get_string(value); in PHP_FUNCTION() local
293 if (UNEXPECTED(!val)) { in PHP_FUNCTION()
298 zend_alter_ini_entry_ex(key, val, PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); in PHP_FUNCTION()
299 zend_string_release_ex(val, 0); in PHP_FUNCTION()
H A Dbasic_functions.c1157 ZVAL_STRING(&val, php_optarg);
1159 ZVAL_FALSE(&val);
1339 if (ZSTR_IS_INTERNED(val)) { \
1340 ZVAL_INTERNED_STR(zv, val); \
1341 } else if (ZSTR_LEN(val) == 0) { \
1343 } else if (ZSTR_LEN(val) == 1) { \
1348 ZVAL_NEW_STR(zv, zend_string_init(ZSTR_VAL(val), ZSTR_LEN(val), 0)); \
1969 zend_string *varname, *val; local
1977 if (!val) {
2071 zend_string *val; local
[all …]
/PHP-8.1/ext/opcache/
H A Dzend_persist.c151 Z_NEXT(p->val) = HT_HASH(ht, nIndex); in zend_hash_persist()
175 zend_persist_zval(&copy->val); in zend_persist_ast()
231 zend_persist_zval(&p->val); in zend_persist_zval()
339 zend_persist_zval(&p->val); in zend_persist_backed_enum_table()
500 zend_persist_zval(&p->val); in zend_persist_op_array_ex()
937 Z_PTR(p->val) = prop; in zend_persist_class_entry()
1215 Z_CE(p->val) = zend_persist_class_entry(Z_CE(p->val)); in zend_accel_persist_class_table()
1219 ce = Z_PTR(p->val); in zend_accel_persist_class_table()
1231 ce = Z_PTR(p->val); in zend_accel_persist_class_table()
1247 ce = Z_PTR(p->val); in zend_accel_persist_class_table()
[all …]
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_main.c190 return strcasecmp( ((zend_module_entry *) Z_PTR(f->val))->name, in module_name_cmp()
191 ((zend_module_entry *) Z_PTR(s->val))->name); in module_name_cmp()
511 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
512 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
1605 char *val; in main() local
1607 if ((val = strchr(php_optarg, '='))) { in main()
1608 val++; in main()
1609 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { in main()
1612 ini_entries_len += (val - php_optarg); in main()
1615 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg)); in main()
[all …]
H A Dfpm_sockets.c540 int val; in fpm_socket_get_listening_queue() local
541 socklen_t len = sizeof(val); in fpm_socket_get_listening_queue()
544 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLEN, &val, &len)) { in fpm_socket_get_listening_queue()
548 *cur_lq = val; in fpm_socket_get_listening_queue()
552 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLIMIT, &val, &len)) { in fpm_socket_get_listening_queue()
556 *max_lq = val; in fpm_socket_get_listening_queue()
/PHP-8.1/Zend/tests/
H A Dforeach_undefined.phpt6 foreach($a as $val);
H A Dmagic_by_ref_002.phpt7 function __set($name, &$val) { }
H A Dmagic_by_ref_001.phpt7 function __set(&$name, $val) { }
H A Dbug76800.phpt6 foreach($arr as $key => &$val) { // without & will print both keys
H A Dbug73663_2.phpt11 change(list($val) = $array);
/PHP-8.1/ext/session/
H A Dmod_user.c148 *val = zend_string_copy(Z_STR(retval)); in PS_READ_FUNC()
163 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC()
258 ZVAL_STR_COPY(&args[1], val); in PS_UPDATE_TIMESTAMP_FUNC()
/PHP-8.1/ext/intl/locale/
H A Dlocale_methods.c315 buflen = uloc_getScript ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal()
321 buflen = uloc_getCountry ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal()
367 tag_value->len = strlen(tag_value->val); in get_icu_value_internal()
994 token = php_strtok_r( key_value->val , DELIMITER ,&last_ptr); in add_array_entry()
1106 token = php_strtok_r( variant->val , DELIMITER , &saved_ptr); in PHP_FUNCTION()
1218 result = strToMatch( can_lang_tag->val , cur_lang_tag); in PHP_FUNCTION()
1226 result = strToMatch( can_loc_range->val , cur_loc_range ); in PHP_FUNCTION()
1366 if(result != 1 || lang_tag == NULL || !lang_tag->val[0]) { in lookup_loc_range()
1374 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range()
1387 if( result != 1 || can_loc_range == NULL || !can_loc_range->val[0]) { in lookup_loc_range()
[all …]
/PHP-8.1/ext/fileinfo/libmagic/
H A Dapprentice.c900 val += MULT; in apprentice_magic_strength()
911 val = 0; in apprentice_magic_strength()
915 val += MULT; in apprentice_magic_strength()
925 val -= MULT; in apprentice_magic_strength()
953 val = 1; in apprentice_magic_strength()
960 val++; in apprentice_magic_strength()
961 return val; in apprentice_magic_strength()
2772 int val; in getstr() local
2880 val = (val << 3) | (c - '0'); in getstr()
2883 val = (val << 3) | (c-'0'); in getstr()
[all …]
/PHP-8.1/ext/pgsql/tests/
H A Dbug72195.phpt9 $val = [];
/PHP-8.1/ext/opcache/tests/opt/
H A Dfe_fetch_001.phpt14 foreach ($obj as $val)
/PHP-8.1/ext/filter/
H A Dfilter.c78 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n…
360 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n… in php_sapi_filter() argument
366 assert(*val != NULL); in php_sapi_filter()
402 ZVAL_STRINGL(&raw_var, *val, val_len); in php_sapi_filter()
409 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter()
412 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter()
426 efree(*val); in php_sapi_filter()
428 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var)); in php_sapi_filter()
430 *val = estrdup(""); in php_sapi_filter()
/PHP-8.1/docs/
H A Dinput-filter.md100 assert(*val != NULL);
129 Z_STRVAL(new_var) = estrndup(*val, val_len);
139 php_strip_tags(*val, val_len, NULL, NULL, 0);
141 *new_val_len = strlen(*val);
/PHP-8.1/tests/classes/
H A D__set_data_corrupt.phpt17 function __set($prop, $val)
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c658 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
1589 char **env, *p, *q, *var, *val, *t = buf; local
1594 val = strchr(*env, '=');
1595 if (!val) { /* malformed entry? */
1598 var_len = val - *env;
1650 val++;
1850 char *val; local
1852 if ((val = strchr(php_optarg, '='))) {
1853 val++;
1854 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') {
[all …]
/PHP-8.1/ext/mysqli/
H A Dmysqli_api.c386 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(float)); in mysqli_stmt_bind_result_do_bind()
388 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind()
399 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind()
423 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); in mysqli_stmt_bind_result_do_bind()
425 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind()
436 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind()
489 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind()
507 if (stmt->result.buf[i].val) { in mysqli_stmt_bind_result_do_bind()
508 efree(stmt->result.buf[i].val); in mysqli_stmt_bind_result_do_bind()
1013 dval = *((double *)stmt->result.buf[i].val);
[all …]
/PHP-8.1/ext/session/tests/
H A D005.phpt36 function write($key, $val): bool
38 print "WRITE: $key, $val\n";
39 $GLOBALS["hnd"]->data = $val;
H A D025.phpt37 function write($key, $val): bool
39 print "WRITE: $key, $val\n";
40 $GLOBALS["hnd"]->data = $val;
/PHP-8.1/main/
H A Dfastcgi.c175 char *val; member
339 p->val = fcgi_hash_strndup(h, val, val_len); in fcgi_hash_set()
340 return p->val; in fcgi_hash_set()
361 p->val = fcgi_hash_strndup(h, val, val_len); in fcgi_hash_set()
362 return p->val; in fcgi_hash_set()
394 return p->val; in fcgi_hash_get()
406 if (EXPECTED(p->val != NULL)) { in fcgi_hash_apply()
1694 if (val == NULL) {
1698 …gi_hash_set(&req->env, FCGI_HASH_FUNC(var, var_len), var, var_len, val, (unsigned int)strlen(val));
1704 if (val == NULL) {
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Dbug72622.phpt7 array_walk($arr, function (&$val, $name) {

Completed in 135 milliseconds

1...<<11121314151617181920