/PHP-5.5/main/ |
H A D | php_ticks.c | 44 memcpy(&func1, elem1, sizeof(void(*)(int))); in php_compare_tick_functions() 45 memcpy(&func2, elem2, sizeof(void(*)(int))); in php_compare_tick_functions() 68 memcpy(&func, data, sizeof(void(*)(int))); in php_tick_iterator()
|
H A D | fopen_wrappers.c | 188 memcpy(path_tmp, buf, ret); 390 memcpy(user, path_info + 2, length); 416 memcpy(filename, PG(doc_root), length); 529 memcpy(trypath, ptr, end-ptr); 539 memcpy(trypath, ptr, len); 541 memcpy(trypath+len+1, filename, filename_length+1); 575 memcpy(trypath, exec_fname, exec_fname_length + 1); 655 memcpy(pathbuf, path, path_length); 764 memcpy(cwd, relative_to, relative_to_len+1U); 779 memcpy(real_path, filepath, copy_len); [all …]
|
H A D | reentrancy.c | 162 memcpy(entry, ptr, sizeof(*ptr)); in php_readdir_r() 184 memcpy(p_tm, tmp, sizeof(struct tm)); in php_localtime_r() 241 memcpy(p_tm, tmp, sizeof(struct tm)); in php_gmtime_r()
|
/PHP-5.5/ext/sockets/ |
H A D | sockaddr_conv.c | 26 memcpy(&(sin6->sin6_addr.s6_addr), &(tmp.s6_addr), sizeof(struct in6_addr)); in php_set_inet6_addr() 52 …memcpy(&(sin6->sin6_addr.s6_addr), ((struct sockaddr_in6*)(addrinfo->ai_addr))->sin6_addr.s6_addr,… in php_set_inet6_addr() 106 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length); in php_set_inet_addr() 120 memcpy(ss, &t, sizeof t); in php_set_inet46_addr() 130 memcpy(ss, &t, sizeof t); in php_set_inet46_addr()
|
H A D | conversions.c | 383 memcpy(field, &ival, sizeof(ival)); in from_zval_write_int() 402 memcpy(field, &ival, sizeof(ival)); in from_zval_write_uint32() 421 memcpy(field, &ival, sizeof(ival)); in from_zval_write_net_uint16() 440 memcpy(field, &ival, sizeof(ival)); in from_zval_write_sa_family() 493 memcpy(&ival, data, sizeof(ival)); in to_zval_read_int() 500 memcpy(&ival, data, sizeof(ival)); in to_zval_read_unsigned() 507 memcpy(&ival, data, sizeof(ival)); in to_zval_read_net_uint16() 514 memcpy(&ival, data, sizeof(ival)); in to_zval_read_uint32() 521 memcpy(&ival, data, sizeof(ival)); in to_zval_read_sa_family() 528 memcpy(&ival, data, sizeof(ival)); in to_zval_read_pid_t() [all …]
|
/PHP-5.5/ext/standard/ |
H A D | http.c | 95 memcpy(p, key_prefix, key_prefix_len); in php_url_encode_hash_ex() 99 memcpy(p, ekey, ekey_len); in php_url_encode_hash_ex() 104 memcpy(p, key_suffix, key_suffix_len); in php_url_encode_hash_ex() 119 memcpy(p, key_prefix, key_prefix_len); in php_url_encode_hash_ex() 123 memcpy(p, num_prefix, num_prefix_len); in php_url_encode_hash_ex() 126 memcpy(p, ekey, ekey_len); in php_url_encode_hash_ex() 131 memcpy(p, key_suffix, key_suffix_len); in php_url_encode_hash_ex()
|
H A D | crypt_sha256.c | 58 return (((char *)memcpy(dst, src, len)) + len); in __php_mempcpy() 243 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha256_finish_ctx() 269 memcpy(&ctx->buffer[left_over], buffer, add); in sha256_process_bytes() 276 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ctx->buflen); in sha256_process_bytes() 294 sha256_process_block(memcpy(ctx->buffer, buffer, 64), 64, ctx); in sha256_process_bytes() 308 memcpy(&ctx->buffer[left_over], buffer, len); in sha256_process_bytes() 313 memcpy(ctx->buffer, &ctx->buffer[64], left_over); in sha256_process_bytes() 394 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r() 400 memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__ (uint32_t), salt, salt_len); in php_sha256_crypt_r() 468 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r() [all …]
|
H A D | crypt_sha512.c | 270 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha512_finish_ctx() 296 memcpy(&ctx->buffer[left_over], buffer, add); in sha512_process_bytes() 304 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~127], in sha512_process_bytes() 324 sha512_process_block(memcpy(ctx->buffer, buffer, 128), 128, ctx); in sha512_process_bytes() 341 memcpy(&ctx->buffer[left_over], buffer, len); in sha512_process_bytes() 346 memcpy(ctx->buffer, &ctx->buffer[128], left_over); in sha512_process_bytes() 429 memcpy(tmp + __alignof__(uint64_t) - (tmp - (char *) 0) % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r() 434 …salt = copied_salt = memcpy(tmp + __alignof__(uint64_t) - (tmp - (char *) 0) % __alignof__(uint64_… in php_sha512_crypt_r() 503 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r() 521 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
|
/PHP-5.5/ext/date/lib/ |
H A D | interval.c | 52 memcpy(&one_backup, one, sizeof(one_backup)); in timelib_diff() 53 memcpy(&two_backup, two, sizeof(two_backup)); in timelib_diff() 85 memcpy(one, &one_backup, sizeof(one_backup)); in timelib_diff() 86 memcpy(two, &two_backup, sizeof(two_backup)); in timelib_diff() 97 memcpy(&t->relative, interval, sizeof(struct timelib_rel_time)); in timelib_add()
|
H A D | parse_tz.c | 65 memcpy(tz->location.country_code, *tzf, 2); in read_preamble() 79 memcpy(&buffer, *tzf, sizeof(buffer)); in read_header() 108 memcpy(buffer, *tzf, sizeof(int32_t) * tz->bit32.timecnt); in read_transistions() 119 memcpy(cbuffer, *tzf, sizeof(unsigned char) * tz->bit32.timecnt); in read_transistions() 152 memcpy(buffer, *tzf, sizeof(unsigned char) * 6 * tz->bit32.typecnt); in read_types() 173 memcpy(tz->timezone_abbr, *tzf, sizeof(char) * tz->bit32.charcnt); in read_types() 181 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->bit32.leapcnt * 2); in read_types() 201 memcpy(buffer, *tzf, sizeof(unsigned char) * tz->bit32.ttisstdcnt); in read_types() 242 memcpy(&buffer, *tzf, sizeof(buffer)); in read_location() 251 memcpy(tz->location.comments, *tzf, comments_len); in read_location() [all …]
|
H A D | timelib.c | 54 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 67 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone() 128 memcpy(tmp->trans, tz->trans, tz->bit32.timecnt * sizeof(int32_t)); in timelib_tzinfo_clone() 129 memcpy(tmp->trans_idx, tz->trans_idx, tz->bit32.timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone() 132 memcpy(tmp->type, tz->type, tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone() 135 memcpy(tmp->timezone_abbr, tz->timezone_abbr, tz->bit32.charcnt); in timelib_tzinfo_clone() 138 memcpy(tmp->leap_times, tz->leap_times, tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
|
/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 …]
|
/PHP-5.5/ext/bcmath/libbcmath/src/ |
H A D | div.c | 61 memcpy (result, num, size); 111 memcpy (qval->n_value, n1->n_value, in bc_divide() 133 memcpy (num1+1, n1->n_value, n1->n_len+n1->n_scale); in bc_divide() 138 memcpy (num2, n2->n_value, len2); in bc_divide()
|
/PHP-5.5/ext/mcrypt/ |
H A D | mcrypt_filter.c | 68 memcpy(outchunk, data->block_buffer, data->block_used); in php_mcrypt_filter() 70 memcpy(outchunk + data->block_used, bucket->buf, bucket->buflen); in php_mcrypt_filter() 81 memcpy(data->block_buffer, outchunk + n, data->block_used); in php_mcrypt_filter() 230 memcpy(iv, Z_STRVAL_PP(tmpzval), iv_len); in php_mcrypt_filter_create() 232 memcpy(iv, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_mcrypt_filter_create()
|
/PHP-5.5/ext/session/ |
H A D | mod_mm.c | 139 memcpy(sd->key, key, keylen + 1); in ps_sd_new() 296 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION() 301 memcpy(ps_mm_path + save_path_len, PS_MM_FILE, sizeof(PS_MM_FILE) - 1); in PHP_MINIT_FUNCTION() 303 memcpy(ps_mm_path + save_path_len, sapi_module.name, mod_name_len); in PHP_MINIT_FUNCTION() 305 memcpy(ps_mm_path + save_path_len, euid, euid_len); in PHP_MINIT_FUNCTION() 381 memcpy(*val, sd->data, sd->datalen); in PS_READ_FUNC() 420 memcpy(sd->data, val, vallen); in PS_WRITE_FUNC()
|
/PHP-5.5/main/streams/ |
H A D | filter.c | 95 memcpy(bucket->buf, buf, buflen); in php_stream_bucket_new() 128 memcpy(retval, bucket, sizeof(*retval)); in php_stream_bucket_make_writeable() 131 memcpy(retval->buf, bucket->buf, retval->buflen); in php_stream_bucket_make_writeable() 152 memcpy((*left)->buf, in->buf, length); in php_stream_bucket_split() 159 memcpy((*right)->buf, in->buf + length, (*right)->buflen); in php_stream_bucket_split() 269 memcpy(wildname, filtername, n+1); in php_stream_filter_create() 405 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in php_stream_filter_append_ex() 487 memcpy(stream->readbuf, stream->readbuf + stream->readpos, stream->writepos - stream->readpos); in _php_stream_filter_flush() 496 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in _php_stream_filter_flush()
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_memdup.c | 52 memcpy(ret, mem, len); in _zip_memdup()
|
H A D | zip_source_filep.c | 109 memcpy(&f->st, st, sizeof(f->st)); in _zip_source_file_or_p() 194 memcpy(data, &z->st, sizeof(z->st)); in read_file() 232 memcpy(data, z->e, sizeof(int)*2); in read_file()
|
/PHP-5.5/win32/ |
H A D | registry.c | 39 memcpy(reg_key, *key_name, main_key_len); in OpenPhpRegistryKey() 40 memcpy(reg_key + main_key_len, sub_key, sub_key_len + 1); in OpenPhpRegistryKey() 141 memcpy(new_path, path, path_len); in LoadDirectory() 143 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory() 147 memcpy(new_path, name, name_len+1); in LoadDirectory()
|
/PHP-5.5/ext/hash/ |
H A D | hash_tiger.c | 158 memcpy(&context->buffer[56], &context->passed, sizeof(php_hash_uint64)); in TigerFinalize() 201 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate() 208 memcpy(&context->buffer[context->length], input, i); in PHP_TIGERUpdate() 215 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate() 220 memcpy(context->buffer, &input[i], r); in PHP_TIGERUpdate()
|
H A D | hash_gost.c | 215 memcpy(u, state, sizeof(u)); in Gost() 216 memcpy(v, data, sizeof(v)); in Gost() 261 memcpy(&context->buffer[context->length], input, len); in PHP_GOSTUpdate() 268 memcpy(&context->buffer[context->length], input, i); in PHP_GOSTUpdate() 276 memcpy(context->buffer, input + i, r); in PHP_GOSTUpdate() 290 memcpy(l, context->count, sizeof(context->count)); in PHP_GOSTFinal() 292 memcpy(l, &context->state[8], sizeof(l)); in PHP_GOSTFinal()
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_portability.h | 348 #define floatget(V,M) memcpy((char*) &(V),(char*) (M),sizeof(float)) 450 #define float4get(V,M) memcpy((char*) &(V),(char*) (M),sizeof(float)) 487 #define float8get(V,M) memcpy((char*) &(V),(char*) (M), sizeof(double)) 488 #define float8store(T,V) memcpy((char*) (T),(char*) &(V), sizeof(double)) 490 #define float8get(V,M) memcpy((char*) &(V),(char*) (M),sizeof(double)) 491 #define float8store(T,V) memcpy((char*) (T),(char*) &(V),sizeof(double))
|
H A D | mysqlnd_wireprotocol.c | 258 memcpy(sqlstate, p, MYSQLND_SQLSTATE_LENGTH); in php_mysqlnd_read_error_from_line() 266 memcpy(error, p, error_msg_len); in php_mysqlnd_read_error_from_line() 510 memcpy(p, packet->user, len); in php_mysqlnd_auth_write() 541 memcpy(p, packet->db, real_db_len); in php_mysqlnd_auth_write() 558 memcpy(p, packet->auth_plugin_name, len); in php_mysqlnd_auth_write() 595 memcpy(p, s_key, s_len); in php_mysqlnd_auth_write() 599 memcpy(p, *entry_value, value_len); in php_mysqlnd_auth_write() 1012 memcpy(p, packet->argument, packet->arg_len); in php_mysqlnd_cmd_write() 1094 memcpy(packet->info_or_local_file, p, len); in php_mysqlnd_rset_header_read() 1305 memcpy(meta->def, p, len); in php_mysqlnd_rset_field_read() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_main.c | 636 memcpy(php_self, script_name, script_name_len + 1); in sapi_cgi_register_variables() 639 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 674 memcpy(buf, message, len); in sapi_cgi_log_fastcgi() 675 memcpy(buf + len, "\n", sizeof("\n")); in sapi_cgi_log_fastcgi() 801 memcpy(path, SG(request_info).path_translated, path_len + 1); 1281 memcpy(path_translated, env_document_root, l); 1283 memcpy(path_translated + l, env_path_info, (path_translated_len - l)); 1300 memcpy(path_translated, pt, ptlen); 1648 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, "\"", 1); 1656 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, len); [all …]
|
/PHP-5.5/ext/pdo/ |
H A D | pdo_sql_parser.c | 642 memcpy(newbuffer, ptr, t); in pdo_parse_params() 645 memcpy(newbuffer, plc->quoted, plc->qlen); in pdo_parse_params() 654 memcpy(newbuffer, ptr, t); in pdo_parse_params() 788 memcpy(ptr, s.tok, s.cur - s.tok); 814 memcpy(ptr, quotedstr, quotedstrlen); 819 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); 850 memcpy(ptr, quotedstr, quotedstrlen); 855 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
|