ReactOS 0.4.16-dev-2104-gb84fa49
wcsstr.c File Reference
#include <precomp.h>
Include dependency graph for wcsstr.c:

Go to the source code of this file.

Functions

wchar_t *CDECL wcsstr (const wchar_t *s, const wchar_t *b)
 

Function Documentation

◆ wcsstr()

wchar_t *CDECL wcsstr ( const wchar_t s,
const wchar_t b 
)

Definition at line 16 of file wcsstr.c.

17{
18 wchar_t *x;
19 wchar_t *y;
20 wchar_t *c;
21 x=(wchar_t *)s;
22 while (*x) {
23 if (*x==*b) {
24 y=x;
25 c=(wchar_t *)b;
26 while (*y && *c && *y==*c) {
27 c++;
28 y++;
29 }
30 if (!*c)
31 return x;
32 }
33 x++;
34 }
35 return NULL;
36}
#define NULL
Definition: types.h:112
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLdouble s
Definition: gl.h:2039
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
const GLubyte * c
Definition: glext.h:8905
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define c
Definition: ke_i.h:80

Referenced by _wcsnicoll_l(), ACPIDispatchDeviceControl(), AddComputerTypeEntries(), ApplyParameterStringsToMessage(), ArcPathNormalize(), BasepGetComputerNameFromNtPath(), Bus_PDO_QueryDeviceText(), Bus_PDO_QueryResourceRequirements(), Bus_PDO_QueryResources(), check_boot_options(), CheckForLiveCD(), cmdUse(), CompareName(), CreateDisplayDriverList(), DnsQuery_W(), DoParseFile(), DoSync(), DoTestEntry(), DriverFilesCallback(), EfiInitpCreateApplicationEntry(), elf_load_debug_info_from_map(), elf_search_and_load_file(), enum_gac_assemblies(), EnumJoysticks(), CHString::Find(), GetEventMessage(), GetProcessorInformation(), GetSystemName(), Global_InStr(), HtmlHelpW(), INTERNET_LoadProxySettings(), IntLoadRegistryParameters(), IopDetectResourceConflict(), IsInternetLocation(), ITSProtocol_Start(), ITSProtocolInfo_CombineUrl(), LISTVIEW_FindItemW(), macho_search_and_load_file(), mciSendStringW(), ModifyValue(), MONTHCAL_PaintTitle(), MSACM_ReorderDriversByPriority(), NavigateToUrl(), CNewMenu::NewItemByCommand(), OpenAdapterHandle(), OpenSetupInf(), ProcessPageShowContextMenu(), QueryDeviceName(), RecycleBin5_Create(), RemoveDeviceW(), ReplaceSubstr(), ResizeDeviceW(), resolve_filename(), RtlCreateUserProcess(), RunAsDlgProc(), ScmIsSecurityService(), SearchCHM_Storage(), service_args_to_vector(), set_deferred_action_props(), SetChmPath(), ShowFailureActions(), SmpQueryRegistrySosOption(), START_TEST(), StartBalanceW(), String_replace(), String_split(), StrStrCase(), StrStrW(), test_dllnames(), Test_GetFiles(), test_swprintf(), TestCommandLine(), TestRedirection(), update_result_text(), UrlCombineW(), VideoPortInitialize(), wmain(), XCOPY_DoCopy(), and xmlwriter_WriteCData().