ReactOS 0.4.16-dev-2110-ge3521eb
strnlen.cpp File Reference
#include <corecrt_internal.h>
#include <corecrt_internal_simd.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for strnlen.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  strnlen_mode { bounded , unbounded }
 

Functions

template<strnlen_mode Mode>
static __forceinline bool __cdecl last_reached (void const *const it, void const *const last) throw ()
 
template<>
__forceinline bool __cdecl last_reached< unbounded > (void const *const it, void const *const last) throw ()
 
template<strnlen_mode Mode, typename Element >
_Check_return_ _When_ (maximum_count > _String_length_(string), _Post_satisfies_(return==_String_length_(string))) _When_(maximum_count< = _String_length_(string)
 
_Check_return_ _Post_satisfies_ (return==maximum_count)) static __forceinline size_t __cdecl common_strnlen_c(Element const *const string
 
_Check_return_ size_t const maximum_count throw ()
 
size_t __cdecl strnlen (char const *const string, size_t const maximum_count)
 
size_t __cdecl wcsnlen (wchar_t const *const string, size_t const maximum_count)
 
size_t __cdecl wcslen (wchar_t const *const string)
 

Enumeration Type Documentation

◆ strnlen_mode

Enumerator
bounded 
unbounded 

Definition at line 26 of file strnlen.cpp.

27 {
28 bounded, // strnlen mode; maximum_count is respected
29 unbounded, // strlen mode; maximum_count is ignored
30 };
@ unbounded
Definition: strnlen.cpp:29
@ bounded
Definition: strnlen.cpp:28

Function Documentation

◆ _Post_satisfies_()

_Check_return_ _Post_satisfies_ ( return  = = maximum_count) const

◆ _When_()

template<strnlen_mode Mode, typename Element >
_Check_return_ _When_ ( maximum_count  ,
_String_length_(string ,
_Post_satisfies_(return==_String_length_(string))   
) = _String_length_(string)

◆ last_reached()

template<strnlen_mode Mode>
static __forceinline bool __cdecl last_reached ( void const *const  it,
void const *const  last 
)
throw (
)
static

Definition at line 37 of file strnlen.cpp.

41{
42 return it == last;
43}
static UINT UINT last
Definition: font.c:45

◆ last_reached< unbounded >()

template<>
__forceinline bool __cdecl last_reached< unbounded > ( void const *const  it,
void const *const  last 
)
throw (
)

Definition at line 46 of file strnlen.cpp.

50{
53
54 return false;
55}
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:329

◆ strnlen()

◆ throw()

_Check_return_ size_t const maximum_count throw ( )

Definition at line 67 of file strnlen.cpp.

68{
69 Element const* const last = string + maximum_count;
70 Element const* it = string;
71
72 for (; !last_reached<Mode>(it, last) && *it != '\0'; ++it)
73 {
74 }
75
76 return static_cast<size_t>(it - string);
77}
char string[160]
Definition: util.h:11

◆ wcslen()

size_t __cdecl wcslen ( wchar_t const *const  string)

Definition at line 224 of file strnlen.cpp.

227{
228 return common_strnlen<unbounded>(reinterpret_cast<uint16_t const*>(string), _CRT_UNBOUNDED_BUFFER_SIZE);
229}
#define _CRT_UNBOUNDED_BUFFER_SIZE
unsigned short uint16_t
Definition: stdint.h:35

Referenced by __acrt_get_qualified_locale(), __acrt_report_runtime_error(), __crt_stdio_path_requires_backslash(), __wcserror_s(), __wgetmainargs(), CBandSiteBase::_BuildBandInfo(), _CmdWndProc(), _cputws(), _CreateNonspooledPort(), _dbg_ILGetSTextPointerW(), CFSDropTarget::_DoDrop(), _DumpLevel1PrintProviderInformation(), _expandlocale(), _FileOpCount(), _GetNonspooledPortName(), _Gettnames(), _HandleAddPort(), _HandleConfigureLPTPortCommandOK(), _ILCreate(), _ILCreateCPanelApplet(), _ILCreatePrinterItem(), _ILGetFSPidl(), _LoadResources(), _LocalGetFormLevel1(), _LocalGetFormLevel2(), _LocalGetJobLevel1(), _LocalGetJobLevel2(), _LocalGetMonitorLevel1(), _LocalGetMonitorLevel2(), _LocalGetPrinterDriverLevel1(), _LocalGetPrinterDriverLevel2(), _LocalGetPrinterDriverLevel3(), _LocalGetPrinterDriverLevel4(), _LocalGetPrinterDriverLevel5(), _LocalGetPrinterDriverLevel6(), _LocalGetPrinterDriverLevel8(), _LocalGetPrinterLevel0(), _LocalGetPrinterLevel1(), _LocalGetPrinterLevel2(), _LocalGetPrinterLevel4(), _LocalGetPrinterLevel5(), _LocalmonGetPortLevel1(), _LocalmonGetPortLevel2(), _main(), _MakePrinterSubKey(), _mktemp(), _mktemp_s(), _OpenEnvironment(), FxPkgPdo::_PnpQueryDeviceText(), FxPkgPdo::_PnpQueryId(), _VCrtDbgReportW(), _W_Getdays(), _W_Getmonths(), _wcsdup(), _wcsxfrm_l(), _wgetenv(), _wgetenv_s(), _wmakepath(), _wmakepath_s(), _wpopen(), _wsearchenv_s(), _wsetlocale_nolock(), _wsetlocale_set_cat(), _wsplitpath_s(), _wstat64(), _wsystem(), AccpLookupSidByName(), AccpOpenLSAPolicyHandle(), AccpOpenNamedObject(), AckPageDlgProc(), ACTION_RegisterClassInfo(), ACTION_RegisterExtensionInfo(), ACTION_RegisterMIMEInfo(), ACTION_UnregisterClassInfo(), ACTION_UnregisterExtensionInfo(), ACTION_UnregisterMIMEInfo(), add_comserver_record(), add_ifaceps_record(), AddBootStoreEntry(), AddCheckItem(), COpenWithMenu::AddChooseProgramItem(), AddCodepageToRegistry(), AddCommandGroup(), AddCommas(), AddConsoleAliasW(), AddContext(), AddContextCommand(), AddDialogControl(), AddDisplayDevice(), AddEntryToList(), AddEntryToTree(), AddFontsSettingsToRegistry(), AddFullResourcesToList(), AddGroupCommand(), AddInstallationSource(), AddItemToTreeView(), AddKbLayoutsToRegistry(), AddNewEventSource(), AddNewKbLayoutsByLcid(), AddNewLayout(), AddNTOSInstallation(), AddPrintMonitorList(), AddRequirementsToList(), AddServiceToList(), AddSubst(), AddTestToCombo(), AddUninstallKey(), AddUnregisteredProvider(), AddUserProfile(), AddVolumeToList(), AliasCommand(), AllocAndCopyMultiStr(), AllocEventLog(), AllocSplStr(), AllSysInfo(), append_message(), append_string(), AppendDeviceId(), AppendStringToMultiSZ(), AppendSystemFamily(), AppendSystemPostfix(), ApplicationPageRefreshThread(), ApplyChanges(), ApplyOrCancelChanges(), ApplyParameterStringsToMessage(), ArcMatchToken_UStr(), ArcPathNormalize(), ArcPathToNtPath(), assign_main(), AssignDriveLetter(), AssignNextDriveLetter(), AtapiRegCheckParameterValue(), ATL::AtlLoadTypeLib(), ATL::AtlRegisterClassCategoriesHelper(), AuthzInitializeResourceManager(), AutoStartupApplications(), BackupIniFile(), BaseCheckVDM(), BaseCreateVDMEnvironment(), BfLoadFontFile(), BiConvertRegistryDataToElement(), BiOpenKey(), BlAppendBootOptionString(), BlockEnvToEnvironW(), BlpDisplayRegisterLocale(), BmFatalErrorEx(), BmOpenDataStore(), BmpFwGetApplicationDirectoryPath(), BmpFwGetFullPath(), COpenWithDialog::Browse(), build_assembly_dir(), build_assembly_id(), build_clr_surrogate_section(), build_dllredirect_section(), build_expanded_wargv(), build_local_assembly_path(), build_tlib_section(), build_wndclass_section(), BuildCommandLine(), BuildInteractiveProfileBuffer(), BuildUserModeWindowStationName(), BuildVolatileEnvironment(), BuildWorkstationsList(), Bus_PDO_QueryDeviceId(), Bus_PDO_QueryDeviceText(), CabinetExtractFile(), CabinetNormalizePath(), CabinetOpen(), CabinetSetDestinationPath(), CachedGetUserFromSid(), CNewMenu::CacheItems(), CacheLookupResults(), CallBackConvertToAscii(), CDeviceNode::CDeviceNode(), CDevSettings_GetData(), ChangeNtProductType(), ChangePortNumber(), ChangeServiceConfigA(), ChangeServiceConfigW(), ChannelGetDescription(), ChannelGetName(), ChannelSetDescription(), ChannelSetName(), CharToOemW(), CheckForDeviceId(), CheckForValidPEAndVendor(), CheckSectionValid(), CheckStringBuffer(), CheckStringBufferW(), CheckVolume(), ChildWndProc(), Chkdsk(), ClassNameToVersion(), CM_Connect_MachineW(), CM_Create_DevNode_ExW(), cmdline_to_argv(), cmdShare(), cmdUse(), CmpOpenHiveFiles(), common_assert_to_stderr_direct(), compare_info(), CompareProductName(), ComputeStringSize(), Concatenate(), ConcatPathsV(), ConCfgOpenUserSettings(), ConCfgReadUserSettings(), ConCfgWriteUserSettings(), ConPrintfVPaging(), ConPuts(), ConPutsPaging(), CONSOLE_SetInputTextXY(), ConsoleCreateUnicodeString(), ConstructXcvName(), ConvertNtPathToWin32Path(), CopyIpAddrString(), CopyKeyName(), CopyQuerySetIndirectW(), CopySdbToAppPatch(), CopySystemProfile(), CopyTextToClipboard(), create_temp_dir(), create_time_data(), CreateClassDeviceObject(), CreateDirectoryPath(), CreateFilterList(), CreateGroupListRoutine(), CreateInstanceKey(), CreateItem(), CreateJob(), CreateJunction(), CreateLogicalPartition(), CreateMultiSzString(), CreateNestedKey(), CreatePortEntry(), CreatePrimaryMbrPartition(), CreateProcessInternalW(), CreateProfile(), CreateProfileMutex(), CreateRecordForIpAddress(), CreateServiceA(), CreateServiceW(), CreateSidCacheMgr(), CreateStandardProfile(), CreateSymbolicLink(), CreateSymbolicLinkW(), CreateSysMenu(), CreateUserProfileExW(), CRegKeySecurity_fnConstructor(), CriticalDeviceCoInstaller(), CSR_API(), CsrpConnectToServer(), CsrValidateMessageString(), dde_connect(), DefaultProcessEntry(), DeleteDirectory(), DeleteDriveLetter(), DeleteSubst(), DetectNt4SoundDevices(), DeviceIdMatch(), CKsProxy::DeviceInfo(), DeviceIoctlPassive(), DevicePathToDosPath(), devnotify_window_callbackA(), dialog_add_font(), DIALOG_AddFilterItem(), dialog_create(), dialog_create_window(), dialog_dirlist_handler(), Display_DrawText(), Display_GetFullName(), DisplayClassCoinstallers(), DisplayClassProperties(), DisplayDeviceAdvancedProperties(), DisplayDeviceCoinstallers(), DisplayDevicePropertyText(), DisplayDeviceRelations(), DisplayLocalGroup(), DisplayMessage(), DisplayResourceText(), DisplayScreen(), DisplayTitle(), DisplayUser(), DllMain(), DllRegisterServer(), Dns_CreateStringCopy_W(), Dns_GetBufferLengthForStringCopy(), Dns_StringCopy(), DnsIntCacheGetEntries(), DnsQuery_W(), DoChangePassword(), DoInstallFontFile(), DoLogon(), DoParse(), DoSanitizeClipboard(), DoUnlock(), DoValidateShortcutName(), download_file(), DrawTextExWorker(), DriverFilesCallback(), CExeDropHandler::Drop(), DsppLoadFontFile(), DuplicateQuotedString(), DuplicateString(), DuplicateStringW(), DuplicateStringWEx(), DynamicPathCommonPrefixW(), EMFDC_WriteNamedEscape(), Enum(), EnumClientServiceProtocol(), EnumerateDevices(), CNetConnectionManager::EnumerateINetConnections(), EnumerateNetworkAdapter(), CEnumRegRoot::EnumerateNext(), EnumEventsThread(), EnumNamesW(), EnumPrintersA(), EnumPrintProcessorDatatypesW(), EnumPwrSchemes(), EnumWindowsProc(), env_get_valueW(), env_init(), EtfsOpen(), export_hex_data(), export_hex_data_type(), export_value_name(), Ext2IsSpecialSystemFile(), Ext2QueryRegistrySettings(), Ext2RegistryQueryCallback(), FATGetNextDirEntry(), FdoHandleQueryCompatibleId(), FileExtFromFilter(), FileExtractDialogWndProc(), FileIoCopyFileName(), FileIoCopyParentDirectoryPath(), FilenameW2A_FitOrFail(), FilenameW2A_N(), FileQueryFiles(), FillList(), FilterByString(), FilterConnectCommunicationPort(), FilterLoadUnload(), CDesktopFolder::FinalConstruct(), find_actctx_dll(), find_devices(), find_end_of_double_null_terminated_sequence(), FindBootStore(), FindCheckItem(), FindDateSep(), FindNext(), FindProductName(), FindSidInCache(), FitName(), FlatBuf_Arg_WriteString(), font_name_from_file(), FontLink_Chain_Populate(), format_number(), CRegistryFolder::FormatContentsForDisplay(), FormatEx(), FormatEx2(), FormatFileSizeWithBytes(), CRegistryFolder::FormatValueData(), FoundDevice(), fputws(), FreeBT_AddDevice(), FreeBT_GetRegistryDword(), FreeBT_QueryWmiDataBlock(), FreeLdrEnumerateBootEntries(), FreeWlxMprInfo(), FsdGetFsAttributeInformation(), FxCalculateTotalMultiSzStringSize(), GdipGetSupportedFileExtensions(), GenerateDeviceID(), GenerateRandomPassword(), get_comserver_datalen(), get_currency_format(), get_device_pnp_name_guid(), get_ifaceps_datalen(), get_item_path(), get_locale_info(), get_manifest_in_associated_manifest(), get_number_format(), get_path_with_extension(), get_progid_datalen(), get_table(), GetAddrInfoW(), GetAllUsersProfileDirectoryW(), ATL::ChTraitsCRT< _CharType >::GetBaseTypeLength(), GetBIOSValue(), GetClassRegistryHandle(), GetComputerIdentifier(), GetConfigurationData(), GetConnectRequest(), GetConsoleAliasW(), CShellLink::GetCurFile(), GetCurrentHwProfileA(), GetCurrentHwProfileW(), GetDefaultClassServiceName(), GetDefaultLayoutForLocale(), GetDefaultRecycleBin(), GetDefaultUserProfileDirectoryW(), CNetConnectionPropertyUi::GetDeviceInstanceID(), GetDeviceInstanceList(), GetDeviceInstanceListSize(), GetDisplayNameFileAndID(), CDrivesFolder::GetDisplayNameOf(), CFSFolder::GetDisplayNameOf(), CRegFolder::GetDisplayNameOf(), GetDriveNameWithLetter(), GetDriveTypeW(), GetEnvironmentStringsA(), GetEnvironmentStringsW(), GetEUDCTimeStampExW(), GetEventMessage(), GetEventMessageFileDLL(), GetEventUserName(), GetExpandedFilePathName(), RecycleBin5File::GetFileName(), GetFinalPathNameByHandleW(), CExtractIcon::GetIconLocation(), GetInstallSourceWin32(), GetInterfaceFriendlyName(), GetLayoutCount(), GetLayoutName(), GetLcidFromCountry(), GetLcidFromLangCountry(), GetLcidFromLanguage(), GetLineExtentW(), GetListOfTestExes(), GetListViewEntries(), GetLocaleNameFromDefault(), GetLocaleNameFromLangCountry(), GetLocaleNameFromLanguage(), GetLongPathNameW(), GetMappedFileNameA(), GetMessageStringFromDllList(), GetName(), GetOutlineTextMetricsW(), GetOwnerModuleFromTagEntry(), GetPart(), CKsProxy::GetPinName(), GetPortNameWithoutColon(), GetPrinterA(), GetProcessorInformation(), GetProfilesDirectoryW(), GetProfileSize(), CNetConnection::GetProperties(), GetServerTime(), GetServiceDescription(), GetServiceInstanceList(), GetServiceList(), GetShortPathNameW(), GetSMBiosStringW(), GetSupportedCP(), GetSystemName(), GetSystemUserInfo(), GetSystemVersion(), GetTimeZoneListIndex(), GetUnicodeEnvironmentSize(), GetUniqueConnectionName(), GetUsedPorts(), GetUserProfileDirectoryW(), GetVolumeNameForVolumeMountPointW(), GreenPnp(), GROUP_AddGroup(), GuiPasteToTextModeBuffer(), HalpQueryIdFdo(), HalpQueryIdPdo(), HasPrefix(), HDA_PDOQueryId(), HidClassPDO_HandleQueryDeviceId(), I_ScQueryServiceTagInfo(), ILCreateFromNetworkPlaceW(), ILCreateNetConnectItem(), Imm32GetImeLayoutList(), Imm32WriteImeLayout(), INetCfgComponent_fnGetBindName(), INetCfgComponent_fnGetDisplayName(), INetCfgComponent_fnGetHelpText(), INetCfgComponent_fnGetId(), INetCfgComponent_fnGetPnpDevNodeId(), INetCfgComponent_fnSetDisplayName(), INetCfgComponentBindings_fnIsBoundTo(), INetCfgComponentControl_fnApplyRegistryChanges(), INetCfgLock_fnAcquireWriteLock(), INetCfgLock_fnIsWriteLocked(), IniAddSection(), IniCacheSaveByHandle(), IniInsertKey(), InitAmSymbol(), InitDialog(), InitFilterListBox(), CZZWStr::Initialize(), CNetConnection::Initialize(), InitializeDefaultUserLocale(), InitializeFormatDriveDlg(), InitializeFormList(), InitializeMachineInformation(), InitializeNamedEntry(), InitializePortList(), InitializeProfiles(), InitializeProgramFilesDir(), InitializeProvider(), InitializeRecycleBinDlg(), InitializeSetupActionLog(), InitializeSoundBlaster(), InitializeSystemPage(), InitializeTcpipAdvancedDNSDlg(), InitLogs(), InitPmSymbol(), InitPropertiesDlg(), InitPropVariantFromStringVector(), InitTreeViewItems(), InitTTFontCache(), InputList_Add(), InputList_AddInputMethodToUserRegistry(), InputList_Create(), InputList_WriteSubst(), InsertColumnToListView(), CDeviceView::InsertIntoTreeView(), CNewMenu::InsertShellNewItems(), CRichEdit::InsertText(), InsSpacePos(), InsSpacesFmt(), InstallCompositeBattery(), InstallDefaultSystemSoundScheme(), InstallDevice(), InstallDirectoryPage(), InstallDriver(), InstallEventSource(), InstallInfSections(), InstallNetDevice(), InstallOneInterface(), InstallParallelPort(), InstallReactOS(), InstallScreenSaverW(), InstallSerialPort(), InstallSoftwareBusPnpEnumerator(), InstallSoftwareDeviceInterface(), InstallSystemSoundLabels(), InstallSystemSoundSchemeNames(), Int_EnumDependentServicesW(), IntAddConsoleAlias(), IntConvertFontPaths(), IntCreateDICW(), IntDeleteRecursive(), CRegistryFolder::InternalBindToObject(), IntExpungeConsoleCommandHistory(), IntGdiAddFontResourceEx(), IntGdiAddFontResourceSingle(), IntGdiGetFontResourceInfo(), IntGdiRemoveFontResource(), IntGetConsoleAlias(), IntGetConsoleAliases(), IntGetConsoleAliasesLength(), IntGetConsoleCommandHistory(), IntGetConsoleCommandHistoryLength(), IntGetIcdData(), IntLoadKeyboardLayout(), IntPaintDesktop(), IntResolveDesktop(), IntSetConsoleNumberOfCommands(), IntSetConsoleTitle(), IntVideoPortChildQueryId(), InvokeRemoteRegistryPickerDialog(), IopBootLog(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopEnumerateDetectedDevices(), IopFetchConfigurationInformation(), IopFixupDeviceId(), IopGetInterfaceDeviceList(), IopGetParentIdPrefix(), IopInitializeBuiltinDriver(), IopInstallCriticalDevice(), IopLogWorker(), IopOpenInterfaceKey(), IopQueryCompatibleIds(), IopQueryHardwareIds(), IopWriteLogFile(), IoRegisterDeviceInterface(), is_matching_string(), is_mounted_multi_device(), is_root_unc_name(), is_usable_drive_or_unc_root(), is_xmlns_attr(), isCmdWithArg(), ISecurityObjectTypeInfo_fnGetInheritSource(), IsUrlValid(), ITERATE_PublishComponent(), ITERATE_WriteRegistryValues(), KERNELBASE_lstrlenW(), KmtFltSendWStringToDriver(), KmtSendWStringToDriver(), KsCreateBusEnumObject(), KsecGatherEntropyData(), KsGetBusEnumIdentifier(), KsiCreateObjectType(), KspBusQueryReferenceString(), KspCopyCreateRequest(), KspCreateDeviceReference(), KspCreateObjectType(), KspDoReparseForIrp(), KspInstallInterface(), KspQueryId(), LabelWndProc(), LangCountryEnumProc(), LangCountryEnumProcEx(), LanguageEnumProcEx(), LDEVOBJ_bBuildDevmodeList(), LDEVOBJ_pLoadDriver(), LdrpSearchPath(), LibraryLogEvent(), ListDirectory(), ListWndNotifyProc(), load_class(), load_progid(), LoadAllocStringW(), LoadAppInitDlls(), LoadBootIni(), CNewMenu::LoadCachedItems(), LoadDialog(), LoadEventSources(), LoadHelperDll(), LoadIniFile(), LoadInstallableVDD(), LoadLogFile(), LoadShellLinkConsoleInfo(), LoadSystemIni(), LocalAddForm(), locale_replace_separator(), locale_return_reg_string(), LocalmonAddPort(), LocalmonAddPortEx(), LocalmonXcvOpenPort(), LocalOpenPrinter(), LogfAllocAndBuildNewRecord(), LogfCreate(), LogToFile(), lookup_assembly(), lookup_manifest_file(), lookup_winsxs(), LookupNodeByAddr(), LoopRegisterAdapter(), LsapCreateSid(), LsapLookupAccountRightName(), LsarpEnumeratePrivileges(), LsarpLookupPrivilegeName(), lstrlenW(), lstrstri(), MAIN_LoadSettings(), MAIN_ReplaceString(), MAIN_SaveSettings(), MAIN_SetMainWindowTitle(), MainDialogProc(), MainLoop(), MainWnd_OnInstall(), MakeFilter(), MakeQuotedString(), MakeStrRetFromString(), MarshalConnectionInfo(), MatchToken(), MatchWildcard(), CTrayClockWnd::MeasureLines(), MergeStrings(), MiReloadBootLoadedDrivers(), MMixerAddMidiPin(), MMixerAddMixerControl(), MMixerBuildMixerSourceLine(), MMixerCreateDestinationLine(), MMixerGetDeviceName(), MMixerGetMidiDevicePath(), MMixerGetWaveDevicePath(), MMixerInitializeWaveInfo(), MMixerSetGetMuxControlDetails(), MMSYS_InstallDevice(), ModifyStatus(), ModifyValue(), MRUList_DataList_0(), MRUList_DataList_1(), MsgMemorySize(), msi_add_cabinet_stream(), msi_apply_transforms(), msi_create_full_path(), msi_create_table(), msi_create_temp_file(), MSI_InstallPackage(), msi_parse_command_line(), MSI_ProcessMessage(), msi_split_string(), msvcrt_argvtos(), msvcrt_valisttos(), mswBufferAppendStrW(), my_open(), my_retrieve_vol_type(), NamedEscape(), ndisBindMiniportsToProtocol(), NdisReadConfiguration(), NetClassInstaller(), NetGetDCName(), NetIDPage_OnApply(), NetpAllocWStrFromWStr(), NetrJobAdd(), NetrJobEnum(), NetrJobGetInfo(), NetrWkstaGetInfo(), NetUserChangePassword(), CLayerStringList::Next(), CZipEnumerator::next_unique(), NPAddConnection3(), NPCancelConnection(), NPGetConnection(), NpReadAlias(), NpWaitPipe(), NSProviderInfoFromContext(), NSProvidersEnumerationProc(), NtfsDirFindFile(), NtfsGetNameInformation(), NtfsGetStreamInformation(), NtfsMakeAbsoluteFilename(), NtfsMakeFCBFromDirEntry(), NtfsReadFile(), NtfsSetEndOfFile(), NtfsWriteFile(), NtGdiGetTextFaceW(), NtLdrEnumerateBootEntries(), NtlmStructWriteStrW(), NtUserGetKeyNameText(), NtUserGetMonitorInfo(), NtUserGetObjectInformation(), ObjectNameInformationTests(), OnAutoSync(), OnDropFiles(), CShellLink::OnNotify(), OnProfileTypeInit(), OpenLSAPolicyHandle(), OpenSetupInf(), OpenSoundDeviceRegKey(), OpenSoundDriverParametersRegKey(), OpenUserEventLogFile(), OslPrepareTarget(), OutputDebugStringW(), PackStrings(), PaintControl(), CTrayClockWnd::PaintLine(), PaintText(), parse_bcp47(), parse_url_element(), ParseArguments(), ParseAsn(), ParseDaysOfMonth(), ParseDaysOfWeek(), CCommonFolder< TSelf, TItemId, TExtractIcon >::ParseDisplayName(), ParseReasonCode(), ParseResources(), ParseTime(), PathUndecorateW(), pBuildFileList(), pCDevSettings_GetMonitorDevice(), pCDevSettings_GetMonitorName(), pCDevSettings_OpenDeviceKey(), pdo_query_device_id(), PdoHandleQueryInstanceId(), PerfDataGetCommandLine(), pf_output_format_wstr(), PiSetDevNodeText(), PNP_GetClassInstance(), PNP_GetRelatedDeviceInstance(), PNP_RegisterNotification(), PNP_UnregisterDeviceClassAssociation(), PnpEventThread(), BtrfsDeviceAdd::populate_device_tree(), PopulateCustomPathCombo(), PreloadGlobalMessageTable(), PrepareFileCopy(), prepend_str(), Preview_pSaveImageAs(), PRINT_RECORD(), PrintAdapterDescription(), PrintAllJobs(), PrintAllMacros(), PrintHistory(), PrintingThreadProc(), PrintJobDetails(), PrintMacros(), PrintOSVersion(), PrintTag(), process_args(), ProcessCmdLine(), ProcessDeviceClassChangeEvent(), ProcessDisplayRegistry(), CMainWindow::ProcessFileMenu(), ProcessLangEntry(), ProcessLocaleRegistry(), ProcessorSetFriendlyName(), ProcessSetupInf(), ProcessUnattendSection(), profile_items_callback(), PROGRAM_AddProgram(), ProviderEnumerationProc(), PSAMPR_SERVER_NAME_bind(), pSetupDebugPrint(), PSM_PrepareToDraw(), push_xmlns(), CSendToMenu::QueryContextMenu(), CNewMenu::QueryContextMenu(), CShellLink::QueryContextMenu(), QueryDeskCplString(), QueryDeviceInformation(), CInputPin::QueryId(), COutputPin::QueryId(), QuickSearchFindHit(), RChangeServiceConfig2W(), RChangeServiceConfigW(), RCreateServiceW(), rdp_send_logon_info(), ReadFromFile(), ReadParameterValue(), ReadPassword(), ReadPortSettings(), ReadString(), ready_media(), record_stream_name(), RecycleBin5_Create(), BtrfsContextMenu::reflink_copy(), RefreshTreeItem(), RegenerateUserEnvironment(), RegFindRecurse(), RegFindWalk(), register_dll(), RegisterBDAComponent(), RegisterBlueScreenMachineInformation(), RegisterContext(), RegisterHelperDll(), RegisterService(), RegistryInitLunKey(), RegKeyEditPermissions(), RegSetValueW(), CHString::ReleaseBuffer(), remove_main(), RemovePort(), RemoveQuotes(), CNetConnection::Rename(), RenameKey(), RenderHDROP(), REnumDependentServicesA(), REnumDependentServicesW(), REnumServiceGroupW(), REnumServicesStatusA(), REnumServicesStatusExA(), REnumServicesStatusExW(), ReplaceSubstr(), ReplaceSubStr(), ReportToMountMgr(), ResFindDirectoryEntry(), ResolveArcNameManually(), ResolveLocaleName(), ResolveTarget(), RetrieveCurrentModuleNTDirectory(), rewrite_url(), RGetServiceDisplayNameA(), RGetServiceDisplayNameW(), RGetServiceKeyNameA(), RGetServiceKeyNameW(), RpcpAddInterface(), RQueryServiceConfig2A(), RQueryServiceConfig2W(), RQueryServiceConfigA(), RQueryServiceConfigW(), RtlAddAtomToAtomTable(), RtlCreateActivationContext(), RtlCreateUnicodeString(), RtlGetVersion(), RtlInitLargeUnicodeString(), RtlInitUnicodeString(), RtlInitUnicodeStringEx(), RtlInstallFunctionTableCallback(), RtlIpv6AddressToStringA(), RtlpCollapsePath(), RtlQueryActivationContextApplicationSettings(), RtlQueryEnvironmentVariable_U(), RtlQueryInformationActivationContext(), RtlSetEnvironmentVariable(), RtlSetTimeZoneInformation(), RunControlPanelApplet(), RunTestCases(), SacPutString(), CHString::SafeStrlen(), SampCreateDbObject(), SampOpenDbObject(), SampSetupCreateAliasAccount(), SampSetupCreateDomain(), SampSetupCreateGroupAccount(), SampSetupCreateUserAccount(), COpenWithList::SaveApp(), SaveDefaultUserHive(), SaveGeoID(), SaveJob(), SavePropertiesDlg(), SaveSetting(), SaveSettings(), SaveSystemSettings(), SaveUserLocale(), ScanFoldersForDriver(), ScanForInfFile(), ScmCanonDriverImagePath(), ScmControlService(), ScmControlServiceEx(), ScmConvertToBootPathName(), ScmCreateManagerHandle(), ScmCreateNewServiceRecord(), ScmCreateOrReferenceServiceImage(), ScmEncryptPassword(), ScmGetServiceNameFromTag(), ScmLoadDriver(), ScmLogonService(), ScmReadDependencies(), ScmSetFailureActions(), ScmSetServiceGroup(), ScmSetServicePassword(), ScmUnloadDriver(), ScmWriteDependencies(), SdbpMatchLayer(), SdbpStrlen(), SdbRegisterDatabaseEx(), SdbUninstall(), search_directory(), search_dll_path(), SearchDriverRecursive(), sec_out_mcs_data(), SelectNode(), service_main(), service_mainW(), set_registry_entry(), SetAccountsDomainSid(), SetActiveComputerNameToRegistry(), SetAdministratorPassword(), SetAutoAdminLogon(), SetClassId(), SetComputerNameToRegistry(), COpenWithList::SetDefaultHandler(), SetDefaultPrinterW(), SetDesktopBackColor(), SetDeviceDetails(), SetEnvironmentStringsW(), SetFailedInstall(), SetFriendlyUrl(), SetGeoID(), setid_main(), SetLongDateFormat(), CFindFolder::SetNameOf(), CRegFolder::SetNameOf(), SetNewAccountName(), SetNTPServer(), SetParametersValues(), CShellLink::SetPath(), SetPrimaryDomain(), SetShortDateFormat(), SetShortDateSep(), CUIFBalloonWindow::SetText(), SETUP_CreateDevicesList(), SetupDiCreateDeviceInterfaceRegKeyW(), SetupDiGetDriverInfoDetailW(), SetupDiOpenDeviceInterfaceRegKey(), SetupDiOpenDeviceInterfaceW(), SetupInitializeFileLogW(), SetupLdrScanBootDrivers(), SetupQueueCopyWithCab(), SetupQueueDeleteW(), SetupQueueRenameW(), SH_FormatFileSizeWithBytes(), SHELL_ArgifyW(), SHELL_BuildEnvW(), SHELL_CacheComputerDescription(), SHELL_DupSZZ(), SHELL_FindExecutable(), ShowCreateShortcutWizard(), ShowItemError(), ShowPartitionSizeInputBox(), ShowSoundScheme(), ShowStepError(), CUIFToolTip::ShowTip(), SHRegGetCLSIDKeyW(), SIC_IconAppend(), SmpConfigureExcludeKnownDlls(), SmpConfigureObjectDirectories(), SmpConfigureSubSystems(), SmpCreateDynamicEnvironmentVariables(), SockGetTdiName(), SockLoadHelperDll(), SockLoadTransportMapping(), SoftModalMessageBox(), SoundsDlgProc(), SpiStoreSz(), SpiStoreSzInt(), START_TEST(), StartInstaller(), StartNetworkServices(), StartScreenSaver(), StorageCoInstaller(), StoreConnectionInfo(), StrAryCpyHeapAllocWToA(), StrCpyHeapAllocW(), strdupW(), Stream_WriteString(), StreamingDeviceSetupW(), string_to_hex(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::StringLength(), dbgrpt_char_traits< wchar_t >::StringLength(), StringListAppend(), StrNCatBuff(), StrStrCase(), StrW2AHeapAlloc(), Substitute(), SuggestKeys(), SvchostCharLowerW(), SZZ_GetSize(), test2(), test_child_env(), Test_CommandLine(), test_DataTags(), Test_File(), Test_GetDisplayNameOf(), Test_GetFiles(), test_GetInterfaceName(), Test_IoGetDeviceInterfaces(), test_NameToStrConversionW_(), Test_NetworkShare(), test_NhGetInterfaceNameFromDeviceGuid(), test_NhGetInterfaceNameFromGuid(), test_PropVariantToBSTR(), Test_QueryDosVolumePaths(), Test_QueryPoints(), test_quoted_RDN(), test_Sid_Null(), test_specialhandling(), test_swprintf(), test_UrlApplyScheme(), test_UrlCanonicalizeW(), test_UrlGetPart(), test_UrlUnescape(), test_wcstok(), test_winclassinfo(), test_wstrdate(), test_wstrtime(), TestBuffers(), testCharPrevA(), testCharPrevW(), TestClassRedirection(), TestCommandLine(), TestDefaultLanguage(), TestDescription(), testDynCharPrev(), TestHDROP(), TestMyEventProvider(), TestRelativeNames(), TestUninitialized(), TimeToMsString(), TiWriteErrorLog(), TransformView_add_column(), TransformView_Create(), TransformView_delete_row(), TransformView_set_row(), TranslateMachineInformationXML(), TreeView_SetBOOLCheck(), TreeWndNotifyProc(), TrimDmiStringW(), TrimGuidString(), TrimLeftRightWhitespace(), TrimNulls(), TrimPunctuation(), TUIDisplayStatusMessage(), tzset_from_environment_nolock(), UDFGetCfgParameter(), UnhandledExceptionFilter(), UnicodeToAnsi(), UnicodeToAnsiInPlace(), UniqueIdDisk(), UnloadAppInitDlls(), update_threadlocinfo_category(), UpdateAddress(), UpdateCaretBlinkTimeReg(), UpdateCaretPos(), UpdateDriverForPlugAndPlayDevicesW(), UpdateLanStatus(), UpdateRegistryString(), UpdateStatusBar(), UpdateUsersShellFolderSettings(), UrlCanonicalizeW(), USBAudioInitComponentId(), USBCCGP_PdoAppendInterfaceNumber(), USBCCGP_PdoHandleQueryDeviceText(), USBCCGP_PdoHandleQueryId(), USBH_PdoQueryDeviceText(), USBHUB_DumpingIDs(), USBPORT_DumpingIDs(), USBPORT_PdoPnP(), USBSTOR_HandleQueryProperty(), USBSTOR_PdoHandleQueryInstanceId(), User32DoImeHelp(), UserEnumDisplayDevices(), UserLoadKbdFile(), UserLpkPSMTextOut(), UserpFormatMessages(), UserpGetClientFileName(), UTF8EncodeAndSend(), ValidateDeviceName(), ValidateGuidString(), VariantToString(), verify_str_imp(), VerifyDNSSuffix(), VersionInfo32_QueryValue(), wcsistr_plus(), wcsrep(), WCSToMBEx(), wcstombs(), WdmAudGetDeviceInterface(), WdmAudOpenSysAudioDeviceInterfaces(), WdmAudOpenSysAudioDevices(), wenv_get_index(), WhereFindByDirs(), WhereSearchFiles(), WhoamiGroups(), WhoamiPrintHeader(), WhoamiPrintTable(), WhoamiSetTable(), wine_dbgstr_wn(), WinLdrAddDriverToList(), WlanConnect(), WlStrDup(), WlxActivateUserShell(), wmain(), wputenv_helper(), WriteComputerSettings(), WriteDefaultLogonData(), WriteJobShadowFile(), WriteKeysSettings(), WriteOwnerSettings(), WriteParameterArray(), WritePortSettings(), WriteRdpFile(), WriteStartupRecoveryOptions(), WriteStringAt(), WriteToLogPrintfV(), WriteToLogPuts(), WriteUserLocale(), WSPAddressToString(), WSPStringToAddress(), and wWinMain().

◆ wcsnlen()