Searched refs:str (Results 101 - 125 of 413) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Script/
H A DScriptScanner.ll208 llvm::StringRef str(yytext, yyleng);
209 switch (str.back()) {
212 str.substr(0, yyleng - 1).getAsInteger(0, yylval->integer);
217 str.substr(0, yyleng - 1).getAsInteger(0, yylval->integer);
221 str.getAsInteger(0, yylval->integer);
229 const std::string& str = pScriptFile.createParserStr(yytext, yyleng);
230 yylval->string = &str;
236 const std::string& str = pScriptFile.createParserStr(yytext, yyleng);
237 yylval->string = &str;
243 const std::string& str
[all...]
/frameworks/av/media/mtp/
H A DMtpProperty.cpp104 free(mDefaultValue.str);
105 free(mCurrentValue.str);
106 free(mMinimumValue.str);
107 free(mMaximumValue.str);
110 free(mDefaultArrayValues[i].str);
114 free(mCurrentArrayValues[i].str);
118 free(mEnumValues[i].str);
220 free(mDefaultValue.str);
223 mDefaultValue.str = strdup(buffer);
226 mDefaultValue.str
[all...]
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java116 BufferedInputStream str = null;
118 str = new BufferedInputStream(
120 map = XmlUtils.readMapXml(str);
124 IoUtils.closeQuietly(str);
545 FileOutputStream str = null;
547 str = new FileOutputStream(file);
559 str = new FileOutputStream(file);
564 return str;
595 FileOutputStream str = createFileOutputStream(mFile);
596 if (str
[all...]
/frameworks/base/tools/aapt2/util/
H A DUtil_test.cpp46 .str());
53 .str());
58 .str());
63 .str());
70 .str());
74 .str());
85 .str());
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
H A Dpvmp3_dct_9_gcc.s66 str r7,[r0, #0x18]
68 str r10,[r0,#0]
117 str r2,[r0,#8]
123 str r7,[r0,#0x20]
137 str r8,[r0, #0x10]
149 str r6,[r0, #4]
150 str lr,[r0, #0xc]
162 str lr,[r0, #0x14]
173 str r1,[r0, #0x1c]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h71 str.setTo(reinterpret_cast<const char16_t*>(glyphs), glyphCount);
72 glyphs = reinterpret_cast<const glyph_t*>(str.string());
91 String16 str; member in struct:android::uirenderer::ShadowText
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp136 std::string str; local
138 while (ss >> str) {
139 tokenized_gl_extensions.push(String8(str.c_str()));
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp46 void guidToString(const SLInterfaceID guid, char *str) { argument
47 if ((NULL == guid) || (NULL == str)) {
50 snprintf(str, GUID_DISPLAY_LENGTH, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DUtil.java149 private static CharSequence emptyToNull(CharSequence str) { argument
150 return str == null || str.length() == 0 ? null : str;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java141 private String getCachedStringRef(String str) { argument
142 final int index = mStringCache.indexOf(str);
144 mStringCache.add(str);
145 return str;
/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp48 .addSymbol(u"@android:string/str", ResourceId(0x01060000))
53 std::unique_ptr<xml::XmlResource> verify(const StringPiece& str) { argument
54 return verifyWithOptions(str, {});
57 std::unique_ptr<xml::XmlResource> verifyWithOptions(const StringPiece& str, argument
59 std::unique_ptr<xml::XmlResource> doc = test::buildXmlDom(str);
82 EXPECT_EQ(nullptr, verify("<manifest package=\"@string/str\" />"));
/frameworks/base/tools/split-select/
H A DSplitDescription.h44 static bool parse(const android::String8& str, SplitDescription* outSplit);
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReader.h114 return p1.pt_alias->str() < p2.pt_alias->str();
199 return p1.pt_alias->str() < p2.pt_alias->str();
/frameworks/compile/mclinker/lib/Support/
H A DMemoryArea.cpp28 fatal(diag::fatal_cannot_read_input) << pFilename.str();
/frameworks/compile/slang/
H A Dslang_diagnostic_buffer.cpp72 stream << Buf.str() << '\n';
/frameworks/native/include/binder/
H A DTextOutput.h69 TextOutput& operator<<(TextOutput& to, const char* str);
149 inline TextOutput& operator<<(TextOutput& to, const char* str) argument
151 to.print(str, strlen(str));
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
H A DRadix4FFT_v5.s39 str r0, [sp]
40 str r1, [sp, #4]
41 str r2, [sp, #8]
42 str r3, [sp, #12]
49 str r10, [sp, #16]
53 str r11, [sp, #20]
79 str r2, [sp, #24]
80 str r3, [sp, #28]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DTypeConverter.cpp235 bool TypeConverter<Traits>::toString(const typename Traits::Type &value, std::string &str) argument
239 str = mTable[i].literal;
247 bool TypeConverter<Traits>::fromString(const std::string &str, typename Traits::Type &result) argument
250 if (strcmp(mTable[i].literal, str.c_str()) == 0) {
260 void TypeConverter<Traits>::collectionFromString(const std::string &str, argument
264 char *literal = strdup(str.c_str());
276 uint32_t TypeConverter<Traits>::maskFromString(const std::string &str, const char *del) argument
278 char *literal = strdup(str.c_str());
/frameworks/base/core/jni/
H A Dandroid_app_admin_SecurityLog.cpp59 const char *str = value != NULL ? env->GetStringUTFChars(value, NULL) : "NULL"; local
60 uint32_t len = strlen(str);
66 memcpy(&buf[1 + sizeof(len)], str, len);
69 if (value != NULL) env->ReleaseStringUTFChars(value, str);
88 const char *str = item != NULL ? env->GetStringUTFChars((jstring) item, NULL) : "NULL"; local
89 jint len = strlen(str);
93 memcpy(&buf[pos + sizeof(len)], str, len);
95 if (item != NULL) env->ReleaseStringUTFChars((jstring) item, str);
H A Dandroid_util_EventLog.cpp92 const char *str = value != NULL ? env->GetStringUTFChars(value, NULL) : "NULL"; local
93 uint32_t len = strlen(str);
99 memcpy(&buf[1 + sizeof(len)], str, len);
102 if (value != NULL) env->ReleaseStringUTFChars(value, str);
125 const char *str = item != NULL ? env->GetStringUTFChars((jstring) item, NULL) : "NULL"; local
126 jint len = strlen(str);
130 memcpy(&buf[pos + sizeof(len)], str, len);
132 if (item != NULL) env->ReleaseStringUTFChars((jstring) item, str);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithEmptyView.java87 String str = "Item + " + mNextItem++;
88 mAdapter.add(str);
/frameworks/base/tools/aapt/
H A DAaptUtil.h27 android::Vector<android::String8> split(const android::String8& str, const char sep);
28 android::Vector<android::String8> splitAndLowerCase(const android::String8& str, const char sep);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java77 static public BluetoothMapBmessage createBmessage(String str) { argument
81 Log.d(TAG, "actual wired contents: " + str);
85 p.parse(str);
112 private void parse(String str) throws IOException, ParseException { argument
121 mParser = new BmsgTokenizer(str + CRLF);
417 private VCardEntry parseVcard(String str) throws IOException, ParseException { argument
426 p.parse(new ByteArrayInputStream(str.getBytes()));
438 p.parse(new ByteArrayInputStream(str.getBytes()));
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DTypeConverter.h86 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, argument
89 char *literal = strdup(str.c_str());
103 static bool toString(const typename Traits::Type &value, std::string &str);
105 static bool fromString(const std::string &str, typename Traits::Type &result);
107 static void collectionFromString(const std::string &str,
111 static uint32_t maskFromString(const std::string &str, const char *del = "|");
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp241 status_t SoundTrigger::stringToGuid(const char *str, sound_trigger_uuid_t *guid) argument
243 if (str == NULL || guid == NULL) {
249 if (sscanf(str, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
267 status_t SoundTrigger::guidToString(const sound_trigger_uuid_t *guid, char *str, size_t maxLen) argument
269 if (guid == NULL || str == NULL) {
273 snprintf(str, maxLen, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",

Completed in 665 milliseconds

1234567891011>>