/frameworks/wilhelm/src/ |
H A D | trace.cpp | 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/wilhelm/tests/automated/ |
H A D | BufferQueue_test.cpp | 55 const char *str = slesutResultToString(res); local 56 if (NULL == str) 57 str = "unknown"; 58 fprintf(stderr, "CheckErr failure: %s (0x%x), exiting\n", str, res);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEffectCapabilities.cpp | 46 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/support/compat/src/main/java/androidx/core/os/ |
H A D | LocaleHelper.java | 34 static Locale forLanguageTag(String str) { argument 35 if (str.contains("-")) { 36 String[] args = str.split("-", -1); 44 } else if (str.contains("_")) { 45 String[] args = str.split("_", -1); 54 return new Locale(str); 57 throw new IllegalArgumentException("Can not parse language tag: [" + str + "]");
|
/frameworks/support/compat/src/main/java/androidx/core/text/ |
H A D | BidiFormatter.java | 291 * {@code str}'s directionality. 293 * @param str CharSequence after which the mark may need to appear. 294 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s 299 private String markAfter(CharSequence str, TextDirectionHeuristicCompat heuristic) { argument 300 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 302 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 305 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 319 * {@code str}'s directionality. 321 * @param str CharSequenc 327 markBefore(CharSequence str, TextDirectionHeuristicCompat heuristic) argument 346 isRtl(String str) argument 357 isRtl(CharSequence str) argument 390 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic, boolean isolate) argument 409 unicodeWrap(CharSequence str, TextDirectionHeuristicCompat heuristic, boolean isolate) argument 440 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic) argument 455 unicodeWrap(CharSequence str, TextDirectionHeuristicCompat heuristic) argument 468 unicodeWrap(String str, boolean isolate) argument 482 unicodeWrap(CharSequence str, boolean isolate) argument 493 unicodeWrap(String str) argument 505 unicodeWrap(CharSequence str) argument 540 getExitDir(CharSequence str) argument 557 getEntryDir(CharSequence str) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/util/ |
H A D | AtomicFile.java | 103 FileOutputStream str; 105 str = new FileOutputStream(mBaseName); 112 str = new FileOutputStream(mBaseName); 117 return str; 126 public void finishWrite(@Nullable FileOutputStream str) { argument 127 if (str != null) { 128 sync(str); 130 str.close(); 143 public void failWrite(@Nullable FileOutputStream str) { argument 144 if (str ! [all...] |
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
H A D | AllEmojisTest.java | 127 private void assertSpanCanRenderEmoji(final String str) { argument 128 final Spanned spanned = (Spanned) EmojiCompat.get().process(new TestString(str).toString()); 138 private void assertEmojiCompatAddsEmoji(final String str) { argument 139 TestString string = new TestString(str); 145 string = new TestString(str).withPrefix().withSuffix(); 151 string = new TestString(str).withSuffix();
|
/frameworks/support/media/src/main/java/androidx/media/subtitle/ |
H A D | Cea608CCParser.java | 338 StringBuilder str = new StringBuilder(); 339 str.append("{"); 340 str.append(sColorMap[mColor]); 342 str.append(", ITALICS"); 345 str.append(", UNDERLINE"); 347 str.append("}"); 349 return str.toString(); 441 CCLineBuilder(String str) { argument 442 mDisplayChars = new StringBuilder(str); 865 String str [all...] |
/frameworks/support/compat/src/androidTest/java/androidx/core/os/ |
H A D | LocaleListCompatTest.java | 399 private Locale forLanguageTag(String str) { argument 401 return Locale.forLanguageTag(str); 403 return LocaleHelper.forLanguageTag(str);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | LoaderDicom.java | 115 boolean str(short vr) {
method in class:LoaderDicom 233 if (dbg && str(e.mVR)) {
245 if (str(e.mVR)) {
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 40 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 D | Convolve5x5.java | 40 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 47 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 D | Convolve5x5.java | 47 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/rs/cpp/ |
H A D | RenderScript.cpp | 86 static uint32_t getProp(const char *str) { argument 89 android::renderscript::property_get(str, buf, "0");
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuExecutable.cpp | 341 // Copy up to a newline or size chars from str -> s, updating str 371 static char* duplicateString(const char *str, size_t length) { argument 372 const size_t newLen = strnlen(str, length-1) + 1; 374 strlcpy(newStr, str, newLen);
|
/frameworks/rs/ |
H A D | rsContext.cpp | 200 static uint32_t getProp(const char *str) { argument 203 property_get(str, buf, "0");
|
H A D | rsHidlAdaptation.cpp | 62 static uint32_t getProp(const char *str) { argument 64 property_get(str, buf, "0");
|
/frameworks/rs/rsov/compiler/ |
H A D | RSSPIRVWriter.cpp | 96 llvm::StringRef str = SVOS.str(); local 97 std::vector<uint32_t> words(str.size() / 4); 99 memcpy(words.data(), str.data(), str.size());
|
/frameworks/rs/rsov/compiler/spirit/ |
H A D | module.cpp | 217 Module *Module::addString(const char *str) { argument 221 mDebugInfo->addString(str); 495 if (auto str = Deserialize<StringInst>(IS)) { 496 mSources.push_back(str); 534 DebugInfoSection *DebugInfoSection::addString(const char *str) { argument 535 StringInst *source = mBuilder->MakeString(str); 547 const std::string &str = strInst->mOperand1; 548 return str.find(prefix) == 0;
|
H A D | word_stream_impl.cpp | 30 WordStreamImpl &WordStreamImpl::operator<<(const std::string &str) { argument 31 const size_t len = str.length(); 32 const uint32_t *begin = (uint32_t *)str.c_str(); 50 WordStreamImpl &WordStreamImpl::operator>>(std::string *str) { argument 52 str->assign(s);
|
/frameworks/rs/rsov/driver/ |
H A D | rsovScript.cpp | 141 void splitOffsets(const std::string &str, char delimiter, argument 143 std::stringstream ss(str);
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 2977 * @param str string to create the allocation from 2983 String str, 2988 allocArray = str.getBytes("UTF-8"); 2982 createFromString(RenderScript rs, String str, int usage) argument
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 217 AutoJavaStringToUTF8(JNIEnv* env, jstring str) : fEnv(env), fJStr(str) { argument 218 fCStr = env->GetStringUTFChars(str, NULL); 219 fLength = env->GetStringUTFLength(str);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierIdentifier.java | 612 private static void logd(String str) { argument 613 Rlog.d(LOG_TAG, str); 615 private static void loge(String str) { argument 616 Rlog.e(LOG_TAG, str);
|