/php-src/ext/standard/ |
H A D | formatted_print.c | 114 if (alignment == ALIGN_RIGHT) { in php_sprintf_appendstring() 128 if (alignment == ALIGN_LEFT) { in php_sprintf_appendstring() 217 size_t alignment, int precision, in php_sprintf_appenddouble() argument 458 alignment = ALIGN_RIGHT; in php_formatted_print() 484 alignment = ALIGN_LEFT; in php_formatted_print() 625 alignment, in php_formatted_print() 635 width, padding, alignment, in php_formatted_print() 642 width, padding, alignment); in php_formatted_print() 655 width, padding, alignment, in php_formatted_print() 669 width, padding, alignment, 3, in php_formatted_print() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_sigsafe.c | 9 static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t alignment) { in ZEND_EXTERN_MODULE_GLOBALS() 13 return (void *) (((size_t) PHPDBG_G(sigsafe_mem).mem & ~(alignment - 1)) + alignment); in ZEND_EXTERN_MODULE_GLOBALS()
|
/php-src/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 12 …alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-p…
|
/php-src/ext/hash/sha3/generic32lc/ |
H A D | KeccakSponge.h | 133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument 134 ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
|
/php-src/ext/hash/sha3/generic64lc/ |
H A D | KeccakSponge.h | 133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument 134 ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
|
/php-src/Zend/asm/ |
H A D | jump_ppc32_sysv_xcoff_gas.S | 102 # Save registers F14 to F31 in slots with 8-byte alignment. 103 # 4-byte alignment may stall the pipeline of some processors. 104 # Less than 4 may cause alignment traps.
|
H A D | make_x86_64_ms_pe_masm.asm | 47 ; | fc_mxcsr|fc_x87_cw| <alignment> | fbr_strg | fc_dealloc |
|
H A D | make_mips32_o32_elf_gas.S | 63 # - 4 bytes for alignment
|
H A D | jump_x86_64_ms_pe_masm.asm | 47 ; | fc_mxcsr|fc_x87_cw| <alignment> | fbr_strg | fc_dealloc |
|
/php-src/Zend/ |
H A D | zend_portability.h | 723 # define ZEND_SET_ALIGNED(alignment, decl) __declspec(align(alignment)) decl argument 725 # define ZEND_SET_ALIGNED(alignment, decl) decl __attribute__ ((__aligned__ (alignment))) argument 727 # define ZEND_SET_ALIGNED(alignment, decl) decl argument 730 #define ZEND_SLIDE_TO_ALIGNED(alignment, ptr) (((uintptr_t)(ptr) + ((alignment)-1)) & ~((alignment)… argument
|
H A D | zend_alloc.c | 180 (((size_t)(size)) & ((alignment) - 1)) 181 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument 182 (((size_t)(size)) & ~((alignment) - 1)) 183 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument 184 (((size_t)(size) + ((alignment) - 1)) / (alignment)) 770 offset = alignment - offset; 788 offset = alignment - offset; 791 alignment -= offset; 793 if (alignment > REAL_PAGE_SIZE) { 812 ZEND_ASSERT(((uintptr_t)((char*)ptr + (alignment-1)) & (alignment-1)) == (uintptr_t)ptr); [all …]
|
H A D | Zend.m4 | 356 dnl Test and set the alignment defines for the Zend memory manager (ZEND_MM). 360 [AC_CACHE_CHECK([for Zend memory manager alignment and log values], 401 [AC_MSG_FAILURE([ZEND_MM alignment defines failed.])], 407 [Number of bytes for the ZEND_MM alignment.]) 410 [Number of bytes for the logarithmic ZEND_MM alignment.])
|
H A D | zend_alloc.h | 37 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ argument 38 (((size) + ((alignment) - 1)) & ~((alignment) - 1)) 299 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
|
/php-src/ext/exif/tests/ |
H A D | bug79282.phpt | 12 Warning: exif_read_data(): Missing TIFF alignment marker in %s on line %d
|
/php-src/ext/hash/ |
H A D | hash.c | 134 static inline size_t align_to(size_t pos, size_t alignment) { in align_to() argument 135 size_t offset = pos & (alignment - 1); in align_to() 136 return pos + (offset ? alignment - offset : 0); in align_to() 141 size_t count, alignment; in parse_serialize_spec() local 146 alignment = __alignof__(uint16_t); /* usually 2 */ in parse_serialize_spec() 149 alignment = __alignof__(uint32_t); /* usually 4 */ in parse_serialize_spec() 152 alignment = __alignof__(uint64_t); /* usually 8 */ in parse_serialize_spec() 155 alignment = __alignof__(int); /* usually 4 */ in parse_serialize_spec() 159 alignment = 1; in parse_serialize_spec() 162 *pos = align_to(*pos, alignment); in parse_serialize_spec() [all …]
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_private.h | 36 # define IR_SET_ALIGNED(alignment, decl) decl __attribute__ ((__aligned__ (alignment))) argument 42 # define IR_SET_ALIGNED(alignment, decl) __declspec(align(alignment)) decl argument 51 # define IR_SET_ALIGNED(alignment, decl) decl argument 59 #define IR_ALIGNED_SIZE(size, alignment) \ argument 60 (((size) + ((alignment) - 1)) & ~((alignment) - 1))
|
H A D | ir_aarch64.dasc | 4063 int32_t alignment = 16; 4074 | add Rx(def_reg), Rx(op2_reg), #(alignment-1) 4075 | and Rx(def_reg), Rx(def_reg), #(~(alignment-1)) 4108 // int32_t alignment = 16; 4119 // TODO: alignment
|
/php-src/ext/ffi/tests/ |
H A D | 022.phpt | 2 FFI 022: structure/union alignment
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | type_checking_weak.phpt | 17 $alignment = 16; 22 echo str_pad(dump($value), $alignment), ' => ';
|
H A D | type_checking_strict.phpt | 19 $alignment = 16; 24 echo str_pad(dump($value), $alignment), ' => ';
|
/php-src/ext/dom/lexbor/lexbor/css/ |
H A D | property.h | 322 lxb_css_property_alignment_baseline_t alignment; member
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeX86_common.c | 3625 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); local 3651 alignment = reg_size; 3655 op |= alignment >= reg_size ? MOVAPS_x_xm : MOVUPS_x_xm; 3666 | (alignment >= reg_size ? EX86_PREF_66 : EX86_PREF_F3);
|
H A D | sljitNativeARM_T2_32.c | 3590 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov() local 3633 SLJIT_ASSERT(reg_size >= alignment); in sljit_emit_simd_mov() 3635 if (alignment == 3) in sljit_emit_simd_mov() 3637 else if (alignment >= 4) in sljit_emit_simd_mov()
|
H A D | sljitNativeARM_32.c | 3915 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov() local 3958 SLJIT_ASSERT(reg_size >= alignment); in sljit_emit_simd_mov() 3960 if (alignment == 3) in sljit_emit_simd_mov() 3962 else if (alignment >= 3) in sljit_emit_simd_mov()
|
H A D | sljitNativeS390X.c | 3942 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov() local 3972 if (alignment >= 4) in sljit_emit_simd_mov() 3974 else if (alignment == 3) in sljit_emit_simd_mov()
|