Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 264) sorted by relevance

1234567891011

/frameworks/base/tools/aapt2/
DUtil.h41 bool stringStartsWith(const BasicStringPiece<T>& str, const BasicStringPiece<T>& prefix) { in stringStartsWith()
52 bool stringEndsWith(const BasicStringPiece<T>& str, const BasicStringPiece<T>& suffix) { in stringEndsWith()
147 const char16_t* str = pool.stringAt(idx, &len); in getString() local
168 inline const std::u16string& StringBuilder::str() const { in str() function
218 BasicStringPiece<Char> str; variable
233 inline Tokenizer<Char> tokenize(BasicStringPiece<Char> str, Char sep) { in tokenize()
293 inline Tokenizer<Char>::Tokenizer(BasicStringPiece<Char> str, Char sep) : in Tokenizer()
DStringPiece.h85 inline BasicStringPiece<TChar>::BasicStringPiece(const BasicStringPiece<TChar>& str) : in BasicStringPiece()
90 inline BasicStringPiece<TChar>::BasicStringPiece(const std::basic_string<TChar>& str) : in BasicStringPiece()
95 inline BasicStringPiece<char>::BasicStringPiece(const char* str) : in BasicStringPiece()
100 inline BasicStringPiece<char16_t>::BasicStringPiece(const char16_t* str) : in BasicStringPiece()
105 inline BasicStringPiece<TChar>::BasicStringPiece(const TChar* str, size_t len) : in BasicStringPiece()
118 inline BasicStringPiece<TChar>& BasicStringPiece<TChar>::assign(const TChar* str, size_t len) { in assign()
DUtil.cpp34 static std::vector<std::string> splitAndTransform(const StringPiece& str, char sep, in splitAndTransform()
52 std::vector<std::string> split(const StringPiece& str, char sep) { in split()
56 std::vector<std::string> splitAndLowercase(const StringPiece& str, char sep) { in splitAndLowercase()
60 StringPiece16 trimWhitespace(const StringPiece16& str) { in trimWhitespace()
79 StringPiece16::const_iterator findNonAlphaNumericAndNotInSet(const StringPiece16& str, in findNonAlphaNumericAndNotInSet()
105 bool isJavaClassName(const StringPiece16& str) { in isJavaClassName()
169 StringBuilder& StringBuilder::append(const StringPiece16& str) { in append()
DResourceParser.cpp29 void ResourceParser::extractResourceName(const StringPiece16& str, StringPiece16* outPackage, in extractResourceName()
47 bool ResourceParser::tryParseReference(const StringPiece16& str, ResourceNameRef* outRef, in tryParseReference()
87 bool ResourceParser::tryParseAttributeReference(const StringPiece16& str, in tryParseAttributeReference()
120 bool ResourceParser::parseStyleParentReference(const StringPiece16& str, Reference* outReference, in parseStyleParentReference()
177 std::unique_ptr<Reference> ResourceParser::tryParseReference(const StringPiece16& str, in tryParseReference()
194 std::unique_ptr<BinaryPrimitive> ResourceParser::tryParseNullOrEmpty(const StringPiece16& str) { in tryParseNullOrEmpty()
212 const StringPiece16& str) { in tryParseEnumSymbol()
229 const StringPiece16& str) { in tryParseFlagSymbol()
268 std::unique_ptr<BinaryPrimitive> ResourceParser::tryParseColor(const StringPiece16& str) { in tryParseColor()
322 std::unique_ptr<BinaryPrimitive> ResourceParser::tryParseBool(const StringPiece16& str) { in tryParseBool()
[all …]
DLocale.cpp65 static inline bool isAlpha(const std::string& str) { in isAlpha()
69 static inline bool isNumber(const std::string& str) { in isNumber()
73 bool LocaleValue::initFromFilterString(const std::string& str) { in initFromFilterString()
/frameworks/base/core/java/android/text/
DBidiFormatter.java302 public String markAfter(String str, TextDirectionHeuristic heuristic) { in markAfter()
331 public String markBefore(String str, TextDirectionHeuristic heuristic) { in markBefore()
350 public boolean isRtl(String str) { in isRtl()
384 public String unicodeWrap(String str, TextDirectionHeuristic heuristic, boolean isolate) { in unicodeWrap()
415 public String unicodeWrap(String str, TextDirectionHeuristic heuristic) { in unicodeWrap()
428 public String unicodeWrap(String str, boolean isolate) { in unicodeWrap()
439 public String unicodeWrap(String str) { in unicodeWrap()
474 private static int getExitDir(String str) { in getExitDir()
491 private static int getEntryDir(String str) { in getEntryDir()
/frameworks/support/v4/java/android/support/v4/text/
DBidiFormatter.java296 private String markAfter(String str, TextDirectionHeuristicCompat heuristic) { in markAfter()
323 private String markBefore(String str, TextDirectionHeuristicCompat heuristic) { in markBefore()
342 public boolean isRtl(String str) { in isRtl()
375 public String unicodeWrap(String str, TextDirectionHeuristicCompat heuristic, boolean isolate) { in unicodeWrap()
405 public String unicodeWrap(String str, TextDirectionHeuristicCompat heuristic) { in unicodeWrap()
418 public String unicodeWrap(String str, boolean isolate) { in unicodeWrap()
429 public String unicodeWrap(String str) { in unicodeWrap()
464 private static int getExitDir(String str) { in getExitDir()
481 private static int getEntryDir(String str) { in getEntryDir()
/frameworks/support/v4/java/android/support/v4/util/
DAtomicFile.java98 FileOutputStream str = null; in startWrite() local
121 public void finishWrite(FileOutputStream str) { in finishWrite()
138 public void failWrite(FileOutputStream str) { in failWrite()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java68 FileOutputStream str = null; in startWrite() local
89 public void finishWrite(FileOutputStream str) { in finishWrite()
101 public void failWrite(FileOutputStream str) { in failWrite()
/frameworks/base/core/java/android/util/
DAtomicFile.java100 FileOutputStream str = null; in startWrite() local
127 public void finishWrite(FileOutputStream str) { in finishWrite()
144 public void failWrite(FileOutputStream str) { in failWrite()
/frameworks/base/packages/services/PacProcessor/jni/
Dcom_android_pacprocessor_PacNative.cpp36 String8 str(message); in AlertMessage() local
40 String8 str(message); in ErrorMessage() local
50 const jchar* str = env->GetStringCritical(jstr, 0); in jstringToString16() local
58 const char16_t* str = string.string(); in string16ToJstring() local
/frameworks/base/core/java/android/hardware/
DCamera.java2654 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewSizes() local
2674 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedVideoSizes() local
2734 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedJpegThumbnailSizes() local
2810 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFrameRates() local
2865 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFpsRange() local
2947 String str = get(KEY_PREVIEW_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFormats() local
2991 String str = get(KEY_PICTURE_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureSizes() local
3032 String str = get(KEY_PICTURE_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureFormats() local
3249 String str = get(KEY_WHITE_BALANCE + SUPPORTED_VALUES_SUFFIX); in getSupportedWhiteBalance() local
3290 String str = get(KEY_EFFECT + SUPPORTED_VALUES_SUFFIX); in getSupportedColorEffects() local
[all …]
/frameworks/av/media/libmedia/
DAudioParameter.cpp38 char *str = new char[keyValuePairs.length()+1]; in AudioParameter() local
75 String8 str = String8(""); in toString() local
100 char str[12]; in addInt() local
111 char str[23]; in addFloat() local
DStringArray.cpp45 bool StringArray::push_back(const char* str) { in push_back()
103 void StringArray::setEntry(int idx, const char* str) { in setEntry()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp41 ScopedUtfChars str(env, lang); in FontFamily_create() local
61 ScopedUtfChars str(env, path); in FontFamily_addFont() local
74 ScopedUtfChars str(env, path); in FontFamily_addFontWeightStyle() local
101 ScopedUtfChars str(env, jpath); in FontFamily_addFontFromAsset() local
/frameworks/base/tools/aapt/
DAaptUtil.cpp24 Vector<String8> split(const String8& str, const char sep) { in split()
42 Vector<String8> splitAndLowerCase(const String8& str, const char sep) { in splitAndLowerCase()
DResourceFilter.cpp12 WeakResourceFilter::parse(const String8& str) in parse()
97 StrongResourceFilter::parse(const String8& str) { in parse()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java92 String str = view.getText().toString(); in loadPropIntText() local
105 String str = view.getText().toString(); in loadFloatText() local
117 String str = view.getText().toString(); in loadIntText() local
/frameworks/av/camera/
DCameraParameters2.cpp112 char str[16]; in set() local
119 char str[16]; // 14 should be enough. We overestimate to be safe. in setFloat() local
185 static int parse_pair(const char *str, int *first, int *second, char delim, in parse_pair()
237 char str[32]; in setPreviewSize() local
267 char str[32]; in setVideoSize() local
306 String8 str = String8::format("%d,%d", min_fps, max_fps); in setPreviewFpsRange() local
322 char str[32]; in setPictureSize() local
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp156 const char* str = str8.string(); in computeScaledStringWidth() local
169 float TextRenderer::computeScaledStringWidth(const char* str, in computeScaledStringWidth()
189 const char* str = str8.string(); in drawString() local
254 float xpos, float ypos, const String8& str) { in drawWrappedString()
318 char* TextRenderer::breakString(const char* str, float maxWidth) const { in breakString() argument
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStressTest.java66 String str = new String(ch); in testSingleThreadInsertDelete() local
88 String str = new String(ch); in testOutOfSpace() local
DDatabaseStatementTest.java237 String str = c.getString(strCol); in testStatementMultipleBindings() local
239 assertEquals(Long.toHexString(i), str); in testStatementMultipleBindings() local
272 String str = c.getString(strCol); in run() local
274 assertEquals(Long.toHexString(i), str); in run() local
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp207 string str; in main() local
364 string str; in parseRect() local
417 string str; in parseRect() local
438 string str; in parseRect() local
/frameworks/base/tools/split-select/
DRule.cpp25 inline static void indentStr(String8& str, int indent) { in indentStr()
43 String8 str; in toJson() local
/frameworks/wilhelm/src/
Dtrace.c49 const char *str = slesutResultToString(result); in slTraceLeaveGlobal() local
112 const char *str = slesutResultToString(result); in slTraceLeaveInterface() local

1234567891011