/PHP-5.5/ |
H A D | NEWS | 1132 . Fixed bug #67245 (usage of memcpy() with overlapping src and dst in 8176 - Optimized zend_try/zend_catch macros by eliminating memcpy(3). (Dmitry)
|
/PHP-5.5/TSRM/ |
H A D | tsrm_virtual_cwd.c | 274 memcpy(tmp, target + offset, dwRet); in php_sys_readlink() 275 memcpy(target, tmp, dwRet); in php_sys_readlink() 550 memcpy(buf, cwd, length+1); in virtual_getcwd() 864 memcpy(tmp, path, len+1); in tsrm_realpath_r() 1021 memcpy(path, tmp, i-1); in tsrm_realpath_r() 1047 memcpy(tmp, path, len+1); in tsrm_realpath_r() 1059 memcpy(tmp, path, len+1); in tsrm_realpath_r() 1080 memcpy(path, tmp, i-1); in tsrm_realpath_r() 1124 memcpy(path+j, tmp+i, len-i+1); in tsrm_realpath_r() 1133 memcpy(path+j, tmp+i, len-i+1); in tsrm_realpath_r() [all …]
|
H A D | tsrm_win32.c | 118 memcpy(bucket_key, pathname, strlen(pathname)); in tsrm_win32_get_path_sid_key() 132 memcpy(bucket_key, ptcSid, strlen(ptcSid)); in tsrm_win32_get_path_sid_key() 133 memcpy(bucket_key + strlen(ptcSid), pathname, strlen(pathname) + 1); in tsrm_win32_get_path_sid_key() 695 memcpy(buf, shm->descriptor, sizeof(struct shmid_ds)); in shmctl()
|
/PHP-5.5/Zend/ |
H A D | Zend.m4 | 100 AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass sigsetjmp)
|
H A D | zend.c | 1002 memcpy(&stack, &CG(stack), sizeof(zend_stack)); \ 1013 memcpy(&CG(stack), &stack, sizeof(zend_stack)); \ 1146 # define va_copy(dest, src) memcpy(&(dest), &(src), sizeof(va_list)) in zend_error()
|
H A D | zend_API.c | 3049 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex() 3051 memcpy(ptr, "::", sizeof("::") - 1); in zend_is_callable_ex() 3053 memcpy(ptr, Z_STRVAL_P(callable), Z_STRLEN_P(callable) + 1); in zend_is_callable_ex() 3099 memcpy(ptr, Z_STRVAL_PP(obj), Z_STRLEN_PP(obj)); in zend_is_callable_ex() 3101 memcpy(ptr, "::", sizeof("::") - 1); in zend_is_callable_ex() 3103 memcpy(ptr, Z_STRVAL_PP(method), Z_STRLEN_PP(method) + 1); in zend_is_callable_ex() 3129 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex() 3131 memcpy(ptr, "::", sizeof("::") - 1); in zend_is_callable_ex() 3133 memcpy(ptr, Z_STRVAL_PP(method), Z_STRLEN_PP(method) + 1); in zend_is_callable_ex() 3182 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex() [all …]
|
H A D | zend_alloc.c | 167 memcpy(ret, segment, size > segment->size ? segment->size : size); in zend_mm_mem_mmap_realloc() 622 memcpy(p, &_mem_block_end_magic, END_MAGIC_SIZE); \ 2195 memcpy(ptr, p, mm_block->debug.size); in _zend_mm_realloc_int() 2197 memcpy(ptr, p, orig_size - ZEND_MM_ALIGNED_HEADER_SIZE); in _zend_mm_realloc_int() 2361 memcpy(ptr, p, mm_block->debug.size); in _zend_mm_realloc_int() 2363 memcpy(ptr, p, orig_size - ZEND_MM_ALIGNED_HEADER_SIZE); in _zend_mm_realloc_int() 2636 memcpy(p, s, length+1); in _estrdup() 2655 memcpy(p, s, length); in _estrndup() 2677 memcpy(p, s, length); in zend_strndup()
|
H A D | zend_builtin_functions.c | 1466 memcpy(nowhere, "something", sizeof("something")); in ZEND_FUNCTION() 1805 memcpy(eval_code, "function " LAMBDA_TEMP_FUNCNAME "(", eval_code_length); in ZEND_FUNCTION() 1807 memcpy(eval_code + eval_code_length, function_args, function_args_len); in ZEND_FUNCTION() 1813 memcpy(eval_code + eval_code_length, function_code, function_code_len); in ZEND_FUNCTION()
|
H A D | zend_closures.c | 426 memcpy(&closure_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); in zend_register_closure_ce()
|
H A D | zend_compile.c | 1342 memcpy(opline, opline_ptr, sizeof(zend_op)); in zend_do_end_variable_parse() 1348 memcpy(opline, opline_ptr, sizeof(zend_op)); in zend_do_end_variable_parse() 3286 memcpy(offset, class_name, class_name_len); in zend_get_function_declaration() 3294 memcpy(offset, type_name, type_name_len); in zend_get_function_declaration() 3310 memcpy(offset, "param", 5); in zend_get_function_declaration() 3351 memcpy(offset, "true", 4); in zend_get_function_declaration() 3354 memcpy(offset, "false", 5); in zend_get_function_declaration() 3358 memcpy(offset, "NULL", 4); in zend_get_function_declaration() 3372 memcpy(offset, "Array", 5); in zend_get_function_declaration() 3386 memcpy(offset, "NULL", 4); in zend_get_function_declaration() [all …]
|
H A D | zend_constants.c | 246 memcpy(const_name, "\0__CLASS__", sizeof("\0__CLASS__")-1); in zend_get_special_constant() 408 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
|
H A D | zend_exceptions.c | 373 memcpy((*str) + *len, val, l); \ 793 memcpy(&default_exception_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); in zend_register_default_exception()
|
H A D | zend_execute.c | 769 memcpy(tmp, Z_STRVAL_P(T->str_offset.str), Z_STRLEN_P(T->str_offset.str)+1); in zend_assign_to_string_offset() 782 memcpy(tmp, Z_STRVAL_P(T->str_offset.str), Z_STRLEN_P(T->str_offset.str) + 1); in zend_assign_to_string_offset()
|
H A D | zend_execute_API.c | 1150 memcpy(Z_STRVAL(pv), "return ", sizeof("return ") - 1); in zend_eval_stringl() 1151 memcpy(Z_STRVAL(pv) + sizeof("return ") - 1, str, str_len); in zend_eval_stringl()
|
H A D | zend_generators.c | 748 memcpy(&zend_generator_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); in zend_register_generator_ce()
|
H A D | zend_hash.c | 112 memcpy(&(p)->pDataPtr, pData, sizeof(void *)); \ 122 memcpy((p)->pData, pData, nDataSize); \ 127 memcpy(&(p)->pDataPtr, pData, sizeof(void *)); \ 135 memcpy((p)->pData, pData, nDataSize); \ 258 memcpy((char*)p->arKey, arKey, nKeyLength); in _zend_hash_add_or_update() 335 memcpy((char*)p->arKey, arKey, nKeyLength); in _zend_hash_quick_add_or_update() 1428 memcpy((char*)p->arKey, str_index, str_length); in zend_hash_update_current_key_ex()
|
H A D | zend_ini_parser.y | 90 memcpy(Z_STRVAL_P(result), str_result, Z_STRLEN_P(result)); in zend_ini_do_op() 114 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in zend_ini_add_string()
|
H A D | zend_language_parser.y | 875 …har *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVA… 881 …har *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVA… 950 …har *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVA… 969 …har *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVA…
|
H A D | zend_language_scanner.c | 663 memcpy(tmp, str->value.str.val, str->value.str.len + ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
|
H A D | zend_language_scanner.l | 661 memcpy(tmp, str->value.str.val, str->value.str.len + ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
|
H A D | zend_llist.c | 49 memcpy(tmp->data, element, l->size); in zend_llist_add_element() 67 memcpy(tmp->data, element, l->size); in zend_llist_prepend_element()
|
H A D | zend_operators.c | 1263 memcpy(buf, Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in add_char_to_string() 1285 memcpy(buf, Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in add_string_to_string() 1289 memcpy(buf + Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in add_string_to_string() 1331 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(result), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in concat_function() 1343 memcpy(buf, Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in concat_function() 1344 memcpy(buf + Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in concat_function() 1796 memcpy(s, Z_STRVAL_P(str), Z_STRLEN_P(str) + 1); in increment_string() 1841 memcpy(t+1, Z_STRVAL_P(str), Z_STRLEN_P(str)); in increment_string()
|
H A D | zend_signal.c | 284 memcpy(&SIGG(handlers), &global_orig_handlers, sizeof(global_orig_handlers)); in zend_signal_activate()
|
H A D | zend_stack.c | 43 memcpy(stack->elements[stack->top], element, size); in zend_stack_push()
|
H A D | zend_string.c | 122 memcpy((char*)p->arKey, arKey, nKeyLength); in zend_new_interned_string_int()
|