Searched defs:str (Results 1 - 25 of 201) sorted by relevance

123456789

/frameworks/compile/libbcc/include/bcc/Support/
H A DProperties.h27 static inline uint32_t getProperty(const char *str) { argument
30 property_get(str, buf, "0");
/frameworks/base/tools/aapt/tests/
H A DTestHelper.h27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { argument
28 return stream << str.string();
/frameworks/av/services/audioflinger/
H A DFastCaptureState.cpp33 const char *str = FastThreadState::commandToString(command); local
34 if (str != NULL) {
35 return str;
H A DFastMixerState.cpp45 const char *str = FastThreadState::commandToString(command); local
46 if (str != NULL) {
47 return str;
/frameworks/base/tools/aapt2/
H A DResource.cpp82 const ResourceType* parseResourceType(const StringPiece16& str) { argument
83 auto iter = sResourceTypeMap.find(str);
H A DLinker_test.cpp121 const String* str = dynamic_cast<const String*>(result->entries.front().value.get()); local
122 ASSERT_NE(nullptr, str);
123 EXPECT_EQ(*str->value, u"this is \u00fa.");
H A DLogger.h74 inline ::std::ostream& operator<<(::std::ostream& out, const std::u16string& str) { argument
75 android::String8 utf8(str.data(), str.size());
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_container.h60 char str[H264DEC_TRACE_STR_LEN]; member in struct:__anon611
/frameworks/base/core/java/android/util/
H A DPrefixPrinter.java47 public void println(String str) { argument
48 mPrinter.println(mPrefix + str);
H A DKeyValueListParser.java46 * @param str the string to parse.
49 public void setString(String str) throws IllegalArgumentException { argument
51 if (str != null) {
52 mSplitter.setString(str);
58 "'" + pair + "' in '" + str + "' is not a valid key-value pair");
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.h11 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String8& str) { argument
12 return out << str.string();
15 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String16& str) { argument
16 return out << android::String8(str).string();
/frameworks/base/tools/aapt/
H A DAaptUtil.cpp24 Vector<String8> split(const String8& str, const char sep) { argument
26 const char* p = str.string();
42 Vector<String8> splitAndLowerCase(const String8& str, const char sep) { argument
44 const char* p = str.string();
H A DResourceFilter.cpp12 WeakResourceFilter::parse(const String8& str) argument
14 Vector<String8> configStrs = AaptUtil::split(str, ',');
97 StrongResourceFilter::parse(const String8& str) { argument
98 Vector<String8> configStrs = AaptUtil::split(str, ',');
/frameworks/av/camera/camera2/
H A DOutputConfiguration.cpp32 const char16_t* str = parcel.readString16Inplace(&len); local
33 if (str != NULL) {
34 return String16(str, len);
/frameworks/av/media/libmedia/
H A DMediaResourcePolicy.cpp44 String8 str; local
45 str.appendFormat("%s:%s", mType.string(), mValue.string());
46 return str;
H A DStringArray.cpp45 bool StringArray::push_back(const char* str) { argument
63 int len = strlen(str);
65 memcpy(mArray[mCurrent], str, len+1);
103 void StringArray::setEntry(int idx, const char* str) { argument
107 int len = strlen(str);
109 memcpy(mArray[idx], str, len+1);
/frameworks/av/media/libstagefright/foundation/
H A DAStringUtils.cpp30 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase) {
38 if (strLen < globIx || Compare(str, glob, globIx /* len */, ignoreCase)) {
58 const char *tail = str + strLen - len;
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) {
29 MatchesGlob( const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase) argument
/frameworks/base/core/java/android/os/
H A DPooledStringWriter.java58 public void writeString(String str) { argument
59 final Integer cur = mPool.get(str);
63 mPool.put(str, mNext);
65 mOut.writeString(str);
/frameworks/base/tools/split-select/
H A DRule.cpp25 inline static void indentStr(String8& str, int indent) { argument
27 str.append(" ");
43 String8 str; local
44 indentStr(str, indent);
45 str.append("{\n");
47 indentStr(str, indent);
48 str.append("\"op\": \"");
51 str.append("ALWAYS_TRUE");
54 str.append("GREATER_THAN");
57 str
[all...]
H A DSplitSelector_test.cpp29 static ::testing::AssertionResult addSplit(Vector<SplitDescription>& splits, const char* str) { argument
31 if (!SplitDescription::parse(String8(str), &split)) {
32 return ::testing::AssertionFailure() << str << " is not a valid configuration.";
/frameworks/compile/slang/
H A Dslang_diagnostic_buffer.h50 inline const std::string &str() const { function in class:slang::DiagnosticBuffer
/frameworks/native/services/surfaceflinger/
H A DDdmConnection.cpp88 jstring str = env->NewStringUTF(name); local
89 env->CallStaticVoidMethod(startClass, startMeth, str, getuid());
90 env->DeleteLocalRef(str);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DDuration.java47 public void parse(String str) throws DateException argument
56 int len = str.length();
64 c = str.charAt(0);
77 c = str.charAt(index);
80 "Duration.parse(str='" + str + "') expected 'P' at index="
84 c = str.charAt(index);
91 c = str.charAt(index);
120 "Duration.parse(str='" + str
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DDurationTest.java26 private void verifyDuration(String str, argument
31 duration.parse(str);
33 assertEquals("Duration sign is not equal for " + str, sign, duration.sign);
34 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks);
35 assertEquals("Duration days is not equal for " + str, days, duration.days);
36 assertEquals("Duration hours is not equal for " + str, hours, duration.hours);
37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes);
38 assertEquals("Duration seconds is not equal for " + str, seconds, duration.seconds);
/frameworks/wilhelm/src/
H A Dtrace.c49 const char *str = slesutResultToString(result); local
50 if (NULL != str) {
51 SL_LOGW("Leaving %s (%s)", function, str);
112 const char *str = slesutResultToString(result); local
114 if (NULL != str) {
116 &underscore[1], str);
122 if (NULL != str) {
123 SL_LOGW("Leaving %s (%s)", function, str);

Completed in 647 milliseconds

123456789