Lines Matching refs:mData
34 : mData((char *)kEmptyString),
40 : mData(NULL),
47 : mData(NULL),
54 : mData(NULL),
61 : mData(NULL),
68 : mData(NULL),
91 return mData;
111 setTo(from.mData + offset, n);
115 if (mData && mData != kEmptyString) {
116 free(mData);
117 mData = NULL;
120 mData = (char *)kEmptyString;
128 x = (x * 31) + mData[i];
135 return mSize == other.mSize && !memcmp(mData, other.mData, mSize);
142 while (i < mSize && isspace(mData[i])) {
147 while (j > i && isspace(mData[j - 1])) {
151 memmove(mData, &mData[i], j - i);
153 mData[mSize] = '\0';
162 memmove(&mData[start], &mData[start + n], mSize - start - n);
164 mData[mSize] = '\0';
168 if (mData == kEmptyString) {
169 mData = strdup(kEmptyString);
182 mData = (char *)realloc(mData, mAllocSize);
183 CHECK(mData != NULL);
186 memcpy(&mData[mSize], s, size);
188 mData[mSize] = '\0';
265 const char *match = strstr(mData + start, substring);
271 return match - mData;
286 mData = (char *)realloc(mData, mAllocSize);
287 CHECK(mData != NULL);
290 memmove(&mData[insertionPos + size],
291 &mData[insertionPos], mSize - insertionPos + 1);
293 memcpy(&mData[insertionPos], from, size);
307 return strcmp(mData, other.mData);
311 return strcasecmp(mData, other.mData);
322 mData[i] = ::tolower(mData[i]);
327 return !strncmp(mData, prefix, strlen(prefix));
337 return !strcmp(mData + mSize - suffixLen, suffix);
341 return !strncasecmp(mData, prefix, strlen(prefix));
351 return !strcasecmp(mData + mSize - suffixLen, suffix);
364 err = parcel->write(mData, mSize);