/php-src/main/streams/ |
H A D | cast.c | 144 void php_stream_mode_sanitize_fdopen_fopencookie(php_stream *stream, char *result) in php_stream_mode_sanitize_fdopen_fopencookie() argument 155 result[res_curs++] = cur_mode[0]; in php_stream_mode_sanitize_fdopen_fopencookie() 159 result[res_curs++] = 'w'; in php_stream_mode_sanitize_fdopen_fopencookie() 176 result[res_curs++] = 'b'; in php_stream_mode_sanitize_fdopen_fopencookie() 179 result[res_curs++] = '+'; in php_stream_mode_sanitize_fdopen_fopencookie() 182 result[res_curs] = '\0'; in php_stream_mode_sanitize_fdopen_fopencookie()
|
H A D | streams.c | 1519 zend_string *result; in _php_stream_copy_to_mem() local 1531 ptr = ZSTR_VAL(result); in _php_stream_copy_to_mem() 1547 result = zend_string_truncate(result, len, persistent); in _php_stream_copy_to_mem() 1551 result = NULL; in _php_stream_copy_to_mem() 1553 return result; in _php_stream_copy_to_mem() 1572 ptr = ZSTR_VAL(result); in _php_stream_copy_to_mem() 1586 result = zend_string_extend(result, buflen, persistent); in _php_stream_copy_to_mem() 1593 result = zend_string_truncate(result, len, persistent); in _php_stream_copy_to_mem() 1597 result = NULL; in _php_stream_copy_to_mem() 1600 return result; in _php_stream_copy_to_mem() [all …]
|
/php-src/ext/standard/ |
H A D | url_scanner_ex.re | 447 * HTML stuff to the result buffer. 588 char *result; 621 return result; 631 if (!ctx->result.s) { 635 *newlen = ZSTR_LEN(ctx->result.s); 637 smart_str_0(&ctx->result); 645 retval = estrndup(ZSTR_VAL(ctx->result.s), ZSTR_LEN(ctx->result.s)); 646 smart_str_free(&ctx->result); 675 smart_str_free(&ctx->result); 708 *handled_output = estrndup(ZSTR_VAL(ctx->result.s), ZSTR_LEN(ctx->result.s)); [all …]
|
H A D | var_unserializer.re | 396 zend_ulong result = 0; 414 result = result * 10 + ((zend_ulong)(*p) - '0'); 427 || UNEXPECTED(result > ZEND_LONG_MAX + neg)) { 432 return (zend_long) ((!neg) ? result : -result); 444 size_t result = 0; 449 result = result * 10 + (size_t)(cursor - (unsigned char)'0'); 455 return result; 852 int result; 854 result = php_var_unserialize_internal(UNSERIALIZE_PASSTHRU); 856 if (!result) { [all …]
|
H A D | base64.c | 68 result = vorrq_u8(result, vandq_u8(less, vdupq_n_u8(13))); in encode_toascii() 70 result = vqtbl2q_u8(shift_LUT, result); in encode_toascii() 554 ZSTR_LEN(result) = (o - (unsigned char *)ZSTR_VAL(result)); in php_base64_encode_avx512_vbmi() 556 return result; in php_base64_encode_avx512_vbmi() 620 return result; in php_base64_decode_ex_avx512_vbmi() 662 result = _mm512_shuffle_epi8(lut, result); in php_base64_encode_avx512() 663 result = _mm512_add_epi8(result, str); in php_base64_encode_avx512() 674 ZSTR_LEN(result) = (o - (unsigned char *)ZSTR_VAL(result)); in php_base64_encode_avx512() 676 return result; in php_base64_encode_avx512() 753 return result; in php_base64_decode_ex_avx512() [all …]
|
H A D | dir.c | 337 char *result; in PHP_FUNCTION() local 366 result = VCWD_GETCWD(cwd, MAXPATHLEN); in PHP_FUNCTION() 367 if (!result) { in PHP_FUNCTION()
|
/php-src/ext/filter/tests/ |
H A D | filter_input_array_001.phpt | 2 filter_input_array: test FILTER_NULL_ON_FAILURE option does not affect general result on empty input
|
/php-src/ext/dom/ |
H A D | html5_serializer.c | 367 zend_result result = dom_html5_serialize_node(ctx, node, node->parent); in dom_html5_serialize_outer() local 369 return result; in dom_html5_serialize_outer()
|
H A D | xpath_callbacks.c | 458 zend_result result = FAILURE; in php_dom_xpath_callbacks_call_php_ns() local 478 …result = php_dom_xpath_callback_dispatch(xpath_callbacks, xpath_callbacks->php_ns, ctxt, params, p… in php_dom_xpath_callbacks_call_php_ns() 484 if (UNEXPECTED(result != SUCCESS)) { in php_dom_xpath_callbacks_call_php_ns() 489 return result; in php_dom_xpath_callbacks_call_php_ns() 508 …zend_result result = php_dom_xpath_callback_dispatch(xpath_callbacks, ns, ctxt, params, param_coun… in php_dom_xpath_callbacks_call_custom_ns() local 511 if (UNEXPECTED(result != SUCCESS)) { in php_dom_xpath_callbacks_call_custom_ns() 516 return result; in php_dom_xpath_callbacks_call_custom_ns()
|
H A D | html_document.c | 397 result.bom_shift = 3; in dom_determine_encoding() 398 return result; in dom_determine_encoding() 402 result.bom_shift = 2; in dom_determine_encoding() 403 return result; in dom_determine_encoding() 407 return result; in dom_determine_encoding() 433 result.bom_shift = 0; in dom_determine_encoding() 435 return result; in dom_determine_encoding() 441 result.bom_shift = 0; in dom_determine_encoding() 442 return result; in dom_determine_encoding() 867 if (!result) { in PHP_METHOD() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg.c | 268 bool result = 1; in PHP_FUNCTION() local 275 result = 0; in PHP_FUNCTION() 281 if (result) { in PHP_FUNCTION()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 205 *result = 1; in zend_jit_is_constant_cmp_long_long() 208 *result = 0; in zend_jit_is_constant_cmp_long_long() 215 *result = 0; in zend_jit_is_constant_cmp_long_long() 218 *result = 1; in zend_jit_is_constant_cmp_long_long() 224 *result = 1; in zend_jit_is_constant_cmp_long_long() 227 *result = 0; in zend_jit_is_constant_cmp_long_long() 233 *result = 1; in zend_jit_is_constant_cmp_long_long() 236 *result = 0; in zend_jit_is_constant_cmp_long_long() 1229 && (opline+1)->op1.var == opline->result.var) { in zend_jit_next_is_send_result() 2003 && (opline+1)->op1.var == opline->result.var) { in zend_jit() [all …]
|
/php-src/Zend/ |
H A D | zend_generators.c | 591 …ZVAL_COPY(ZEND_CALL_VAR(new_root->execute_data, yield_from->result.var), &new_root_parent->retval); in zend_generator_update_current()
|
/php-src/Zend/Optimizer/ |
H A D | zend_inference.h | 193 DEFINE_SSA_OP_INFO(result) in DEFINE_SSA_OP_INFO() 196 DEFINE_SSA_OP_DEF_INFO(result) in DEFINE_SSA_OP_INFO()
|
H A D | zend_dump.c | 452 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op() 454 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op() 729 zend_dump_const(CRT_CONSTANT(opline->result)); in zend_dump_op() 742 …ar(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.var), dump_flags); in zend_dump_op() 746 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op() 752 …ar(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.var), dump_flags); in zend_dump_op()
|
/php-src/ext/xsl/ |
H A D | xsltprocessor.c | 39 …int result = xsltQuoteOneUserParam(ctxt, (const xmlChar *) ZSTR_VAL(string_key), (const xmlChar *)… in php_xsl_xslt_apply_params() local 40 if (result < 0) { in php_xsl_xslt_apply_params()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps.c | 108 result = stmt->result; in MYSQLND_METHOD() 112 result->stored_data = mysqlnd_result_buffered_init(result, result->field_count, stmt); in MYSQLND_METHOD() 118 …ret = result->m.store_result_fetch_data(conn, result, result->meta, &result->stored_data->row_buff… in MYSQLND_METHOD() 183 result->meta = stmt->result->meta->m->clone_metadata(result, stmt->result->meta); in MYSQLND_METHOD() 202 result->m.free_result(result, TRUE); in MYSQLND_METHOD() 450 stmt->result = result; in MYSQLND_METHOD() 741 result = stmt->result; in MYSQLND_METHOD() 743 result->m.use_result(stmt->result, stmt); in MYSQLND_METHOD() 983 stmt->result->m.skip_result(stmt->result); in MYSQLND_METHOD() 1463 return stmt && stmt->result? stmt->result->m.seek_data(stmt->result, row) : FAIL; in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_connection.c | 431 MYSQLND_RES * result = conn->m->use_result(conn); in MYSQLND_METHOD() local 432 if (result) { in MYSQLND_METHOD() 433 result->m.free_result(result, TRUE); in MYSQLND_METHOD() 837 MYSQLND_RES * result = NULL; local 857 result = conn->m->store_result(conn); 862 DBG_RETURN(result); 1606 MYSQLND_RES *result = conn->current_result->m.use_result(conn->current_result, FALSE); local 1607 if (!result) { 1611 DBG_RETURN(result); 1636 if (!result) { [all …]
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 360 $result = exec("$command 2>&1", $output, $code); 361 if ($result === false || $code) { 1840 $result = $this->logTool->expectEntry( 1851 if ( ! $result) {
|
/php-src/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 18 static $result = null; 19 if (!is_null($result)) { 20 return $result; 23 if ($result = !!$server) { 26 return $result; 176 $result = stream_select($read, $write, $except, $timeout); 177 if (!$result) {
|
/php-src/ext/session/ |
H A D | session.c | 273 result = FAILURE; in php_session_decode() 279 return result; in php_session_decode() 867 bool result; in PS_SERIALIZER_DECODE_FUNC() local 875 if (!result) { in PS_SERIALIZER_DECODE_FUNC() 1684 zend_result result; in PHP_FUNCTION() local 1781 if (result == FAILURE) { in PHP_FUNCTION() 1790 if (result == FAILURE) { in PHP_FUNCTION() 1799 if (result == FAILURE) { in PHP_FUNCTION() 1808 if (result == FAILURE) { in PHP_FUNCTION() 2074 zend_result result; in PHP_FUNCTION() local [all …]
|
/php-src/ |
H A D | php.ini-development | 200 ; should be disabled, as enabling it may result in issues when generating XML 274 ; outputs chunks that are few hundreds bytes each as a result of 309 ; structures. Setting the depth limit too high may result in stack overflows 470 ; E_NOTICE - run-time notices (these are warnings which often result 692 ; variables are not used within a script, having this directive on will result 1220 ; Default size of the mysqlnd memory pool, which is used by result sets.
|
H A D | php.ini-production | 200 ; should be disabled, as enabling it may result in issues when generating XML 274 ; outputs chunks that are few hundreds bytes each as a result of 309 ; structures. Setting the depth limit too high may result in stack overflows 472 ; E_NOTICE - run-time notices (these are warnings which often result 694 ; variables are not used within a script, having this directive on will result 1222 ; Default size of the mysqlnd memory pool, which is used by result sets.
|
/php-src/build/ |
H A D | ax_gcc_func_attribute.m4 | 21 # The macro caches its result in the ax_cv_have_func_attribute_<attribute> 68 # returning an int and not accepting any arguments and the result of the
|
/php-src/ext/random/ |
H A D | random.c | 88 result = 0; in php_random_range32() 92 result = result | (((uint32_t) r.result) << (total_size * 8)); in php_random_range32() 101 return result; in php_random_range32() 123 result = 0; in php_random_range32() 127 result = result | (((uint32_t) r.result) << (total_size * 8)); in php_random_range32() 147 result = 0; in php_random_range64() 151 result = result | (r.result << (total_size * 8)); in php_random_range64() 160 return result; in php_random_range64() 182 result = 0; in php_random_range64() 186 result = result | (r.result << (total_size * 8)); in php_random_range64() [all …]
|