Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 29) sorted by relevance

12

/php-src/ext/standard/
H A Dformatted_print.c114 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 Dphpdbg_sigsafe.c9 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 Dbug48791.phpt12alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-p…
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakSponge.h133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument
134 ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakSponge.h133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument
134 ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
/php-src/Zend/asm/
H A Djump_ppc32_sysv_xcoff_gas.S102 # 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 Dmake_x86_64_ms_pe_masm.asm47 ; | fc_mxcsr|fc_x87_cw| <alignment> | fbr_strg | fc_dealloc |
H A Dmake_mips32_o32_elf_gas.S63 # - 4 bytes for alignment
H A Djump_x86_64_ms_pe_masm.asm47 ; | fc_mxcsr|fc_x87_cw| <alignment> | fbr_strg | fc_dealloc |
/php-src/Zend/
H A Dzend_portability.h723 # 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 Dzend_alloc.c180 (((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 DZend.m4356 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 Dzend_alloc.h37 #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 Dbug79282.phpt12 Warning: exif_read_data(): Missing TIFF alignment marker in %s on line %d
/php-src/ext/hash/
H A Dhash.c134 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 Dir_private.h36 # 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 Dir_aarch64.dasc4063 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 D022.phpt2 FFI 022: structure/union alignment
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_weak.phpt17 $alignment = 16;
22 echo str_pad(dump($value), $alignment), ' => ';
H A Dtype_checking_strict.phpt19 $alignment = 16;
24 echo str_pad(dump($value), $alignment), ' => ';
/php-src/ext/dom/lexbor/lexbor/css/
H A Dproperty.h322 lxb_css_property_alignment_baseline_t alignment; member
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_common.c3625 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 DsljitNativeARM_T2_32.c3590 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 DsljitNativeARM_32.c3915 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 DsljitNativeS390X.c3942 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()

Completed in 110 milliseconds

12