/frameworks/native/libs/utils/ |
D | String8.cpp | 142 : mString(getEmptyString()) in String8() 147 : mString(o.mString) in String8() 149 SharedBuffer::bufferFromData(mString)->acquire(); in String8() 153 : mString(allocFromUTF8(o, strlen(o))) in String8() 155 if (mString == NULL) { in String8() 156 mString = getEmptyString(); in String8() 161 : mString(allocFromUTF8(o, len)) in String8() 163 if (mString == NULL) { in String8() 164 mString = getEmptyString(); in String8() 169 : mString(allocFromUTF16(o.string(), o.size())) in String8() [all …]
|
D | String16.cpp | 95 : mString(getEmptyString()) in String16() 100 : mString(o.mString) in String16() 102 SharedBuffer::bufferFromData(mString)->acquire(); in String16() 106 : mString(getEmptyString()) in String16() 119 mString = str; in String16() 123 mString = getEmptyString(); in String16() 134 mString = str; in String16() 138 mString = getEmptyString(); in String16() 142 : mString(allocFromUTF8(o.string(), o.size())) in String16() 147 : mString(allocFromUTF8(o, strlen(o))) in String16() [all …]
|
/frameworks/native/include/utils/ |
D | String16.h | 113 const char16_t* mString; 137 return mString; in string() 142 return SharedBuffer::sizeFromData(mString)/sizeof(char16_t)-1; in size() 147 return SharedBuffer::bufferFromData(mString); in sharedBuffer() 171 return strzcmp16(mString, size(), other.mString, other.size()); in compare() 176 return strzcmp16(mString, size(), other.mString, other.size()) < 0; 181 return strzcmp16(mString, size(), other.mString, other.size()) <= 0; 186 return strzcmp16(mString, size(), other.mString, other.size()) == 0; 191 return strzcmp16(mString, size(), other.mString, other.size()) != 0; 196 return strzcmp16(mString, size(), other.mString, other.size()) >= 0; [all …]
|
D | String8.h | 220 const char* mString; variable 248 return mString; in string() 253 return SharedBuffer::sizeFromData(mString)-1; in length() 268 return SharedBuffer::sizeFromData(mString)-1; in bytes() 273 return SharedBuffer::bufferFromData(mString); in sharedBuffer() 316 return strcmp(mString, other.mString); in compare() 321 return strcmp(mString, other.mString) < 0; 326 return strcmp(mString, other.mString) <= 0; 331 return strcmp(mString, other.mString) == 0; 336 return strcmp(mString, other.mString) != 0; [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | WordIterator.java | 38 private String mString; field in WordIterator 63 mString = ((SpannableStringBuilder) charSequence).substring(mOffsetShift, windowEnd); in setCharSequence() 65 mString = charSequence.subSequence(mOffsetShift, windowEnd).toString(); in setCharSequence() 67 mIterator.setText(mString); in setCharSequence() 159 if (shiftedOffset >= 1 && shiftedOffset <= mString.length()) { in isAfterLetterOrDigit() 160 final int codePoint = mString.codePointBefore(shiftedOffset); in isAfterLetterOrDigit() 167 if (shiftedOffset >= 0 && shiftedOffset < mString.length()) { in isOnLetterOrDigit() 168 final int codePoint = mString.codePointAt(shiftedOffset); in isOnLetterOrDigit() 175 if (shiftedOffset < 0 || shiftedOffset > mString.length()) { in checkOffsetIsValid() 177 ". Valid range is [" + mOffsetShift + ", " + (mString.length() + mOffsetShift) + in checkOffsetIsValid()
|
/frameworks/native/libs/gui/ |
D | SyncFeatures.cpp | 58 mString.append("[using:"); in SyncFeatures() 60 mString.append(" EGL_ANDROID_native_fence_sync"); in SyncFeatures() 63 mString.append(" EGL_KHR_fence_sync"); in SyncFeatures() 66 mString.append(" EGL_KHR_wait_sync"); in SyncFeatures() 68 mString.append("]"); in SyncFeatures() 91 return mString; in toString()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLayoutTest.java | 29 protected String mString; field in TextLayoutTest 34 mString = "The quick brown fox"; in setUp() 40 Layout l = new StaticLayout(mString, mPaint, 200, in testStaticLayout() 47 Layout l = new DynamicLayout(mString, mPaint, 200, in testDynamicLayoutTest()
|
D | TextUtilsTest.java | 398 private CharSequence mString; field in TextUtilsTest.Wrapper 401 mString = s; in Wrapper() 405 return mString.length(); in length() 409 return mString.charAt(off); in charAt() 414 return mString.toString(); in toString() 418 return new Wrapper(mString.subSequence(start, end)); in subSequence()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewPerformanceTest.java | 33 private String mString = "The quick brown fox"; field in TextViewPerformanceTest 49 mLabelView.setText(mString); in setUp() 59 mTextView.setText(mString); in setUp() 80 CharSequence charSeq = new SpannedString(mString); in testSpan() 97 mCanvas.drawText(mString, 30, 30, mPaint); in testCanvasDrawText()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/ |
D | StringSource.java | 35 private String mString; field in StringSource 52 output.setObjectValue(mString); in process()
|
/frameworks/native/include/private/gui/ |
D | SyncFeatures.h | 32 String8 mString; variable
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 384 private String mString; field in TextUtils.SimpleStringSplitter 402 mString = string; in setString() 404 mLength = mString.length(); in setString() 416 int end = mString.indexOf(mDelimiter, mPosition); in next() 420 String nextString = mString.substring(mPosition, end); in next()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 48 jfieldID mString; member 93 env->SetObjectField(outValue, gTypedValueOffsets.mString, NULL); in copyValue() 1735 gTypedValueOffsets.mString in register_android_content_AssetManager() 1737 LOG_FATAL_IF(gTypedValueOffsets.mString == NULL, "Unable to find TypedValue.string"); in register_android_content_AssetManager()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewClassic.java | 8117 String mString; 8123 return mString; 8233 mContainers[i].mString = array[i]; 8247 mContainers[i].mString = array[i];
|