/external/icu4c/test/intltest/ |
tstnorm.cpp | 67 static UnicodeString str(const char *input) function 69 UnicodeString str(input, ""); // Invariant conversion 70 return str.unescape(); 79 canonTests[0][0] = str("cat"); canonTests[0][1] = str("cat"); canonTests[0][2] = str("cat"); 81 canonTests[1][0] = str("\\u00e0ardvark"); canonTests[1][1] = str("a\\u0300ardvark"); canonTests[1][2] = str("\\u00e0ardvark"); 83 canonTests[2][0] = str("\\u1e0a"); canonTests[2][1] = str("D\\u0307"); canonTests[2][2] = str("\\u1e0a"); (…) [all...] |
/external/icu4c/io/ |
ustdio.c | 335 int32_t charsLeft = (int32_t)(f->str.fLimit - f->str.fPos); 340 u_strncpy(f->str.fPos, mySource, written); 341 f->str.fPos += written; 412 u_localized_string *str; local 419 str = &f->str; 420 dataSize = (int32_t)(str->fLimit - str->fPos); 428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)) 492 u_localized_string *str; local 620 u_localized_string *str; local 663 u_localized_string *str; local 697 u_localized_string *str = &f->str; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
ExceptionWithContext.java | 37 * @param str {@code non-null;} context to add 40 public static ExceptionWithContext withContext(Throwable ex, String str) { 49 ewc.addContext(str); 108 * @param str {@code non-null;} new context 110 public void addContext(String str) { 111 if (str == null) { 112 throw new NullPointerException("str == null"); 115 context.append(str); 116 if (!str.endsWith("\n")) {
|
/dalvik/dx/src/com/android/dx/util/ |
ExceptionWithContext.java | 37 * @param str {@code non-null;} context to add 40 public static ExceptionWithContext withContext(Throwable ex, String str) { 49 ewc.addContext(str); 108 * @param str {@code non-null;} new context 110 public void addContext(String str) { 111 if (str == null) { 112 throw new NullPointerException("str == null"); 115 context.append(str); 116 if (!str.endsWith("\n")) {
|
/external/bison/src/ |
uniqstr.c | 45 uniqstr_new (char const *str) 47 uniqstr res = hash_lookup (uniqstrs_table, str); 51 res = xstrdup (str); 63 uniqstr_assert (char const *str) 65 if (!hash_lookup (uniqstrs_table, str)) 68 "not a uniqstr: %s", quotearg (str));
|
/external/bluetooth/glib/gio/tests/ |
sleepy-stream.c | 166 char *str; local 170 str = g_data_input_stream_read_line (stream, &length, NULL, error); 172 if (str == NULL) 175 g_assert (strstr (str, eol) == NULL); 176 g_assert (strlen (str) == length); 178 g_string_append (string, str); 180 g_free (str); 186 build_comparison (GString *str, 193 g_string_append (str, stream->pieces[i]); 195 if (str->len && str->str[str->len - 1] != '\n' 237 gchar *str; local [all...] |
/external/chromium/android/jni/ |
jni_utils.cc | 46 string16 str = UTF8ToUTF16(s); 49 return str; 60 std::string str(s); 63 return str; 86 jstring ConvertUTF8ToJavaString(JNIEnv* env, std::string str) 88 return env->NewStringUTF(str.c_str());
|
/external/icu4c/samples/numfmt/ |
capi.c | 12 static void uprintf(const UChar* str) { 14 u_austrcpy(buf, str); 22 UChar str[] = { 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, local 46 a = unum_parseDouble(fmt, str, u_strlen(str), NULL, &status); 54 uprintf(str);
|
/external/icu4c/tools/pkgdata/ |
pkgtypes.c | 33 if(l->str) 35 uprv_strncpy(buffer, l->str, 1020); 46 if(l->str[0] != '"') { 48 uprv_strncat(buffer, l->str,1020); 50 if(l->str[uprv_strlen(l->str)-1] != '"') { 56 ln += (int32_t)uprv_strlen(l->str); 78 if(l->str) 80 uprv_strncpy(buffer, l->str, 1023); 82 if(uprv_strlen(l->str) >= 1023 [all...] |
/external/libxml2/include/libxml/ |
uri.h | 61 xmlParseURI (const char *str); 63 xmlParseURIRaw (const char *str, 67 const char *str); 74 xmlURIEscapeStr (const xmlChar *str, 77 xmlURIUnescapeString (const char *str, 83 xmlURIEscape (const xmlChar *str);
|
/external/v8/src/ |
allocation.cc | 84 char* StrDup(const char* str) { 85 int length = StrLength(str); 87 memcpy(result, str, length); 93 char* StrNDup(const char* str, int n) { 94 int length = StrLength(str); 97 memcpy(result, str, length);
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptstring/ |
tst_qscriptstring.cpp | 54 QScriptString str; local 55 QVERIFY(!str.isValid()); 56 QVERIFY(str == str); 57 QVERIFY(!(str != str)); 58 QVERIFY(str.toString().isNull()); 60 QScriptString str1(str); 63 QScriptString str2 = str; 66 QCOMPARE(str.toArrayIndex(), quint32(0xffffffff)) 70 QScriptString str = eng.toStringHandle(ciao); local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-192414.js | 63 var str = 'actual = '.concat(left, '1', right, ';'); variable 66 eval(str); 87 function repeat_str(str, repeat_count) 91 arr[--repeat_count] = str; 92 return str.concat.apply(str, arr);
|
/external/webkit/Source/WebCore/platform/text/ |
TextEncoding.h | 47 PassRefPtr<StringImpl> displayString(PassRefPtr<StringImpl> str) const 49 if (m_backslashAsCurrencySymbol == '\\' || !str) 50 return str; 51 return str->replace('\\', m_backslashAsCurrencySymbol); 66 String decode(const char* str, size_t length) const 69 return decode(str, length, false, ignored);
|
/frameworks/base/core/java/android/net/ |
InterfaceConfiguration.java | 39 StringBuffer str = new StringBuffer(); local 41 str.append("ipddress "); 42 str.append((addr != null) ? addr.toString() : "NULL"); 43 str.append(" flags ").append(interfaceFlags); 44 str.append(" hwaddr ").append(hwAddr); 46 return str.toString();
|
/frameworks/base/libs/utils/ |
StringArray.cpp | 45 bool StringArray::push_back(const char* str) { 63 int len = strlen(str); 65 memcpy(mArray[mCurrent], str, len+1); 103 void StringArray::setEntry(int idx, const char* str) { 107 int len = strlen(str); 109 memcpy(mArray[idx], str, len+1);
|
/ndk/sources/host-tools/ndk-stack/ |
ndk-stack.c | 74 char str[2048]; local 75 while (fgets(str, sizeof(str), handle)) { 78 str[strcspn(str, "\r\n")] = '\0'; 79 ParseLine(parser, str);
|
/bionic/libc/kernel/common/linux/ |
init.h | 62 const char *str; member in struct:obs_kernel_param 67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #define early_param(str, fn) __setup_param(str, fn, fn, 1 [all...] |
/development/ndk/platforms/android-3/include/linux/ |
init.h | 62 const char *str; member in struct:obs_kernel_param 67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #define early_param(str, fn) __setup_param(str, fn, fn, 1 [all...] |
/external/bluetooth/bluez/test/ |
test-textfile.c | 45 char key[18], value[512], *str; local 65 str = textfile_get(filename, key); 78 str = textfile_get(filename, key); 79 if (!str) 82 free(str); 97 str = textfile_get(filename, key); 98 if (str) { 100 free(str); 117 str = textfile_get(filename, key); 118 if (!str) [all...] |
/external/kernel-headers/original/linux/ |
init.h | 114 const char *str; member in struct:obs_kernel_param 125 #define __setup_param(str, unique_id, fn, early) \ 126 static char __setup_str_##unique_id[] __initdata = str; \ 133 #define __setup_null_param(str, unique_id) \ 134 __setup_param(str, unique_id, NULL, 0) 136 #define __setup(str, fn) \ 137 __setup_param(str, fn, fn, 0) 139 #define __obsolete_setup(str) \ 140 __setup_null_param(str, __LINE__) 144 #define early_param(str, fn) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
init.h | 62 const char *str; member in struct:obs_kernel_param 67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #define early_param(str, fn) __setup_param(str, fn, fn, 1 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
init.h | 62 const char *str; member in struct:obs_kernel_param 67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #define early_param(str, fn) __setup_param(str, fn, fn, 1 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
init.h | 62 const char *str; member in struct:obs_kernel_param 67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #define early_param(str, fn) __setup_param(str, fn, fn, 1 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
init.h | 62 const char *str; member in struct:obs_kernel_param 67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #define early_param(str, fn) __setup_param(str, fn, fn, 1 [all...] |