/php-src/Zend/Optimizer/ |
H A D | zend_optimizer_internal.h | 71 #define COPY_NODE(target, src) do { \ argument 72 target ## _type = src ## _type; \ 73 target = src; \
|
/php-src/ext/gd/libgd/ |
H A D | gd.c | 2255 …ageSetPixel(dst, dstX + x, dstY + y, gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], sr… in gdImageCopy() 2291 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy() 2326 if (dst == src) { in gdImageCopyMerge() 2915 return src; in gdAlphaBlend() 2921 return src; in gdAlphaBlend() 2987 return dst + (src << 1) - (dst * src / max) - max; in gdAlphaOverlayColor() 3068 if (src == NULL) { in gdImagePaletteToTrueColor() 3100 *(dst_row + x) = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImagePaletteToTrueColor() 3111 src->trueColor = 1; in gdImagePaletteToTrueColor() 3112 src->pixels = NULL; in gdImagePaletteToTrueColor() [all …]
|
H A D | gd_interpolation.c | 623 return src; in _color_blend() 629 return src; in _color_blend() 1029 if (!src->trueColor) { in gdImageScaleTwoPass() 1551 if (src == NULL || src->interpolation_id < 0 || src->interpolation_id > GD_METHOD_COUNT) { in gdImageScale() 1578 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale() 2121 …bgcolor = gdTrueColorAlpha(src->red[bgcolor], src->green[bgcolor], src->blue[bgcolor], src->alpha… in gdImageRotateInterpolated() 2129 gdImagePtr dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotateInterpolated() 2137 gdImageCopy(dst, src, 0,0,0,0,src->sx,src->sy); in gdImageRotateInterpolated() 2151 if (src == NULL || src->interpolation_id < 1 || src->interpolation_id > GD_METHOD_COUNT) { in gdImageRotateInterpolated() 2243 if (!src->trueColor) { in gdTransformAffineGetImage() [all …]
|
/php-src/Zend/ |
H A D | zend_objects.c | 200 zval *src = old_object->properties_table; in zend_objects_clone_members() local 202 zval *end = src + old_object->ce->default_properties_count; in zend_objects_clone_members() 206 ZVAL_COPY_VALUE_PROP(dst, src); in zend_objects_clone_members() 220 src++; in zend_objects_clone_members() 222 } while (src != end); in zend_objects_clone_members()
|
/php-src/docs/ |
H A D | README.md | 1 # php-src docs 3 This is the home of the php-src internal documentation, hosted at 4 [php.github.io/php-src/](https://php.github.io/php-src/). It is in very early stages, but is 5 intended to become the primary place where new information about php-src is documented. Over time,
|
/php-src/ext/standard/ |
H A D | string.c | 2190 static zend_string *php_chunk_split(const char *src, size_t srclen, const char *end, size_t endlen,… argument 2208 for (p = src, q = ZSTR_VAL(dest); p < (src + srclen - chunklen + 1); ) { 2871 __m128i src = _mm_loadu_si128((__m128i*)(input)); local 2872 __m128i mask = _mm_cmpeq_epi8(src, search); 2878 _mm_add_epi8(src, 2884 src = _mm_loadu_si128((__m128i*)(input)); 2885 mask = _mm_cmpeq_epi8(src, search); 2887 _mm_add_epi8(src, 3090 __m128i src = _mm_loadu_si128((__m128i*)(p)); local 3091 uint32_t mask = _mm_movemask_epi8(_mm_cmpeq_epi8(src, search));
|
H A D | php_array.h | 28 PHPAPI int php_array_merge(HashTable *dest, HashTable *src); 29 PHPAPI int php_array_merge_recursive(HashTable *dest, HashTable *src); 30 PHPAPI int php_array_replace_recursive(HashTable *dest, HashTable *src);
|
/php-src/ |
H A D | README.md | 5 src="https://www.php.net/images/logos/new-php-logo.svg" 17 [![Push](https://github.com/php/php-src/actions/workflows/push.yml/badge.svg)](https://github.com/p… 18 …Build status](https://travis-ci.com/php/php-src.svg?branch=master)](https://travis-ci.com/github/p… 106 [github.com/php/php-src](https://github.com/php/php-src). Contributions are most 134 - [Internal documentation](https://php.github.io/php-src/)
|
/php-src/ext/gd/ |
H A D | gd_arginfo.h | 290 ZEND_ARG_OBJ_INFO(0, src, GdImage, 0)
|
/php-src/build/ |
H A D | Makefile.global | 59 src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \ 61 src=$$i; \ 63 if test -f "$(top_srcdir)/$$src"; then \ 64 $(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \ 65 elif test -f "$(top_builddir)/$$src"; then \ 66 $(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \ 68 (cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \ 69 …cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null |…
|
/php-src/win32/build/ |
H A D | config.w32 | 383 // Config profiles (--with-config-profile=<name>) will save a certain config to php-src/config.<nam… 387 ARG_WITH('config-profile', 'Name of the configuration profile to save this to in php-src/config.nam…
|
/php-src/docs/source/introduction/ides/ |
H A D | visual-studio-code.rst | 25 The `C/C++ extension`_ provides most of the features we'll need for php-src development. You can 42 # Compile php-src and generate compile_commands.json 74 By default, ``clangd`` will auto-include header files on completion. php-src headers are somewhat 92 course, you will need ``gdb`` installed on your system, and php-src must be compiled with the
|
H A D | index.rst | 10 Here you can find instructions on how to effectively use common IDEs for php-src development.
|
/php-src/docs/source/ |
H A D | index.rst | 2 php-src docs 18 Welcome to the php-src documentation! 26 <https://github.com/php/php-src/blob/master/CONTRIBUTING.md#technical-resources>`__ file for a 29 php-src is the canonical implementation of the interpreter for the PHP programming language, as well 42 Getting started with a new and complicated project like php-src can be overwhelming. While there's 54 The php-src interpreter is written in C, and so are most of the bundled extensions. While extensions 56 advisable that you have *some* knowledge of C before jumping into php-src.
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 130 zval *end, *src, *dst; in zend_jit_copy_extra_args_helper() local 144 src = end + (num_args - first_extra_arg); in zend_jit_copy_extra_args_helper() 146 if (EXPECTED(src != dst)) { in zend_jit_copy_extra_args_helper() 148 type_flags |= Z_TYPE_INFO_P(src); in zend_jit_copy_extra_args_helper() 149 ZVAL_COPY_VALUE(dst, src); in zend_jit_copy_extra_args_helper() 150 ZVAL_UNDEF(src); in zend_jit_copy_extra_args_helper() 151 src--; in zend_jit_copy_extra_args_helper() 153 } while (src != end); in zend_jit_copy_extra_args_helper() 159 if (Z_REFCOUNTED_P(src)) { in zend_jit_copy_extra_args_helper() 163 src--; in zend_jit_copy_extra_args_helper() [all …]
|
/php-src/docs/source/core/data-structures/ |
H A D | zval.rst | 7 through the ``zval`` struct. It is one of the most important data structures in php-src. It is
|
H A D | index.rst | 12 This section provides an overview of the core data structures used in php-src.
|
H A D | zend_string.rst | 14 php-src uses the ``zend_string`` struct as an abstraction over ``char*``, which explicitly stores 104 As per php-src fashion, you are not supposed to access the ``zend_string`` fields directly. Instead, 169 within your program. Instead, when repeated strings are expected, php-src uses a technique called 171 strings are stored. When creating a new interned string, php-src first checks the interned string
|
/php-src/docs/source/introduction/ |
H A D | high-level-overview.rst | 9 to performance, which is one of the primary reasons interpreters can be complex. php-src borrows 24 php-src as a whole can be seen as a pipeline consisting of these stages, using the input of the
|
/php-src/docs-old/ |
H A D | self-contained-extensions.md | 38 cp -rp php-src/ext/mysqli/* .
|
H A D | streams.md | 107 PHPAPI size_t php_stream_copy_to_stream(php_stream *src, 111 If you want to copy all remaining data from the src stream, pass 120 PHPAPI size_t php_stream_copy_to_mem(php_stream *src, char **buf,
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeS390X.c | 1064 SLJIT_ASSERT(!IS_GPR_REG(src) || dst_r != gpr(src & REG_MASK)); in emit_move() 1897 src = TMP_REG2; in sljit_emit_return_to() 1901 src = TMP_REG2; in sljit_emit_return_to() 2270 sljit_gpr reg = FAST_IS_REG(src) ? gpr(src) : tmp0; in sljit_emit_op1() 2345 src_r = FAST_IS_REG(src) ? gpr(src) : tmp0; in sljit_emit_op1() 3142 src_r = FAST_IS_REG(src) ? gpr(src) : tmp1; in sljit_emit_op_src() 3389 src = dst_r; in sljit_emit_fop1() 3647 sljit_gpr src_r = FAST_IS_REG(src) ? gpr(src) : tmp1; in sljit_emit_ijump() 3682 src = TMP_REG2; in sljit_emit_icall() 4281 src = freg; in sljit_emit_simd_extend() [all …]
|
H A D | sljitNativeX86_32.c | 654 …if ((src & SLJIT_MEM) || (src > SLJIT_R2 && src <= (SLJIT_S0 - SLJIT_KEPT_SAVEDS_COUNT(compiler->o… in sljit_emit_return_to() 661 src = src_r; in sljit_emit_return_to() 833 if (src != SLJIT_IMM && src != SLJIT_R0) { in tail_call_with_args() 887 if (word_arg_count >= 1 && src != SLJIT_IMM && src != SLJIT_R0) { in tail_call_with_args() 916 if (src != SLJIT_IMM && src != SLJIT_R0) { in tail_call_with_args() 1102 …if ((src & SLJIT_MEM) || (src > SLJIT_R2 && src <= (SLJIT_S0 - SLJIT_KEPT_SAVEDS_COUNT(compiler->o… in sljit_emit_icall() 1107 src = TMP_REG1; in sljit_emit_icall() 1121 src = SLJIT_R0; in sljit_emit_icall() 1144 src = TMP_REG1; in sljit_emit_icall() 1373 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_uw() [all …]
|
H A D | sljitNativeX86_64.c | 747 …if ((src & SLJIT_MEM) || (src >= SLJIT_FIRST_SAVED_REG && src <= (SLJIT_S0 - SLJIT_KEPT_SAVEDS_COU… in sljit_emit_return_to() 751 src = TMP_REG2; in sljit_emit_return_to() 788 if (src == SLJIT_R2) in call_with_args() 905 if (src & SLJIT_MEM) { in sljit_emit_icall() 908 src = TMP_REG2; in sljit_emit_icall() 914 src = TMP_REG2; in sljit_emit_icall() 958 if (FAST_IS_REG(src)) { in emit_fast_return() 1095 if (src == SLJIT_IMM) { in emit_mov_int() 1116 dst_r = src; in emit_mov_int() 1169 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_uw() [all …]
|
H A D | sljitNativeX86_common.c | 1375 dst_r = src; in emit_mov_byte() 1377 dst_r = src; in emit_mov_byte() 1381 if (FAST_IS_REG(src) && reg_map[src] >= 4) { in emit_mov_byte() 1466 dst_r = src; in emit_mov_half() 1708 if (FAST_IS_REG(src) && src == dst) { in sljit_emit_op1() 3080 dst_r = (src & SLJIT_MEM) ? TMP_FREG : src; 3680 src = freg; 4192 src = freg; 4221 src = freg; 4279 src = freg; [all …]
|