Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 135) sorted by relevance

123456

/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c200 if(target && source) { in simplestring_addn()
201 if(!target->str) { in simplestring_addn()
205 if((SIZE_MAX - add_len) < target->len || (SIZE_MAX - add_len - 1) < target->len) { in simplestring_addn()
210 if(target->len + add_len + 1 > target->size) { in simplestring_addn()
223 target->str = (char*)erealloc(target->str, newsize); in simplestring_addn()
225 target->size = target->str ? newsize : 0; in simplestring_addn()
228 if(target->str) { in simplestring_addn()
230 memcpy(target->str + target->len, source, add_len); in simplestring_addn()
232 target->len += add_len; in simplestring_addn()
233 target->str[target->len] = 0; /* null terminate */ in simplestring_addn()
[all …]
/PHP-7.3/ext/opcache/Optimizer/
H A Dpass3.c37 #define CHECK_JMP(target, label) \ argument
45 #define CHECK_JMP2(target, label) \ argument
193 if (target->opcode == ZEND_JMP) { in zend_optimizer_pass3()
209 if (target->opcode == ZEND_JMP) { in zend_optimizer_pass3()
273 SAME_VAR(target->op1, T)) { in zend_optimizer_pass3()
279 SAME_VAR(target->op1, T) && in zend_optimizer_pass3()
280 SAME_VAR(target->result, T)) { in zend_optimizer_pass3()
286 SAME_VAR(target->op1, T)) { in zend_optimizer_pass3()
295 new_target = ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3()
306 SAME_VAR(target->op1, T)) { in zend_optimizer_pass3()
[all …]
H A Dblock_pass.c1309 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1310 target++; in zend_jmp_optimization()
1384 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1385 target++; in zend_jmp_optimization()
1454 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1455 target++; in zend_jmp_optimization()
1464 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1473 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1482 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1588 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
[all …]
H A Dnop_removal.c50 zend_op *target = ZEND_OP1_JMP_ADDR(opline) - 1; in zend_optimizer_nop_removal() local
52 while (target->opcode == ZEND_NOP) { in zend_optimizer_nop_removal()
53 target--; in zend_optimizer_nop_removal()
55 if (target == opline) { in zend_optimizer_nop_removal()
/PHP-7.3/build/
H A Dmkdep.awk46 target=filenames[i]
47 sub(srcdir "/", "", target)
48 target2=target
49 sub("\.(c|cpp)$", ".lo", target);
63 printf(target " " target2 ":")
/PHP-7.3/ext/intl/
H A Dintl_convert.c51 UChar** target, int32_t* target_len, in intl_convert_utf8_to_utf16() argument
70 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status ); in intl_convert_utf8_to_utf16()
75 (*target)[dst_len] = 0; in intl_convert_utf8_to_utf16()
101 if( *target ) in intl_convert_utf8_to_utf16()
102 efree( *target ); in intl_convert_utf8_to_utf16()
104 *target = dst_buf; in intl_convert_utf8_to_utf16()
/PHP-7.3/ext/standard/
H A Dphp_mail.h30 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument
35 if (!strncasecmp(target, ZSTR_VAL(key), ZSTR_LEN(key))) { \
36 …, E_WARNING, "'%s' header must be at most one header. Array is passed for '%s'", target, target); \
H A Dstring.c3161 char *target; local
3216 target++;
3220 *target = 0;
3778 char *target; local
3871 *target = 0;
4533 *target = 0;
4534 target--;
4587 target--;
4602 target--;
4651 target++;
[all …]
/PHP-7.3/ext/standard/tests/file/
H A Dbug77552.phpt14 $target = $tmpDir.'/folder/target';
15 mkdir($target, 0777, true);
18 $cmd = sprintf('mklink /J "%s" "%s"', $junction, $target);
H A Dsymlink_link_linkinfo_is_link_variation2.phpt11 /* Prototype: bool symlink ( string $target, string $link );
12 Description: creates a symbolic link to the existing target with the specified name link
17 Prototype: bool link ( string $target, string $link );
H A Dsymlink_link_linkinfo_is_link_variation5.phpt11 /* Prototype: bool symlink ( string $target, string $link );
12 Description: creates a symbolic link to the existing target with the specified name link
17 Prototype: bool link ( string $target, string $link );
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_trace_mach.c16 static mach_port_name_t target; variable
36 kr = mach_vm_read(target, page, fpm_pagesize, &local_page, &local_size); in fpm_mach_vm_read_page()
59 kr = task_for_pid(mach_task_self(), pid, &target); in fpm_trace_ready()
76 target = 0; in fpm_trace_close()
/PHP-7.3/Zend/
H A Dzend_ts_hash.c255 ZEND_API void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyCon… in zend_ts_hash_copy() argument
258 begin_write(target); in zend_ts_hash_copy()
259 zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor); in zend_ts_hash_copy()
260 end_write(target); in zend_ts_hash_copy()
267 zend_hash_copy(target, TS_HASH(source), pCopyConstructor); in zend_ts_hash_copy_to_hash()
274 begin_write(target); in zend_ts_hash_merge()
275 zend_hash_merge(TS_HASH(target), TS_HASH(source), pCopyConstructor, overwrite); in zend_ts_hash_merge()
276 end_write(target); in zend_ts_hash_merge()
283 begin_write(target); in zend_ts_hash_merge_ex()
284 zend_hash_merge_ex(TS_HASH(target), TS_HASH(source), pCopyConstructor, pMergeSource, pParam); in zend_ts_hash_merge_ex()
[all …]
H A Dzend_hash.c1792 IS_CONSISTENT(target); in zend_hash_copy()
1793 HT_ASSERT_RC1(target); in zend_hash_copy()
1920 HashTable *target; in zend_array_dup() local
1935 target->nNumUsed = 0; in zend_array_dup()
1946 HT_SET_DATA_ADDR(target, emalloc(HT_SIZE(target))); in zend_array_dup()
1975 HT_SET_DATA_ADDR(target, emalloc(HT_SIZE(target))); in zend_array_dup()
1994 return target; in zend_array_dup()
2005 IS_CONSISTENT(target); in zend_hash_merge()
2006 HT_ASSERT_RC1(target); in zend_hash_merge()
2073 IS_CONSISTENT(target); in zend_hash_merge_ex()
[all …]
/PHP-7.3/ext/standard/tests/file/windows_links/
H A Dbug78862.phpt5 file_put_contents(__DIR__ . '/bug78862.target', 'foo');
6 var_dump(link(__DIR__ . "/bug78862.target\0more", __DIR__ . "/bug78862.link\0more"));
15 unlink(__DIR__ . '/bug78862.target');
/PHP-7.3/tests/security/
H A Dopen_basedir_symlink.phpt17 $target = ($initdir."/test/ok/ok.txt");
18 var_dump(symlink($target, "../bad/symlink.txt"));
19 var_dump(symlink($target, "../symlink.txt"));
20 var_dump(symlink($target, "../bad/./symlink.txt"));
21 var_dump(symlink($target, "./.././symlink.txt"));
30 $target = ($initdir."/test/ok/ok.txt");
32 var_dump(symlink($target, $symlink));
37 var_dump(symlink("../ok.txt", $symlink)); // $target == (dirname($symlink)."/".$target) == ($initdi…
H A Dopen_basedir_link.phpt17 $target = ($initdir."/test/ok/ok.txt");
18 var_dump(link($target, "../bad/link.txt"));
19 var_dump(link($target, "../link.txt"));
20 var_dump(link($target, "../bad/./link.txt"));
21 var_dump(link($target, "./.././link.txt"));
30 $target = ($initdir."/test/ok/ok.txt");
32 var_dump(link($target, $link));
H A Dopen_basedir_linkinfo.phpt22 $target = ($initdir."/test/bad/bad.txt");
24 var_dump(symlink($target, $symlink));
34 $target = ($initdir."/test/ok/ok.txt");
36 var_dump(symlink($target, $symlink));
H A Dopen_basedir_readlink.phpt19 $target = ($initdir."/test/bad/bad.txt");
21 var_dump(symlink($target, $symlink));
31 $target = ($initdir."/test/ok/ok.txt");
33 var_dump(symlink($target, $symlink));
/PHP-7.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c471 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in zend_accel_function_hash_copy()
477 t = zend_hash_find_ex(target, p->key, 1); in zend_accel_function_hash_copy()
489 target->nInternalPointer = 0; in zend_accel_function_hash_copy()
515 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in zend_accel_function_hash_copy_from_shm()
521 t = zend_hash_find_ex(target, p->key, 1); in zend_accel_function_hash_copy_from_shm()
533 target->nInternalPointer = 0; in zend_accel_function_hash_copy_from_shm()
558 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in zend_accel_class_hash_copy()
564 t = zend_hash_find_ex(target, p->key, 1); in zend_accel_class_hash_copy()
586 target->nInternalPointer = 0; in zend_accel_class_hash_copy()
595 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in zend_accel_class_hash_copy_from_shm()
[all …]
/PHP-7.3/sapi/fpm/
H A Dphp-fpm.service.in7 After=network.target
17 WantedBy=multi-user.target
/PHP-7.3/ext/phar/tests/bug77586/files/
H A Dlink-nktarAMLdJBv7BGYnpzg-ZDycSpWN3Ne3kacltOSE-EqfhStJ1EoBpGuoua6VE-dne29hvpNWXiVbepwIf8-NRHWM9LITLo3nXZnKVNC1 target
/PHP-7.3/ext/intl/resourcebundle/
H A Dresourcebundle.h26 void resourcebundle_extract_value( zval *target, ResourceBundle_object *source);
/PHP-7.3/ext/xml/tests/
H A Dxml_set_processing_instruction_handler_basic.phpt20 function PIHandler($parser, $target, $data)
22 echo "Target: " . $target. "\n";
/PHP-7.3/win32/
H A Dcodepage.c215 char* target; in php_win32_cp_from_w_int() local
231 target = malloc(target_len); in php_win32_cp_from_w_int()
232 if (target == NULL) { in php_win32_cp_from_w_int()
237 r = WideCharToMultiByte(cp, flags, in, tmp_len, target, target_len, NULL, NULL); in php_win32_cp_from_w_int()
239 free(target); in php_win32_cp_from_w_int()
244 assert(target ? r == target_len : 1); in php_win32_cp_from_w_int()
245 assert(target && !in_len ? strlen(target) == target_len - 1 : 1); in php_win32_cp_from_w_int()
247 target[target_len-1] = '\0'; in php_win32_cp_from_w_int()
253 return target; in php_win32_cp_from_w_int()

Completed in 66 milliseconds

123456