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.c117 if (alignment == ALIGN_RIGHT) { in php_sprintf_appendstring()
131 if (alignment == ALIGN_LEFT) { in php_sprintf_appendstring()
220 size_t alignment, int precision, in php_sprintf_appenddouble() argument
461 alignment = ALIGN_RIGHT; in php_formatted_print()
487 alignment = ALIGN_LEFT; in php_formatted_print()
628 alignment, in php_formatted_print()
638 width, padding, alignment, in php_formatted_print()
645 width, padding, alignment); in php_formatted_print()
658 width, padding, alignment, in php_formatted_print()
672 width, padding, alignment, 3, in php_formatted_print()
[all …]
/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/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/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.h711 # define ZEND_SET_ALIGNED(alignment, decl) __declspec(align(alignment)) decl argument
713 # define ZEND_SET_ALIGNED(alignment, decl) decl __attribute__ ((__aligned__ (alignment))) argument
715 # define ZEND_SET_ALIGNED(alignment, decl) decl argument
718 #define ZEND_SLIDE_TO_ALIGNED(alignment, ptr) (((uintptr_t)(ptr) + ((alignment)-1)) & ~((alignment)… argument
H A Dzend_alloc.c157 (((size_t)(size)) & ((alignment) - 1))
158 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument
159 (((size_t)(size)) & ~((alignment) - 1))
160 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument
161 (((size_t)(size) + ((alignment) - 1)) / (alignment))
736 offset = alignment - offset;
754 offset = alignment - offset;
757 alignment -= offset;
759 if (alignment > REAL_PAGE_SIZE) {
778 ZEND_ASSERT(((uintptr_t)((char*)ptr + (alignment-1)) & (alignment-1)) == (uintptr_t)ptr);
[all …]
H A Dzend_alloc.h36 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ argument
37 (((size) + ((alignment) - 1)) & ~((alignment) - 1))
286 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
H A DZend.m4228 dnl Test and set the alignment define for ZEND_MM. This also does the
230 AC_MSG_CHECKING(for MM alignment and log values)
/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.c135 static inline size_t align_to(size_t pos, size_t alignment) { in align_to() argument
136 size_t offset = pos & (alignment - 1); in align_to()
137 return pos + (offset ? alignment - offset : 0); in align_to()
142 size_t count, alignment; in parse_serialize_spec() local
147 alignment = __alignof__(uint16_t); /* usually 2 */ in parse_serialize_spec()
150 alignment = __alignof__(uint32_t); /* usually 4 */ in parse_serialize_spec()
153 alignment = __alignof__(uint64_t); /* usually 8 */ in parse_serialize_spec()
156 alignment = __alignof__(int); /* usually 4 */ in parse_serialize_spec()
160 alignment = 1; in parse_serialize_spec()
163 *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.dasc3995 int32_t alignment = (ctx->flags2 & IR_HAS_CALLS) ? 16 : 8;
4006 | add Rx(def_reg), Rx(op2_reg), #(alignment-1)
4007 | and Rx(def_reg), Rx(def_reg), #(~(alignment-1))
4044 // int32_t alignment = (ctx->flags2 & IR_HAS_CALLS) ? 16 : 8;
4055 // TODO: 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/ffi/tests/
H A D022.phpt2 FFI 022: structure/union alignment
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_T2_32.c3434 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov() local
3477 SLJIT_ASSERT(reg_size >= alignment); in sljit_emit_simd_mov()
3479 if (alignment == 3) in sljit_emit_simd_mov()
3481 else if (alignment >= 4) in sljit_emit_simd_mov()
H A DsljitNativeX86_common.c3537 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); local
3563 alignment = reg_size;
3567 op |= alignment >= reg_size ? MOVAPS_x_xm : MOVUPS_x_xm;
3578 | (alignment >= reg_size ? EX86_PREF_66 : EX86_PREF_F3);
H A DsljitNativeARM_32.c3784 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov() local
3827 SLJIT_ASSERT(reg_size >= alignment); in sljit_emit_simd_mov()
3829 if (alignment == 3) in sljit_emit_simd_mov()
3831 else if (alignment >= 3) in sljit_emit_simd_mov()
H A DsljitNativeS390X.c3957 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov() local
3987 if (alignment >= 4) in sljit_emit_simd_mov()
3989 else if (alignment == 3) in sljit_emit_simd_mov()
/php-src/ext/dom/lexbor/lexbor/css/
H A Dproperty.h322 lxb_css_property_alignment_baseline_t alignment; member

Completed in 226 milliseconds

12