Lines Matching refs:cstr
11 StringPtr c2p_strcpy(StringPtr pstr, const char* cstr)
13 size_t len = ::strlen(cstr);
15 BlockMoveData(cstr, pstr + 1, len);
20 char* p2c_strcpy(char* cstr, const StringPtr pstr)
23 BlockMoveData(pstr + 1, cstr, len);
24 cstr[len] = '\0';
25 return cstr;
31 char* cstr = new char[1 + len];
32 if (cstr != NULL) {
33 BlockMoveData(pstr + 1, cstr, len);
34 cstr[len] = '\0';
36 return cstr;