Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 25 of 51) sorted by relevance

123

/reactos/dll/shellext/shellbtrfs/
H A Dmountmgr_local.cpp90 vector<uint8_t> buf2(sizeof(MOUNTMGR_MOUNT_POINTS)); in delete_points() local
91 auto mmps = reinterpret_cast<MOUNTMGR_MOUNT_POINTS*>(buf2.data()); in delete_points()
94 buf.data(), (ULONG)buf.size(), buf2.data(), (ULONG)buf2.size()); in delete_points()
97 buf2.resize(mmps->Size); in delete_points()
100 … buf.data(), (ULONG)buf.size(), buf2.data(), (ULONG)buf2.size()); in delete_points()
145 vector<uint8_t> buf2(sizeof(MOUNTMGR_MOUNT_POINTS)); in query_points() local
146 auto mmps = reinterpret_cast<MOUNTMGR_MOUNT_POINTS*>(buf2.data()); in query_points()
149 buf.data(), (ULONG)buf.size(), buf2.data(), (ULONG)buf2.size()); in query_points()
154 buf2.resize(mmps->Size); in query_points()
155 mmps = reinterpret_cast<MOUNTMGR_MOUNT_POINTS*>(buf2.data()); in query_points()
[all …]
/reactos/modules/rostests/apitests/kernel32/
H A DLCMapString.c15 char buf1[100], buf2[100]; in ok_wstr_() local
17 lstrcpynA(buf2, wine_dbgstr_w(y), _countof(buf2)); in ok_wstr_()
18 ok_(file, line)(wcscmp(x, y) == 0, "Wrong string. Expected %s, got %s\n", buf2, buf1); in ok_wstr_()
/reactos/modules/rostests/apitests/gdi32/
H A DGetTextFace.c95 WCHAR buf2[LF_FACESIZE]; in Test_GetTextFaceAliasW() local
136 ret2 = GetTextFaceAliasW(hDC, ARRAYSIZE(buf2), buf2); in Test_GetTextFaceAliasW()
138 …ok(wcscmp(buf2, FaceTests[i].lpExpectedAlias) == 0, "'%S' GetTextFaceAliasW failed, got '%S', expe… in Test_GetTextFaceAliasW()
139 FaceTests[i].lpFaceName, buf2, FaceTests[i].lpExpectedAlias); in Test_GetTextFaceAliasW()
/reactos/dll/win32/msctf/
H A Dcategorymgr.c105 WCHAR buf2[39]; in CategoryMgr_RegisterCategory() local
125 StringFromGUID2(rguid, buf2, 39); in CategoryMgr_RegisterCategory()
126 swprintf(fullkey,fmt2,ctg,ctg,buf,buf2); in CategoryMgr_RegisterCategory()
134 swprintf(fullkey,fmt2,ctg,itm,buf2,buf); in CategoryMgr_RegisterCategory()
154 WCHAR buf2[39]; in CategoryMgr_UnregisterCategory() local
173 StringFromGUID2(rguid, buf2, 39); in CategoryMgr_UnregisterCategory()
174 swprintf(fullkey,fmt2,ctg,ctg,buf,buf2); in CategoryMgr_UnregisterCategory()
176 swprintf(fullkey,fmt2,ctg,itm,buf2,buf); in CategoryMgr_UnregisterCategory()
H A Dinputprocessor.c224 WCHAR buf2[39]; in add_userkey() local
232 StringFromGUID2(guidProfile, buf2, 39); in add_userkey()
233 swprintf(fullkey,szwFullLangfmt,szwSystemTIPKey,buf,szwLngp,langid,buf2); in add_userkey()
639 WCHAR buf2[39]; in InputProcessorProfiles_EnableLanguageProfile() local
646 StringFromGUID2(guidProfile, buf2, 39); in InputProcessorProfiles_EnableLanguageProfile()
647 swprintf(fullkey,szwFullLangfmt,szwSystemTIPKey,buf,szwLngp,langid,buf2); in InputProcessorProfiles_EnableLanguageProfile()
669 WCHAR buf2[39]; in InputProcessorProfiles_IsEnabledLanguageProfile() local
679 StringFromGUID2(guidProfile, buf2, 39); in InputProcessorProfiles_IsEnabledLanguageProfile()
680 swprintf(fullkey,szwFullLangfmt,szwSystemTIPKey,buf,szwLngp,langid,buf2); in InputProcessorProfiles_IsEnabledLanguageProfile()
716 WCHAR buf2[39]; in InputProcessorProfiles_EnableLanguageProfileByDefault() local
[all …]
/reactos/dll/win32/setupapi/
H A Dsetupcab.c365 WCHAR buf[MAX_PATH], buf2[MAX_PATH]; in sc_FNNOTIFY_W() local
370 memset(buf2, 0, MAX_PATH * sizeof(WCHAR)); in sc_FNNOTIFY_W()
396 len = 1 + MultiByteToWideChar(CP_ACP, 0, pfdin->psz2, -1, buf2, MAX_PATH); in sc_FNNOTIFY_W()
398 buf2[0] = '\0'; in sc_FNNOTIFY_W()
399 ci.DiskName = buf2; in sc_FNNOTIFY_W()
415 len = 1 + MultiByteToWideChar(CP_ACP, 0, pfdin->psz1, -1, buf2, MAX_PATH); in sc_FNNOTIFY_W()
417 buf2[0] = '\0'; in sc_FNNOTIFY_W()
418 fici.NameInCabinet = buf2; in sc_FNNOTIFY_W()
481 len = 1 + MultiByteToWideChar(CP_ACP, 0, pfdin->psz2, -1, buf2, MAX_PATH); in sc_FNNOTIFY_W()
483 buf2[0] = '\0'; in sc_FNNOTIFY_W()
[all …]
/reactos/modules/rostests/winetests/kernel32/
H A Denviron.c288 char buf[256], buf1[256], buf2[0x8000]; in test_ExpandEnvironmentStringsA() local
342 ret_size = ExpandEnvironmentStringsA(buf, buf2, sizeof(buf2)); in test_ExpandEnvironmentStringsA()
343 …ok(!strcmp(buf, buf2), "ExpandEnvironmentStrings failed %s vs %s. ret_size = %d\n", buf, buf2, ret… in test_ExpandEnvironmentStringsA()
356 strcpy(buf2, "Indirect-Foo%EnvVar%Bar-Indirect"); in test_ExpandEnvironmentStringsA()
358 ok(ret_size == strlen(buf2)+1 || in test_ExpandEnvironmentStringsA()
359 ret_size == (strlen(buf2)+1)*2 /* NT4 */, in test_ExpandEnvironmentStringsA()
360 "ExpandEnvironmentStrings returned %d instead of %d\n", ret_size, lstrlenA(buf2)+1); in test_ExpandEnvironmentStringsA()
361 ok(!strcmp(buf1, buf2), "ExpandEnvironmentStrings returned [%s]\n", buf1); in test_ExpandEnvironmentStringsA()
/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dcstring_test.cpp45 char buf1[1], buf2[1]; in import_checks() local
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks()
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
H A Ddeque_test.cpp207 char buf2[1024]; in allocator_with_state() local
208 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
H A Dhash_test.cpp383 char buf2[2048]; in allocator_with_state() local
384 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
H A Dlist_test.cpp277 char buf2[1024]; in allocator_with_state() local
278 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
H A Dvector_test.cpp378 char buf2[1024]; in allocator_with_state() local
379 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
H A Dmap_test.cpp272 char buf2[1024]; in allocator_with_state() local
273 StackAllocator<pair<const int, int> > stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
H A Dset_test.cpp281 char buf2[1024]; in allocator_with_state() local
282 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
H A Dslist_test.cpp336 char buf2[1024]; in allocator_with_state() local
337 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
/reactos/sdk/lib/3rdparty/stlport/src/c_locale_dummy/
H A Dc_locale_dummy.c270 char buf1[64], buf2[64]; in _Locale_strcmp() local
275 _STLP_STRNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0; in _Locale_strcmp()
277 ret = strcmp(buf1, buf2); in _Locale_strcmp()
290 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local
295 _STLP_WCSNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0; in _WLocale_strcmp()
297 ret = wcscmp(buf1, buf2); in _WLocale_strcmp()
/reactos/dll/directx/wine/dsound/
H A Dmixer.c797 LPVOID buf1, buf2; in DSOUND_PerformMix() local
843 buf2 = device->buffer; in DSOUND_PerformMix()
851 if (playpos && (!buf2 || !size2)) in DSOUND_PerformMix()
853 FillMemory(buf2, size2, nfiller); in DSOUND_PerformMix()
855 IDsDriverBuffer_Unlock(device->hwbuf, buf1, size1, buf2, size2); in DSOUND_PerformMix()
858 buf2 = NULL; in DSOUND_PerformMix()
865 if (buf2 && size2) in DSOUND_PerformMix()
868 FillMemory(buf2, size2, nfiller); in DSOUND_PerformMix()
871 IDsDriverBuffer_Unlock(device->hwbuf, buf1, size1, buf2, size2); in DSOUND_PerformMix()
882 IDsDriverBuffer_Lock(device->hwbuf, &buf1, &size1, &buf2, &size2, writepos, maxq, 0); in DSOUND_PerformMix()
[all …]
/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/
H A Dc_locale_glibc2.c366 char buf1[64], buf2[64]; in _Locale_strcmp() local
371 strncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0; in _Locale_strcmp()
373 ret = strcoll_l(buf1, buf2, (locale_t)__loc); in _Locale_strcmp()
386 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local
391 wcsncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0; in _WLocale_strcmp()
393 ret = wcscoll_l(buf1, buf2, (locale_t)__loc); in _WLocale_strcmp()
/reactos/modules/rostests/win32/user32/kbdlayout/
H A Dkbdlayout.c70 WCHAR buf2[512]; in UpdateData() local
77 swprintf(buf2, L"Active: %s (%x)", buf, GetKeyboardLayout(0)); in UpdateData()
78 SetWindowText(GetDlgItem(hDlg, IDC_ACTIVE), buf2); in UpdateData()
/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dls.c185 char buf2[400]; in LsC() local
207 for (i=0; i<(int) sizeof(buf2); i++) in LsC()
208 buf2[i] = ' '; in LsC()
213 (void) memcpy(buf, buf2, sizeof(buf)); in LsC()
/reactos/modules/rostests/winetests/msvcrt/
H A Dfile.c687 char buf1[16], buf2[24]; in test_fflush() local
710 memset(buf2, '?', sizeof(buf2)); in test_fflush()
711 fread(buf2, 1, sizeof(buf2), tempfh); in test_fflush()
712 ok(memcmp(buf1, buf2, sizeof(buf1)) == 0, "Got unexpected data (%c)\n", buf2[0]); in test_fflush()
718 memset(buf2, '?', sizeof(buf2)); in test_fflush()
719 fread(buf2, 1, sizeof(buf2), tempfh); in test_fflush()
720 ok(memcmp(buf1, buf2, sizeof(buf1)) != 0, "Got unexpected data (%c)\n", buf2[0]); in test_fflush()
726 memset(buf2, '?', sizeof(buf2)); in test_fflush()
727 fread(buf2, 1, sizeof(buf2), tempfh); in test_fflush()
728 ok(memcmp(buf1, buf2, sizeof(buf1)) == 0, "Got unexpected data (%c)\n", buf2[0]); in test_fflush()
/reactos/dll/directx/wine/quartz/
H A Ddsoundrender.c126 BYTE *buf1, *buf2; in DSoundRender_UpdatePositions() local
145 …oundBuffer_Lock(This->dsbuffer, old_playpos, adv, (void**)&buf1, &size1, (void**)&buf2, &size2, 0); in DSoundRender_UpdatePositions()
147 memset(buf2, wfx->wBitsPerSample == 8 ? 128 : 0, size2); in DSoundRender_UpdatePositions()
148 IDirectSoundBuffer_Unlock(This->dsbuffer, buf1, size1, buf2, size2); in DSoundRender_UpdatePositions()
270 BYTE *buf1, *buf2; in DSoundRender_SendSampleData() local
300 …r_Lock(This->dsbuffer, writepos, min(free, size), (void**)&buf1, &size1, (void**)&buf2, &size2, 0); in DSoundRender_SendSampleData()
307 memcpy(buf2, data+size1, size2); in DSoundRender_SendSampleData()
308 IDirectSoundBuffer_Unlock(This->dsbuffer, buf1, size1, buf2, size2); in DSoundRender_SendSampleData()
/reactos/base/applications/regedit/
H A Dlistview.c354 WCHAR buf2[200]; in OnGetDispInfo() local
355 LoadStringW(hInst, IDS_UNKNOWN_TYPE, buf2, ARRAY_SIZE(buf2)); in OnGetDispInfo()
356 wsprintf(buffer, buf2, ((LINE_INFO*)plvdi->item.lParam)->dwValType); in OnGetDispInfo()
/reactos/dll/win32/cabinet/
H A Dfdi.c2002 cab_UBYTE buf2[64]; in fdi_decomp() local
2133 if (CAB(fdi)->read(cab->cabhf, buf2, cffold_SIZEOF) != cffold_SIZEOF) in fdi_decomp()
2147 fol->offset = (cab_off_t) EndGetI32(buf2+cffold_DataOffset); in fdi_decomp()
2148 fol->num_blocks = EndGetI16(buf2+cffold_NumBlocks); in fdi_decomp()
2149 fol->comp_type = EndGetI16(buf2+cffold_CompType); in fdi_decomp()
2169 file->length = EndGetI32(buf2+cffile_UncompressedSize); in fdi_decomp()
2170 file->offset = EndGetI32(buf2+cffile_FolderOffset); in fdi_decomp()
2171 file->index = EndGetI16(buf2+cffile_FolderIndex); in fdi_decomp()
2172 file->time = EndGetI16(buf2+cffile_Time); in fdi_decomp()
2173 file->date = EndGetI16(buf2+cffile_Date); in fdi_decomp()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/autofit/
H A Dafhints.c332 char buf1[16], buf2[16], buf3[16], buf4[16]; in af_glyph_hints_dump_points() local
347 af_print_idx( buf2, segment_idx_1 ), in af_glyph_hints_dump_points()
420 char buf1[16], buf2[16], buf3[16]; in af_glyph_hints_dump_segments() local
450 af_print_idx( buf2, AF_INDEX_NUM( seg->serif, segments ) ), in af_glyph_hints_dump_segments()
557 char buf1[16], buf2[16]; in af_glyph_hints_dump_edges() local
592 af_print_idx( buf2, AF_INDEX_NUM( edge->serif, edges ) ), in af_glyph_hints_dump_edges()

123