Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/PHP-8.2/main/
H A Dphp_ini_builder.c27 memcpy(b->value, src, length); in php_ini_builder_prepend()
35 memcpy(b->value + b->length, name, name_length); in php_ini_builder_unquoted()
40 memcpy(b->value + b->length, value, value_length); in php_ini_builder_unquoted()
50 memcpy(b->value + b->length, name, name_length); in php_ini_builder_quoted()
56 memcpy(b->value + b->length, value, value_length); in php_ini_builder_quoted()
74 memcpy(b->value + b->length, arg, len); in php_ini_builder_define()
H A Dfopen_wrappers.c185 memcpy(path_tmp, buf, ret);
393 memcpy(user, path_info + 2, length);
419 memcpy(ZSTR_VAL(filename), PG(doc_root), length);
548 memcpy(trypath, ptr, end-ptr);
558 memcpy(trypath, ptr, len);
560 memcpy(trypath+len+1, filename, filename_length+1);
598 memcpy(trypath, exec_fname, exec_fname_length + 1);
682 memcpy(pathbuf, path, path_length);
792 memcpy(cwd, relative_to, relative_to_len+1U);
807 memcpy(real_path, filepath, copy_len);
[all …]
/PHP-8.2/ext/sockets/
H A Dsockaddr_conv.c26 memcpy(&(sin6->sin6_addr.s6_addr), &(tmp.s6_addr), sizeof(struct in6_addr)); in php_set_inet6_addr()
52memcpy(&(sin6->sin6_addr.s6_addr), ((struct sockaddr_in6*)(addrinfo->ai_addr))->sin6_addr.s6_addr,… in php_set_inet6_addr()
112 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length);
126 memcpy(ss, &t, sizeof t);
136 memcpy(ss, &t, sizeof t);
H A Dconversions.c386 memcpy(field, &ival, sizeof(ival)); in from_zval_write_int()
405 memcpy(field, &ival, sizeof(ival)); in from_zval_write_uint32()
424 memcpy(field, &ival, sizeof(ival)); in from_zval_write_net_uint16()
443 memcpy(field, &ival, sizeof(ival)); in from_zval_write_sa_family()
499 memcpy(&ival, data, sizeof(ival)); in to_zval_read_int()
506 memcpy(&ival, data, sizeof(ival)); in to_zval_read_net_uint16()
513 memcpy(&ival, data, sizeof(ival)); in to_zval_read_sa_family()
521 memcpy(&ival, data, sizeof(ival)); in to_zval_read_unsigned()
528 memcpy(&ival, data, sizeof(ival)); in to_zval_read_uint32()
537 memcpy(&ival, data, sizeof(ival)); in to_zval_read_pid_t()
[all …]
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_serialize.c113 memcpy(bytes, memctl, sizeof(pcre2_memctl)); in pcre2_serialize_encode()
124 memcpy(dst_bytes, tables, TABLES_LENGTH); in pcre2_serialize_encode()
130 (void)memcpy(dst_bytes, (char *)re, re->blocksize); in pcre2_serialize_encode()
195 memcpy(tables, src_bytes, TABLES_LENGTH); in pcre2_serialize_decode()
208 memcpy(&blocksize, src_bytes + offsetof(pcre2_real_code, blocksize), in pcre2_serialize_decode()
230 memcpy(((uint8_t *)dst_re) + sizeof(pcre2_memctl), in pcre2_serialize_decode()
/PHP-8.2/ext/ffi/tests/
H A Dgh7867.phpt10 FFI::memcpy($value, implode('', range('a', 'z')), 26);
15 FFI::memcpy($slice, $value, 4);
20 FFI::memcpy($slice, $value + 4, 4);
H A D009.phpt2 FFI 009: memcpy(), memcmp(), memset() and sizeof()
16 FFI::memcpy($b, $a, FFI::sizeof($a));
/PHP-8.2/ext/date/lib/
H A Dparse_tz.c107 memcpy(tz->location.country_code, *tzf, 2); in read_php_preamble()
170 memcpy(&buffer, *tzf, sizeof(buffer)); in read_32bit_header()
208 memcpy(buffer, *tzf, sizeof(int64_t) * tz->bit64.timecnt); in read_64bit_transitions()
223 memcpy(cbuffer, *tzf, sizeof(unsigned char) * tz->bit64.timecnt); in read_64bit_transitions()
277 memcpy(tz->timezone_abbr, *tzf, sizeof(char) * tz->bit64.charcnt); in read_64bit_types()
371 memcpy(tz->posix_string, begin, *tzf - begin); in read_posix_string()
399 memcpy(tz->timezone_abbr + old_length, abbr, strlen(abbr)); in add_abbr()
451 memcpy(&buffer, *tzf, sizeof(buffer)); in read_location()
460 memcpy(tz->location.comments, *tzf, comments_len); in read_location()
643 memcpy(&buffer, *tzf, sizeof(buffer)); in read_64bit_header()
[all …]
/PHP-8.2/ext/dom/lexbor/lexbor/core/
H A Dmraw.c17 memcpy(data, size, sizeof(size_t)); \
261 memcpy(begin, &new_size, sizeof(size_t)); in lexbor_mraw_realloc_tail()
285 memcpy(new_data, data, sizeof(uint8_t) * size); in lexbor_mraw_realloc_tail()
307 memcpy(begin, &size, sizeof(size_t)); in lexbor_mraw_realloc_tail()
322 memcpy(&size, begin, sizeof(size_t)); in lexbor_mraw_realloc()
360 memcpy(begin, &new_size, sizeof(size_t)); in lexbor_mraw_realloc()
383 memcpy(begin, data, sizeof(uint8_t) * size); in lexbor_mraw_realloc()
H A Dmraw.h75 memcpy(data, &size, sizeof(size_t)); in lexbor_mraw_data_size_set()
84 memcpy(data, src, size); in lexbor_mraw_dup()
H A Dserialize.c23 memcpy(str->data + str->length, data, length); in lexbor_serialize_copy_cb()
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_parser.y98 memcpy(&$$.file.name[0], $1.str, $1.len);
99 memcpy(&$$.file.name[$1.len], $2.str, $2.len);
108 memcpy(&$$.file.name[0], $1.str, $1.len);
109 memcpy(&$$.file.name[$1.len], $2.str, $2.len);
H A Dphpdbg_io.c30 memcpy(buf, PHPDBG_G(input_buffer), bytes); in ZEND_EXTERN_MODULE_GLOBALS()
53 memcpy(PHPDBG_G(input_buffer), buf + i + 1, PHPDBG_G(input_buflen)); in ZEND_EXTERN_MODULE_GLOBALS()
/PHP-8.2/Zend/
H A Dzend_virtual_cwd.c275 memcpy(retval, state->cwd, *length); in virtual_getcwd_ex()
311 memcpy(buf, cwd, length+1); in virtual_getcwd()
412 memcpy(bucket->path, path, path_len+1); in realpath_cache_add()
622 memcpy(tmp, path, len+1); in tsrm_realpath_r()
868 memcpy(path, tmp, i-1); in tsrm_realpath_r()
904 memcpy(tmp, path, len+1); in tsrm_realpath_r()
925 memcpy(path, tmp, i-1); in tsrm_realpath_r()
973 memcpy(path+j, tmp_path, i+1); in tsrm_realpath_r()
978 memcpy(path+j, tmp+i, len-i+1); in tsrm_realpath_r()
987 memcpy(path+j, tmp+i, len-i+1); in tsrm_realpath_r()
[all …]
H A Dzend_vm_trace_handlers.h37 memcpy(buf, last, last_len); in zend_vm_trace()
39 memcpy(buf + last_len + 1, op, op_len + 1); in zend_vm_trace()
/PHP-8.2/ext/bcmath/libbcmath/src/
H A Ddiv.c54 memcpy(result, num, size); in _one_mult()
101 memcpy(qval->n_value, n1->n_value, n1->n_len + MIN(n1->n_scale, scale)); in bc_divide()
121 memcpy(num1 + 1, n1->n_value, n1->n_len + n1->n_scale); in bc_divide()
125 memcpy(num2, n2->n_value, len2); in bc_divide()
/PHP-8.2/main/streams/
H A Dfilter.c82 memcpy(bucket->buf, buf, buflen); in php_stream_bucket_new()
115 memcpy(retval, bucket, sizeof(*retval)); in php_stream_bucket_make_writeable()
118 memcpy(retval->buf, bucket->buf, retval->buflen); in php_stream_bucket_make_writeable()
135 memcpy((*left)->buf, in->buf, length); in php_stream_bucket_split()
142 memcpy((*right)->buf, in->buf + length, (*right)->buflen); in php_stream_bucket_split()
237 memcpy(wildname, filtername, n+1); in php_stream_filter_create()
372 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in php_stream_filter_append_ex()
454 memcpy(stream->readbuf, stream->readbuf + stream->readpos, stream->writepos - stream->readpos); in _php_stream_filter_flush()
463 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in _php_stream_filter_flush()
/PHP-8.2/ext/standard/
H A Dcrypt_sha256.c222 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha256_finish_ctx()
248 memcpy(&ctx->buffer[left_over], buffer, add); in sha256_process_bytes()
255 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ctx->buflen); in sha256_process_bytes()
273 sha256_process_block(memcpy(ctx->buffer, buffer, 64), 64, ctx); in sha256_process_bytes()
287 memcpy(&ctx->buffer[left_over], buffer, len); in sha256_process_bytes()
292 memcpy(ctx->buffer, &ctx->buffer[64], left_over); in sha256_process_bytes()
377 …key = copied_key = memcpy(tmp_key + __alignof__(uint32_t) - (uintptr_t)tmp_key % __alignof__(uint3… in php_sha256_crypt_r()
383memcpy(tmp_salt + __alignof__(uint32_t) - (uintptr_t)tmp_salt % __alignof__ (uint32_t), salt, salt… in php_sha256_crypt_r()
452 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
471 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
H A Dcrypt_sha512.c253 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha512_finish_ctx()
279 memcpy(&ctx->buffer[left_over], buffer, add); in sha512_process_bytes()
287 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~127], in sha512_process_bytes()
307 sha512_process_block(memcpy(ctx->buffer, buffer, 128), 128, ctx); in sha512_process_bytes()
324 memcpy(&ctx->buffer[left_over], buffer, len); in sha512_process_bytes()
329 memcpy(ctx->buffer, &ctx->buffer[128], left_over); in sha512_process_bytes()
416memcpy(tmp_key + __alignof__(uint64_t) - (uintptr_t)tmp_key % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
421 …salt = copied_salt = memcpy(tmp_salt + __alignof__(uint64_t) - (uintptr_t)tmp_salt % __alignof__(u… in php_sha512_crypt_r()
491 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
510 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_portability.h158 #define floatget(V,M) memcpy((char*) &(V),(char*) (M),sizeof(float))
252 #define float4get(V,M) memcpy((char*) &(V),(char*) (M),sizeof(float))
289 #define float8get(V,M) memcpy((char*) &(V),(char*) (M), sizeof(double))
290 #define float8store(T,V) memcpy((char*) (T),(char*) &(V), sizeof(double))
292 #define float8get(V,M) memcpy((char*) &(V),(char*) (M),sizeof(double))
293 #define float8store(T,V) memcpy((char*) (T),(char*) &(V),sizeof(double))
/PHP-8.2/win32/
H A Dregistry.c55 memcpy(reg_key, *key_name, main_key_len); in OpenPhpRegistryKey()
56 memcpy(reg_key + main_key_len, sub_key, sub_key_len + 1); in OpenPhpRegistryKey()
148 memcpy(new_path, path, path_len); in LoadDirectory()
150 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory()
154 memcpy(new_path, name, name_len+1); in LoadDirectory()
/PHP-8.2/ext/zend_test/
H A Dobject_handlers.c286 memcpy(&donc_object_handlers, &std_object_handlers, sizeof(zend_object_handlers)); in zend_test_object_handlers_init()
292memcpy(&long_castable_no_operation_object_handlers, &std_object_handlers, sizeof(zend_object_handl… in zend_test_object_handlers_init()
297memcpy(&float_castable_no_operation_object_handlers, &std_object_handlers, sizeof(zend_object_hand… in zend_test_object_handlers_init()
302memcpy(&numeric_castable_no_operation_object_handlers, &std_object_handlers, sizeof(zend_object_ha… in zend_test_object_handlers_init()
307memcpy(&dimension_handlers_no_ArrayAccess_object_handlers, &std_object_handlers, sizeof(zend_objec… in zend_test_object_handlers_init()
/PHP-8.2/ext/hash/
H A Dhash_murmur.c149 memcpy(&copy_context->h, &orig_context->h, sizeof orig_context->h); in PHP_MURMUR3CCopy()
150 memcpy(&copy_context->carry, &orig_context->carry, sizeof orig_context->carry); in PHP_MURMUR3CCopy()
221 memcpy(&copy_context->h, &orig_context->h, sizeof orig_context->h); in PHP_MURMUR3FCopy()
222 memcpy(&copy_context->carry, &orig_context->carry, sizeof orig_context->carry); in PHP_MURMUR3FCopy()
H A Dhash_tiger.c154 memcpy(&context->buffer[56], &context->passed, sizeof(uint64_t)); in TigerFinalize()
197 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
204 memcpy(&context->buffer[context->length], input, i); in PHP_TIGERUpdate()
211 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate()
216 memcpy(context->buffer, &input[i], r); in PHP_TIGERUpdate()
/PHP-8.2/ext/dom/lexbor/lexbor/encoding/
H A Dencode.c365 memcpy(&ctx->buffer_out[ctx->buffer_used], in lxb_encoding_encode_iso_2022_jp()
372 memcpy(&ctx->buffer_out[ctx->buffer_used], in lxb_encoding_encode_iso_2022_jp()
454 memcpy(&ctx->buffer_out[ctx->buffer_used], in lxb_encoding_encode_iso_2022_jp()
1310 memcpy(*data, "\x1B\x28\x4A\x5C", 4); in lxb_encoding_encode_iso_2022_jp_single()
1316 memcpy(*data, "\x1B\x28\x4A\x7E", 4); in lxb_encoding_encode_iso_2022_jp_single()
1358 memcpy(*data, "\x1B\x28\x42", 3); in lxb_encoding_encode_iso_2022_jp_single()
1376 memcpy(*data, "\x1B\x28\x42", 3); in lxb_encoding_encode_iso_2022_jp_single()
1392 memcpy(*data, "\x1B\x28\x4A\x5C", 4); in lxb_encoding_encode_iso_2022_jp_single()
1398 memcpy(*data, "\x1B\x28\x4A\x7E", 4); in lxb_encoding_encode_iso_2022_jp_single()
1430 memcpy(*data, "\x1B\x24\x42", 3); in lxb_encoding_encode_iso_2022_jp_single()
[all …]

Completed in 89 milliseconds

12345678910>>...14