/external/icu4c/test/intltest/ |
dtfmapts.cpp | 287 UnicodeString str; local 296 dateFmt->format(dateObj, str, status); 297 dateFmt->format(dateObj, str, fpos, status); 310 sdf.format(dateObj, str, status); 311 sdf.format(dateObj, str, fpos, status); 313 sdf.format((UDate)0, str, fpos); 314 sdf.format((UDate)0, str); 315 sdf.parse(str, status); 316 sdf.parse(str, ppos); 326 fmt->format(numObj, str, status) [all...] |
caltztst.cpp | 140 UnicodeString str; local 141 return dateToString(d, str); 145 CalendarTimeZoneTest::dateToString(UDate d, UnicodeString& str) 147 str.remove(); 151 str += "DATE_FORMAT_FAILURE"; 152 return str; 154 format->format(d, str); 156 return str; 160 CalendarTimeZoneTest::dateToString(UDate d, UnicodeString& str, 163 str.remove() [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/asm/ |
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 r12,[r5,#8 [all...] |
/external/doclava/src/com/google/doclava/ |
FieldInfo.java | 129 String str = null; local 133 str = val.toString(); 137 str = canonicalizeFloatingPoint(val.toString(), ""); 139 str = canonicalizeFloatingPoint(val.toString(), "f"); 141 str = val.toString() + "L"; 143 str = String.format("\'\\u%04x\'", val); 144 System.out.println("str=" + str); 146 str = "\"" + javaEscapeString((String) val) + "\""; 148 str = "<<<<" + val.toString() + ">>>>" 171 String str = val.toString(); local 344 String str = null; local [all...] |
/external/pcre/ |
pcrecpp.cc | 332 string *str) const { 334 int matches = TryMatch(*str, 0, UNANCHORED, true, vec, kVecSize); 339 if (!Rewrite(&s, rewrite, *str, vec, matches)) 344 str->replace(vec[0], vec[1] - vec[0], s); 381 string *str) const { 389 while (start <= static_cast<int>(str->length())) { 402 matches = TryMatch(*str, start, ANCHOR_START, false, vec, kVecSize); 410 if (matchend < static_cast<int>(str->length()) && 411 (*str)[start] == '\r' && (*str)[matchend] == '\n' & [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XMLString.java | 205 * str.toUpperCase().toLowerCase())</code>. 212 * @param str the <code>String</code> to be compared. 219 public abstract int compareToIgnoreCase(XMLString str); 423 * this.startsWith(str, <i>k</i>) 427 * @param str any string. 432 * @exception java.lang.NullPointerException if <code>str</code> is 435 public abstract int indexOf(String str); 442 * this.startsWith(str, <i>k</i>) 446 * @param str any string. 451 * @exception java.lang.NullPointerException if <code>str</code> i [all...] |
/external/astl/tests/ |
test_set.cpp | 94 string str("a string"); 98 EXPECT_TRUE(s.count(str) == 0); 100 res = s.insert(str); 106 EXPECT_TRUE(*(res.first) == str); 107 EXPECT_TRUE(*(s.begin()) == str); 113 EXPECT_TRUE(s.count(str) == 1); 126 EXPECT_TRUE(s.count(str) == 1);
|
/external/icu4c/samples/legacy/ |
legacy.cpp | 28 void printZTUChar(const UChar *str) { 29 while(*str != 0) { 30 if(*str > 0x1F && *str < 0x80) { 31 fprintf(stdout, "%c", (*str) & 0xFF); 33 fprintf(stdout, "\\u%04X", *str); 35 str++;
|
/packages/apps/Calendar/src/com/android/calendar/ |
Duration.java | 51 public void parse(String str) throws DateException 60 int len = str.length(); 68 c = str.charAt(0); 81 c = str.charAt(index); 84 "Duration.parse(str='" + str + "') expected 'P' at index=" 91 c = str.charAt(index); 120 "Duration.parse(str='" + str + "') unexpected char '"
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
Duration.java | 41 public void parse(String str) throws ParseException { 49 int len = str.length(); 57 c = str.charAt(0); 69 c = str.charAt(index); 72 "Duration.parse(str='" + str + "') expected 'P' at index=" 79 c = str.charAt(index); 101 "Duration.parse(str='" + str + "') unexpected char '"
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
Duration.java | 49 public void parse(String str) throws DateException 58 int len = str.length(); 66 c = str.charAt(0); 79 c = str.charAt(index); 82 "Duration.parse(str='" + str + "') expected 'P' at index=" 89 c = str.charAt(index); 118 "Duration.parse(str='" + str + "') unexpected char '"
|
/external/chromium/base/ |
string_util.h | 258 BASE_API bool ContainsOnlyWhitespaceASCII(const std::string& str); 259 BASE_API bool ContainsOnlyWhitespace(const string16& str); 290 BASE_API bool IsStringUTF8(const std::string& str); 291 BASE_API bool IsStringASCII(const std::wstring& str); 292 BASE_API bool IsStringASCII(const base::StringPiece& str); 293 BASE_API bool IsStringASCII(const string16& str); 297 template <class str> inline void StringToLowerASCII(str* s) { 298 for (typename str::iterator i = s->begin(); i != s->end(); ++i) 302 template <class str> inline str StringToLowerASCII(const str& s) [all...] |
/external/skia/src/utils/ |
SkParsePath.cpp | 28 static const char* skip_ws(const char str[]) { 29 SkASSERT(str); 30 while (is_ws(*str)) 31 str++; 32 return str; 35 static const char* skip_sep(const char str[]) { 36 SkASSERT(str); 37 while (is_sep(*str)) 38 str++; 39 return str; [all...] |
/frameworks/base/libs/utils/ |
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...] |
/external/valgrind/main/memcheck/tests/ |
unit_libcbase.c | 305 Char* str; // The string to convert. member in struct:__anon12860 315 { str : "", res : 0, endptr_val : '\0' }, 316 { str : " \n\t", res : 0, endptr_val : ' ' }, 317 { str : "one", res : 0, endptr_val : 'o' }, 318 { str : "\ntwo", res : 0, endptr_val : '\n' }, 322 { str : "0", res : 0, endptr_val : '\0' }, 323 { str : "+0", res : 0, endptr_val : '\0' }, 324 { str : "-0", res : 0, endptr_val : '\0' }, 325 { str : "1", res : 1, endptr_val : '\0' }, 326 { str : "+1", res : 1, endptr_val : '\0' } [all...] |
/external/openssl/crypto/ |
mem.c | 84 static void *default_realloc_ex(void *str, size_t num, 86 { return realloc_func(str,num); } 282 void CRYPTO_free_locked(void *str) 285 free_debug_func(str, 0); 287 fprintf(stderr, "LEVITTE_DEBUG_MEM: < 0x%p\n", str); 289 free_locked_func(str); 325 char *CRYPTO_strdup(const char *str, const char *file, int line) 327 char *ret = CRYPTO_malloc(strlen(str)+1, file, line); 329 strcpy(ret, str); 333 void *CRYPTO_realloc(void *str, int num, const char *file, int line [all...] |
/external/oprofile/include/ |
sstream | 54 stringbuf(const string &str, int which=ios::in|ios::out) 60 stream_len = str.size(); 62 str.copy(stream, stream_len); 74 str() const 83 str(const string& str) 86 stream_len = str.size(); 88 str.copy(stream, stream_len); 244 istringstream(const string& str, int which=ios::in) 245 : istream(&sb), sb(str, which | ios::in [all...] |
/external/tinyxml/ |
tinystr.h | 82 TiXmlString (const char * str, size_type len) 85 memcpy(start(), str, len); local 127 const char * c_str () const { return rep_->str; } 130 const char * data () const { return rep_->str; } 149 return rep_->str[ index ]; 156 return rep_->str[ index ]; 192 TiXmlString& assign (const char* str, size_type len); 194 TiXmlString& append (const char* str, size_type len); 206 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; } 207 char* start() const { return rep_->str; } [all...] |
/external/valgrind/main/drd/tests/ |
unit_vc.c | 45 SizeT VG_(strlen)(const Char* str) { return strlen(str); } 57 char *str; local 77 fprintf(stderr, "vc1: %s", (str = DRD_(vc_aprint)(&vc1))); 78 free(str); 79 fprintf(stderr, "\nvc2: %s", (str = DRD_(vc_aprint)(&vc2))); 80 free(str); 81 fprintf(stderr, "\nvc3: %s", (str = DRD_(vc_aprint)(&vc3))); 82 free(str); 88 fprintf(stderr, "%s", (str = DRD_(vc_aprint)(&vc4))) [all...] |
/ndk/sources/host-tools/make-3.81/ |
strcache.c | 58 add_string(const char *str, int len) 85 memcpy (best->end, str, len); 118 add_hash (const char *str, int len) 121 char **slot = (char **) hash_find_slot (&strings, str); 128 key = add_string (str, len); 135 strcache_iscached (const char *str) 140 if (str >= sp->buffer && str < sp->end) 150 strcache_add (const char *str) 152 return add_hash (str, strlen (str)) [all...] |
/external/dbus/dbus/ |
dbus-sysdeps.c | 383 * @param str the string 388 _dbus_string_append_int (DBusString *str, 397 orig_len = _dbus_string_get_length (str); 399 if (!_dbus_string_lengthen (str, MAX_LONG_LEN)) 402 buf = _dbus_string_get_data_len (str, orig_len, MAX_LONG_LEN); 413 _dbus_string_shorten (str, MAX_LONG_LEN - i); 421 * @param str the string 426 _dbus_string_append_uint (DBusString *str, 435 orig_len = _dbus_string_get_length (str); 437 if (!_dbus_string_lengthen (str, MAX_ULONG_LEN) 836 DBusString str; local [all...] |
/external/llvm/unittests/ADT/ |
TripleTest.cpp | 21 EXPECT_EQ("", T.getArchName().str()); 22 EXPECT_EQ("", T.getVendorName().str()); 23 EXPECT_EQ("", T.getOSName().str()); 24 EXPECT_EQ("", T.getEnvironmentName().str()); 27 EXPECT_EQ("", T.getArchName().str()); 28 EXPECT_EQ("", T.getVendorName().str()); 29 EXPECT_EQ("", T.getOSName().str()); 30 EXPECT_EQ("", T.getEnvironmentName().str()); 33 EXPECT_EQ("", T.getArchName().str()); 34 EXPECT_EQ("", T.getVendorName().str()); [all...] |
/frameworks/base/tools/localize/ |
XLIFFFile_test.cpp | 5 XMLNode* create_string_node(const StringResource& str, const string& name); 19 const StringResource& str = *it; local 21 str.id.c_str(), str.index, 22 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), 23 str.pos.ToString().c_str(), str.file.c_str(), str.version, 24 str.versionString.c_str());
|
/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 148 public final void writeBytes(String str) throws IOException { 149 if (str.length() == 0) { 152 byte[] bytes = new byte[str.length()]; 153 for (int index = 0; index < str.length(); index++) { 154 bytes[index] = (byte) str.charAt(index); 164 public final void writeChars(String str) throws IOException { 165 byte[] bytes = str.getBytes("UTF-16BE"); 196 public final void writeUTF(String str) throws IOException { 197 write(ModifiedUtf8.encode(str));
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ObjectIdentifier.java | 154 * @param str string representation of OID 158 public static int[] toIntArray(String str) { 159 return toIntArray(str, true); 168 * @param str string representation of OID 171 public static boolean isOID(String str) { 172 return toIntArray(str, false) != null; 182 * @param str string representation of OID 188 private static int[] toIntArray(String str, boolean shouldThrow) { 189 if (str == null) { 196 int length = str.length() [all...] |