Home
last modified time | relevance | path

Searched refs:NameLen (Results 1 – 18 of 18) sorted by relevance

/reactos/dll/win32/comctl32/
H A Dhotkey.c138 WORD NameLen = 0; in HOTKEY_Refresh() local
160 NameLen += 3; in HOTKEY_Refresh()
164 &KeyName[NameLen], 64 - NameLen); in HOTKEY_Refresh()
165 NameLen = lstrlenW(KeyName); in HOTKEY_Refresh()
167 NameLen += 3; in HOTKEY_Refresh()
171 &KeyName[NameLen], 64 - NameLen); in HOTKEY_Refresh()
172 NameLen = lstrlenW(KeyName); in HOTKEY_Refresh()
174 NameLen += 3; in HOTKEY_Refresh()
178 GetKeyNameTextW(infoPtr->ScanCode, &KeyName[NameLen], 64 - NameLen); in HOTKEY_Refresh()
179 NameLen = lstrlenW(KeyName); in HOTKEY_Refresh()
[all …]
/reactos/dll/win32/dnsapi/
H A Dquery.c478 size_t NameLen, i; in DnsQuery_W() local
502 NameLen = wcslen(Name); in DnsQuery_W()
503 if (Name[0] == L'-' || Name[0] == L'_' || Name[NameLen - 1] == L'-' || in DnsQuery_W()
504 Name[NameLen - 1] == L'_' || wcsstr(Name, L"..") != NULL) in DnsQuery_W()
510 while (i < NameLen) in DnsQuery_W()
673 size_t NameLen = 0; in Query_Main() local
686 NameLen = WideCharToMultiByte(CP_ACP, in Query_Main()
694 AnsiName = RtlAllocateHeap(RtlGetProcessHeap(), 0, NameLen); in Query_Main()
704 NameLen, in Query_Main()
707 NameLen--; in Query_Main()
[all …]
/reactos/base/applications/network/netstat/
H A Dnetstat.h55 PCHAR GetPortName(UINT Port, PCSTR Proto, CHAR Name[], INT NameLen);
56 PCHAR GetIpHostName(BOOL Local, UINT IpAddr, CHAR Name[], INT NameLen);
H A Dnetstat.c519 GetPortName(UINT Port, PCSTR Proto, CHAR Name[], INT NameLen) in GetPortName() argument
540 GetIpHostName(BOOL Local, UINT IpAddr, CHAR Name[], INT NameLen) in GetIpHostName() argument
567 if (gethostname(Name, NameLen) != 0) in GetIpHostName()
572 if (gethostname(Name, NameLen) != 0) in GetIpHostName()
/reactos/drivers/filesystems/ext2/src/
H A Ddirctl.c429 USHORT NameLen; in Ext2FillEntry() local
453 NameLen = (USHORT)Ext2OEMToUnicodeSize(Vcb, &Oem); in Ext2FillEntry()
454 if (NameLen <= 0) { in Ext2FillEntry()
460 Unicode.MaximumLength = NameLen + 2; in Ext2FillEntry()
548 USHORT NameLen; in Ext2QueryDirectory() local
863 NameLen = (USHORT) Ext2OEMToUnicodeSize(Vcb, &Oem); in Ext2QueryDirectory()
865 if (NameLen <= 0) { in Ext2QueryDirectory()
872 if ( Unicode.Buffer != NULL && Unicode.MaximumLength > NameLen) { in Ext2QueryDirectory()
882 Unicode.MaximumLength = NameLen + 2; in Ext2QueryDirectory()
/reactos/modules/rosapps/applications/rosinternals/nfi/
H A Dnfi.c156 ULONG NameLen; member
205 CacheEntry->NameLen = Length; in AddToCache()
306 Length = CacheEntry->NameLen / sizeof(WCHAR); in PrintPrettyName()
307 CopyMemory(Display, CacheEntry->Name, CacheEntry->NameLen); in PrintPrettyName()
/reactos/base/applications/cmdutils/eventcreate/
H A Deventcreate.c277 DWORD NameLen; in CheckLogOrSourceExistence() local
341 NameLen = ARRAYSIZE(LogName); in CheckLogOrSourceExistence()
344 lRet = RegEnumKeyExW(hEventLogKey, dwIndex, LogName, &NameLen, in CheckLogOrSourceExistence()
/reactos/dll/win32/dbghelp/
H A Dtype.c488 sym_info->NameLen = min(strlen(tmp),sym_info->MaxNameLen-1); in SymEnumTypes()
489 memcpy(sym_info->Name, tmp, sym_info->NameLen); in SymEnumTypes()
490 sym_info->Name[sym_info->NameLen] = '\0'; in SymEnumTypes()
493 sym_info->Name[sym_info->NameLen = 0] = '\0'; in SymEnumTypes()
H A Dsymbol.c727 ((sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name, in symt_fill_sym_info()
730 sym_info->NameLen = min(strlen(name), sym_info->MaxNameLen - 1); in symt_fill_sym_info()
731 memcpy(sym_info->Name, name, sym_info->NameLen); in symt_fill_sym_info()
732 sym_info->Name[sym_info->NameLen] = '\0'; in symt_fill_sym_info()
1044 siw->NameLen = si->NameLen; in copy_symbolW()
H A Dcompat.h1050 ULONG NameLen; member
1370 ULONG NameLen; member
/reactos/sdk/tools/rsym/
H A Drsym.c243 ULONG NameLen; in ConvertStabs() local
326 NameLen = strcspn(Name, ":"); in ConvertStabs()
327 if (sizeof(FuncName) <= NameLen) in ConvertStabs()
333 memcpy(FuncName, Name, NameLen); in ConvertStabs()
334 FuncName[NameLen] = '\0'; in ConvertStabs()
/reactos/drivers/filesystems/mup/
H A Dmup.c864 ULONG StrLen, NameLen; in AddUnregisteredProvider() local
867 NameLen = wcslen(DeviceName); in AddUnregisteredProvider()
868 StrLen = NameLen * sizeof(WCHAR); in AddUnregisteredProvider()
903 ULONG NameLen, StrLen, ResultLength; in InitializeProvider() local
906 NameLen = wcslen(ProviderName); in InitializeProvider()
907 …StrLen = NameLen * sizeof(WCHAR) + sizeof(L"\\Registry\\Machine\\System\\CurrentControlSet\\Servic… in InitializeProvider()
/reactos/dll/win32/mswsock/
H A Dstubs.c340 sethostname(char *Name, int NameLen) in sethostname() argument
/reactos/base/shell/cmd/
H A Dcmd.c1373 UINT NameLen; in SubstituteVar() local
1374 Var = GetBatchVar(Src, &NameLen); in SubstituteVar()
1387 Src += NameLen; in SubstituteVar()
/reactos/base/applications/network/ipconfig/
H A Dipconfig.c334 DWORD NameLen = 9; in PrintAdapterDescription() local
339 &NameLen, in PrintAdapterDescription()
/reactos/drivers/filesystems/nfs/
H A Dnfs41_driver.c2855 size_t NameLen; local
2860 NameLen = Option->EaNameLength/sizeof(WCHAR);
2866 if (wcsncmp(L"ro", Name, NameLen) == 0) {
2870 else if (wcsncmp(L"writethru", Name, NameLen) == 0) {
2874 else if (wcsncmp(L"nocache", Name, NameLen) == 0) {
2878 else if (wcsncmp(L"timeout", Name, NameLen) == 0) {
2883 else if (wcsncmp(L"rsize", Name, NameLen) == 0) {
2888 else if (wcsncmp(L"wsize", Name, NameLen) == 0) {
2893 else if (wcsncmp(L"srvname", Name, NameLen) == 0) {
2899 else if (wcsncmp(L"mntpt", Name, NameLen) == 0) {
[all …]
/reactos/sdk/include/psdk/
H A Ddbghelp.h1153 ULONG NameLen; member
1172 ULONG NameLen; member
/reactos/modules/rostests/winetests/advapi32/
H A Dsecurity.c1932 DWORD NameLen = sizeof(Name)/sizeof(Name[0]); in test_token_attr() local
1933 LookupPrivilegeNameA(NULL, &Privileges->Privileges[i].Luid, Name, &NameLen); in test_token_attr()