Searched refs:str (Results 26 - 50 of 509) sorted by relevance

1234567891011>>

/frameworks/av/include/media/
H A DStringArray.h39 bool push_back(const char* str);
73 void setEntry(int idx, const char* str);
/frameworks/av/media/libmedia/include/media/
H A DStringArray.h39 bool push_back(const char* str);
73 void setEntry(int idx, const char* str);
/frameworks/base/core/java/android/util/
H A DPrefixPrinter.java47 public void println(String str) { argument
48 mPrinter.println(mPrefix + str);
H A DByteStringUtils.java54 * Returns the decoded byte array representation of str.
55 * @param str Hex encoded string to decode.
56 * @return Decoded byte array representation of str.
58 public static byte[] fromHexToByteArray(String str) { argument
59 if (str == null || str.length() == 0 || str.length() % 2 != 0) {
63 final char[] chars = str.toCharArray();
H A DAtomicFile.java102 FileOutputStream str = null;
104 str = new FileOutputStream(mBaseName);
115 str = new FileOutputStream(mBaseName);
120 return str;
129 public void finishWrite(FileOutputStream str) { argument
130 if (str != null) {
131 FileUtils.sync(str);
133 str.close();
146 public void failWrite(FileOutputStream str) { argument
147 if (str !
[all...]
H A DSpline.java216 StringBuilder str = new StringBuilder();
218 str.append("MonotoneCubicSpline{[");
221 str.append(", ");
223 str.append("(").append(mX[i]);
224 str.append(", ").append(mY[i]);
225 str.append(": ").append(mM[i]).append(")");
227 str.append("]}");
228 return str.toString();
279 StringBuilder str = new StringBuilder();
281 str
[all...]
/frameworks/compile/libbcc/lib/
H A DProperties.h43 static inline uint32_t getProperty(const char *str) { argument
46 property_get(str, buf, "0");
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DDuration.java47 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="
87 c = str.charAt(index);
94 c = str.charAt(index);
123 "Duration.parse(str='" + str
[all...]
/frameworks/av/media/libmedia/
H A DStringArray.cpp45 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/base/core/java/android/text/
H A DBidiFormatter.java295 * given explicitly by a heuristic to estimate the {@code str}'s directionality.
297 * @param str CharSequence after which the mark may need to appear.
298 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s
305 public String markAfter(CharSequence str, TextDirectionHeuristic heuristic) { argument
306 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
308 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
311 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
324 * directionality is given explicitly by a heuristic to estimate the {@code str}'s directionality.
326 * @param str CharSequenc
334 markBefore(CharSequence str, TextDirectionHeuristic heuristic) argument
353 isRtl(String str) argument
364 isRtl(CharSequence str) argument
398 unicodeWrap(@ullable String str, TextDirectionHeuristic heuristic, boolean isolate) argument
416 unicodeWrap(@ullable CharSequence str, TextDirectionHeuristic heuristic, boolean isolate) argument
448 unicodeWrap(String str, TextDirectionHeuristic heuristic) argument
461 unicodeWrap(CharSequence str, TextDirectionHeuristic heuristic) argument
475 unicodeWrap(String str, boolean isolate) argument
488 unicodeWrap(CharSequence str, boolean isolate) argument
499 unicodeWrap(String str) argument
510 unicodeWrap(CharSequence str) argument
549 getExitDir(CharSequence str) argument
566 getEntryDir(CharSequence str) argument
[all...]
/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/av/media/libstagefright/codecs/mp3dec/src/asm/
H A Dpvmp3_mdct_18_gcc.s83 str r9,[r0],#4
87 str lr,[r1],#-4
99 str r0,[r5,#0x40]
102 str r0,[r5,#0x38]
105 str r1,[r5,#0x30]
108 str r12,[r5,#0x28]
110 str r12,[r5,#0x20]
112 str r12,[r5,#0x18]
114 str r12,[r5,#0x10]
116 str r1
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DStringPiece.h45 BasicStringPiece(const BasicStringPiece<TChar>& str);
46 BasicStringPiece(const std::basic_string<TChar>& str); // NOLINT(implicit)
47 BasicStringPiece(const TChar* str); // NOLINT(implicit)
48 BasicStringPiece(const TChar* str, size_t len);
51 BasicStringPiece<TChar>& assign(const TChar* str, size_t len);
92 inline BasicStringPiece<TChar>::BasicStringPiece(const BasicStringPiece<TChar>& str) argument
93 : data_(str.data_), length_(str.length_) {}
96 inline BasicStringPiece<TChar>::BasicStringPiece(const std::basic_string<TChar>& str) argument
97 : data_(str
100 BasicStringPiece(const char* str) argument
104 BasicStringPiece(const char16_t* str) argument
108 BasicStringPiece(const TChar* str, size_t len) argument
120 assign(const TChar* str, size_t len) argument
198 operator <<(::std::ostream& out, const BasicStringPiece<char16_t>& str) argument
270 operator <<(::std::ostream& out, const BasicStringPiece<char>& str) argument
292 operator <<(::std::ostream& out, const std::u16string& str) argument
[all...]
/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/bit/
H A Dutil.h68 string escape_quotes(const char* str);
70 string escape_for_commandline(const char* str);
74 bool starts_with(const string& str, const string& prefix);
76 bool ends_with(const string& str, const string& suffix);
78 void split_lines(vector<string>* result, const string& str);
/frameworks/rs/rsov/compiler/spirit/
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/base/core/java/android/hardware/camera2/params/
H A DLensShadingMap.java253 StringBuilder str = new StringBuilder();
254 str.append("LensShadingMap{");
259 str.append(channelPrefix[ch]);
262 str.append("[");
265 str.append(gain);
267 str.append(", ");
270 str.append("]");
272 str.append(", ");
276 str.append(")");
278 str
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocaleHelper.java63 * @param str the string to sentence-case.
67 public static String toSentenceCase(String str, Locale locale) { argument
68 if (str.isEmpty()) {
69 return str;
71 final int firstCodePointLen = str.offsetByCodePoints(0, 1);
72 return str.substring(0, firstCodePointLen).toUpperCase(locale)
73 + str.substring(firstCodePointLen);
83 * @param str the string to normalize
87 public static String normalizeForSearch(String str, Locale locale) { argument
92 return str
232 removePrefixForCompare(Locale locale, String str) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceUtils.cpp21 bool ExtractResourceName(const StringPiece& str, StringPiece* out_package, StringPiece* out_type, argument
27 const char* start = str.data();
28 const char* end = start + str.size();
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DNetworkState.java141 StringBuffer str = new StringBuffer ("States: ");
142 str.append(printStates());
144 str.append(String.format(" Initial state should be CONNECTED, but it is %s.",
146 mReason = str.toString();
151 str.append(String.format(" Last state should be DISCONNECTED, but it is %s",
153 mReason = str.toString();
167 str.append(String.format(" Transition state from %s to %s is not valid",
169 mReason = str.toString();
173 mReason = str.toString();
182 StringBuffer str
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DNativeUtil.java47 * @return the UTF_8 char byte values of str, as an ArrayList.
50 public static ArrayList<Byte> stringToByteArrayList(String str) { argument
51 if (str == null) {
55 for (byte b : str.getBytes(StandardCharsets.UTF_8)) {
83 * @return the UTF_8 char byte values of str, as an Array.
86 public static byte[] stringToByteArray(String str) { argument
87 if (str == null) {
90 return str.getBytes(StandardCharsets.UTF_8);
202 * @param str String to be uoted.
205 public static String addEnclosingQuotes(String str) { argument
218 hexOrQuotedAsciiStringToBytes(String str) argument
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_functions.py34 assert isinstance(path, str)
49 print(str(err))
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DH264SwDecApi.c73 #define DEC_API_TRC(str) H264SwDecTrace(str)
75 #define DEC_API_TRC(str)
165 sprintf(pDecCont->str, "H264SwDecInit# decInst %p noOutputReordering %d",
167 DEC_API_TRC(pDecCont->str);
181 sprintf(pDecCont->str, "H264SwDecInit# OK: return %p", (void*)pDecCont);
182 DEC_API_TRC(pDecCont->str);
235 sprintf(((decContainer_t*)decInst)->str,
237 DEC_API_TRC(((decContainer_t*)decInst)->str);
304 sprintf(pDecCont->str, "H264SwDecReleas
[all...]
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp156 const char* str = str8.string(); local
157 return computeScaledStringWidth(str, strlen(str));
169 float TextRenderer::computeScaledStringWidth(const char* str,
173 size_t chi = glyphIndex(str[i]);
189 const char* str = str8.string();
190 size_t len = strlen(str); // again, unsure about String8 handling
200 size_t chi = glyphIndex(str[i]);
254 float xpos, float ypos, const String8& str) {
255 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java2674 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX);
2675 return splitSize(str);
2694 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX);
2695 return splitSize(str);
2754 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX);
2755 return splitSize(str);
2830 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX);
2831 return splitInt(str);
2885 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX);
2886 return splitRange(str);
4077 split(String str) argument
4091 splitInt(String str) argument
4104 splitInt(String str, int[] output) argument
4116 splitFloat(String str, float[] output) argument
4147 splitSize(String str) argument
4163 strToSize(String str) argument
4180 splitRange(String str) argument
4205 splitArea(String str) argument
[all...]

Completed in 623 milliseconds

1234567891011>>