Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 286) sorted by path

12345678910>>...12

/PHP-5.5/
H A DNEWS1132 . 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 Dtsrm_virtual_cwd.c274 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 Dtsrm_win32.c118 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 DZend.m4100 AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass sigsetjmp)
H A Dzend.c1002 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 Dzend_API.c3049 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 Dzend_alloc.c167 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 Dzend_builtin_functions.c1466 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 Dzend_closures.c426 memcpy(&closure_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); in zend_register_closure_ce()
H A Dzend_compile.c1342 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 Dzend_constants.c246 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 Dzend_exceptions.c373 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 Dzend_execute.c769 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 Dzend_execute_API.c1150 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 Dzend_generators.c748 memcpy(&zend_generator_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); in zend_register_generator_ce()
H A Dzend_hash.c112 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 Dzend_ini_parser.y90 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 Dzend_language_parser.y875 …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 Dzend_language_scanner.c663 memcpy(tmp, str->value.str.val, str->value.str.len + ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
H A Dzend_language_scanner.l661 memcpy(tmp, str->value.str.val, str->value.str.len + ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
H A Dzend_llist.c49 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 Dzend_operators.c1263 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 Dzend_signal.c284 memcpy(&SIGG(handlers), &global_orig_handlers, sizeof(global_orig_handlers)); in zend_signal_activate()
H A Dzend_stack.c43 memcpy(stack->elements[stack->top], element, size); in zend_stack_push()
H A Dzend_string.c122 memcpy((char*)p->arKey, arKey, nKeyLength); in zend_new_interned_string_int()

Completed in 140 milliseconds

12345678910>>...12