/external/clearsilver/python/examples/base/ |
who_calls.py | 69 return (('','',''), str(t), str(v), 'traceback is None!!!') 74 str(tb.tb_lineno) 92 return (file, function, line), str(t), str(v), info
|
/external/icu4c/test/intltest/ |
fldset.h | 62 * @param str string to parse 66 int32_t parseFrom(const UnicodeString& str, UErrorCode& status) { return parseFrom(str,NULL,status); } 72 * @param str string to parse 76 int32_t parseFrom(const UnicodeString& str, const FieldsSet& inheritFrom, UErrorCode& status) { return parseFrom(str, &inheritFrom, status); } 82 * @param str string to parse 86 int32_t parseFrom(const UnicodeString& str, const
|
/external/iproute2/genl/ |
genl.c | 57 static struct genl_util *get_genl_kind(char *str) 64 if (strcmp(f->name, str) == 0) 67 snprintf(buf, sizeof(buf), "%s.so", str); 78 snprintf(buf, sizeof(buf), "%s_genl_util", str); 92 strncpy(f->name, str, 15);
|
/external/libxml2/include/libxml/ |
xmlmemory.h | 81 * @str: a zero terminated string 87 typedef char *(XMLCALL *xmlStrdupFunc)(const char *str); 159 xmlMemoryStrdup (const char *str); 167 xmlMemStrdupLoc (const char *str, const char *file, int line); 202 * @str: pointer to the existing string 208 #define xmlMemStrdup(str) xmlMemStrdupLoc((str), __FILE__, __LINE__)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
CarrierLabel.java | 94 StringBuilder str = new StringBuilder(); local 97 str.append(plmn); 102 str.append('\n'); 104 str.append(spn); 108 setText(str.toString());
|
/libcore/luni/src/main/java/java/net/ |
URLDecoder.java | 80 char[] str = s.toCharArray(); local 81 for (int i = 0; i < str.length; i++) { 82 if (str[i] == '+') 83 str[i] = ' '; 85 return new String(str);
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
WrappedCharBufferTest2.java | 52 String str = TEST_STRING; local 54 CharBuffer.wrap(str, -1, 0); 60 CharBuffer.wrap(str, 21, 21); 66 CharBuffer.wrap(str, 2, 1); 72 CharBuffer.wrap(str, 0, 21);
|
/external/libxml2/ |
uri.c | 168 * @str: pointer to the string to analyze 177 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { 180 if (str == NULL) 183 cur = *str; 191 uri->scheme = STRNDUP(*str, cur - *str); 193 *str = cur; 200 * @str: pointer to the string to analyze 213 xmlParse3986Fragment(xmlURIPtr uri, const char **str) 217 if (str == NULL [all...] |
/external/chromium/base/ |
string_piece.h | 42 StringPiece(const char* str) 43 : ptr_(str), length_((str == NULL) ? 0 : strlen(str)) { } 44 StringPiece(const std::string& str) 45 : ptr_(str.data()), length_(str.size()) { } 66 void set(const char* str) { 67 ptr_ = str; 68 length_ = str ? strlen(str) : 0 [all...] |
/external/v8/src/ |
d8-debug.cc | 68 String::Utf8Value str(details->Get(String::New("text"))); 69 if (str.length() == 0) { 73 printf("%s\n", *str); 90 char* str = fgets(command, kBufferSize, stdin); local 91 if (str == NULL) break; 270 String::Utf8Value str(details->Get(String::New("text"))); 271 if (str.length() == 0) { 275 if (*str != NULL) { 276 printf("%s\n", *str); 333 char* str = fgets(command, kBufferSize, stdin) local [all...] |
unicode-inl.h | 81 unsigned Utf8::Encode(char* str, uchar c) { 84 str[0] = c; 87 str[0] = 0xC0 | (c >> 6); 88 str[1] = 0x80 | (c & kMask); 91 str[0] = 0xE0 | (c >> 12); 92 str[1] = 0x80 | ((c >> 6) & kMask); 93 str[2] = 0x80 | (c & kMask); 96 str[0] = 0xF0 | (c >> 18); 97 str[1] = 0x80 | ((c >> 12) & kMask); 98 str[2] = 0x80 | ((c >> 6) & kMask) [all...] |
/external/webkit/WebCore/platform/wince/ |
PasteboardWince.cpp | 126 String str = frame->selectedText(); local 127 replaceNewlinesWithWindowsStyleNewlines(str); 128 replaceNBSPWithSpace(str); 130 HGLOBAL cbData = createGlobalData(str); 150 String str = text; local 151 replaceNewlinesWithWindowsStyleNewlines(str); 153 HGLOBAL cbData = createGlobalData(str); 289 String str(buffer); 292 RefPtr<DocumentFragment> fragment = createFragmentFromText(context.get(), str); 306 String str(buffer) [all...] |
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 60 StringBuffer str = new StringBuffer(); 61 str.append("Text is:"); 66 str.append("\n"); 67 str.append(reader.readLine()); 70 str.append("ERROR: "); 71 str.append(ex.toString()); 73 Log.d(TAG, str.toString()); 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 116 String str = "'" + PREF_KEY + "' is " + val; 117 Log.d(TAG, str); [all...] |
/development/ndk/samples/hello-neon/jni/ |
helloneon.c | 83 char* str; local 109 asprintf(&str, "FIR Filter benchmark:\nC version : %g ms\n", time_c); 110 strlcpy(buffer, str, sizeof buffer); 111 free(str); 143 asprintf(&str, "%g ms (x%g faster)\n", time_neon, time_c / (time_neon < 1e-6 ? 1. : time_neon)); 144 strlcat(buffer, str, sizeof buffer); 145 free(str);
|
/device/sample/frameworks/PlatformLibrary/jni/ |
PlatformLibrary.cpp | 100 jstring str) { 102 if (str == NULL) { 112 const jchar* strChars = env->GetStringChars(str, NULL); 118 jsize strLength = env->GetStringLength(str); 124 const char* printable = env->GetStringUTFChars(str, NULL); 127 env->ReleaseStringUTFChars(str, printable); 142 env->ReleaseStringChars(str, strChars);
|
/external/clearsilver/perl/ |
test.pl | 94 $str = $hdf->getValue("Data.1", "default"); 95 ($str eq "Value1") ? result($testnum, 1) : result($testnum, 0); 98 $str = $hdf->getValue("Data.2", "default"); # doesn't exist 99 ($str eq "default") ? result($testnum, 1) : result($testnum, 0); 109 $str = $copy->getValue("Data.1", "default"); 110 print $str 111 ($str eq "Value1") ? result($testnum, 1) : result($testnum, 0);
|
/external/clearsilver/python/ |
neo_cs.c | 140 STRING *str= (STRING *)ctx; local 142 return nerr_pass(string_append(str, buf)); 149 STRING str; local 152 string_init(&str); 153 err = cs_render (co->data, &str, render_cb); 155 rv = Py_BuildValue ("s", str.buf); 156 string_clear (&str);
|
/external/dbus/dbus/ |
dbus-shell.c | 42 unquote_string_inplace (char* str, char** end) 48 dest = s = str; 54 *end = str; 392 char *str; local 394 str = _dbus_strdup (_dbus_string_get_data (token)); 395 if (!str) 401 if (!_dbus_list_append (retval, str)) 403 dbus_free (str);
|
/external/grub/stage2/ |
boot.c | 47 char *str = 0, *str2 = 0; local 120 str = "elf"; 170 str = "kludge"; 217 str = "a.out"; 490 printf (" [%s-%s", str2, str); 492 str = ""; 497 str = "-and-data"; 499 printf (", loadaddr=0x%x, text%s=0x%x", cur_addr, str, text_len); 879 char *str; local 890 str = arg [all...] |
/external/oprofile/daemon/ |
opd_events.c | 48 char * str; local 59 str = op_xstrndup(tmp, tmp2 - tmp); 63 return str; 70 char * str = copy_token(c, delim); local 71 if (!str) 73 val = strtoul(str, NULL, 0); 74 free(str);
|
/external/sqlite/android/ |
PhoneNumberUtils.cpp | 114 static bool tryGetTrunkPrefixOmittedStr(const char *str, size_t len, 118 char ch = str[i]; 121 *new_ptr = str + i + 1; 140 static int tryGetCountryCallingCode(const char *str, size_t len, 154 char ch = str[i]; 190 *new_ptr = str + i + 1; 214 *new_ptr = str + i + 1;
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-85721.js | 52 var str = ''; variable 80 str='<sql:connection id="conn1"> <sql:url>www.m.com</sql:url> <sql:driver>drive.class</sql:driver>\n<sql:userId>foo</sql:userId> <sql:password>goo</sql:password> </sql:connection>'; 89 var result = re.exec(str); 97 testRegExp([status], [re], [str], [result], [expect]); 255 str = 'Jeffy<"That Tall Guy"@ora.com (this address is no longer active)>'; 263 var result = re.exec(str); 271 testRegExp([status], [re], [str], [result], [expect]);
|
/external/webkit/WebKit/android/jni/ |
WebSettings.cpp | 272 jstring str = (jstring)env->GetObjectField(obj, gFieldIds->mStandardFontFamily); local 273 s->setStandardFontFamily(to_string(env, str)); 275 str = (jstring)env->GetObjectField(obj, gFieldIds->mFixedFontFamily); 276 s->setFixedFontFamily(to_string(env, str)); 278 str = (jstring)env->GetObjectField(obj, gFieldIds->mSansSerifFontFamily); 279 s->setSansSerifFontFamily(to_string(env, str)); 281 str = (jstring)env->GetObjectField(obj, gFieldIds->mSerifFontFamily); 282 s->setSerifFontFamily(to_string(env, str)); 284 str = (jstring)env->GetObjectField(obj, gFieldIds->mCursiveFontFamily); 285 s->setCursiveFontFamily(to_string(env, str)); [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/ |
CalcWindowEnergy_v5.s | 50 str r8, [r13, #4]
51 str r0, [r13, #8]
52 str r3, [r13, #12]
92 str r6, [r4, #72]
94 str r7, [r4, #136]
100 str r10, [r0, #168]
101 str r11, [r0, #172]
|
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 188 * @param str The input string 191 private static String replaceChars(String str) 193 StringBuffer buf = new StringBuffer(str); 231 String str = systemId.substring(5); local 235 if (str != null && str.startsWith("/")) 237 if (str.startsWith("///") || !str.startsWith("//"))
|