Searched defs:str (Results 1 - 25 of 235) sorted by last modified time

12345678910

/frameworks/wilhelm/src/
H A Dtrace.cpp49 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 DBufferQueue_test.cpp55 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 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/support/compat/java/android/support/v4/os/
H A DLocaleHelper.java34 static Locale forLanguageTag(String str) { argument
35 if (str.contains("-")) {
36 String[] args = str.split("-");
44 } else if (str.contains("_")) {
45 String[] args = str.split("_");
54 return new Locale(str);
57 throw new IllegalArgumentException("Can not parse language tag: [" + str + "]");
/frameworks/support/compat/java/android/support/v4/util/
H A DAtomicFile.java98 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/support/compat/tests/java/android/support/v4/os/
H A DLocaleListCompatTest.java403 private Locale forLanguageTag(String str) { argument
405 return Locale.forLanguageTag(str);
407 return LocaleHelper.forLanguageTag(str);
/frameworks/support/core-utils/java/android/support/v4/text/
H A DBidiFormatter.java290 * {@code str}'s directionality.
292 * @param str CharSequence after which the mark may need to appear.
293 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s
298 private String markAfter(CharSequence str, TextDirectionHeuristicCompat heuristic) { argument
299 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
301 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
304 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
318 * {@code str}'s directionality.
320 * @param str CharSequenc
326 markBefore(CharSequence str, TextDirectionHeuristicCompat heuristic) argument
345 isRtl(String str) argument
356 isRtl(CharSequence str) argument
389 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic, boolean isolate) argument
408 unicodeWrap(CharSequence str, TextDirectionHeuristicCompat heuristic, boolean isolate) argument
439 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic) argument
454 unicodeWrap(CharSequence str, TextDirectionHeuristicCompat heuristic) argument
467 unicodeWrap(String str, boolean isolate) argument
481 unicodeWrap(CharSequence str, boolean isolate) argument
492 unicodeWrap(String str) argument
504 unicodeWrap(CharSequence str) argument
539 getExitDir(CharSequence str) argument
556 getEntryDir(CharSequence str) argument
[all...]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
H A DAllEmojisTest.java119 private void assertEmojiCompatAddsEmoji(final String str) { argument
120 TestString string = new TestString(str);
126 string = new TestString(str).withPrefix().withSuffix();
132 string = new TestString(str).withSuffix();
/frameworks/rs/tests/java_api/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/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java115 boolean str(short vr) { method in class:LoaderDicom
233 if (dbg && str(e.mVR)) {
245 if (str(e.mVR)) {
/frameworks/rs/cpp/
H A DRenderScript.cpp86 static uint32_t getProp(const char *str) { argument
89 android::renderscript::property_get(str, buf, "0");
/frameworks/rs/cpu_ref/
H A DrsCpuExecutable.cpp313 // Copy up to a newline or size chars from str -> s, updating str
343 static char* duplicateString(const char *str, size_t length) { argument
344 const size_t newLen = strnlen(str, length-1) + 1;
346 strlcpy(newStr, str, newLen);
/frameworks/rs/
H A DrsContext.cpp200 static uint32_t getProp(const char *str) { argument
203 property_get(str, buf, "0");
H A DrsHidlAdaptation.cpp62 static uint32_t getProp(const char *str) { argument
64 property_get(str, buf, "0");
/frameworks/rs/rsov/compiler/
H A DRSSPIRVWriter.cpp132 llvm::StringRef str = SVOS.str(); local
133 std::vector<uint32_t> words(str.size() / 4);
135 memcpy(words.data(), str.data(), str.size());
/frameworks/rs/rsov/compiler/spirit/
H A Dmodule.cpp217 Module *Module::addString(const char *str) { argument
221 mDebugInfo->addString(str);
487 if (auto str = Deserialize<StringInst>(IS)) {
488 mSources.push_back(str);
526 DebugInfoSection *DebugInfoSection::addString(const char *str) { argument
527 StringInst *source = mBuilder->MakeString(str);
H A Dword_stream_impl.cpp30 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/support/java/src/android/support/v8/renderscript/
H A DAllocation.java2977 * @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 Dandroid_renderscript_RenderScript.cpp215 AutoJavaStringToUTF8(JNIEnv* env, jstring str) : fEnv(env), fJStr(str) { argument
216 fCStr = env->GetStringUTFChars(str, NULL);
217 fLength = env->GetStringUTFLength(str);
/frameworks/rs/tests/java_api/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/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java552 public abstract void proceedAfterWildChar(String str); argument
1022 StringBuilder str = new StringBuilder(128);
1024 str.append(" callId: " + getTelecomCallId());
1025 str.append(" isExternal: " + (((mConnectionCapabilities & Capability.IS_EXTERNAL_CONNECTION)
1028 str.append("addr: " + getAddress())
1035 str.append(" incoming: " + isIncoming())
1038 return str.toString();
H A DGsmCdmaConnection.java375 public void proceedAfterWildChar(String str) { argument
387 StringBuilder buf = new StringBuilder(str);
H A DRadioResponse.java1344 private void responseString(RadioResponseInfo responseInfo, String str) { argument
1349 sendMessageResponse(rr.mResult, str);
1351 mRil.processResponseDone(rr, responseInfo, str);
1355 private void responseStrings(RadioResponseInfo responseInfo, String ...str) { argument
1357 for (int i = 0; i < str.length; i++) {
1358 strings.add(str[i]);

Completed in 8294 milliseconds

12345678910