#include "FirstIncludes.h"
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <string.h>
#include "MemoryDebug.h"
#include "KKQueue.h"
#include "KKStr.h"
#include "KKException.h"
#include "KKStrParser.h"
#include "RunLog.h"
#include "XmlStream.h"
Go to the source code of this file.
|
| kkint32 | LocateLastOccurrence (const char *str, char ch) |
| |
| kkint32 | MemCompare (const char *s1, const char *s2, kkint32 s1Idx, kkint32 s2Idx, kkint32 len) |
| |
| kkint32 | SearchStr (const char *src, kkint32 srcLen, kkint32 startPos, const char *srchStr, kkint32 srchStrLen) |
| |
| void | Test2 (ostream &x1, const char *x2) |
| |
| kkint32 LocateLastOccurrence |
( |
const char * |
str, |
|
|
char |
ch |
|
) |
| |
Definition at line 4791 of file KKStr.cpp.
Referenced by KKB::StrFormatDouble().
4799 size_t len = strlen (str);
4800 size_t idx = len - 1;
4802 while ((idx >= 0) && (!found))
Definition at line 3907 of file KKStr.cpp.
Referenced by KKB::KKStr::Find().
3914 if ((!src) || (!srchStr))
3917 kkint32 numIter = (srcLen - (startPos + srchStrLen - 1));
3918 const char* startCh = src + startPos;
3921 for (x = 0; x < numIter; ++x, ++startCh)
3923 if (strncmp (startCh, srchStr, srchStrLen) == 0)
3924 return startPos + x;
| void Test2 |
( |
ostream & |
x1, |
|
|
const char * |
x2 |
|
) |
| |