Searched defs:str (Results 51 - 75 of 217) sorted by relevance

123456789

/frameworks/compile/mclinker/lib/LD/
H A DDebugString.cpp52 const char* str = strings.data(); local
53 const char* str_end = str + pSection.size();
54 while (str < str_end) {
55 size_t len = string_length(str);
56 m_StringTable.insertString(llvm::StringRef(str, len));
57 str = str + len + 1;
79 const char* str = d_str.data() + offset; local
83 m_StringTable.getOutputOffset(llvm::StringRef(str, string_length(str))));
[all...]
H A DDiagnostic.cpp133 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 (str == NULL)
146 str = "(null)";
147 pOutStr.append(str);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java62 public BmsgTokenizer(String str) { argument
63 this(str, 0);
66 public BmsgTokenizer(String str, int offset) { argument
67 mStr = str;
69 mMatcher = Pattern.compile("(([^:]*):(.*))?\r\n").matcher(str);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DConvolve3x3.java40 private float[] updateMatrix(float str) { argument
42 float cf1 = blend(1.f / 9.f, 0.f, str);
43 float cf2 = blend(1.f / 9.f, -1.f, str);
44 float cf3 = blend(1.f / 9.f, 5.f, str);
H A DConvolve5x5.java40 private float[] updateMatrix(float str) { argument
43 float cf1 = blend(f125, -1.f, str);
44 float cf2 = blend(f125, -3.f, str);
45 float cf3 = blend(f125, -4.f, str);
46 float cf4 = blend(f125, 6.f, str);
47 float cf5 = blend(f125, 20.f, str);
48 float cf6 = blend(f125, 0.f, str);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DConvolve3x3.java47 private float[] updateMatrix(float str) { argument
49 float cf1 = blend(1.f / 9.f, 0.f, str);
50 float cf2 = blend(1.f / 9.f, -1.f, str);
51 float cf3 = blend(1.f / 9.f, 5.f, str);
H A DConvolve5x5.java47 private float[] updateMatrix(float str) { argument
50 float cf1 = blend(f125, -1.f, str);
51 float cf2 = blend(f125, -3.f, str);
52 float cf3 = blend(f125, -4.f, str);
53 float cf4 = blend(f125, 6.f, str);
54 float cf5 = blend(f125, 20.f, str);
55 float cf6 = blend(f125, 0.f, 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/av/media/libmedia/
H A DAudioParameter.cpp38 char *str = new char[keyValuePairs.length()+1]; local
42 strcpy(str, keyValuePairs.string());
43 char *pair = strtok_r(str, ";", &last);
65 delete[] str;
75 String8 str = String8(""); local
79 str += mParameters.keyAt(i);
80 str += "=";
81 str += mParameters.valueAt(i);
82 if (i < (size - 1)) str += ";";
84 return str;
100 char str[12]; local
111 char str[23]; local
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DQueryController.java511 private String formatLog(String str) { argument
516 l.append(String.format(". . [%d]: %s", mPatternCounter, str));
518 l.append(String.format(". . [%d]: %s", mPatternCounter, str));
/frameworks/base/core/java/android/app/admin/
H A DSecurityLog.java211 public static native int writeEvent(int tag, String str); argument
/frameworks/base/core/java/android/content/
H A DComponentName.java252 * @param str The String that was returned by flattenToString().
254 * names that were encoded in <var>str</var>
258 public static ComponentName unflattenFromString(String str) { argument
259 int sep = str.indexOf('/');
260 if (sep < 0 || (sep+1) >= str.length()) {
263 String pkg = str.substring(0, sep);
264 String cls = str.substring(sep+1);
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp36 String8 str(message);
37 ALOGD("Alert: %s", str.string());
40 String8 str(message);
41 ALOGE("Error: %s", str.string());
50 const jchar* str = env->GetStringCritical(jstr, 0); local
51 String16 str16(reinterpret_cast<const char16_t*>(str),
53 env->ReleaseStringCritical(jstr, str);
58 const char16_t* str = string.string(); local
61 return env->NewString(reinterpret_cast<const jchar*>(str), len);
/frameworks/base/tools/aapt2/
H A DLocale.cpp65 static inline bool isAlpha(const std::string& str) { argument
66 return std::all_of(std::begin(str), std::end(str), ::isalpha);
69 static inline bool isNumber(const std::string& str) { argument
70 return std::all_of(std::begin(str), std::end(str), ::isdigit);
73 bool LocaleValue::initFromFilterString(const StringPiece& str) { argument
76 std::vector<std::string> parts = util::splitAndLowercase(str, '_');
H A DResourceParser_test.cpp50 ::testing::AssertionResult testParse(const StringPiece& str) { argument
51 return testParse(str, ConfigDescription{});
54 ::testing::AssertionResult testParse(const StringPiece& str, const ConfigDescription& config) { argument
56 input << "<resources>\n" << str << "\n</resources>" << std::endl;
72 String* str = test::getValue<String>(&mTable, u"@string/foo"); local
73 ASSERT_NE(nullptr, str);
74 EXPECT_EQ(std::u16string(u" hey there "), *str->value);
81 String* str = test::getValue<String>(&mTable, u"@string/foo"); local
82 ASSERT_NE(nullptr, str);
83 EXPECT_EQ(std::u16string(u"?123"), *str
100 String* str = test::getValue<String>(&mTable, u"@string/foo"); local
[all...]
H A DStringPool.h39 std::u16string str; member in struct:aapt::StyleString
117 Ref str; member in class:aapt::StringPool::StyleEntry
139 Ref makeRef(const StringPiece16& str);
146 Ref makeRef(const StringPiece16& str, const Context& context);
151 StyleRef makeRef(const StyleString& str);
158 StyleRef makeRef(const StyleString& str, const Context& context);
198 Ref makeRefImpl(const StringPiece16& str, const Context& context, bool unique);
/frameworks/base/tools/aapt2/util/
H A DStringPiece.h42 BasicStringPiece(const BasicStringPiece<TChar>& str);
43 BasicStringPiece(const std::basic_string<TChar>& str);
44 BasicStringPiece(const TChar* str);
45 BasicStringPiece(const TChar* str, size_t len);
48 BasicStringPiece<TChar>& assign(const TChar* str, size_t len);
87 inline BasicStringPiece<TChar>::BasicStringPiece(const BasicStringPiece<TChar>& str) : argument
88 mData(str.mData), mLength(str.mLength) {
92 inline BasicStringPiece<TChar>::BasicStringPiece(const std::basic_string<TChar>& str) : argument
93 mData(str
97 BasicStringPiece(const char* str) argument
102 BasicStringPiece(const char16_t* str) argument
107 BasicStringPiece(const TChar* str, size_t len) argument
120 assign(const TChar* str, size_t len) argument
195 operator <<(::std::ostream& out, const BasicStringPiece<char16_t>& str) argument
249 operator <<(::std::ostream& out, const BasicStringPiece<char>& str) argument
255 operator <<(::std::ostream& out, const std::u16string& str) argument
[all...]
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp106 char str[RESTABLE_MAX_LOCALE_LEN]; local
107 group[index].config.getBcp47Locale(str);
108 locale->stringArgs.add(String8(str));
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSEmbedInfo.cpp66 std::string str; local
67 llvm::raw_string_ostream s(str);
160 return str;
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java198 public static Location fromUserReadableString(String str) { argument
199 int glue = str.indexOf('-');
203 String start = str.substring(0, glue);
204 String end = str.substring(glue + 1);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DMultiArgTestAdapter.java36 for(String str : strings) {
37 sb.append(str == null ? "??" : str);
61 public static void setClassStr(TextView view, String str) { argument
62 view.setText(str);
/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/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/opt/net/wifi/tests/wifitests/jni/
H A Dwifi_hal_mock.cpp106 HalMockJsonReader::HalMockJsonReader(const char* str) { argument
107 doc.Parse(str);
H A Dwifi_nan_hal_mock.cpp117 std::string str = jsonW.to_string(); local
119 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str());
164 std::string str = jsonW.to_string(); local
166 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str());
181 std::string str = jsonW.to_string(); local
183 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str());
225 std::string str = jsonW.to_string(); local
227 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str());
243 std::string str = jsonW.to_string(); local
245 JNIObject < jstring > json_write_string = helper.newStringUTF(str
269 std::string str = jsonW.to_string(); local
[all...]

Completed in 524 milliseconds

123456789