/frameworks/native/libs/utils/tests/ |
H A D | Unicode_test.cpp | 37 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 D | addressOf.c | 2 struct str { struct 7 struct str base; 11 struct str *s = &base;
|
/frameworks/base/core/java/android/net/ |
H A D | DhcpInfo.java | 55 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 D | DurationTest.java | 26 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 D | trace.c | 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/base/core/java/android/util/ |
H A D | AtomicFile.java | 100 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 D | PrefixPrinter.java | 47 public void println(String str) { argument 48 mPrinter.println(mPrefix + str);
|
H A D | Spline.java | 142 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 D | AtomicFile.java | 68 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 D | AtomicFile.java | 98 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 D | String16.cpp | 47 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 D | StringArray.cpp | 45 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 D | String8.cpp | 64 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 D | AudioParameter.cpp | 38 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 D | h264bsd_container.h | 60 char str[H264DEC_TRACE_STR_LEN]; member in struct:__anon822
|
H A D | H264SwDecApi.c | 66 #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 D | StringArray.h | 39 bool push_back(const char* str); 73 void setEntry(int idx, const char* str);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | Duration.java | 47 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/base/core/java/android/text/ |
H A D | BidiFormatter.java | 292 * given explicitly by a heuristic to estimate the {@code str}'s directionality. 294 * @param str String after which the mark may need to appear. 295 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s 302 public String markAfter(String str, TextDirectionHeuristic heuristic) { argument 303 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 305 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 308 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 321 * directionality is given explicitly by a heuristic to estimate the {@code str}'s directionality. 323 * @param str Strin 331 markBefore(String str, TextDirectionHeuristic heuristic) argument 350 isRtl(String str) argument 382 unicodeWrap(String str, TextDirectionHeuristic heuristic, boolean isolate) argument 412 unicodeWrap(String str, TextDirectionHeuristic heuristic) argument 425 unicodeWrap(String str, boolean isolate) argument 436 unicodeWrap(String str) argument 471 getExitDir(String str) argument 488 getEntryDir(String str) argument [all...] |
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | BidiFormatter.java | 288 * given explicitly by a heuristic to estimate the {@code str}'s directionality. 290 * @param str String after which the mark may need to appear. 291 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s 296 private String markAfter(String str, TextDirectionHeuristicCompat heuristic) { argument 297 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 299 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 302 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 315 * directionality is given explicitly by a heuristic to estimate the {@code str}'s directionality. 317 * @param str Strin 323 markBefore(String str, TextDirectionHeuristicCompat heuristic) argument 342 isRtl(String str) argument 373 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic, boolean isolate) argument 402 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic) argument 415 unicodeWrap(String str, boolean isolate) argument 426 unicodeWrap(String str) argument 461 getExitDir(String str) argument 478 getEntryDir(String str) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/ |
H A D | pvmp3_mdct_18_arm.s | 85 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 D | pvmp3_mdct_18_gcc.s | 83 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 D | pvmp3_mdct_18_wm.asm | 83 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 D | NetworkState.java | 141 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 D | Camera.java | 2185 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); 2186 return splitSize(str); 2205 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX); 2206 return splitSize(str); 2265 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); 2266 return splitSize(str); 2341 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); 2342 return splitInt(str); 2396 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); 2397 return splitRange(str); 3586 split(String str) argument 3600 splitInt(String str) argument 3613 splitInt(String str, int[] output) argument 3625 splitFloat(String str, float[] output) argument 3656 splitSize(String str) argument 3672 strToSize(String str) argument 3689 splitRange(String str) argument 3714 splitArea(String str) argument [all...] |