Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 79) sorted by last modified time

1234

/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_str.h8 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument
12 d = dst; in str_purify_filename()
13 end = dst + size - 1; in str_purify_filename()
/PHP-5.5/main/
H A Dstrlcat.c67 PHPAPI size_t php_strlcat(dst, src, siz) in php_strlcat() argument
68 char *dst; in php_strlcat()
72 register char *d = dst;
80 dlen = d - dst;
H A Dstrlcpy.c66 PHPAPI size_t php_strlcpy(dst, src, siz) in php_strlcpy() argument
67 char *dst; in php_strlcpy()
71 register char *d = dst;
H A Dsnprintf.c158 dst = buf; in php_gcvt()
160 *dst++ = '-'; in php_gcvt()
172 *dst++ = *src++; in php_gcvt()
175 *dst++ = '0'; in php_gcvt()
183 *dst++ = '-'; in php_gcvt()
185 *dst++ = '+'; in php_gcvt()
189 *dst = '\0'; in php_gcvt()
205 *dst++ = '0'; in php_gcvt()
209 *dst++ = *src++; in php_gcvt()
211 *dst = '\0'; in php_gcvt()
[all …]
H A Dmergesort.c74 #define ICOPY_LIST(src, dst, last) \ argument
76 *(int*)dst = *(int*)src, src += ISIZE, dst += ISIZE; \
78 #define ICOPY_ELT(src, dst, i) \ argument
80 *(int*) dst = *(int*) src, src += ISIZE, dst += ISIZE; \
83 #define CCOPY_LIST(src, dst, last) \ argument
85 *dst++ = *src++; \
87 #define CCOPY_ELT(src, dst, i) \ argument
89 *dst++ = *src++; \
H A Dphp.h110 #define PHP_STRLCPY(dst, src, size, src_size) \ argument
118 memcpy(dst, src, php_str_len); \
119 dst[php_str_len] = '\0'; \
124 PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz);
132 PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz);
/PHP-5.5/ext/zip/lib/
H A Dzip_error.c52 _zip_error_copy(struct zip_error *dst, struct zip_error *src) in _zip_error_copy() argument
54 dst->zip_err = src->zip_err; in _zip_error_copy()
55 dst->sys_err = src->sys_err; in _zip_error_copy()
/PHP-5.5/ext/standard/
H A Duuencode.c195 char *src, *dst; in PHP_FUNCTION() local
202 dst_len = php_uuencode(src, src_len, &dst); in PHP_FUNCTION()
204 RETURN_STRINGL(dst, dst_len, 0); in PHP_FUNCTION()
212 char *src, *dst; in PHP_FUNCTION() local
219 dst_len = php_uudecode(src, src_len, &dst); in PHP_FUNCTION()
225 RETURN_STRINGL(dst, dst_len, 0); in PHP_FUNCTION()
H A Dcrypt_blowfish.c377 #define BF_safe_atoi64(dst, src) \ argument
384 (dst) = tmp; \
387 static int BF_decode(BF_word *dst, const char *src, int size) in BF_decode() argument
389 unsigned char *dptr = (unsigned char *)dst; in BF_decode()
414 static void BF_encode(char *dst, const BF_word *src, int size) in BF_encode() argument
418 unsigned char *dptr = (unsigned char *)dst; in BF_encode()
H A Dcrypt_sha256.c47 char * __php_stpncpy(char *dst, const char *src, size_t len) in __php_stpncpy() argument
53 return strncpy(dst, src, len) + n; in __php_stpncpy()
56 void * __php_mempcpy(void * dst, const void * src, size_t len) in __php_mempcpy() argument
58 return (((char *)memcpy(dst, src, len)) + len); in __php_mempcpy()
H A Dcrypt_sha512.c46 extern void * __php_mempcpy(void * dst, const void * src, size_t len);
47 extern char * __php_stpncpy(char *dst, const char *src, size_t len);
/PHP-5.5/ext/standard/tests/file/windows_acls/
H A Dcommon.inc138 $dst = realpath($name);
/PHP-5.5/ext/standard/tests/file/
H A Dbug65701.phpt12 $dst = tempnam($file_path, 'dstbug65701_file.txt');
16 copy($src, $dst);
17 var_dump(filesize($dst));
/PHP-5.5/ext/spl/
H A Dspl_directory.h46 typedef void (*spl_foreign_clone_t)(spl_filesystem_object *src, spl_filesystem_object *dst TSRMLS_D…
/PHP-5.5/ext/phar/
H A Dphar_object.c1114 static void phar_spl_foreign_clone(spl_filesystem_object *src, spl_filesystem_object *dst TSRMLS_DC… in phar_spl_foreign_clone()
1116 phar_archive_data *phar_data = (phar_archive_data *) dst->oth; in phar_spl_foreign_clone()
/PHP-5.5/ext/pdo/
H A Dpdo.c323 char *dst = outbuf; in php_pdo_int64_to_str() local
327 *dst++ = '-'; in php_pdo_int64_to_str()
331 *dst++ = '0'; in php_pdo_int64_to_str()
332 *dst++ = '\0'; in php_pdo_int64_to_str()
351 while ((*dst++ = *p++) != 0) in php_pdo_int64_to_str()
353 *dst = '\0'; in php_pdo_int64_to_str()
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeMIPS_64.c179 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
193 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
204 return push_inst(compiler, DSRL32 | T(dst) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
224 FAIL_IF(push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(src2) | T(dst) | D(dst), DR(dst))); in emit_single_op()
237 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(dst) | T(dst) | IMM(1), DR(dst))); in emit_single_op()
398 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
442 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 32), DR(dst))); in emit_const()
443 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const()
444 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 16), DR(dst))); in emit_const()
445 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const()
[all …]
H A DsljitNativeMIPS_common.c923 dst_r = dst; in emit_op()
1314 if (FAST_IS_REG(dst)) in sljit_emit_fop1_convw_fromd()
1335 sljit_si dst_r = FAST_IS_REG(dst) ? (dst << 1) : TMP_FREG1; in sljit_emit_fop1_convd_fromw()
1354 if (dst & SLJIT_MEM) in sljit_emit_fop1_convd_fromw()
1418 dst_r = FAST_IS_REG(dst) ? (dst << 1) : TMP_FREG1; in sljit_emit_fop1()
1448 if (dst & SLJIT_MEM) in sljit_emit_fop1()
1469 dst_r = FAST_IS_REG(dst) ? (dst << 1) : TMP_FREG2; in sljit_emit_fop2()
2029 sugg_dst_ar = DR((op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2); in sljit_emit_op_flags()
2106 if (dst & SLJIT_MEM) in sljit_emit_op_flags()
2131 reg = SLOW_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
[all …]
H A DsljitNativePPC_32.c41 #define INS_CLEAR_LEFT(dst, src, from) \ argument
42 (RLWINM | S(src) | A(dst) | ((from) << 6) | (31 << 1))
45 sljit_si dst, sljit_si src1, sljit_si src2) in emit_single_op() argument
53 if (dst != src2) in emit_single_op()
62 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
66 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
68 SLJIT_ASSERT(dst == src2); in emit_single_op()
81 SLJIT_ASSERT(dst == src2); in emit_single_op()
115 …return push_inst(compiler, ADDIS | D(dst) | A(dst) | (((compiler->imm >> 16) & 0xffff) + ((compile… in emit_single_op()
194 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[all …]
H A DsljitNativePPC_64.c30 #define ASM_SLJIT_CLZ(src, dst) \ argument
38 #define RLDI(dst, src, sh, mb, type) \ argument
120 #define INS_CLEAR_LEFT(dst, src, from) \ argument
149 sljit_si dst, sljit_si src1, sljit_si src2) in emit_single_op() argument
155 if (dst != src2) in emit_single_op()
168 SLJIT_ASSERT(dst == src2); in emit_single_op()
183 SLJIT_ASSERT(dst == src2); in emit_single_op()
196 SLJIT_ASSERT(dst == src2); in emit_single_op()
235 …return push_inst(compiler, ADDIS | D(dst) | A(dst) | (((compiler->imm >> 16) & 0xffff) + ((compile… in emit_single_op()
321 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[all …]
H A DsljitNativePPC_common.c1144 dst_r = dst; in emit_op()
1768 dst = 0; in sljit_emit_fop1_convw_fromd()
1786 sljit_si dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_convd_fromw()
1811 if (dst & SLJIT_MEM) in sljit_emit_fop1_convd_fromw()
1819 sljit_si dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_convd_fromw()
1849 if (dst & SLJIT_MEM) in sljit_emit_fop1_convd_fromw()
1891 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1943 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
2212 FAIL_IF(push_inst(compiler, XORI | S(dst) | A(dst) | 0x1));
2231 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
[all …]
H A DsljitNativeSPARC_32.c30 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); in load_immediate()
33 …return (imm & 0x3ff) ? push_inst(compiler, OR | D(dst) | S1(dst) | IMM_ARG | (imm & 0x3ff), DR(dst in load_immediate()
49 if (dst != src2) in emit_single_op()
50 return push_inst(compiler, OR | D(dst) | S1(0) | S2(src2), DR(dst)); in emit_single_op()
59 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); in emit_single_op()
60 return push_inst(compiler, SRA | D(dst) | S1(dst) | IMM(24), DR(dst)); in emit_single_op()
62 else if (dst != src2) in emit_single_op()
70 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(16), DR(dst))); in emit_single_op()
71 …return push_inst(compiler, (op == SLJIT_MOV_SH ? SRA : SRL) | D(dst) | S1(dst) | IMM(16), DR(dst)); in emit_single_op()
88 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); in emit_single_op()
[all …]
H A DsljitNativeSPARC_common.c656 dst_r = dst; in emit_op()
985 sljit_si dst_r = FAST_IS_REG(dst) ? (dst << 1) : TMP_FREG1; in sljit_emit_fop1_convd_fromw()
1006 if (dst & SLJIT_MEM) in sljit_emit_fop1_convd_fromw()
1048 dst_r = FAST_IS_REG(dst) ? (dst << 1) : TMP_FREG1; in sljit_emit_fop1()
1085 if (dst & SLJIT_MEM) in sljit_emit_fop1()
1106 dst_r = FAST_IS_REG(dst) ? (dst << 1) : TMP_FREG2; in sljit_emit_fop2()
1189 if (FAST_IS_REG(dst)) in sljit_emit_fast_enter()
1190 return push_inst(compiler, OR | D(dst) | S1(0) | S2(TMP_LINK), DR(dst)); in sljit_emit_fast_enter()
1386 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
1428 reg = SLOW_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
[all …]
H A DsljitNativeTILEGX_64.c412 #define CLZ(dst, src) \ argument
454 #define LD(dst, addr) \ argument
1593 if (dst != src2) in emit_single_op()
1695 if (src1 != dst) in emit_single_op()
1755 FAIL_IF(ADD(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op()
1780 if (src1 != dst) in emit_single_op()
1807 if (src1 != dst) in emit_single_op()
1869 FAIL_IF(SUB(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op()
1981 dst_r = dst; in emit_op()
2162 if (dst & SLJIT_MEM) in sljit_emit_op_flags()
[all …]
H A DsljitNativeX86_32.c479 …RIBUTE sljit_si sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw) in sljit_emit_fast_enter() argument
484 CHECK(check_sljit_emit_fast_enter(compiler, dst, dstw)); in sljit_emit_fast_enter()
485 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_fast_enter()
487 CHECK_EXTRA_REGS(dst, dstw, (void)0); in sljit_emit_fast_enter()
490 if (dst == SLJIT_UNUSED) in sljit_emit_fast_enter()
491 dst = TMP_REG1; in sljit_emit_fast_enter()
493 if (FAST_IS_REG(dst)) { in sljit_emit_fast_enter()
499 POP_REG(reg_map[dst]); in sljit_emit_fast_enter()
504 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw); in sljit_emit_fast_enter()

Completed in 96 milliseconds

1234