Home
last modified time | relevance | path

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

12345678910>>...51

/reactos/modules/rostests/apitests/powrprof/
H A Dpower.c1292 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1301 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1455 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1463 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1471 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1479 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1487 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1495 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1503 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
1511 memcpy(&pp, &pp_original, sizeof(POWER_POLICY)); in test_ValidatePowerPolicies()
[all …]
/reactos/dll/win32/advapi32/wine/
H A Dcrypt_lmhash.c87 memcpy(key, hash, 0x10); in SystemFunction008()
217 memcpy(deskey, key->Buffer, key->Length); in SystemFunction004()
269 memcpy(deskey, key->Buffer, key->Length); in SystemFunction005()
372 memcpy(deskey, key, 4); in SystemFunction024()
373 memcpy(deskey+4, key, 4); in SystemFunction024()
374 memcpy(deskey+8, key, 4); in SystemFunction024()
375 memcpy(deskey+12, key, 4); in SystemFunction024()
400 memcpy(deskey, key, 4); in SystemFunction025()
401 memcpy(deskey+4, key, 4); in SystemFunction025()
402 memcpy(deskey+8, key, 4); in SystemFunction025()
[all …]
/reactos/dll/win32/advapi32/misc/
H A Dsysfunc.c252 memcpy( hash, ctx.digest, 0x10 ); in SystemFunction007()
284 memcpy(key, hash, 0x10); in SystemFunction008()
328 memcpy( hash, ctx.digest, 0x10 ); in SystemFunction010()
410 memcpy(deskey, key, 4); in SystemFunction024()
411 memcpy(deskey+4, key, 4); in SystemFunction024()
412 memcpy(deskey+8, key, 4); in SystemFunction024()
413 memcpy(deskey+12, key, 4); in SystemFunction024()
439 memcpy(deskey, key, 4); in SystemFunction025()
440 memcpy(deskey+4, key, 4); in SystemFunction025()
441 memcpy(deskey+8, key, 4); in SystemFunction025()
[all …]
/reactos/sdk/tools/isohybrid/
H A Disohybrid.c519 memcpy(&de_boot, buf++, 1); in read_catalogue()
520 memcpy(&de_media, buf++, 1); in read_catalogue()
522 memcpy(&de_seg, buf, 2); in read_catalogue()
526 memcpy(&de_sys, buf++, 1); in read_catalogue()
527 memcpy(&de_mbz1, buf++, 1); in read_catalogue()
529 memcpy(&de_count, buf, 2); in read_catalogue()
533 memcpy(&de_lba, buf, 4); in read_catalogue()
537 memcpy(&de_mbz2, buf, 2); in read_catalogue()
560 memcpy(&count, buf, 2); in read_efi_section()
575 memcpy(count, buf, 2); in read_efi_catalogue()
[all …]
/reactos/dll/3rdparty/mbedtls/
H A Dcamellia.c621 memcpy( temp, input, 16 ); in mbedtls_camellia_crypt_cbc()
627 memcpy( iv, temp, 16 ); in mbedtls_camellia_crypt_cbc()
642 memcpy( iv, output, 16 ); in mbedtls_camellia_crypt_cbc()
997 memcpy( dst, camellia_test_ecb_plain[i], 16 ); in mbedtls_camellia_self_test()
1034 memcpy( src, camellia_test_cbc_iv, 16 ); in mbedtls_camellia_self_test()
1035 memcpy( dst, camellia_test_cbc_iv, 16 ); in mbedtls_camellia_self_test()
1047 memcpy( iv , src, 16 ); in mbedtls_camellia_self_test()
1051 memcpy( iv , dst, 16 ); in mbedtls_camellia_self_test()
1088 memcpy( key, camellia_test_ctr_key[u], 16 ); in mbedtls_camellia_self_test()
1096 memcpy( buf, camellia_test_ctr_ct[u], len ); in mbedtls_camellia_self_test()
[all …]
H A Dnist_kw.c247 memcpy( output, NIST_KW_ICV1, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
275 memcpy( output, NIST_KW_ICV2, KW_SEMIBLOCK_LENGTH / 2 ); in mbedtls_nist_kw_wrap()
279 memcpy( output + KW_SEMIBLOCK_LENGTH, input, in_len ); in mbedtls_nist_kw_wrap()
289 memcpy( inbuff, output, 16 ); in mbedtls_nist_kw_wrap()
312 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
320 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
371 memcpy( A, input, KW_SEMIBLOCK_LENGTH ); in unwrap()
380 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in unwrap()
381 memcpy( inbuff + KW_SEMIBLOCK_LENGTH, R, KW_SEMIBLOCK_LENGTH ); in unwrap()
388 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in unwrap()
[all …]
H A Ddes.c712 memcpy( iv, output, 8 ); in mbedtls_des_crypt_cbc()
723 memcpy( temp, input, 8 ); in mbedtls_des_crypt_cbc()
729 memcpy( iv, temp, 8 ); in mbedtls_des_crypt_cbc()
811 memcpy( iv, output, 8 ); in mbedtls_des3_crypt_cbc()
822 memcpy( temp, input, 8 ); in mbedtls_des3_crypt_cbc()
828 memcpy( iv, temp, 8 ); in mbedtls_des3_crypt_cbc()
924 memcpy( buf, des3_test_buf, 8 ); in mbedtls_des_self_test()
1052 memcpy( tmp, prv, 8 ); in mbedtls_des_self_test()
1053 memcpy( prv, buf, 8 ); in mbedtls_des_self_test()
1054 memcpy( buf, tmp, 8 ); in mbedtls_des_self_test()
[all …]
H A Dpadlock.c118 memcpy( blk, input, 16 ); in mbedtls_padlock_xcryptecb()
137 memcpy( output, blk, 16 ); in mbedtls_padlock_xcryptecb()
165 memcpy( iw, iv, 16 ); in mbedtls_padlock_xcryptcbc()
188 memcpy( iv, iw, 16 ); in mbedtls_padlock_xcryptcbc()
H A Dccm.c229 memcpy( b + 1, iv, iv_len ); in ccm_auth_crypt()
257 memcpy( b + 2, src, use_len ); in ccm_auth_crypt()
268 memcpy( b, src, use_len ); in ccm_auth_crypt()
287 memcpy( ctr + 1, iv, iv_len ); in ccm_auth_crypt()
308 memcpy( b, src, use_len ); in ccm_auth_crypt()
317 memcpy( b, dst, use_len ); in ccm_auth_crypt()
341 memcpy( tag, y, tag_len ); in ccm_auth_crypt()
525 memcpy( plaintext, msg, msg_len[i] ); in mbedtls_ccm_self_test()
/reactos/base/applications/network/telnet/src/
H A Dtscroll.cpp80 memcpy(&pcScrollData[iScrollEnd], pszHead, pszTail-pszHead); in update()
82 memcpy(pcScrollData, pszTail-iScrollSize, iScrollSize); in update()
85 memcpy(&pcScrollData[iScrollEnd], pszHead, iScrollSize-iScrollEnd); in update()
86 memcpy(&pcScrollData[0], pszHead + (iScrollSize-iScrollEnd), in update()
152 memcpy(&szStatusLine[1], "Scrollback Mode", 15); in setstatusline()
154 case HEX: memcpy(&szStatusLine[len / 2 - 1], "HEX", 3); break; in setstatusline()
155 case DUMP: memcpy(&szStatusLine[len / 2 - 2], "DUMP", 4); break; in setstatusline()
157 case TEXTB: memcpy(&szStatusLine[len / 2 - 2], "TEXT", 4); break; in setstatusline()
159 memcpy(&szStatusLine[len - 6], "READY", 5); in setstatusline()
193 memcpy(stripped, pcScrollData + iScrollBegin, iScrollSize - in ScrollBack()
[all …]
/reactos/dll/win32/secur32/wine/
H A Dhmac_md5.c37 memcpy(temp_key, temp_ctx.digest, 16); in HMACMD5Init()
45 memcpy(inner_padding, key, key_len); in HMACMD5Init()
46 memcpy(ctx->outer_padding, key, key_len); in HMACMD5Init()
69 memcpy(inner_digest, ctx->ctx.digest, 16); in HMACMD5Final()
76 memcpy(digest, outer_ctx.digest, 16); in HMACMD5Final()
/reactos/dll/directx/ddraw/Ddraw/
H A DGetCaps.c87 memcpy(myCaps, CoreCaps, sizeof(DDCAPS_DX1)); in Main_DirectDraw_GetCaps()
104 memcpy(myCaps, CoreCaps, sizeof(DDCAPS_DX3)); in Main_DirectDraw_GetCaps()
129 memcpy(myCaps, CoreCaps, sizeof(DDCORECAPS)); in Main_DirectDraw_GetCaps()
155 memcpy(myCaps, CoreCaps, sizeof(DDCORECAPS)); in Main_DirectDraw_GetCaps()
194 memcpy(myCaps, CoreCaps, sizeof(DDCAPS_DX1)); in Main_DirectDraw_GetCaps()
211 memcpy(myCaps, CoreCaps, sizeof(DDCAPS_DX3)); in Main_DirectDraw_GetCaps()
236 memcpy(myCaps, CoreCaps, sizeof(DDCORECAPS)); in Main_DirectDraw_GetCaps()
262 memcpy(myCaps, CoreCaps, sizeof(DDCORECAPS)); in Main_DirectDraw_GetCaps()
/reactos/base/applications/sndrec32/
H A Daudio_membuffer.cpp67 memcpy(new_mem, audio_data, bytes_received); in resize_mem_()
95 memcpy(newbuf, audio_data, bytes_received); in truncate_()
170 memcpy(audio_data, data, size); in audio_receive()
193 memcpy(audio_data + bytes_received, data, size); in audio_receive()
214 memcpy(out_buf, audio_data + bytes_played_, to_copy); in read()
/reactos/drivers/filesystems/btrfs/
H A Dblake2-impl.h38 memcpy(&w, src, sizeof w); in load32()
53 memcpy(&w, src, sizeof w); in load64()
72 memcpy(&w, src, sizeof w); in load16()
84 memcpy(dst, &w, sizeof w); in store16()
95 memcpy(dst, &w, sizeof w); in store32()
108 memcpy(dst, &w, sizeof w); in store64()
/reactos/sdk/lib/crt/string/
H A Ditoa.c43 memcpy(string, pos, &buffer[64] - pos + 1); in _i64toa()
121 memcpy(str, pos, len); in _i64toa_s()
149 memcpy(string, pos, &buffer[64] - pos + 1); in _ui64toa()
188 memcpy(str, pos, buffer-pos+65); in _ui64toa_s()
248 memcpy(string, pos, &buffer[32] - pos + 1); in _ltoa()
327 memcpy(str, pos, len); in _ltoa_s()
355 memcpy(string, pos, &buffer[32] - pos + 1); in _ultoa()
H A Ditow.c51 memcpy(string, pos, (&buffer[64] - pos + 1) * sizeof(WCHAR)); in _i64tow()
133 memcpy(str, pos, len * sizeof(wchar_t)); in _i64tow_s()
162 memcpy(string, pos, (&buffer[64] - pos + 1) * sizeof(WCHAR)); in _ui64tow()
203 memcpy(str, pos, buffer-pos+65); in _ui64tow_s()
266 memcpy(string, pos, (&buffer[32] - pos + 1) * sizeof(WCHAR)); in _ltow()
348 memcpy(str, pos, len * sizeof(wchar_t)); in _ltow_s()
377 memcpy(string, pos, (&buffer[32] - pos + 1) * sizeof(WCHAR)); in _ultow()
/reactos/dll/directx/ddraw/thunks/
H A Dddraw_thunk.c173 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw_CreateSurface()
177 memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC)); in ThunkDirectDraw_CreateSurface()
205 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw2_CreateSurface()
209 memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC)); in ThunkDirectDraw2_CreateSurface()
283 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw_EnumDisplayModes()
287 memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC)); in ThunkDirectDraw_EnumDisplayModes()
312 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw2_EnumDisplayModes()
355 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw_EnumSurfaces()
384 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw2_EnumSurfaces()
472 memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC)); in ThunkDirectDraw_GetDisplayMode()
[all …]
/reactos/dll/directx/ddraw/Surface/
H A Dsurface_main.c459 memcpy(&mdLock.rArea,prect,sizeof(RECTL)); in Main_DDrawSurface_Lock()
731 memcpy(pDDPixelFormat,&This->lpLcl->lpSurfMore-> in Main_DDrawSurface_GetPixelFormat()
761 memcpy(&lpDS->ddckCKDestBlt, &This->lpLcl->ddckCKDestBlt, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
762 memcpy(&lpDS->ddckCKDestOverlay, &This->lpLcl->ddckCKDestOverlay, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
763 memcpy(&lpDS->ddckCKSrcBlt, &This->lpLcl->ddckCKSrcBlt, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
764 memcpy(&lpDS->ddckCKSrcOverlay, &This->lpLcl->ddckCKSrcOverlay, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
766 memcpy(&lpDS->ddsCaps, &This->lpLcl->ddsCaps, sizeof(DDSCAPS)); in Main_DDrawSurface_GetSurfaceDesc()
795 memcpy(&pDDSD->ddckCKDestBlt, &This->lpLcl->ddckCKDestBlt, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
801 memcpy(&pDDSD->ddckCKSrcBlt, &This->lpLcl->ddckCKSrcBlt, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
802 memcpy(&pDDSD->ddckCKSrcOverlay, &This->lpLcl->ddckCKSrcOverlay, sizeof(DDCOLORKEY)); in Main_DDrawSurface_GetSurfaceDesc()
[all …]
/reactos/drivers/network/tcpip/lwip/test/unit/dhcp/
H A Dtest_dhcp.c176 memcpy(q->payload, data, q->len); in send_pkt()
497 memcpy(&dhcp_offer[46], &xid, 4); in START_TEST()
507 memcpy(&dhcp_offer[46], &xid, 4); /* insert correct transaction id */ in START_TEST()
512 memcpy(&dhcp_ack[46], &xid, 4); in START_TEST()
517 memcpy(&dhcp_ack[46], &xid, 4); /* insert transaction id */ in START_TEST()
572 memcpy(&dhcp_offer[46], &xid, 4); in START_TEST()
587 memcpy(&dhcp_ack[46], &xid, 4); in START_TEST()
592 memcpy(&dhcp_ack[46], &xid, 4); /* insert transaction id */ in START_TEST()
812 memcpy(&relay_ack1[46], &xid, 4); /* insert transaction id */ in START_TEST()
848 memcpy(&relay_ack2[46], &xid, 4); /* insert transaction id */ in START_TEST()
[all …]
/reactos/modules/rostests/tests/iptest/
H A Diptest.cpp431 memcpy( datagram + 32, datagram + 6, 6 ); in main()
432 memcpy( datagram, datagram + 6, 6 ); in main()
434 memcpy( datagram + 22, hwaddr, 6 ); in main()
435 memcpy( datagram + 6, hwaddr, 6 ); in main()
437 memcpy( laddr, datagram + 28, 4 ); in main()
438 memcpy( datagram + 28, datagram + 38, 4 ); in main()
439 memcpy( datagram + 38, laddr, 4 ); in main()
450 memcpy( hdr, datagram + 6, 6 ); in main()
451 memcpy( hdr + 6, datagram, 6 ); in main()
452 memcpy( hdr + 12, datagram + 12, 2 ); in main()
/reactos/base/services/nfsd/
H A Dacl.c455 memcpy(who, ACE4_OWNER, strlen(ACE4_OWNER)+1); in is_well_known_sid()
458 memcpy(who, ACE4_NOBODY, strlen(ACE4_NOBODY)+1); in is_well_known_sid()
468 memcpy(who, ACE4_GROUP, strlen(ACE4_GROUP)+1); in is_well_known_sid()
474 memcpy(who, ACE4_DIALUP, strlen(ACE4_DIALUP)+1); in is_well_known_sid()
477 memcpy(who, ACE4_NETWORK, strlen(ACE4_NETWORK)+1); in is_well_known_sid()
480 memcpy(who, ACE4_BATCH, strlen(ACE4_BATCH)+1); in is_well_known_sid()
553 memcpy(who_out, ACE4_OWNER, strlen(ACE4_OWNER)+1); in map_nfs4ace_who()
560 memcpy(who_out, ACE4_GROUP, strlen(ACE4_GROUP)+1); in map_nfs4ace_who()
600 memcpy(who_out, who, size); in map_nfs4ace_who()
602 memcpy(who_out+size, "@", sizeof(char)); in map_nfs4ace_who()
[all …]
/reactos/dll/win32/gdiplus/
H A Dpathiterator.c52 memcpy((*iterator)->pathdata.Types, path->pathdata.Types, size); in GdipCreatePathIter()
53 memcpy((*iterator)->pathdata.Points, path->pathdata.Points,size * sizeof(PointF)); in GdipCreatePathIter()
100 memcpy(types, &(iterator->pathdata.Types[startIndex]), *resultCount); in GdipPathIterCopyData()
101 memcpy(points, &(iterator->pathdata.Points[startIndex]), in GdipPathIterCopyData()
191memcpy(path->pathdata.Points, &(iterator->pathdata.Points[start]), sizeof(GpPointF)*(*result)); in GdipPathIterNextMarkerPath()
192 memcpy(path->pathdata.Types, &(iterator->pathdata.Types[start]), sizeof(BYTE)*(*result)); in GdipPathIterNextMarkerPath()
324 memcpy(path->pathdata.Points, &(iter->pathdata.Points[start]), sizeof(GpPointF)*(*result)); in GdipPathIterNextSubpathPath()
325 memcpy(path->pathdata.Types, &(iter->pathdata.Types[start]), sizeof(BYTE)*(*result)); in GdipPathIterNextSubpathPath()
/reactos/dll/shellext/shellbtrfs/
H A Dmountmgr_local.cpp43memcpy((uint8_t*)mcpi + mcpi->SymbolicLinkNameOffset, symlink.data(), symlink.length() * sizeof(WC… in create_point()
44 memcpy((uint8_t*)mcpi + mcpi->DeviceNameOffset, device.data(), device.length() * sizeof(WCHAR)); in create_point()
65memcpy((uint8_t*)mmp + mmp->SymbolicLinkNameOffset, symlink.data(), symlink.length() * sizeof(WCHA… in delete_points()
75memcpy((uint8_t*)mmp + mmp->UniqueIdOffset, unique_id.data(), unique_id.length() * sizeof(WCHAR)); in delete_points()
87memcpy((uint8_t*)mmp + mmp->DeviceNameOffset, device_name.data(), device_name.length() * sizeof(WC… in delete_points()
120memcpy((uint8_t*)mmp + mmp->SymbolicLinkNameOffset, symlink.data(), symlink.length() * sizeof(WCHA… in query_points()
130memcpy((uint8_t*)mmp + mmp->UniqueIdOffset, unique_id.data(), unique_id.length() * sizeof(WCHAR)); in query_points()
142memcpy((uint8_t*)mmp + mmp->DeviceNameOffset, device_name.data(), device_name.length() * sizeof(WC… in query_points()
/reactos/drivers/bus/acpi/acpica/executer/
H A Dexconcat.c249 memcpy (Buffer, &Operand0->Integer.Value, in AcpiExDoConcatenate()
254 memcpy (Buffer + AcpiGbl_IntegerByteWidth, in AcpiExDoConcatenate()
296 memcpy (Buffer, Operand0->Buffer.Pointer, in AcpiExDoConcatenate()
298 memcpy (Buffer + Operand0->Buffer.Length, in AcpiExDoConcatenate()
449 memcpy (NewBuf, Operand0->Buffer.Pointer, Length0); in AcpiExConcatTemplate()
450 memcpy (NewBuf + Length0, Operand1->Buffer.Pointer, Length1); in AcpiExConcatTemplate()
/reactos/dll/win32/ntdsapi/
H A Dntdsapi.c112 memcpy(p, svc_class, len * sizeof(WCHAR)); in DsMakeSpnW()
119 memcpy(p, inst_name, len * sizeof(WCHAR)); in DsMakeSpnW()
126 memcpy(p, svc_name, len * sizeof(WCHAR)); in DsMakeSpnW()
145 memcpy(p, svc_name, len * sizeof(WCHAR)); in DsMakeSpnW()
226 memcpy(buf, class, lstrlenW(class) * sizeof(WCHAR)); in DsClientMakeSpnForTargetServerW()
229 memcpy(p, name, lstrlenW(name) * sizeof(WCHAR)); in DsClientMakeSpnForTargetServerW()

12345678910>>...51