Subversion Repositories Kolibri OS

Rev

Rev 7878 | Rev 7945 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7878 Rev 7941
Line 489... Line 489...
489
LS2: XOR EAX, EAX
489
LS2: XOR EAX, EAX
490
LS3:
490
LS3:
491
  }
491
  }
492
}
492
}
Line -... Line 493...
-
 
493
 
-
 
494
inline int strnum(dword haystack, needle)
-
 
495
{
-
 
496
	int count = 0;
-
 
497
	int needle_len = strlen(needle);
-
 
498
	loop() {
-
 
499
		if (! haystack = strstr(haystack, needle)) break;
-
 
500
		haystack+=needle_len;
-
 
501
		count++;
-
 
502
	}
-
 
503
	return count;
-
 
504
}
493
 
505
 
494
inline signed int strcmpi(dword cmp1, cmp2)
506
inline signed int strcmpi(dword cmp1, cmp2)
495
{
507
{
Line 496... Line 508...
496
    char si, ue;
508
    char si, ue;