Searched refs:str (Results 1 - 25 of 232) sorted by relevance

12345678910

/frameworks/native/libs/utils/tests/
H A DUnicode_test.cpp37 const uint8_t str[] = { }; local
39 measured = utf8_to_utf16_length(str, 0);
48 const uint8_t str[] = { 0x30 }; local
50 measured = utf8_to_utf16_length(str, sizeof(str));
59 const uint8_t str[] = { 0xE2, 0x8C, 0xA3 }; local
61 measured = utf8_to_utf16_length(str, sizeof(str));
70 const uint8_t str[] = { 0xF0, 0x90, 0x80, 0x80 }; local
72 measured = utf8_to_utf16_length(str, sizeo
82 const uint8_t str[] = { 0xE2, 0x8C }; local
90 const uint8_t str[] = { local
[all...]
/frameworks/compile/libbcc/tests/data/src/
H A DaddressOf.c2 struct str { struct
7 struct str base;
11 struct str *s = &base;
/frameworks/base/core/java/android/net/
H A DDhcpInfo.java55 StringBuffer str = new StringBuffer();
57 str.append("ipaddr "); putAddress(str, ipAddress);
58 str.append(" gateway "); putAddress(str, gateway);
59 str.append(" netmask "); putAddress(str, netmask);
60 str.append(" dns1 "); putAddress(str, dns1);
61 str
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DDurationTest.java26 private void verifyDuration(String str, argument
31 duration.parse(str);
33 assertEquals("Duration sign is not equal for " + str, sign, duration.sign);
34 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks);
35 assertEquals("Duration days is not equal for " + str, days, duration.days);
36 assertEquals("Duration hours is not equal for " + str, hours, duration.hours);
37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes);
38 assertEquals("Duration seconds is not equal for " + str, seconds, duration.seconds);
/frameworks/wilhelm/src/
H A Dtrace.c49 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/base/core/java/android/util/
H A DAtomicFile.java100 FileOutputStream str = null;
102 str = new FileOutputStream(mBaseName);
113 str = new FileOutputStream(mBaseName);
118 return str;
127 public void finishWrite(FileOutputStream str) { argument
128 if (str != null) {
129 FileUtils.sync(str);
131 str.close();
144 public void failWrite(FileOutputStream str) { argument
145 if (str !
[all...]
H A DPrefixPrinter.java47 public void println(String str) { argument
48 mPrinter.println(mPrefix + str);
H A DSpline.java142 StringBuilder str = new StringBuilder();
144 str.append("[");
147 str.append(", ");
149 str.append("(").append(mX[i]);
150 str.append(", ").append(mY[i]);
151 str.append(": ").append(mM[i]).append(")");
153 str.append("]");
154 return str.toString();
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java68 FileOutputStream str = null;
70 str = new FileOutputStream(mBaseName);
81 str = new FileOutputStream(mBaseName);
86 return str;
89 public void finishWrite(FileOutputStream str) { argument
90 if (str != null) {
91 FileUtils.sync(str);
93 str.close();
101 public void failWrite(FileOutputStream str) { argument
102 if (str !
[all...]
/frameworks/support/v4/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/native/libs/utils/
H A DString16.cpp47 char16_t* str = (char16_t*)buf->data(); local
48 *str = 0;
50 gEmptyString = str;
83 //printHexData(1, str, buf->size(), 16, 1);
117 char16_t* str = (char16_t*)buf->data(); local
118 strcpy16(str, o);
119 mString = str;
131 char16_t* str = (char16_t*)buf->data(); local
132 memcpy(str, o, len*sizeof(char16_t));
133 str[le
199 char16_t* str = (char16_t*)buf->data(); local
222 char16_t* str = (char16_t*)buf->data(); local
243 char16_t* str = (char16_t*)buf->data(); local
278 char16_t* str = (char16_t*)buf->data(); local
295 const char16_t* str = string(); local
309 const char16_t* str = string(); local
338 const char16_t* str = string(); local
360 const char16_t* str = string(); local
397 char16_t* str = (char16_t*)buf->data(); local
404 char16_t* str = (char16_t*)buf->data(); local
[all...]
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);
H A DString8.cpp64 char* str = (char*)buf->data(); local
65 *str = 0;
67 gEmptyString = str;
85 char* str = (char*)buf->data(); local
86 memcpy(str, in, len);
87 str[len] = 0;
88 return str;
111 char* str = (char*)buf->data(); local
112 utf16_to_utf8(in, len, str);
113 return str;
133 char* str = (char*) buf->data(); local
335 char* str = (char*)buf->data(); local
350 char* str = (char*)buf->data(); local
371 char* str = (char*)buf->data(); local
497 const char*const str = mString; local
509 const char*const str = mString; local
540 const char* const str = mString; local
572 const char* const str = mString; local
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp38 char *str = new char[keyValuePairs.length()+1]; local
41 strcpy(str, keyValuePairs.string());
42 char *pair = strtok(str, ";");
64 delete[] str;
74 String8 str = String8(""); local
78 str += mParameters.keyAt(i);
79 str += "=";
80 str += mParameters.valueAt(i);
81 if (i < (size - 1)) str += ";";
83 return str;
99 char str[12]; local
110 char str[23]; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_container.h60 char str[H264DEC_TRACE_STR_LEN]; member in struct:__anon806
H A DH264SwDecApi.c66 #define DEC_API_TRC(str) H264SwDecTrace(str)
68 #define DEC_API_TRC(str)
152 sprintf(pDecCont->str, "H264SwDecInit# decInst %p noOutputReordering %d",
154 DEC_API_TRC(pDecCont->str);
168 sprintf(pDecCont->str, "H264SwDecInit# OK: return %p", (void*)pDecCont);
169 DEC_API_TRC(pDecCont->str);
222 sprintf(((decContainer_t*)decInst)->str,
224 DEC_API_TRC(((decContainer_t*)decInst)->str);
291 sprintf(pDecCont->str, "H264SwDecReleas
[all...]
/frameworks/native/include/utils/
H A DStringArray.h39 bool push_back(const char* str);
73 void setEntry(int idx, const char* str);
/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="
84 c = str.charAt(index);
91 c = str.charAt(index);
120 "Duration.parse(str='" + str
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
H A Dpvmp3_mdct_18_arm.s85 str r9,[r0],#4
89 str lr,[r1],#-4
101 str r0,[r5,#0x40]
104 str r0,[r5,#0x38]
107 str r1,[r5,#0x30]
110 str r12,[r5,#0x28]
112 str r12,[r5,#0x20]
114 str r12,[r5,#0x18]
116 str r12,[r5,#0x10]
118 str r1
[all...]
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...]
H A Dpvmp3_mdct_18_wm.asm83 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/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/base/core/java/android/hardware/
H A DCamera.java2180 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX);
2181 return splitSize(str);
2200 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX);
2201 return splitSize(str);
2260 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX);
2261 return splitSize(str);
2336 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX);
2337 return splitInt(str);
2391 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX);
2392 return splitRange(str);
3581 split(String str) argument
3595 splitInt(String str) argument
3608 splitInt(String str, int[] output) argument
3620 splitFloat(String str, float[] output) argument
3651 splitSize(String str) argument
3667 strToSize(String str) argument
3684 splitRange(String str) argument
3709 splitArea(String str) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_FileUtils.cpp40 const jchar* str = env->GetStringCritical(file, 0); local
42 if (str) {
43 file8 = String8(str, env->GetStringLength(file));
44 env->ReleaseStringCritical(file, str);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseStressTest.java66 String str = new String(ch);
68 strArr[0] = str;
88 String str = new String(ch);
90 strArr[0] = str;

Completed in 257 milliseconds

12345678910