Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/reactos/dll/directx/wine/d3dcompiler_43/
H A Dasmshader.l348 if(yytext[strlen("_position")] == '\0') {
372 if(yytext[strlen("_normal")] == '\0') {
380 if(yytext[strlen("_psize")] == '\0') {
388 if(yytext[strlen("_texcoord")] == '\0') {
396 if(yytext[strlen("_tangent")] == '\0') {
404 if(yytext[strlen("_binormal")] == '\0') {
420 if(yytext[strlen("_positiont")] == '\0') {
428 if(yytext[strlen("_color")] == '\0') {
436 if(yytext[strlen("_fog")] == '\0') {
444 if(yytext[strlen("_depth")] == '\0') {
[all …]
/reactos/modules/rostests/drivers/ntoskrnl/
H A DIoEaTest.cpp240 WinEaBuffer->EaNameLength = (UCHAR)strlen(WinEaBuffer->EaName); in _tmain()
248 ROSEaBuffer->EaNameLength = (UCHAR)strlen(ROSEaBuffer->EaName); in _tmain()
266 WinEaBuffer->EaNameLength = (UCHAR)strlen(WinEaBuffer->EaName); in _tmain()
275 ROSEaBuffer->EaNameLength = (UCHAR)strlen(ROSEaBuffer->EaName); in _tmain()
298 WinEaBuffer->EaNameLength = (UCHAR)strlen(WinEaBuffer->EaName); in _tmain()
308 ROSEaBuffer->EaNameLength = (UCHAR)strlen(ROSEaBuffer->EaName); in _tmain()
361 WinEaBuffer->EaNameLength = (UCHAR)strlen(WinEaBuffer->EaName); in _tmain()
362 WinEaBuffer->EaValueLength = (UCHAR)strlen(WinEaBuffer->EaName); in _tmain()
372 ROSEaBuffer->EaNameLength = (UCHAR)strlen(ROSEaBuffer->EaName); in _tmain()
462 WinEaBuffer->EaNameLength = (UCHAR)strlen(WinEaBuffer->EaName); in _tmain()
[all …]
/reactos/modules/rostests/dibtests/icontest/
H A Dicontest.c108 TextOut(hDC, 160, 10, file, strlen(file)); in MainWndProc()
109 TextOut(hDC, 15, 85, titleDrwIco, strlen(titleDrwIco)); in MainWndProc()
110 TextOut(hDC, 160, 85, titleMask, strlen(titleMask)); in MainWndProc()
111 TextOut(hDC, 300, 85, titleXor, strlen(titleXor)); in MainWndProc()
128 TextOut(hDC, 145, 150, res, strlen(res)); in MainWndProc()
129 TextOut(hDC, 15, 225, titleDrwIco, strlen(titleDrwIco)); in MainWndProc()
130 TextOut(hDC, 160, 225, titleMask, strlen(titleMask)); in MainWndProc()
131 TextOut(hDC, 300, 225, titleXor, strlen(titleXor)); in MainWndProc()
152 TextOut(hDC, 160, 290, cursor, strlen(cursor)); in MainWndProc()
155 TextOut(hDC, 15, 365, titleDrwIco, strlen(titleDrwIco)); in MainWndProc()
[all …]
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Dprintercache.c44 path = (char *) xmalloc(strlen(base) + sizeof("/.rdesktop/rdpdr/") + strlen(printer) + 1); in printercache_mkdir()
88 path = (char *) xmalloc(strlen(home) + sizeof("/.rdesktop/rdpdr/") + strlen(printer) + in printercache_unlink_blob()
129 (strlen(printer) > in printercache_rename_blob()
130 strlen(new_printer) ? strlen(printer) : strlen(new_printer)) + strlen(home) + in printercache_rename_blob()
169 path = (char *) xmalloc(strlen(home) + sizeof("/.rdesktop/rdpdr/") + strlen(printer_name) + in printercache_load_blob()
210 path = (char *) xmalloc(strlen(home) + sizeof("/.rdesktop/rdpdr/") + strlen(printer_name) + in printercache_save_blob()
/reactos/modules/rostests/tests/guithreadinfo/
H A Dguithreadinfo.c93 TextOut(hDC, 10, 10, str, strlen(str)); in MainWndProc()
96 TextOut(hDC, 10, 30, str, strlen(str)); in MainWndProc()
98 TextOut(hDC, 10, 50, str, strlen(str)); in MainWndProc()
100 TextOut(hDC, 10, 70, str, strlen(str)); in MainWndProc()
102 TextOut(hDC, 10, 90, str, strlen(str)); in MainWndProc()
104 TextOut(hDC, 10, 110, str, strlen(str)); in MainWndProc()
106 TextOut(hDC, 10, 130, str, strlen(str)); in MainWndProc()
108 TextOut(hDC, 10, 150, str, strlen(str)); in MainWndProc()
111 TextOut(hDC, 10, 180, str, strlen(str)); in MainWndProc()
113 TextOut(hDC, 10, 200, str, strlen(str)); in MainWndProc()
[all …]
/reactos/base/applications/network/nslookup/
H A Dnslookup.c92 if( (strlen( pAddr ) + 1) > 255 ) return FALSE; in PerformInternalLookup()
109 BufferLength = 12 + (strlen( pResolve ) + 2) + 4; in PerformInternalLookup()
159 for( k = 0; k < strlen( pResolve ); k += 1 ) in PerformInternalLookup()
253 if( (strlen( pAddr ) + 1) > 255 ) return; in PerformLookup()
280 BufferLength = 12 + (strlen( pResolve ) + 2) + 4; in PerformLookup()
330 for( k = 0; k < strlen( pResolve ); k += 1 ) in PerformLookup()
523 if( !strncmp( TypeA, &argv[i][6], strlen( TypeA ) ) ) in ParseCommandLine()
543 else if( !strncmp( TypeMX, &argv[i][6], strlen( TypeMX ) ) ) in ParseCommandLine()
547 else if( !strncmp( TypeNS, &argv[i][6], strlen( TypeNS ) ) ) in ParseCommandLine()
587 if( !strncmp( TypeA, &argv[i][11], strlen( TypeA ) ) ) in ParseCommandLine()
[all …]
/reactos/modules/rostests/winetests/ntdll/
H A Denv.c95 name.Length = strlen(test->var) * 2; in testQuery()
103 pRtlMultiByteToUnicodeN( bn, sizeof(bn), NULL, test->var, strlen(test->var)+1 ); in testQuery()
120 ok( value.Length == strlen(test->val) * sizeof(WCHAR), in testQuery()
134 uvar.Length = strlen(var) * sizeof(WCHAR); in testSetHelper()
137 pRtlMultiByteToUnicodeN( bvar, sizeof(bvar), NULL, var, strlen(var)+1 ); in testSetHelper()
140 uval.Length = strlen(val) * sizeof(WCHAR); in testSetHelper()
143 pRtlMultiByteToUnicodeN( bval1, sizeof(bval1), NULL, val, strlen(val)+1 ); in testSetHelper()
238 us_src.Length = strlen(test->src) * sizeof(WCHAR); in testExpand()
248 ok(ul == strlen(test->dst) * sizeof(WCHAR) + sizeof(WCHAR), in testExpand()
259 ok(ul == strlen(test->dst) * sizeof(WCHAR) + sizeof(WCHAR), in testExpand()
[all …]
/reactos/modules/rosapps/applications/net/dhcpd/src/display/
H A Ddisplay.c26 mtype = (char *)malloc( strlen( "DHCPDISCOVER" ) +1); in display_dhcp_packet()
30 mtype = (char *)malloc( strlen( "DHCPREQUEST" ) +1); in display_dhcp_packet()
34 mtype = (char *)malloc( strlen( "DHCPACK" ) +1); in display_dhcp_packet()
38 mtype = (char *)malloc( strlen( "DHCPNAK" ) +1); in display_dhcp_packet()
42 mtype = (char *)malloc( strlen( "DHCPRELEASE" ) +1); in display_dhcp_packet()
46 mtype = (char *)malloc( strlen( "DHCPDECLINE" ) +1); in display_dhcp_packet()
50 mtype = (char *)malloc( strlen( "DHCPOFFER" ) +1); in display_dhcp_packet()
54 mtype = (char *)malloc( strlen("Unknown Type") +1); in display_dhcp_packet()
/reactos/dll/3rdparty/libtirpc/src/
H A Dclnt_perror.c88 i = strlen(str);
94 i = strlen(str);
117 i = strlen(str);
127 i = strlen(str);
137 i = strlen(str);
149 i = strlen(str);
159 i = strlen(str);
169 i = strlen(str);
253 i = strlen(str);
266 i = strlen(str);
H A Dnetname.c114 if (strlen(domain) + 1 + INT_STRLEN_MAXIMUM(u_long) + 1 + strlen(OPSYS) > MAXNETNAMELEN) {
144 if (strlen(domain) + 1 + strlen(host) + 1 + strlen(OPSYS) > MAXNETNAMELEN) {
/reactos/modules/rostests/winetests/shlwapi/
H A Dshreg.c98 nExpectedLen1 = strlen(sTestpath1) - strlen("%LONGSYSTEMVAR%") + strlen(sEnvvar1) + 1; in create_test_entries()
99 nExpectedLen2 = strlen(sTestpath2) - strlen("%FOO%") + strlen(sEnvvar2) + 1; in create_test_entries()
212 nUsedBuffer1 = max(strlen(sExpTestpath1)+1, strlen(sTestpath1)+1); in test_SHQueryValueEx()
213 nUsedBuffer2 = max(strlen(sExpTestpath2)+1, strlen(sTestpath2)+1); in test_SHQueryValueEx()
244 broken(dwSize == (strlen(sTestpath2) + 1)), /* < IE4.x */ in test_SHQueryValueEx()
272 broken(dwSize == (strlen(sTestpath2) + 1)), /* < IE6 */ in test_SHQueryValueEx()
285 dwSize = strlen(sEnvvar2) - 2; in test_SHQueryValueEx()
300 broken(dwSize == (strlen("") + 1)), /* < IE 5.5 */ in test_SHQueryValueEx()
327 broken(dwSize == (strlen(sEnvvar2) + 1)) || /* IE4.01 SP1 (W98) and IE5 (W98SE) */ in test_SHQueryValueEx()
328 broken(dwSize == (strlen("") + 1)), /* IE4.01 (NT4) and IE5.x (W2K) */ in test_SHQueryValueEx()
[all …]
/reactos/modules/rostests/winetests/kernel32/
H A Denviron.c108 ok(ret_size == strlen(value) + 1, in test_GetSetEnvironmentVariableA()
114 ok(ret_size == strlen(value) + 1, in test_GetSetEnvironmentVariableA()
120 ok(ret_size == strlen(value), in test_GetSetEnvironmentVariableA()
126 ok(ret_size == strlen(value), in test_GetSetEnvironmentVariableA()
149 ok(ret_size == strlen(value), in test_GetSetEnvironmentVariableA()
310 ok(ret_size == strlen(value)+1 || ret_size == strlen(value)+2 || in test_ExpandEnvironmentStringsA()
318 ok(ret_size == strlen(value)+1 || ret_size == strlen(value)+2 || in test_ExpandEnvironmentStringsA()
326 ok(ret_size == strlen(value)+1 || ret_size == strlen(value)+2 || in test_ExpandEnvironmentStringsA()
335 ok(ret_size == strlen(not_an_env_var)+1 || in test_ExpandEnvironmentStringsA()
358 ok(ret_size == strlen(buf2)+1 || in test_ExpandEnvironmentStringsA()
[all …]
/reactos/sdk/lib/ucrt/string/i386/
H A Dstrlen.asm2 title strlen - return the length of a null-terminated string
4 ;strlen.asm - contains strlen() routine
9 ; strlen returns the length of a null-terminated string,
20 ;strlen - return the length of a null-terminated string
27 ; int strlen (const char * str)
52 public strlen
54 strlen proc \
123 strlen endp
/reactos/base/services/tftpd/
H A Dtftpd.cpp672 if (!strlen(req.filename) || strlen(req.filename) > UCHAR_MAX) in processRequest()
683 inPtr += strlen(inPtr) + 1; in processRequest()
686 if (!strlen(req.mode) || strlen(req.mode) > 25) in processRequest()
697 inPtr += strlen(inPtr) + 1; in processRequest()
724 if (strlen(cfig.homes[0].target) + strlen(req.filename) >= sizeof(req.path)) in processRequest()
767 if (strlen(cfig.homes[i].target) + strlen(bname) >= sizeof(req.path)) in processRequest()
1637 buff += strlen(buff) + 1; in myGetToken()
1788 MYWORD len = strlen(string); in myUpper()
1798 MYWORD len = strlen(string); in myLower()
1884 if (strlen(value)) in init()
[all …]
/reactos/modules/rostests/winetests/setupapi/
H A Ddialog.c46 ok(length == strlen(path)+1, "Expect length %u, got %u\n", (DWORD)strlen(path) + 1, length); in test_SetupPromptForDiskA()
52 ok(length == strlen(path)+1, "Expect length %u, got %u\n", (DWORD)strlen(path) + 1, length); in test_SetupPromptForDiskA()
59 …ret = SetupPromptForDiskA(0, "Test", "Testdisk", path, file, 0, IDF_CHECKFIRST, buffer, strlen(pat… in test_SetupPromptForDiskA()
63 …ret = SetupPromptForDiskA(0, "Test", "Testdisk", path, file, 0, IDF_CHECKFIRST, buffer, strlen(pat… in test_SetupPromptForDiskA()
65 ok(length == strlen(path)+1, "Expect length %u, got %u\n", (DWORD)strlen(path) + 1, length); in test_SetupPromptForDiskA()
/reactos/sdk/lib/ucrt/string/amd64/
H A Dstrlen.asm2 title strlen - return the length of a null-terminated string
4 ;strlen.asm - contains strlen() routine
9 ; strlen returns the length of a null-terminated string,
16 ;strlen - return the length of a null-terminated string
23 ; int strlen (const char * str)
46 LEAF_ENTRY_ARG1 strlen, _TEXT, buf:ptr byte
129 LEAF_END strlen, _TEXT
/reactos/sdk/lib/3rdparty/adns/client/
H A Dadh-opts.c144 if (oip->sopt) { l= strlen(oip->sopt); if (l>maxsopt) maxsopt= l; } in printusage()
146 l= strlen(oip->lopt); in printusage()
191 (strlen(oip->sopt) + strlen(oip->lopt) + 2*strlen(oip->argdesc))); in printusage()
198 (strlen(oip->lopt) + strlen(oip->argdesc))); in printusage()
208 (strlen(oip->lopt) + strlen(oip->argdesc) + strlen(oip->argdesc2))); in printusage()
300 l= strlen(sopt); in oc_short()
/reactos/dll/win32/riched20/
H A Dwriter.c423 sprintf(props + strlen(props), "\\brdrs"); in ME_StreamOutRTFTableProps()
426 sprintf(props + strlen(props), "\\brdrcf%u", idx); in ME_StreamOutRTFTableProps()
451 sprintf(props + strlen(props), "\\brdrs"); in ME_StreamOutRTFTableProps()
454 sprintf(props + strlen(props), "\\brdrcf%u", idx); in ME_StreamOutRTFTableProps()
673 sprintf(props + strlen(props), "\\li%d", fmt->dxOffset); in ME_StreamOutRTFParaProps()
707 sprintf(props + strlen(props), "\\s%d", fmt->sStyle); in ME_StreamOutRTFParaProps()
771 sprintf(props + strlen(props), "\\highlight%u", i); in ME_StreamOutRTFCharProps()
778 sprintf(props + strlen(props), "\\cf%u", i); in ME_StreamOutRTFCharProps()
798 sprintf(props + strlen(props), "\\up%d", fmt->yOffset); in ME_StreamOutRTFCharProps()
800 sprintf(props + strlen(props), "\\dn%d", -fmt->yOffset); in ME_StreamOutRTFCharProps()
[all …]
/reactos/sdk/lib/ucrt/time/
H A Dstrftime.cpp25 length += strlen(time_data->wday_abbr[n]) + strlen(time_data->wday[n]) + 2; in _Getdays_l()
38 it += strlen(it); in _Getdays_l()
41 it += strlen(it); in _Getdays_l()
63 length += strlen(time_data->month_abbr[n]) + strlen(time_data->month[n]) + 2; in _Getmonths_l()
75 it += strlen(it); in _Getmonths_l()
78 it += strlen(it); in _Getmonths_l()
/reactos/modules/rostests/winetests/wininet/
H A Durl.c207 size_t buf_len = strlen(test->url); in test_crack_url()
1029 urlComp.dwSchemeLength = strlen(urlComp.lpszScheme); in InternetCreateUrlA_test()
1030 len = strlen(CREATE_URL6) + 1; in InternetCreateUrlA_test()
1040 urlComp.dwSchemeLength = strlen(urlComp.lpszScheme); in InternetCreateUrlA_test()
1067 len = strlen(CREATE_URL1); in InternetCreateUrlA_test()
1092 len = strlen(CREATE_URL8); in InternetCreateUrlA_test()
1107 len = strlen(CREATE_URL9); in InternetCreateUrlA_test()
1122 len = strlen(CREATE_URL10); in InternetCreateUrlA_test()
1136 len = strlen(CREATE_URL11); in InternetCreateUrlA_test()
1153 len = strlen(CREATE_URL12); in InternetCreateUrlA_test()
[all …]
/reactos/base/applications/network/telnet/src/
H A Dtnerror.cpp64 strlen(it), // number of characters to write in printit()
76 strlen(it), // number of characters to write in printit()
212 buf = new char [ 3 + strlen(szTime) - 11 + strlen(szErrorString) + 5 ]; in LogErrorConsole()
245 buf = new char [ 3 + strlen(szTime) - 11 + strlen(szWarningString) + 5 ]; in LogWarningConsole()
271 buf = new char [ 3 + strlen(szTime) - 11 + strlen(szInfoString) + 5 ]; in LogInfoConsole()
/reactos/drivers/bus/acpi/acpica/utilities/
H A Dutnonansi.c194 if (strlen (Source) >= DestSize) in AcpiUtSafeStrcpy()
210 if ((strlen (Dest) + strlen (Source)) >= DestSize) in AcpiUtSafeStrcat()
229 ActualTransferLength = ACPI_MIN (MaxTransferLength, strlen (Source)); in AcpiUtSafeStrncat()
231 if ((strlen (Dest) + ActualTransferLength) >= DestSize) in AcpiUtSafeStrncat()
/reactos/modules/rostests/tests/winhello/
H A Dwinhello.c139 TextOut(hDC, 400, 10, "WM_CHAR:", strlen("WM_CHAR:")); in MainWndProc()
142 TextOut(hDC, 530, 10, text, strlen(text)); in MainWndProc()
195 TextOut(hDC, 530, 30, text, strlen(text)); in MainWndProc()
215 TextOut(hDC, 400, 50, "WM_KEYUP:", strlen("WM_KEYUP:")); in MainWndProc()
216 TextOut(hDC, 530, 50, text, strlen(text)); in MainWndProc()
382 TextOut(hDC,10,100,text,strlen(text)); in MainWndProc()
384 TextOut(hDC,10,120,text,strlen(text)); in MainWndProc()
400 TextOut(hDC,10,180,"Left",strlen("Left")); in MainWndProc()
487 TextOut(hDC,200,100,text,strlen(text)); in MainWndProc()
563 TextOut(hDC,400,100,text,strlen(text)); in MainWndProc()
[all …]
/reactos/modules/rostests/winetests/d3dcompiler_43/
H A Dasm.c61 hr = pD3DAssemble(tests[i].text, strlen(tests[i].text), NULL, in exec_tests()
1417 hr = pD3DAssemble(tests[i], strlen(tests[i]), NULL, in failure_test()
1469 && (!strncmp(include2, parent_data, strlen(include2)) in testD3DInclude_open()
1470 || !strncmp(include4, parent_data, strlen(include4))), in testD3DInclude_open()
1545 hr = pD3DAssemble(test1, strlen(test1), NULL, in assembleshader_test()
1557 hr = pD3DAssemble(test1, strlen(test1), NULL, in assembleshader_test()
1565 hr = pD3DAssemble(test1, strlen(test1), NULL, in assembleshader_test()
1652 hr = ppD3DPreprocess(test1, strlen(test1), NULL, in d3dpreprocess_test()
1664 hr = ppD3DPreprocess(test1, strlen(test1), NULL, in d3dpreprocess_test()
1671 hr = ppD3DPreprocess(test1, strlen(test1), NULL, in d3dpreprocess_test()
[all …]
/reactos/drivers/sac/driver/
H A Dconmgr.c525 (((strlen(InputBuffer) > 1) && (InputBuffer[2] == ' ')) || in ConMgrProcessInputLine()
526 (strlen(InputBuffer) == 2))) in ConMgrProcessInputLine()
531 (((strlen(InputBuffer) > 1) && (InputBuffer[1] == ' ')) || in ConMgrProcessInputLine()
532 (strlen(InputBuffer) == 1))) in ConMgrProcessInputLine()
537 (((strlen(InputBuffer) > 1) && (InputBuffer[1] == ' ')) || in ConMgrProcessInputLine()
538 (strlen(InputBuffer) == 1))) in ConMgrProcessInputLine()
543 (((strlen(InputBuffer) > 1) && (InputBuffer[1] == ' ')) || in ConMgrProcessInputLine()
544 (strlen(InputBuffer) == 1))) in ConMgrProcessInputLine()
550 (strlen(InputBuffer) == 1))) in ConMgrProcessInputLine()
556 (strlen(InputBuffer) == 1))) in ConMgrProcessInputLine()
[all …]

12345678910>>...41