/PHP-5.3/win32/ |
H A D | inet.c | 33 memcpy (dst, &sin->sin_addr, sizeof (struct in_addr)); in inet_pton() 37 memcpy (dst, &sin6->sin6_addr, sizeof (struct in6_addr)); in inet_pton() 59 memcpy (&sin->sin_addr, src, sizeof (struct in_addr)); in inet_ntop() 65 memcpy (&sin6->sin6_addr, src, sizeof (struct in6_addr)); in inet_ntop()
|
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.3/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 | 173 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */ 189 memcpy(path_tmp, buf, ret); 443 memcpy(user, path_info + 2, length); 469 memcpy(filename, PG(doc_root), length); 597 memcpy(trypath, ptr, end-ptr); 607 memcpy(trypath, ptr, len); 609 memcpy(trypath+len+1, filename, filename_length+1); 643 memcpy(trypath, exec_fname, exec_fname_length + 1); 747 memcpy(pathbuf, path, path_length); 863 memcpy(cwd, relative_to, relative_to_len+1U); [all …]
|
H A D | php_logos.c | 83 memcpy(content_header, CONTENT_TYPE_HEADER, sizeof(CONTENT_TYPE_HEADER) - 1); in php_info_logos() 84 …memcpy(content_header + sizeof(CONTENT_TYPE_HEADER) - 1 , logo_image->mimetype, logo_image->mimele… in php_info_logos()
|
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.3/ext/date/lib/ |
H A D | interval.c | 51 memcpy(&one_backup, one, sizeof(one_backup)); in timelib_diff() 52 memcpy(&two_backup, two, sizeof(two_backup)); in timelib_diff() 68 memcpy(one, &one_backup, sizeof(one_backup)); in timelib_diff() 69 memcpy(two, &two_backup, sizeof(two_backup)); in timelib_diff()
|
H A D | parse_tz.c | 62 memcpy(tz->location.country_code, *tzf, 2); in read_preamble() 74 memcpy(&buffer, *tzf, sizeof(buffer)); in read_header() 95 memcpy(buffer, *tzf, sizeof(int32_t) * tz->timecnt); in read_transistions() 106 memcpy(cbuffer, *tzf, sizeof(unsigned char) * tz->timecnt); in read_transistions() 124 memcpy(buffer, *tzf, sizeof(unsigned char) * 6 * tz->typecnt); in read_types() 145 memcpy(tz->timezone_abbr, *tzf, sizeof(char) * tz->charcnt); in read_types() 153 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->leapcnt * 2); in read_types() 173 memcpy(buffer, *tzf, sizeof(unsigned char) * tz->ttisstdcnt); in read_types() 187 memcpy(buffer, *tzf, sizeof(unsigned char) * tz->ttisgmtcnt); in read_types() 202 memcpy(&buffer, *tzf, sizeof(buffer)); in read_location() [all …]
|
H A D | timelib.c | 52 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 65 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone() 126 memcpy(tmp->trans, tz->trans, tz->timecnt * sizeof(int32_t)); in timelib_tzinfo_clone() 127 memcpy(tmp->trans_idx, tz->trans_idx, tz->timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone() 130 memcpy(tmp->type, tz->type, tz->typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone() 133 memcpy(tmp->timezone_abbr, tz->timezone_abbr, tz->charcnt); in timelib_tzinfo_clone() 136 memcpy(tmp->leap_times, tz->leap_times, tz->leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
|
/PHP-5.3/ext/standard/ |
H A D | http.c | 90 memcpy(p, key_prefix, key_prefix_len); in php_url_encode_hash_ex() 94 memcpy(p, ekey, ekey_len); in php_url_encode_hash_ex() 99 memcpy(p, key_suffix, key_suffix_len); in php_url_encode_hash_ex() 114 memcpy(p, key_prefix, key_prefix_len); in php_url_encode_hash_ex() 118 memcpy(p, num_prefix, num_prefix_len); in php_url_encode_hash_ex() 121 memcpy(p, ekey, ekey_len); in php_url_encode_hash_ex() 126 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.3/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() 562 memcpy(buf, cwd, length+1); in virtual_getcwd() 877 memcpy(tmp, path, len+1); in tsrm_realpath_r() 1034 memcpy(path, tmp, i-1); in tsrm_realpath_r() 1060 memcpy(tmp, path, len+1); in tsrm_realpath_r() 1072 memcpy(tmp, path, len+1); in tsrm_realpath_r() 1093 memcpy(path, tmp, i-1); in tsrm_realpath_r() 1137 memcpy(path+j, tmp+i, len-i+1); in tsrm_realpath_r() 1146 memcpy(path+j, tmp+i, len-i+1); in tsrm_realpath_r() [all …]
|
/PHP-5.3/ext/session/ |
H A D | mod_mm.c | 139 memcpy(sd->key, key, keylen + 1); in ps_sd_new() 280 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION() 285 memcpy(ps_mm_path + save_path_len, PS_MM_FILE, sizeof(PS_MM_FILE) - 1); in PHP_MINIT_FUNCTION() 287 memcpy(ps_mm_path + save_path_len, sapi_module.name, mod_name_len); in PHP_MINIT_FUNCTION() 289 memcpy(ps_mm_path + save_path_len, euid, euid_len); in PHP_MINIT_FUNCTION() 346 memcpy(*val, sd->data, sd->datalen); in PS_READ_FUNC() 385 memcpy(sd->data, val, vallen); in PS_WRITE_FUNC()
|
H A D | mod_files.c | 113 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create() 120 memcpy(buf + n, FILE_PREFIX, sizeof(FILE_PREFIX) - 1); in ps_files_path_create() 122 memcpy(buf + n, key, key_len); in ps_files_path_create() 231 memcpy(buf, dirname, dirname_len); in ps_files_cleanup_dir() 242 memcpy(buf + dirname_len + 1, entry->d_name, entry_len); in ps_files_cleanup_dir()
|
/PHP-5.3/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.3/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.3/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.3/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.3/ext/hash/ |
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()
|
H A D | hash_salsa.c | 135 memcpy(context->state, a, sizeof(a)); in SalsaTransform() 158 memcpy(&context->buffer[context->length], input, len); in PHP_SALSAUpdate() 165 memcpy(&context->buffer[context->length], input, i); in PHP_SALSAUpdate() 174 memcpy(context->buffer, input + i, r); in PHP_SALSAUpdate()
|
/PHP-5.3/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))
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 641 memcpy(php_self, script_name, script_name_len + 1); in sapi_cgi_register_variables() 644 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 678 memcpy(buf, message, len); in sapi_cgi_log_fastcgi() 679 memcpy(buf + len, "\n", sizeof("\n")); in sapi_cgi_log_fastcgi() 802 memcpy(path, SG(request_info).path_translated, path_len + 1); 1264 memcpy(path_translated, env_document_root, l); 1266 memcpy(path_translated + l, env_path_info, (path_translated_len - l)); 1283 memcpy(path_translated, pt, ptlen); 1628 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, "\"", 1); 1636 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, len); [all …]
|
/PHP-5.3/ext/pdo/ |
H A D | pdo_sql_parser.c | 634 memcpy(newbuffer, ptr, t); in pdo_parse_params() 637 memcpy(newbuffer, plc->quoted, plc->qlen); in pdo_parse_params() 646 memcpy(newbuffer, ptr, t); in pdo_parse_params() 780 memcpy(ptr, s.tok, s.cur - s.tok); 806 memcpy(ptr, quotedstr, quotedstrlen); 811 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); 842 memcpy(ptr, quotedstr, quotedstrlen); 847 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
|