/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | Properties.h | 27 static inline uint32_t getProperty(const char *str) { argument 30 property_get(str, buf, "0");
|
/frameworks/base/tools/aapt/tests/ |
H A D | TestHelper.h | 27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { argument 28 return stream << str.string();
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_container.h | 60 char str[H264DEC_TRACE_STR_LEN]; member in struct:__anon593
|
/frameworks/base/core/java/android/util/ |
H A D | PrefixPrinter.java | 47 public void println(String str) { argument 48 mPrinter.println(mPrefix + str);
|
H A D | AtomicFile.java | 100 FileOutputStream str = null; 102 str = new FileOutputStream(mBaseName); 113 str = new FileOutputStream(mBaseName); 118 return str; 127 public void finishWrite(FileOutputStream str) { argument 128 if (str != null) { 129 FileUtils.sync(str); 131 str.close(); 144 public void failWrite(FileOutputStream str) { argument 145 if (str ! [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TestHelpers.h | 11 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 D | AaptUtil.cpp | 24 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 D | ResourceFilter.cpp | 12 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/compile/slang/ |
H A D | slang_diagnostic_buffer.h | 51 inline const std::string &str() const { function in class:slang::DiagnosticBuffer 57 this->mSOS->str().clear();
|
/frameworks/av/media/libmedia/ |
H A D | StringArray.cpp | 45 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 D | AStringUtils.cpp | 30 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/net/http/ |
H A D | CharArrayBuffers.java | 37 * @param str to search for 40 int beginIndex, final String str) { 46 int size = str.length(); 50 char b = str.charAt(j); 39 containsIgnoreCaseTrimmed(CharArrayBuffer buffer, int beginIndex, final String str) argument
|
/frameworks/base/tools/split-select/ |
H A D | Rule.cpp | 25 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 D | SplitSelector_test.cpp | 29 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.";
|
H A D | Grouper_test.cpp | 56 void addSplit(Vector<SplitDescription>& splits, const char* str); 180 void GrouperTest::addSplit(Vector<SplitDescription>& splits, const char* str) { argument 182 EXPECT_TRUE(SplitDescription::parse(String8(str), &splits.editTop()));
|
/frameworks/native/services/surfaceflinger/ |
H A D | DdmConnection.cpp | 86 jstring str = env->NewStringUTF(name); local 87 env->CallStaticVoidMethod(startClass, startMeth, str, getuid()); 88 env->DeleteLocalRef(str);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | Duration.java | 47 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 D | DurationTest.java | 26 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 D | trace.c | 49 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);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 68 FileOutputStream str = null; 70 str = new FileOutputStream(mBaseName); 81 str = new FileOutputStream(mBaseName); 86 return str; 89 public void finishWrite(FileOutputStream str) { argument 90 if (str != null) { 91 FileUtils.sync(str); 93 str.close(); 101 public void failWrite(FileOutputStream str) { argument 102 if (str ! [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | Diagnostic.cpp | 133 const std::string& str = getArgStdStr(arg_no); local 134 pOutStr.append(str.begin(), str.end()); 144 const char* str = getArgCStr(arg_no); local 145 if (NULL == str) 146 str = "(null)"; 147 pOutStr.append(str);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | AtomicFile.java | 98 FileOutputStream str = null; 100 str = new FileOutputStream(mBaseName); 107 str = new FileOutputStream(mBaseName); 112 return str; 121 public void finishWrite(FileOutputStream str) { argument 122 if (str != null) { 123 sync(str); 125 str.close(); 138 public void failWrite(FileOutputStream str) { argument 139 if (str ! [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 154 const char* str = str8.string(); local 155 return computeScaledStringWidth(str, strlen(str)); 167 float TextRenderer::computeScaledStringWidth(const char* str, 171 size_t chi = glyphIndex(str[i]); 187 const char* str = str8.string(); 188 size_t len = strlen(str); // again, unsure about String8 handling 198 size_t chi = glyphIndex(str[i]); 252 float xpos, float ypos, const String8& str) { 253 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str [all...] |
/frameworks/base/core/java/android/os/ |
H A D | PatternMatcher.java | 64 public boolean match(String str) { argument 65 return matchPattern(mPattern, str, mType);
|
/frameworks/base/core/jni/ |
H A D | android_os_Trace.cpp | 33 char* str = utf8Chars.lockBuffer(size); local 35 char c = str[i]; 37 str[i] = ' ';
|